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.19.0)")
public class WorkerTokenInfo
extends Object
implements org.apache.storm.thrift.TBase<WorkerTokenInfo,WorkerTokenInfo._Fields>, Serializable, Cloneable, Comparable<WorkerTokenInfo> 
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Map<WorkerTokenInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionWorkerTokenInfo(String userName, String topologyId, long secretVersion, long expirationTimeMillis) WorkerTokenInfo(WorkerTokenInfo other) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intcompareTo(WorkerTokenInfo other) deepCopy()booleanbooleanequals(WorkerTokenInfo that) fieldForId(int fieldId) longlonginthashCode()booleanReturns true if field expirationTimeMillis is set (has been assigned a value) and false otherwisebooleanReturns true if field secretVersion is set (has been assigned a value) and false otherwisebooleanReturns true if field topologyId is set (has been assigned a value) and false otherwisebooleanReturns true if field userName is set (has been assigned a value) and false otherwisebooleanisSet(WorkerTokenInfo._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidset_expirationTimeMillis(long expirationTimeMillis) voidset_expirationTimeMillis_isSet(boolean value) voidset_secretVersion(long secretVersion) voidset_secretVersion_isSet(boolean value) voidset_topologyId(String topologyId) voidset_topologyId_isSet(boolean value) voidset_userName(String userName) voidset_userName_isSet(boolean value) voidsetFieldValue(WorkerTokenInfo._Fields field, Object value) toString()voidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<WorkerTokenInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
WorkerTokenInfopublic WorkerTokenInfo()
- 
WorkerTokenInfo
- 
WorkerTokenInfoPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<WorkerTokenInfo,- WorkerTokenInfo._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<WorkerTokenInfo,- WorkerTokenInfo._Fields> 
 
- 
get_userName
- 
set_userName
- 
unset_userNamepublic void unset_userName()
- 
is_set_userNamepublic boolean is_set_userName()Returns true if field userName is set (has been assigned a value) and false otherwise
- 
set_userName_isSetpublic void set_userName_isSet(boolean value) 
- 
get_topologyId
- 
set_topologyId
- 
unset_topologyIdpublic void unset_topologyId()
- 
is_set_topologyIdpublic boolean is_set_topologyId()Returns true if field topologyId is set (has been assigned a value) and false otherwise
- 
set_topologyId_isSetpublic void set_topologyId_isSet(boolean value) 
- 
get_secretVersionpublic long get_secretVersion()
- 
set_secretVersionpublic void set_secretVersion(long secretVersion) 
- 
unset_secretVersionpublic void unset_secretVersion()
- 
is_set_secretVersionpublic boolean is_set_secretVersion()Returns true if field secretVersion is set (has been assigned a value) and false otherwise
- 
set_secretVersion_isSetpublic void set_secretVersion_isSet(boolean value) 
- 
get_expirationTimeMillispublic long get_expirationTimeMillis()
- 
set_expirationTimeMillispublic void set_expirationTimeMillis(long expirationTimeMillis) 
- 
unset_expirationTimeMillispublic void unset_expirationTimeMillis()
- 
is_set_expirationTimeMillispublic boolean is_set_expirationTimeMillis()Returns true if field expirationTimeMillis is set (has been assigned a value) and false otherwise
- 
set_expirationTimeMillis_isSetpublic void set_expirationTimeMillis_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<WorkerTokenInfo,- WorkerTokenInfo._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<WorkerTokenInfo,- WorkerTokenInfo._Fields> 
 
- 
isSetReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
- isSetin interface- org.apache.storm.thrift.TBase<WorkerTokenInfo,- WorkerTokenInfo._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<WorkerTokenInfo>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<WorkerTokenInfo,- WorkerTokenInfo._Fields> 
 
- 
readpublic void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
- readin interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
writepublic void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
- writein interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
toString
- 
validatepublic void validate() throws org.apache.storm.thrift.TException- Throws:
- org.apache.storm.thrift.TException
 
 
-