public static class M3.emitMetricBatch_args extends java.lang.Object implements org.apache.thrift.TBase<M3.emitMetricBatch_args,M3.emitMetricBatch_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<M3.emitMetricBatch_args>
| Modifier and Type | Class and Description |
|---|---|
static class |
M3.emitMetricBatch_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
MetricBatch |
batch |
static java.util.Map<M3.emitMetricBatch_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
emitMetricBatch_args() |
emitMetricBatch_args(M3.emitMetricBatch_args other)
Performs a deep copy on other.
|
emitMetricBatch_args(MetricBatch batch) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(M3.emitMetricBatch_args other) |
M3.emitMetricBatch_args |
deepCopy() |
boolean |
equals(M3.emitMetricBatch_args that) |
boolean |
equals(java.lang.Object that) |
M3.emitMetricBatch_args._Fields |
fieldForId(int fieldId) |
MetricBatch |
getBatch() |
java.lang.Object |
getFieldValue(M3.emitMetricBatch_args._Fields field) |
int |
hashCode() |
boolean |
isSet(M3.emitMetricBatch_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBatch()
Returns true if field batch is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
M3.emitMetricBatch_args |
setBatch(MetricBatch batch) |
void |
setBatchIsSet(boolean value) |
void |
setFieldValue(M3.emitMetricBatch_args._Fields field,
java.lang.Object value) |
java.lang.String |
toString() |
void |
unsetBatch() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public MetricBatch batch
public static final java.util.Map<M3.emitMetricBatch_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public emitMetricBatch_args()
public emitMetricBatch_args(MetricBatch batch)
public emitMetricBatch_args(M3.emitMetricBatch_args other)
public M3.emitMetricBatch_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<M3.emitMetricBatch_args,M3.emitMetricBatch_args._Fields>public void clear()
clear in interface org.apache.thrift.TBase<M3.emitMetricBatch_args,M3.emitMetricBatch_args._Fields>public MetricBatch getBatch()
public M3.emitMetricBatch_args setBatch(MetricBatch batch)
public void unsetBatch()
public boolean isSetBatch()
public void setBatchIsSet(boolean value)
public void setFieldValue(M3.emitMetricBatch_args._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<M3.emitMetricBatch_args,M3.emitMetricBatch_args._Fields>public java.lang.Object getFieldValue(M3.emitMetricBatch_args._Fields field)
getFieldValue in interface org.apache.thrift.TBase<M3.emitMetricBatch_args,M3.emitMetricBatch_args._Fields>public boolean isSet(M3.emitMetricBatch_args._Fields field)
isSet in interface org.apache.thrift.TBase<M3.emitMetricBatch_args,M3.emitMetricBatch_args._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(M3.emitMetricBatch_args that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(M3.emitMetricBatch_args other)
compareTo in interface java.lang.Comparable<M3.emitMetricBatch_args>public M3.emitMetricBatch_args._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<M3.emitMetricBatch_args,M3.emitMetricBatch_args._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<M3.emitMetricBatch_args,M3.emitMetricBatch_args._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<M3.emitMetricBatch_args,M3.emitMetricBatch_args._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException