Package com.uber.cadence
Class DescribeQueueRequest
- java.lang.Object
-
- com.uber.cadence.DescribeQueueRequest
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<DescribeQueueRequest>
,org.apache.thrift.TBase<DescribeQueueRequest,DescribeQueueRequest._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-05-19") public class DescribeQueueRequest extends java.lang.Object implements org.apache.thrift.TBase<DescribeQueueRequest,DescribeQueueRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<DescribeQueueRequest>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DescribeQueueRequest._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.lang.String
clusterName
static java.util.Map<DescribeQueueRequest._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
int
shardID
int
type
-
Constructor Summary
Constructors Constructor Description DescribeQueueRequest()
DescribeQueueRequest(DescribeQueueRequest other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(DescribeQueueRequest other)
DescribeQueueRequest
deepCopy()
boolean
equals(DescribeQueueRequest that)
boolean
equals(java.lang.Object that)
DescribeQueueRequest._Fields
fieldForId(int fieldId)
java.lang.String
getClusterName()
java.lang.Object
getFieldValue(DescribeQueueRequest._Fields field)
int
getShardID()
int
getType()
int
hashCode()
boolean
isSet(DescribeQueueRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetClusterName()
Returns true if field clusterName is set (has been assigned a value) and false otherwiseboolean
isSetShardID()
Returns true if field shardID is set (has been assigned a value) and false otherwiseboolean
isSetType()
Returns true if field type is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
DescribeQueueRequest
setClusterName(java.lang.String clusterName)
void
setClusterNameIsSet(boolean value)
void
setFieldValue(DescribeQueueRequest._Fields field, java.lang.Object value)
DescribeQueueRequest
setShardID(int shardID)
void
setShardIDIsSet(boolean value)
DescribeQueueRequest
setType(int type)
void
setTypeIsSet(boolean value)
java.lang.String
toString()
void
unsetClusterName()
void
unsetShardID()
void
unsetType()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
shardID
public int shardID
-
clusterName
public java.lang.String clusterName
-
type
public int type
-
metaDataMap
public static final java.util.Map<DescribeQueueRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
DescribeQueueRequest
public DescribeQueueRequest()
-
DescribeQueueRequest
public DescribeQueueRequest(DescribeQueueRequest other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public DescribeQueueRequest deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<DescribeQueueRequest,DescribeQueueRequest._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<DescribeQueueRequest,DescribeQueueRequest._Fields>
-
getShardID
public int getShardID()
-
setShardID
public DescribeQueueRequest setShardID(int shardID)
-
unsetShardID
public void unsetShardID()
-
isSetShardID
public boolean isSetShardID()
Returns true if field shardID is set (has been assigned a value) and false otherwise
-
setShardIDIsSet
public void setShardIDIsSet(boolean value)
-
getClusterName
public java.lang.String getClusterName()
-
setClusterName
public DescribeQueueRequest setClusterName(java.lang.String clusterName)
-
unsetClusterName
public void unsetClusterName()
-
isSetClusterName
public boolean isSetClusterName()
Returns true if field clusterName is set (has been assigned a value) and false otherwise
-
setClusterNameIsSet
public void setClusterNameIsSet(boolean value)
-
getType
public int getType()
-
setType
public DescribeQueueRequest setType(int type)
-
unsetType
public void unsetType()
-
isSetType
public boolean isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
-
setTypeIsSet
public void setTypeIsSet(boolean value)
-
setFieldValue
public void setFieldValue(DescribeQueueRequest._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<DescribeQueueRequest,DescribeQueueRequest._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(DescribeQueueRequest._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<DescribeQueueRequest,DescribeQueueRequest._Fields>
-
isSet
public boolean isSet(DescribeQueueRequest._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<DescribeQueueRequest,DescribeQueueRequest._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(DescribeQueueRequest that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(DescribeQueueRequest other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<DescribeQueueRequest>
-
fieldForId
public DescribeQueueRequest._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<DescribeQueueRequest,DescribeQueueRequest._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<DescribeQueueRequest,DescribeQueueRequest._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<DescribeQueueRequest,DescribeQueueRequest._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
-
-