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