@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2021-10-01") public class Memo extends java.lang.Object implements org.apache.thrift.TBase<Memo,Memo._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Memo>
Modifier and Type | Class and Description |
---|---|
static class |
Memo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
java.util.Map<java.lang.String,java.nio.ByteBuffer> |
fields |
static java.util.Map<Memo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Memo() |
Memo(Memo other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Memo other) |
Memo |
deepCopy() |
boolean |
equals(Memo that) |
boolean |
equals(java.lang.Object that) |
Memo._Fields |
fieldForId(int fieldId) |
java.util.Map<java.lang.String,java.nio.ByteBuffer> |
getFields() |
int |
getFieldsSize() |
java.lang.Object |
getFieldValue(Memo._Fields field) |
int |
hashCode() |
boolean |
isSet(Memo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetFields()
Returns true if field fields is set (has been assigned a value) and false otherwise
|
void |
putToFields(java.lang.String key,
java.nio.ByteBuffer val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Memo |
setFields(java.util.Map<java.lang.String,java.nio.ByteBuffer> fields) |
void |
setFieldsIsSet(boolean value) |
void |
setFieldValue(Memo._Fields field,
java.lang.Object value) |
java.lang.String |
toString() |
void |
unsetFields() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.util.Map<java.lang.String,java.nio.ByteBuffer> fields
public static final java.util.Map<Memo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Memo()
public Memo(Memo other)
public Memo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Memo,Memo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Memo,Memo._Fields>
public int getFieldsSize()
public void putToFields(java.lang.String key, java.nio.ByteBuffer val)
public java.util.Map<java.lang.String,java.nio.ByteBuffer> getFields()
public Memo setFields(java.util.Map<java.lang.String,java.nio.ByteBuffer> fields)
public void unsetFields()
public boolean isSetFields()
public void setFieldsIsSet(boolean value)
public void setFieldValue(Memo._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<Memo,Memo._Fields>
public java.lang.Object getFieldValue(Memo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Memo,Memo._Fields>
public boolean isSet(Memo._Fields field)
isSet
in interface org.apache.thrift.TBase<Memo,Memo._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(Memo that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Memo other)
compareTo
in interface java.lang.Comparable<Memo>
public Memo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Memo,Memo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Memo,Memo._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<Memo,Memo._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException