@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class RuntimeStat extends Object implements org.apache.thrift.TBase<RuntimeStat,RuntimeStat._Fields>, Serializable, Cloneable, Comparable<RuntimeStat>
Modifier and Type | Class and Description |
---|---|
static class |
RuntimeStat._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<RuntimeStat._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
RuntimeStat() |
RuntimeStat(int weight,
ByteBuffer payload) |
RuntimeStat(RuntimeStat other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForPayload() |
void |
clear() |
int |
compareTo(RuntimeStat other) |
RuntimeStat |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(RuntimeStat that) |
RuntimeStat._Fields |
fieldForId(int fieldId) |
int |
getCreateTime() |
Object |
getFieldValue(RuntimeStat._Fields field) |
byte[] |
getPayload() |
int |
getWeight() |
int |
hashCode() |
boolean |
isSet(RuntimeStat._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCreateTime()
Returns true if field createTime is set (has been assigned a value) and false otherwise
|
boolean |
isSetPayload()
Returns true if field payload is set (has been assigned a value) and false otherwise
|
boolean |
isSetWeight()
Returns true if field weight is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCreateTime(int createTime) |
void |
setCreateTimeIsSet(boolean value) |
void |
setFieldValue(RuntimeStat._Fields field,
Object value) |
void |
setPayload(byte[] payload) |
void |
setPayload(ByteBuffer payload) |
void |
setPayloadIsSet(boolean value) |
void |
setWeight(int weight) |
void |
setWeightIsSet(boolean value) |
String |
toString() |
void |
unsetCreateTime() |
void |
unsetPayload() |
void |
unsetWeight() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<RuntimeStat._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public RuntimeStat()
public RuntimeStat(int weight, ByteBuffer payload)
public RuntimeStat(RuntimeStat other)
public RuntimeStat deepCopy()
deepCopy
in interface org.apache.thrift.TBase<RuntimeStat,RuntimeStat._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<RuntimeStat,RuntimeStat._Fields>
public int getCreateTime()
public void setCreateTime(int createTime)
public void unsetCreateTime()
public boolean isSetCreateTime()
public void setCreateTimeIsSet(boolean value)
public int getWeight()
public void setWeight(int weight)
public void unsetWeight()
public boolean isSetWeight()
public void setWeightIsSet(boolean value)
public byte[] getPayload()
public ByteBuffer bufferForPayload()
public void setPayload(byte[] payload)
public void setPayload(ByteBuffer payload)
public void unsetPayload()
public boolean isSetPayload()
public void setPayloadIsSet(boolean value)
public void setFieldValue(RuntimeStat._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<RuntimeStat,RuntimeStat._Fields>
public Object getFieldValue(RuntimeStat._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<RuntimeStat,RuntimeStat._Fields>
public boolean isSet(RuntimeStat._Fields field)
isSet
in interface org.apache.thrift.TBase<RuntimeStat,RuntimeStat._Fields>
public boolean equals(RuntimeStat that)
public int compareTo(RuntimeStat other)
compareTo
in interface Comparable<RuntimeStat>
public RuntimeStat._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<RuntimeStat,RuntimeStat._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<RuntimeStat,RuntimeStat._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<RuntimeStat,RuntimeStat._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.