Class AccessControl

java.lang.Object
org.apache.storm.generated.AccessControl
All Implemented Interfaces:
Serializable, Cloneable, Comparable<AccessControl>, org.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>, org.apache.storm.thrift.TSerializable

@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class AccessControl extends Object implements org.apache.storm.thrift.TBase<AccessControl,AccessControl._Fields>, Serializable, Cloneable, Comparable<AccessControl>
See Also:
  • Field Details

    • metaDataMap

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

    • AccessControl

      public AccessControl()
    • AccessControl

      public AccessControl(AccessControlType type, int access)
    • AccessControl

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

    • deepCopy

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

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

      public AccessControlType get_type()
      See Also:
    • set_type

      public void set_type(AccessControlType type)
      See Also:
    • unset_type

      public void unset_type()
    • is_set_type

      public boolean is_set_type()
      Returns true if field type is set (has been assigned a value) and false otherwise
    • set_type_isSet

      public void set_type_isSet(boolean value)
    • get_name

      public String get_name()
    • set_name

      public void set_name(String name)
    • unset_name

      public void unset_name()
    • is_set_name

      public boolean is_set_name()
      Returns true if field name is set (has been assigned a value) and false otherwise
    • set_name_isSet

      public void set_name_isSet(boolean value)
    • get_access

      public int get_access()
    • set_access

      public void set_access(int access)
    • unset_access

      public void unset_access()
    • is_set_access

      public boolean is_set_access()
      Returns true if field access is set (has been assigned a value) and false otherwise
    • set_access_isSet

      public void set_access_isSet(boolean value)
    • setFieldValue

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

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

      public boolean isSet(AccessControl._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<AccessControl,AccessControl._Fields>
    • equals

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

      public boolean equals(AccessControl that)
    • hashCode

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

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

      public AccessControl._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.storm.thrift.TBase<AccessControl,AccessControl._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