public static class WorkflowService.PollForActivityTask_result extends java.lang.Object implements org.apache.thrift.TBase<WorkflowService.PollForActivityTask_result,WorkflowService.PollForActivityTask_result._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<WorkflowService.PollForActivityTask_result>
Modifier and Type | Class and Description |
---|---|
static class |
WorkflowService.PollForActivityTask_result._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
BadRequestError |
badRequestError |
ClientVersionNotSupportedError |
clientVersionNotSupportedError |
DomainNotActiveError |
domainNotActiveError |
EntityNotExistsError |
entityNotExistError |
LimitExceededError |
limitExceededError |
static java.util.Map<WorkflowService.PollForActivityTask_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ServiceBusyError |
serviceBusyError |
PollForActivityTaskResponse |
success |
Constructor and Description |
---|
PollForActivityTask_result() |
PollForActivityTask_result(PollForActivityTaskResponse success,
BadRequestError badRequestError,
ServiceBusyError serviceBusyError,
LimitExceededError limitExceededError,
EntityNotExistsError entityNotExistError,
DomainNotActiveError domainNotActiveError,
ClientVersionNotSupportedError clientVersionNotSupportedError) |
PollForActivityTask_result(WorkflowService.PollForActivityTask_result other)
Performs a deep copy on other.
|
public PollForActivityTaskResponse success
public BadRequestError badRequestError
public ServiceBusyError serviceBusyError
public LimitExceededError limitExceededError
public EntityNotExistsError entityNotExistError
public DomainNotActiveError domainNotActiveError
public ClientVersionNotSupportedError clientVersionNotSupportedError
public static final java.util.Map<WorkflowService.PollForActivityTask_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PollForActivityTask_result()
public PollForActivityTask_result(PollForActivityTaskResponse success, BadRequestError badRequestError, ServiceBusyError serviceBusyError, LimitExceededError limitExceededError, EntityNotExistsError entityNotExistError, DomainNotActiveError domainNotActiveError, ClientVersionNotSupportedError clientVersionNotSupportedError)
public PollForActivityTask_result(WorkflowService.PollForActivityTask_result other)
public WorkflowService.PollForActivityTask_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<WorkflowService.PollForActivityTask_result,WorkflowService.PollForActivityTask_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<WorkflowService.PollForActivityTask_result,WorkflowService.PollForActivityTask_result._Fields>
public PollForActivityTaskResponse getSuccess()
public WorkflowService.PollForActivityTask_result setSuccess(PollForActivityTaskResponse success)
public void unsetSuccess()
public boolean isSetSuccess()
public void setSuccessIsSet(boolean value)
public BadRequestError getBadRequestError()
public WorkflowService.PollForActivityTask_result setBadRequestError(BadRequestError badRequestError)
public void unsetBadRequestError()
public boolean isSetBadRequestError()
public void setBadRequestErrorIsSet(boolean value)
public ServiceBusyError getServiceBusyError()
public WorkflowService.PollForActivityTask_result setServiceBusyError(ServiceBusyError serviceBusyError)
public void unsetServiceBusyError()
public boolean isSetServiceBusyError()
public void setServiceBusyErrorIsSet(boolean value)
public LimitExceededError getLimitExceededError()
public WorkflowService.PollForActivityTask_result setLimitExceededError(LimitExceededError limitExceededError)
public void unsetLimitExceededError()
public boolean isSetLimitExceededError()
public void setLimitExceededErrorIsSet(boolean value)
public EntityNotExistsError getEntityNotExistError()
public WorkflowService.PollForActivityTask_result setEntityNotExistError(EntityNotExistsError entityNotExistError)
public void unsetEntityNotExistError()
public boolean isSetEntityNotExistError()
public void setEntityNotExistErrorIsSet(boolean value)
public DomainNotActiveError getDomainNotActiveError()
public WorkflowService.PollForActivityTask_result setDomainNotActiveError(DomainNotActiveError domainNotActiveError)
public void unsetDomainNotActiveError()
public boolean isSetDomainNotActiveError()
public void setDomainNotActiveErrorIsSet(boolean value)
public ClientVersionNotSupportedError getClientVersionNotSupportedError()
public WorkflowService.PollForActivityTask_result setClientVersionNotSupportedError(ClientVersionNotSupportedError clientVersionNotSupportedError)
public void unsetClientVersionNotSupportedError()
public boolean isSetClientVersionNotSupportedError()
public void setClientVersionNotSupportedErrorIsSet(boolean value)
public void setFieldValue(WorkflowService.PollForActivityTask_result._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<WorkflowService.PollForActivityTask_result,WorkflowService.PollForActivityTask_result._Fields>
public java.lang.Object getFieldValue(WorkflowService.PollForActivityTask_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<WorkflowService.PollForActivityTask_result,WorkflowService.PollForActivityTask_result._Fields>
public boolean isSet(WorkflowService.PollForActivityTask_result._Fields field)
isSet
in interface org.apache.thrift.TBase<WorkflowService.PollForActivityTask_result,WorkflowService.PollForActivityTask_result._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(WorkflowService.PollForActivityTask_result that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(WorkflowService.PollForActivityTask_result other)
compareTo
in interface java.lang.Comparable<WorkflowService.PollForActivityTask_result>
public WorkflowService.PollForActivityTask_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<WorkflowService.PollForActivityTask_result,WorkflowService.PollForActivityTask_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<WorkflowService.PollForActivityTask_result,WorkflowService.PollForActivityTask_result._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<WorkflowService.PollForActivityTask_result,WorkflowService.PollForActivityTask_result._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException