Package org.apache.storm.generated
Class ComponentAggregateStats
- java.lang.Object
-
- org.apache.storm.generated.ComponentAggregateStats
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<ComponentAggregateStats>
,org.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class ComponentAggregateStats extends Object implements org.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>, Serializable, Cloneable, Comparable<ComponentAggregateStats>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ComponentAggregateStats._Fields
The 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<ComponentAggregateStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description ComponentAggregateStats()
ComponentAggregateStats(ComponentAggregateStats other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(ComponentAggregateStats other)
ComponentAggregateStats
deepCopy()
boolean
equals(Object that)
boolean
equals(ComponentAggregateStats that)
ComponentAggregateStats._Fields
fieldForId(int fieldId)
CommonAggregateStats
get_common_stats()
ErrorInfo
get_last_error()
SpecificAggregateStats
get_specific_stats()
ComponentType
get_type()
Object
getFieldValue(ComponentAggregateStats._Fields field)
int
hashCode()
boolean
is_set_common_stats()
Returns true if field common_stats is set (has been assigned a value) and false otherwiseboolean
is_set_last_error()
Returns true if field last_error is set (has been assigned a value) and false otherwiseboolean
is_set_specific_stats()
Returns true if field specific_stats is set (has been assigned a value) and false otherwiseboolean
is_set_type()
Returns true if field type is set (has been assigned a value) and false otherwiseboolean
isSet(ComponentAggregateStats._Fields field)
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
set_common_stats(CommonAggregateStats common_stats)
void
set_common_stats_isSet(boolean value)
void
set_last_error(ErrorInfo last_error)
void
set_last_error_isSet(boolean value)
void
set_specific_stats(SpecificAggregateStats specific_stats)
void
set_specific_stats_isSet(boolean value)
void
set_type(ComponentType type)
void
set_type_isSet(boolean value)
void
setFieldValue(ComponentAggregateStats._Fields field, Object value)
String
toString()
void
unset_common_stats()
void
unset_last_error()
void
unset_specific_stats()
void
unset_type()
void
validate()
void
write(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<ComponentAggregateStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ComponentAggregateStats
public ComponentAggregateStats()
-
ComponentAggregateStats
public ComponentAggregateStats(ComponentAggregateStats other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ComponentAggregateStats deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
-
get_type
public ComponentType get_type()
- See Also:
ComponentType
-
set_type
public void set_type(ComponentType type)
- See Also:
ComponentType
-
unset_type
public void unset_type()
-
is_set_type
public boolean is_set_type()
Returns true if field type is set (has been assigned a value) and false otherwise
-
set_type_isSet
public void set_type_isSet(boolean value)
-
get_common_stats
public CommonAggregateStats get_common_stats()
-
set_common_stats
public void set_common_stats(CommonAggregateStats common_stats)
-
unset_common_stats
public void unset_common_stats()
-
is_set_common_stats
public boolean is_set_common_stats()
Returns true if field common_stats is set (has been assigned a value) and false otherwise
-
set_common_stats_isSet
public void set_common_stats_isSet(boolean value)
-
get_specific_stats
public SpecificAggregateStats get_specific_stats()
-
set_specific_stats
public void set_specific_stats(SpecificAggregateStats specific_stats)
-
unset_specific_stats
public void unset_specific_stats()
-
is_set_specific_stats
public boolean is_set_specific_stats()
Returns true if field specific_stats is set (has been assigned a value) and false otherwise
-
set_specific_stats_isSet
public void set_specific_stats_isSet(boolean value)
-
get_last_error
public ErrorInfo get_last_error()
-
set_last_error
public void set_last_error(ErrorInfo last_error)
-
unset_last_error
public void unset_last_error()
-
is_set_last_error
public boolean is_set_last_error()
Returns true if field last_error is set (has been assigned a value) and false otherwise
-
set_last_error_isSet
public void set_last_error_isSet(boolean value)
-
setFieldValue
public void setFieldValue(ComponentAggregateStats._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
-
getFieldValue
public Object getFieldValue(ComponentAggregateStats._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
-
isSet
public boolean isSet(ComponentAggregateStats._Fields field)
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<ComponentAggregateStats,ComponentAggregateStats._Fields>
-
equals
public boolean equals(ComponentAggregateStats that)
-
compareTo
public int compareTo(ComponentAggregateStats other)
- Specified by:
compareTo
in interfaceComparable<ComponentAggregateStats>
-
fieldForId
public ComponentAggregateStats._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._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
-
validate
public void validate() throws org.apache.storm.thrift.TException
- Throws:
org.apache.storm.thrift.TException
-
-