Package com.uber.cadence
Class WorkflowService.PollForActivityTask_args
- java.lang.Object
-
- com.uber.cadence.WorkflowService.PollForActivityTask_args
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<WorkflowService.PollForActivityTask_args>
,org.apache.thrift.TBase<WorkflowService.PollForActivityTask_args,WorkflowService.PollForActivityTask_args._Fields>
- Enclosing class:
- WorkflowService
public static class WorkflowService.PollForActivityTask_args extends java.lang.Object implements org.apache.thrift.TBase<WorkflowService.PollForActivityTask_args,WorkflowService.PollForActivityTask_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<WorkflowService.PollForActivityTask_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkflowService.PollForActivityTask_args._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 static java.util.Map<WorkflowService.PollForActivityTask_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
PollForActivityTaskRequest
pollRequest
-
Constructor Summary
Constructors Constructor Description PollForActivityTask_args()
PollForActivityTask_args(PollForActivityTaskRequest pollRequest)
PollForActivityTask_args(WorkflowService.PollForActivityTask_args other)
Performs a deep copy on other.
-
Method Summary
-
-
-
Field Detail
-
pollRequest
public PollForActivityTaskRequest pollRequest
-
metaDataMap
public static final java.util.Map<WorkflowService.PollForActivityTask_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
PollForActivityTask_args
public PollForActivityTask_args()
-
PollForActivityTask_args
public PollForActivityTask_args(PollForActivityTaskRequest pollRequest)
-
PollForActivityTask_args
public PollForActivityTask_args(WorkflowService.PollForActivityTask_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public WorkflowService.PollForActivityTask_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<WorkflowService.PollForActivityTask_args,WorkflowService.PollForActivityTask_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<WorkflowService.PollForActivityTask_args,WorkflowService.PollForActivityTask_args._Fields>
-
getPollRequest
public PollForActivityTaskRequest getPollRequest()
-
setPollRequest
public WorkflowService.PollForActivityTask_args setPollRequest(PollForActivityTaskRequest pollRequest)
-
unsetPollRequest
public void unsetPollRequest()
-
isSetPollRequest
public boolean isSetPollRequest()
Returns true if field pollRequest is set (has been assigned a value) and false otherwise
-
setPollRequestIsSet
public void setPollRequestIsSet(boolean value)
-
setFieldValue
public void setFieldValue(WorkflowService.PollForActivityTask_args._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<WorkflowService.PollForActivityTask_args,WorkflowService.PollForActivityTask_args._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(WorkflowService.PollForActivityTask_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<WorkflowService.PollForActivityTask_args,WorkflowService.PollForActivityTask_args._Fields>
-
isSet
public boolean isSet(WorkflowService.PollForActivityTask_args._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<WorkflowService.PollForActivityTask_args,WorkflowService.PollForActivityTask_args._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(WorkflowService.PollForActivityTask_args that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(WorkflowService.PollForActivityTask_args other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<WorkflowService.PollForActivityTask_args>
-
fieldForId
public WorkflowService.PollForActivityTask_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<WorkflowService.PollForActivityTask_args,WorkflowService.PollForActivityTask_args._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<WorkflowService.PollForActivityTask_args,WorkflowService.PollForActivityTask_args._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<WorkflowService.PollForActivityTask_args,WorkflowService.PollForActivityTask_args._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
-
-