Class DRPCRequest

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

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

    • metaDataMap

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

    • DRPCRequest

      public DRPCRequest()
    • DRPCRequest

      public DRPCRequest(String func_args, String request_id)
    • DRPCRequest

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

    • deepCopy

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

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

      public String get_func_args()
    • set_func_args

      public void set_func_args(String func_args)
    • unset_func_args

      public void unset_func_args()
    • is_set_func_args

      public boolean is_set_func_args()
      Returns true if field func_args is set (has been assigned a value) and false otherwise
    • set_func_args_isSet

      public void set_func_args_isSet(boolean value)
    • get_request_id

      public String get_request_id()
    • set_request_id

      public void set_request_id(String request_id)
    • unset_request_id

      public void unset_request_id()
    • is_set_request_id

      public boolean is_set_request_id()
      Returns true if field request_id is set (has been assigned a value) and false otherwise
    • set_request_id_isSet

      public void set_request_id_isSet(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals(DRPCRequest that)
    • hashCode

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

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

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