@Generated(value="Autogenerated by Thrift Compiler (0.9.3)",
date="2018-07-17")
public class GaugeValue
extends java.lang.Object
implements org.apache.thrift.TBase<GaugeValue,GaugeValue._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<GaugeValue>
| Modifier and Type | Class and Description |
|---|---|
static class |
GaugeValue._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
double |
dValue |
long |
i64Value |
static java.util.Map<GaugeValue._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
GaugeValue() |
GaugeValue(GaugeValue other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(GaugeValue other) |
GaugeValue |
deepCopy() |
boolean |
equals(GaugeValue that) |
boolean |
equals(java.lang.Object that) |
GaugeValue._Fields |
fieldForId(int fieldId) |
double |
getDValue() |
java.lang.Object |
getFieldValue(GaugeValue._Fields field) |
long |
getI64Value() |
int |
hashCode() |
boolean |
isSet(GaugeValue._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDValue()
Returns true if field dValue is set (has been assigned a value) and false otherwise
|
boolean |
isSetI64Value()
Returns true if field i64Value is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
GaugeValue |
setDValue(double dValue) |
void |
setDValueIsSet(boolean value) |
void |
setFieldValue(GaugeValue._Fields field,
java.lang.Object value) |
GaugeValue |
setI64Value(long i64Value) |
void |
setI64ValueIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetDValue() |
void |
unsetI64Value() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long i64Value
public double dValue
public static final java.util.Map<GaugeValue._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GaugeValue()
public GaugeValue(GaugeValue other)
public GaugeValue deepCopy()
deepCopy in interface org.apache.thrift.TBase<GaugeValue,GaugeValue._Fields>public void clear()
clear in interface org.apache.thrift.TBase<GaugeValue,GaugeValue._Fields>public long getI64Value()
public GaugeValue setI64Value(long i64Value)
public void unsetI64Value()
public boolean isSetI64Value()
public void setI64ValueIsSet(boolean value)
public double getDValue()
public GaugeValue setDValue(double dValue)
public void unsetDValue()
public boolean isSetDValue()
public void setDValueIsSet(boolean value)
public void setFieldValue(GaugeValue._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<GaugeValue,GaugeValue._Fields>public java.lang.Object getFieldValue(GaugeValue._Fields field)
getFieldValue in interface org.apache.thrift.TBase<GaugeValue,GaugeValue._Fields>public boolean isSet(GaugeValue._Fields field)
isSet in interface org.apache.thrift.TBase<GaugeValue,GaugeValue._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(GaugeValue that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(GaugeValue other)
compareTo in interface java.lang.Comparable<GaugeValue>public GaugeValue._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<GaugeValue,GaugeValue._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<GaugeValue,GaugeValue._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<GaugeValue,GaugeValue._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