@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class PrivateWorkerKey extends Object implements org.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._Fields>, Serializable, Cloneable, Comparable<PrivateWorkerKey>
Modifier and Type | Class and Description |
---|---|
static class |
PrivateWorkerKey._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<PrivateWorkerKey._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
PrivateWorkerKey() |
PrivateWorkerKey(ByteBuffer key,
String userName,
long expirationTimeMillis) |
PrivateWorkerKey(PrivateWorkerKey other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
buffer_for_key() |
void |
clear() |
int |
compareTo(PrivateWorkerKey other) |
PrivateWorkerKey |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(PrivateWorkerKey that) |
PrivateWorkerKey._Fields |
fieldForId(int fieldId) |
long |
get_expirationTimeMillis() |
byte[] |
get_key() |
String |
get_userName() |
Object |
getFieldValue(PrivateWorkerKey._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_key()
Returns true if field key 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(PrivateWorkerKey._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_key_isSet(boolean value) |
void |
set_key(byte[] key) |
void |
set_key(ByteBuffer key) |
void |
set_userName_isSet(boolean value) |
void |
set_userName(String userName) |
void |
setFieldValue(PrivateWorkerKey._Fields field,
Object value) |
String |
toString() |
void |
unset_expirationTimeMillis() |
void |
unset_key() |
void |
unset_userName() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<PrivateWorkerKey._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public PrivateWorkerKey()
public PrivateWorkerKey(ByteBuffer key, String userName, long expirationTimeMillis)
public PrivateWorkerKey(PrivateWorkerKey other)
public PrivateWorkerKey deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._Fields>
public byte[] get_key()
public ByteBuffer buffer_for_key()
public void set_key(byte[] key)
public void set_key(ByteBuffer key)
public void unset_key()
public boolean is_set_key()
public void set_key_isSet(boolean value)
public String get_userName()
public void set_userName(String userName)
public void unset_userName()
public boolean is_set_userName()
public void set_userName_isSet(boolean value)
public long get_expirationTimeMillis()
public void set_expirationTimeMillis(long expirationTimeMillis)
public void unset_expirationTimeMillis()
public boolean is_set_expirationTimeMillis()
public void set_expirationTimeMillis_isSet(boolean value)
public void setFieldValue(PrivateWorkerKey._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._Fields>
public Object getFieldValue(PrivateWorkerKey._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._Fields>
public boolean isSet(PrivateWorkerKey._Fields field)
isSet
in interface org.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._Fields>
public boolean equals(PrivateWorkerKey that)
public int compareTo(PrivateWorkerKey other)
compareTo
in interface Comparable<PrivateWorkerKey>
public PrivateWorkerKey._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<PrivateWorkerKey,PrivateWorkerKey._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.