@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class Credentials extends Object implements org.apache.thrift.TBase<Credentials,Credentials._Fields>, Serializable, Cloneable, Comparable<Credentials>
Modifier and Type | Class and Description |
---|---|
static class |
Credentials._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<Credentials._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Credentials() |
Credentials(Credentials other)
Performs a deep copy on other.
|
Credentials(Map<String,String> creds) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Credentials other) |
Credentials |
deepCopy() |
boolean |
equals(Credentials that) |
boolean |
equals(Object that) |
Credentials._Fields |
fieldForId(int fieldId) |
int |
get_creds_size() |
Map<String,String> |
get_creds() |
Object |
getFieldValue(Credentials._Fields field) |
int |
hashCode() |
boolean |
is_set_creds()
Returns true if field creds is set (has been assigned a value) and false otherwise
|
boolean |
isSet(Credentials._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
put_to_creds(String key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_creds_isSet(boolean value) |
void |
set_creds(Map<String,String> creds) |
void |
setFieldValue(Credentials._Fields field,
Object value) |
String |
toString() |
void |
unset_creds() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<Credentials._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Credentials()
public Credentials(Credentials other)
Performs a deep copy on other.
public Credentials deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Credentials,Credentials._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Credentials,Credentials._Fields>
public int get_creds_size()
public void unset_creds()
public boolean is_set_creds()
Returns true if field creds is set (has been assigned a value) and false otherwise
public void set_creds_isSet(boolean value)
public void setFieldValue(Credentials._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Credentials,Credentials._Fields>
public Object getFieldValue(Credentials._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Credentials,Credentials._Fields>
public boolean isSet(Credentials._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<Credentials,Credentials._Fields>
public boolean equals(Credentials that)
public int compareTo(Credentials other)
compareTo
in interface Comparable<Credentials>
public Credentials._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Credentials,Credentials._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Credentials,Credentials._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<Credentials,Credentials._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.