Package com.uber.cadence
Class DecisionTaskCompletedEventAttributes
- java.lang.Object
-
- com.uber.cadence.DecisionTaskCompletedEventAttributes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<DecisionTaskCompletedEventAttributes>
,org.apache.thrift.TBase<DecisionTaskCompletedEventAttributes,DecisionTaskCompletedEventAttributes._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-01-06") public class DecisionTaskCompletedEventAttributes extends java.lang.Object implements org.apache.thrift.TBase<DecisionTaskCompletedEventAttributes,DecisionTaskCompletedEventAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<DecisionTaskCompletedEventAttributes>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DecisionTaskCompletedEventAttributes._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
java.nio.ByteBuffer
executionContext
java.lang.String
identity
static java.util.Map<DecisionTaskCompletedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
long
scheduledEventId
long
startedEventId
-
Constructor Summary
Constructors Constructor Description DecisionTaskCompletedEventAttributes()
DecisionTaskCompletedEventAttributes(DecisionTaskCompletedEventAttributes other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
bufferForExecutionContext()
void
clear()
int
compareTo(DecisionTaskCompletedEventAttributes other)
DecisionTaskCompletedEventAttributes
deepCopy()
boolean
equals(DecisionTaskCompletedEventAttributes that)
boolean
equals(java.lang.Object that)
DecisionTaskCompletedEventAttributes._Fields
fieldForId(int fieldId)
java.lang.String
getBinaryChecksum()
byte[]
getExecutionContext()
java.lang.Object
getFieldValue(DecisionTaskCompletedEventAttributes._Fields field)
java.lang.String
getIdentity()
long
getScheduledEventId()
long
getStartedEventId()
int
hashCode()
boolean
isSet(DecisionTaskCompletedEventAttributes._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
isSetExecutionContext()
Returns true if field executionContext 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
isSetScheduledEventId()
Returns true if field scheduledEventId is set (has been assigned a value) and false otherwiseboolean
isSetStartedEventId()
Returns true if field startedEventId is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
DecisionTaskCompletedEventAttributes
setBinaryChecksum(java.lang.String binaryChecksum)
void
setBinaryChecksumIsSet(boolean value)
DecisionTaskCompletedEventAttributes
setExecutionContext(byte[] executionContext)
DecisionTaskCompletedEventAttributes
setExecutionContext(java.nio.ByteBuffer executionContext)
void
setExecutionContextIsSet(boolean value)
void
setFieldValue(DecisionTaskCompletedEventAttributes._Fields field, java.lang.Object value)
DecisionTaskCompletedEventAttributes
setIdentity(java.lang.String identity)
void
setIdentityIsSet(boolean value)
DecisionTaskCompletedEventAttributes
setScheduledEventId(long scheduledEventId)
void
setScheduledEventIdIsSet(boolean value)
DecisionTaskCompletedEventAttributes
setStartedEventId(long startedEventId)
void
setStartedEventIdIsSet(boolean value)
java.lang.String
toString()
void
unsetBinaryChecksum()
void
unsetExecutionContext()
void
unsetIdentity()
void
unsetScheduledEventId()
void
unsetStartedEventId()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
executionContext
public java.nio.ByteBuffer executionContext
-
scheduledEventId
public long scheduledEventId
-
startedEventId
public long startedEventId
-
identity
public java.lang.String identity
-
binaryChecksum
public java.lang.String binaryChecksum
-
metaDataMap
public static final java.util.Map<DecisionTaskCompletedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
DecisionTaskCompletedEventAttributes
public DecisionTaskCompletedEventAttributes()
-
DecisionTaskCompletedEventAttributes
public DecisionTaskCompletedEventAttributes(DecisionTaskCompletedEventAttributes other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public DecisionTaskCompletedEventAttributes deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<DecisionTaskCompletedEventAttributes,DecisionTaskCompletedEventAttributes._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<DecisionTaskCompletedEventAttributes,DecisionTaskCompletedEventAttributes._Fields>
-
getExecutionContext
public byte[] getExecutionContext()
-
bufferForExecutionContext
public java.nio.ByteBuffer bufferForExecutionContext()
-
setExecutionContext
public DecisionTaskCompletedEventAttributes setExecutionContext(byte[] executionContext)
-
setExecutionContext
public DecisionTaskCompletedEventAttributes setExecutionContext(java.nio.ByteBuffer executionContext)
-
unsetExecutionContext
public void unsetExecutionContext()
-
isSetExecutionContext
public boolean isSetExecutionContext()
Returns true if field executionContext is set (has been assigned a value) and false otherwise
-
setExecutionContextIsSet
public void setExecutionContextIsSet(boolean value)
-
getScheduledEventId
public long getScheduledEventId()
-
setScheduledEventId
public DecisionTaskCompletedEventAttributes setScheduledEventId(long scheduledEventId)
-
unsetScheduledEventId
public void unsetScheduledEventId()
-
isSetScheduledEventId
public boolean isSetScheduledEventId()
Returns true if field scheduledEventId is set (has been assigned a value) and false otherwise
-
setScheduledEventIdIsSet
public void setScheduledEventIdIsSet(boolean value)
-
getStartedEventId
public long getStartedEventId()
-
setStartedEventId
public DecisionTaskCompletedEventAttributes setStartedEventId(long startedEventId)
-
unsetStartedEventId
public void unsetStartedEventId()
-
isSetStartedEventId
public boolean isSetStartedEventId()
Returns true if field startedEventId is set (has been assigned a value) and false otherwise
-
setStartedEventIdIsSet
public void setStartedEventIdIsSet(boolean value)
-
getIdentity
public java.lang.String getIdentity()
-
setIdentity
public DecisionTaskCompletedEventAttributes 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 DecisionTaskCompletedEventAttributes 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(DecisionTaskCompletedEventAttributes._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<DecisionTaskCompletedEventAttributes,DecisionTaskCompletedEventAttributes._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(DecisionTaskCompletedEventAttributes._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<DecisionTaskCompletedEventAttributes,DecisionTaskCompletedEventAttributes._Fields>
-
isSet
public boolean isSet(DecisionTaskCompletedEventAttributes._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<DecisionTaskCompletedEventAttributes,DecisionTaskCompletedEventAttributes._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(DecisionTaskCompletedEventAttributes that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(DecisionTaskCompletedEventAttributes other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<DecisionTaskCompletedEventAttributes>
-
fieldForId
public DecisionTaskCompletedEventAttributes._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<DecisionTaskCompletedEventAttributes,DecisionTaskCompletedEventAttributes._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<DecisionTaskCompletedEventAttributes,DecisionTaskCompletedEventAttributes._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<DecisionTaskCompletedEventAttributes,DecisionTaskCompletedEventAttributes._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
-
-