Package com.uber.cadence
Class WorkflowExecution
- java.lang.Object
-
- com.uber.cadence.WorkflowExecution
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<WorkflowExecution>
,org.apache.thrift.TBase<WorkflowExecution,WorkflowExecution._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2022-12-02") public class WorkflowExecution extends java.lang.Object implements org.apache.thrift.TBase<WorkflowExecution,WorkflowExecution._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<WorkflowExecution>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkflowExecution._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 static java.util.Map<WorkflowExecution._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.lang.String
runId
java.lang.String
workflowId
-
Constructor Summary
Constructors Constructor Description WorkflowExecution()
WorkflowExecution(WorkflowExecution other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(WorkflowExecution other)
WorkflowExecution
deepCopy()
boolean
equals(WorkflowExecution that)
boolean
equals(java.lang.Object that)
WorkflowExecution._Fields
fieldForId(int fieldId)
java.lang.Object
getFieldValue(WorkflowExecution._Fields field)
java.lang.String
getRunId()
java.lang.String
getWorkflowId()
int
hashCode()
boolean
isSet(WorkflowExecution._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetRunId()
Returns true if field runId is set (has been assigned a value) and false otherwiseboolean
isSetWorkflowId()
Returns true if field workflowId is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(WorkflowExecution._Fields field, java.lang.Object value)
WorkflowExecution
setRunId(java.lang.String runId)
void
setRunIdIsSet(boolean value)
WorkflowExecution
setWorkflowId(java.lang.String workflowId)
void
setWorkflowIdIsSet(boolean value)
java.lang.String
toString()
void
unsetRunId()
void
unsetWorkflowId()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
workflowId
public java.lang.String workflowId
-
runId
public java.lang.String runId
-
metaDataMap
public static final java.util.Map<WorkflowExecution._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
WorkflowExecution
public WorkflowExecution()
-
WorkflowExecution
public WorkflowExecution(WorkflowExecution other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public WorkflowExecution deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<WorkflowExecution,WorkflowExecution._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<WorkflowExecution,WorkflowExecution._Fields>
-
getWorkflowId
public java.lang.String getWorkflowId()
-
setWorkflowId
public WorkflowExecution setWorkflowId(java.lang.String workflowId)
-
unsetWorkflowId
public void unsetWorkflowId()
-
isSetWorkflowId
public boolean isSetWorkflowId()
Returns true if field workflowId is set (has been assigned a value) and false otherwise
-
setWorkflowIdIsSet
public void setWorkflowIdIsSet(boolean value)
-
getRunId
public java.lang.String getRunId()
-
setRunId
public WorkflowExecution setRunId(java.lang.String runId)
-
unsetRunId
public void unsetRunId()
-
isSetRunId
public boolean isSetRunId()
Returns true if field runId is set (has been assigned a value) and false otherwise
-
setRunIdIsSet
public void setRunIdIsSet(boolean value)
-
setFieldValue
public void setFieldValue(WorkflowExecution._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<WorkflowExecution,WorkflowExecution._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(WorkflowExecution._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<WorkflowExecution,WorkflowExecution._Fields>
-
isSet
public boolean isSet(WorkflowExecution._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<WorkflowExecution,WorkflowExecution._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(WorkflowExecution that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(WorkflowExecution other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<WorkflowExecution>
-
fieldForId
public WorkflowExecution._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<WorkflowExecution,WorkflowExecution._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<WorkflowExecution,WorkflowExecution._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<WorkflowExecution,WorkflowExecution._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
-
-