public class GetPrincipalsInRoleResponse extends Object implements org.apache.thrift.TBase<GetPrincipalsInRoleResponse,GetPrincipalsInRoleResponse._Fields>, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
GetPrincipalsInRoleResponse._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<GetPrincipalsInRoleResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
GetPrincipalsInRoleResponse() |
GetPrincipalsInRoleResponse(GetPrincipalsInRoleResponse other)
Performs a deep copy on other.
|
GetPrincipalsInRoleResponse(List<RolePrincipalGrant> principalGrants) |
public static final Map<GetPrincipalsInRoleResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GetPrincipalsInRoleResponse()
public GetPrincipalsInRoleResponse(List<RolePrincipalGrant> principalGrants)
public GetPrincipalsInRoleResponse(GetPrincipalsInRoleResponse other)
public GetPrincipalsInRoleResponse deepCopy()
deepCopy in interface org.apache.thrift.TBase<GetPrincipalsInRoleResponse,GetPrincipalsInRoleResponse._Fields>public void clear()
clear in interface org.apache.thrift.TBase<GetPrincipalsInRoleResponse,GetPrincipalsInRoleResponse._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(GetPrincipalsInRoleResponse._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<GetPrincipalsInRoleResponse,GetPrincipalsInRoleResponse._Fields>public Object getFieldValue(GetPrincipalsInRoleResponse._Fields field)
getFieldValue in interface org.apache.thrift.TBase<GetPrincipalsInRoleResponse,GetPrincipalsInRoleResponse._Fields>public boolean isSet(GetPrincipalsInRoleResponse._Fields field)
isSet in interface org.apache.thrift.TBase<GetPrincipalsInRoleResponse,GetPrincipalsInRoleResponse._Fields>public boolean equals(GetPrincipalsInRoleResponse that)
public int compareTo(GetPrincipalsInRoleResponse other)
compareTo in interface Comparable<GetPrincipalsInRoleResponse>public GetPrincipalsInRoleResponse._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<GetPrincipalsInRoleResponse,GetPrincipalsInRoleResponse._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<GetPrincipalsInRoleResponse,GetPrincipalsInRoleResponse._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<GetPrincipalsInRoleResponse,GetPrincipalsInRoleResponse._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.