Package com.uber.cadence
Class RespondDecisionTaskFailedRequest
- java.lang.Object
-
- com.uber.cadence.RespondDecisionTaskFailedRequest
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<RespondDecisionTaskFailedRequest>
,org.apache.thrift.TBase<RespondDecisionTaskFailedRequest,RespondDecisionTaskFailedRequest._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-08-08") public class RespondDecisionTaskFailedRequest extends java.lang.Object implements org.apache.thrift.TBase<RespondDecisionTaskFailedRequest,RespondDecisionTaskFailedRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<RespondDecisionTaskFailedRequest>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RespondDecisionTaskFailedRequest._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
binaryChecksum
DecisionTaskFailedCause
cause
java.nio.ByteBuffer
details
java.lang.String
identity
static java.util.Map<RespondDecisionTaskFailedRequest._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.nio.ByteBuffer
taskToken
-
Constructor Summary
Constructors Constructor Description RespondDecisionTaskFailedRequest()
RespondDecisionTaskFailedRequest(RespondDecisionTaskFailedRequest other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
bufferForDetails()
java.nio.ByteBuffer
bufferForTaskToken()
void
clear()
int
compareTo(RespondDecisionTaskFailedRequest other)
RespondDecisionTaskFailedRequest
deepCopy()
boolean
equals(RespondDecisionTaskFailedRequest that)
boolean
equals(java.lang.Object that)
RespondDecisionTaskFailedRequest._Fields
fieldForId(int fieldId)
java.lang.String
getBinaryChecksum()
DecisionTaskFailedCause
getCause()
byte[]
getDetails()
java.lang.Object
getFieldValue(RespondDecisionTaskFailedRequest._Fields field)
java.lang.String
getIdentity()
byte[]
getTaskToken()
int
hashCode()
boolean
isSet(RespondDecisionTaskFailedRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetBinaryChecksum()
Returns true if field binaryChecksum is set (has been assigned a value) and false otherwiseboolean
isSetCause()
Returns true if field cause 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
isSetIdentity()
Returns true if field identity is set (has been assigned a value) and false otherwiseboolean
isSetTaskToken()
Returns true if field taskToken is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
RespondDecisionTaskFailedRequest
setBinaryChecksum(java.lang.String binaryChecksum)
void
setBinaryChecksumIsSet(boolean value)
RespondDecisionTaskFailedRequest
setCause(DecisionTaskFailedCause cause)
void
setCauseIsSet(boolean value)
RespondDecisionTaskFailedRequest
setDetails(byte[] details)
RespondDecisionTaskFailedRequest
setDetails(java.nio.ByteBuffer details)
void
setDetailsIsSet(boolean value)
void
setFieldValue(RespondDecisionTaskFailedRequest._Fields field, java.lang.Object value)
RespondDecisionTaskFailedRequest
setIdentity(java.lang.String identity)
void
setIdentityIsSet(boolean value)
RespondDecisionTaskFailedRequest
setTaskToken(byte[] taskToken)
RespondDecisionTaskFailedRequest
setTaskToken(java.nio.ByteBuffer taskToken)
void
setTaskTokenIsSet(boolean value)
java.lang.String
toString()
void
unsetBinaryChecksum()
void
unsetCause()
void
unsetDetails()
void
unsetIdentity()
void
unsetTaskToken()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
taskToken
public java.nio.ByteBuffer taskToken
-
cause
public DecisionTaskFailedCause cause
- See Also:
DecisionTaskFailedCause
-
details
public java.nio.ByteBuffer details
-
identity
public java.lang.String identity
-
binaryChecksum
public java.lang.String binaryChecksum
-
metaDataMap
public static final java.util.Map<RespondDecisionTaskFailedRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
RespondDecisionTaskFailedRequest
public RespondDecisionTaskFailedRequest()
-
RespondDecisionTaskFailedRequest
public RespondDecisionTaskFailedRequest(RespondDecisionTaskFailedRequest other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public RespondDecisionTaskFailedRequest deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<RespondDecisionTaskFailedRequest,RespondDecisionTaskFailedRequest._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<RespondDecisionTaskFailedRequest,RespondDecisionTaskFailedRequest._Fields>
-
getTaskToken
public byte[] getTaskToken()
-
bufferForTaskToken
public java.nio.ByteBuffer bufferForTaskToken()
-
setTaskToken
public RespondDecisionTaskFailedRequest setTaskToken(byte[] taskToken)
-
setTaskToken
public RespondDecisionTaskFailedRequest setTaskToken(java.nio.ByteBuffer taskToken)
-
unsetTaskToken
public void unsetTaskToken()
-
isSetTaskToken
public boolean isSetTaskToken()
Returns true if field taskToken is set (has been assigned a value) and false otherwise
-
setTaskTokenIsSet
public void setTaskTokenIsSet(boolean value)
-
getCause
public DecisionTaskFailedCause getCause()
- See Also:
DecisionTaskFailedCause
-
setCause
public RespondDecisionTaskFailedRequest setCause(DecisionTaskFailedCause cause)
- See Also:
DecisionTaskFailedCause
-
unsetCause
public void unsetCause()
-
isSetCause
public boolean isSetCause()
Returns true if field cause is set (has been assigned a value) and false otherwise
-
setCauseIsSet
public void setCauseIsSet(boolean value)
-
getDetails
public byte[] getDetails()
-
bufferForDetails
public java.nio.ByteBuffer bufferForDetails()
-
setDetails
public RespondDecisionTaskFailedRequest setDetails(byte[] details)
-
setDetails
public RespondDecisionTaskFailedRequest 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 RespondDecisionTaskFailedRequest 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)
-
getBinaryChecksum
public java.lang.String getBinaryChecksum()
-
setBinaryChecksum
public RespondDecisionTaskFailedRequest setBinaryChecksum(java.lang.String binaryChecksum)
-
unsetBinaryChecksum
public void unsetBinaryChecksum()
-
isSetBinaryChecksum
public boolean isSetBinaryChecksum()
Returns true if field binaryChecksum is set (has been assigned a value) and false otherwise
-
setBinaryChecksumIsSet
public void setBinaryChecksumIsSet(boolean value)
-
setFieldValue
public void setFieldValue(RespondDecisionTaskFailedRequest._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<RespondDecisionTaskFailedRequest,RespondDecisionTaskFailedRequest._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(RespondDecisionTaskFailedRequest._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<RespondDecisionTaskFailedRequest,RespondDecisionTaskFailedRequest._Fields>
-
isSet
public boolean isSet(RespondDecisionTaskFailedRequest._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<RespondDecisionTaskFailedRequest,RespondDecisionTaskFailedRequest._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(RespondDecisionTaskFailedRequest that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(RespondDecisionTaskFailedRequest other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<RespondDecisionTaskFailedRequest>
-
fieldForId
public RespondDecisionTaskFailedRequest._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<RespondDecisionTaskFailedRequest,RespondDecisionTaskFailedRequest._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<RespondDecisionTaskFailedRequest,RespondDecisionTaskFailedRequest._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<RespondDecisionTaskFailedRequest,RespondDecisionTaskFailedRequest._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
-
-