Class WorkerToken

All Implemented Interfaces:
Serializable, Cloneable, Comparable<WorkerToken>, org.apache.storm.thrift.TBase<WorkerToken,WorkerToken._Fields>, org.apache.storm.thrift.TSerializable

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

    • metaDataMap

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

  • Method Details

    • deepCopy

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

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

      public WorkerTokenServiceType get_serviceType()
      See Also:
    • set_serviceType

      public void set_serviceType(WorkerTokenServiceType serviceType)
      See Also:
    • unset_serviceType

      public void unset_serviceType()
    • is_set_serviceType

      public boolean is_set_serviceType()
      Returns true if field serviceType is set (has been assigned a value) and false otherwise
    • set_serviceType_isSet

      public void set_serviceType_isSet(boolean value)
    • get_info

      public byte[] get_info()
    • buffer_for_info

      public ByteBuffer buffer_for_info()
    • set_info

      public void set_info(byte[] info)
    • set_info

      public void set_info(ByteBuffer info)
    • unset_info

      public void unset_info()
    • is_set_info

      public boolean is_set_info()
      Returns true if field info is set (has been assigned a value) and false otherwise
    • set_info_isSet

      public void set_info_isSet(boolean value)
    • get_signature

      public byte[] get_signature()
    • buffer_for_signature

      public ByteBuffer buffer_for_signature()
    • set_signature

      public void set_signature(byte[] signature)
    • set_signature

      public void set_signature(ByteBuffer signature)
    • unset_signature

      public void unset_signature()
    • is_set_signature

      public boolean is_set_signature()
      Returns true if field signature is set (has been assigned a value) and false otherwise
    • set_signature_isSet

      public void set_signature_isSet(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals(WorkerToken that)
    • hashCode

      public int hashCode()
      hashCode in class Object
    • compareTo

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

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

      public String toString()
      toString in class Object
    • validate

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