Package com.uber.cadence
Class WorkflowExecutionCompletedEventAttributes
- java.lang.Object
-
- com.uber.cadence.WorkflowExecutionCompletedEventAttributes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<WorkflowExecutionCompletedEventAttributes>
,org.apache.thrift.TBase<WorkflowExecutionCompletedEventAttributes,WorkflowExecutionCompletedEventAttributes._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-01-06") public class WorkflowExecutionCompletedEventAttributes extends java.lang.Object implements org.apache.thrift.TBase<WorkflowExecutionCompletedEventAttributes,WorkflowExecutionCompletedEventAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<WorkflowExecutionCompletedEventAttributes>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkflowExecutionCompletedEventAttributes._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 long
decisionTaskCompletedEventId
static java.util.Map<WorkflowExecutionCompletedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.nio.ByteBuffer
result
-
Constructor Summary
Constructors Constructor Description WorkflowExecutionCompletedEventAttributes()
WorkflowExecutionCompletedEventAttributes(WorkflowExecutionCompletedEventAttributes other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
bufferForResult()
void
clear()
int
compareTo(WorkflowExecutionCompletedEventAttributes other)
WorkflowExecutionCompletedEventAttributes
deepCopy()
boolean
equals(WorkflowExecutionCompletedEventAttributes that)
boolean
equals(java.lang.Object that)
WorkflowExecutionCompletedEventAttributes._Fields
fieldForId(int fieldId)
long
getDecisionTaskCompletedEventId()
java.lang.Object
getFieldValue(WorkflowExecutionCompletedEventAttributes._Fields field)
byte[]
getResult()
int
hashCode()
boolean
isSet(WorkflowExecutionCompletedEventAttributes._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetDecisionTaskCompletedEventId()
Returns true if field decisionTaskCompletedEventId is set (has been assigned a value) and false otherwiseboolean
isSetResult()
Returns true if field result is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
WorkflowExecutionCompletedEventAttributes
setDecisionTaskCompletedEventId(long decisionTaskCompletedEventId)
void
setDecisionTaskCompletedEventIdIsSet(boolean value)
void
setFieldValue(WorkflowExecutionCompletedEventAttributes._Fields field, java.lang.Object value)
WorkflowExecutionCompletedEventAttributes
setResult(byte[] result)
WorkflowExecutionCompletedEventAttributes
setResult(java.nio.ByteBuffer result)
void
setResultIsSet(boolean value)
java.lang.String
toString()
void
unsetDecisionTaskCompletedEventId()
void
unsetResult()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
result
public java.nio.ByteBuffer result
-
decisionTaskCompletedEventId
public long decisionTaskCompletedEventId
-
metaDataMap
public static final java.util.Map<WorkflowExecutionCompletedEventAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
WorkflowExecutionCompletedEventAttributes
public WorkflowExecutionCompletedEventAttributes()
-
WorkflowExecutionCompletedEventAttributes
public WorkflowExecutionCompletedEventAttributes(WorkflowExecutionCompletedEventAttributes other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public WorkflowExecutionCompletedEventAttributes deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<WorkflowExecutionCompletedEventAttributes,WorkflowExecutionCompletedEventAttributes._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<WorkflowExecutionCompletedEventAttributes,WorkflowExecutionCompletedEventAttributes._Fields>
-
getResult
public byte[] getResult()
-
bufferForResult
public java.nio.ByteBuffer bufferForResult()
-
setResult
public WorkflowExecutionCompletedEventAttributes setResult(byte[] result)
-
setResult
public WorkflowExecutionCompletedEventAttributes setResult(java.nio.ByteBuffer result)
-
unsetResult
public void unsetResult()
-
isSetResult
public boolean isSetResult()
Returns true if field result is set (has been assigned a value) and false otherwise
-
setResultIsSet
public void setResultIsSet(boolean value)
-
getDecisionTaskCompletedEventId
public long getDecisionTaskCompletedEventId()
-
setDecisionTaskCompletedEventId
public WorkflowExecutionCompletedEventAttributes setDecisionTaskCompletedEventId(long decisionTaskCompletedEventId)
-
unsetDecisionTaskCompletedEventId
public void unsetDecisionTaskCompletedEventId()
-
isSetDecisionTaskCompletedEventId
public boolean isSetDecisionTaskCompletedEventId()
Returns true if field decisionTaskCompletedEventId is set (has been assigned a value) and false otherwise
-
setDecisionTaskCompletedEventIdIsSet
public void setDecisionTaskCompletedEventIdIsSet(boolean value)
-
setFieldValue
public void setFieldValue(WorkflowExecutionCompletedEventAttributes._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<WorkflowExecutionCompletedEventAttributes,WorkflowExecutionCompletedEventAttributes._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(WorkflowExecutionCompletedEventAttributes._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<WorkflowExecutionCompletedEventAttributes,WorkflowExecutionCompletedEventAttributes._Fields>
-
isSet
public boolean isSet(WorkflowExecutionCompletedEventAttributes._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<WorkflowExecutionCompletedEventAttributes,WorkflowExecutionCompletedEventAttributes._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(WorkflowExecutionCompletedEventAttributes that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(WorkflowExecutionCompletedEventAttributes other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<WorkflowExecutionCompletedEventAttributes>
-
fieldForId
public WorkflowExecutionCompletedEventAttributes._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<WorkflowExecutionCompletedEventAttributes,WorkflowExecutionCompletedEventAttributes._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<WorkflowExecutionCompletedEventAttributes,WorkflowExecutionCompletedEventAttributes._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<WorkflowExecutionCompletedEventAttributes,WorkflowExecutionCompletedEventAttributes._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
-
-