Package com.uber.cadence
Class WorkflowExecutionCancelRequestedEventAttributes
- java.lang.Object
-
- com.uber.cadence.WorkflowExecutionCancelRequestedEventAttributes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<WorkflowExecutionCancelRequestedEventAttributes>
,org.apache.thrift.TBase<WorkflowExecutionCancelRequestedEventAttributes,WorkflowExecutionCancelRequestedEventAttributes._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-01-06") public class WorkflowExecutionCancelRequestedEventAttributes extends java.lang.Object implements org.apache.thrift.TBase<WorkflowExecutionCancelRequestedEventAttributes,WorkflowExecutionCancelRequestedEventAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<WorkflowExecutionCancelRequestedEventAttributes>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkflowExecutionCancelRequestedEventAttributes._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
cause
long
externalInitiatedEventId
WorkflowExecution
externalWorkflowExecution
java.lang.String
identity
static java.util.Map<WorkflowExecutionCancelRequestedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description WorkflowExecutionCancelRequestedEventAttributes()
WorkflowExecutionCancelRequestedEventAttributes(WorkflowExecutionCancelRequestedEventAttributes other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(WorkflowExecutionCancelRequestedEventAttributes other)
WorkflowExecutionCancelRequestedEventAttributes
deepCopy()
boolean
equals(WorkflowExecutionCancelRequestedEventAttributes that)
boolean
equals(java.lang.Object that)
WorkflowExecutionCancelRequestedEventAttributes._Fields
fieldForId(int fieldId)
java.lang.String
getCause()
long
getExternalInitiatedEventId()
WorkflowExecution
getExternalWorkflowExecution()
java.lang.Object
getFieldValue(WorkflowExecutionCancelRequestedEventAttributes._Fields field)
java.lang.String
getIdentity()
int
hashCode()
boolean
isSet(WorkflowExecutionCancelRequestedEventAttributes._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetCause()
Returns true if field cause is set (has been assigned a value) and false otherwiseboolean
isSetExternalInitiatedEventId()
Returns true if field externalInitiatedEventId is set (has been assigned a value) and false otherwiseboolean
isSetExternalWorkflowExecution()
Returns true if field externalWorkflowExecution is set (has been assigned a value) and false otherwiseboolean
isSetIdentity()
Returns true if field identity is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
WorkflowExecutionCancelRequestedEventAttributes
setCause(java.lang.String cause)
void
setCauseIsSet(boolean value)
WorkflowExecutionCancelRequestedEventAttributes
setExternalInitiatedEventId(long externalInitiatedEventId)
void
setExternalInitiatedEventIdIsSet(boolean value)
WorkflowExecutionCancelRequestedEventAttributes
setExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
void
setExternalWorkflowExecutionIsSet(boolean value)
void
setFieldValue(WorkflowExecutionCancelRequestedEventAttributes._Fields field, java.lang.Object value)
WorkflowExecutionCancelRequestedEventAttributes
setIdentity(java.lang.String identity)
void
setIdentityIsSet(boolean value)
java.lang.String
toString()
void
unsetCause()
void
unsetExternalInitiatedEventId()
void
unsetExternalWorkflowExecution()
void
unsetIdentity()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
cause
public java.lang.String cause
-
externalInitiatedEventId
public long externalInitiatedEventId
-
externalWorkflowExecution
public WorkflowExecution externalWorkflowExecution
-
identity
public java.lang.String identity
-
metaDataMap
public static final java.util.Map<WorkflowExecutionCancelRequestedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
WorkflowExecutionCancelRequestedEventAttributes
public WorkflowExecutionCancelRequestedEventAttributes()
-
WorkflowExecutionCancelRequestedEventAttributes
public WorkflowExecutionCancelRequestedEventAttributes(WorkflowExecutionCancelRequestedEventAttributes other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public WorkflowExecutionCancelRequestedEventAttributes deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<WorkflowExecutionCancelRequestedEventAttributes,WorkflowExecutionCancelRequestedEventAttributes._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<WorkflowExecutionCancelRequestedEventAttributes,WorkflowExecutionCancelRequestedEventAttributes._Fields>
-
getCause
public java.lang.String getCause()
-
setCause
public WorkflowExecutionCancelRequestedEventAttributes setCause(java.lang.String 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)
-
getExternalInitiatedEventId
public long getExternalInitiatedEventId()
-
setExternalInitiatedEventId
public WorkflowExecutionCancelRequestedEventAttributes setExternalInitiatedEventId(long externalInitiatedEventId)
-
unsetExternalInitiatedEventId
public void unsetExternalInitiatedEventId()
-
isSetExternalInitiatedEventId
public boolean isSetExternalInitiatedEventId()
Returns true if field externalInitiatedEventId is set (has been assigned a value) and false otherwise
-
setExternalInitiatedEventIdIsSet
public void setExternalInitiatedEventIdIsSet(boolean value)
-
getExternalWorkflowExecution
public WorkflowExecution getExternalWorkflowExecution()
-
setExternalWorkflowExecution
public WorkflowExecutionCancelRequestedEventAttributes setExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
-
unsetExternalWorkflowExecution
public void unsetExternalWorkflowExecution()
-
isSetExternalWorkflowExecution
public boolean isSetExternalWorkflowExecution()
Returns true if field externalWorkflowExecution is set (has been assigned a value) and false otherwise
-
setExternalWorkflowExecutionIsSet
public void setExternalWorkflowExecutionIsSet(boolean value)
-
getIdentity
public java.lang.String getIdentity()
-
setIdentity
public WorkflowExecutionCancelRequestedEventAttributes setIdentity(java.lang.String identity)
-
unsetIdentity
public void unsetIdentity()
-
isSetIdentity
public boolean isSetIdentity()
Returns true if field identity is set (has been assigned a value) and false otherwise
-
setIdentityIsSet
public void setIdentityIsSet(boolean value)
-
setFieldValue
public void setFieldValue(WorkflowExecutionCancelRequestedEventAttributes._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<WorkflowExecutionCancelRequestedEventAttributes,WorkflowExecutionCancelRequestedEventAttributes._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(WorkflowExecutionCancelRequestedEventAttributes._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<WorkflowExecutionCancelRequestedEventAttributes,WorkflowExecutionCancelRequestedEventAttributes._Fields>
-
isSet
public boolean isSet(WorkflowExecutionCancelRequestedEventAttributes._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<WorkflowExecutionCancelRequestedEventAttributes,WorkflowExecutionCancelRequestedEventAttributes._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(WorkflowExecutionCancelRequestedEventAttributes that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(WorkflowExecutionCancelRequestedEventAttributes other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<WorkflowExecutionCancelRequestedEventAttributes>
-
fieldForId
public WorkflowExecutionCancelRequestedEventAttributes._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<WorkflowExecutionCancelRequestedEventAttributes,WorkflowExecutionCancelRequestedEventAttributes._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<WorkflowExecutionCancelRequestedEventAttributes,WorkflowExecutionCancelRequestedEventAttributes._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<WorkflowExecutionCancelRequestedEventAttributes,WorkflowExecutionCancelRequestedEventAttributes._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
-
-