Package org.apache.storm.generated
Class Nimbus.processWorkerMetrics_args
- java.lang.Object
-
- org.apache.storm.generated.Nimbus.processWorkerMetrics_args
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Nimbus.processWorkerMetrics_args>,org.apache.storm.thrift.TBase<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._Fields>,org.apache.storm.thrift.TSerializable
- Enclosing class:
- Nimbus
public static class Nimbus.processWorkerMetrics_args extends Object implements org.apache.storm.thrift.TBase<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._Fields>, Serializable, Cloneable, Comparable<Nimbus.processWorkerMetrics_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNimbus.processWorkerMetrics_args._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<Nimbus.processWorkerMetrics_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description processWorkerMetrics_args()processWorkerMetrics_args(Nimbus.processWorkerMetrics_args other)Performs a deep copy on other.processWorkerMetrics_args(WorkerMetrics metrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(Nimbus.processWorkerMetrics_args other)Nimbus.processWorkerMetrics_argsdeepCopy()booleanequals(Object that)booleanequals(Nimbus.processWorkerMetrics_args that)Nimbus.processWorkerMetrics_args._FieldsfieldForId(int fieldId)WorkerMetricsget_metrics()ObjectgetFieldValue(Nimbus.processWorkerMetrics_args._Fields field)inthashCode()booleanis_set_metrics()Returns true if field metrics is set (has been assigned a value) and false otherwisebooleanisSet(Nimbus.processWorkerMetrics_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot)voidset_metrics(WorkerMetrics metrics)voidset_metrics_isSet(boolean value)voidsetFieldValue(Nimbus.processWorkerMetrics_args._Fields field, Object value)StringtoString()voidunset_metrics()voidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<Nimbus.processWorkerMetrics_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
processWorkerMetrics_args
public processWorkerMetrics_args()
-
processWorkerMetrics_args
public processWorkerMetrics_args(WorkerMetrics metrics)
-
processWorkerMetrics_args
public processWorkerMetrics_args(Nimbus.processWorkerMetrics_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Nimbus.processWorkerMetrics_args deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._Fields>
-
get_metrics
public WorkerMetrics get_metrics()
-
set_metrics
public void set_metrics(WorkerMetrics metrics)
-
unset_metrics
public void unset_metrics()
-
is_set_metrics
public boolean is_set_metrics()
Returns true if field metrics is set (has been assigned a value) and false otherwise
-
set_metrics_isSet
public void set_metrics_isSet(boolean value)
-
setFieldValue
public void setFieldValue(Nimbus.processWorkerMetrics_args._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._Fields>
-
getFieldValue
public Object getFieldValue(Nimbus.processWorkerMetrics_args._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._Fields>
-
isSet
public boolean isSet(Nimbus.processWorkerMetrics_args._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<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._Fields>
-
equals
public boolean equals(Nimbus.processWorkerMetrics_args that)
-
compareTo
public int compareTo(Nimbus.processWorkerMetrics_args other)
- Specified by:
compareToin interfaceComparable<Nimbus.processWorkerMetrics_args>
-
fieldForId
public Nimbus.processWorkerMetrics_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._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
-
-