Package org.apache.storm.generated
Class DRPCRequest
java.lang.Object
org.apache.storm.generated.DRPCRequest
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<DRPCRequest>
,org.apache.storm.thrift.TBase<DRPCRequest,
,DRPCRequest._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class DRPCRequest
extends Object
implements org.apache.storm.thrift.TBase<DRPCRequest,DRPCRequest._Fields>, Serializable, Cloneable, Comparable<DRPCRequest>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<DRPCRequest._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionDRPCRequest
(String func_args, String request_id) DRPCRequest
(DRPCRequest other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
compareTo
(DRPCRequest other) deepCopy()
boolean
boolean
equals
(DRPCRequest that) fieldForId
(int fieldId) getFieldValue
(DRPCRequest._Fields field) int
hashCode()
boolean
Returns true if field func_args is set (has been assigned a value) and false otherwiseboolean
Returns true if field request_id is set (has been assigned a value) and false otherwiseboolean
isSet
(DRPCRequest._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
read
(org.apache.storm.thrift.protocol.TProtocol iprot) void
set_func_args
(String func_args) void
set_func_args_isSet
(boolean value) void
set_request_id
(String request_id) void
set_request_id_isSet
(boolean value) void
setFieldValue
(DRPCRequest._Fields field, Object value) toString()
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<DRPCRequest._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
DRPCRequest
public DRPCRequest() -
DRPCRequest
-
DRPCRequest
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<DRPCRequest,
DRPCRequest._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<DRPCRequest,
DRPCRequest._Fields>
-
get_func_args
-
set_func_args
-
unset_func_args
public void unset_func_args() -
is_set_func_args
public boolean is_set_func_args()Returns true if field func_args is set (has been assigned a value) and false otherwise -
set_func_args_isSet
public void set_func_args_isSet(boolean value) -
get_request_id
-
set_request_id
-
unset_request_id
public void unset_request_id() -
is_set_request_id
public boolean is_set_request_id()Returns true if field request_id is set (has been assigned a value) and false otherwise -
set_request_id_isSet
public void set_request_id_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<DRPCRequest,
DRPCRequest._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<DRPCRequest,
DRPCRequest._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.storm.thrift.TBase<DRPCRequest,
DRPCRequest._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<DRPCRequest>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<DRPCRequest,
DRPCRequest._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
read
in interfaceorg.apache.storm.thrift.TSerializable
- Throws:
org.apache.storm.thrift.TException
-
write
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
write
in interfaceorg.apache.storm.thrift.TSerializable
- Throws:
org.apache.storm.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-