Package com.uber.cadence.shadower
Class ScanWorkflowActivityResult
- java.lang.Object
-
- com.uber.cadence.shadower.ScanWorkflowActivityResult
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<ScanWorkflowActivityResult>
,org.apache.thrift.TBase<ScanWorkflowActivityResult,ScanWorkflowActivityResult._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2022-12-02") public class ScanWorkflowActivityResult extends java.lang.Object implements org.apache.thrift.TBase<ScanWorkflowActivityResult,ScanWorkflowActivityResult._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ScanWorkflowActivityResult>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScanWorkflowActivityResult._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.util.List<WorkflowExecution>
executions
static java.util.Map<ScanWorkflowActivityResult._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.nio.ByteBuffer
nextPageToken
-
Constructor Summary
Constructors Constructor Description ScanWorkflowActivityResult()
ScanWorkflowActivityResult(ScanWorkflowActivityResult other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToExecutions(WorkflowExecution elem)
java.nio.ByteBuffer
bufferForNextPageToken()
void
clear()
int
compareTo(ScanWorkflowActivityResult other)
ScanWorkflowActivityResult
deepCopy()
boolean
equals(ScanWorkflowActivityResult that)
boolean
equals(java.lang.Object that)
ScanWorkflowActivityResult._Fields
fieldForId(int fieldId)
java.util.List<WorkflowExecution>
getExecutions()
java.util.Iterator<WorkflowExecution>
getExecutionsIterator()
int
getExecutionsSize()
java.lang.Object
getFieldValue(ScanWorkflowActivityResult._Fields field)
byte[]
getNextPageToken()
int
hashCode()
boolean
isSet(ScanWorkflowActivityResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetExecutions()
Returns true if field executions is set (has been assigned a value) and false otherwiseboolean
isSetNextPageToken()
Returns true if field nextPageToken is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
ScanWorkflowActivityResult
setExecutions(java.util.List<WorkflowExecution> executions)
void
setExecutionsIsSet(boolean value)
void
setFieldValue(ScanWorkflowActivityResult._Fields field, java.lang.Object value)
ScanWorkflowActivityResult
setNextPageToken(byte[] nextPageToken)
ScanWorkflowActivityResult
setNextPageToken(java.nio.ByteBuffer nextPageToken)
void
setNextPageTokenIsSet(boolean value)
java.lang.String
toString()
void
unsetExecutions()
void
unsetNextPageToken()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
executions
public java.util.List<WorkflowExecution> executions
-
nextPageToken
public java.nio.ByteBuffer nextPageToken
-
metaDataMap
public static final java.util.Map<ScanWorkflowActivityResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ScanWorkflowActivityResult
public ScanWorkflowActivityResult()
-
ScanWorkflowActivityResult
public ScanWorkflowActivityResult(ScanWorkflowActivityResult other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ScanWorkflowActivityResult deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<ScanWorkflowActivityResult,ScanWorkflowActivityResult._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<ScanWorkflowActivityResult,ScanWorkflowActivityResult._Fields>
-
getExecutionsSize
public int getExecutionsSize()
-
getExecutionsIterator
public java.util.Iterator<WorkflowExecution> getExecutionsIterator()
-
addToExecutions
public void addToExecutions(WorkflowExecution elem)
-
getExecutions
public java.util.List<WorkflowExecution> getExecutions()
-
setExecutions
public ScanWorkflowActivityResult setExecutions(java.util.List<WorkflowExecution> executions)
-
unsetExecutions
public void unsetExecutions()
-
isSetExecutions
public boolean isSetExecutions()
Returns true if field executions is set (has been assigned a value) and false otherwise
-
setExecutionsIsSet
public void setExecutionsIsSet(boolean value)
-
getNextPageToken
public byte[] getNextPageToken()
-
bufferForNextPageToken
public java.nio.ByteBuffer bufferForNextPageToken()
-
setNextPageToken
public ScanWorkflowActivityResult setNextPageToken(byte[] nextPageToken)
-
setNextPageToken
public ScanWorkflowActivityResult setNextPageToken(java.nio.ByteBuffer nextPageToken)
-
unsetNextPageToken
public void unsetNextPageToken()
-
isSetNextPageToken
public boolean isSetNextPageToken()
Returns true if field nextPageToken is set (has been assigned a value) and false otherwise
-
setNextPageTokenIsSet
public void setNextPageTokenIsSet(boolean value)
-
setFieldValue
public void setFieldValue(ScanWorkflowActivityResult._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<ScanWorkflowActivityResult,ScanWorkflowActivityResult._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(ScanWorkflowActivityResult._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<ScanWorkflowActivityResult,ScanWorkflowActivityResult._Fields>
-
isSet
public boolean isSet(ScanWorkflowActivityResult._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<ScanWorkflowActivityResult,ScanWorkflowActivityResult._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(ScanWorkflowActivityResult that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(ScanWorkflowActivityResult other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ScanWorkflowActivityResult>
-
fieldForId
public ScanWorkflowActivityResult._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<ScanWorkflowActivityResult,ScanWorkflowActivityResult._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<ScanWorkflowActivityResult,ScanWorkflowActivityResult._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<ScanWorkflowActivityResult,ScanWorkflowActivityResult._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
-
-