backtype.storm.generated
Class ComponentObject
java.lang.Object
org.apache.thrift.TUnion<ComponentObject,ComponentObject._Fields>
backtype.storm.generated.ComponentObject
- All Implemented Interfaces:
- Serializable, Comparable<ComponentObject>, org.apache.thrift.TBase<ComponentObject,ComponentObject._Fields>
public class ComponentObject
- extends org.apache.thrift.TUnion<ComponentObject,ComponentObject._Fields>
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
ComponentObject._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
| Fields inherited from class org.apache.thrift.TUnion |
setField_, value_ |
| Methods inherited from class org.apache.thrift.TUnion |
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write |
metaDataMap
public static final Map<ComponentObject._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
ComponentObject
public ComponentObject()
ComponentObject
public ComponentObject(ComponentObject._Fields setField,
Object value)
ComponentObject
public ComponentObject(ComponentObject other)
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.thrift.TUnion<ComponentObject,ComponentObject._Fields>
- Throws:
ClassCastException
readValue
protected Object readValue(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TField field)
throws org.apache.thrift.TException
- Specified by:
readValue in class org.apache.thrift.TUnion<ComponentObject,ComponentObject._Fields>
- Throws:
org.apache.thrift.TException
writeValue
protected void writeValue(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
- Specified by:
writeValue in class org.apache.thrift.TUnion<ComponentObject,ComponentObject._Fields>
- Throws:
org.apache.thrift.TException
getFieldDesc
protected org.apache.thrift.protocol.TField getFieldDesc(ComponentObject._Fields setField)
- Specified by:
getFieldDesc in class org.apache.thrift.TUnion<ComponentObject,ComponentObject._Fields>
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()
- Specified by:
getStructDesc in class org.apache.thrift.TUnion<ComponentObject,ComponentObject._Fields>
enumForId
protected ComponentObject._Fields enumForId(short id)
- Specified by:
enumForId in class org.apache.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
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.