Class ProfileRequest

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

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

  • Constructor Details

    • ProfileRequest

      public ProfileRequest()
    • ProfileRequest

      public ProfileRequest(NodeInfo nodeInfo, ProfileAction action)
    • ProfileRequest

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

    • deepCopy

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

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

      public NodeInfo get_nodeInfo()
    • set_nodeInfo

      public void set_nodeInfo(NodeInfo nodeInfo)
    • unset_nodeInfo

      public void unset_nodeInfo()
    • is_set_nodeInfo

      public boolean is_set_nodeInfo()
      Returns true if field nodeInfo is set (has been assigned a value) and false otherwise
    • set_nodeInfo_isSet

      public void set_nodeInfo_isSet(boolean value)
    • get_action

      public ProfileAction get_action()
      See Also:
    • set_action

      public void set_action(ProfileAction action)
      See Also:
    • unset_action

      public void unset_action()
    • is_set_action

      public boolean is_set_action()
      Returns true if field action is set (has been assigned a value) and false otherwise
    • set_action_isSet

      public void set_action_isSet(boolean value)
    • get_time_stamp

      public long get_time_stamp()
    • set_time_stamp

      public void set_time_stamp(long time_stamp)
    • unset_time_stamp

      public void unset_time_stamp()
    • is_set_time_stamp

      public boolean is_set_time_stamp()
      Returns true if field time_stamp is set (has been assigned a value) and false otherwise
    • set_time_stamp_isSet

      public void set_time_stamp_isSet(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals(ProfileRequest that)
    • hashCode

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

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

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