@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class HBMessage extends Object implements org.apache.storm.thrift.TBase<HBMessage,HBMessage._Fields>, Serializable, Cloneable, Comparable<HBMessage>
Modifier and Type | Class and Description |
---|---|
static class |
HBMessage._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<HBMessage._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
HBMessage() |
HBMessage(HBMessage other)
Performs a deep copy on other.
|
HBMessage(HBServerMessageType type,
HBMessageData data) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(HBMessage other) |
HBMessage |
deepCopy() |
boolean |
equals(HBMessage that) |
boolean |
equals(Object that) |
HBMessage._Fields |
fieldForId(int fieldId) |
HBMessageData |
get_data() |
int |
get_message_id() |
HBServerMessageType |
get_type() |
Object |
getFieldValue(HBMessage._Fields field) |
int |
hashCode() |
boolean |
is_set_data()
Returns true if field data is set (has been assigned a value) and false otherwise
|
boolean |
is_set_message_id()
Returns true if field message_id is set (has been assigned a value) and false otherwise
|
boolean |
is_set_type()
Returns true if field type is set (has been assigned a value) and false otherwise
|
boolean |
isSet(HBMessage._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_data_isSet(boolean value) |
void |
set_data(HBMessageData data) |
void |
set_message_id_isSet(boolean value) |
void |
set_message_id(int message_id) |
void |
set_type_isSet(boolean value) |
void |
set_type(HBServerMessageType type) |
void |
setFieldValue(HBMessage._Fields field,
Object value) |
String |
toString() |
void |
unset_data() |
void |
unset_message_id() |
void |
unset_type() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<HBMessage._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public HBMessage()
public HBMessage(HBServerMessageType type, HBMessageData data)
public HBMessage(HBMessage other)
public HBMessage deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<HBMessage,HBMessage._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<HBMessage,HBMessage._Fields>
public HBServerMessageType get_type()
HBServerMessageType
public void set_type(HBServerMessageType type)
HBServerMessageType
public void unset_type()
public boolean is_set_type()
public void set_type_isSet(boolean value)
public HBMessageData get_data()
public void set_data(HBMessageData data)
public void unset_data()
public boolean is_set_data()
public void set_data_isSet(boolean value)
public int get_message_id()
public void set_message_id(int message_id)
public void unset_message_id()
public boolean is_set_message_id()
public void set_message_id_isSet(boolean value)
public void setFieldValue(HBMessage._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<HBMessage,HBMessage._Fields>
public Object getFieldValue(HBMessage._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<HBMessage,HBMessage._Fields>
public boolean isSet(HBMessage._Fields field)
isSet
in interface org.apache.storm.thrift.TBase<HBMessage,HBMessage._Fields>
public boolean equals(HBMessage that)
public int compareTo(HBMessage other)
compareTo
in interface Comparable<HBMessage>
public HBMessage._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<HBMessage,HBMessage._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 © 2023 The Apache Software Foundation. All rights reserved.