public class GetRoleGrantsForPrincipalResponse extends Object implements org.apache.thrift.TBase<GetRoleGrantsForPrincipalResponse,GetRoleGrantsForPrincipalResponse._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
GetRoleGrantsForPrincipalResponse._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<GetRoleGrantsForPrincipalResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
GetRoleGrantsForPrincipalResponse() |
GetRoleGrantsForPrincipalResponse(GetRoleGrantsForPrincipalResponse other)
Performs a deep copy on other.
|
GetRoleGrantsForPrincipalResponse(List<RolePrincipalGrant> principalGrants) |
public static final Map<GetRoleGrantsForPrincipalResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GetRoleGrantsForPrincipalResponse()
public GetRoleGrantsForPrincipalResponse(List<RolePrincipalGrant> principalGrants)
public GetRoleGrantsForPrincipalResponse(GetRoleGrantsForPrincipalResponse other)
public GetRoleGrantsForPrincipalResponse deepCopy()
deepCopy
in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalResponse,GetRoleGrantsForPrincipalResponse._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalResponse,GetRoleGrantsForPrincipalResponse._Fields>
public int getPrincipalGrantsSize()
public Iterator<RolePrincipalGrant> getPrincipalGrantsIterator()
public void addToPrincipalGrants(RolePrincipalGrant elem)
public List<RolePrincipalGrant> getPrincipalGrants()
public void setPrincipalGrants(List<RolePrincipalGrant> principalGrants)
public void unsetPrincipalGrants()
public boolean isSetPrincipalGrants()
public void setPrincipalGrantsIsSet(boolean value)
public void setFieldValue(GetRoleGrantsForPrincipalResponse._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalResponse,GetRoleGrantsForPrincipalResponse._Fields>
public Object getFieldValue(GetRoleGrantsForPrincipalResponse._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalResponse,GetRoleGrantsForPrincipalResponse._Fields>
public boolean isSet(GetRoleGrantsForPrincipalResponse._Fields field)
isSet
in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalResponse,GetRoleGrantsForPrincipalResponse._Fields>
public boolean equals(GetRoleGrantsForPrincipalResponse that)
public int compareTo(GetRoleGrantsForPrincipalResponse other)
compareTo
in interface Comparable<GetRoleGrantsForPrincipalResponse>
public GetRoleGrantsForPrincipalResponse._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalResponse,GetRoleGrantsForPrincipalResponse._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<GetRoleGrantsForPrincipalResponse,GetRoleGrantsForPrincipalResponse._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<GetRoleGrantsForPrincipalResponse,GetRoleGrantsForPrincipalResponse._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.