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