@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class DRPCRequest extends Object implements org.apache.thrift.TBase<DRPCRequest,DRPCRequest._Fields>, Serializable, Cloneable, Comparable<DRPCRequest>
Modifier and Type | Class and Description |
---|---|
static class |
DRPCRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<DRPCRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
DRPCRequest() |
DRPCRequest(DRPCRequest other)
Performs a deep copy on other.
|
DRPCRequest(String func_args,
String request_id) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(DRPCRequest other) |
DRPCRequest |
deepCopy() |
boolean |
equals(DRPCRequest that) |
boolean |
equals(Object that) |
DRPCRequest._Fields |
fieldForId(int fieldId) |
String |
get_func_args() |
String |
get_request_id() |
Object |
getFieldValue(DRPCRequest._Fields field) |
int |
hashCode() |
boolean |
is_set_func_args()
Returns true if field func_args is set (has been assigned a value) and false otherwise
|
boolean |
is_set_request_id()
Returns true if field request_id is set (has been assigned a value) and false otherwise
|
boolean |
isSet(DRPCRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_func_args_isSet(boolean value) |
void |
set_func_args(String func_args) |
void |
set_request_id_isSet(boolean value) |
void |
set_request_id(String request_id) |
void |
setFieldValue(DRPCRequest._Fields field,
Object value) |
String |
toString() |
void |
unset_func_args() |
void |
unset_request_id() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<DRPCRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public DRPCRequest()
public DRPCRequest(DRPCRequest other)
Performs a deep copy on other.
public DRPCRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<DRPCRequest,DRPCRequest._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<DRPCRequest,DRPCRequest._Fields>
public String get_func_args()
public void set_func_args(String func_args)
public void unset_func_args()
public boolean is_set_func_args()
Returns true if field func_args is set (has been assigned a value) and false otherwise
public void set_func_args_isSet(boolean value)
public String get_request_id()
public void set_request_id(String request_id)
public void unset_request_id()
public boolean is_set_request_id()
Returns true if field request_id is set (has been assigned a value) and false otherwise
public void set_request_id_isSet(boolean value)
public void setFieldValue(DRPCRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<DRPCRequest,DRPCRequest._Fields>
public Object getFieldValue(DRPCRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<DRPCRequest,DRPCRequest._Fields>
public boolean isSet(DRPCRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<DRPCRequest,DRPCRequest._Fields>
public boolean equals(DRPCRequest that)
public int compareTo(DRPCRequest other)
compareTo
in interface Comparable<DRPCRequest>
public DRPCRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<DRPCRequest,DRPCRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<DRPCRequest,DRPCRequest._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<DRPCRequest,DRPCRequest._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.