public class MegaStruct extends Object implements org.apache.thrift.TBase<MegaStruct,MegaStruct._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
MegaStruct._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<MegaStruct._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
MegaStruct() |
MegaStruct(MegaStruct other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToMy_enumlist(MyEnum elem) |
void |
addToMy_enumset(MyEnum elem) |
void |
addToMy_stringlist(String elem) |
void |
addToMy_stringset(String elem) |
void |
addToMy_structlist(MiniStruct elem) |
void |
addToMy_structset(MiniStruct elem) |
ByteBuffer |
bufferForMy_binary() |
void |
clear() |
int |
compareTo(MegaStruct other) |
MegaStruct |
deepCopy() |
boolean |
equals(MegaStruct that) |
boolean |
equals(Object that) |
MegaStruct._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(MegaStruct._Fields field) |
short |
getMy_16bit_int() |
int |
getMy_32bit_int() |
long |
getMy_64bit_int() |
byte[] |
getMy_binary() |
byte |
getMy_byte() |
double |
getMy_double() |
Map<MyEnum,String> |
getMy_enum_string_map() |
int |
getMy_enum_string_mapSize() |
Map<MyEnum,List<String>> |
getMy_enum_stringlist_map() |
int |
getMy_enum_stringlist_mapSize() |
Map<MyEnum,MiniStruct> |
getMy_enum_struct_map() |
int |
getMy_enum_struct_mapSize() |
Map<MyEnum,List<MiniStruct>> |
getMy_enum_structlist_map() |
int |
getMy_enum_structlist_mapSize() |
List<MyEnum> |
getMy_enumlist() |
Iterator<MyEnum> |
getMy_enumlistIterator() |
int |
getMy_enumlistSize() |
Set<MyEnum> |
getMy_enumset() |
Iterator<MyEnum> |
getMy_enumsetIterator() |
int |
getMy_enumsetSize() |
Map<String,MyEnum> |
getMy_string_enum_map() |
int |
getMy_string_enum_mapSize() |
Map<String,String> |
getMy_string_string_map() |
int |
getMy_string_string_mapSize() |
String |
getMy_string() |
List<String> |
getMy_stringlist() |
Iterator<String> |
getMy_stringlistIterator() |
int |
getMy_stringlistSize() |
Set<String> |
getMy_stringset() |
Iterator<String> |
getMy_stringsetIterator() |
int |
getMy_stringsetSize() |
List<MiniStruct> |
getMy_structlist() |
Iterator<MiniStruct> |
getMy_structlistIterator() |
int |
getMy_structlistSize() |
Set<MiniStruct> |
getMy_structset() |
Iterator<MiniStruct> |
getMy_structsetIterator() |
int |
getMy_structsetSize() |
int |
hashCode() |
boolean |
isMy_bool() |
boolean |
isSet(MegaStruct._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_16bit_int()
Returns true if field my_16bit_int is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_32bit_int()
Returns true if field my_32bit_int is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_64bit_int()
Returns true if field my_64bit_int is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_binary()
Returns true if field my_binary is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_bool()
Returns true if field my_bool is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_byte()
Returns true if field my_byte is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_double()
Returns true if field my_double is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_enum_string_map()
Returns true if field my_enum_string_map is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_enum_stringlist_map()
Returns true if field my_enum_stringlist_map is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_enum_struct_map()
Returns true if field my_enum_struct_map is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_enum_structlist_map()
Returns true if field my_enum_structlist_map is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_enumlist()
Returns true if field my_enumlist is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_enumset()
Returns true if field my_enumset is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_string_enum_map()
Returns true if field my_string_enum_map is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_string_string_map()
Returns true if field my_string_string_map is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_string()
Returns true if field my_string is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_stringlist()
Returns true if field my_stringlist is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_stringset()
Returns true if field my_stringset is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_structlist()
Returns true if field my_structlist is set (has been assigned a value) and false otherwise
|
boolean |
isSetMy_structset()
Returns true if field my_structset is set (has been assigned a value) and false otherwise
|
void |
putToMy_enum_string_map(MyEnum key,
String val) |
void |
putToMy_enum_stringlist_map(MyEnum key,
List<String> val) |
void |
putToMy_enum_struct_map(MyEnum key,
MiniStruct val) |
void |
putToMy_enum_structlist_map(MyEnum key,
List<MiniStruct> val) |
void |
putToMy_string_enum_map(String key,
MyEnum val) |
void |
putToMy_string_string_map(String key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(MegaStruct._Fields field,
Object value) |
void |
setMy_16bit_int(short my_16bit_int) |
void |
setMy_16bit_intIsSet(boolean value) |
void |
setMy_32bit_int(int my_32bit_int) |
void |
setMy_32bit_intIsSet(boolean value) |
void |
setMy_64bit_int(long my_64bit_int) |
void |
setMy_64bit_intIsSet(boolean value) |
void |
setMy_binary(byte[] my_binary) |
void |
setMy_binary(ByteBuffer my_binary) |
void |
setMy_binaryIsSet(boolean value) |
void |
setMy_bool(boolean my_bool) |
void |
setMy_boolIsSet(boolean value) |
void |
setMy_byte(byte my_byte) |
void |
setMy_byteIsSet(boolean value) |
void |
setMy_double(double my_double) |
void |
setMy_doubleIsSet(boolean value) |
void |
setMy_enum_string_map(Map<MyEnum,String> my_enum_string_map) |
void |
setMy_enum_string_mapIsSet(boolean value) |
void |
setMy_enum_stringlist_map(Map<MyEnum,List<String>> my_enum_stringlist_map) |
void |
setMy_enum_stringlist_mapIsSet(boolean value) |
void |
setMy_enum_struct_map(Map<MyEnum,MiniStruct> my_enum_struct_map) |
void |
setMy_enum_struct_mapIsSet(boolean value) |
void |
setMy_enum_structlist_map(Map<MyEnum,List<MiniStruct>> my_enum_structlist_map) |
void |
setMy_enum_structlist_mapIsSet(boolean value) |
void |
setMy_enumlist(List<MyEnum> my_enumlist) |
void |
setMy_enumlistIsSet(boolean value) |
void |
setMy_enumset(Set<MyEnum> my_enumset) |
void |
setMy_enumsetIsSet(boolean value) |
void |
setMy_string_enum_map(Map<String,MyEnum> my_string_enum_map) |
void |
setMy_string_enum_mapIsSet(boolean value) |
void |
setMy_string_string_map(Map<String,String> my_string_string_map) |
void |
setMy_string_string_mapIsSet(boolean value) |
void |
setMy_string(String my_string) |
void |
setMy_stringIsSet(boolean value) |
void |
setMy_stringlist(List<String> my_stringlist) |
void |
setMy_stringlistIsSet(boolean value) |
void |
setMy_stringset(Set<String> my_stringset) |
void |
setMy_stringsetIsSet(boolean value) |
void |
setMy_structlist(List<MiniStruct> my_structlist) |
void |
setMy_structlistIsSet(boolean value) |
void |
setMy_structset(Set<MiniStruct> my_structset) |
void |
setMy_structsetIsSet(boolean value) |
String |
toString() |
void |
unsetMy_16bit_int() |
void |
unsetMy_32bit_int() |
void |
unsetMy_64bit_int() |
void |
unsetMy_binary() |
void |
unsetMy_bool() |
void |
unsetMy_byte() |
void |
unsetMy_double() |
void |
unsetMy_enum_string_map() |
void |
unsetMy_enum_stringlist_map() |
void |
unsetMy_enum_struct_map() |
void |
unsetMy_enum_structlist_map() |
void |
unsetMy_enumlist() |
void |
unsetMy_enumset() |
void |
unsetMy_string_enum_map() |
void |
unsetMy_string_string_map() |
void |
unsetMy_string() |
void |
unsetMy_stringlist() |
void |
unsetMy_stringset() |
void |
unsetMy_structlist() |
void |
unsetMy_structset() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<MegaStruct._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public MegaStruct()
public MegaStruct(MegaStruct other)
public MegaStruct deepCopy()
deepCopy
in interface org.apache.thrift.TBase<MegaStruct,MegaStruct._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<MegaStruct,MegaStruct._Fields>
public boolean isMy_bool()
public void setMy_bool(boolean my_bool)
public void unsetMy_bool()
public boolean isSetMy_bool()
public void setMy_boolIsSet(boolean value)
public byte getMy_byte()
public void setMy_byte(byte my_byte)
public void unsetMy_byte()
public boolean isSetMy_byte()
public void setMy_byteIsSet(boolean value)
public short getMy_16bit_int()
public void setMy_16bit_int(short my_16bit_int)
public void unsetMy_16bit_int()
public boolean isSetMy_16bit_int()
public void setMy_16bit_intIsSet(boolean value)
public int getMy_32bit_int()
public void setMy_32bit_int(int my_32bit_int)
public void unsetMy_32bit_int()
public boolean isSetMy_32bit_int()
public void setMy_32bit_intIsSet(boolean value)
public long getMy_64bit_int()
public void setMy_64bit_int(long my_64bit_int)
public void unsetMy_64bit_int()
public boolean isSetMy_64bit_int()
public void setMy_64bit_intIsSet(boolean value)
public double getMy_double()
public void setMy_double(double my_double)
public void unsetMy_double()
public boolean isSetMy_double()
public void setMy_doubleIsSet(boolean value)
public String getMy_string()
public void setMy_string(String my_string)
public void unsetMy_string()
public boolean isSetMy_string()
public void setMy_stringIsSet(boolean value)
public byte[] getMy_binary()
public ByteBuffer bufferForMy_binary()
public void setMy_binary(byte[] my_binary)
public void setMy_binary(ByteBuffer my_binary)
public void unsetMy_binary()
public boolean isSetMy_binary()
public void setMy_binaryIsSet(boolean value)
public int getMy_string_string_mapSize()
public void setMy_string_string_map(Map<String,String> my_string_string_map)
public void unsetMy_string_string_map()
public boolean isSetMy_string_string_map()
public void setMy_string_string_mapIsSet(boolean value)
public int getMy_string_enum_mapSize()
public void unsetMy_string_enum_map()
public boolean isSetMy_string_enum_map()
public void setMy_string_enum_mapIsSet(boolean value)
public int getMy_enum_string_mapSize()
public void unsetMy_enum_string_map()
public boolean isSetMy_enum_string_map()
public void setMy_enum_string_mapIsSet(boolean value)
public int getMy_enum_struct_mapSize()
public void putToMy_enum_struct_map(MyEnum key, MiniStruct val)
public Map<MyEnum,MiniStruct> getMy_enum_struct_map()
public void setMy_enum_struct_map(Map<MyEnum,MiniStruct> my_enum_struct_map)
public void unsetMy_enum_struct_map()
public boolean isSetMy_enum_struct_map()
public void setMy_enum_struct_mapIsSet(boolean value)
public int getMy_enum_stringlist_mapSize()
public void setMy_enum_stringlist_map(Map<MyEnum,List<String>> my_enum_stringlist_map)
public void unsetMy_enum_stringlist_map()
public boolean isSetMy_enum_stringlist_map()
public void setMy_enum_stringlist_mapIsSet(boolean value)
public int getMy_enum_structlist_mapSize()
public void putToMy_enum_structlist_map(MyEnum key, List<MiniStruct> val)
public Map<MyEnum,List<MiniStruct>> getMy_enum_structlist_map()
public void setMy_enum_structlist_map(Map<MyEnum,List<MiniStruct>> my_enum_structlist_map)
public void unsetMy_enum_structlist_map()
public boolean isSetMy_enum_structlist_map()
public void setMy_enum_structlist_mapIsSet(boolean value)
public int getMy_stringlistSize()
public void addToMy_stringlist(String elem)
public void unsetMy_stringlist()
public boolean isSetMy_stringlist()
public void setMy_stringlistIsSet(boolean value)
public int getMy_structlistSize()
public Iterator<MiniStruct> getMy_structlistIterator()
public void addToMy_structlist(MiniStruct elem)
public List<MiniStruct> getMy_structlist()
public void setMy_structlist(List<MiniStruct> my_structlist)
public void unsetMy_structlist()
public boolean isSetMy_structlist()
public void setMy_structlistIsSet(boolean value)
public int getMy_enumlistSize()
public void addToMy_enumlist(MyEnum elem)
public void unsetMy_enumlist()
public boolean isSetMy_enumlist()
public void setMy_enumlistIsSet(boolean value)
public int getMy_stringsetSize()
public void addToMy_stringset(String elem)
public void unsetMy_stringset()
public boolean isSetMy_stringset()
public void setMy_stringsetIsSet(boolean value)
public int getMy_enumsetSize()
public void addToMy_enumset(MyEnum elem)
public void unsetMy_enumset()
public boolean isSetMy_enumset()
public void setMy_enumsetIsSet(boolean value)
public int getMy_structsetSize()
public Iterator<MiniStruct> getMy_structsetIterator()
public void addToMy_structset(MiniStruct elem)
public Set<MiniStruct> getMy_structset()
public void setMy_structset(Set<MiniStruct> my_structset)
public void unsetMy_structset()
public boolean isSetMy_structset()
public void setMy_structsetIsSet(boolean value)
public void setFieldValue(MegaStruct._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<MegaStruct,MegaStruct._Fields>
public Object getFieldValue(MegaStruct._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<MegaStruct,MegaStruct._Fields>
public boolean isSet(MegaStruct._Fields field)
isSet
in interface org.apache.thrift.TBase<MegaStruct,MegaStruct._Fields>
public boolean equals(MegaStruct that)
public int compareTo(MegaStruct other)
compareTo
in interface Comparable<MegaStruct>
public MegaStruct._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<MegaStruct,MegaStruct._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<MegaStruct,MegaStruct._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<MegaStruct,MegaStruct._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.