Package org.apache.storm.generated
Class WorkerTokenInfo
java.lang.Object
org.apache.storm.generated.WorkerTokenInfo
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<WorkerTokenInfo>
,org.apache.storm.thrift.TBase<WorkerTokenInfo,
,WorkerTokenInfo._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.13.0)")
public class WorkerTokenInfo
extends Object
implements org.apache.storm.thrift.TBase<WorkerTokenInfo,WorkerTokenInfo._Fields>, Serializable, Cloneable, Comparable<WorkerTokenInfo>
- 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<WorkerTokenInfo._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionWorkerTokenInfo
(String userName, String topologyId, long secretVersion, long expirationTimeMillis) WorkerTokenInfo
(WorkerTokenInfo other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
compareTo
(WorkerTokenInfo other) deepCopy()
boolean
boolean
equals
(WorkerTokenInfo that) fieldForId
(int fieldId) long
long
int
hashCode()
boolean
Returns true if field expirationTimeMillis is set (has been assigned a value) and false otherwiseboolean
Returns true if field secretVersion is set (has been assigned a value) and false otherwiseboolean
Returns true if field topologyId is set (has been assigned a value) and false otherwiseboolean
Returns true if field userName is set (has been assigned a value) and false otherwiseboolean
isSet
(WorkerTokenInfo._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_expirationTimeMillis
(long expirationTimeMillis) void
set_expirationTimeMillis_isSet
(boolean value) void
set_secretVersion
(long secretVersion) void
set_secretVersion_isSet
(boolean value) void
set_topologyId
(String topologyId) void
set_topologyId_isSet
(boolean value) void
set_userName
(String userName) void
set_userName_isSet
(boolean value) void
setFieldValue
(WorkerTokenInfo._Fields field, Object value) toString()
void
void
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<WorkerTokenInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
WorkerTokenInfo
public WorkerTokenInfo() -
WorkerTokenInfo
-
WorkerTokenInfo
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<WorkerTokenInfo,
WorkerTokenInfo._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<WorkerTokenInfo,
WorkerTokenInfo._Fields>
-
get_userName
-
set_userName
-
unset_userName
public void unset_userName() -
is_set_userName
public boolean is_set_userName()Returns true if field userName is set (has been assigned a value) and false otherwise -
set_userName_isSet
public void set_userName_isSet(boolean value) -
get_topologyId
-
set_topologyId
-
unset_topologyId
public void unset_topologyId() -
is_set_topologyId
public boolean is_set_topologyId()Returns true if field topologyId is set (has been assigned a value) and false otherwise -
set_topologyId_isSet
public void set_topologyId_isSet(boolean value) -
get_secretVersion
public long get_secretVersion() -
set_secretVersion
public void set_secretVersion(long secretVersion) -
unset_secretVersion
public void unset_secretVersion() -
is_set_secretVersion
public boolean is_set_secretVersion()Returns true if field secretVersion is set (has been assigned a value) and false otherwise -
set_secretVersion_isSet
public void set_secretVersion_isSet(boolean value) -
get_expirationTimeMillis
public long get_expirationTimeMillis() -
set_expirationTimeMillis
public void set_expirationTimeMillis(long expirationTimeMillis) -
unset_expirationTimeMillis
public void unset_expirationTimeMillis() -
is_set_expirationTimeMillis
public boolean is_set_expirationTimeMillis()Returns true if field expirationTimeMillis is set (has been assigned a value) and false otherwise -
set_expirationTimeMillis_isSet
public void set_expirationTimeMillis_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<WorkerTokenInfo,
WorkerTokenInfo._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<WorkerTokenInfo,
WorkerTokenInfo._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<WorkerTokenInfo,
WorkerTokenInfo._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<WorkerTokenInfo>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<WorkerTokenInfo,
WorkerTokenInfo._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
-