public static enum CommandProviderOutbound.RequestCase extends Enum<CommandProviderOutbound.RequestCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
COMMAND_RESPONSE |
FLOW_CONTROL |
REQUEST_NOT_SET |
SUBSCRIBE |
UNSUBSCRIBE |
Modifier and Type | Method and Description |
---|---|
static CommandProviderOutbound.RequestCase |
forNumber(int value) |
int |
getNumber() |
static CommandProviderOutbound.RequestCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CommandProviderOutbound.RequestCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandProviderOutbound.RequestCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandProviderOutbound.RequestCase SUBSCRIBE
public static final CommandProviderOutbound.RequestCase UNSUBSCRIBE
public static final CommandProviderOutbound.RequestCase FLOW_CONTROL
public static final CommandProviderOutbound.RequestCase COMMAND_RESPONSE
public static final CommandProviderOutbound.RequestCase REQUEST_NOT_SET
public static CommandProviderOutbound.RequestCase[] values()
for (CommandProviderOutbound.RequestCase c : CommandProviderOutbound.RequestCase.values()) System.out.println(c);
public static CommandProviderOutbound.RequestCase 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 null@Deprecated public static CommandProviderOutbound.RequestCase valueOf(int value)
forNumber(int)
instead.public static CommandProviderOutbound.RequestCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2010–2018. All rights reserved.