@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class ComponentAggregateStats extends Object implements org.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>, Serializable, Cloneable, Comparable<ComponentAggregateStats>
Modifier and Type | Class and Description |
---|---|
static class |
ComponentAggregateStats._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<ComponentAggregateStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ComponentAggregateStats() |
ComponentAggregateStats(ComponentAggregateStats other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ComponentAggregateStats other) |
ComponentAggregateStats |
deepCopy() |
boolean |
equals(ComponentAggregateStats that) |
boolean |
equals(Object 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 otherwise
|
boolean |
is_set_last_error()
Returns true if field last_error is set (has been assigned a value) and false otherwise
|
boolean |
is_set_specific_stats()
Returns true if field specific_stats is set (has been assigned a value) and false otherwise
|
boolean |
is_set_type()
Returns true if field type is set (has been assigned a value) and false otherwise
|
boolean |
isSet(ComponentAggregateStats._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_common_stats_isSet(boolean value) |
void |
set_common_stats(CommonAggregateStats common_stats) |
void |
set_last_error_isSet(boolean value) |
void |
set_last_error(ErrorInfo last_error) |
void |
set_specific_stats_isSet(boolean value) |
void |
set_specific_stats(SpecificAggregateStats specific_stats) |
void |
set_type_isSet(boolean value) |
void |
set_type(ComponentType type) |
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) |
public static final Map<ComponentAggregateStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public ComponentAggregateStats()
public ComponentAggregateStats(ComponentAggregateStats other)
Performs a deep copy on other.
public ComponentAggregateStats deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
public ComponentType get_type()
ComponentType
public void set_type(ComponentType type)
ComponentType
public void unset_type()
public boolean is_set_type()
Returns true if field type is set (has been assigned a value) and false otherwise
public void set_type_isSet(boolean value)
public CommonAggregateStats get_common_stats()
public void set_common_stats(CommonAggregateStats common_stats)
public void unset_common_stats()
public boolean is_set_common_stats()
Returns true if field common_stats is set (has been assigned a value) and false otherwise
public void set_common_stats_isSet(boolean value)
public SpecificAggregateStats get_specific_stats()
public void set_specific_stats(SpecificAggregateStats specific_stats)
public void unset_specific_stats()
public boolean is_set_specific_stats()
Returns true if field specific_stats is set (has been assigned a value) and false otherwise
public void set_specific_stats_isSet(boolean value)
public ErrorInfo get_last_error()
public void set_last_error(ErrorInfo last_error)
public void unset_last_error()
public boolean is_set_last_error()
Returns true if field last_error is set (has been assigned a value) and false otherwise
public void set_last_error_isSet(boolean value)
public void setFieldValue(ComponentAggregateStats._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
public Object getFieldValue(ComponentAggregateStats._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
public boolean isSet(ComponentAggregateStats._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<ComponentAggregateStats,ComponentAggregateStats._Fields>
public boolean equals(ComponentAggregateStats that)
public int compareTo(ComponentAggregateStats other)
compareTo
in interface Comparable<ComponentAggregateStats>
public ComponentAggregateStats._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._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.