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