@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public enum HBServerMessageType extends Enum<HBServerMessageType> implements org.apache.storm.thrift.TEnum
Modifier and Type | Method and Description |
---|---|
static HBServerMessageType |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static HBServerMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HBServerMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HBServerMessageType CREATE_PATH
public static final HBServerMessageType CREATE_PATH_RESPONSE
public static final HBServerMessageType EXISTS
public static final HBServerMessageType EXISTS_RESPONSE
public static final HBServerMessageType SEND_PULSE
public static final HBServerMessageType SEND_PULSE_RESPONSE
public static final HBServerMessageType GET_ALL_PULSE_FOR_PATH
public static final HBServerMessageType GET_ALL_PULSE_FOR_PATH_RESPONSE
public static final HBServerMessageType GET_ALL_NODES_FOR_PATH
public static final HBServerMessageType GET_ALL_NODES_FOR_PATH_RESPONSE
public static final HBServerMessageType GET_PULSE
public static final HBServerMessageType GET_PULSE_RESPONSE
public static final HBServerMessageType DELETE_PATH
public static final HBServerMessageType DELETE_PATH_RESPONSE
public static final HBServerMessageType DELETE_PULSE_ID
public static final HBServerMessageType DELETE_PULSE_ID_RESPONSE
public static final HBServerMessageType CONTROL_MESSAGE
public static final HBServerMessageType SASL_MESSAGE_TOKEN
public static final HBServerMessageType NOT_AUTHORIZED
public static HBServerMessageType[] values()
for (HBServerMessageType c : HBServerMessageType.values()) System.out.println(c);
public static HBServerMessageType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
getValue
in interface org.apache.storm.thrift.TEnum
public static HBServerMessageType findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
Copyright © 2022 The Apache Software Foundation. All rights reserved.