Class ComponentObject

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

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

  • Constructor Details

  • Method Details

    • deepCopy

      public ComponentObject deepCopy()
    • serialized_java

      public static ComponentObject serialized_java(ByteBuffer value)
    • serialized_java

      public static ComponentObject serialized_java(byte[] value)
    • shell

      public static ComponentObject shell(ShellComponent value)
    • java_object

      public static ComponentObject java_object(JavaObject value)
    • checkType

      protected void checkType(ComponentObject._Fields setField, Object value) throws ClassCastException
      Specified by:
      checkType in class org.apache.storm.thrift.TUnion<ComponentObject,ComponentObject._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<ComponentObject,ComponentObject._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<ComponentObject,ComponentObject._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<ComponentObject,ComponentObject._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<ComponentObject,ComponentObject._Fields>
      Throws:
      org.apache.storm.thrift.TException
    • getFieldDesc

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

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

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

      public ComponentObject._Fields fieldForId(int fieldId)
    • get_serialized_java

      public byte[] get_serialized_java()
    • buffer_for_serialized_java

      public ByteBuffer buffer_for_serialized_java()
    • set_serialized_java

      public void set_serialized_java(byte[] value)
    • set_serialized_java

      public void set_serialized_java(ByteBuffer value)
    • get_shell

      public ShellComponent get_shell()
    • set_shell

      public void set_shell(ShellComponent value)
    • get_java_object

      public JavaObject get_java_object()
    • set_java_object

      public void set_java_object(JavaObject value)
    • is_set_serialized_java

      public boolean is_set_serialized_java()
    • is_set_shell

      public boolean is_set_shell()
    • is_set_java_object

      public boolean is_set_java_object()
    • equals

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

      public boolean equals(ComponentObject other)
    • compareTo

      public int compareTo(ComponentObject other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object