Package com.uber.cadence
Class GetCrossClusterTasksResponse
- java.lang.Object
-
- com.uber.cadence.GetCrossClusterTasksResponse
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<GetCrossClusterTasksResponse>
,org.apache.thrift.TBase<GetCrossClusterTasksResponse,GetCrossClusterTasksResponse._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-05-19") public class GetCrossClusterTasksResponse extends java.lang.Object implements org.apache.thrift.TBase<GetCrossClusterTasksResponse,GetCrossClusterTasksResponse._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<GetCrossClusterTasksResponse>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetCrossClusterTasksResponse._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.Map<java.lang.Integer,GetTaskFailedCause>
failedCauseByShard
static java.util.Map<GetCrossClusterTasksResponse._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
java.util.Map<java.lang.Integer,java.util.List<CrossClusterTaskRequest>>
tasksByShard
-
Constructor Summary
Constructors Constructor Description GetCrossClusterTasksResponse()
GetCrossClusterTasksResponse(GetCrossClusterTasksResponse other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(GetCrossClusterTasksResponse other)
GetCrossClusterTasksResponse
deepCopy()
boolean
equals(GetCrossClusterTasksResponse that)
boolean
equals(java.lang.Object that)
GetCrossClusterTasksResponse._Fields
fieldForId(int fieldId)
java.util.Map<java.lang.Integer,GetTaskFailedCause>
getFailedCauseByShard()
int
getFailedCauseByShardSize()
java.lang.Object
getFieldValue(GetCrossClusterTasksResponse._Fields field)
java.util.Map<java.lang.Integer,java.util.List<CrossClusterTaskRequest>>
getTasksByShard()
int
getTasksByShardSize()
int
hashCode()
boolean
isSet(GetCrossClusterTasksResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetFailedCauseByShard()
Returns true if field failedCauseByShard is set (has been assigned a value) and false otherwiseboolean
isSetTasksByShard()
Returns true if field tasksByShard is set (has been assigned a value) and false otherwisevoid
putToFailedCauseByShard(int key, GetTaskFailedCause val)
void
putToTasksByShard(int key, java.util.List<CrossClusterTaskRequest> val)
void
read(org.apache.thrift.protocol.TProtocol iprot)
GetCrossClusterTasksResponse
setFailedCauseByShard(java.util.Map<java.lang.Integer,GetTaskFailedCause> failedCauseByShard)
void
setFailedCauseByShardIsSet(boolean value)
void
setFieldValue(GetCrossClusterTasksResponse._Fields field, java.lang.Object value)
GetCrossClusterTasksResponse
setTasksByShard(java.util.Map<java.lang.Integer,java.util.List<CrossClusterTaskRequest>> tasksByShard)
void
setTasksByShardIsSet(boolean value)
java.lang.String
toString()
void
unsetFailedCauseByShard()
void
unsetTasksByShard()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
tasksByShard
public java.util.Map<java.lang.Integer,java.util.List<CrossClusterTaskRequest>> tasksByShard
-
failedCauseByShard
public java.util.Map<java.lang.Integer,GetTaskFailedCause> failedCauseByShard
-
metaDataMap
public static final java.util.Map<GetCrossClusterTasksResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
GetCrossClusterTasksResponse
public GetCrossClusterTasksResponse()
-
GetCrossClusterTasksResponse
public GetCrossClusterTasksResponse(GetCrossClusterTasksResponse other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public GetCrossClusterTasksResponse deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<GetCrossClusterTasksResponse,GetCrossClusterTasksResponse._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<GetCrossClusterTasksResponse,GetCrossClusterTasksResponse._Fields>
-
getTasksByShardSize
public int getTasksByShardSize()
-
putToTasksByShard
public void putToTasksByShard(int key, java.util.List<CrossClusterTaskRequest> val)
-
getTasksByShard
public java.util.Map<java.lang.Integer,java.util.List<CrossClusterTaskRequest>> getTasksByShard()
-
setTasksByShard
public GetCrossClusterTasksResponse setTasksByShard(java.util.Map<java.lang.Integer,java.util.List<CrossClusterTaskRequest>> tasksByShard)
-
unsetTasksByShard
public void unsetTasksByShard()
-
isSetTasksByShard
public boolean isSetTasksByShard()
Returns true if field tasksByShard is set (has been assigned a value) and false otherwise
-
setTasksByShardIsSet
public void setTasksByShardIsSet(boolean value)
-
getFailedCauseByShardSize
public int getFailedCauseByShardSize()
-
putToFailedCauseByShard
public void putToFailedCauseByShard(int key, GetTaskFailedCause val)
-
getFailedCauseByShard
public java.util.Map<java.lang.Integer,GetTaskFailedCause> getFailedCauseByShard()
-
setFailedCauseByShard
public GetCrossClusterTasksResponse setFailedCauseByShard(java.util.Map<java.lang.Integer,GetTaskFailedCause> failedCauseByShard)
-
unsetFailedCauseByShard
public void unsetFailedCauseByShard()
-
isSetFailedCauseByShard
public boolean isSetFailedCauseByShard()
Returns true if field failedCauseByShard is set (has been assigned a value) and false otherwise
-
setFailedCauseByShardIsSet
public void setFailedCauseByShardIsSet(boolean value)
-
setFieldValue
public void setFieldValue(GetCrossClusterTasksResponse._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<GetCrossClusterTasksResponse,GetCrossClusterTasksResponse._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(GetCrossClusterTasksResponse._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<GetCrossClusterTasksResponse,GetCrossClusterTasksResponse._Fields>
-
isSet
public boolean isSet(GetCrossClusterTasksResponse._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<GetCrossClusterTasksResponse,GetCrossClusterTasksResponse._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(GetCrossClusterTasksResponse that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(GetCrossClusterTasksResponse other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<GetCrossClusterTasksResponse>
-
fieldForId
public GetCrossClusterTasksResponse._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<GetCrossClusterTasksResponse,GetCrossClusterTasksResponse._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<GetCrossClusterTasksResponse,GetCrossClusterTasksResponse._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<GetCrossClusterTasksResponse,GetCrossClusterTasksResponse._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
-
-