@Generated(value="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>
Modifier and Type | Class and Description |
---|---|
static class |
WorkerToken._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<WorkerToken._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
WorkerToken() |
WorkerToken(WorkerToken other)
Performs a deep copy on other.
|
WorkerToken(WorkerTokenServiceType serviceType,
ByteBuffer info,
ByteBuffer signature) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
buffer_for_info() |
ByteBuffer |
buffer_for_signature() |
void |
clear() |
int |
compareTo(WorkerToken other) |
WorkerToken |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(WorkerToken that) |
WorkerToken._Fields |
fieldForId(int fieldId) |
byte[] |
get_info() |
WorkerTokenServiceType |
get_serviceType() |
byte[] |
get_signature() |
Object |
getFieldValue(WorkerToken._Fields field) |
int |
hashCode() |
boolean |
is_set_info()
Returns true if field info is set (has been assigned a value) and false otherwise
|
boolean |
is_set_serviceType()
Returns true if field serviceType is set (has been assigned a value) and false otherwise
|
boolean |
is_set_signature()
Returns true if field signature is set (has been assigned a value) and false otherwise
|
boolean |
isSet(WorkerToken._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_info_isSet(boolean value) |
void |
set_info(byte[] info) |
void |
set_info(ByteBuffer info) |
void |
set_serviceType_isSet(boolean value) |
void |
set_serviceType(WorkerTokenServiceType serviceType) |
void |
set_signature_isSet(boolean value) |
void |
set_signature(byte[] signature) |
void |
set_signature(ByteBuffer signature) |
void |
setFieldValue(WorkerToken._Fields field,
Object value) |
String |
toString() |
void |
unset_info() |
void |
unset_serviceType() |
void |
unset_signature() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<WorkerToken._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public WorkerToken()
public WorkerToken(WorkerTokenServiceType serviceType, ByteBuffer info, ByteBuffer signature)
public WorkerToken(WorkerToken other)
public WorkerToken deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<WorkerToken,WorkerToken._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<WorkerToken,WorkerToken._Fields>
public WorkerTokenServiceType get_serviceType()
WorkerTokenServiceType
public void set_serviceType(WorkerTokenServiceType serviceType)
WorkerTokenServiceType
public void unset_serviceType()
public boolean is_set_serviceType()
public void set_serviceType_isSet(boolean value)
public byte[] get_info()
public ByteBuffer buffer_for_info()
public void set_info(byte[] info)
public void set_info(ByteBuffer info)
public void unset_info()
public boolean is_set_info()
public void set_info_isSet(boolean value)
public byte[] get_signature()
public ByteBuffer buffer_for_signature()
public void set_signature(byte[] signature)
public void set_signature(ByteBuffer signature)
public void unset_signature()
public boolean is_set_signature()
public void set_signature_isSet(boolean value)
public void setFieldValue(WorkerToken._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<WorkerToken,WorkerToken._Fields>
public Object getFieldValue(WorkerToken._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<WorkerToken,WorkerToken._Fields>
public boolean isSet(WorkerToken._Fields field)
isSet
in interface org.apache.storm.thrift.TBase<WorkerToken,WorkerToken._Fields>
public boolean equals(WorkerToken that)
public int compareTo(WorkerToken other)
compareTo
in interface Comparable<WorkerToken>
public WorkerToken._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<WorkerToken,WorkerToken._Fields>
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
read
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
write
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void validate() throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
Copyright © 2023 The Apache Software Foundation. All rights reserved.