public class ComponentObject extends org.apache.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.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ComponentObject() |
ComponentObject(ComponentObject._Fields setField,
Object value) |
ComponentObject(ComponentObject other) |
public static final Map<ComponentObject._Fields,org.apache.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.thrift.TUnion<ComponentObject,ComponentObject._Fields>
ClassCastException
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
standardSchemeReadValue
in class org.apache.thrift.TUnion<ComponentObject,ComponentObject._Fields>
org.apache.thrift.TException
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
standardSchemeWriteValue
in class org.apache.thrift.TUnion<ComponentObject,ComponentObject._Fields>
org.apache.thrift.TException
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
tupleSchemeReadValue
in class org.apache.thrift.TUnion<ComponentObject,ComponentObject._Fields>
org.apache.thrift.TException
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
tupleSchemeWriteValue
in class org.apache.thrift.TUnion<ComponentObject,ComponentObject._Fields>
org.apache.thrift.TException
protected org.apache.thrift.protocol.TField getFieldDesc(ComponentObject._Fields setField)
getFieldDesc
in class org.apache.thrift.TUnion<ComponentObject,ComponentObject._Fields>
protected org.apache.thrift.protocol.TStruct getStructDesc()
getStructDesc
in class org.apache.thrift.TUnion<ComponentObject,ComponentObject._Fields>
protected ComponentObject._Fields enumForId(short id)
enumForId
in class org.apache.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.