public static enum Permission.RuleCase extends Enum<Permission.RuleCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
AND_RULES |
ANY |
DESTINATION_IP |
DESTINATION_PORT |
HEADER |
METADATA |
NOT_RULE |
OR_RULES |
REQUESTED_SERVER_NAME |
RULE_NOT_SET |
URL_PATH |
Modifier and Type | Method and Description |
---|---|
static Permission.RuleCase |
forNumber(int value) |
int |
getNumber() |
static Permission.RuleCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Permission.RuleCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission.RuleCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permission.RuleCase AND_RULES
public static final Permission.RuleCase OR_RULES
public static final Permission.RuleCase ANY
public static final Permission.RuleCase HEADER
public static final Permission.RuleCase URL_PATH
public static final Permission.RuleCase DESTINATION_IP
public static final Permission.RuleCase DESTINATION_PORT
public static final Permission.RuleCase METADATA
public static final Permission.RuleCase NOT_RULE
public static final Permission.RuleCase REQUESTED_SERVER_NAME
public static final Permission.RuleCase RULE_NOT_SET
public static Permission.RuleCase[] values()
for (Permission.RuleCase c : Permission.RuleCase.values()) System.out.println(c);
public static Permission.RuleCase 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 Permission.RuleCase valueOf(int value)
forNumber(int)
instead.public static Permission.RuleCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2018–2021 The Envoy Project. All rights reserved.