@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2022-07-23") public class PollForActivityTaskResponse extends java.lang.Object implements org.apache.thrift.TBase<PollForActivityTaskResponse,PollForActivityTaskResponse._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PollForActivityTaskResponse>
Modifier and Type | Class and Description |
---|---|
static class |
PollForActivityTaskResponse._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
activityId |
ActivityType |
activityType |
int |
attempt |
Header |
header |
java.nio.ByteBuffer |
heartbeatDetails |
int |
heartbeatTimeoutSeconds |
java.nio.ByteBuffer |
input |
static java.util.Map<PollForActivityTaskResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
scheduledTimestamp |
long |
scheduledTimestampOfThisAttempt |
int |
scheduleToCloseTimeoutSeconds |
long |
startedTimestamp |
int |
startToCloseTimeoutSeconds |
java.nio.ByteBuffer |
taskToken |
java.lang.String |
workflowDomain |
WorkflowExecution |
workflowExecution |
WorkflowType |
workflowType |
Constructor and Description |
---|
PollForActivityTaskResponse() |
PollForActivityTaskResponse(PollForActivityTaskResponse other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bufferForHeartbeatDetails() |
java.nio.ByteBuffer |
bufferForInput() |
java.nio.ByteBuffer |
bufferForTaskToken() |
void |
clear() |
int |
compareTo(PollForActivityTaskResponse other) |
PollForActivityTaskResponse |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(PollForActivityTaskResponse that) |
PollForActivityTaskResponse._Fields |
fieldForId(int fieldId) |
java.lang.String |
getActivityId() |
ActivityType |
getActivityType() |
int |
getAttempt() |
java.lang.Object |
getFieldValue(PollForActivityTaskResponse._Fields field) |
Header |
getHeader() |
byte[] |
getHeartbeatDetails() |
int |
getHeartbeatTimeoutSeconds() |
byte[] |
getInput() |
long |
getScheduledTimestamp() |
long |
getScheduledTimestampOfThisAttempt() |
int |
getScheduleToCloseTimeoutSeconds() |
long |
getStartedTimestamp() |
int |
getStartToCloseTimeoutSeconds() |
byte[] |
getTaskToken() |
java.lang.String |
getWorkflowDomain() |
WorkflowExecution |
getWorkflowExecution() |
WorkflowType |
getWorkflowType() |
int |
hashCode() |
boolean |
isSet(PollForActivityTaskResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetActivityId()
Returns true if field activityId is set (has been assigned a value) and false otherwise
|
boolean |
isSetActivityType()
Returns true if field activityType 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 |
isSetHeader()
Returns true if field header is set (has been assigned a value) and false otherwise
|
boolean |
isSetHeartbeatDetails()
Returns true if field heartbeatDetails is set (has been assigned a value) and false otherwise
|
boolean |
isSetHeartbeatTimeoutSeconds()
Returns true if field heartbeatTimeoutSeconds is set (has been assigned a value) and false otherwise
|
boolean |
isSetInput()
Returns true if field input 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 |
isSetScheduledTimestampOfThisAttempt()
Returns true if field scheduledTimestampOfThisAttempt is set (has been assigned a value) and false otherwise
|
boolean |
isSetScheduleToCloseTimeoutSeconds()
Returns true if field scheduleToCloseTimeoutSeconds 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 |
isSetStartToCloseTimeoutSeconds()
Returns true if field startToCloseTimeoutSeconds 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 |
isSetWorkflowDomain()
Returns true if field workflowDomain 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) |
PollForActivityTaskResponse |
setActivityId(java.lang.String activityId) |
void |
setActivityIdIsSet(boolean value) |
PollForActivityTaskResponse |
setActivityType(ActivityType activityType) |
void |
setActivityTypeIsSet(boolean value) |
PollForActivityTaskResponse |
setAttempt(int attempt) |
void |
setAttemptIsSet(boolean value) |
void |
setFieldValue(PollForActivityTaskResponse._Fields field,
java.lang.Object value) |
PollForActivityTaskResponse |
setHeader(Header header) |
void |
setHeaderIsSet(boolean value) |
PollForActivityTaskResponse |
setHeartbeatDetails(byte[] heartbeatDetails) |
PollForActivityTaskResponse |
setHeartbeatDetails(java.nio.ByteBuffer heartbeatDetails) |
void |
setHeartbeatDetailsIsSet(boolean value) |
PollForActivityTaskResponse |
setHeartbeatTimeoutSeconds(int heartbeatTimeoutSeconds) |
void |
setHeartbeatTimeoutSecondsIsSet(boolean value) |
PollForActivityTaskResponse |
setInput(byte[] input) |
PollForActivityTaskResponse |
setInput(java.nio.ByteBuffer input) |
void |
setInputIsSet(boolean value) |
PollForActivityTaskResponse |
setScheduledTimestamp(long scheduledTimestamp) |
void |
setScheduledTimestampIsSet(boolean value) |
PollForActivityTaskResponse |
setScheduledTimestampOfThisAttempt(long scheduledTimestampOfThisAttempt) |
void |
setScheduledTimestampOfThisAttemptIsSet(boolean value) |
PollForActivityTaskResponse |
setScheduleToCloseTimeoutSeconds(int scheduleToCloseTimeoutSeconds) |
void |
setScheduleToCloseTimeoutSecondsIsSet(boolean value) |
PollForActivityTaskResponse |
setStartedTimestamp(long startedTimestamp) |
void |
setStartedTimestampIsSet(boolean value) |
PollForActivityTaskResponse |
setStartToCloseTimeoutSeconds(int startToCloseTimeoutSeconds) |
void |
setStartToCloseTimeoutSecondsIsSet(boolean value) |
PollForActivityTaskResponse |
setTaskToken(byte[] taskToken) |
PollForActivityTaskResponse |
setTaskToken(java.nio.ByteBuffer taskToken) |
void |
setTaskTokenIsSet(boolean value) |
PollForActivityTaskResponse |
setWorkflowDomain(java.lang.String workflowDomain) |
void |
setWorkflowDomainIsSet(boolean value) |
PollForActivityTaskResponse |
setWorkflowExecution(WorkflowExecution workflowExecution) |
void |
setWorkflowExecutionIsSet(boolean value) |
PollForActivityTaskResponse |
setWorkflowType(WorkflowType workflowType) |
void |
setWorkflowTypeIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetActivityId() |
void |
unsetActivityType() |
void |
unsetAttempt() |
void |
unsetHeader() |
void |
unsetHeartbeatDetails() |
void |
unsetHeartbeatTimeoutSeconds() |
void |
unsetInput() |
void |
unsetScheduledTimestamp() |
void |
unsetScheduledTimestampOfThisAttempt() |
void |
unsetScheduleToCloseTimeoutSeconds() |
void |
unsetStartedTimestamp() |
void |
unsetStartToCloseTimeoutSeconds() |
void |
unsetTaskToken() |
void |
unsetWorkflowDomain() |
void |
unsetWorkflowExecution() |
void |
unsetWorkflowType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.nio.ByteBuffer taskToken
public WorkflowExecution workflowExecution
public java.lang.String activityId
public ActivityType activityType
public java.nio.ByteBuffer input
public long scheduledTimestamp
public int scheduleToCloseTimeoutSeconds
public long startedTimestamp
public int startToCloseTimeoutSeconds
public int heartbeatTimeoutSeconds
public int attempt
public long scheduledTimestampOfThisAttempt
public java.nio.ByteBuffer heartbeatDetails
public WorkflowType workflowType
public java.lang.String workflowDomain
public Header header
public static final java.util.Map<PollForActivityTaskResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PollForActivityTaskResponse()
public PollForActivityTaskResponse(PollForActivityTaskResponse other)
public PollForActivityTaskResponse deepCopy()
deepCopy
in interface org.apache.thrift.TBase<PollForActivityTaskResponse,PollForActivityTaskResponse._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<PollForActivityTaskResponse,PollForActivityTaskResponse._Fields>
public byte[] getTaskToken()
public java.nio.ByteBuffer bufferForTaskToken()
public PollForActivityTaskResponse setTaskToken(byte[] taskToken)
public PollForActivityTaskResponse setTaskToken(java.nio.ByteBuffer taskToken)
public void unsetTaskToken()
public boolean isSetTaskToken()
public void setTaskTokenIsSet(boolean value)
public WorkflowExecution getWorkflowExecution()
public PollForActivityTaskResponse setWorkflowExecution(WorkflowExecution workflowExecution)
public void unsetWorkflowExecution()
public boolean isSetWorkflowExecution()
public void setWorkflowExecutionIsSet(boolean value)
public java.lang.String getActivityId()
public PollForActivityTaskResponse setActivityId(java.lang.String activityId)
public void unsetActivityId()
public boolean isSetActivityId()
public void setActivityIdIsSet(boolean value)
public ActivityType getActivityType()
public PollForActivityTaskResponse setActivityType(ActivityType activityType)
public void unsetActivityType()
public boolean isSetActivityType()
public void setActivityTypeIsSet(boolean value)
public byte[] getInput()
public java.nio.ByteBuffer bufferForInput()
public PollForActivityTaskResponse setInput(byte[] input)
public PollForActivityTaskResponse setInput(java.nio.ByteBuffer input)
public void unsetInput()
public boolean isSetInput()
public void setInputIsSet(boolean value)
public long getScheduledTimestamp()
public PollForActivityTaskResponse setScheduledTimestamp(long scheduledTimestamp)
public void unsetScheduledTimestamp()
public boolean isSetScheduledTimestamp()
public void setScheduledTimestampIsSet(boolean value)
public int getScheduleToCloseTimeoutSeconds()
public PollForActivityTaskResponse setScheduleToCloseTimeoutSeconds(int scheduleToCloseTimeoutSeconds)
public void unsetScheduleToCloseTimeoutSeconds()
public boolean isSetScheduleToCloseTimeoutSeconds()
public void setScheduleToCloseTimeoutSecondsIsSet(boolean value)
public long getStartedTimestamp()
public PollForActivityTaskResponse setStartedTimestamp(long startedTimestamp)
public void unsetStartedTimestamp()
public boolean isSetStartedTimestamp()
public void setStartedTimestampIsSet(boolean value)
public int getStartToCloseTimeoutSeconds()
public PollForActivityTaskResponse setStartToCloseTimeoutSeconds(int startToCloseTimeoutSeconds)
public void unsetStartToCloseTimeoutSeconds()
public boolean isSetStartToCloseTimeoutSeconds()
public void setStartToCloseTimeoutSecondsIsSet(boolean value)
public int getHeartbeatTimeoutSeconds()
public PollForActivityTaskResponse setHeartbeatTimeoutSeconds(int heartbeatTimeoutSeconds)
public void unsetHeartbeatTimeoutSeconds()
public boolean isSetHeartbeatTimeoutSeconds()
public void setHeartbeatTimeoutSecondsIsSet(boolean value)
public int getAttempt()
public PollForActivityTaskResponse setAttempt(int attempt)
public void unsetAttempt()
public boolean isSetAttempt()
public void setAttemptIsSet(boolean value)
public long getScheduledTimestampOfThisAttempt()
public PollForActivityTaskResponse setScheduledTimestampOfThisAttempt(long scheduledTimestampOfThisAttempt)
public void unsetScheduledTimestampOfThisAttempt()
public boolean isSetScheduledTimestampOfThisAttempt()
public void setScheduledTimestampOfThisAttemptIsSet(boolean value)
public byte[] getHeartbeatDetails()
public java.nio.ByteBuffer bufferForHeartbeatDetails()
public PollForActivityTaskResponse setHeartbeatDetails(byte[] heartbeatDetails)
public PollForActivityTaskResponse setHeartbeatDetails(java.nio.ByteBuffer heartbeatDetails)
public void unsetHeartbeatDetails()
public boolean isSetHeartbeatDetails()
public void setHeartbeatDetailsIsSet(boolean value)
public WorkflowType getWorkflowType()
public PollForActivityTaskResponse setWorkflowType(WorkflowType workflowType)
public void unsetWorkflowType()
public boolean isSetWorkflowType()
public void setWorkflowTypeIsSet(boolean value)
public java.lang.String getWorkflowDomain()
public PollForActivityTaskResponse setWorkflowDomain(java.lang.String workflowDomain)
public void unsetWorkflowDomain()
public boolean isSetWorkflowDomain()
public void setWorkflowDomainIsSet(boolean value)
public Header getHeader()
public PollForActivityTaskResponse setHeader(Header header)
public void unsetHeader()
public boolean isSetHeader()
public void setHeaderIsSet(boolean value)
public void setFieldValue(PollForActivityTaskResponse._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<PollForActivityTaskResponse,PollForActivityTaskResponse._Fields>
public java.lang.Object getFieldValue(PollForActivityTaskResponse._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<PollForActivityTaskResponse,PollForActivityTaskResponse._Fields>
public boolean isSet(PollForActivityTaskResponse._Fields field)
isSet
in interface org.apache.thrift.TBase<PollForActivityTaskResponse,PollForActivityTaskResponse._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(PollForActivityTaskResponse that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(PollForActivityTaskResponse other)
compareTo
in interface java.lang.Comparable<PollForActivityTaskResponse>
public PollForActivityTaskResponse._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<PollForActivityTaskResponse,PollForActivityTaskResponse._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<PollForActivityTaskResponse,PollForActivityTaskResponse._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<PollForActivityTaskResponse,PollForActivityTaskResponse._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