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