@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class StormBase extends Object implements org.apache.storm.thrift.TBase<StormBase,StormBase._Fields>, Serializable, Cloneable, Comparable<StormBase>
Modifier and Type | Class and Description |
---|---|
static class |
StormBase._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<StormBase._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
StormBase() |
StormBase(StormBase other)
Performs a deep copy on other.
|
StormBase(String name,
TopologyStatus status,
int num_workers) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(StormBase other) |
StormBase |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(StormBase that) |
StormBase._Fields |
fieldForId(int fieldId) |
int |
get_component_debug_size() |
Map<String,DebugOptions> |
get_component_debug() |
int |
get_component_executors_size() |
Map<String,Integer> |
get_component_executors() |
int |
get_launch_time_secs() |
String |
get_name() |
int |
get_num_workers() |
String |
get_owner() |
TopologyStatus |
get_prev_status() |
String |
get_principal() |
TopologyStatus |
get_status() |
TopologyActionOptions |
get_topology_action_options() |
String |
get_topology_version() |
Object |
getFieldValue(StormBase._Fields field) |
int |
hashCode() |
boolean |
is_set_component_debug()
Returns true if field component_debug is set (has been assigned a value) and false otherwise
|
boolean |
is_set_component_executors()
Returns true if field component_executors is set (has been assigned a value) and false otherwise
|
boolean |
is_set_launch_time_secs()
Returns true if field launch_time_secs is set (has been assigned a value) and false otherwise
|
boolean |
is_set_name()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
is_set_num_workers()
Returns true if field num_workers is set (has been assigned a value) and false otherwise
|
boolean |
is_set_owner()
Returns true if field owner is set (has been assigned a value) and false otherwise
|
boolean |
is_set_prev_status()
Returns true if field prev_status is set (has been assigned a value) and false otherwise
|
boolean |
is_set_principal()
Returns true if field principal is set (has been assigned a value) and false otherwise
|
boolean |
is_set_status()
Returns true if field status is set (has been assigned a value) and false otherwise
|
boolean |
is_set_topology_action_options()
Returns true if field topology_action_options is set (has been assigned a value) and false otherwise
|
boolean |
is_set_topology_version()
Returns true if field topology_version is set (has been assigned a value) and false otherwise
|
boolean |
isSet(StormBase._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
put_to_component_debug(String key,
DebugOptions val) |
void |
put_to_component_executors(String key,
int val) |
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_component_debug_isSet(boolean value) |
void |
set_component_debug(Map<String,DebugOptions> component_debug) |
void |
set_component_executors_isSet(boolean value) |
void |
set_component_executors(Map<String,Integer> component_executors) |
void |
set_launch_time_secs_isSet(boolean value) |
void |
set_launch_time_secs(int launch_time_secs) |
void |
set_name_isSet(boolean value) |
void |
set_name(String name) |
void |
set_num_workers_isSet(boolean value) |
void |
set_num_workers(int num_workers) |
void |
set_owner_isSet(boolean value) |
void |
set_owner(String owner) |
void |
set_prev_status_isSet(boolean value) |
void |
set_prev_status(TopologyStatus prev_status) |
void |
set_principal_isSet(boolean value) |
void |
set_principal(String principal) |
void |
set_status_isSet(boolean value) |
void |
set_status(TopologyStatus status) |
void |
set_topology_action_options_isSet(boolean value) |
void |
set_topology_action_options(TopologyActionOptions topology_action_options) |
void |
set_topology_version_isSet(boolean value) |
void |
set_topology_version(String topology_version) |
void |
setFieldValue(StormBase._Fields field,
Object value) |
String |
toString() |
void |
unset_component_debug() |
void |
unset_component_executors() |
void |
unset_launch_time_secs() |
void |
unset_name() |
void |
unset_num_workers() |
void |
unset_owner() |
void |
unset_prev_status() |
void |
unset_principal() |
void |
unset_status() |
void |
unset_topology_action_options() |
void |
unset_topology_version() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<StormBase._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public StormBase()
public StormBase(String name, TopologyStatus status, int num_workers)
public StormBase(StormBase other)
Performs a deep copy on other.
public StormBase deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<StormBase,StormBase._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<StormBase,StormBase._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 TopologyStatus get_status()
TopologyStatus
public void set_status(TopologyStatus status)
TopologyStatus
public void unset_status()
public boolean is_set_status()
Returns true if field status is set (has been assigned a value) and false otherwise
public void set_status_isSet(boolean value)
public int get_num_workers()
public void set_num_workers(int num_workers)
public void unset_num_workers()
public boolean is_set_num_workers()
Returns true if field num_workers is set (has been assigned a value) and false otherwise
public void set_num_workers_isSet(boolean value)
public int get_component_executors_size()
public void put_to_component_executors(String key, int val)
public void set_component_executors(Map<String,Integer> component_executors)
public void unset_component_executors()
public boolean is_set_component_executors()
Returns true if field component_executors is set (has been assigned a value) and false otherwise
public void set_component_executors_isSet(boolean value)
public int get_launch_time_secs()
public void set_launch_time_secs(int launch_time_secs)
public void unset_launch_time_secs()
public boolean is_set_launch_time_secs()
Returns true if field launch_time_secs is set (has been assigned a value) and false otherwise
public void set_launch_time_secs_isSet(boolean value)
public String get_owner()
public void set_owner(String owner)
public void unset_owner()
public boolean is_set_owner()
Returns true if field owner is set (has been assigned a value) and false otherwise
public void set_owner_isSet(boolean value)
public TopologyActionOptions get_topology_action_options()
public void set_topology_action_options(TopologyActionOptions topology_action_options)
public void unset_topology_action_options()
public boolean is_set_topology_action_options()
Returns true if field topology_action_options is set (has been assigned a value) and false otherwise
public void set_topology_action_options_isSet(boolean value)
public TopologyStatus get_prev_status()
TopologyStatus
public void set_prev_status(TopologyStatus prev_status)
TopologyStatus
public void unset_prev_status()
public boolean is_set_prev_status()
Returns true if field prev_status is set (has been assigned a value) and false otherwise
public void set_prev_status_isSet(boolean value)
public int get_component_debug_size()
public void put_to_component_debug(String key, DebugOptions val)
public Map<String,DebugOptions> get_component_debug()
public void set_component_debug(Map<String,DebugOptions> component_debug)
public void unset_component_debug()
public boolean is_set_component_debug()
Returns true if field component_debug is set (has been assigned a value) and false otherwise
public void set_component_debug_isSet(boolean value)
public String get_principal()
public void set_principal(String principal)
public void unset_principal()
public boolean is_set_principal()
Returns true if field principal is set (has been assigned a value) and false otherwise
public void set_principal_isSet(boolean value)
public String get_topology_version()
public void set_topology_version(String topology_version)
public void unset_topology_version()
public boolean is_set_topology_version()
Returns true if field topology_version is set (has been assigned a value) and false otherwise
public void set_topology_version_isSet(boolean value)
public void setFieldValue(StormBase._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<StormBase,StormBase._Fields>
public Object getFieldValue(StormBase._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<StormBase,StormBase._Fields>
public boolean isSet(StormBase._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<StormBase,StormBase._Fields>
public boolean equals(StormBase that)
public int compareTo(StormBase other)
compareTo
in interface Comparable<StormBase>
public StormBase._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<StormBase,StormBase._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 © 2022 The Apache Software Foundation. All rights reserved.