public class GetRoleGrantsForPrincipalRequest extends Object implements org.apache.thrift.TBase<GetRoleGrantsForPrincipalRequest,GetRoleGrantsForPrincipalRequest._Fields>, Serializable, Cloneable
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 Map<GetRoleGrantsForPrincipalRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
GetRoleGrantsForPrincipalRequest() |
GetRoleGrantsForPrincipalRequest(GetRoleGrantsForPrincipalRequest other)
Performs a deep copy on other.
|
GetRoleGrantsForPrincipalRequest(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(Object that) |
GetRoleGrantsForPrincipalRequest._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(GetRoleGrantsForPrincipalRequest._Fields field) |
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,
Object value) |
void |
setPrincipal_name(String principal_name) |
void |
setPrincipal_nameIsSet(boolean value) |
void |
setPrincipal_type(PrincipalType principal_type) |
void |
setPrincipal_typeIsSet(boolean value) |
String |
toString() |
void |
unsetPrincipal_name() |
void |
unsetPrincipal_type() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<GetRoleGrantsForPrincipalRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GetRoleGrantsForPrincipalRequest()
public GetRoleGrantsForPrincipalRequest(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 String getPrincipal_name()
public void setPrincipal_name(String principal_name)
public void unsetPrincipal_name()
public boolean isSetPrincipal_name()
public void setPrincipal_nameIsSet(boolean value)
public PrincipalType getPrincipal_type()
PrincipalType
public void setPrincipal_type(PrincipalType principal_type)
PrincipalType
public void unsetPrincipal_type()
public boolean isSetPrincipal_type()
public void setPrincipal_typeIsSet(boolean value)
public void setFieldValue(GetRoleGrantsForPrincipalRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalRequest,GetRoleGrantsForPrincipalRequest._Fields>
public 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(GetRoleGrantsForPrincipalRequest that)
public int compareTo(GetRoleGrantsForPrincipalRequest other)
compareTo
in interface 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.TException
public 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.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.