@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2018-05-02") public class RespondDecisionTaskCompletedRequest extends java.lang.Object implements org.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<RespondDecisionTaskCompletedRequest>
Modifier and Type | Class and Description |
---|---|
static class |
RespondDecisionTaskCompletedRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
java.util.List<Decision> |
decisions |
java.nio.ByteBuffer |
executionContext |
java.lang.String |
identity |
static java.util.Map<RespondDecisionTaskCompletedRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
StickyExecutionAttributes |
stickyAttributes |
java.nio.ByteBuffer |
taskToken |
Constructor and Description |
---|
RespondDecisionTaskCompletedRequest() |
RespondDecisionTaskCompletedRequest(RespondDecisionTaskCompletedRequest other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToDecisions(Decision elem) |
java.nio.ByteBuffer |
bufferForExecutionContext() |
java.nio.ByteBuffer |
bufferForTaskToken() |
void |
clear() |
int |
compareTo(RespondDecisionTaskCompletedRequest other) |
RespondDecisionTaskCompletedRequest |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(RespondDecisionTaskCompletedRequest that) |
RespondDecisionTaskCompletedRequest._Fields |
fieldForId(int fieldId) |
java.util.List<Decision> |
getDecisions() |
java.util.Iterator<Decision> |
getDecisionsIterator() |
int |
getDecisionsSize() |
byte[] |
getExecutionContext() |
java.lang.Object |
getFieldValue(RespondDecisionTaskCompletedRequest._Fields field) |
java.lang.String |
getIdentity() |
StickyExecutionAttributes |
getStickyAttributes() |
byte[] |
getTaskToken() |
int |
hashCode() |
boolean |
isSet(RespondDecisionTaskCompletedRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDecisions()
Returns true if field decisions is set (has been assigned a value) and false otherwise
|
boolean |
isSetExecutionContext()
Returns true if field executionContext is set (has been assigned a value) and false otherwise
|
boolean |
isSetIdentity()
Returns true if field identity is set (has been assigned a value) and false otherwise
|
boolean |
isSetStickyAttributes()
Returns true if field stickyAttributes is set (has been assigned a value) and false otherwise
|
boolean |
isSetTaskToken()
Returns true if field taskToken is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
RespondDecisionTaskCompletedRequest |
setDecisions(java.util.List<Decision> decisions) |
void |
setDecisionsIsSet(boolean value) |
RespondDecisionTaskCompletedRequest |
setExecutionContext(byte[] executionContext) |
RespondDecisionTaskCompletedRequest |
setExecutionContext(java.nio.ByteBuffer executionContext) |
void |
setExecutionContextIsSet(boolean value) |
void |
setFieldValue(RespondDecisionTaskCompletedRequest._Fields field,
java.lang.Object value) |
RespondDecisionTaskCompletedRequest |
setIdentity(java.lang.String identity) |
void |
setIdentityIsSet(boolean value) |
RespondDecisionTaskCompletedRequest |
setStickyAttributes(StickyExecutionAttributes stickyAttributes) |
void |
setStickyAttributesIsSet(boolean value) |
RespondDecisionTaskCompletedRequest |
setTaskToken(byte[] taskToken) |
RespondDecisionTaskCompletedRequest |
setTaskToken(java.nio.ByteBuffer taskToken) |
void |
setTaskTokenIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetDecisions() |
void |
unsetExecutionContext() |
void |
unsetIdentity() |
void |
unsetStickyAttributes() |
void |
unsetTaskToken() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.nio.ByteBuffer taskToken
public java.util.List<Decision> decisions
public java.nio.ByteBuffer executionContext
public java.lang.String identity
public StickyExecutionAttributes stickyAttributes
public static final java.util.Map<RespondDecisionTaskCompletedRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public RespondDecisionTaskCompletedRequest()
public RespondDecisionTaskCompletedRequest(RespondDecisionTaskCompletedRequest other)
public RespondDecisionTaskCompletedRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>
public byte[] getTaskToken()
public java.nio.ByteBuffer bufferForTaskToken()
public RespondDecisionTaskCompletedRequest setTaskToken(byte[] taskToken)
public RespondDecisionTaskCompletedRequest setTaskToken(java.nio.ByteBuffer taskToken)
public void unsetTaskToken()
public boolean isSetTaskToken()
public void setTaskTokenIsSet(boolean value)
public int getDecisionsSize()
public java.util.Iterator<Decision> getDecisionsIterator()
public void addToDecisions(Decision elem)
public java.util.List<Decision> getDecisions()
public RespondDecisionTaskCompletedRequest setDecisions(java.util.List<Decision> decisions)
public void unsetDecisions()
public boolean isSetDecisions()
public void setDecisionsIsSet(boolean value)
public byte[] getExecutionContext()
public java.nio.ByteBuffer bufferForExecutionContext()
public RespondDecisionTaskCompletedRequest setExecutionContext(byte[] executionContext)
public RespondDecisionTaskCompletedRequest setExecutionContext(java.nio.ByteBuffer executionContext)
public void unsetExecutionContext()
public boolean isSetExecutionContext()
public void setExecutionContextIsSet(boolean value)
public java.lang.String getIdentity()
public RespondDecisionTaskCompletedRequest setIdentity(java.lang.String identity)
public void unsetIdentity()
public boolean isSetIdentity()
public void setIdentityIsSet(boolean value)
public StickyExecutionAttributes getStickyAttributes()
public RespondDecisionTaskCompletedRequest setStickyAttributes(StickyExecutionAttributes stickyAttributes)
public void unsetStickyAttributes()
public boolean isSetStickyAttributes()
public void setStickyAttributesIsSet(boolean value)
public void setFieldValue(RespondDecisionTaskCompletedRequest._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>
public java.lang.Object getFieldValue(RespondDecisionTaskCompletedRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>
public boolean isSet(RespondDecisionTaskCompletedRequest._Fields field)
isSet
in interface org.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(RespondDecisionTaskCompletedRequest that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(RespondDecisionTaskCompletedRequest other)
compareTo
in interface java.lang.Comparable<RespondDecisionTaskCompletedRequest>
public RespondDecisionTaskCompletedRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._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<RespondDecisionTaskCompletedRequest,RespondDecisionTaskCompletedRequest._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