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