@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2021-08-14") 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>
Modifier and Type | Class and Description |
---|---|
static class |
RespondActivityTaskFailedRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and 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 and Description |
---|
RespondActivityTaskFailedRequest() |
RespondActivityTaskFailedRequest(RespondActivityTaskFailedRequest other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bufferForDetails() |
java.nio.ByteBuffer |
bufferForTaskToken() |
void |
clear() |
int |
compareTo(RespondActivityTaskFailedRequest other) |
RespondActivityTaskFailedRequest |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(RespondActivityTaskFailedRequest 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 otherwise
|
boolean |
isSetDetails()
Returns true if field details 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 |
isSetReason()
Returns true if field reason 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) |
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) |
public java.nio.ByteBuffer taskToken
public java.lang.String reason
public java.nio.ByteBuffer details
public java.lang.String identity
public static final java.util.Map<RespondActivityTaskFailedRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public RespondActivityTaskFailedRequest()
public RespondActivityTaskFailedRequest(RespondActivityTaskFailedRequest other)
public RespondActivityTaskFailedRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<RespondActivityTaskFailedRequest,RespondActivityTaskFailedRequest._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<RespondActivityTaskFailedRequest,RespondActivityTaskFailedRequest._Fields>
public byte[] getTaskToken()
public java.nio.ByteBuffer bufferForTaskToken()
public RespondActivityTaskFailedRequest setTaskToken(byte[] taskToken)
public RespondActivityTaskFailedRequest setTaskToken(java.nio.ByteBuffer taskToken)
public void unsetTaskToken()
public boolean isSetTaskToken()
public void setTaskTokenIsSet(boolean value)
public java.lang.String getReason()
public RespondActivityTaskFailedRequest setReason(java.lang.String reason)
public void unsetReason()
public boolean isSetReason()
public void setReasonIsSet(boolean value)
public byte[] getDetails()
public java.nio.ByteBuffer bufferForDetails()
public RespondActivityTaskFailedRequest setDetails(byte[] details)
public RespondActivityTaskFailedRequest setDetails(java.nio.ByteBuffer details)
public void unsetDetails()
public boolean isSetDetails()
public void setDetailsIsSet(boolean value)
public java.lang.String getIdentity()
public RespondActivityTaskFailedRequest setIdentity(java.lang.String identity)
public void unsetIdentity()
public boolean isSetIdentity()
public void setIdentityIsSet(boolean value)
public void setFieldValue(RespondActivityTaskFailedRequest._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<RespondActivityTaskFailedRequest,RespondActivityTaskFailedRequest._Fields>
public java.lang.Object getFieldValue(RespondActivityTaskFailedRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<RespondActivityTaskFailedRequest,RespondActivityTaskFailedRequest._Fields>
public boolean isSet(RespondActivityTaskFailedRequest._Fields field)
isSet
in interface org.apache.thrift.TBase<RespondActivityTaskFailedRequest,RespondActivityTaskFailedRequest._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(RespondActivityTaskFailedRequest that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(RespondActivityTaskFailedRequest other)
compareTo
in interface java.lang.Comparable<RespondActivityTaskFailedRequest>
public RespondActivityTaskFailedRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<RespondActivityTaskFailedRequest,RespondActivityTaskFailedRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<RespondActivityTaskFailedRequest,RespondActivityTaskFailedRequest._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<RespondActivityTaskFailedRequest,RespondActivityTaskFailedRequest._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