@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class GetRoleGrantsForPrincipalRequest extends java.lang.Object implements org.apache.thrift.TBase<GetRoleGrantsForPrincipalRequest,GetRoleGrantsForPrincipalRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<GetRoleGrantsForPrincipalRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
GetRoleGrantsForPrincipalRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<GetRoleGrantsForPrincipalRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
GetRoleGrantsForPrincipalRequest() |
GetRoleGrantsForPrincipalRequest(GetRoleGrantsForPrincipalRequest other)
Performs a deep copy on other.
|
GetRoleGrantsForPrincipalRequest(java.lang.String principal_name,
PrincipalType principal_type) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(GetRoleGrantsForPrincipalRequest other) |
GetRoleGrantsForPrincipalRequest |
deepCopy() |
boolean |
equals(GetRoleGrantsForPrincipalRequest that) |
boolean |
equals(java.lang.Object that) |
GetRoleGrantsForPrincipalRequest._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(GetRoleGrantsForPrincipalRequest._Fields field) |
java.lang.String |
getPrincipal_name() |
PrincipalType |
getPrincipal_type() |
int |
hashCode() |
boolean |
isSet(GetRoleGrantsForPrincipalRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrincipal_name()
Returns true if field principal_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrincipal_type()
Returns true if field principal_type is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(GetRoleGrantsForPrincipalRequest._Fields field,
java.lang.Object value) |
void |
setPrincipal_name(java.lang.String principal_name) |
void |
setPrincipal_nameIsSet(boolean value) |
void |
setPrincipal_type(PrincipalType principal_type) |
void |
setPrincipal_typeIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetPrincipal_name() |
void |
unsetPrincipal_type() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<GetRoleGrantsForPrincipalRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GetRoleGrantsForPrincipalRequest()
public GetRoleGrantsForPrincipalRequest(java.lang.String principal_name,
PrincipalType principal_type)
public GetRoleGrantsForPrincipalRequest(GetRoleGrantsForPrincipalRequest other)
public GetRoleGrantsForPrincipalRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalRequest,GetRoleGrantsForPrincipalRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalRequest,GetRoleGrantsForPrincipalRequest._Fields>public java.lang.String getPrincipal_name()
public void setPrincipal_name(java.lang.String principal_name)
public void unsetPrincipal_name()
public boolean isSetPrincipal_name()
public void setPrincipal_nameIsSet(boolean value)
public PrincipalType getPrincipal_type()
PrincipalTypepublic void setPrincipal_type(PrincipalType principal_type)
PrincipalTypepublic void unsetPrincipal_type()
public boolean isSetPrincipal_type()
public void setPrincipal_typeIsSet(boolean value)
public void setFieldValue(GetRoleGrantsForPrincipalRequest._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalRequest,GetRoleGrantsForPrincipalRequest._Fields>public java.lang.Object getFieldValue(GetRoleGrantsForPrincipalRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalRequest,GetRoleGrantsForPrincipalRequest._Fields>public boolean isSet(GetRoleGrantsForPrincipalRequest._Fields field)
isSet in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalRequest,GetRoleGrantsForPrincipalRequest._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(GetRoleGrantsForPrincipalRequest that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(GetRoleGrantsForPrincipalRequest other)
compareTo in interface java.lang.Comparable<GetRoleGrantsForPrincipalRequest>public GetRoleGrantsForPrincipalRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalRequest,GetRoleGrantsForPrincipalRequest._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalRequest,GetRoleGrantsForPrincipalRequest._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalRequest,GetRoleGrantsForPrincipalRequest._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2013-2021. All Rights Reserved.