@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class LocalityTier extends Object implements org.apache.thrift.TBase<LocalityTier,LocalityTier._Fields>, Serializable, Cloneable, Comparable<LocalityTier>
Modifier and Type | Class and Description |
---|---|
static class |
LocalityTier._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<LocalityTier._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
LocalityTier() |
LocalityTier(LocalityTier other)
Performs a deep copy on other.
|
LocalityTier(String tierName,
String value) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(LocalityTier other) |
LocalityTier |
deepCopy() |
boolean |
equals(LocalityTier that) |
boolean |
equals(Object that) |
LocalityTier._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(LocalityTier._Fields field) |
String |
getTierName() |
String |
getValue() |
int |
hashCode() |
boolean |
isSet(LocalityTier._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetTierName()
Returns true if field tierName is set (has been assigned a value) and false otherwise
|
boolean |
isSetValue()
Returns true if field value is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(LocalityTier._Fields field,
Object value) |
LocalityTier |
setTierName(String tierName) |
void |
setTierNameIsSet(boolean value) |
LocalityTier |
setValue(String value) |
void |
setValueIsSet(boolean value) |
String |
toString() |
void |
unsetTierName() |
void |
unsetValue() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<LocalityTier._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public LocalityTier()
public LocalityTier(LocalityTier other)
public LocalityTier deepCopy()
deepCopy
in interface org.apache.thrift.TBase<LocalityTier,LocalityTier._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<LocalityTier,LocalityTier._Fields>
public String getTierName()
public LocalityTier setTierName(String tierName)
public void unsetTierName()
public boolean isSetTierName()
public void setTierNameIsSet(boolean value)
public String getValue()
public LocalityTier setValue(String value)
public void unsetValue()
public boolean isSetValue()
public void setValueIsSet(boolean value)
public void setFieldValue(LocalityTier._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<LocalityTier,LocalityTier._Fields>
public Object getFieldValue(LocalityTier._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<LocalityTier,LocalityTier._Fields>
public boolean isSet(LocalityTier._Fields field)
isSet
in interface org.apache.thrift.TBase<LocalityTier,LocalityTier._Fields>
public boolean equals(LocalityTier that)
public int compareTo(LocalityTier other)
compareTo
in interface Comparable<LocalityTier>
public LocalityTier._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<LocalityTier,LocalityTier._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<LocalityTier,LocalityTier._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<LocalityTier,LocalityTier._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.