public static class Kestrel.put_result extends Object implements org.apache.thrift7.TBase<Kestrel.put_result,Kestrel.put_result._Fields>, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
Kestrel.put_result._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<Kestrel.put_result._Fields,org.apache.thrift7.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
put_result() |
put_result(int success) |
put_result(Kestrel.put_result other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(Kestrel.put_result other) |
Kestrel.put_result |
deepCopy() |
boolean |
equals(Kestrel.put_result that) |
boolean |
equals(Object that) |
Kestrel.put_result._Fields |
fieldForId(int fieldId) |
int |
get_success() |
Object |
getFieldValue(Kestrel.put_result._Fields field) |
int |
hashCode() |
boolean |
is_set_success()
Returns true if field success is set (has been assigned a value) and
false otherwise
|
boolean |
isSet(Kestrel.put_result._Fields field)
Returns true if field corresponding to fieldID is set (has been
assigned a value) and false otherwise
|
void |
read(org.apache.thrift7.protocol.TProtocol iprot) |
void |
set_success_isSet(boolean value) |
void |
set_success(int success) |
void |
setFieldValue(Kestrel.put_result._Fields field,
Object value) |
String |
toString() |
void |
unset_success() |
void |
validate() |
void |
write(org.apache.thrift7.protocol.TProtocol oprot) |
public static final Map<Kestrel.put_result._Fields,org.apache.thrift7.meta_data.FieldMetaData> metaDataMap
public put_result()
public put_result(int success)
public put_result(Kestrel.put_result other)
public Kestrel.put_result deepCopy()
deepCopy in interface org.apache.thrift7.TBase<Kestrel.put_result,Kestrel.put_result._Fields>public void clear()
clear in interface org.apache.thrift7.TBase<Kestrel.put_result,Kestrel.put_result._Fields>public int get_success()
public void set_success(int success)
public void unset_success()
public boolean is_set_success()
public void set_success_isSet(boolean value)
public void setFieldValue(Kestrel.put_result._Fields field, Object value)
setFieldValue in interface org.apache.thrift7.TBase<Kestrel.put_result,Kestrel.put_result._Fields>public Object getFieldValue(Kestrel.put_result._Fields field)
getFieldValue in interface org.apache.thrift7.TBase<Kestrel.put_result,Kestrel.put_result._Fields>public boolean isSet(Kestrel.put_result._Fields field)
isSet in interface org.apache.thrift7.TBase<Kestrel.put_result,Kestrel.put_result._Fields>public boolean equals(Kestrel.put_result that)
public int compareTo(Kestrel.put_result other)
compareTo in interface Comparable<Kestrel.put_result>public Kestrel.put_result._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift7.TBase<Kestrel.put_result,Kestrel.put_result._Fields>public void read(org.apache.thrift7.protocol.TProtocol iprot) throws org.apache.thrift7.TException
read in interface org.apache.thrift7.TBase<Kestrel.put_result,Kestrel.put_result._Fields>org.apache.thrift7.TExceptionpublic void write(org.apache.thrift7.protocol.TProtocol oprot) throws org.apache.thrift7.TException
write in interface org.apache.thrift7.TBase<Kestrel.put_result,Kestrel.put_result._Fields>org.apache.thrift7.TExceptionpublic void validate() throws org.apache.thrift7.TException
org.apache.thrift7.TException