public class TListSentryPrivilegesForProviderRequest extends Object implements org.apache.thrift.TBase<TListSentryPrivilegesForProviderRequest,TListSentryPrivilegesForProviderRequest._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TListSentryPrivilegesForProviderRequest._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<TListSentryPrivilegesForProviderRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TListSentryPrivilegesForProviderRequest() |
TListSentryPrivilegesForProviderRequest(int protocol_version,
Set<String> groups,
TSentryActiveRoleSet roleSet) |
TListSentryPrivilegesForProviderRequest(TListSentryPrivilegesForProviderRequest other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToGroups(String elem) |
void |
clear() |
int |
compareTo(TListSentryPrivilegesForProviderRequest other) |
TListSentryPrivilegesForProviderRequest |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TListSentryPrivilegesForProviderRequest that) |
TListSentryPrivilegesForProviderRequest._Fields |
fieldForId(int fieldId) |
TSentryAuthorizable |
getAuthorizableHierarchy() |
Object |
getFieldValue(TListSentryPrivilegesForProviderRequest._Fields field) |
Set<String> |
getGroups() |
Iterator<String> |
getGroupsIterator() |
int |
getGroupsSize() |
int |
getProtocol_version() |
TSentryActiveRoleSet |
getRoleSet() |
int |
hashCode() |
boolean |
isSet(TListSentryPrivilegesForProviderRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAuthorizableHierarchy()
Returns true if field authorizableHierarchy is set (has been assigned a value) and false otherwise
|
boolean |
isSetGroups()
Returns true if field groups is set (has been assigned a value) and false otherwise
|
boolean |
isSetProtocol_version()
Returns true if field protocol_version is set (has been assigned a value) and false otherwise
|
boolean |
isSetRoleSet()
Returns true if field roleSet is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setAuthorizableHierarchy(TSentryAuthorizable authorizableHierarchy) |
void |
setAuthorizableHierarchyIsSet(boolean value) |
void |
setFieldValue(TListSentryPrivilegesForProviderRequest._Fields field,
Object value) |
void |
setGroups(Set<String> groups) |
void |
setGroupsIsSet(boolean value) |
void |
setProtocol_version(int protocol_version) |
void |
setProtocol_versionIsSet(boolean value) |
void |
setRoleSet(TSentryActiveRoleSet roleSet) |
void |
setRoleSetIsSet(boolean value) |
String |
toString() |
void |
unsetAuthorizableHierarchy() |
void |
unsetGroups() |
void |
unsetProtocol_version() |
void |
unsetRoleSet() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TListSentryPrivilegesForProviderRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TListSentryPrivilegesForProviderRequest()
public TListSentryPrivilegesForProviderRequest(int protocol_version, Set<String> groups, TSentryActiveRoleSet roleSet)
public TListSentryPrivilegesForProviderRequest(TListSentryPrivilegesForProviderRequest other)
public TListSentryPrivilegesForProviderRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TListSentryPrivilegesForProviderRequest,TListSentryPrivilegesForProviderRequest._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TListSentryPrivilegesForProviderRequest,TListSentryPrivilegesForProviderRequest._Fields>
public int getProtocol_version()
public void setProtocol_version(int protocol_version)
public void unsetProtocol_version()
public boolean isSetProtocol_version()
public void setProtocol_versionIsSet(boolean value)
public int getGroupsSize()
public void addToGroups(String elem)
public void unsetGroups()
public boolean isSetGroups()
public void setGroupsIsSet(boolean value)
public TSentryActiveRoleSet getRoleSet()
public void setRoleSet(TSentryActiveRoleSet roleSet)
public void unsetRoleSet()
public boolean isSetRoleSet()
public void setRoleSetIsSet(boolean value)
public TSentryAuthorizable getAuthorizableHierarchy()
public void setAuthorizableHierarchy(TSentryAuthorizable authorizableHierarchy)
public void unsetAuthorizableHierarchy()
public boolean isSetAuthorizableHierarchy()
public void setAuthorizableHierarchyIsSet(boolean value)
public void setFieldValue(TListSentryPrivilegesForProviderRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TListSentryPrivilegesForProviderRequest,TListSentryPrivilegesForProviderRequest._Fields>
public Object getFieldValue(TListSentryPrivilegesForProviderRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TListSentryPrivilegesForProviderRequest,TListSentryPrivilegesForProviderRequest._Fields>
public boolean isSet(TListSentryPrivilegesForProviderRequest._Fields field)
isSet
in interface org.apache.thrift.TBase<TListSentryPrivilegesForProviderRequest,TListSentryPrivilegesForProviderRequest._Fields>
public boolean equals(TListSentryPrivilegesForProviderRequest that)
public int compareTo(TListSentryPrivilegesForProviderRequest other)
compareTo
in interface Comparable<TListSentryPrivilegesForProviderRequest>
public TListSentryPrivilegesForProviderRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TListSentryPrivilegesForProviderRequest,TListSentryPrivilegesForProviderRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TListSentryPrivilegesForProviderRequest,TListSentryPrivilegesForProviderRequest._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<TListSentryPrivilegesForProviderRequest,TListSentryPrivilegesForProviderRequest._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015 Cloudera. All rights reserved.