Package org.apache.storm.generated
Class LSApprovedWorkers
- java.lang.Object
-
- org.apache.storm.generated.LSApprovedWorkers
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<LSApprovedWorkers>
,org.apache.storm.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>
,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class LSApprovedWorkers extends Object implements org.apache.storm.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>, Serializable, Cloneable, Comparable<LSApprovedWorkers>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LSApprovedWorkers._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<LSApprovedWorkers._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description LSApprovedWorkers()
LSApprovedWorkers(Map<String,Integer> approved_workers)
LSApprovedWorkers(LSApprovedWorkers other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(LSApprovedWorkers other)
LSApprovedWorkers
deepCopy()
boolean
equals(Object that)
boolean
equals(LSApprovedWorkers that)
LSApprovedWorkers._Fields
fieldForId(int fieldId)
Map<String,Integer>
get_approved_workers()
int
get_approved_workers_size()
Object
getFieldValue(LSApprovedWorkers._Fields field)
int
hashCode()
boolean
is_set_approved_workers()
Returns true if field approved_workers is set (has been assigned a value) and false otherwiseboolean
isSet(LSApprovedWorkers._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
put_to_approved_workers(String key, int val)
void
read(org.apache.storm.thrift.protocol.TProtocol iprot)
void
set_approved_workers(Map<String,Integer> approved_workers)
void
set_approved_workers_isSet(boolean value)
void
setFieldValue(LSApprovedWorkers._Fields field, Object value)
String
toString()
void
unset_approved_workers()
void
validate()
void
write(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<LSApprovedWorkers._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
LSApprovedWorkers
public LSApprovedWorkers()
-
LSApprovedWorkers
public LSApprovedWorkers(LSApprovedWorkers other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public LSApprovedWorkers deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>
-
get_approved_workers_size
public int get_approved_workers_size()
-
put_to_approved_workers
public void put_to_approved_workers(String key, int val)
-
unset_approved_workers
public void unset_approved_workers()
-
is_set_approved_workers
public boolean is_set_approved_workers()
Returns true if field approved_workers is set (has been assigned a value) and false otherwise
-
set_approved_workers_isSet
public void set_approved_workers_isSet(boolean value)
-
setFieldValue
public void setFieldValue(LSApprovedWorkers._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>
-
getFieldValue
public Object getFieldValue(LSApprovedWorkers._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>
-
isSet
public boolean isSet(LSApprovedWorkers._Fields field)
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<LSApprovedWorkers,LSApprovedWorkers._Fields>
-
equals
public boolean equals(LSApprovedWorkers that)
-
compareTo
public int compareTo(LSApprovedWorkers other)
- Specified by:
compareTo
in interfaceComparable<LSApprovedWorkers>
-
fieldForId
public LSApprovedWorkers._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._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
-
validate
public void validate() throws org.apache.storm.thrift.TException
- Throws:
org.apache.storm.thrift.TException
-
-