Package com.uber.cadence
Class PollForActivityTaskRequest
- java.lang.Object
-
- com.uber.cadence.PollForActivityTaskRequest
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<PollForActivityTaskRequest>
,org.apache.thrift.TBase<PollForActivityTaskRequest,PollForActivityTaskRequest._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-01-06") public class PollForActivityTaskRequest extends java.lang.Object implements org.apache.thrift.TBase<PollForActivityTaskRequest,PollForActivityTaskRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PollForActivityTaskRequest>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PollForActivityTaskRequest._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
domain
java.lang.String
identity
static java.util.Map<PollForActivityTaskRequest._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
TaskList
taskList
TaskListMetadata
taskListMetadata
-
Constructor Summary
Constructors Constructor Description PollForActivityTaskRequest()
PollForActivityTaskRequest(PollForActivityTaskRequest other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(PollForActivityTaskRequest other)
PollForActivityTaskRequest
deepCopy()
boolean
equals(PollForActivityTaskRequest that)
boolean
equals(java.lang.Object that)
PollForActivityTaskRequest._Fields
fieldForId(int fieldId)
java.lang.String
getDomain()
java.lang.Object
getFieldValue(PollForActivityTaskRequest._Fields field)
java.lang.String
getIdentity()
TaskList
getTaskList()
TaskListMetadata
getTaskListMetadata()
int
hashCode()
boolean
isSet(PollForActivityTaskRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetDomain()
Returns true if field domain is set (has been assigned a value) and false otherwiseboolean
isSetIdentity()
Returns true if field identity is set (has been assigned a value) and false otherwiseboolean
isSetTaskList()
Returns true if field taskList is set (has been assigned a value) and false otherwiseboolean
isSetTaskListMetadata()
Returns true if field taskListMetadata is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
PollForActivityTaskRequest
setDomain(java.lang.String domain)
void
setDomainIsSet(boolean value)
void
setFieldValue(PollForActivityTaskRequest._Fields field, java.lang.Object value)
PollForActivityTaskRequest
setIdentity(java.lang.String identity)
void
setIdentityIsSet(boolean value)
PollForActivityTaskRequest
setTaskList(TaskList taskList)
void
setTaskListIsSet(boolean value)
PollForActivityTaskRequest
setTaskListMetadata(TaskListMetadata taskListMetadata)
void
setTaskListMetadataIsSet(boolean value)
java.lang.String
toString()
void
unsetDomain()
void
unsetIdentity()
void
unsetTaskList()
void
unsetTaskListMetadata()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
domain
public java.lang.String domain
-
taskList
public TaskList taskList
-
identity
public java.lang.String identity
-
taskListMetadata
public TaskListMetadata taskListMetadata
-
metaDataMap
public static final java.util.Map<PollForActivityTaskRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
PollForActivityTaskRequest
public PollForActivityTaskRequest()
-
PollForActivityTaskRequest
public PollForActivityTaskRequest(PollForActivityTaskRequest other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public PollForActivityTaskRequest deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<PollForActivityTaskRequest,PollForActivityTaskRequest._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<PollForActivityTaskRequest,PollForActivityTaskRequest._Fields>
-
getDomain
public java.lang.String getDomain()
-
setDomain
public PollForActivityTaskRequest setDomain(java.lang.String domain)
-
unsetDomain
public void unsetDomain()
-
isSetDomain
public boolean isSetDomain()
Returns true if field domain is set (has been assigned a value) and false otherwise
-
setDomainIsSet
public void setDomainIsSet(boolean value)
-
getTaskList
public TaskList getTaskList()
-
setTaskList
public PollForActivityTaskRequest setTaskList(TaskList taskList)
-
unsetTaskList
public void unsetTaskList()
-
isSetTaskList
public boolean isSetTaskList()
Returns true if field taskList is set (has been assigned a value) and false otherwise
-
setTaskListIsSet
public void setTaskListIsSet(boolean value)
-
getIdentity
public java.lang.String getIdentity()
-
setIdentity
public PollForActivityTaskRequest setIdentity(java.lang.String identity)
-
unsetIdentity
public void unsetIdentity()
-
isSetIdentity
public boolean isSetIdentity()
Returns true if field identity is set (has been assigned a value) and false otherwise
-
setIdentityIsSet
public void setIdentityIsSet(boolean value)
-
getTaskListMetadata
public TaskListMetadata getTaskListMetadata()
-
setTaskListMetadata
public PollForActivityTaskRequest setTaskListMetadata(TaskListMetadata taskListMetadata)
-
unsetTaskListMetadata
public void unsetTaskListMetadata()
-
isSetTaskListMetadata
public boolean isSetTaskListMetadata()
Returns true if field taskListMetadata is set (has been assigned a value) and false otherwise
-
setTaskListMetadataIsSet
public void setTaskListMetadataIsSet(boolean value)
-
setFieldValue
public void setFieldValue(PollForActivityTaskRequest._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<PollForActivityTaskRequest,PollForActivityTaskRequest._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(PollForActivityTaskRequest._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<PollForActivityTaskRequest,PollForActivityTaskRequest._Fields>
-
isSet
public boolean isSet(PollForActivityTaskRequest._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<PollForActivityTaskRequest,PollForActivityTaskRequest._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(PollForActivityTaskRequest that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(PollForActivityTaskRequest other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<PollForActivityTaskRequest>
-
fieldForId
public PollForActivityTaskRequest._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<PollForActivityTaskRequest,PollForActivityTaskRequest._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<PollForActivityTaskRequest,PollForActivityTaskRequest._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<PollForActivityTaskRequest,PollForActivityTaskRequest._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
-
-