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>
Modifier and Type | Class and Description |
---|---|
static class |
Nimbus.processWorkerMetrics_args._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<Nimbus.processWorkerMetrics_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
processWorkerMetrics_args() |
processWorkerMetrics_args(Nimbus.processWorkerMetrics_args other)
Performs a deep copy on other.
|
processWorkerMetrics_args(WorkerMetrics metrics) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Nimbus.processWorkerMetrics_args other) |
Nimbus.processWorkerMetrics_args |
deepCopy() |
boolean |
equals(Nimbus.processWorkerMetrics_args that) |
boolean |
equals(Object that) |
Nimbus.processWorkerMetrics_args._Fields |
fieldForId(int fieldId) |
WorkerMetrics |
get_metrics() |
Object |
getFieldValue(Nimbus.processWorkerMetrics_args._Fields field) |
int |
hashCode() |
boolean |
is_set_metrics()
Returns true if field metrics is set (has been assigned a value) and false otherwise
|
boolean |
isSet(Nimbus.processWorkerMetrics_args._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_metrics_isSet(boolean value) |
void |
set_metrics(WorkerMetrics metrics) |
void |
setFieldValue(Nimbus.processWorkerMetrics_args._Fields field,
Object value) |
String |
toString() |
void |
unset_metrics() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<Nimbus.processWorkerMetrics_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public processWorkerMetrics_args()
public processWorkerMetrics_args(WorkerMetrics metrics)
public processWorkerMetrics_args(Nimbus.processWorkerMetrics_args other)
Performs a deep copy on other.
public Nimbus.processWorkerMetrics_args deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._Fields>
public WorkerMetrics get_metrics()
public void set_metrics(WorkerMetrics metrics)
public void unset_metrics()
public boolean is_set_metrics()
Returns true if field metrics is set (has been assigned a value) and false otherwise
public void set_metrics_isSet(boolean value)
public void setFieldValue(Nimbus.processWorkerMetrics_args._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._Fields>
public Object getFieldValue(Nimbus.processWorkerMetrics_args._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._Fields>
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
isSet
in interface org.apache.storm.thrift.TBase<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._Fields>
public boolean equals(Nimbus.processWorkerMetrics_args that)
public int compareTo(Nimbus.processWorkerMetrics_args other)
compareTo
in interface Comparable<Nimbus.processWorkerMetrics_args>
public Nimbus.processWorkerMetrics_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<Nimbus.processWorkerMetrics_args,Nimbus.processWorkerMetrics_args._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 © 2019 The Apache Software Foundation. All rights reserved.