Package ai.heavy.thrift.server
Class Heavy.has_object_privilege_args
- java.lang.Object
-
- ai.heavy.thrift.server.Heavy.has_object_privilege_args
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Heavy.has_object_privilege_args>,org.apache.thrift.TBase<Heavy.has_object_privilege_args,Heavy.has_object_privilege_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- Heavy
public static class Heavy.has_object_privilege_args extends Object implements org.apache.thrift.TBase<Heavy.has_object_privilege_args,Heavy.has_object_privilege_args._Fields>, Serializable, Cloneable, Comparable<Heavy.has_object_privilege_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHeavy.has_object_privilege_args._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description StringgranteeNamestatic Map<Heavy.has_object_privilege_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringObjectNameTDBObjectTypeobjectTypeTDBObjectPermissionspermissionsStringsession
-
Constructor Summary
Constructors Constructor Description has_object_privilege_args()has_object_privilege_args(Heavy.has_object_privilege_args other)Performs a deep copy on other.has_object_privilege_args(String session, String granteeName, String ObjectName, TDBObjectType objectType, TDBObjectPermissions permissions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(Heavy.has_object_privilege_args other)Heavy.has_object_privilege_argsdeepCopy()booleanequals(Heavy.has_object_privilege_args that)booleanequals(Object that)Heavy.has_object_privilege_args._FieldsfieldForId(int fieldId)ObjectgetFieldValue(Heavy.has_object_privilege_args._Fields field)StringgetGranteeName()StringgetObjectName()TDBObjectTypegetObjectType()TDBObjectPermissionsgetPermissions()StringgetSession()inthashCode()booleanisSet(Heavy.has_object_privilege_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetGranteeName()Returns true if field granteeName is set (has been assigned a value) and false otherwisebooleanisSetObjectName()Returns true if field ObjectName is set (has been assigned a value) and false otherwisebooleanisSetObjectType()Returns true if field objectType is set (has been assigned a value) and false otherwisebooleanisSetPermissions()Returns true if field permissions is set (has been assigned a value) and false otherwisebooleanisSetSession()Returns true if field session is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(Heavy.has_object_privilege_args._Fields field, Object value)Heavy.has_object_privilege_argssetGranteeName(String granteeName)voidsetGranteeNameIsSet(boolean value)Heavy.has_object_privilege_argssetObjectName(String ObjectName)voidsetObjectNameIsSet(boolean value)Heavy.has_object_privilege_argssetObjectType(TDBObjectType objectType)voidsetObjectTypeIsSet(boolean value)Heavy.has_object_privilege_argssetPermissions(TDBObjectPermissions permissions)voidsetPermissionsIsSet(boolean value)Heavy.has_object_privilege_argssetSession(String session)voidsetSessionIsSet(boolean value)StringtoString()voidunsetGranteeName()voidunsetObjectName()voidunsetObjectType()voidunsetPermissions()voidunsetSession()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
session
public String session
-
granteeName
public String granteeName
-
ObjectName
public String ObjectName
-
objectType
public TDBObjectType objectType
- See Also:
TDBObjectType
-
permissions
public TDBObjectPermissions permissions
-
metaDataMap
public static final Map<Heavy.has_object_privilege_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
has_object_privilege_args
public has_object_privilege_args()
-
has_object_privilege_args
public has_object_privilege_args(String session, String granteeName, String ObjectName, TDBObjectType objectType, TDBObjectPermissions permissions)
-
has_object_privilege_args
public has_object_privilege_args(Heavy.has_object_privilege_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Heavy.has_object_privilege_args deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Heavy.has_object_privilege_args,Heavy.has_object_privilege_args._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<Heavy.has_object_privilege_args,Heavy.has_object_privilege_args._Fields>
-
getSession
public String getSession()
-
setSession
public Heavy.has_object_privilege_args setSession(String session)
-
unsetSession
public void unsetSession()
-
isSetSession
public boolean isSetSession()
Returns true if field session is set (has been assigned a value) and false otherwise
-
setSessionIsSet
public void setSessionIsSet(boolean value)
-
getGranteeName
public String getGranteeName()
-
setGranteeName
public Heavy.has_object_privilege_args setGranteeName(String granteeName)
-
unsetGranteeName
public void unsetGranteeName()
-
isSetGranteeName
public boolean isSetGranteeName()
Returns true if field granteeName is set (has been assigned a value) and false otherwise
-
setGranteeNameIsSet
public void setGranteeNameIsSet(boolean value)
-
getObjectName
public String getObjectName()
-
setObjectName
public Heavy.has_object_privilege_args setObjectName(String ObjectName)
-
unsetObjectName
public void unsetObjectName()
-
isSetObjectName
public boolean isSetObjectName()
Returns true if field ObjectName is set (has been assigned a value) and false otherwise
-
setObjectNameIsSet
public void setObjectNameIsSet(boolean value)
-
getObjectType
public TDBObjectType getObjectType()
- See Also:
TDBObjectType
-
setObjectType
public Heavy.has_object_privilege_args setObjectType(TDBObjectType objectType)
- See Also:
TDBObjectType
-
unsetObjectType
public void unsetObjectType()
-
isSetObjectType
public boolean isSetObjectType()
Returns true if field objectType is set (has been assigned a value) and false otherwise
-
setObjectTypeIsSet
public void setObjectTypeIsSet(boolean value)
-
getPermissions
public TDBObjectPermissions getPermissions()
-
setPermissions
public Heavy.has_object_privilege_args setPermissions(TDBObjectPermissions permissions)
-
unsetPermissions
public void unsetPermissions()
-
isSetPermissions
public boolean isSetPermissions()
Returns true if field permissions is set (has been assigned a value) and false otherwise
-
setPermissionsIsSet
public void setPermissionsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(Heavy.has_object_privilege_args._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Heavy.has_object_privilege_args,Heavy.has_object_privilege_args._Fields>
-
getFieldValue
public Object getFieldValue(Heavy.has_object_privilege_args._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Heavy.has_object_privilege_args,Heavy.has_object_privilege_args._Fields>
-
isSet
public boolean isSet(Heavy.has_object_privilege_args._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<Heavy.has_object_privilege_args,Heavy.has_object_privilege_args._Fields>
-
equals
public boolean equals(Heavy.has_object_privilege_args that)
-
compareTo
public int compareTo(Heavy.has_object_privilege_args other)
- Specified by:
compareToin interfaceComparable<Heavy.has_object_privilege_args>
-
fieldForId
public Heavy.has_object_privilege_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Heavy.has_object_privilege_args,Heavy.has_object_privilege_args._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
-
-