public static class Kestrel.peek_result extends Object implements org.apache.thrift7.TBase<Kestrel.peek_result,Kestrel.peek_result._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Kestrel.peek_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.peek_result._Fields,org.apache.thrift7.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
peek_result() |
peek_result(Kestrel.peek_result other)
Performs a deep copy on other.
|
peek_result(QueueInfo success) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Kestrel.peek_result other) |
Kestrel.peek_result |
deepCopy() |
boolean |
equals(Kestrel.peek_result that) |
boolean |
equals(Object that) |
Kestrel.peek_result._Fields |
fieldForId(int fieldId) |
QueueInfo |
get_success() |
Object |
getFieldValue(Kestrel.peek_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.peek_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(QueueInfo success) |
void |
setFieldValue(Kestrel.peek_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.peek_result._Fields,org.apache.thrift7.meta_data.FieldMetaData> metaDataMap
public peek_result()
public peek_result(QueueInfo success)
public peek_result(Kestrel.peek_result other)
public Kestrel.peek_result deepCopy()
deepCopy
in interface org.apache.thrift7.TBase<Kestrel.peek_result,Kestrel.peek_result._Fields>
public void clear()
clear
in interface org.apache.thrift7.TBase<Kestrel.peek_result,Kestrel.peek_result._Fields>
public QueueInfo get_success()
public void set_success(QueueInfo success)
public void unset_success()
public boolean is_set_success()
public void set_success_isSet(boolean value)
public void setFieldValue(Kestrel.peek_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift7.TBase<Kestrel.peek_result,Kestrel.peek_result._Fields>
public Object getFieldValue(Kestrel.peek_result._Fields field)
getFieldValue
in interface org.apache.thrift7.TBase<Kestrel.peek_result,Kestrel.peek_result._Fields>
public boolean isSet(Kestrel.peek_result._Fields field)
isSet
in interface org.apache.thrift7.TBase<Kestrel.peek_result,Kestrel.peek_result._Fields>
public boolean equals(Kestrel.peek_result that)
public int compareTo(Kestrel.peek_result other)
compareTo
in interface Comparable<Kestrel.peek_result>
public Kestrel.peek_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift7.TBase<Kestrel.peek_result,Kestrel.peek_result._Fields>
public void read(org.apache.thrift7.protocol.TProtocol iprot) throws org.apache.thrift7.TException
read
in interface org.apache.thrift7.TBase<Kestrel.peek_result,Kestrel.peek_result._Fields>
org.apache.thrift7.TException
public void write(org.apache.thrift7.protocol.TProtocol oprot) throws org.apache.thrift7.TException
write
in interface org.apache.thrift7.TBase<Kestrel.peek_result,Kestrel.peek_result._Fields>
org.apache.thrift7.TException
public void validate() throws org.apache.thrift7.TException
org.apache.thrift7.TException