public class TAlterSentryRoleAddGroupsResponse extends Object implements org.apache.thrift.TBase<TAlterSentryRoleAddGroupsResponse,TAlterSentryRoleAddGroupsResponse._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TAlterSentryRoleAddGroupsResponse._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<TAlterSentryRoleAddGroupsResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TAlterSentryRoleAddGroupsResponse() |
TAlterSentryRoleAddGroupsResponse(TAlterSentryRoleAddGroupsResponse other)
Performs a deep copy on other.
|
TAlterSentryRoleAddGroupsResponse(TSentryResponseStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TAlterSentryRoleAddGroupsResponse other) |
TAlterSentryRoleAddGroupsResponse |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TAlterSentryRoleAddGroupsResponse that) |
TAlterSentryRoleAddGroupsResponse._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TAlterSentryRoleAddGroupsResponse._Fields field) |
TSentryResponseStatus |
getStatus() |
int |
hashCode() |
boolean |
isSet(TAlterSentryRoleAddGroupsResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TAlterSentryRoleAddGroupsResponse._Fields field,
Object value) |
void |
setStatus(TSentryResponseStatus status) |
void |
setStatusIsSet(boolean value) |
String |
toString() |
void |
unsetStatus() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TAlterSentryRoleAddGroupsResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TAlterSentryRoleAddGroupsResponse()
public TAlterSentryRoleAddGroupsResponse(TSentryResponseStatus status)
public TAlterSentryRoleAddGroupsResponse(TAlterSentryRoleAddGroupsResponse other)
public TAlterSentryRoleAddGroupsResponse deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TAlterSentryRoleAddGroupsResponse,TAlterSentryRoleAddGroupsResponse._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TAlterSentryRoleAddGroupsResponse,TAlterSentryRoleAddGroupsResponse._Fields>
public TSentryResponseStatus getStatus()
public void setStatus(TSentryResponseStatus status)
public void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean value)
public void setFieldValue(TAlterSentryRoleAddGroupsResponse._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TAlterSentryRoleAddGroupsResponse,TAlterSentryRoleAddGroupsResponse._Fields>
public Object getFieldValue(TAlterSentryRoleAddGroupsResponse._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TAlterSentryRoleAddGroupsResponse,TAlterSentryRoleAddGroupsResponse._Fields>
public boolean isSet(TAlterSentryRoleAddGroupsResponse._Fields field)
isSet
in interface org.apache.thrift.TBase<TAlterSentryRoleAddGroupsResponse,TAlterSentryRoleAddGroupsResponse._Fields>
public boolean equals(TAlterSentryRoleAddGroupsResponse that)
public int compareTo(TAlterSentryRoleAddGroupsResponse other)
compareTo
in interface Comparable<TAlterSentryRoleAddGroupsResponse>
public TAlterSentryRoleAddGroupsResponse._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TAlterSentryRoleAddGroupsResponse,TAlterSentryRoleAddGroupsResponse._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TAlterSentryRoleAddGroupsResponse,TAlterSentryRoleAddGroupsResponse._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<TAlterSentryRoleAddGroupsResponse,TAlterSentryRoleAddGroupsResponse._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015 Cloudera. All rights reserved.