Package org.apache.storm.generated
Class Nimbus.rebalance_args
java.lang.Object
org.apache.storm.generated.Nimbus.rebalance_args
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Nimbus.rebalance_args>
,org.apache.storm.thrift.TBase<Nimbus.rebalance_args,
,Nimbus.rebalance_args._Fields> org.apache.storm.thrift.TSerializable
- Enclosing class:
- Nimbus
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>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<Nimbus.rebalance_args._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionrebalance_args
(String name, RebalanceOptions options) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
compareTo
(Nimbus.rebalance_args other) deepCopy()
boolean
boolean
equals
(Nimbus.rebalance_args that) fieldForId
(int fieldId) get_name()
int
hashCode()
boolean
Returns true if field name is set (has been assigned a value) and false otherwiseboolean
Returns true if field options is set (has been assigned a value) and false otherwiseboolean
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
read
(org.apache.storm.thrift.protocol.TProtocol iprot) void
void
set_name_isSet
(boolean value) void
set_options
(RebalanceOptions options) void
set_options_isSet
(boolean value) void
setFieldValue
(Nimbus.rebalance_args._Fields field, Object value) toString()
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<Nimbus.rebalance_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
rebalance_args
public rebalance_args() -
rebalance_args
-
rebalance_args
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<Nimbus.rebalance_args,
Nimbus.rebalance_args._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<Nimbus.rebalance_args,
Nimbus.rebalance_args._Fields>
-
get_name
-
set_name
-
unset_name
public void unset_name() -
is_set_name
public boolean is_set_name()Returns true if field name is set (has been assigned a value) and false otherwise -
set_name_isSet
public void set_name_isSet(boolean value) -
get_options
-
set_options
-
unset_options
public void unset_options() -
is_set_options
public boolean is_set_options()Returns true if field options is set (has been assigned a value) and false otherwise -
set_options_isSet
public void set_options_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<Nimbus.rebalance_args,
Nimbus.rebalance_args._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<Nimbus.rebalance_args,
Nimbus.rebalance_args._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.storm.thrift.TBase<Nimbus.rebalance_args,
Nimbus.rebalance_args._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<Nimbus.rebalance_args>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<Nimbus.rebalance_args,
Nimbus.rebalance_args._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
read
in interfaceorg.apache.storm.thrift.TSerializable
- Throws:
org.apache.storm.thrift.TException
-
write
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
write
in interfaceorg.apache.storm.thrift.TSerializable
- Throws:
org.apache.storm.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-