Package com.uber.cadence
Class WorkflowService.TerminateWorkflowExecution_result
- java.lang.Object
-
- com.uber.cadence.WorkflowService.TerminateWorkflowExecution_result
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<WorkflowService.TerminateWorkflowExecution_result>
,org.apache.thrift.TBase<WorkflowService.TerminateWorkflowExecution_result,WorkflowService.TerminateWorkflowExecution_result._Fields>
- Enclosing class:
- WorkflowService
public static class WorkflowService.TerminateWorkflowExecution_result extends java.lang.Object implements org.apache.thrift.TBase<WorkflowService.TerminateWorkflowExecution_result,WorkflowService.TerminateWorkflowExecution_result._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<WorkflowService.TerminateWorkflowExecution_result>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkflowService.TerminateWorkflowExecution_result._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 BadRequestError
badRequestError
ClientVersionNotSupportedError
clientVersionNotSupportedError
DomainNotActiveError
domainNotActiveError
EntityNotExistsError
entityNotExistError
LimitExceededError
limitExceededError
static java.util.Map<WorkflowService.TerminateWorkflowExecution_result._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
ServiceBusyError
serviceBusyError
WorkflowExecutionAlreadyCompletedError
workflowExecutionAlreadyCompletedError
-
Constructor Summary
Constructors Constructor Description TerminateWorkflowExecution_result()
TerminateWorkflowExecution_result(BadRequestError badRequestError, EntityNotExistsError entityNotExistError, ServiceBusyError serviceBusyError, DomainNotActiveError domainNotActiveError, LimitExceededError limitExceededError, ClientVersionNotSupportedError clientVersionNotSupportedError, WorkflowExecutionAlreadyCompletedError workflowExecutionAlreadyCompletedError)
TerminateWorkflowExecution_result(WorkflowService.TerminateWorkflowExecution_result other)
Performs a deep copy on other.
-
Method Summary
-
-
-
Field Detail
-
badRequestError
public BadRequestError badRequestError
-
entityNotExistError
public EntityNotExistsError entityNotExistError
-
serviceBusyError
public ServiceBusyError serviceBusyError
-
domainNotActiveError
public DomainNotActiveError domainNotActiveError
-
limitExceededError
public LimitExceededError limitExceededError
-
clientVersionNotSupportedError
public ClientVersionNotSupportedError clientVersionNotSupportedError
-
workflowExecutionAlreadyCompletedError
public WorkflowExecutionAlreadyCompletedError workflowExecutionAlreadyCompletedError
-
metaDataMap
public static final java.util.Map<WorkflowService.TerminateWorkflowExecution_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TerminateWorkflowExecution_result
public TerminateWorkflowExecution_result()
-
TerminateWorkflowExecution_result
public TerminateWorkflowExecution_result(BadRequestError badRequestError, EntityNotExistsError entityNotExistError, ServiceBusyError serviceBusyError, DomainNotActiveError domainNotActiveError, LimitExceededError limitExceededError, ClientVersionNotSupportedError clientVersionNotSupportedError, WorkflowExecutionAlreadyCompletedError workflowExecutionAlreadyCompletedError)
-
TerminateWorkflowExecution_result
public TerminateWorkflowExecution_result(WorkflowService.TerminateWorkflowExecution_result other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public WorkflowService.TerminateWorkflowExecution_result deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<WorkflowService.TerminateWorkflowExecution_result,WorkflowService.TerminateWorkflowExecution_result._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<WorkflowService.TerminateWorkflowExecution_result,WorkflowService.TerminateWorkflowExecution_result._Fields>
-
getBadRequestError
public BadRequestError getBadRequestError()
-
setBadRequestError
public WorkflowService.TerminateWorkflowExecution_result setBadRequestError(BadRequestError badRequestError)
-
unsetBadRequestError
public void unsetBadRequestError()
-
isSetBadRequestError
public boolean isSetBadRequestError()
Returns true if field badRequestError is set (has been assigned a value) and false otherwise
-
setBadRequestErrorIsSet
public void setBadRequestErrorIsSet(boolean value)
-
getEntityNotExistError
public EntityNotExistsError getEntityNotExistError()
-
setEntityNotExistError
public WorkflowService.TerminateWorkflowExecution_result setEntityNotExistError(EntityNotExistsError entityNotExistError)
-
unsetEntityNotExistError
public void unsetEntityNotExistError()
-
isSetEntityNotExistError
public boolean isSetEntityNotExistError()
Returns true if field entityNotExistError is set (has been assigned a value) and false otherwise
-
setEntityNotExistErrorIsSet
public void setEntityNotExistErrorIsSet(boolean value)
-
getServiceBusyError
public ServiceBusyError getServiceBusyError()
-
setServiceBusyError
public WorkflowService.TerminateWorkflowExecution_result setServiceBusyError(ServiceBusyError serviceBusyError)
-
unsetServiceBusyError
public void unsetServiceBusyError()
-
isSetServiceBusyError
public boolean isSetServiceBusyError()
Returns true if field serviceBusyError is set (has been assigned a value) and false otherwise
-
setServiceBusyErrorIsSet
public void setServiceBusyErrorIsSet(boolean value)
-
getDomainNotActiveError
public DomainNotActiveError getDomainNotActiveError()
-
setDomainNotActiveError
public WorkflowService.TerminateWorkflowExecution_result setDomainNotActiveError(DomainNotActiveError domainNotActiveError)
-
unsetDomainNotActiveError
public void unsetDomainNotActiveError()
-
isSetDomainNotActiveError
public boolean isSetDomainNotActiveError()
Returns true if field domainNotActiveError is set (has been assigned a value) and false otherwise
-
setDomainNotActiveErrorIsSet
public void setDomainNotActiveErrorIsSet(boolean value)
-
getLimitExceededError
public LimitExceededError getLimitExceededError()
-
setLimitExceededError
public WorkflowService.TerminateWorkflowExecution_result setLimitExceededError(LimitExceededError limitExceededError)
-
unsetLimitExceededError
public void unsetLimitExceededError()
-
isSetLimitExceededError
public boolean isSetLimitExceededError()
Returns true if field limitExceededError is set (has been assigned a value) and false otherwise
-
setLimitExceededErrorIsSet
public void setLimitExceededErrorIsSet(boolean value)
-
getClientVersionNotSupportedError
public ClientVersionNotSupportedError getClientVersionNotSupportedError()
-
setClientVersionNotSupportedError
public WorkflowService.TerminateWorkflowExecution_result setClientVersionNotSupportedError(ClientVersionNotSupportedError clientVersionNotSupportedError)
-
unsetClientVersionNotSupportedError
public void unsetClientVersionNotSupportedError()
-
isSetClientVersionNotSupportedError
public boolean isSetClientVersionNotSupportedError()
Returns true if field clientVersionNotSupportedError is set (has been assigned a value) and false otherwise
-
setClientVersionNotSupportedErrorIsSet
public void setClientVersionNotSupportedErrorIsSet(boolean value)
-
getWorkflowExecutionAlreadyCompletedError
public WorkflowExecutionAlreadyCompletedError getWorkflowExecutionAlreadyCompletedError()
-
setWorkflowExecutionAlreadyCompletedError
public WorkflowService.TerminateWorkflowExecution_result setWorkflowExecutionAlreadyCompletedError(WorkflowExecutionAlreadyCompletedError workflowExecutionAlreadyCompletedError)
-
unsetWorkflowExecutionAlreadyCompletedError
public void unsetWorkflowExecutionAlreadyCompletedError()
-
isSetWorkflowExecutionAlreadyCompletedError
public boolean isSetWorkflowExecutionAlreadyCompletedError()
Returns true if field workflowExecutionAlreadyCompletedError is set (has been assigned a value) and false otherwise
-
setWorkflowExecutionAlreadyCompletedErrorIsSet
public void setWorkflowExecutionAlreadyCompletedErrorIsSet(boolean value)
-
setFieldValue
public void setFieldValue(WorkflowService.TerminateWorkflowExecution_result._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<WorkflowService.TerminateWorkflowExecution_result,WorkflowService.TerminateWorkflowExecution_result._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(WorkflowService.TerminateWorkflowExecution_result._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<WorkflowService.TerminateWorkflowExecution_result,WorkflowService.TerminateWorkflowExecution_result._Fields>
-
isSet
public boolean isSet(WorkflowService.TerminateWorkflowExecution_result._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<WorkflowService.TerminateWorkflowExecution_result,WorkflowService.TerminateWorkflowExecution_result._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(WorkflowService.TerminateWorkflowExecution_result that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(WorkflowService.TerminateWorkflowExecution_result other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<WorkflowService.TerminateWorkflowExecution_result>
-
fieldForId
public WorkflowService.TerminateWorkflowExecution_result._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<WorkflowService.TerminateWorkflowExecution_result,WorkflowService.TerminateWorkflowExecution_result._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<WorkflowService.TerminateWorkflowExecution_result,WorkflowService.TerminateWorkflowExecution_result._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<WorkflowService.TerminateWorkflowExecution_result,WorkflowService.TerminateWorkflowExecution_result._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
-
-