@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class Credentials extends Object implements org.apache.storm.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.storm.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() |
String |
get_topoOwner() |
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 |
is_set_topoOwner()
Returns true if field topoOwner 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.storm.thrift.protocol.TProtocol iprot) |
void |
set_creds_isSet(boolean value) |
void |
set_creds(Map<String,String> creds) |
void |
set_topoOwner_isSet(boolean value) |
void |
set_topoOwner(String topoOwner) |
void |
setFieldValue(Credentials._Fields field,
Object value) |
String |
toString() |
void |
unset_creds() |
void |
unset_topoOwner() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<Credentials._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public Credentials()
public Credentials(Credentials other)
public Credentials deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
public int get_creds_size()
public void unset_creds()
public boolean is_set_creds()
public void set_creds_isSet(boolean value)
public String get_topoOwner()
public void set_topoOwner(String topoOwner)
public void unset_topoOwner()
public boolean is_set_topoOwner()
public void set_topoOwner_isSet(boolean value)
public void setFieldValue(Credentials._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
public Object getFieldValue(Credentials._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
public boolean isSet(Credentials._Fields field)
isSet
in interface org.apache.storm.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.storm.thrift.TBase<Credentials,Credentials._Fields>
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
read
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
write
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void validate() throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
Copyright © 2023 The Apache Software Foundation. All rights reserved.