@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2019-08-15") public class ScheduleActivityTaskDecisionAttributes extends java.lang.Object implements org.apache.thrift.TBase<ScheduleActivityTaskDecisionAttributes,ScheduleActivityTaskDecisionAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ScheduleActivityTaskDecisionAttributes>
Modifier and Type | Class and Description |
---|---|
static class |
ScheduleActivityTaskDecisionAttributes._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 |
java.lang.String |
domain |
Header |
header |
int |
heartbeatTimeoutSeconds |
java.nio.ByteBuffer |
input |
static java.util.Map<ScheduleActivityTaskDecisionAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
RetryPolicy |
retryPolicy |
int |
scheduleToCloseTimeoutSeconds |
int |
scheduleToStartTimeoutSeconds |
int |
startToCloseTimeoutSeconds |
TaskList |
taskList |
Constructor and Description |
---|
ScheduleActivityTaskDecisionAttributes() |
ScheduleActivityTaskDecisionAttributes(ScheduleActivityTaskDecisionAttributes other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bufferForInput() |
void |
clear() |
int |
compareTo(ScheduleActivityTaskDecisionAttributes other) |
ScheduleActivityTaskDecisionAttributes |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(ScheduleActivityTaskDecisionAttributes that) |
ScheduleActivityTaskDecisionAttributes._Fields |
fieldForId(int fieldId) |
java.lang.String |
getActivityId() |
ActivityType |
getActivityType() |
java.lang.String |
getDomain() |
java.lang.Object |
getFieldValue(ScheduleActivityTaskDecisionAttributes._Fields field) |
Header |
getHeader() |
int |
getHeartbeatTimeoutSeconds() |
byte[] |
getInput() |
RetryPolicy |
getRetryPolicy() |
int |
getScheduleToCloseTimeoutSeconds() |
int |
getScheduleToStartTimeoutSeconds() |
int |
getStartToCloseTimeoutSeconds() |
TaskList |
getTaskList() |
int |
hashCode() |
boolean |
isSet(ScheduleActivityTaskDecisionAttributes._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 |
isSetDomain()
Returns true if field domain 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 |
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 |
isSetRetryPolicy()
Returns true if field retryPolicy 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 |
isSetScheduleToStartTimeoutSeconds()
Returns true if field scheduleToStartTimeoutSeconds 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 |
isSetTaskList()
Returns true if field taskList is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
ScheduleActivityTaskDecisionAttributes |
setActivityId(java.lang.String activityId) |
void |
setActivityIdIsSet(boolean value) |
ScheduleActivityTaskDecisionAttributes |
setActivityType(ActivityType activityType) |
void |
setActivityTypeIsSet(boolean value) |
ScheduleActivityTaskDecisionAttributes |
setDomain(java.lang.String domain) |
void |
setDomainIsSet(boolean value) |
void |
setFieldValue(ScheduleActivityTaskDecisionAttributes._Fields field,
java.lang.Object value) |
ScheduleActivityTaskDecisionAttributes |
setHeader(Header header) |
void |
setHeaderIsSet(boolean value) |
ScheduleActivityTaskDecisionAttributes |
setHeartbeatTimeoutSeconds(int heartbeatTimeoutSeconds) |
void |
setHeartbeatTimeoutSecondsIsSet(boolean value) |
ScheduleActivityTaskDecisionAttributes |
setInput(byte[] input) |
ScheduleActivityTaskDecisionAttributes |
setInput(java.nio.ByteBuffer input) |
void |
setInputIsSet(boolean value) |
ScheduleActivityTaskDecisionAttributes |
setRetryPolicy(RetryPolicy retryPolicy) |
void |
setRetryPolicyIsSet(boolean value) |
ScheduleActivityTaskDecisionAttributes |
setScheduleToCloseTimeoutSeconds(int scheduleToCloseTimeoutSeconds) |
void |
setScheduleToCloseTimeoutSecondsIsSet(boolean value) |
ScheduleActivityTaskDecisionAttributes |
setScheduleToStartTimeoutSeconds(int scheduleToStartTimeoutSeconds) |
void |
setScheduleToStartTimeoutSecondsIsSet(boolean value) |
ScheduleActivityTaskDecisionAttributes |
setStartToCloseTimeoutSeconds(int startToCloseTimeoutSeconds) |
void |
setStartToCloseTimeoutSecondsIsSet(boolean value) |
ScheduleActivityTaskDecisionAttributes |
setTaskList(TaskList taskList) |
void |
setTaskListIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetActivityId() |
void |
unsetActivityType() |
void |
unsetDomain() |
void |
unsetHeader() |
void |
unsetHeartbeatTimeoutSeconds() |
void |
unsetInput() |
void |
unsetRetryPolicy() |
void |
unsetScheduleToCloseTimeoutSeconds() |
void |
unsetScheduleToStartTimeoutSeconds() |
void |
unsetStartToCloseTimeoutSeconds() |
void |
unsetTaskList() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.lang.String activityId
public ActivityType activityType
public java.lang.String domain
public TaskList taskList
public java.nio.ByteBuffer input
public int scheduleToCloseTimeoutSeconds
public int scheduleToStartTimeoutSeconds
public int startToCloseTimeoutSeconds
public int heartbeatTimeoutSeconds
public RetryPolicy retryPolicy
public Header header
public static final java.util.Map<ScheduleActivityTaskDecisionAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ScheduleActivityTaskDecisionAttributes()
public ScheduleActivityTaskDecisionAttributes(ScheduleActivityTaskDecisionAttributes other)
public ScheduleActivityTaskDecisionAttributes deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ScheduleActivityTaskDecisionAttributes,ScheduleActivityTaskDecisionAttributes._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ScheduleActivityTaskDecisionAttributes,ScheduleActivityTaskDecisionAttributes._Fields>
public java.lang.String getActivityId()
public ScheduleActivityTaskDecisionAttributes setActivityId(java.lang.String activityId)
public void unsetActivityId()
public boolean isSetActivityId()
public void setActivityIdIsSet(boolean value)
public ActivityType getActivityType()
public ScheduleActivityTaskDecisionAttributes setActivityType(ActivityType activityType)
public void unsetActivityType()
public boolean isSetActivityType()
public void setActivityTypeIsSet(boolean value)
public java.lang.String getDomain()
public ScheduleActivityTaskDecisionAttributes setDomain(java.lang.String domain)
public void unsetDomain()
public boolean isSetDomain()
public void setDomainIsSet(boolean value)
public TaskList getTaskList()
public ScheduleActivityTaskDecisionAttributes setTaskList(TaskList taskList)
public void unsetTaskList()
public boolean isSetTaskList()
public void setTaskListIsSet(boolean value)
public byte[] getInput()
public java.nio.ByteBuffer bufferForInput()
public ScheduleActivityTaskDecisionAttributes setInput(byte[] input)
public ScheduleActivityTaskDecisionAttributes setInput(java.nio.ByteBuffer input)
public void unsetInput()
public boolean isSetInput()
public void setInputIsSet(boolean value)
public int getScheduleToCloseTimeoutSeconds()
public ScheduleActivityTaskDecisionAttributes setScheduleToCloseTimeoutSeconds(int scheduleToCloseTimeoutSeconds)
public void unsetScheduleToCloseTimeoutSeconds()
public boolean isSetScheduleToCloseTimeoutSeconds()
public void setScheduleToCloseTimeoutSecondsIsSet(boolean value)
public int getScheduleToStartTimeoutSeconds()
public ScheduleActivityTaskDecisionAttributes setScheduleToStartTimeoutSeconds(int scheduleToStartTimeoutSeconds)
public void unsetScheduleToStartTimeoutSeconds()
public boolean isSetScheduleToStartTimeoutSeconds()
public void setScheduleToStartTimeoutSecondsIsSet(boolean value)
public int getStartToCloseTimeoutSeconds()
public ScheduleActivityTaskDecisionAttributes setStartToCloseTimeoutSeconds(int startToCloseTimeoutSeconds)
public void unsetStartToCloseTimeoutSeconds()
public boolean isSetStartToCloseTimeoutSeconds()
public void setStartToCloseTimeoutSecondsIsSet(boolean value)
public int getHeartbeatTimeoutSeconds()
public ScheduleActivityTaskDecisionAttributes setHeartbeatTimeoutSeconds(int heartbeatTimeoutSeconds)
public void unsetHeartbeatTimeoutSeconds()
public boolean isSetHeartbeatTimeoutSeconds()
public void setHeartbeatTimeoutSecondsIsSet(boolean value)
public RetryPolicy getRetryPolicy()
public ScheduleActivityTaskDecisionAttributes setRetryPolicy(RetryPolicy retryPolicy)
public void unsetRetryPolicy()
public boolean isSetRetryPolicy()
public void setRetryPolicyIsSet(boolean value)
public Header getHeader()
public ScheduleActivityTaskDecisionAttributes setHeader(Header header)
public void unsetHeader()
public boolean isSetHeader()
public void setHeaderIsSet(boolean value)
public void setFieldValue(ScheduleActivityTaskDecisionAttributes._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<ScheduleActivityTaskDecisionAttributes,ScheduleActivityTaskDecisionAttributes._Fields>
public java.lang.Object getFieldValue(ScheduleActivityTaskDecisionAttributes._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ScheduleActivityTaskDecisionAttributes,ScheduleActivityTaskDecisionAttributes._Fields>
public boolean isSet(ScheduleActivityTaskDecisionAttributes._Fields field)
isSet
in interface org.apache.thrift.TBase<ScheduleActivityTaskDecisionAttributes,ScheduleActivityTaskDecisionAttributes._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(ScheduleActivityTaskDecisionAttributes that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ScheduleActivityTaskDecisionAttributes other)
compareTo
in interface java.lang.Comparable<ScheduleActivityTaskDecisionAttributes>
public ScheduleActivityTaskDecisionAttributes._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ScheduleActivityTaskDecisionAttributes,ScheduleActivityTaskDecisionAttributes._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ScheduleActivityTaskDecisionAttributes,ScheduleActivityTaskDecisionAttributes._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<ScheduleActivityTaskDecisionAttributes,ScheduleActivityTaskDecisionAttributes._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