@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class BytesThrift extends Object implements TBase<BytesThrift,BytesThrift._Fields>, Serializable, Cloneable, Comparable<BytesThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
BytesThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
ByteBuffer |
bytes_field |
List<ByteBuffer> |
bytes_list |
Map<String,ByteBuffer> |
bytes_map |
static Map<BytesThrift._Fields,FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
BytesThrift() |
BytesThrift(BytesThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToBytes_list(ByteBuffer elem) |
ByteBuffer |
bufferForBytes_field() |
void |
clear() |
int |
compareTo(BytesThrift other) |
BytesThrift |
deepCopy() |
boolean |
equals(BytesThrift that) |
boolean |
equals(Object that) |
BytesThrift._Fields |
fieldForId(int fieldId) |
byte[] |
getBytes_field() |
List<ByteBuffer> |
getBytes_list() |
Iterator<ByteBuffer> |
getBytes_listIterator() |
int |
getBytes_listSize() |
Map<String,ByteBuffer> |
getBytes_map() |
int |
getBytes_mapSize() |
Object |
getFieldValue(BytesThrift._Fields field) |
int |
hashCode() |
boolean |
isSet(BytesThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBytes_field()
Returns true if field bytes_field is set (has been assigned a value) and false otherwise
|
boolean |
isSetBytes_list()
Returns true if field bytes_list is set (has been assigned a value) and false otherwise
|
boolean |
isSetBytes_map()
Returns true if field bytes_map is set (has been assigned a value) and false otherwise
|
void |
putToBytes_map(String key,
ByteBuffer val) |
void |
read(TProtocol iprot) |
BytesThrift |
setBytes_field(byte[] bytes_field) |
BytesThrift |
setBytes_field(ByteBuffer bytes_field) |
void |
setBytes_fieldIsSet(boolean value) |
BytesThrift |
setBytes_list(List<ByteBuffer> bytes_list) |
void |
setBytes_listIsSet(boolean value) |
BytesThrift |
setBytes_map(Map<String,ByteBuffer> bytes_map) |
void |
setBytes_mapIsSet(boolean value) |
void |
setFieldValue(BytesThrift._Fields field,
Object value) |
String |
toString() |
void |
unsetBytes_field() |
void |
unsetBytes_list() |
void |
unsetBytes_map() |
void |
validate() |
void |
write(TProtocol oprot) |
public ByteBuffer bytes_field
public List<ByteBuffer> bytes_list
public Map<String,ByteBuffer> bytes_map
public static final Map<BytesThrift._Fields,FieldMetaData> metaDataMap
public BytesThrift()
public BytesThrift(BytesThrift other)
public BytesThrift deepCopy()
deepCopy in interface TBase<BytesThrift,BytesThrift._Fields>public void clear()
clear in interface TBase<BytesThrift,BytesThrift._Fields>public byte[] getBytes_field()
public ByteBuffer bufferForBytes_field()
public BytesThrift setBytes_field(byte[] bytes_field)
public BytesThrift setBytes_field(ByteBuffer bytes_field)
public void unsetBytes_field()
public boolean isSetBytes_field()
public void setBytes_fieldIsSet(boolean value)
public int getBytes_listSize()
public Iterator<ByteBuffer> getBytes_listIterator()
public void addToBytes_list(ByteBuffer elem)
public List<ByteBuffer> getBytes_list()
public BytesThrift setBytes_list(List<ByteBuffer> bytes_list)
public void unsetBytes_list()
public boolean isSetBytes_list()
public void setBytes_listIsSet(boolean value)
public int getBytes_mapSize()
public void putToBytes_map(String key, ByteBuffer val)
public Map<String,ByteBuffer> getBytes_map()
public BytesThrift setBytes_map(Map<String,ByteBuffer> bytes_map)
public void unsetBytes_map()
public boolean isSetBytes_map()
public void setBytes_mapIsSet(boolean value)
public void setFieldValue(BytesThrift._Fields field, Object value)
setFieldValue in interface TBase<BytesThrift,BytesThrift._Fields>public Object getFieldValue(BytesThrift._Fields field)
getFieldValue in interface TBase<BytesThrift,BytesThrift._Fields>public boolean isSet(BytesThrift._Fields field)
isSet in interface TBase<BytesThrift,BytesThrift._Fields>public boolean equals(BytesThrift that)
public int compareTo(BytesThrift other)
compareTo in interface Comparable<BytesThrift>public BytesThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<BytesThrift,BytesThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<BytesThrift,BytesThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<BytesThrift,BytesThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.