Package org.apache.storm.generated
Class HBMessage
java.lang.Object
org.apache.storm.generated.HBMessage
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<HBMessage>
,org.apache.storm.thrift.TBase<HBMessage,
,HBMessage._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class HBMessage
extends Object
implements org.apache.storm.thrift.TBase<HBMessage,HBMessage._Fields>, Serializable, Cloneable, Comparable<HBMessage>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<HBMessage._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionPerforms a deep copy on other.HBMessage
(HBServerMessageType type, HBMessageData data) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
deepCopy()
boolean
boolean
fieldForId
(int fieldId) get_data()
int
get_type()
getFieldValue
(HBMessage._Fields field) int
hashCode()
boolean
Returns true if field data is set (has been assigned a value) and false otherwiseboolean
Returns true if field message_id is set (has been assigned a value) and false otherwiseboolean
Returns true if field type is set (has been assigned a value) and false otherwiseboolean
isSet
(HBMessage._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
read
(org.apache.storm.thrift.protocol.TProtocol iprot) void
set_data
(HBMessageData data) void
set_data_isSet
(boolean value) void
set_message_id
(int message_id) void
set_message_id_isSet
(boolean value) void
set_type
(HBServerMessageType type) void
set_type_isSet
(boolean value) void
setFieldValue
(HBMessage._Fields field, Object value) toString()
void
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<HBMessage._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
HBMessage
public HBMessage() -
HBMessage
-
HBMessage
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<HBMessage,
HBMessage._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<HBMessage,
HBMessage._Fields>
-
get_type
- See Also:
-
set_type
- See Also:
-
unset_type
public void unset_type() -
is_set_type
public boolean is_set_type()Returns true if field type is set (has been assigned a value) and false otherwise -
set_type_isSet
public void set_type_isSet(boolean value) -
get_data
-
set_data
-
unset_data
public void unset_data() -
is_set_data
public boolean is_set_data()Returns true if field data is set (has been assigned a value) and false otherwise -
set_data_isSet
public void set_data_isSet(boolean value) -
get_message_id
public int get_message_id() -
set_message_id
public void set_message_id(int message_id) -
unset_message_id
public void unset_message_id() -
is_set_message_id
public boolean is_set_message_id()Returns true if field message_id is set (has been assigned a value) and false otherwise -
set_message_id_isSet
public void set_message_id_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<HBMessage,
HBMessage._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<HBMessage,
HBMessage._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.storm.thrift.TBase<HBMessage,
HBMessage._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<HBMessage>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<HBMessage,
HBMessage._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
read
in interfaceorg.apache.storm.thrift.TSerializable
- Throws:
org.apache.storm.thrift.TException
-
write
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
write
in interfaceorg.apache.storm.thrift.TSerializable
- Throws:
org.apache.storm.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-