public class AuthenticationRequest extends java.lang.Object implements org.apache.thrift.TBase<AuthenticationRequest,AuthenticationRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<AuthenticationRequest>
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() |
int |
compareTo(AuthenticationRequest other) |
AuthenticationRequest |
deepCopy() |
boolean |
equals(AuthenticationRequest that) |
boolean |
equals(java.lang.Object that) |
AuthenticationRequest._Fields |
fieldForId(int fieldId) |
java.util.Map<java.lang.String,java.lang.String> |
getCredentials() |
int |
getCredentialsSize() |
java.lang.Object |
getFieldValue(AuthenticationRequest._Fields field) |
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) |
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) |
java.lang.String |
toString() |
void |
unsetCredentials() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
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()
clear
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)
setFieldValue
in interface org.apache.thrift.TBase<AuthenticationRequest,AuthenticationRequest._Fields>
public java.lang.Object getFieldValue(AuthenticationRequest._Fields field)
getFieldValue
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.Object
public boolean equals(AuthenticationRequest that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(AuthenticationRequest other)
compareTo
in interface java.lang.Comparable<AuthenticationRequest>
public AuthenticationRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<AuthenticationRequest,AuthenticationRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<AuthenticationRequest,AuthenticationRequest._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<AuthenticationRequest,AuthenticationRequest._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2020 The Apache Software Foundation