Package org.apache.storm.generated
Class PrivateWorkerKey
java.lang.Object
org.apache.storm.generated.PrivateWorkerKey
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PrivateWorkerKey>,org.apache.storm.thrift.TBase<PrivateWorkerKey,,PrivateWorkerKey._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class PrivateWorkerKey
extends Object
implements org.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._Fields>, Serializable, Cloneable, Comparable<PrivateWorkerKey>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<PrivateWorkerKey._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPrivateWorkerKey(ByteBuffer key, String userName, long expirationTimeMillis) PrivateWorkerKey(PrivateWorkerKey other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(PrivateWorkerKey other) deepCopy()booleanbooleanequals(PrivateWorkerKey that) fieldForId(int fieldId) longbyte[]get_key()inthashCode()booleanReturns true if field expirationTimeMillis is set (has been assigned a value) and false otherwisebooleanReturns true if field key is set (has been assigned a value) and false otherwisebooleanReturns true if field userName is set (has been assigned a value) and false otherwisebooleanisSet(PrivateWorkerKey._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_key(byte[] key) voidset_key(ByteBuffer key) voidset_key_isSet(boolean value) voidset_userName(String userName) voidset_userName_isSet(boolean value) voidsetFieldValue(PrivateWorkerKey._Fields field, Object value) toString()voidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<PrivateWorkerKey._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PrivateWorkerKey
public PrivateWorkerKey() -
PrivateWorkerKey
-
PrivateWorkerKey
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._Fields>
-
get_key
public byte[] get_key() -
buffer_for_key
-
set_key
public void set_key(byte[] key) -
set_key
-
unset_key
public void unset_key() -
is_set_key
public boolean is_set_key()Returns true if field key is set (has been assigned a value) and false otherwise -
set_key_isSet
public void set_key_isSet(boolean value) -
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_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:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PrivateWorkerKey>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
readin 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:
writein 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
-