Package org.apache.accumulo.proxy.thrift
Class AccumuloProxy.createLocalUser_args
- java.lang.Object
-
- org.apache.accumulo.proxy.thrift.AccumuloProxy.createLocalUser_args
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<AccumuloProxy.createLocalUser_args>
,org.apache.thrift.TBase<AccumuloProxy.createLocalUser_args,AccumuloProxy.createLocalUser_args._Fields>
- Enclosing class:
- AccumuloProxy
public static class AccumuloProxy.createLocalUser_args extends Object implements org.apache.thrift.TBase<AccumuloProxy.createLocalUser_args,AccumuloProxy.createLocalUser_args._Fields>, Serializable, Cloneable, Comparable<AccumuloProxy.createLocalUser_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccumuloProxy.createLocalUser_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description ByteBuffer
login
static Map<AccumuloProxy.createLocalUser_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
ByteBuffer
password
String
user
-
Constructor Summary
Constructors Constructor Description createLocalUser_args()
createLocalUser_args(ByteBuffer login, String user, ByteBuffer password)
createLocalUser_args(AccumuloProxy.createLocalUser_args other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBuffer
bufferForLogin()
ByteBuffer
bufferForPassword()
void
clear()
int
compareTo(AccumuloProxy.createLocalUser_args other)
AccumuloProxy.createLocalUser_args
deepCopy()
boolean
equals(Object that)
boolean
equals(AccumuloProxy.createLocalUser_args that)
AccumuloProxy.createLocalUser_args._Fields
fieldForId(int fieldId)
Object
getFieldValue(AccumuloProxy.createLocalUser_args._Fields field)
byte[]
getLogin()
byte[]
getPassword()
String
getUser()
int
hashCode()
boolean
isSet(AccumuloProxy.createLocalUser_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetLogin()
Returns true if field login is set (has been assigned a value) and false otherwiseboolean
isSetPassword()
Returns true if field password is set (has been assigned a value) and false otherwiseboolean
isSetUser()
Returns true if field user is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(AccumuloProxy.createLocalUser_args._Fields field, Object value)
AccumuloProxy.createLocalUser_args
setLogin(byte[] login)
AccumuloProxy.createLocalUser_args
setLogin(ByteBuffer login)
void
setLoginIsSet(boolean value)
AccumuloProxy.createLocalUser_args
setPassword(byte[] password)
AccumuloProxy.createLocalUser_args
setPassword(ByteBuffer password)
void
setPasswordIsSet(boolean value)
AccumuloProxy.createLocalUser_args
setUser(String user)
void
setUserIsSet(boolean value)
String
toString()
void
unsetLogin()
void
unsetPassword()
void
unsetUser()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
login
public ByteBuffer login
-
user
public String user
-
password
public ByteBuffer password
-
metaDataMap
public static final Map<AccumuloProxy.createLocalUser_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
createLocalUser_args
public createLocalUser_args()
-
createLocalUser_args
public createLocalUser_args(ByteBuffer login, String user, ByteBuffer password)
-
createLocalUser_args
public createLocalUser_args(AccumuloProxy.createLocalUser_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public AccumuloProxy.createLocalUser_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<AccumuloProxy.createLocalUser_args,AccumuloProxy.createLocalUser_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<AccumuloProxy.createLocalUser_args,AccumuloProxy.createLocalUser_args._Fields>
-
getLogin
public byte[] getLogin()
-
bufferForLogin
public ByteBuffer bufferForLogin()
-
setLogin
public AccumuloProxy.createLocalUser_args setLogin(byte[] login)
-
setLogin
public AccumuloProxy.createLocalUser_args setLogin(ByteBuffer login)
-
unsetLogin
public void unsetLogin()
-
isSetLogin
public boolean isSetLogin()
Returns true if field login is set (has been assigned a value) and false otherwise
-
setLoginIsSet
public void setLoginIsSet(boolean value)
-
getUser
public String getUser()
-
setUser
public AccumuloProxy.createLocalUser_args setUser(String user)
-
unsetUser
public void unsetUser()
-
isSetUser
public boolean isSetUser()
Returns true if field user is set (has been assigned a value) and false otherwise
-
setUserIsSet
public void setUserIsSet(boolean value)
-
getPassword
public byte[] getPassword()
-
bufferForPassword
public ByteBuffer bufferForPassword()
-
setPassword
public AccumuloProxy.createLocalUser_args setPassword(byte[] password)
-
setPassword
public AccumuloProxy.createLocalUser_args setPassword(ByteBuffer password)
-
unsetPassword
public void unsetPassword()
-
isSetPassword
public boolean isSetPassword()
Returns true if field password is set (has been assigned a value) and false otherwise
-
setPasswordIsSet
public void setPasswordIsSet(boolean value)
-
setFieldValue
public void setFieldValue(AccumuloProxy.createLocalUser_args._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<AccumuloProxy.createLocalUser_args,AccumuloProxy.createLocalUser_args._Fields>
-
getFieldValue
public Object getFieldValue(AccumuloProxy.createLocalUser_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<AccumuloProxy.createLocalUser_args,AccumuloProxy.createLocalUser_args._Fields>
-
isSet
public boolean isSet(AccumuloProxy.createLocalUser_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<AccumuloProxy.createLocalUser_args,AccumuloProxy.createLocalUser_args._Fields>
-
equals
public boolean equals(AccumuloProxy.createLocalUser_args that)
-
compareTo
public int compareTo(AccumuloProxy.createLocalUser_args other)
- Specified by:
compareTo
in interfaceComparable<AccumuloProxy.createLocalUser_args>
-
fieldForId
public AccumuloProxy.createLocalUser_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<AccumuloProxy.createLocalUser_args,AccumuloProxy.createLocalUser_args._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<AccumuloProxy.createLocalUser_args,AccumuloProxy.createLocalUser_args._Fields>
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TBase<AccumuloProxy.createLocalUser_args,AccumuloProxy.createLocalUser_args._Fields>
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-