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