public static enum CustomTag.TypeCase extends Enum<CustomTag.TypeCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
ENVIRONMENT |
LITERAL |
METADATA |
REQUEST_HEADER |
TYPE_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static CustomTag.TypeCase |
forNumber(int value) |
int |
getNumber() |
static CustomTag.TypeCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CustomTag.TypeCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomTag.TypeCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomTag.TypeCase LITERAL
public static final CustomTag.TypeCase ENVIRONMENT
public static final CustomTag.TypeCase REQUEST_HEADER
public static final CustomTag.TypeCase METADATA
public static final CustomTag.TypeCase TYPE_NOT_SET
public static CustomTag.TypeCase[] values()
for (CustomTag.TypeCase c : CustomTag.TypeCase.values()) System.out.println(c);
public static CustomTag.TypeCase 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 CustomTag.TypeCase valueOf(int value)
forNumber(int) instead.public static CustomTag.TypeCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2018–2021 The Envoy Project. All rights reserved.