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