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