Package org.apache.storm.generated
Class WorkerToken
java.lang.Object
org.apache.storm.generated.WorkerToken
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<WorkerToken>
,org.apache.storm.thrift.TBase<WorkerToken,
,WorkerToken._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.13.0)")
public class WorkerToken
extends Object
implements org.apache.storm.thrift.TBase<WorkerToken,WorkerToken._Fields>, Serializable, Cloneable, Comparable<WorkerToken>
- 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<WorkerToken._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionWorkerToken
(WorkerToken other) Performs a deep copy on other.WorkerToken
(WorkerTokenServiceType serviceType, ByteBuffer info, ByteBuffer signature) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
compareTo
(WorkerToken other) deepCopy()
boolean
boolean
equals
(WorkerToken that) fieldForId
(int fieldId) byte[]
get_info()
byte[]
getFieldValue
(WorkerToken._Fields field) int
hashCode()
boolean
Returns true if field info is set (has been assigned a value) and false otherwiseboolean
Returns true if field serviceType is set (has been assigned a value) and false otherwiseboolean
Returns true if field signature is set (has been assigned a value) and false otherwiseboolean
isSet
(WorkerToken._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_info
(byte[] info) void
set_info
(ByteBuffer info) void
set_info_isSet
(boolean value) void
set_serviceType
(WorkerTokenServiceType serviceType) void
set_serviceType_isSet
(boolean value) void
set_signature
(byte[] signature) void
set_signature
(ByteBuffer signature) void
set_signature_isSet
(boolean value) void
setFieldValue
(WorkerToken._Fields field, Object value) toString()
void
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<WorkerToken._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
WorkerToken
public WorkerToken() -
WorkerToken
-
WorkerToken
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<WorkerToken,
WorkerToken._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<WorkerToken,
WorkerToken._Fields>
-
get_serviceType
- See Also:
-
set_serviceType
- See Also:
-
unset_serviceType
public void unset_serviceType() -
is_set_serviceType
public boolean is_set_serviceType()Returns true if field serviceType is set (has been assigned a value) and false otherwise -
set_serviceType_isSet
public void set_serviceType_isSet(boolean value) -
get_info
public byte[] get_info() -
buffer_for_info
-
set_info
public void set_info(byte[] info) -
set_info
-
unset_info
public void unset_info() -
is_set_info
public boolean is_set_info()Returns true if field info is set (has been assigned a value) and false otherwise -
set_info_isSet
public void set_info_isSet(boolean value) -
get_signature
public byte[] get_signature() -
buffer_for_signature
-
set_signature
public void set_signature(byte[] signature) -
set_signature
-
unset_signature
public void unset_signature() -
is_set_signature
public boolean is_set_signature()Returns true if field signature is set (has been assigned a value) and false otherwise -
set_signature_isSet
public void set_signature_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<WorkerToken,
WorkerToken._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<WorkerToken,
WorkerToken._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<WorkerToken,
WorkerToken._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<WorkerToken>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<WorkerToken,
WorkerToken._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
-