public static class Nimbus.rebalance_args extends Object implements org.apache.storm.thrift.TBase<Nimbus.rebalance_args,Nimbus.rebalance_args._Fields>, Serializable, Cloneable, Comparable<Nimbus.rebalance_args>
Modifier and Type | Class and Description |
---|---|
static class |
Nimbus.rebalance_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<Nimbus.rebalance_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
rebalance_args() |
rebalance_args(Nimbus.rebalance_args other)
Performs a deep copy on other.
|
rebalance_args(String name,
RebalanceOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Nimbus.rebalance_args other) |
Nimbus.rebalance_args |
deepCopy() |
boolean |
equals(Nimbus.rebalance_args that) |
boolean |
equals(Object that) |
Nimbus.rebalance_args._Fields |
fieldForId(int fieldId) |
String |
get_name() |
RebalanceOptions |
get_options() |
Object |
getFieldValue(Nimbus.rebalance_args._Fields field) |
int |
hashCode() |
boolean |
is_set_name()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
is_set_options()
Returns true if field options is set (has been assigned a value) and false otherwise
|
boolean |
isSet(Nimbus.rebalance_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_name_isSet(boolean value) |
void |
set_name(String name) |
void |
set_options_isSet(boolean value) |
void |
set_options(RebalanceOptions options) |
void |
setFieldValue(Nimbus.rebalance_args._Fields field,
Object value) |
String |
toString() |
void |
unset_name() |
void |
unset_options() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<Nimbus.rebalance_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public rebalance_args()
public rebalance_args(String name, RebalanceOptions options)
public rebalance_args(Nimbus.rebalance_args other)
Performs a deep copy on other.
public Nimbus.rebalance_args deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<Nimbus.rebalance_args,Nimbus.rebalance_args._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<Nimbus.rebalance_args,Nimbus.rebalance_args._Fields>
public String get_name()
public void set_name(String name)
public void unset_name()
public boolean is_set_name()
Returns true if field name is set (has been assigned a value) and false otherwise
public void set_name_isSet(boolean value)
public RebalanceOptions get_options()
public void set_options(RebalanceOptions options)
public void unset_options()
public boolean is_set_options()
Returns true if field options is set (has been assigned a value) and false otherwise
public void set_options_isSet(boolean value)
public void setFieldValue(Nimbus.rebalance_args._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<Nimbus.rebalance_args,Nimbus.rebalance_args._Fields>
public Object getFieldValue(Nimbus.rebalance_args._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<Nimbus.rebalance_args,Nimbus.rebalance_args._Fields>
public boolean isSet(Nimbus.rebalance_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.storm.thrift.TBase<Nimbus.rebalance_args,Nimbus.rebalance_args._Fields>
public boolean equals(Nimbus.rebalance_args that)
public int compareTo(Nimbus.rebalance_args other)
compareTo
in interface Comparable<Nimbus.rebalance_args>
public Nimbus.rebalance_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<Nimbus.rebalance_args,Nimbus.rebalance_args._Fields>
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
read
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
write
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void validate() throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
Copyright © 2020 The Apache Software Foundation. All rights reserved.