public static enum ListenResponse.ResponseTypeCase extends Enum<ListenResponse.ResponseTypeCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
DOCUMENT_CHANGE |
DOCUMENT_DELETE |
DOCUMENT_REMOVE |
FILTER |
RESPONSETYPE_NOT_SET |
TARGET_CHANGE |
| Modifier and Type | Method and Description |
|---|---|
static ListenResponse.ResponseTypeCase |
forNumber(int value) |
int |
getNumber() |
static ListenResponse.ResponseTypeCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ListenResponse.ResponseTypeCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListenResponse.ResponseTypeCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListenResponse.ResponseTypeCase TARGET_CHANGE
public static final ListenResponse.ResponseTypeCase DOCUMENT_CHANGE
public static final ListenResponse.ResponseTypeCase DOCUMENT_DELETE
public static final ListenResponse.ResponseTypeCase DOCUMENT_REMOVE
public static final ListenResponse.ResponseTypeCase FILTER
public static final ListenResponse.ResponseTypeCase RESPONSETYPE_NOT_SET
public static ListenResponse.ResponseTypeCase[] values()
for (ListenResponse.ResponseTypeCase c : ListenResponse.ResponseTypeCase.values()) System.out.println(c);
public static ListenResponse.ResponseTypeCase 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 ListenResponse.ResponseTypeCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static ListenResponse.ResponseTypeCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2023 Google LLC. All rights reserved.