@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class JavaObjectArg extends org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
Modifier and Type | Class and Description |
---|---|
static class |
JavaObjectArg._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<JavaObjectArg._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
JavaObjectArg() |
JavaObjectArg(JavaObjectArg._Fields setField,
Object value) |
JavaObjectArg(JavaObjectArg other) |
Modifier and Type | Method and Description |
---|---|
static JavaObjectArg |
binary_arg(byte[] value) |
static JavaObjectArg |
binary_arg(ByteBuffer value) |
static JavaObjectArg |
bool_arg(boolean value) |
ByteBuffer |
buffer_for_binary_arg() |
protected void |
checkType(JavaObjectArg._Fields setField,
Object value) |
int |
compareTo(JavaObjectArg other) |
JavaObjectArg |
deepCopy() |
static JavaObjectArg |
double_arg(double value) |
protected JavaObjectArg._Fields |
enumForId(short id) |
boolean |
equals(JavaObjectArg other) |
boolean |
equals(Object other) |
JavaObjectArg._Fields |
fieldForId(int fieldId) |
byte[] |
get_binary_arg() |
boolean |
get_bool_arg() |
double |
get_double_arg() |
int |
get_int_arg() |
long |
get_long_arg() |
String |
get_string_arg() |
protected org.apache.storm.thrift.protocol.TField |
getFieldDesc(JavaObjectArg._Fields setField) |
protected org.apache.storm.thrift.protocol.TStruct |
getStructDesc() |
int |
hashCode() |
static JavaObjectArg |
int_arg(int value) |
boolean |
is_set_binary_arg() |
boolean |
is_set_bool_arg() |
boolean |
is_set_double_arg() |
boolean |
is_set_int_arg() |
boolean |
is_set_long_arg() |
boolean |
is_set_string_arg() |
static JavaObjectArg |
long_arg(long value) |
void |
set_binary_arg(byte[] value) |
void |
set_binary_arg(ByteBuffer value) |
void |
set_bool_arg(boolean value) |
void |
set_double_arg(double value) |
void |
set_int_arg(int value) |
void |
set_long_arg(long value) |
void |
set_string_arg(String 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) |
static JavaObjectArg |
string_arg(String value) |
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<JavaObjectArg._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public JavaObjectArg()
public JavaObjectArg(JavaObjectArg._Fields setField, Object value)
public JavaObjectArg(JavaObjectArg other)
public JavaObjectArg deepCopy()
public static JavaObjectArg int_arg(int value)
public static JavaObjectArg long_arg(long value)
public static JavaObjectArg string_arg(String value)
public static JavaObjectArg bool_arg(boolean value)
public static JavaObjectArg binary_arg(ByteBuffer value)
public static JavaObjectArg binary_arg(byte[] value)
public static JavaObjectArg double_arg(double value)
protected void checkType(JavaObjectArg._Fields setField, Object value) throws ClassCastException
checkType
in class org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._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<JavaObjectArg,JavaObjectArg._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<JavaObjectArg,JavaObjectArg._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<JavaObjectArg,JavaObjectArg._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<JavaObjectArg,JavaObjectArg._Fields>
org.apache.storm.thrift.TException
protected org.apache.storm.thrift.protocol.TField getFieldDesc(JavaObjectArg._Fields setField)
getFieldDesc
in class org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
protected org.apache.storm.thrift.protocol.TStruct getStructDesc()
getStructDesc
in class org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
protected JavaObjectArg._Fields enumForId(short id)
enumForId
in class org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
public JavaObjectArg._Fields fieldForId(int fieldId)
public int get_int_arg()
public void set_int_arg(int value)
public long get_long_arg()
public void set_long_arg(long value)
public String get_string_arg()
public void set_string_arg(String value)
public boolean get_bool_arg()
public void set_bool_arg(boolean value)
public byte[] get_binary_arg()
public ByteBuffer buffer_for_binary_arg()
public void set_binary_arg(byte[] value)
public void set_binary_arg(ByteBuffer value)
public double get_double_arg()
public void set_double_arg(double value)
public boolean is_set_int_arg()
public boolean is_set_long_arg()
public boolean is_set_string_arg()
public boolean is_set_bool_arg()
public boolean is_set_binary_arg()
public boolean is_set_double_arg()
public boolean equals(JavaObjectArg other)
public int compareTo(JavaObjectArg other)
Copyright © 2020 The Apache Software Foundation. All rights reserved.