@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class HBPulse extends Object implements org.apache.thrift.TBase<HBPulse,HBPulse._Fields>, Serializable, Cloneable, Comparable<HBPulse>
Modifier and Type | Class and Description |
---|---|
static class |
HBPulse._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<HBPulse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
HBPulse() |
HBPulse(HBPulse other)
Performs a deep copy on other.
|
HBPulse(String id,
ByteBuffer details) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
buffer_for_details() |
void |
clear() |
int |
compareTo(HBPulse other) |
HBPulse |
deepCopy() |
boolean |
equals(HBPulse that) |
boolean |
equals(Object that) |
HBPulse._Fields |
fieldForId(int fieldId) |
byte[] |
get_details() |
String |
get_id() |
Object |
getFieldValue(HBPulse._Fields field) |
int |
hashCode() |
boolean |
is_set_details()
Returns true if field details is set (has been assigned a value) and false otherwise
|
boolean |
is_set_id()
Returns true if field id is set (has been assigned a value) and false otherwise
|
boolean |
isSet(HBPulse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_details_isSet(boolean value) |
void |
set_details(byte[] details) |
void |
set_details(ByteBuffer details) |
void |
set_id_isSet(boolean value) |
void |
set_id(String id) |
void |
setFieldValue(HBPulse._Fields field,
Object value) |
String |
toString() |
void |
unset_details() |
void |
unset_id() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<HBPulse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public HBPulse()
public HBPulse(String id, ByteBuffer details)
public HBPulse(HBPulse other)
Performs a deep copy on other.
public HBPulse deepCopy()
deepCopy
in interface org.apache.thrift.TBase<HBPulse,HBPulse._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<HBPulse,HBPulse._Fields>
public String get_id()
public void set_id(String id)
public void unset_id()
public boolean is_set_id()
Returns true if field id is set (has been assigned a value) and false otherwise
public void set_id_isSet(boolean value)
public byte[] get_details()
public ByteBuffer buffer_for_details()
public void set_details(byte[] details)
public void set_details(ByteBuffer details)
public void unset_details()
public boolean is_set_details()
Returns true if field details is set (has been assigned a value) and false otherwise
public void set_details_isSet(boolean value)
public void setFieldValue(HBPulse._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<HBPulse,HBPulse._Fields>
public Object getFieldValue(HBPulse._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<HBPulse,HBPulse._Fields>
public boolean isSet(HBPulse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<HBPulse,HBPulse._Fields>
public boolean equals(HBPulse that)
public int compareTo(HBPulse other)
compareTo
in interface Comparable<HBPulse>
public HBPulse._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<HBPulse,HBPulse._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<HBPulse,HBPulse._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<HBPulse,HBPulse._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.