public static enum PubSubProtocol.StatusCode extends Enum<PubSubProtocol.StatusCode> implements com.google.protobuf.ProtocolMessageEnum
Modifier and Type | Field and Description |
---|---|
static int |
BAD_VERSION_VALUE |
static int |
CLIENT_ALREADY_SUBSCRIBED_VALUE |
static int |
CLIENT_NOT_SUBSCRIBED_VALUE |
static int |
COMPOSITE_VALUE |
static int |
COULD_NOT_CONNECT_VALUE |
static int |
INVALID_MESSAGE_FILTER_VALUE |
static int |
MALFORMED_REQUEST_VALUE |
static int |
NO_SUBSCRIPTION_STATE_VALUE |
static int |
NO_SUCH_TOPIC_VALUE |
static int |
NO_TOPIC_OWNER_INFO_VALUE |
static int |
NO_TOPIC_PERSISTENCE_INFO_VALUE |
static int |
NOT_RESPONSIBLE_FOR_TOPIC_VALUE |
static int |
RESUBSCRIBE_EXCEPTION_VALUE |
static int |
SERVICE_DOWN_VALUE |
static int |
SUBSCRIPTION_STATE_EXISTS_VALUE |
static int |
SUCCESS_VALUE |
static int |
TOPIC_BUSY_VALUE |
static int |
TOPIC_OWNER_INFO_EXISTS_VALUE |
static int |
TOPIC_PERSISTENCE_INFO_EXISTS_VALUE |
static int |
UNCERTAIN_STATE_VALUE |
static int |
UNEXPECTED_CONDITION_VALUE |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<PubSubProtocol.StatusCode> |
internalGetValueMap() |
static PubSubProtocol.StatusCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PubSubProtocol.StatusCode |
valueOf(int value) |
static PubSubProtocol.StatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PubSubProtocol.StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PubSubProtocol.StatusCode SUCCESS
public static final PubSubProtocol.StatusCode MALFORMED_REQUEST
public static final PubSubProtocol.StatusCode NO_SUCH_TOPIC
public static final PubSubProtocol.StatusCode CLIENT_ALREADY_SUBSCRIBED
public static final PubSubProtocol.StatusCode CLIENT_NOT_SUBSCRIBED
public static final PubSubProtocol.StatusCode COULD_NOT_CONNECT
public static final PubSubProtocol.StatusCode TOPIC_BUSY
public static final PubSubProtocol.StatusCode RESUBSCRIBE_EXCEPTION
public static final PubSubProtocol.StatusCode NOT_RESPONSIBLE_FOR_TOPIC
public static final PubSubProtocol.StatusCode SERVICE_DOWN
public static final PubSubProtocol.StatusCode UNCERTAIN_STATE
public static final PubSubProtocol.StatusCode INVALID_MESSAGE_FILTER
public static final PubSubProtocol.StatusCode BAD_VERSION
public static final PubSubProtocol.StatusCode NO_TOPIC_PERSISTENCE_INFO
public static final PubSubProtocol.StatusCode TOPIC_PERSISTENCE_INFO_EXISTS
public static final PubSubProtocol.StatusCode NO_SUBSCRIPTION_STATE
public static final PubSubProtocol.StatusCode SUBSCRIPTION_STATE_EXISTS
public static final PubSubProtocol.StatusCode NO_TOPIC_OWNER_INFO
public static final PubSubProtocol.StatusCode TOPIC_OWNER_INFO_EXISTS
public static final PubSubProtocol.StatusCode UNEXPECTED_CONDITION
public static final PubSubProtocol.StatusCode COMPOSITE
public static final int SUCCESS_VALUE
public static final int MALFORMED_REQUEST_VALUE
public static final int NO_SUCH_TOPIC_VALUE
public static final int CLIENT_ALREADY_SUBSCRIBED_VALUE
public static final int CLIENT_NOT_SUBSCRIBED_VALUE
public static final int COULD_NOT_CONNECT_VALUE
public static final int TOPIC_BUSY_VALUE
public static final int RESUBSCRIBE_EXCEPTION_VALUE
public static final int NOT_RESPONSIBLE_FOR_TOPIC_VALUE
public static final int SERVICE_DOWN_VALUE
public static final int UNCERTAIN_STATE_VALUE
public static final int INVALID_MESSAGE_FILTER_VALUE
public static final int BAD_VERSION_VALUE
public static final int NO_TOPIC_PERSISTENCE_INFO_VALUE
public static final int TOPIC_PERSISTENCE_INFO_EXISTS_VALUE
public static final int NO_SUBSCRIPTION_STATE_VALUE
public static final int SUBSCRIPTION_STATE_EXISTS_VALUE
public static final int NO_TOPIC_OWNER_INFO_VALUE
public static final int TOPIC_OWNER_INFO_EXISTS_VALUE
public static final int UNEXPECTED_CONDITION_VALUE
public static final int COMPOSITE_VALUE
public static PubSubProtocol.StatusCode[] values()
for (PubSubProtocol.StatusCode c : PubSubProtocol.StatusCode.values()) System.out.println(c);
public static PubSubProtocol.StatusCode 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 final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static PubSubProtocol.StatusCode valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<PubSubProtocol.StatusCode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static PubSubProtocol.StatusCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.