public class AuthenticationRequest extends java.lang.Object implements org.apache.thrift.TBase<AuthenticationRequest,AuthenticationRequest._Fields>, java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthenticationRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
credentials |
static java.util.Map<AuthenticationRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
AuthenticationRequest() |
AuthenticationRequest(AuthenticationRequest other)
Performs a deep copy on other.
|
AuthenticationRequest(java.util.Map<java.lang.String,java.lang.String> credentials) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just
called the default constructor.
|
int |
compareTo(AuthenticationRequest other) |
AuthenticationRequest |
deepCopy() |
boolean |
equals(AuthenticationRequest that) |
boolean |
equals(java.lang.Object that) |
AuthenticationRequest._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId.
|
java.util.Map<java.lang.String,java.lang.String> |
getCredentials() |
int |
getCredentialsSize() |
java.lang.Object |
getFieldValue(AuthenticationRequest._Fields field)
Get a field's value by field variable.
|
int |
hashCode() |
boolean |
isSet(AuthenticationRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCredentials()
Returns true if field credentials is set (has been assigned a value) and false otherwise
|
void |
putToCredentials(java.lang.String key,
java.lang.String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
AuthenticationRequest |
setCredentials(java.util.Map<java.lang.String,java.lang.String> credentials) |
void |
setCredentialsIsSet(boolean value) |
void |
setFieldValue(AuthenticationRequest._Fields field,
java.lang.Object value)
Set a field's value by field variable.
|
java.lang.String |
toString() |
void |
unsetCredentials() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public java.util.Map<java.lang.String,java.lang.String> credentials
public static final java.util.Map<AuthenticationRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public AuthenticationRequest()
public AuthenticationRequest(java.util.Map<java.lang.String,java.lang.String> credentials)
public AuthenticationRequest(AuthenticationRequest other)
public AuthenticationRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<AuthenticationRequest,AuthenticationRequest._Fields>public void clear()
org.apache.thrift.TBaseclear in interface org.apache.thrift.TBase<AuthenticationRequest,AuthenticationRequest._Fields>public int getCredentialsSize()
public void putToCredentials(java.lang.String key,
java.lang.String val)
public java.util.Map<java.lang.String,java.lang.String> getCredentials()
public AuthenticationRequest setCredentials(java.util.Map<java.lang.String,java.lang.String> credentials)
public void unsetCredentials()
public boolean isSetCredentials()
public void setCredentialsIsSet(boolean value)
public void setFieldValue(AuthenticationRequest._Fields field, java.lang.Object value)
org.apache.thrift.TBasesetFieldValue in interface org.apache.thrift.TBase<AuthenticationRequest,AuthenticationRequest._Fields>public java.lang.Object getFieldValue(AuthenticationRequest._Fields field)
org.apache.thrift.TBasegetFieldValue in interface org.apache.thrift.TBase<AuthenticationRequest,AuthenticationRequest._Fields>public boolean isSet(AuthenticationRequest._Fields field)
isSet in interface org.apache.thrift.TBase<AuthenticationRequest,AuthenticationRequest._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(AuthenticationRequest that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(AuthenticationRequest other)
compareTo in interface java.lang.Comparable<AuthenticationRequest>public AuthenticationRequest._Fields fieldForId(int fieldId)
org.apache.thrift.TBasefieldForId in interface org.apache.thrift.TBase<AuthenticationRequest,AuthenticationRequest._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
org.apache.thrift.TBaseread in interface org.apache.thrift.TBase<AuthenticationRequest,AuthenticationRequest._Fields>iprot - Input protocolorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
org.apache.thrift.TBasewrite in interface org.apache.thrift.TBase<AuthenticationRequest,AuthenticationRequest._Fields>oprot - Output protocolorg.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2014 The Apache Software Foundation