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