Class TThrottleQuotaResp
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TThrottleQuotaResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TThrottleQuotaResp>,org.apache.thrift.TBase<TThrottleQuotaResp,TThrottleQuotaResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TThrottleQuotaResp extends Object implements org.apache.thrift.TBase<TThrottleQuotaResp,TThrottleQuotaResp._Fields>, Serializable, Cloneable, Comparable<TThrottleQuotaResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTThrottleQuotaResp._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<TThrottleQuotaResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTSStatusstatusMap<String,TThrottleQuota>throttleQuota
-
Constructor Summary
Constructors Constructor Description TThrottleQuotaResp()TThrottleQuotaResp(TSStatus status)TThrottleQuotaResp(TThrottleQuotaResp other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TThrottleQuotaResp other)TThrottleQuotaRespdeepCopy()booleanequals(Object that)booleanequals(TThrottleQuotaResp that)TThrottleQuotaResp._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TThrottleQuotaResp._Fields field)TSStatusgetStatus()Map<String,TThrottleQuota>getThrottleQuota()intgetThrottleQuotaSize()inthashCode()booleanisSet(TThrottleQuotaResp._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisebooleanisSetThrottleQuota()Returns true if field throttleQuota is set (has been assigned a value) and false otherwisevoidputToThrottleQuota(String key, TThrottleQuota val)voidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TThrottleQuotaResp._Fields field, Object value)TThrottleQuotaRespsetStatus(TSStatus status)voidsetStatusIsSet(boolean value)TThrottleQuotaRespsetThrottleQuota(Map<String,TThrottleQuota> throttleQuota)voidsetThrottleQuotaIsSet(boolean value)StringtoString()voidunsetStatus()voidunsetThrottleQuota()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
status
public TSStatus status
-
throttleQuota
public Map<String,TThrottleQuota> throttleQuota
-
metaDataMap
public static final Map<TThrottleQuotaResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TThrottleQuotaResp
public TThrottleQuotaResp()
-
TThrottleQuotaResp
public TThrottleQuotaResp(TSStatus status)
-
TThrottleQuotaResp
public TThrottleQuotaResp(TThrottleQuotaResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TThrottleQuotaResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TThrottleQuotaResp,TThrottleQuotaResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TThrottleQuotaResp,TThrottleQuotaResp._Fields>
-
getStatus
public TSStatus getStatus()
-
setStatus
public TThrottleQuotaResp setStatus(TSStatus status)
-
unsetStatus
public void unsetStatus()
-
isSetStatus
public boolean isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
-
setStatusIsSet
public void setStatusIsSet(boolean value)
-
getThrottleQuotaSize
public int getThrottleQuotaSize()
-
putToThrottleQuota
public void putToThrottleQuota(String key, TThrottleQuota val)
-
getThrottleQuota
public Map<String,TThrottleQuota> getThrottleQuota()
-
setThrottleQuota
public TThrottleQuotaResp setThrottleQuota(Map<String,TThrottleQuota> throttleQuota)
-
unsetThrottleQuota
public void unsetThrottleQuota()
-
isSetThrottleQuota
public boolean isSetThrottleQuota()
Returns true if field throttleQuota is set (has been assigned a value) and false otherwise
-
setThrottleQuotaIsSet
public void setThrottleQuotaIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TThrottleQuotaResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TThrottleQuotaResp,TThrottleQuotaResp._Fields>
-
getFieldValue
public Object getFieldValue(TThrottleQuotaResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TThrottleQuotaResp,TThrottleQuotaResp._Fields>
-
isSet
public boolean isSet(TThrottleQuotaResp._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TThrottleQuotaResp,TThrottleQuotaResp._Fields>
-
equals
public boolean equals(TThrottleQuotaResp that)
-
compareTo
public int compareTo(TThrottleQuotaResp other)
- Specified by:
compareToin interfaceComparable<TThrottleQuotaResp>
-
fieldForId
public TThrottleQuotaResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TThrottleQuotaResp,TThrottleQuotaResp._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-