Class JavaObjectArg

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

@Generated("Autogenerated by Thrift Compiler (0.13.0)") public class JavaObjectArg extends org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
See Also:
  • Field Details

    • metaDataMap

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

  • Method Details

    • deepCopy

      public JavaObjectArg deepCopy()
    • int_arg

      public static JavaObjectArg int_arg(int value)
    • long_arg

      public static JavaObjectArg long_arg(long value)
    • string_arg

      public static JavaObjectArg string_arg(String value)
    • bool_arg

      public static JavaObjectArg bool_arg(boolean value)
    • binary_arg

      public static JavaObjectArg binary_arg(ByteBuffer value)
    • binary_arg

      public static JavaObjectArg binary_arg(byte[] value)
    • double_arg

      public static JavaObjectArg double_arg(double value)
    • checkType

      protected void checkType(JavaObjectArg._Fields setField, Object value) throws ClassCastException
      Specified by:
      checkType in class org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
      Throws:
      ClassCastException
    • standardSchemeReadValue

      protected Object standardSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot, org.apache.storm.thrift.protocol.TField field) throws org.apache.storm.thrift.TException
      Specified by:
      standardSchemeReadValue in class org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
      Throws:
      org.apache.storm.thrift.TException
    • standardSchemeWriteValue

      protected void standardSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
      Specified by:
      standardSchemeWriteValue in class org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
      Throws:
      org.apache.storm.thrift.TException
    • tupleSchemeReadValue

      protected Object tupleSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.storm.thrift.TException
      Specified by:
      tupleSchemeReadValue in class org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
      Throws:
      org.apache.storm.thrift.TException
    • tupleSchemeWriteValue

      protected void tupleSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
      Specified by:
      tupleSchemeWriteValue in class org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
      Throws:
      org.apache.storm.thrift.TException
    • getFieldDesc

      protected org.apache.storm.thrift.protocol.TField getFieldDesc(JavaObjectArg._Fields setField)
      Specified by:
      getFieldDesc in class org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
    • getStructDesc

      protected org.apache.storm.thrift.protocol.TStruct getStructDesc()
      Specified by:
      getStructDesc in class org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
    • enumForId

      protected JavaObjectArg._Fields enumForId(short id)
      Specified by:
      enumForId in class org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
    • fieldForId

      public JavaObjectArg._Fields fieldForId(int fieldId)
    • get_int_arg

      public int get_int_arg()
    • set_int_arg

      public void set_int_arg(int value)
    • get_long_arg

      public long get_long_arg()
    • set_long_arg

      public void set_long_arg(long value)
    • get_string_arg

      public String get_string_arg()
    • set_string_arg

      public void set_string_arg(String value)
    • get_bool_arg

      public boolean get_bool_arg()
    • set_bool_arg

      public void set_bool_arg(boolean value)
    • get_binary_arg

      public byte[] get_binary_arg()
    • buffer_for_binary_arg

      public ByteBuffer buffer_for_binary_arg()
    • set_binary_arg

      public void set_binary_arg(byte[] value)
    • set_binary_arg

      public void set_binary_arg(ByteBuffer value)
    • get_double_arg

      public double get_double_arg()
    • set_double_arg

      public void set_double_arg(double value)
    • is_set_int_arg

      public boolean is_set_int_arg()
    • is_set_long_arg

      public boolean is_set_long_arg()
    • is_set_string_arg

      public boolean is_set_string_arg()
    • is_set_bool_arg

      public boolean is_set_bool_arg()
    • is_set_binary_arg

      public boolean is_set_binary_arg()
    • is_set_double_arg

      public boolean is_set_double_arg()
    • equals

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

      public boolean equals(JavaObjectArg other)
    • compareTo

      public int compareTo(JavaObjectArg other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object