@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class LSApprovedWorkers extends Object implements org.apache.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>, Serializable, Cloneable, Comparable<LSApprovedWorkers>
Modifier and Type | Class and Description |
---|---|
static class |
LSApprovedWorkers._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<LSApprovedWorkers._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
LSApprovedWorkers() |
LSApprovedWorkers(LSApprovedWorkers other)
Performs a deep copy on other.
|
LSApprovedWorkers(Map<String,Integer> approved_workers) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(LSApprovedWorkers other) |
LSApprovedWorkers |
deepCopy() |
boolean |
equals(LSApprovedWorkers that) |
boolean |
equals(Object that) |
LSApprovedWorkers._Fields |
fieldForId(int fieldId) |
int |
get_approved_workers_size() |
Map<String,Integer> |
get_approved_workers() |
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 otherwise
|
boolean |
isSet(LSApprovedWorkers._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
put_to_approved_workers(String key,
int val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_approved_workers_isSet(boolean value) |
void |
set_approved_workers(Map<String,Integer> approved_workers) |
void |
setFieldValue(LSApprovedWorkers._Fields field,
Object value) |
String |
toString() |
void |
unset_approved_workers() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<LSApprovedWorkers._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public LSApprovedWorkers()
public LSApprovedWorkers(LSApprovedWorkers other)
Performs a deep copy on other.
public LSApprovedWorkers deepCopy()
deepCopy
in interface org.apache.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>
public int get_approved_workers_size()
public void put_to_approved_workers(String key, int val)
public void unset_approved_workers()
public boolean is_set_approved_workers()
Returns true if field approved_workers is set (has been assigned a value) and false otherwise
public void set_approved_workers_isSet(boolean value)
public void setFieldValue(LSApprovedWorkers._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>
public Object getFieldValue(LSApprovedWorkers._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>
public boolean isSet(LSApprovedWorkers._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>
public boolean equals(LSApprovedWorkers that)
public int compareTo(LSApprovedWorkers other)
compareTo
in interface Comparable<LSApprovedWorkers>
public LSApprovedWorkers._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<LSApprovedWorkers,LSApprovedWorkers._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.