@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2020-11-12") 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 |
java.util.Map<java.lang.String,WorkflowQuery> |
queries |
WorkflowQuery |
query |
long |
scheduledTimestamp |
long |
startedEventId |
long |
startedTimestamp |
java.nio.ByteBuffer |
taskToken |
WorkflowExecution |
workflowExecution |
TaskList |
WorkflowExecutionTaskList |
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() |
java.util.Map<java.lang.String,WorkflowQuery> |
getQueries() |
int |
getQueriesSize() |
WorkflowQuery |
getQuery() |
long |
getScheduledTimestamp() |
long |
getStartedEventId() |
long |
getStartedTimestamp() |
byte[] |
getTaskToken() |
WorkflowExecution |
getWorkflowExecution() |
TaskList |
getWorkflowExecutionTaskList() |
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 |
isSetQueries()
Returns true if field queries 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 |
isSetScheduledTimestamp()
Returns true if field scheduledTimestamp 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 |
isSetStartedTimestamp()
Returns true if field startedTimestamp 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 |
isSetWorkflowExecutionTaskList()
Returns true if field WorkflowExecutionTaskList 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 |
putToQueries(java.lang.String key,
WorkflowQuery val) |
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 |
setQueries(java.util.Map<java.lang.String,WorkflowQuery> queries) |
void |
setQueriesIsSet(boolean value) |
PollForDecisionTaskResponse |
setQuery(WorkflowQuery query) |
void |
setQueryIsSet(boolean value) |
PollForDecisionTaskResponse |
setScheduledTimestamp(long scheduledTimestamp) |
void |
setScheduledTimestampIsSet(boolean value) |
PollForDecisionTaskResponse |
setStartedEventId(long startedEventId) |
void |
setStartedEventIdIsSet(boolean value) |
PollForDecisionTaskResponse |
setStartedTimestamp(long startedTimestamp) |
void |
setStartedTimestampIsSet(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 |
setWorkflowExecutionTaskList(TaskList WorkflowExecutionTaskList) |
void |
setWorkflowExecutionTaskListIsSet(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 |
unsetQueries() |
void |
unsetQuery() |
void |
unsetScheduledTimestamp() |
void |
unsetStartedEventId() |
void |
unsetStartedTimestamp() |
void |
unsetTaskToken() |
void |
unsetWorkflowExecution() |
void |
unsetWorkflowExecutionTaskList() |
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 TaskList WorkflowExecutionTaskList
public long scheduledTimestamp
public long startedTimestamp
public java.util.Map<java.lang.String,WorkflowQuery> queries
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 TaskList getWorkflowExecutionTaskList()
public PollForDecisionTaskResponse setWorkflowExecutionTaskList(TaskList WorkflowExecutionTaskList)
public void unsetWorkflowExecutionTaskList()
public boolean isSetWorkflowExecutionTaskList()
public void setWorkflowExecutionTaskListIsSet(boolean value)
public long getScheduledTimestamp()
public PollForDecisionTaskResponse setScheduledTimestamp(long scheduledTimestamp)
public void unsetScheduledTimestamp()
public boolean isSetScheduledTimestamp()
public void setScheduledTimestampIsSet(boolean value)
public long getStartedTimestamp()
public PollForDecisionTaskResponse setStartedTimestamp(long startedTimestamp)
public void unsetStartedTimestamp()
public boolean isSetStartedTimestamp()
public void setStartedTimestampIsSet(boolean value)
public int getQueriesSize()
public void putToQueries(java.lang.String key, WorkflowQuery val)
public java.util.Map<java.lang.String,WorkflowQuery> getQueries()
public PollForDecisionTaskResponse setQueries(java.util.Map<java.lang.String,WorkflowQuery> queries)
public void unsetQueries()
public boolean isSetQueries()
public void setQueriesIsSet(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