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 SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Map<Credentials._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionCredentials(Map<String, String> creds) Credentials(Credentials other) Performs a deep copy on other.
- 
Method SummaryModifier 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- 
metaDataMappublic static final Map<Credentials._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
Credentialspublic Credentials()
- 
Credentials
- 
CredentialsPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<Credentials,- Credentials._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<Credentials,- Credentials._Fields> 
 
- 
get_creds_sizepublic int get_creds_size()
- 
put_to_creds
- 
get_creds
- 
set_creds
- 
unset_credspublic void unset_creds()
- 
is_set_credspublic boolean is_set_creds()Returns true if field creds is set (has been assigned a value) and false otherwise
- 
set_creds_isSetpublic void set_creds_isSet(boolean value) 
- 
get_topoOwner
- 
set_topoOwner
- 
unset_topoOwnerpublic void unset_topoOwner()
- 
is_set_topoOwnerpublic boolean is_set_topoOwner()Returns true if field topoOwner is set (has been assigned a value) and false otherwise
- 
set_topoOwner_isSetpublic void set_topoOwner_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<Credentials,- Credentials._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<Credentials,- Credentials._Fields> 
 
- 
isSetReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
- isSetin interface- org.apache.storm.thrift.TBase<Credentials,- Credentials._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<Credentials>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<Credentials,- Credentials._Fields> 
 
- 
readpublic void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
- readin interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
writepublic void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
- writein interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
toString
- 
validatepublic void validate() throws org.apache.storm.thrift.TException- Throws:
- org.apache.storm.thrift.TException
 
 
-