@Generated(value="Autogenerated by Thrift Compiler (0.12.0)") public class ComponentObject extends org.apache.storm.thrift.TUnion<ComponentObject,ComponentObject._Fields>
Modifier and Type | Class and Description |
---|---|
static class |
ComponentObject._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<ComponentObject._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ComponentObject() |
ComponentObject(ComponentObject._Fields setField,
Object value) |
ComponentObject(ComponentObject other) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
buffer_for_serialized_java() |
protected void |
checkType(ComponentObject._Fields setField,
Object value) |
int |
compareTo(ComponentObject other) |
ComponentObject |
deepCopy() |
protected ComponentObject._Fields |
enumForId(short id) |
boolean |
equals(ComponentObject other) |
boolean |
equals(Object other) |
ComponentObject._Fields |
fieldForId(int fieldId) |
JavaObject |
get_java_object() |
byte[] |
get_serialized_java() |
ShellComponent |
get_shell() |
protected org.apache.storm.thrift.protocol.TField |
getFieldDesc(ComponentObject._Fields setField) |
protected org.apache.storm.thrift.protocol.TStruct |
getStructDesc() |
int |
hashCode() |
boolean |
is_set_java_object() |
boolean |
is_set_serialized_java() |
boolean |
is_set_shell() |
static ComponentObject |
java_object(JavaObject value) |
static ComponentObject |
serialized_java(byte[] value) |
static ComponentObject |
serialized_java(ByteBuffer value) |
void |
set_java_object(JavaObject value) |
void |
set_serialized_java(byte[] value) |
void |
set_serialized_java(ByteBuffer value) |
void |
set_shell(ShellComponent value) |
static ComponentObject |
shell(ShellComponent value) |
protected Object |
standardSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot,
org.apache.storm.thrift.protocol.TField field) |
protected void |
standardSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) |
protected Object |
tupleSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot,
short fieldID) |
protected void |
tupleSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<ComponentObject._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public ComponentObject()
public ComponentObject(ComponentObject._Fields setField, Object value)
public ComponentObject(ComponentObject other)
public ComponentObject deepCopy()
public static ComponentObject serialized_java(ByteBuffer value)
public static ComponentObject serialized_java(byte[] value)
public static ComponentObject shell(ShellComponent value)
public static ComponentObject java_object(JavaObject value)
protected void checkType(ComponentObject._Fields setField, Object value) throws ClassCastException
checkType
in class org.apache.storm.thrift.TUnion<ComponentObject,ComponentObject._Fields>
ClassCastException
protected Object standardSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot, org.apache.storm.thrift.protocol.TField field) throws org.apache.storm.thrift.TException
standardSchemeReadValue
in class org.apache.storm.thrift.TUnion<ComponentObject,ComponentObject._Fields>
org.apache.storm.thrift.TException
protected void standardSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
standardSchemeWriteValue
in class org.apache.storm.thrift.TUnion<ComponentObject,ComponentObject._Fields>
org.apache.storm.thrift.TException
protected Object tupleSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.storm.thrift.TException
tupleSchemeReadValue
in class org.apache.storm.thrift.TUnion<ComponentObject,ComponentObject._Fields>
org.apache.storm.thrift.TException
protected void tupleSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
tupleSchemeWriteValue
in class org.apache.storm.thrift.TUnion<ComponentObject,ComponentObject._Fields>
org.apache.storm.thrift.TException
protected org.apache.storm.thrift.protocol.TField getFieldDesc(ComponentObject._Fields setField)
getFieldDesc
in class org.apache.storm.thrift.TUnion<ComponentObject,ComponentObject._Fields>
protected org.apache.storm.thrift.protocol.TStruct getStructDesc()
getStructDesc
in class org.apache.storm.thrift.TUnion<ComponentObject,ComponentObject._Fields>
protected ComponentObject._Fields enumForId(short id)
enumForId
in class org.apache.storm.thrift.TUnion<ComponentObject,ComponentObject._Fields>
public ComponentObject._Fields fieldForId(int fieldId)
public byte[] get_serialized_java()
public ByteBuffer buffer_for_serialized_java()
public void set_serialized_java(byte[] value)
public void set_serialized_java(ByteBuffer value)
public ShellComponent get_shell()
public void set_shell(ShellComponent value)
public JavaObject get_java_object()
public void set_java_object(JavaObject value)
public boolean is_set_serialized_java()
public boolean is_set_shell()
public boolean is_set_java_object()
public boolean equals(ComponentObject other)
public int compareTo(ComponentObject other)
Copyright © 2019 The Apache Software Foundation. All rights reserved.