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