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