@Generated(value="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>
Modifier and Type | Class and Description |
---|---|
static class |
WorkerTokenInfo._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<WorkerTokenInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
WorkerTokenInfo() |
WorkerTokenInfo(String userName,
String topologyId,
long secretVersion,
long expirationTimeMillis) |
WorkerTokenInfo(WorkerTokenInfo other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(WorkerTokenInfo other) |
WorkerTokenInfo |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(WorkerTokenInfo that) |
WorkerTokenInfo._Fields |
fieldForId(int fieldId) |
long |
get_expirationTimeMillis() |
long |
get_secretVersion() |
String |
get_topologyId() |
String |
get_userName() |
Object |
getFieldValue(WorkerTokenInfo._Fields field) |
int |
hashCode() |
boolean |
is_set_expirationTimeMillis()
Returns true if field expirationTimeMillis is set (has been assigned a value) and false otherwise
|
boolean |
is_set_secretVersion()
Returns true if field secretVersion is set (has been assigned a value) and false otherwise
|
boolean |
is_set_topologyId()
Returns true if field topologyId is set (has been assigned a value) and false otherwise
|
boolean |
is_set_userName()
Returns true if field userName is set (has been assigned a value) and false otherwise
|
boolean |
isSet(WorkerTokenInfo._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_expirationTimeMillis_isSet(boolean value) |
void |
set_expirationTimeMillis(long expirationTimeMillis) |
void |
set_secretVersion_isSet(boolean value) |
void |
set_secretVersion(long secretVersion) |
void |
set_topologyId_isSet(boolean value) |
void |
set_topologyId(String topologyId) |
void |
set_userName_isSet(boolean value) |
void |
set_userName(String userName) |
void |
setFieldValue(WorkerTokenInfo._Fields field,
Object value) |
String |
toString() |
void |
unset_expirationTimeMillis() |
void |
unset_secretVersion() |
void |
unset_topologyId() |
void |
unset_userName() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<WorkerTokenInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public WorkerTokenInfo()
public WorkerTokenInfo(String userName, String topologyId, long secretVersion, long expirationTimeMillis)
public WorkerTokenInfo(WorkerTokenInfo other)
Performs a deep copy on other.
public WorkerTokenInfo deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<WorkerTokenInfo,WorkerTokenInfo._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<WorkerTokenInfo,WorkerTokenInfo._Fields>
public String get_userName()
public void set_userName(String userName)
public void unset_userName()
public boolean is_set_userName()
Returns true if field userName is set (has been assigned a value) and false otherwise
public void set_userName_isSet(boolean value)
public String get_topologyId()
public void set_topologyId(String topologyId)
public void unset_topologyId()
public boolean is_set_topologyId()
Returns true if field topologyId is set (has been assigned a value) and false otherwise
public void set_topologyId_isSet(boolean value)
public long get_secretVersion()
public void set_secretVersion(long secretVersion)
public void unset_secretVersion()
public boolean is_set_secretVersion()
Returns true if field secretVersion is set (has been assigned a value) and false otherwise
public void set_secretVersion_isSet(boolean value)
public long get_expirationTimeMillis()
public void set_expirationTimeMillis(long expirationTimeMillis)
public void unset_expirationTimeMillis()
public boolean is_set_expirationTimeMillis()
Returns true if field expirationTimeMillis is set (has been assigned a value) and false otherwise
public void set_expirationTimeMillis_isSet(boolean value)
public void setFieldValue(WorkerTokenInfo._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<WorkerTokenInfo,WorkerTokenInfo._Fields>
public Object getFieldValue(WorkerTokenInfo._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<WorkerTokenInfo,WorkerTokenInfo._Fields>
public boolean isSet(WorkerTokenInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.storm.thrift.TBase<WorkerTokenInfo,WorkerTokenInfo._Fields>
public boolean equals(WorkerTokenInfo that)
public int compareTo(WorkerTokenInfo other)
compareTo
in interface Comparable<WorkerTokenInfo>
public WorkerTokenInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<WorkerTokenInfo,WorkerTokenInfo._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 © 2022 The Apache Software Foundation. All rights reserved.