Package com.uber.cadence
Class RequestCancelWorkflowExecutionRequest
- java.lang.Object
-
- com.uber.cadence.RequestCancelWorkflowExecutionRequest
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<RequestCancelWorkflowExecutionRequest>
,org.apache.thrift.TBase<RequestCancelWorkflowExecutionRequest,RequestCancelWorkflowExecutionRequest._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-01-06") public class RequestCancelWorkflowExecutionRequest extends java.lang.Object implements org.apache.thrift.TBase<RequestCancelWorkflowExecutionRequest,RequestCancelWorkflowExecutionRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<RequestCancelWorkflowExecutionRequest>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequestCancelWorkflowExecutionRequest._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
java.lang.String
identity
static java.util.Map<RequestCancelWorkflowExecutionRequest._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.lang.String
requestId
WorkflowExecution
workflowExecution
-
Constructor Summary
Constructors Constructor Description RequestCancelWorkflowExecutionRequest()
RequestCancelWorkflowExecutionRequest(RequestCancelWorkflowExecutionRequest other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(RequestCancelWorkflowExecutionRequest other)
RequestCancelWorkflowExecutionRequest
deepCopy()
boolean
equals(RequestCancelWorkflowExecutionRequest that)
boolean
equals(java.lang.Object that)
RequestCancelWorkflowExecutionRequest._Fields
fieldForId(int fieldId)
java.lang.String
getDomain()
java.lang.Object
getFieldValue(RequestCancelWorkflowExecutionRequest._Fields field)
java.lang.String
getIdentity()
java.lang.String
getRequestId()
WorkflowExecution
getWorkflowExecution()
int
hashCode()
boolean
isSet(RequestCancelWorkflowExecutionRequest._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
isSetIdentity()
Returns true if field identity is set (has been assigned a value) and false otherwiseboolean
isSetRequestId()
Returns true if field requestId 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 otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
RequestCancelWorkflowExecutionRequest
setDomain(java.lang.String domain)
void
setDomainIsSet(boolean value)
void
setFieldValue(RequestCancelWorkflowExecutionRequest._Fields field, java.lang.Object value)
RequestCancelWorkflowExecutionRequest
setIdentity(java.lang.String identity)
void
setIdentityIsSet(boolean value)
RequestCancelWorkflowExecutionRequest
setRequestId(java.lang.String requestId)
void
setRequestIdIsSet(boolean value)
RequestCancelWorkflowExecutionRequest
setWorkflowExecution(WorkflowExecution workflowExecution)
void
setWorkflowExecutionIsSet(boolean value)
java.lang.String
toString()
void
unsetDomain()
void
unsetIdentity()
void
unsetRequestId()
void
unsetWorkflowExecution()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
domain
public java.lang.String domain
-
workflowExecution
public WorkflowExecution workflowExecution
-
identity
public java.lang.String identity
-
requestId
public java.lang.String requestId
-
metaDataMap
public static final java.util.Map<RequestCancelWorkflowExecutionRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
RequestCancelWorkflowExecutionRequest
public RequestCancelWorkflowExecutionRequest()
-
RequestCancelWorkflowExecutionRequest
public RequestCancelWorkflowExecutionRequest(RequestCancelWorkflowExecutionRequest other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public RequestCancelWorkflowExecutionRequest deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<RequestCancelWorkflowExecutionRequest,RequestCancelWorkflowExecutionRequest._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<RequestCancelWorkflowExecutionRequest,RequestCancelWorkflowExecutionRequest._Fields>
-
getDomain
public java.lang.String getDomain()
-
setDomain
public RequestCancelWorkflowExecutionRequest 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 RequestCancelWorkflowExecutionRequest 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)
-
getIdentity
public java.lang.String getIdentity()
-
setIdentity
public RequestCancelWorkflowExecutionRequest 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)
-
getRequestId
public java.lang.String getRequestId()
-
setRequestId
public RequestCancelWorkflowExecutionRequest setRequestId(java.lang.String requestId)
-
unsetRequestId
public void unsetRequestId()
-
isSetRequestId
public boolean isSetRequestId()
Returns true if field requestId is set (has been assigned a value) and false otherwise
-
setRequestIdIsSet
public void setRequestIdIsSet(boolean value)
-
setFieldValue
public void setFieldValue(RequestCancelWorkflowExecutionRequest._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<RequestCancelWorkflowExecutionRequest,RequestCancelWorkflowExecutionRequest._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(RequestCancelWorkflowExecutionRequest._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<RequestCancelWorkflowExecutionRequest,RequestCancelWorkflowExecutionRequest._Fields>
-
isSet
public boolean isSet(RequestCancelWorkflowExecutionRequest._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<RequestCancelWorkflowExecutionRequest,RequestCancelWorkflowExecutionRequest._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(RequestCancelWorkflowExecutionRequest that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(RequestCancelWorkflowExecutionRequest other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<RequestCancelWorkflowExecutionRequest>
-
fieldForId
public RequestCancelWorkflowExecutionRequest._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<RequestCancelWorkflowExecutionRequest,RequestCancelWorkflowExecutionRequest._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<RequestCancelWorkflowExecutionRequest,RequestCancelWorkflowExecutionRequest._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<RequestCancelWorkflowExecutionRequest,RequestCancelWorkflowExecutionRequest._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
-
-