Package org.apache.storm.generated
Class StormBase
- java.lang.Object
-
- org.apache.storm.generated.StormBase
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<StormBase>,org.apache.storm.thrift.TBase<StormBase,StormBase._Fields>,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class StormBase extends Object implements org.apache.storm.thrift.TBase<StormBase,StormBase._Fields>, Serializable, Cloneable, Comparable<StormBase>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStormBase._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<StormBase._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(StormBase other)StormBasedeepCopy()booleanequals(Object that)booleanequals(StormBase that)StormBase._FieldsfieldForId(int fieldId)Map<String,DebugOptions>get_component_debug()intget_component_debug_size()Map<String,Integer>get_component_executors()intget_component_executors_size()intget_launch_time_secs()Stringget_name()intget_num_workers()Stringget_owner()TopologyStatusget_prev_status()Stringget_principal()TopologyStatusget_status()TopologyActionOptionsget_topology_action_options()Stringget_topology_version()ObjectgetFieldValue(StormBase._Fields field)inthashCode()booleanis_set_component_debug()Returns true if field component_debug is set (has been assigned a value) and false otherwisebooleanis_set_component_executors()Returns true if field component_executors is set (has been assigned a value) and false otherwisebooleanis_set_launch_time_secs()Returns true if field launch_time_secs is set (has been assigned a value) and false otherwisebooleanis_set_name()Returns true if field name is set (has been assigned a value) and false otherwisebooleanis_set_num_workers()Returns true if field num_workers is set (has been assigned a value) and false otherwisebooleanis_set_owner()Returns true if field owner is set (has been assigned a value) and false otherwisebooleanis_set_prev_status()Returns true if field prev_status is set (has been assigned a value) and false otherwisebooleanis_set_principal()Returns true if field principal is set (has been assigned a value) and false otherwisebooleanis_set_status()Returns true if field status is set (has been assigned a value) and false otherwisebooleanis_set_topology_action_options()Returns true if field topology_action_options is set (has been assigned a value) and false otherwisebooleanis_set_topology_version()Returns true if field topology_version is set (has been assigned a value) and false otherwisebooleanisSet(StormBase._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidput_to_component_debug(String key, DebugOptions val)voidput_to_component_executors(String key, int val)voidread(org.apache.storm.thrift.protocol.TProtocol iprot)voidset_component_debug(Map<String,DebugOptions> component_debug)voidset_component_debug_isSet(boolean value)voidset_component_executors(Map<String,Integer> component_executors)voidset_component_executors_isSet(boolean value)voidset_launch_time_secs(int launch_time_secs)voidset_launch_time_secs_isSet(boolean value)voidset_name(String name)voidset_name_isSet(boolean value)voidset_num_workers(int num_workers)voidset_num_workers_isSet(boolean value)voidset_owner(String owner)voidset_owner_isSet(boolean value)voidset_prev_status(TopologyStatus prev_status)voidset_prev_status_isSet(boolean value)voidset_principal(String principal)voidset_principal_isSet(boolean value)voidset_status(TopologyStatus status)voidset_status_isSet(boolean value)voidset_topology_action_options(TopologyActionOptions topology_action_options)voidset_topology_action_options_isSet(boolean value)voidset_topology_version(String topology_version)voidset_topology_version_isSet(boolean value)voidsetFieldValue(StormBase._Fields field, Object value)StringtoString()voidunset_component_debug()voidunset_component_executors()voidunset_launch_time_secs()voidunset_name()voidunset_num_workers()voidunset_owner()voidunset_prev_status()voidunset_principal()voidunset_status()voidunset_topology_action_options()voidunset_topology_version()voidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<StormBase._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
StormBase
public StormBase()
-
StormBase
public StormBase(String name, TopologyStatus status, int num_workers)
-
StormBase
public StormBase(StormBase other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public StormBase deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<StormBase,StormBase._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<StormBase,StormBase._Fields>
-
get_name
public String get_name()
-
set_name
public void set_name(String 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_status
public TopologyStatus get_status()
- See Also:
TopologyStatus
-
set_status
public void set_status(TopologyStatus status)
- See Also:
TopologyStatus
-
unset_status
public void unset_status()
-
is_set_status
public boolean is_set_status()
Returns true if field status is set (has been assigned a value) and false otherwise
-
set_status_isSet
public void set_status_isSet(boolean value)
-
get_num_workers
public int get_num_workers()
-
set_num_workers
public void set_num_workers(int num_workers)
-
unset_num_workers
public void unset_num_workers()
-
is_set_num_workers
public boolean is_set_num_workers()
Returns true if field num_workers is set (has been assigned a value) and false otherwise
-
set_num_workers_isSet
public void set_num_workers_isSet(boolean value)
-
get_component_executors_size
public int get_component_executors_size()
-
put_to_component_executors
public void put_to_component_executors(String key, int val)
-
set_component_executors
public void set_component_executors(Map<String,Integer> component_executors)
-
unset_component_executors
public void unset_component_executors()
-
is_set_component_executors
public boolean is_set_component_executors()
Returns true if field component_executors is set (has been assigned a value) and false otherwise
-
set_component_executors_isSet
public void set_component_executors_isSet(boolean value)
-
get_launch_time_secs
public int get_launch_time_secs()
-
set_launch_time_secs
public void set_launch_time_secs(int launch_time_secs)
-
unset_launch_time_secs
public void unset_launch_time_secs()
-
is_set_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
-
set_launch_time_secs_isSet
public void set_launch_time_secs_isSet(boolean value)
-
get_owner
public String get_owner()
-
set_owner
public void set_owner(String owner)
-
unset_owner
public void unset_owner()
-
is_set_owner
public boolean is_set_owner()
Returns true if field owner is set (has been assigned a value) and false otherwise
-
set_owner_isSet
public void set_owner_isSet(boolean value)
-
get_topology_action_options
public TopologyActionOptions get_topology_action_options()
-
set_topology_action_options
public void set_topology_action_options(TopologyActionOptions topology_action_options)
-
unset_topology_action_options
public void unset_topology_action_options()
-
is_set_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
-
set_topology_action_options_isSet
public void set_topology_action_options_isSet(boolean value)
-
get_prev_status
public TopologyStatus get_prev_status()
- See Also:
TopologyStatus
-
set_prev_status
public void set_prev_status(TopologyStatus prev_status)
- See Also:
TopologyStatus
-
unset_prev_status
public void unset_prev_status()
-
is_set_prev_status
public boolean is_set_prev_status()
Returns true if field prev_status is set (has been assigned a value) and false otherwise
-
set_prev_status_isSet
public void set_prev_status_isSet(boolean value)
-
get_component_debug_size
public int get_component_debug_size()
-
put_to_component_debug
public void put_to_component_debug(String key, DebugOptions val)
-
get_component_debug
public Map<String,DebugOptions> get_component_debug()
-
set_component_debug
public void set_component_debug(Map<String,DebugOptions> component_debug)
-
unset_component_debug
public void unset_component_debug()
-
is_set_component_debug
public boolean is_set_component_debug()
Returns true if field component_debug is set (has been assigned a value) and false otherwise
-
set_component_debug_isSet
public void set_component_debug_isSet(boolean value)
-
get_principal
public String get_principal()
-
set_principal
public void set_principal(String principal)
-
unset_principal
public void unset_principal()
-
is_set_principal
public boolean is_set_principal()
Returns true if field principal is set (has been assigned a value) and false otherwise
-
set_principal_isSet
public void set_principal_isSet(boolean value)
-
get_topology_version
public String get_topology_version()
-
set_topology_version
public void set_topology_version(String topology_version)
-
unset_topology_version
public void unset_topology_version()
-
is_set_topology_version
public boolean is_set_topology_version()
Returns true if field topology_version is set (has been assigned a value) and false otherwise
-
set_topology_version_isSet
public void set_topology_version_isSet(boolean value)
-
setFieldValue
public void setFieldValue(StormBase._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<StormBase,StormBase._Fields>
-
getFieldValue
public Object getFieldValue(StormBase._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<StormBase,StormBase._Fields>
-
isSet
public boolean isSet(StormBase._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.storm.thrift.TBase<StormBase,StormBase._Fields>
-
equals
public boolean equals(StormBase that)
-
compareTo
public int compareTo(StormBase other)
- Specified by:
compareToin interfaceComparable<StormBase>
-
fieldForId
public StormBase._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<StormBase,StormBase._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException- Specified by:
readin 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:
writein interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-
-