@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2022-01-11") public class RespondCrossClusterTasksCompletedRequest extends java.lang.Object implements org.apache.thrift.TBase<RespondCrossClusterTasksCompletedRequest,RespondCrossClusterTasksCompletedRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<RespondCrossClusterTasksCompletedRequest>
Modifier and Type | Class and Description |
---|---|
static class |
RespondCrossClusterTasksCompletedRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
boolean |
fetchNewTasks |
static java.util.Map<RespondCrossClusterTasksCompletedRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
shardID |
java.lang.String |
targetCluster |
java.util.List<CrossClusterTaskResponse> |
taskResponses |
Constructor and Description |
---|
RespondCrossClusterTasksCompletedRequest() |
RespondCrossClusterTasksCompletedRequest(RespondCrossClusterTasksCompletedRequest other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToTaskResponses(CrossClusterTaskResponse elem) |
void |
clear() |
int |
compareTo(RespondCrossClusterTasksCompletedRequest other) |
RespondCrossClusterTasksCompletedRequest |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(RespondCrossClusterTasksCompletedRequest that) |
RespondCrossClusterTasksCompletedRequest._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(RespondCrossClusterTasksCompletedRequest._Fields field) |
int |
getShardID() |
java.lang.String |
getTargetCluster() |
java.util.List<CrossClusterTaskResponse> |
getTaskResponses() |
java.util.Iterator<CrossClusterTaskResponse> |
getTaskResponsesIterator() |
int |
getTaskResponsesSize() |
int |
hashCode() |
boolean |
isFetchNewTasks() |
boolean |
isSet(RespondCrossClusterTasksCompletedRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetFetchNewTasks()
Returns true if field fetchNewTasks is set (has been assigned a value) and false otherwise
|
boolean |
isSetShardID()
Returns true if field shardID is set (has been assigned a value) and false otherwise
|
boolean |
isSetTargetCluster()
Returns true if field targetCluster is set (has been assigned a value) and false otherwise
|
boolean |
isSetTaskResponses()
Returns true if field taskResponses is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
RespondCrossClusterTasksCompletedRequest |
setFetchNewTasks(boolean fetchNewTasks) |
void |
setFetchNewTasksIsSet(boolean value) |
void |
setFieldValue(RespondCrossClusterTasksCompletedRequest._Fields field,
java.lang.Object value) |
RespondCrossClusterTasksCompletedRequest |
setShardID(int shardID) |
void |
setShardIDIsSet(boolean value) |
RespondCrossClusterTasksCompletedRequest |
setTargetCluster(java.lang.String targetCluster) |
void |
setTargetClusterIsSet(boolean value) |
RespondCrossClusterTasksCompletedRequest |
setTaskResponses(java.util.List<CrossClusterTaskResponse> taskResponses) |
void |
setTaskResponsesIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetFetchNewTasks() |
void |
unsetShardID() |
void |
unsetTargetCluster() |
void |
unsetTaskResponses() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int shardID
public java.lang.String targetCluster
public java.util.List<CrossClusterTaskResponse> taskResponses
public boolean fetchNewTasks
public static final java.util.Map<RespondCrossClusterTasksCompletedRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public RespondCrossClusterTasksCompletedRequest()
public RespondCrossClusterTasksCompletedRequest(RespondCrossClusterTasksCompletedRequest other)
public RespondCrossClusterTasksCompletedRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<RespondCrossClusterTasksCompletedRequest,RespondCrossClusterTasksCompletedRequest._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<RespondCrossClusterTasksCompletedRequest,RespondCrossClusterTasksCompletedRequest._Fields>
public int getShardID()
public RespondCrossClusterTasksCompletedRequest setShardID(int shardID)
public void unsetShardID()
public boolean isSetShardID()
public void setShardIDIsSet(boolean value)
public java.lang.String getTargetCluster()
public RespondCrossClusterTasksCompletedRequest setTargetCluster(java.lang.String targetCluster)
public void unsetTargetCluster()
public boolean isSetTargetCluster()
public void setTargetClusterIsSet(boolean value)
public int getTaskResponsesSize()
public java.util.Iterator<CrossClusterTaskResponse> getTaskResponsesIterator()
public void addToTaskResponses(CrossClusterTaskResponse elem)
public java.util.List<CrossClusterTaskResponse> getTaskResponses()
public RespondCrossClusterTasksCompletedRequest setTaskResponses(java.util.List<CrossClusterTaskResponse> taskResponses)
public void unsetTaskResponses()
public boolean isSetTaskResponses()
public void setTaskResponsesIsSet(boolean value)
public boolean isFetchNewTasks()
public RespondCrossClusterTasksCompletedRequest setFetchNewTasks(boolean fetchNewTasks)
public void unsetFetchNewTasks()
public boolean isSetFetchNewTasks()
public void setFetchNewTasksIsSet(boolean value)
public void setFieldValue(RespondCrossClusterTasksCompletedRequest._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<RespondCrossClusterTasksCompletedRequest,RespondCrossClusterTasksCompletedRequest._Fields>
public java.lang.Object getFieldValue(RespondCrossClusterTasksCompletedRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<RespondCrossClusterTasksCompletedRequest,RespondCrossClusterTasksCompletedRequest._Fields>
public boolean isSet(RespondCrossClusterTasksCompletedRequest._Fields field)
isSet
in interface org.apache.thrift.TBase<RespondCrossClusterTasksCompletedRequest,RespondCrossClusterTasksCompletedRequest._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(RespondCrossClusterTasksCompletedRequest that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(RespondCrossClusterTasksCompletedRequest other)
compareTo
in interface java.lang.Comparable<RespondCrossClusterTasksCompletedRequest>
public RespondCrossClusterTasksCompletedRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<RespondCrossClusterTasksCompletedRequest,RespondCrossClusterTasksCompletedRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<RespondCrossClusterTasksCompletedRequest,RespondCrossClusterTasksCompletedRequest._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<RespondCrossClusterTasksCompletedRequest,RespondCrossClusterTasksCompletedRequest._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException