Package org.apache.storm.generated
Class Credentials
java.lang.Object
org.apache.storm.generated.Credentials
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Credentials>,org.apache.storm.thrift.TBase<Credentials,,Credentials._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class Credentials
extends Object
implements org.apache.storm.thrift.TBase<Credentials,Credentials._Fields>, Serializable, Cloneable, Comparable<Credentials>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<Credentials._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionCredentials(Map<String, String> creds) Credentials(Credentials other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(Credentials other) deepCopy()booleanbooleanequals(Credentials that) fieldForId(int fieldId) intgetFieldValue(Credentials._Fields field) inthashCode()booleanReturns true if field creds is set (has been assigned a value) and false otherwisebooleanReturns true if field topoOwner is set (has been assigned a value) and false otherwisebooleanisSet(Credentials._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidput_to_creds(String key, String val) voidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidvoidset_creds_isSet(boolean value) voidset_topoOwner(String topoOwner) voidset_topoOwner_isSet(boolean value) voidsetFieldValue(Credentials._Fields field, Object value) toString()voidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<Credentials._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
Credentials
public Credentials() -
Credentials
-
Credentials
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
-
get_creds_size
public int get_creds_size() -
put_to_creds
-
get_creds
-
set_creds
-
unset_creds
public void unset_creds() -
is_set_creds
public boolean is_set_creds()Returns true if field creds is set (has been assigned a value) and false otherwise -
set_creds_isSet
public void set_creds_isSet(boolean value) -
get_topoOwner
-
set_topoOwner
-
unset_topoOwner
public void unset_topoOwner() -
is_set_topoOwner
public boolean is_set_topoOwner()Returns true if field topoOwner is set (has been assigned a value) and false otherwise -
set_topoOwner_isSet
public void set_topoOwner_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Credentials>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
readin interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
write
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
writein interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-