org.apache.accumulo.core.client.impl.thrift
public static class ClientService.changeAuthorizations_args extends Object implements org.apache.thrift.TBase<ClientService.changeAuthorizations_args,ClientService.changeAuthorizations_args._Fields>, Serializable, Cloneable, Comparable<ClientService.changeAuthorizations_args>
Modifier and Type | Class and Description |
---|---|
static class |
ClientService.changeAuthorizations_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
List<ByteBuffer> |
authorizations |
TCredentials |
credentials |
static Map<ClientService.changeAuthorizations_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
principal |
TInfo |
tinfo |
Constructor and Description |
---|
ClientService.changeAuthorizations_args() |
ClientService.changeAuthorizations_args(ClientService.changeAuthorizations_args other)
Performs a deep copy on other.
|
ClientService.changeAuthorizations_args(TInfo tinfo,
TCredentials credentials,
String principal,
List<ByteBuffer> authorizations) |
public TInfo tinfo
public TCredentials credentials
public String principal
public List<ByteBuffer> authorizations
public static final Map<ClientService.changeAuthorizations_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ClientService.changeAuthorizations_args()
public ClientService.changeAuthorizations_args(TInfo tinfo, TCredentials credentials, String principal, List<ByteBuffer> authorizations)
public ClientService.changeAuthorizations_args(ClientService.changeAuthorizations_args other)
public ClientService.changeAuthorizations_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ClientService.changeAuthorizations_args,ClientService.changeAuthorizations_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ClientService.changeAuthorizations_args,ClientService.changeAuthorizations_args._Fields>
public TInfo getTinfo()
public ClientService.changeAuthorizations_args setTinfo(TInfo tinfo)
public void unsetTinfo()
public boolean isSetTinfo()
public void setTinfoIsSet(boolean value)
public TCredentials getCredentials()
public ClientService.changeAuthorizations_args setCredentials(TCredentials credentials)
public void unsetCredentials()
public boolean isSetCredentials()
public void setCredentialsIsSet(boolean value)
public String getPrincipal()
public ClientService.changeAuthorizations_args setPrincipal(String principal)
public void unsetPrincipal()
public boolean isSetPrincipal()
public void setPrincipalIsSet(boolean value)
public int getAuthorizationsSize()
public Iterator<ByteBuffer> getAuthorizationsIterator()
public void addToAuthorizations(ByteBuffer elem)
public List<ByteBuffer> getAuthorizations()
public ClientService.changeAuthorizations_args setAuthorizations(List<ByteBuffer> authorizations)
public void unsetAuthorizations()
public boolean isSetAuthorizations()
public void setAuthorizationsIsSet(boolean value)
public void setFieldValue(ClientService.changeAuthorizations_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ClientService.changeAuthorizations_args,ClientService.changeAuthorizations_args._Fields>
public Object getFieldValue(ClientService.changeAuthorizations_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ClientService.changeAuthorizations_args,ClientService.changeAuthorizations_args._Fields>
public boolean isSet(ClientService.changeAuthorizations_args._Fields field)
isSet
in interface org.apache.thrift.TBase<ClientService.changeAuthorizations_args,ClientService.changeAuthorizations_args._Fields>
public boolean equals(ClientService.changeAuthorizations_args that)
public int compareTo(ClientService.changeAuthorizations_args other)
compareTo
in interface Comparable<ClientService.changeAuthorizations_args>
public ClientService.changeAuthorizations_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ClientService.changeAuthorizations_args,ClientService.changeAuthorizations_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ClientService.changeAuthorizations_args,ClientService.changeAuthorizations_args._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<ClientService.changeAuthorizations_args,ClientService.changeAuthorizations_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.