public static class Kestrel.abort_args extends Object implements org.apache.thrift7.TBase<Kestrel.abort_args,Kestrel.abort_args._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Kestrel.abort_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.abort_args._Fields,org.apache.thrift7.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
abort_args() |
abort_args(Kestrel.abort_args other)
Performs a deep copy on other.
|
abort_args(String queue_name,
Set<Long> ids) |
Modifier and Type | Method and Description |
---|---|
void |
add_to_ids(long elem) |
void |
clear() |
int |
compareTo(Kestrel.abort_args other) |
Kestrel.abort_args |
deepCopy() |
boolean |
equals(Kestrel.abort_args that) |
boolean |
equals(Object that) |
Kestrel.abort_args._Fields |
fieldForId(int fieldId) |
Iterator<Long> |
get_ids_iterator() |
int |
get_ids_size() |
Set<Long> |
get_ids() |
String |
get_queue_name() |
Object |
getFieldValue(Kestrel.abort_args._Fields field) |
int |
hashCode() |
boolean |
is_set_ids()
Returns true if field ids 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.abort_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_ids_isSet(boolean value) |
void |
set_ids(Set<Long> ids) |
void |
set_queue_name_isSet(boolean value) |
void |
set_queue_name(String queue_name) |
void |
setFieldValue(Kestrel.abort_args._Fields field,
Object value) |
String |
toString() |
void |
unset_ids() |
void |
unset_queue_name() |
void |
validate() |
void |
write(org.apache.thrift7.protocol.TProtocol oprot) |
public static final Map<Kestrel.abort_args._Fields,org.apache.thrift7.meta_data.FieldMetaData> metaDataMap
public abort_args()
public abort_args(String queue_name, Set<Long> ids)
public abort_args(Kestrel.abort_args other)
public Kestrel.abort_args deepCopy()
deepCopy
in interface org.apache.thrift7.TBase<Kestrel.abort_args,Kestrel.abort_args._Fields>
public void clear()
clear
in interface org.apache.thrift7.TBase<Kestrel.abort_args,Kestrel.abort_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_ids_size()
public Iterator<Long> get_ids_iterator()
public void add_to_ids(long elem)
public void unset_ids()
public boolean is_set_ids()
public void set_ids_isSet(boolean value)
public void setFieldValue(Kestrel.abort_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift7.TBase<Kestrel.abort_args,Kestrel.abort_args._Fields>
public Object getFieldValue(Kestrel.abort_args._Fields field)
getFieldValue
in interface org.apache.thrift7.TBase<Kestrel.abort_args,Kestrel.abort_args._Fields>
public boolean isSet(Kestrel.abort_args._Fields field)
isSet
in interface org.apache.thrift7.TBase<Kestrel.abort_args,Kestrel.abort_args._Fields>
public boolean equals(Kestrel.abort_args that)
public int compareTo(Kestrel.abort_args other)
compareTo
in interface Comparable<Kestrel.abort_args>
public Kestrel.abort_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift7.TBase<Kestrel.abort_args,Kestrel.abort_args._Fields>
public void read(org.apache.thrift7.protocol.TProtocol iprot) throws org.apache.thrift7.TException
read
in interface org.apache.thrift7.TBase<Kestrel.abort_args,Kestrel.abort_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.abort_args,Kestrel.abort_args._Fields>
org.apache.thrift7.TException
public void validate() throws org.apache.thrift7.TException
org.apache.thrift7.TException