Package com.uber.cadence
Class TaskListStatus
- java.lang.Object
-
- com.uber.cadence.TaskListStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<TaskListStatus>
,org.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-08-08") public class TaskListStatus extends java.lang.Object implements org.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TaskListStatus>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TaskListStatus._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 long
ackLevel
long
backlogCountHint
static java.util.Map<TaskListStatus._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
double
ratePerSecond
long
readLevel
TaskIDBlock
taskIDBlock
-
Constructor Summary
Constructors Constructor Description TaskListStatus()
TaskListStatus(TaskListStatus other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(TaskListStatus other)
TaskListStatus
deepCopy()
boolean
equals(TaskListStatus that)
boolean
equals(java.lang.Object that)
TaskListStatus._Fields
fieldForId(int fieldId)
long
getAckLevel()
long
getBacklogCountHint()
java.lang.Object
getFieldValue(TaskListStatus._Fields field)
double
getRatePerSecond()
long
getReadLevel()
TaskIDBlock
getTaskIDBlock()
int
hashCode()
boolean
isSet(TaskListStatus._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetAckLevel()
Returns true if field ackLevel is set (has been assigned a value) and false otherwiseboolean
isSetBacklogCountHint()
Returns true if field backlogCountHint is set (has been assigned a value) and false otherwiseboolean
isSetRatePerSecond()
Returns true if field ratePerSecond is set (has been assigned a value) and false otherwiseboolean
isSetReadLevel()
Returns true if field readLevel is set (has been assigned a value) and false otherwiseboolean
isSetTaskIDBlock()
Returns true if field taskIDBlock is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
TaskListStatus
setAckLevel(long ackLevel)
void
setAckLevelIsSet(boolean value)
TaskListStatus
setBacklogCountHint(long backlogCountHint)
void
setBacklogCountHintIsSet(boolean value)
void
setFieldValue(TaskListStatus._Fields field, java.lang.Object value)
TaskListStatus
setRatePerSecond(double ratePerSecond)
void
setRatePerSecondIsSet(boolean value)
TaskListStatus
setReadLevel(long readLevel)
void
setReadLevelIsSet(boolean value)
TaskListStatus
setTaskIDBlock(TaskIDBlock taskIDBlock)
void
setTaskIDBlockIsSet(boolean value)
java.lang.String
toString()
void
unsetAckLevel()
void
unsetBacklogCountHint()
void
unsetRatePerSecond()
void
unsetReadLevel()
void
unsetTaskIDBlock()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
backlogCountHint
public long backlogCountHint
-
readLevel
public long readLevel
-
ackLevel
public long ackLevel
-
ratePerSecond
public double ratePerSecond
-
taskIDBlock
public TaskIDBlock taskIDBlock
-
metaDataMap
public static final java.util.Map<TaskListStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TaskListStatus
public TaskListStatus()
-
TaskListStatus
public TaskListStatus(TaskListStatus other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TaskListStatus deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
-
getBacklogCountHint
public long getBacklogCountHint()
-
setBacklogCountHint
public TaskListStatus setBacklogCountHint(long backlogCountHint)
-
unsetBacklogCountHint
public void unsetBacklogCountHint()
-
isSetBacklogCountHint
public boolean isSetBacklogCountHint()
Returns true if field backlogCountHint is set (has been assigned a value) and false otherwise
-
setBacklogCountHintIsSet
public void setBacklogCountHintIsSet(boolean value)
-
getReadLevel
public long getReadLevel()
-
setReadLevel
public TaskListStatus setReadLevel(long readLevel)
-
unsetReadLevel
public void unsetReadLevel()
-
isSetReadLevel
public boolean isSetReadLevel()
Returns true if field readLevel is set (has been assigned a value) and false otherwise
-
setReadLevelIsSet
public void setReadLevelIsSet(boolean value)
-
getAckLevel
public long getAckLevel()
-
setAckLevel
public TaskListStatus setAckLevel(long ackLevel)
-
unsetAckLevel
public void unsetAckLevel()
-
isSetAckLevel
public boolean isSetAckLevel()
Returns true if field ackLevel is set (has been assigned a value) and false otherwise
-
setAckLevelIsSet
public void setAckLevelIsSet(boolean value)
-
getRatePerSecond
public double getRatePerSecond()
-
setRatePerSecond
public TaskListStatus setRatePerSecond(double ratePerSecond)
-
unsetRatePerSecond
public void unsetRatePerSecond()
-
isSetRatePerSecond
public boolean isSetRatePerSecond()
Returns true if field ratePerSecond is set (has been assigned a value) and false otherwise
-
setRatePerSecondIsSet
public void setRatePerSecondIsSet(boolean value)
-
getTaskIDBlock
public TaskIDBlock getTaskIDBlock()
-
setTaskIDBlock
public TaskListStatus setTaskIDBlock(TaskIDBlock taskIDBlock)
-
unsetTaskIDBlock
public void unsetTaskIDBlock()
-
isSetTaskIDBlock
public boolean isSetTaskIDBlock()
Returns true if field taskIDBlock is set (has been assigned a value) and false otherwise
-
setTaskIDBlockIsSet
public void setTaskIDBlockIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TaskListStatus._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(TaskListStatus._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
-
isSet
public boolean isSet(TaskListStatus._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<TaskListStatus,TaskListStatus._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(TaskListStatus that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(TaskListStatus other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<TaskListStatus>
-
fieldForId
public TaskListStatus._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<TaskListStatus,TaskListStatus._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<TaskListStatus,TaskListStatus._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
-
-