Package com.uber.cadence
Class DescribeHistoryHostResponse
- java.lang.Object
-
- com.uber.cadence.DescribeHistoryHostResponse
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<DescribeHistoryHostResponse>
,org.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-01-06") 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>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DescribeHistoryHostResponse._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 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 Summary
Constructors Constructor Description DescribeHistoryHostResponse()
DescribeHistoryHostResponse(DescribeHistoryHostResponse other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 otherwiseboolean
isSetAddress()
Returns true if field address is set (has been assigned a value) and false otherwiseboolean
isSetDomainCache()
Returns true if field domainCache is set (has been assigned a value) and false otherwiseboolean
isSetNumberOfShards()
Returns true if field numberOfShards is set (has been assigned a value) and false otherwiseboolean
isSetShardControllerStatus()
Returns true if field shardControllerStatus is set (has been assigned a value) and false otherwiseboolean
isSetShardIDs()
Returns true if field shardIDs is set (has been assigned a value) and false otherwisevoid
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)
-
-
-
Field Detail
-
numberOfShards
public int numberOfShards
-
shardIDs
public java.util.List<java.lang.Integer> shardIDs
-
domainCache
public DomainCacheInfo domainCache
-
shardControllerStatus
public java.lang.String shardControllerStatus
-
address
public java.lang.String address
-
metaDataMap
public static final java.util.Map<DescribeHistoryHostResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
DescribeHistoryHostResponse
public DescribeHistoryHostResponse()
-
DescribeHistoryHostResponse
public DescribeHistoryHostResponse(DescribeHistoryHostResponse other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public DescribeHistoryHostResponse deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
-
getNumberOfShards
public int getNumberOfShards()
-
setNumberOfShards
public DescribeHistoryHostResponse setNumberOfShards(int numberOfShards)
-
unsetNumberOfShards
public void unsetNumberOfShards()
-
isSetNumberOfShards
public boolean isSetNumberOfShards()
Returns true if field numberOfShards is set (has been assigned a value) and false otherwise
-
setNumberOfShardsIsSet
public void setNumberOfShardsIsSet(boolean value)
-
getShardIDsSize
public int getShardIDsSize()
-
getShardIDsIterator
public java.util.Iterator<java.lang.Integer> getShardIDsIterator()
-
addToShardIDs
public void addToShardIDs(int elem)
-
getShardIDs
public java.util.List<java.lang.Integer> getShardIDs()
-
setShardIDs
public DescribeHistoryHostResponse setShardIDs(java.util.List<java.lang.Integer> shardIDs)
-
unsetShardIDs
public void unsetShardIDs()
-
isSetShardIDs
public boolean isSetShardIDs()
Returns true if field shardIDs is set (has been assigned a value) and false otherwise
-
setShardIDsIsSet
public void setShardIDsIsSet(boolean value)
-
getDomainCache
public DomainCacheInfo getDomainCache()
-
setDomainCache
public DescribeHistoryHostResponse setDomainCache(DomainCacheInfo domainCache)
-
unsetDomainCache
public void unsetDomainCache()
-
isSetDomainCache
public boolean isSetDomainCache()
Returns true if field domainCache is set (has been assigned a value) and false otherwise
-
setDomainCacheIsSet
public void setDomainCacheIsSet(boolean value)
-
getShardControllerStatus
public java.lang.String getShardControllerStatus()
-
setShardControllerStatus
public DescribeHistoryHostResponse setShardControllerStatus(java.lang.String shardControllerStatus)
-
unsetShardControllerStatus
public void unsetShardControllerStatus()
-
isSetShardControllerStatus
public boolean isSetShardControllerStatus()
Returns true if field shardControllerStatus is set (has been assigned a value) and false otherwise
-
setShardControllerStatusIsSet
public void setShardControllerStatusIsSet(boolean value)
-
getAddress
public java.lang.String getAddress()
-
setAddress
public DescribeHistoryHostResponse setAddress(java.lang.String address)
-
unsetAddress
public void unsetAddress()
-
isSetAddress
public boolean isSetAddress()
Returns true if field address is set (has been assigned a value) and false otherwise
-
setAddressIsSet
public void setAddressIsSet(boolean value)
-
setFieldValue
public void setFieldValue(DescribeHistoryHostResponse._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(DescribeHistoryHostResponse._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
-
isSet
public boolean isSet(DescribeHistoryHostResponse._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.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(DescribeHistoryHostResponse that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(DescribeHistoryHostResponse other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<DescribeHistoryHostResponse>
-
fieldForId
public DescribeHistoryHostResponse._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TBase<DescribeHistoryHostResponse,DescribeHistoryHostResponse._Fields>
- Throws:
org.apache.thrift.TException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-