Package com.uber.cadence
Class ActivityTaskScheduledEventAttributes
- java.lang.Object
-
- com.uber.cadence.ActivityTaskScheduledEventAttributes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<ActivityTaskScheduledEventAttributes>
,org.apache.thrift.TBase<ActivityTaskScheduledEventAttributes,ActivityTaskScheduledEventAttributes._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-05-19") public class ActivityTaskScheduledEventAttributes extends java.lang.Object implements org.apache.thrift.TBase<ActivityTaskScheduledEventAttributes,ActivityTaskScheduledEventAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ActivityTaskScheduledEventAttributes>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActivityTaskScheduledEventAttributes._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 java.lang.String
activityId
ActivityType
activityType
long
decisionTaskCompletedEventId
java.lang.String
domain
Header
header
int
heartbeatTimeoutSeconds
java.nio.ByteBuffer
input
static java.util.Map<ActivityTaskScheduledEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
RetryPolicy
retryPolicy
int
scheduleToCloseTimeoutSeconds
int
scheduleToStartTimeoutSeconds
int
startToCloseTimeoutSeconds
TaskList
taskList
-
Constructor Summary
Constructors Constructor Description ActivityTaskScheduledEventAttributes()
ActivityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
bufferForInput()
void
clear()
int
compareTo(ActivityTaskScheduledEventAttributes other)
ActivityTaskScheduledEventAttributes
deepCopy()
boolean
equals(ActivityTaskScheduledEventAttributes that)
boolean
equals(java.lang.Object that)
ActivityTaskScheduledEventAttributes._Fields
fieldForId(int fieldId)
java.lang.String
getActivityId()
ActivityType
getActivityType()
long
getDecisionTaskCompletedEventId()
java.lang.String
getDomain()
java.lang.Object
getFieldValue(ActivityTaskScheduledEventAttributes._Fields field)
Header
getHeader()
int
getHeartbeatTimeoutSeconds()
byte[]
getInput()
RetryPolicy
getRetryPolicy()
int
getScheduleToCloseTimeoutSeconds()
int
getScheduleToStartTimeoutSeconds()
int
getStartToCloseTimeoutSeconds()
TaskList
getTaskList()
int
hashCode()
boolean
isSet(ActivityTaskScheduledEventAttributes._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetActivityId()
Returns true if field activityId is set (has been assigned a value) and false otherwiseboolean
isSetActivityType()
Returns true if field activityType is set (has been assigned a value) and false otherwiseboolean
isSetDecisionTaskCompletedEventId()
Returns true if field decisionTaskCompletedEventId is set (has been assigned a value) and false otherwiseboolean
isSetDomain()
Returns true if field domain is set (has been assigned a value) and false otherwiseboolean
isSetHeader()
Returns true if field header is set (has been assigned a value) and false otherwiseboolean
isSetHeartbeatTimeoutSeconds()
Returns true if field heartbeatTimeoutSeconds is set (has been assigned a value) and false otherwiseboolean
isSetInput()
Returns true if field input is set (has been assigned a value) and false otherwiseboolean
isSetRetryPolicy()
Returns true if field retryPolicy is set (has been assigned a value) and false otherwiseboolean
isSetScheduleToCloseTimeoutSeconds()
Returns true if field scheduleToCloseTimeoutSeconds is set (has been assigned a value) and false otherwiseboolean
isSetScheduleToStartTimeoutSeconds()
Returns true if field scheduleToStartTimeoutSeconds is set (has been assigned a value) and false otherwiseboolean
isSetStartToCloseTimeoutSeconds()
Returns true if field startToCloseTimeoutSeconds is set (has been assigned a value) and false otherwiseboolean
isSetTaskList()
Returns true if field taskList is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
ActivityTaskScheduledEventAttributes
setActivityId(java.lang.String activityId)
void
setActivityIdIsSet(boolean value)
ActivityTaskScheduledEventAttributes
setActivityType(ActivityType activityType)
void
setActivityTypeIsSet(boolean value)
ActivityTaskScheduledEventAttributes
setDecisionTaskCompletedEventId(long decisionTaskCompletedEventId)
void
setDecisionTaskCompletedEventIdIsSet(boolean value)
ActivityTaskScheduledEventAttributes
setDomain(java.lang.String domain)
void
setDomainIsSet(boolean value)
void
setFieldValue(ActivityTaskScheduledEventAttributes._Fields field, java.lang.Object value)
ActivityTaskScheduledEventAttributes
setHeader(Header header)
void
setHeaderIsSet(boolean value)
ActivityTaskScheduledEventAttributes
setHeartbeatTimeoutSeconds(int heartbeatTimeoutSeconds)
void
setHeartbeatTimeoutSecondsIsSet(boolean value)
ActivityTaskScheduledEventAttributes
setInput(byte[] input)
ActivityTaskScheduledEventAttributes
setInput(java.nio.ByteBuffer input)
void
setInputIsSet(boolean value)
ActivityTaskScheduledEventAttributes
setRetryPolicy(RetryPolicy retryPolicy)
void
setRetryPolicyIsSet(boolean value)
ActivityTaskScheduledEventAttributes
setScheduleToCloseTimeoutSeconds(int scheduleToCloseTimeoutSeconds)
void
setScheduleToCloseTimeoutSecondsIsSet(boolean value)
ActivityTaskScheduledEventAttributes
setScheduleToStartTimeoutSeconds(int scheduleToStartTimeoutSeconds)
void
setScheduleToStartTimeoutSecondsIsSet(boolean value)
ActivityTaskScheduledEventAttributes
setStartToCloseTimeoutSeconds(int startToCloseTimeoutSeconds)
void
setStartToCloseTimeoutSecondsIsSet(boolean value)
ActivityTaskScheduledEventAttributes
setTaskList(TaskList taskList)
void
setTaskListIsSet(boolean value)
java.lang.String
toString()
void
unsetActivityId()
void
unsetActivityType()
void
unsetDecisionTaskCompletedEventId()
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)
-
-
-
Field Detail
-
activityId
public java.lang.String activityId
-
activityType
public ActivityType activityType
-
domain
public java.lang.String domain
-
taskList
public TaskList taskList
-
input
public java.nio.ByteBuffer input
-
scheduleToCloseTimeoutSeconds
public int scheduleToCloseTimeoutSeconds
-
scheduleToStartTimeoutSeconds
public int scheduleToStartTimeoutSeconds
-
startToCloseTimeoutSeconds
public int startToCloseTimeoutSeconds
-
heartbeatTimeoutSeconds
public int heartbeatTimeoutSeconds
-
decisionTaskCompletedEventId
public long decisionTaskCompletedEventId
-
retryPolicy
public RetryPolicy retryPolicy
-
header
public Header header
-
metaDataMap
public static final java.util.Map<ActivityTaskScheduledEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ActivityTaskScheduledEventAttributes
public ActivityTaskScheduledEventAttributes()
-
ActivityTaskScheduledEventAttributes
public ActivityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ActivityTaskScheduledEventAttributes deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<ActivityTaskScheduledEventAttributes,ActivityTaskScheduledEventAttributes._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<ActivityTaskScheduledEventAttributes,ActivityTaskScheduledEventAttributes._Fields>
-
getActivityId
public java.lang.String getActivityId()
-
setActivityId
public ActivityTaskScheduledEventAttributes setActivityId(java.lang.String activityId)
-
unsetActivityId
public void unsetActivityId()
-
isSetActivityId
public boolean isSetActivityId()
Returns true if field activityId is set (has been assigned a value) and false otherwise
-
setActivityIdIsSet
public void setActivityIdIsSet(boolean value)
-
getActivityType
public ActivityType getActivityType()
-
setActivityType
public ActivityTaskScheduledEventAttributes setActivityType(ActivityType activityType)
-
unsetActivityType
public void unsetActivityType()
-
isSetActivityType
public boolean isSetActivityType()
Returns true if field activityType is set (has been assigned a value) and false otherwise
-
setActivityTypeIsSet
public void setActivityTypeIsSet(boolean value)
-
getDomain
public java.lang.String getDomain()
-
setDomain
public ActivityTaskScheduledEventAttributes setDomain(java.lang.String domain)
-
unsetDomain
public void unsetDomain()
-
isSetDomain
public boolean isSetDomain()
Returns true if field domain is set (has been assigned a value) and false otherwise
-
setDomainIsSet
public void setDomainIsSet(boolean value)
-
getTaskList
public TaskList getTaskList()
-
setTaskList
public ActivityTaskScheduledEventAttributes setTaskList(TaskList taskList)
-
unsetTaskList
public void unsetTaskList()
-
isSetTaskList
public boolean isSetTaskList()
Returns true if field taskList is set (has been assigned a value) and false otherwise
-
setTaskListIsSet
public void setTaskListIsSet(boolean value)
-
getInput
public byte[] getInput()
-
bufferForInput
public java.nio.ByteBuffer bufferForInput()
-
setInput
public ActivityTaskScheduledEventAttributes setInput(byte[] input)
-
setInput
public ActivityTaskScheduledEventAttributes setInput(java.nio.ByteBuffer input)
-
unsetInput
public void unsetInput()
-
isSetInput
public boolean isSetInput()
Returns true if field input is set (has been assigned a value) and false otherwise
-
setInputIsSet
public void setInputIsSet(boolean value)
-
getScheduleToCloseTimeoutSeconds
public int getScheduleToCloseTimeoutSeconds()
-
setScheduleToCloseTimeoutSeconds
public ActivityTaskScheduledEventAttributes setScheduleToCloseTimeoutSeconds(int scheduleToCloseTimeoutSeconds)
-
unsetScheduleToCloseTimeoutSeconds
public void unsetScheduleToCloseTimeoutSeconds()
-
isSetScheduleToCloseTimeoutSeconds
public boolean isSetScheduleToCloseTimeoutSeconds()
Returns true if field scheduleToCloseTimeoutSeconds is set (has been assigned a value) and false otherwise
-
setScheduleToCloseTimeoutSecondsIsSet
public void setScheduleToCloseTimeoutSecondsIsSet(boolean value)
-
getScheduleToStartTimeoutSeconds
public int getScheduleToStartTimeoutSeconds()
-
setScheduleToStartTimeoutSeconds
public ActivityTaskScheduledEventAttributes setScheduleToStartTimeoutSeconds(int scheduleToStartTimeoutSeconds)
-
unsetScheduleToStartTimeoutSeconds
public void unsetScheduleToStartTimeoutSeconds()
-
isSetScheduleToStartTimeoutSeconds
public boolean isSetScheduleToStartTimeoutSeconds()
Returns true if field scheduleToStartTimeoutSeconds is set (has been assigned a value) and false otherwise
-
setScheduleToStartTimeoutSecondsIsSet
public void setScheduleToStartTimeoutSecondsIsSet(boolean value)
-
getStartToCloseTimeoutSeconds
public int getStartToCloseTimeoutSeconds()
-
setStartToCloseTimeoutSeconds
public ActivityTaskScheduledEventAttributes setStartToCloseTimeoutSeconds(int startToCloseTimeoutSeconds)
-
unsetStartToCloseTimeoutSeconds
public void unsetStartToCloseTimeoutSeconds()
-
isSetStartToCloseTimeoutSeconds
public boolean isSetStartToCloseTimeoutSeconds()
Returns true if field startToCloseTimeoutSeconds is set (has been assigned a value) and false otherwise
-
setStartToCloseTimeoutSecondsIsSet
public void setStartToCloseTimeoutSecondsIsSet(boolean value)
-
getHeartbeatTimeoutSeconds
public int getHeartbeatTimeoutSeconds()
-
setHeartbeatTimeoutSeconds
public ActivityTaskScheduledEventAttributes setHeartbeatTimeoutSeconds(int heartbeatTimeoutSeconds)
-
unsetHeartbeatTimeoutSeconds
public void unsetHeartbeatTimeoutSeconds()
-
isSetHeartbeatTimeoutSeconds
public boolean isSetHeartbeatTimeoutSeconds()
Returns true if field heartbeatTimeoutSeconds is set (has been assigned a value) and false otherwise
-
setHeartbeatTimeoutSecondsIsSet
public void setHeartbeatTimeoutSecondsIsSet(boolean value)
-
getDecisionTaskCompletedEventId
public long getDecisionTaskCompletedEventId()
-
setDecisionTaskCompletedEventId
public ActivityTaskScheduledEventAttributes setDecisionTaskCompletedEventId(long decisionTaskCompletedEventId)
-
unsetDecisionTaskCompletedEventId
public void unsetDecisionTaskCompletedEventId()
-
isSetDecisionTaskCompletedEventId
public boolean isSetDecisionTaskCompletedEventId()
Returns true if field decisionTaskCompletedEventId is set (has been assigned a value) and false otherwise
-
setDecisionTaskCompletedEventIdIsSet
public void setDecisionTaskCompletedEventIdIsSet(boolean value)
-
getRetryPolicy
public RetryPolicy getRetryPolicy()
-
setRetryPolicy
public ActivityTaskScheduledEventAttributes setRetryPolicy(RetryPolicy retryPolicy)
-
unsetRetryPolicy
public void unsetRetryPolicy()
-
isSetRetryPolicy
public boolean isSetRetryPolicy()
Returns true if field retryPolicy is set (has been assigned a value) and false otherwise
-
setRetryPolicyIsSet
public void setRetryPolicyIsSet(boolean value)
-
getHeader
public Header getHeader()
-
setHeader
public ActivityTaskScheduledEventAttributes setHeader(Header header)
-
unsetHeader
public void unsetHeader()
-
isSetHeader
public boolean isSetHeader()
Returns true if field header is set (has been assigned a value) and false otherwise
-
setHeaderIsSet
public void setHeaderIsSet(boolean value)
-
setFieldValue
public void setFieldValue(ActivityTaskScheduledEventAttributes._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<ActivityTaskScheduledEventAttributes,ActivityTaskScheduledEventAttributes._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(ActivityTaskScheduledEventAttributes._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<ActivityTaskScheduledEventAttributes,ActivityTaskScheduledEventAttributes._Fields>
-
isSet
public boolean isSet(ActivityTaskScheduledEventAttributes._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<ActivityTaskScheduledEventAttributes,ActivityTaskScheduledEventAttributes._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(ActivityTaskScheduledEventAttributes that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(ActivityTaskScheduledEventAttributes other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ActivityTaskScheduledEventAttributes>
-
fieldForId
public ActivityTaskScheduledEventAttributes._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<ActivityTaskScheduledEventAttributes,ActivityTaskScheduledEventAttributes._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<ActivityTaskScheduledEventAttributes,ActivityTaskScheduledEventAttributes._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<ActivityTaskScheduledEventAttributes,ActivityTaskScheduledEventAttributes._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
-
-