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:
  • Field Details

    • metaDataMap

      public static final Map<Credentials._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • Credentials

      public Credentials()
    • Credentials

      public Credentials(Map<String,String> creds)
    • Credentials

      public Credentials(Credentials other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public Credentials deepCopy()
      Specified by:
      deepCopy in interface org.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
    • get_creds_size

      public int get_creds_size()
    • put_to_creds

      public void put_to_creds(String key, String val)
    • get_creds

      public Map<String,String> get_creds()
    • set_creds

      public void set_creds(Map<String,String> 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

      public String get_topoOwner()
    • set_topoOwner

      public void set_topoOwner(String 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

      public void setFieldValue(Credentials._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
    • getFieldValue

      public Object getFieldValue(Credentials._Fields field)
      Specified by:
      getFieldValue in interface org.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
    • isSet

      public boolean isSet(Credentials._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.storm.thrift.TBase<Credentials,Credentials._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(Credentials that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(Credentials other)
      Specified by:
      compareTo in interface Comparable<Credentials>
    • fieldForId

      public Credentials._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.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:
      read in interface org.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:
      write in interface org.apache.storm.thrift.TSerializable
      Throws:
      org.apache.storm.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.storm.thrift.TException
      Throws:
      org.apache.storm.thrift.TException