Class TSetThrottleQuotaReq
- java.lang.Object
-
- org.apache.iotdb.common.rpc.thrift.TSetThrottleQuotaReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSetThrottleQuotaReq>,org.apache.thrift.TBase<TSetThrottleQuotaReq,TSetThrottleQuotaReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSetThrottleQuotaReq extends Object implements org.apache.thrift.TBase<TSetThrottleQuotaReq,TSetThrottleQuotaReq._Fields>, Serializable, Cloneable, Comparable<TSetThrottleQuotaReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSetThrottleQuotaReq._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<TSetThrottleQuotaReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTThrottleQuotathrottleQuotaStringuserName
-
Constructor Summary
Constructors Constructor Description TSetThrottleQuotaReq()TSetThrottleQuotaReq(String userName, TThrottleQuota throttleQuota)TSetThrottleQuotaReq(TSetThrottleQuotaReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSetThrottleQuotaReq other)TSetThrottleQuotaReqdeepCopy()booleanequals(Object that)booleanequals(TSetThrottleQuotaReq that)TSetThrottleQuotaReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSetThrottleQuotaReq._Fields field)TThrottleQuotagetThrottleQuota()StringgetUserName()inthashCode()booleanisSet(TSetThrottleQuotaReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetThrottleQuota()Returns true if field throttleQuota is set (has been assigned a value) and false otherwisebooleanisSetUserName()Returns true if field userName is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TSetThrottleQuotaReq._Fields field, Object value)TSetThrottleQuotaReqsetThrottleQuota(TThrottleQuota throttleQuota)voidsetThrottleQuotaIsSet(boolean value)TSetThrottleQuotaReqsetUserName(String userName)voidsetUserNameIsSet(boolean value)StringtoString()voidunsetThrottleQuota()voidunsetUserName()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
userName
public String userName
-
throttleQuota
public TThrottleQuota throttleQuota
-
metaDataMap
public static final Map<TSetThrottleQuotaReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSetThrottleQuotaReq
public TSetThrottleQuotaReq()
-
TSetThrottleQuotaReq
public TSetThrottleQuotaReq(String userName, TThrottleQuota throttleQuota)
-
TSetThrottleQuotaReq
public TSetThrottleQuotaReq(TSetThrottleQuotaReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSetThrottleQuotaReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSetThrottleQuotaReq,TSetThrottleQuotaReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSetThrottleQuotaReq,TSetThrottleQuotaReq._Fields>
-
getUserName
public String getUserName()
-
setUserName
public TSetThrottleQuotaReq setUserName(String userName)
-
unsetUserName
public void unsetUserName()
-
isSetUserName
public boolean isSetUserName()
Returns true if field userName is set (has been assigned a value) and false otherwise
-
setUserNameIsSet
public void setUserNameIsSet(boolean value)
-
getThrottleQuota
public TThrottleQuota getThrottleQuota()
-
setThrottleQuota
public TSetThrottleQuotaReq setThrottleQuota(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(TSetThrottleQuotaReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSetThrottleQuotaReq,TSetThrottleQuotaReq._Fields>
-
getFieldValue
public Object getFieldValue(TSetThrottleQuotaReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSetThrottleQuotaReq,TSetThrottleQuotaReq._Fields>
-
isSet
public boolean isSet(TSetThrottleQuotaReq._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<TSetThrottleQuotaReq,TSetThrottleQuotaReq._Fields>
-
equals
public boolean equals(TSetThrottleQuotaReq that)
-
compareTo
public int compareTo(TSetThrottleQuotaReq other)
- Specified by:
compareToin interfaceComparable<TSetThrottleQuotaReq>
-
fieldForId
public TSetThrottleQuotaReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSetThrottleQuotaReq,TSetThrottleQuotaReq._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
-
-