Package com.uber.cadence
Class RequestCancelExternalWorkflowExecutionFailedEventAttributes
- java.lang.Object
-
- com.uber.cadence.RequestCancelExternalWorkflowExecutionFailedEventAttributes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<RequestCancelExternalWorkflowExecutionFailedEventAttributes>
,org.apache.thrift.TBase<RequestCancelExternalWorkflowExecutionFailedEventAttributes,RequestCancelExternalWorkflowExecutionFailedEventAttributes._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-01-06") public class RequestCancelExternalWorkflowExecutionFailedEventAttributes extends java.lang.Object implements org.apache.thrift.TBase<RequestCancelExternalWorkflowExecutionFailedEventAttributes,RequestCancelExternalWorkflowExecutionFailedEventAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<RequestCancelExternalWorkflowExecutionFailedEventAttributes>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequestCancelExternalWorkflowExecutionFailedEventAttributes._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 CancelExternalWorkflowExecutionFailedCause
cause
java.nio.ByteBuffer
control
long
decisionTaskCompletedEventId
java.lang.String
domain
long
initiatedEventId
static java.util.Map<RequestCancelExternalWorkflowExecutionFailedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
WorkflowExecution
workflowExecution
-
Constructor Summary
Constructors Constructor Description RequestCancelExternalWorkflowExecutionFailedEventAttributes()
RequestCancelExternalWorkflowExecutionFailedEventAttributes(RequestCancelExternalWorkflowExecutionFailedEventAttributes other)
Performs a deep copy on other.
-
Method Summary
-
-
-
Field Detail
-
cause
public CancelExternalWorkflowExecutionFailedCause cause
-
decisionTaskCompletedEventId
public long decisionTaskCompletedEventId
-
domain
public java.lang.String domain
-
workflowExecution
public WorkflowExecution workflowExecution
-
initiatedEventId
public long initiatedEventId
-
control
public java.nio.ByteBuffer control
-
metaDataMap
public static final java.util.Map<RequestCancelExternalWorkflowExecutionFailedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
RequestCancelExternalWorkflowExecutionFailedEventAttributes
public RequestCancelExternalWorkflowExecutionFailedEventAttributes()
-
RequestCancelExternalWorkflowExecutionFailedEventAttributes
public RequestCancelExternalWorkflowExecutionFailedEventAttributes(RequestCancelExternalWorkflowExecutionFailedEventAttributes other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public RequestCancelExternalWorkflowExecutionFailedEventAttributes deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<RequestCancelExternalWorkflowExecutionFailedEventAttributes,RequestCancelExternalWorkflowExecutionFailedEventAttributes._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<RequestCancelExternalWorkflowExecutionFailedEventAttributes,RequestCancelExternalWorkflowExecutionFailedEventAttributes._Fields>
-
getCause
public CancelExternalWorkflowExecutionFailedCause getCause()
-
setCause
public RequestCancelExternalWorkflowExecutionFailedEventAttributes setCause(CancelExternalWorkflowExecutionFailedCause cause)
-
unsetCause
public void unsetCause()
-
isSetCause
public boolean isSetCause()
Returns true if field cause is set (has been assigned a value) and false otherwise
-
setCauseIsSet
public void setCauseIsSet(boolean value)
-
getDecisionTaskCompletedEventId
public long getDecisionTaskCompletedEventId()
-
setDecisionTaskCompletedEventId
public RequestCancelExternalWorkflowExecutionFailedEventAttributes 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)
-
getDomain
public java.lang.String getDomain()
-
setDomain
public RequestCancelExternalWorkflowExecutionFailedEventAttributes 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 RequestCancelExternalWorkflowExecutionFailedEventAttributes 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)
-
getInitiatedEventId
public long getInitiatedEventId()
-
setInitiatedEventId
public RequestCancelExternalWorkflowExecutionFailedEventAttributes 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)
-
getControl
public byte[] getControl()
-
bufferForControl
public java.nio.ByteBuffer bufferForControl()
-
setControl
public RequestCancelExternalWorkflowExecutionFailedEventAttributes setControl(byte[] control)
-
setControl
public RequestCancelExternalWorkflowExecutionFailedEventAttributes setControl(java.nio.ByteBuffer control)
-
unsetControl
public void unsetControl()
-
isSetControl
public boolean isSetControl()
Returns true if field control is set (has been assigned a value) and false otherwise
-
setControlIsSet
public void setControlIsSet(boolean value)
-
setFieldValue
public void setFieldValue(RequestCancelExternalWorkflowExecutionFailedEventAttributes._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<RequestCancelExternalWorkflowExecutionFailedEventAttributes,RequestCancelExternalWorkflowExecutionFailedEventAttributes._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(RequestCancelExternalWorkflowExecutionFailedEventAttributes._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<RequestCancelExternalWorkflowExecutionFailedEventAttributes,RequestCancelExternalWorkflowExecutionFailedEventAttributes._Fields>
-
isSet
public boolean isSet(RequestCancelExternalWorkflowExecutionFailedEventAttributes._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<RequestCancelExternalWorkflowExecutionFailedEventAttributes,RequestCancelExternalWorkflowExecutionFailedEventAttributes._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(RequestCancelExternalWorkflowExecutionFailedEventAttributes that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(RequestCancelExternalWorkflowExecutionFailedEventAttributes other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<RequestCancelExternalWorkflowExecutionFailedEventAttributes>
-
fieldForId
public RequestCancelExternalWorkflowExecutionFailedEventAttributes._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<RequestCancelExternalWorkflowExecutionFailedEventAttributes,RequestCancelExternalWorkflowExecutionFailedEventAttributes._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<RequestCancelExternalWorkflowExecutionFailedEventAttributes,RequestCancelExternalWorkflowExecutionFailedEventAttributes._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<RequestCancelExternalWorkflowExecutionFailedEventAttributes,RequestCancelExternalWorkflowExecutionFailedEventAttributes._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
-
-