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