@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2020-06-01") public class DescribeHistoryHostResponse extends java.lang.Object implements org.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<DescribeHistoryHostResponse>
Modifier and Type | Class and Description |
---|---|
static class |
DescribeHistoryHostResponse._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
address |
DomainCacheInfo |
domainCache |
static java.util.Map<DescribeHistoryHostResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
numberOfShards |
java.lang.String |
shardControllerStatus |
java.util.List<java.lang.Integer> |
shardIDs |
Constructor and Description |
---|
DescribeHistoryHostResponse() |
DescribeHistoryHostResponse(DescribeHistoryHostResponse other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToShardIDs(int elem) |
void |
clear() |
int |
compareTo(DescribeHistoryHostResponse other) |
DescribeHistoryHostResponse |
deepCopy() |
boolean |
equals(DescribeHistoryHostResponse that) |
boolean |
equals(java.lang.Object that) |
DescribeHistoryHostResponse._Fields |
fieldForId(int fieldId) |
java.lang.String |
getAddress() |
DomainCacheInfo |
getDomainCache() |
java.lang.Object |
getFieldValue(DescribeHistoryHostResponse._Fields field) |
int |
getNumberOfShards() |
java.lang.String |
getShardControllerStatus() |
java.util.List<java.lang.Integer> |
getShardIDs() |
java.util.Iterator<java.lang.Integer> |
getShardIDsIterator() |
int |
getShardIDsSize() |
int |
hashCode() |
boolean |
isSet(DescribeHistoryHostResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAddress()
Returns true if field address is set (has been assigned a value) and false otherwise
|
boolean |
isSetDomainCache()
Returns true if field domainCache is set (has been assigned a value) and false otherwise
|
boolean |
isSetNumberOfShards()
Returns true if field numberOfShards is set (has been assigned a value) and false otherwise
|
boolean |
isSetShardControllerStatus()
Returns true if field shardControllerStatus is set (has been assigned a value) and false otherwise
|
boolean |
isSetShardIDs()
Returns true if field shardIDs is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
DescribeHistoryHostResponse |
setAddress(java.lang.String address) |
void |
setAddressIsSet(boolean value) |
DescribeHistoryHostResponse |
setDomainCache(DomainCacheInfo domainCache) |
void |
setDomainCacheIsSet(boolean value) |
void |
setFieldValue(DescribeHistoryHostResponse._Fields field,
java.lang.Object value) |
DescribeHistoryHostResponse |
setNumberOfShards(int numberOfShards) |
void |
setNumberOfShardsIsSet(boolean value) |
DescribeHistoryHostResponse |
setShardControllerStatus(java.lang.String shardControllerStatus) |
void |
setShardControllerStatusIsSet(boolean value) |
DescribeHistoryHostResponse |
setShardIDs(java.util.List<java.lang.Integer> shardIDs) |
void |
setShardIDsIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetAddress() |
void |
unsetDomainCache() |
void |
unsetNumberOfShards() |
void |
unsetShardControllerStatus() |
void |
unsetShardIDs() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int numberOfShards
public java.util.List<java.lang.Integer> shardIDs
public DomainCacheInfo domainCache
public java.lang.String shardControllerStatus
public java.lang.String address
public static final java.util.Map<DescribeHistoryHostResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public DescribeHistoryHostResponse()
public DescribeHistoryHostResponse(DescribeHistoryHostResponse other)
public DescribeHistoryHostResponse deepCopy()
deepCopy
in interface org.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
public int getNumberOfShards()
public DescribeHistoryHostResponse setNumberOfShards(int numberOfShards)
public void unsetNumberOfShards()
public boolean isSetNumberOfShards()
public void setNumberOfShardsIsSet(boolean value)
public int getShardIDsSize()
public java.util.Iterator<java.lang.Integer> getShardIDsIterator()
public void addToShardIDs(int elem)
public java.util.List<java.lang.Integer> getShardIDs()
public DescribeHistoryHostResponse setShardIDs(java.util.List<java.lang.Integer> shardIDs)
public void unsetShardIDs()
public boolean isSetShardIDs()
public void setShardIDsIsSet(boolean value)
public DomainCacheInfo getDomainCache()
public DescribeHistoryHostResponse setDomainCache(DomainCacheInfo domainCache)
public void unsetDomainCache()
public boolean isSetDomainCache()
public void setDomainCacheIsSet(boolean value)
public java.lang.String getShardControllerStatus()
public DescribeHistoryHostResponse setShardControllerStatus(java.lang.String shardControllerStatus)
public void unsetShardControllerStatus()
public boolean isSetShardControllerStatus()
public void setShardControllerStatusIsSet(boolean value)
public java.lang.String getAddress()
public DescribeHistoryHostResponse setAddress(java.lang.String address)
public void unsetAddress()
public boolean isSetAddress()
public void setAddressIsSet(boolean value)
public void setFieldValue(DescribeHistoryHostResponse._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
public java.lang.Object getFieldValue(DescribeHistoryHostResponse._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
public boolean isSet(DescribeHistoryHostResponse._Fields field)
isSet
in interface org.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(DescribeHistoryHostResponse that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(DescribeHistoryHostResponse other)
compareTo
in interface java.lang.Comparable<DescribeHistoryHostResponse>
public DescribeHistoryHostResponse._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._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<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException