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