Package com.uber.cadence
Class ChildWorkflowExecutionCanceledEventAttributes
- java.lang.Object
-
- com.uber.cadence.ChildWorkflowExecutionCanceledEventAttributes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<ChildWorkflowExecutionCanceledEventAttributes>
,org.apache.thrift.TBase<ChildWorkflowExecutionCanceledEventAttributes,ChildWorkflowExecutionCanceledEventAttributes._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-01-06") public class ChildWorkflowExecutionCanceledEventAttributes extends java.lang.Object implements org.apache.thrift.TBase<ChildWorkflowExecutionCanceledEventAttributes,ChildWorkflowExecutionCanceledEventAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ChildWorkflowExecutionCanceledEventAttributes>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChildWorkflowExecutionCanceledEventAttributes._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.nio.ByteBuffer
details
java.lang.String
domain
long
initiatedEventId
static java.util.Map<ChildWorkflowExecutionCanceledEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
long
startedEventId
WorkflowExecution
workflowExecution
WorkflowType
workflowType
-
Constructor Summary
Constructors Constructor Description ChildWorkflowExecutionCanceledEventAttributes()
ChildWorkflowExecutionCanceledEventAttributes(ChildWorkflowExecutionCanceledEventAttributes other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
bufferForDetails()
void
clear()
int
compareTo(ChildWorkflowExecutionCanceledEventAttributes other)
ChildWorkflowExecutionCanceledEventAttributes
deepCopy()
boolean
equals(ChildWorkflowExecutionCanceledEventAttributes that)
boolean
equals(java.lang.Object that)
ChildWorkflowExecutionCanceledEventAttributes._Fields
fieldForId(int fieldId)
byte[]
getDetails()
java.lang.String
getDomain()
java.lang.Object
getFieldValue(ChildWorkflowExecutionCanceledEventAttributes._Fields field)
long
getInitiatedEventId()
long
getStartedEventId()
WorkflowExecution
getWorkflowExecution()
WorkflowType
getWorkflowType()
int
hashCode()
boolean
isSet(ChildWorkflowExecutionCanceledEventAttributes._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetDetails()
Returns true if field details 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
isSetInitiatedEventId()
Returns true if field initiatedEventId is set (has been assigned a value) and false otherwiseboolean
isSetStartedEventId()
Returns true if field startedEventId is set (has been assigned a value) and false otherwiseboolean
isSetWorkflowExecution()
Returns true if field workflowExecution is set (has been assigned a value) and false otherwiseboolean
isSetWorkflowType()
Returns true if field workflowType is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
ChildWorkflowExecutionCanceledEventAttributes
setDetails(byte[] details)
ChildWorkflowExecutionCanceledEventAttributes
setDetails(java.nio.ByteBuffer details)
void
setDetailsIsSet(boolean value)
ChildWorkflowExecutionCanceledEventAttributes
setDomain(java.lang.String domain)
void
setDomainIsSet(boolean value)
void
setFieldValue(ChildWorkflowExecutionCanceledEventAttributes._Fields field, java.lang.Object value)
ChildWorkflowExecutionCanceledEventAttributes
setInitiatedEventId(long initiatedEventId)
void
setInitiatedEventIdIsSet(boolean value)
ChildWorkflowExecutionCanceledEventAttributes
setStartedEventId(long startedEventId)
void
setStartedEventIdIsSet(boolean value)
ChildWorkflowExecutionCanceledEventAttributes
setWorkflowExecution(WorkflowExecution workflowExecution)
void
setWorkflowExecutionIsSet(boolean value)
ChildWorkflowExecutionCanceledEventAttributes
setWorkflowType(WorkflowType workflowType)
void
setWorkflowTypeIsSet(boolean value)
java.lang.String
toString()
void
unsetDetails()
void
unsetDomain()
void
unsetInitiatedEventId()
void
unsetStartedEventId()
void
unsetWorkflowExecution()
void
unsetWorkflowType()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
details
public java.nio.ByteBuffer details
-
domain
public java.lang.String domain
-
workflowExecution
public WorkflowExecution workflowExecution
-
workflowType
public WorkflowType workflowType
-
initiatedEventId
public long initiatedEventId
-
startedEventId
public long startedEventId
-
metaDataMap
public static final java.util.Map<ChildWorkflowExecutionCanceledEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ChildWorkflowExecutionCanceledEventAttributes
public ChildWorkflowExecutionCanceledEventAttributes()
-
ChildWorkflowExecutionCanceledEventAttributes
public ChildWorkflowExecutionCanceledEventAttributes(ChildWorkflowExecutionCanceledEventAttributes other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ChildWorkflowExecutionCanceledEventAttributes deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<ChildWorkflowExecutionCanceledEventAttributes,ChildWorkflowExecutionCanceledEventAttributes._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<ChildWorkflowExecutionCanceledEventAttributes,ChildWorkflowExecutionCanceledEventAttributes._Fields>
-
getDetails
public byte[] getDetails()
-
bufferForDetails
public java.nio.ByteBuffer bufferForDetails()
-
setDetails
public ChildWorkflowExecutionCanceledEventAttributes setDetails(byte[] details)
-
setDetails
public ChildWorkflowExecutionCanceledEventAttributes setDetails(java.nio.ByteBuffer details)
-
unsetDetails
public void unsetDetails()
-
isSetDetails
public boolean isSetDetails()
Returns true if field details is set (has been assigned a value) and false otherwise
-
setDetailsIsSet
public void setDetailsIsSet(boolean value)
-
getDomain
public java.lang.String getDomain()
-
setDomain
public ChildWorkflowExecutionCanceledEventAttributes 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)
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
-
setWorkflowExecution
public ChildWorkflowExecutionCanceledEventAttributes setWorkflowExecution(WorkflowExecution workflowExecution)
-
unsetWorkflowExecution
public void unsetWorkflowExecution()
-
isSetWorkflowExecution
public boolean isSetWorkflowExecution()
Returns true if field workflowExecution is set (has been assigned a value) and false otherwise
-
setWorkflowExecutionIsSet
public void setWorkflowExecutionIsSet(boolean value)
-
getWorkflowType
public WorkflowType getWorkflowType()
-
setWorkflowType
public ChildWorkflowExecutionCanceledEventAttributes setWorkflowType(WorkflowType workflowType)
-
unsetWorkflowType
public void unsetWorkflowType()
-
isSetWorkflowType
public boolean isSetWorkflowType()
Returns true if field workflowType is set (has been assigned a value) and false otherwise
-
setWorkflowTypeIsSet
public void setWorkflowTypeIsSet(boolean value)
-
getInitiatedEventId
public long getInitiatedEventId()
-
setInitiatedEventId
public ChildWorkflowExecutionCanceledEventAttributes setInitiatedEventId(long initiatedEventId)
-
unsetInitiatedEventId
public void unsetInitiatedEventId()
-
isSetInitiatedEventId
public boolean isSetInitiatedEventId()
Returns true if field initiatedEventId is set (has been assigned a value) and false otherwise
-
setInitiatedEventIdIsSet
public void setInitiatedEventIdIsSet(boolean value)
-
getStartedEventId
public long getStartedEventId()
-
setStartedEventId
public ChildWorkflowExecutionCanceledEventAttributes setStartedEventId(long startedEventId)
-
unsetStartedEventId
public void unsetStartedEventId()
-
isSetStartedEventId
public boolean isSetStartedEventId()
Returns true if field startedEventId is set (has been assigned a value) and false otherwise
-
setStartedEventIdIsSet
public void setStartedEventIdIsSet(boolean value)
-
setFieldValue
public void setFieldValue(ChildWorkflowExecutionCanceledEventAttributes._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<ChildWorkflowExecutionCanceledEventAttributes,ChildWorkflowExecutionCanceledEventAttributes._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(ChildWorkflowExecutionCanceledEventAttributes._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<ChildWorkflowExecutionCanceledEventAttributes,ChildWorkflowExecutionCanceledEventAttributes._Fields>
-
isSet
public boolean isSet(ChildWorkflowExecutionCanceledEventAttributes._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<ChildWorkflowExecutionCanceledEventAttributes,ChildWorkflowExecutionCanceledEventAttributes._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(ChildWorkflowExecutionCanceledEventAttributes that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(ChildWorkflowExecutionCanceledEventAttributes other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ChildWorkflowExecutionCanceledEventAttributes>
-
fieldForId
public ChildWorkflowExecutionCanceledEventAttributes._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<ChildWorkflowExecutionCanceledEventAttributes,ChildWorkflowExecutionCanceledEventAttributes._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<ChildWorkflowExecutionCanceledEventAttributes,ChildWorkflowExecutionCanceledEventAttributes._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<ChildWorkflowExecutionCanceledEventAttributes,ChildWorkflowExecutionCanceledEventAttributes._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
-
-