public static class Kestrel.put_args extends Object implements org.apache.thrift7.TBase<Kestrel.put_args,Kestrel.put_args._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Kestrel.put_args._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_args._Fields,org.apache.thrift7.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
put_args() |
put_args(Kestrel.put_args other)
Performs a deep copy on other.
|
put_args(String queue_name,
List<ByteBuffer> items,
int expiration_msec) |
Modifier and Type | Method and Description |
---|---|
void |
add_to_items(ByteBuffer elem) |
void |
clear() |
int |
compareTo(Kestrel.put_args other) |
Kestrel.put_args |
deepCopy() |
boolean |
equals(Kestrel.put_args that) |
boolean |
equals(Object that) |
Kestrel.put_args._Fields |
fieldForId(int fieldId) |
int |
get_expiration_msec() |
Iterator<ByteBuffer> |
get_items_iterator() |
int |
get_items_size() |
List<ByteBuffer> |
get_items() |
String |
get_queue_name() |
Object |
getFieldValue(Kestrel.put_args._Fields field) |
int |
hashCode() |
boolean |
is_set_expiration_msec()
Returns true if field expiration_msec is set (has been assigned a
value) and false otherwise
|
boolean |
is_set_items()
Returns true if field items is set (has been assigned a value) and
false otherwise
|
boolean |
is_set_queue_name()
Returns true if field queue_name is set (has been assigned a value)
and false otherwise
|
boolean |
isSet(Kestrel.put_args._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_expiration_msec_isSet(boolean value) |
void |
set_expiration_msec(int expiration_msec) |
void |
set_items_isSet(boolean value) |
void |
set_items(List<ByteBuffer> items) |
void |
set_queue_name_isSet(boolean value) |
void |
set_queue_name(String queue_name) |
void |
setFieldValue(Kestrel.put_args._Fields field,
Object value) |
String |
toString() |
void |
unset_expiration_msec() |
void |
unset_items() |
void |
unset_queue_name() |
void |
validate() |
void |
write(org.apache.thrift7.protocol.TProtocol oprot) |
public static final Map<Kestrel.put_args._Fields,org.apache.thrift7.meta_data.FieldMetaData> metaDataMap
public put_args()
public put_args(String queue_name, List<ByteBuffer> items, int expiration_msec)
public put_args(Kestrel.put_args other)
public Kestrel.put_args deepCopy()
deepCopy
in interface org.apache.thrift7.TBase<Kestrel.put_args,Kestrel.put_args._Fields>
public void clear()
clear
in interface org.apache.thrift7.TBase<Kestrel.put_args,Kestrel.put_args._Fields>
public String get_queue_name()
public void set_queue_name(String queue_name)
public void unset_queue_name()
public boolean is_set_queue_name()
public void set_queue_name_isSet(boolean value)
public int get_items_size()
public Iterator<ByteBuffer> get_items_iterator()
public void add_to_items(ByteBuffer elem)
public List<ByteBuffer> get_items()
public void set_items(List<ByteBuffer> items)
public void unset_items()
public boolean is_set_items()
public void set_items_isSet(boolean value)
public int get_expiration_msec()
public void set_expiration_msec(int expiration_msec)
public void unset_expiration_msec()
public boolean is_set_expiration_msec()
public void set_expiration_msec_isSet(boolean value)
public void setFieldValue(Kestrel.put_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift7.TBase<Kestrel.put_args,Kestrel.put_args._Fields>
public Object getFieldValue(Kestrel.put_args._Fields field)
getFieldValue
in interface org.apache.thrift7.TBase<Kestrel.put_args,Kestrel.put_args._Fields>
public boolean isSet(Kestrel.put_args._Fields field)
isSet
in interface org.apache.thrift7.TBase<Kestrel.put_args,Kestrel.put_args._Fields>
public boolean equals(Kestrel.put_args that)
public int compareTo(Kestrel.put_args other)
compareTo
in interface Comparable<Kestrel.put_args>
public Kestrel.put_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift7.TBase<Kestrel.put_args,Kestrel.put_args._Fields>
public void read(org.apache.thrift7.protocol.TProtocol iprot) throws org.apache.thrift7.TException
read
in interface org.apache.thrift7.TBase<Kestrel.put_args,Kestrel.put_args._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.put_args,Kestrel.put_args._Fields>
org.apache.thrift7.TException
public void validate() throws org.apache.thrift7.TException
org.apache.thrift7.TException