@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2018-05-14") public class PollForDecisionTaskResponse extends java.lang.Object implements org.apache.thrift.TBase<PollForDecisionTaskResponse,PollForDecisionTaskResponse._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PollForDecisionTaskResponse>
Modifier and Type | Class and Description |
---|---|
static class |
PollForDecisionTaskResponse._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
long |
attempt |
long |
backlogCountHint |
History |
history |
static java.util.Map<PollForDecisionTaskResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
java.nio.ByteBuffer |
nextPageToken |
long |
previousStartedEventId |
WorkflowQuery |
query |
long |
startedEventId |
java.nio.ByteBuffer |
taskToken |
WorkflowExecution |
workflowExecution |
WorkflowType |
workflowType |
Constructor and Description |
---|
PollForDecisionTaskResponse() |
PollForDecisionTaskResponse(PollForDecisionTaskResponse other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bufferForNextPageToken() |
java.nio.ByteBuffer |
bufferForTaskToken() |
void |
clear() |
int |
compareTo(PollForDecisionTaskResponse other) |
PollForDecisionTaskResponse |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(PollForDecisionTaskResponse that) |
PollForDecisionTaskResponse._Fields |
fieldForId(int fieldId) |
long |
getAttempt() |
long |
getBacklogCountHint() |
java.lang.Object |
getFieldValue(PollForDecisionTaskResponse._Fields field) |
History |
getHistory() |
byte[] |
getNextPageToken() |
long |
getPreviousStartedEventId() |
WorkflowQuery |
getQuery() |
long |
getStartedEventId() |
byte[] |
getTaskToken() |
WorkflowExecution |
getWorkflowExecution() |
WorkflowType |
getWorkflowType() |
int |
hashCode() |
boolean |
isSet(PollForDecisionTaskResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAttempt()
Returns true if field attempt is set (has been assigned a value) and false otherwise
|
boolean |
isSetBacklogCountHint()
Returns true if field backlogCountHint is set (has been assigned a value) and false otherwise
|
boolean |
isSetHistory()
Returns true if field history is set (has been assigned a value) and false otherwise
|
boolean |
isSetNextPageToken()
Returns true if field nextPageToken is set (has been assigned a value) and false otherwise
|
boolean |
isSetPreviousStartedEventId()
Returns true if field previousStartedEventId is set (has been assigned a value) and false otherwise
|
boolean |
isSetQuery()
Returns true if field query is set (has been assigned a value) and false otherwise
|
boolean |
isSetStartedEventId()
Returns true if field startedEventId is set (has been assigned a value) and false otherwise
|
boolean |
isSetTaskToken()
Returns true if field taskToken is set (has been assigned a value) and false otherwise
|
boolean |
isSetWorkflowExecution()
Returns true if field workflowExecution is set (has been assigned a value) and false otherwise
|
boolean |
isSetWorkflowType()
Returns true if field workflowType is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
PollForDecisionTaskResponse |
setAttempt(long attempt) |
void |
setAttemptIsSet(boolean value) |
PollForDecisionTaskResponse |
setBacklogCountHint(long backlogCountHint) |
void |
setBacklogCountHintIsSet(boolean value) |
void |
setFieldValue(PollForDecisionTaskResponse._Fields field,
java.lang.Object value) |
PollForDecisionTaskResponse |
setHistory(History history) |
void |
setHistoryIsSet(boolean value) |
PollForDecisionTaskResponse |
setNextPageToken(byte[] nextPageToken) |
PollForDecisionTaskResponse |
setNextPageToken(java.nio.ByteBuffer nextPageToken) |
void |
setNextPageTokenIsSet(boolean value) |
PollForDecisionTaskResponse |
setPreviousStartedEventId(long previousStartedEventId) |
void |
setPreviousStartedEventIdIsSet(boolean value) |
PollForDecisionTaskResponse |
setQuery(WorkflowQuery query) |
void |
setQueryIsSet(boolean value) |
PollForDecisionTaskResponse |
setStartedEventId(long startedEventId) |
void |
setStartedEventIdIsSet(boolean value) |
PollForDecisionTaskResponse |
setTaskToken(byte[] taskToken) |
PollForDecisionTaskResponse |
setTaskToken(java.nio.ByteBuffer taskToken) |
void |
setTaskTokenIsSet(boolean value) |
PollForDecisionTaskResponse |
setWorkflowExecution(WorkflowExecution workflowExecution) |
void |
setWorkflowExecutionIsSet(boolean value) |
PollForDecisionTaskResponse |
setWorkflowType(WorkflowType workflowType) |
void |
setWorkflowTypeIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetAttempt() |
void |
unsetBacklogCountHint() |
void |
unsetHistory() |
void |
unsetNextPageToken() |
void |
unsetPreviousStartedEventId() |
void |
unsetQuery() |
void |
unsetStartedEventId() |
void |
unsetTaskToken() |
void |
unsetWorkflowExecution() |
void |
unsetWorkflowType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.nio.ByteBuffer taskToken
public WorkflowExecution workflowExecution
public WorkflowType workflowType
public long previousStartedEventId
public long startedEventId
public long attempt
public long backlogCountHint
public History history
public java.nio.ByteBuffer nextPageToken
public WorkflowQuery query
public static final java.util.Map<PollForDecisionTaskResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PollForDecisionTaskResponse()
public PollForDecisionTaskResponse(PollForDecisionTaskResponse other)
public PollForDecisionTaskResponse deepCopy()
deepCopy
in interface org.apache.thrift.TBase<PollForDecisionTaskResponse,PollForDecisionTaskResponse._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<PollForDecisionTaskResponse,PollForDecisionTaskResponse._Fields>
public byte[] getTaskToken()
public java.nio.ByteBuffer bufferForTaskToken()
public PollForDecisionTaskResponse setTaskToken(byte[] taskToken)
public PollForDecisionTaskResponse setTaskToken(java.nio.ByteBuffer taskToken)
public void unsetTaskToken()
public boolean isSetTaskToken()
public void setTaskTokenIsSet(boolean value)
public WorkflowExecution getWorkflowExecution()
public PollForDecisionTaskResponse setWorkflowExecution(WorkflowExecution workflowExecution)
public void unsetWorkflowExecution()
public boolean isSetWorkflowExecution()
public void setWorkflowExecutionIsSet(boolean value)
public WorkflowType getWorkflowType()
public PollForDecisionTaskResponse setWorkflowType(WorkflowType workflowType)
public void unsetWorkflowType()
public boolean isSetWorkflowType()
public void setWorkflowTypeIsSet(boolean value)
public long getPreviousStartedEventId()
public PollForDecisionTaskResponse setPreviousStartedEventId(long previousStartedEventId)
public void unsetPreviousStartedEventId()
public boolean isSetPreviousStartedEventId()
public void setPreviousStartedEventIdIsSet(boolean value)
public long getStartedEventId()
public PollForDecisionTaskResponse setStartedEventId(long startedEventId)
public void unsetStartedEventId()
public boolean isSetStartedEventId()
public void setStartedEventIdIsSet(boolean value)
public long getAttempt()
public PollForDecisionTaskResponse setAttempt(long attempt)
public void unsetAttempt()
public boolean isSetAttempt()
public void setAttemptIsSet(boolean value)
public long getBacklogCountHint()
public PollForDecisionTaskResponse setBacklogCountHint(long backlogCountHint)
public void unsetBacklogCountHint()
public boolean isSetBacklogCountHint()
public void setBacklogCountHintIsSet(boolean value)
public History getHistory()
public PollForDecisionTaskResponse setHistory(History history)
public void unsetHistory()
public boolean isSetHistory()
public void setHistoryIsSet(boolean value)
public byte[] getNextPageToken()
public java.nio.ByteBuffer bufferForNextPageToken()
public PollForDecisionTaskResponse setNextPageToken(byte[] nextPageToken)
public PollForDecisionTaskResponse setNextPageToken(java.nio.ByteBuffer nextPageToken)
public void unsetNextPageToken()
public boolean isSetNextPageToken()
public void setNextPageTokenIsSet(boolean value)
public WorkflowQuery getQuery()
public PollForDecisionTaskResponse setQuery(WorkflowQuery query)
public void unsetQuery()
public boolean isSetQuery()
public void setQueryIsSet(boolean value)
public void setFieldValue(PollForDecisionTaskResponse._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<PollForDecisionTaskResponse,PollForDecisionTaskResponse._Fields>
public java.lang.Object getFieldValue(PollForDecisionTaskResponse._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<PollForDecisionTaskResponse,PollForDecisionTaskResponse._Fields>
public boolean isSet(PollForDecisionTaskResponse._Fields field)
isSet
in interface org.apache.thrift.TBase<PollForDecisionTaskResponse,PollForDecisionTaskResponse._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(PollForDecisionTaskResponse that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(PollForDecisionTaskResponse other)
compareTo
in interface java.lang.Comparable<PollForDecisionTaskResponse>
public PollForDecisionTaskResponse._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<PollForDecisionTaskResponse,PollForDecisionTaskResponse._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<PollForDecisionTaskResponse,PollForDecisionTaskResponse._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<PollForDecisionTaskResponse,PollForDecisionTaskResponse._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException