Class TRoleResp
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TRoleResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TRoleResp>,org.apache.thrift.TBase<TRoleResp,TRoleResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TRoleResp extends Object implements org.apache.thrift.TBase<TRoleResp,TRoleResp._Fields>, Serializable, Cloneable, Comparable<TRoleResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTRoleResp._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<TRoleResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<TPathPrivilege>privilegeListStringroleNameSet<Integer>sysPriSetSet<Integer>sysPriSetGrantOpt
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToPrivilegeList(TPathPrivilege elem)voidaddToSysPriSet(int elem)voidaddToSysPriSetGrantOpt(int elem)voidclear()intcompareTo(TRoleResp other)TRoleRespdeepCopy()booleanequals(Object that)booleanequals(TRoleResp that)TRoleResp._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TRoleResp._Fields field)List<TPathPrivilege>getPrivilegeList()Iterator<TPathPrivilege>getPrivilegeListIterator()intgetPrivilegeListSize()StringgetRoleName()Set<Integer>getSysPriSet()Set<Integer>getSysPriSetGrantOpt()Iterator<Integer>getSysPriSetGrantOptIterator()intgetSysPriSetGrantOptSize()Iterator<Integer>getSysPriSetIterator()intgetSysPriSetSize()inthashCode()booleanisSet(TRoleResp._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetPrivilegeList()Returns true if field privilegeList is set (has been assigned a value) and false otherwisebooleanisSetRoleName()Returns true if field roleName is set (has been assigned a value) and false otherwisebooleanisSetSysPriSet()Returns true if field sysPriSet is set (has been assigned a value) and false otherwisebooleanisSetSysPriSetGrantOpt()Returns true if field sysPriSetGrantOpt is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TRoleResp._Fields field, Object value)TRoleRespsetPrivilegeList(List<TPathPrivilege> privilegeList)voidsetPrivilegeListIsSet(boolean value)TRoleRespsetRoleName(String roleName)voidsetRoleNameIsSet(boolean value)TRoleRespsetSysPriSet(Set<Integer> sysPriSet)TRoleRespsetSysPriSetGrantOpt(Set<Integer> sysPriSetGrantOpt)voidsetSysPriSetGrantOptIsSet(boolean value)voidsetSysPriSetIsSet(boolean value)StringtoString()voidunsetPrivilegeList()voidunsetRoleName()voidunsetSysPriSet()voidunsetSysPriSetGrantOpt()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
roleName
public String roleName
-
privilegeList
public List<TPathPrivilege> privilegeList
-
metaDataMap
public static final Map<TRoleResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Method Detail
-
deepCopy
public TRoleResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TRoleResp,TRoleResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TRoleResp,TRoleResp._Fields>
-
getRoleName
public String getRoleName()
-
unsetRoleName
public void unsetRoleName()
-
isSetRoleName
public boolean isSetRoleName()
Returns true if field roleName is set (has been assigned a value) and false otherwise
-
setRoleNameIsSet
public void setRoleNameIsSet(boolean value)
-
getPrivilegeListSize
public int getPrivilegeListSize()
-
getPrivilegeListIterator
public Iterator<TPathPrivilege> getPrivilegeListIterator()
-
addToPrivilegeList
public void addToPrivilegeList(TPathPrivilege elem)
-
getPrivilegeList
public List<TPathPrivilege> getPrivilegeList()
-
setPrivilegeList
public TRoleResp setPrivilegeList(List<TPathPrivilege> privilegeList)
-
unsetPrivilegeList
public void unsetPrivilegeList()
-
isSetPrivilegeList
public boolean isSetPrivilegeList()
Returns true if field privilegeList is set (has been assigned a value) and false otherwise
-
setPrivilegeListIsSet
public void setPrivilegeListIsSet(boolean value)
-
getSysPriSetSize
public int getSysPriSetSize()
-
addToSysPriSet
public void addToSysPriSet(int elem)
-
unsetSysPriSet
public void unsetSysPriSet()
-
isSetSysPriSet
public boolean isSetSysPriSet()
Returns true if field sysPriSet is set (has been assigned a value) and false otherwise
-
setSysPriSetIsSet
public void setSysPriSetIsSet(boolean value)
-
getSysPriSetGrantOptSize
public int getSysPriSetGrantOptSize()
-
addToSysPriSetGrantOpt
public void addToSysPriSetGrantOpt(int elem)
-
unsetSysPriSetGrantOpt
public void unsetSysPriSetGrantOpt()
-
isSetSysPriSetGrantOpt
public boolean isSetSysPriSetGrantOpt()
Returns true if field sysPriSetGrantOpt is set (has been assigned a value) and false otherwise
-
setSysPriSetGrantOptIsSet
public void setSysPriSetGrantOptIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TRoleResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TRoleResp,TRoleResp._Fields>
-
getFieldValue
public Object getFieldValue(TRoleResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TRoleResp,TRoleResp._Fields>
-
isSet
public boolean isSet(TRoleResp._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<TRoleResp,TRoleResp._Fields>
-
equals
public boolean equals(TRoleResp that)
-
compareTo
public int compareTo(TRoleResp other)
- Specified by:
compareToin interfaceComparable<TRoleResp>
-
fieldForId
public TRoleResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TRoleResp,TRoleResp._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
-
-