Package com.uber.cadence
Class ClusterInfo
- java.lang.Object
-
- com.uber.cadence.ClusterInfo
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<ClusterInfo>
,org.apache.thrift.TBase<ClusterInfo,ClusterInfo._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-01-06") public class ClusterInfo extends java.lang.Object implements org.apache.thrift.TBase<ClusterInfo,ClusterInfo._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ClusterInfo>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterInfo._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 static java.util.Map<ClusterInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
SupportedClientVersions
supportedClientVersions
-
Constructor Summary
Constructors Constructor Description ClusterInfo()
ClusterInfo(ClusterInfo other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(ClusterInfo other)
ClusterInfo
deepCopy()
boolean
equals(ClusterInfo that)
boolean
equals(java.lang.Object that)
ClusterInfo._Fields
fieldForId(int fieldId)
java.lang.Object
getFieldValue(ClusterInfo._Fields field)
SupportedClientVersions
getSupportedClientVersions()
int
hashCode()
boolean
isSet(ClusterInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetSupportedClientVersions()
Returns true if field supportedClientVersions is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(ClusterInfo._Fields field, java.lang.Object value)
ClusterInfo
setSupportedClientVersions(SupportedClientVersions supportedClientVersions)
void
setSupportedClientVersionsIsSet(boolean value)
java.lang.String
toString()
void
unsetSupportedClientVersions()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
supportedClientVersions
public SupportedClientVersions supportedClientVersions
-
metaDataMap
public static final java.util.Map<ClusterInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ClusterInfo
public ClusterInfo()
-
ClusterInfo
public ClusterInfo(ClusterInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ClusterInfo deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<ClusterInfo,ClusterInfo._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<ClusterInfo,ClusterInfo._Fields>
-
getSupportedClientVersions
public SupportedClientVersions getSupportedClientVersions()
-
setSupportedClientVersions
public ClusterInfo setSupportedClientVersions(SupportedClientVersions supportedClientVersions)
-
unsetSupportedClientVersions
public void unsetSupportedClientVersions()
-
isSetSupportedClientVersions
public boolean isSetSupportedClientVersions()
Returns true if field supportedClientVersions is set (has been assigned a value) and false otherwise
-
setSupportedClientVersionsIsSet
public void setSupportedClientVersionsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(ClusterInfo._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<ClusterInfo,ClusterInfo._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(ClusterInfo._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<ClusterInfo,ClusterInfo._Fields>
-
isSet
public boolean isSet(ClusterInfo._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<ClusterInfo,ClusterInfo._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(ClusterInfo that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(ClusterInfo other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ClusterInfo>
-
fieldForId
public ClusterInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<ClusterInfo,ClusterInfo._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<ClusterInfo,ClusterInfo._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<ClusterInfo,ClusterInfo._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
-
-