@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class GetTResponse extends Object implements org.apache.thrift.TBase<GetTResponse,GetTResponse._Fields>, Serializable, Cloneable, Comparable<GetTResponse>
Modifier and Type | Class and Description |
---|---|
static class |
GetTResponse._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<GetTResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
GetTResponse() |
GetTResponse(ByteBuffer data) |
GetTResponse(GetTResponse other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForData() |
void |
clear() |
int |
compareTo(GetTResponse other) |
GetTResponse |
deepCopy() |
boolean |
equals(GetTResponse that) |
boolean |
equals(Object that) |
GetTResponse._Fields |
fieldForId(int fieldId) |
byte[] |
getData() |
Object |
getFieldValue(GetTResponse._Fields field) |
int |
hashCode() |
boolean |
isSet(GetTResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetData()
Returns true if field data is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
GetTResponse |
setData(byte[] data) |
GetTResponse |
setData(ByteBuffer data) |
void |
setDataIsSet(boolean value) |
void |
setFieldValue(GetTResponse._Fields field,
Object value) |
String |
toString() |
void |
unsetData() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<GetTResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GetTResponse()
public GetTResponse(ByteBuffer data)
public GetTResponse(GetTResponse other)
public GetTResponse deepCopy()
deepCopy
in interface org.apache.thrift.TBase<GetTResponse,GetTResponse._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<GetTResponse,GetTResponse._Fields>
public byte[] getData()
public ByteBuffer bufferForData()
public GetTResponse setData(byte[] data)
public GetTResponse setData(ByteBuffer data)
public void unsetData()
public boolean isSetData()
public void setDataIsSet(boolean value)
public void setFieldValue(GetTResponse._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<GetTResponse,GetTResponse._Fields>
public Object getFieldValue(GetTResponse._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<GetTResponse,GetTResponse._Fields>
public boolean isSet(GetTResponse._Fields field)
isSet
in interface org.apache.thrift.TBase<GetTResponse,GetTResponse._Fields>
public boolean equals(GetTResponse that)
public int compareTo(GetTResponse other)
compareTo
in interface Comparable<GetTResponse>
public GetTResponse._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<GetTResponse,GetTResponse._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<GetTResponse,GetTResponse._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<GetTResponse,GetTResponse._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.