Enum MatchPredicate.RuleCase
- java.lang.Object
-
- java.lang.Enum<MatchPredicate.RuleCase>
-
- io.envoyproxy.envoy.service.tap.v2alpha.MatchPredicate.RuleCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<MatchPredicate.RuleCase>
- Enclosing class:
- MatchPredicate
public static enum MatchPredicate.RuleCase extends Enum<MatchPredicate.RuleCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AND_MATCHANY_MATCHHTTP_REQUEST_HEADERS_MATCHHTTP_REQUEST_TRAILERS_MATCHHTTP_RESPONSE_HEADERS_MATCHHTTP_RESPONSE_TRAILERS_MATCHNOT_MATCHOR_MATCHRULE_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MatchPredicate.RuleCaseforNumber(int value)intgetNumber()static MatchPredicate.RuleCasevalueOf(int value)Deprecated.static MatchPredicate.RuleCasevalueOf(String name)Returns the enum constant of this type with the specified name.static MatchPredicate.RuleCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OR_MATCH
public static final MatchPredicate.RuleCase OR_MATCH
-
AND_MATCH
public static final MatchPredicate.RuleCase AND_MATCH
-
NOT_MATCH
public static final MatchPredicate.RuleCase NOT_MATCH
-
ANY_MATCH
public static final MatchPredicate.RuleCase ANY_MATCH
-
HTTP_REQUEST_HEADERS_MATCH
public static final MatchPredicate.RuleCase HTTP_REQUEST_HEADERS_MATCH
-
HTTP_REQUEST_TRAILERS_MATCH
public static final MatchPredicate.RuleCase HTTP_REQUEST_TRAILERS_MATCH
-
HTTP_RESPONSE_HEADERS_MATCH
public static final MatchPredicate.RuleCase HTTP_RESPONSE_HEADERS_MATCH
-
HTTP_RESPONSE_TRAILERS_MATCH
public static final MatchPredicate.RuleCase HTTP_RESPONSE_TRAILERS_MATCH
-
RULE_NOT_SET
public static final MatchPredicate.RuleCase RULE_NOT_SET
-
-
Method Detail
-
values
public static MatchPredicate.RuleCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MatchPredicate.RuleCase c : MatchPredicate.RuleCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatchPredicate.RuleCase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
@Deprecated public static MatchPredicate.RuleCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static MatchPredicate.RuleCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-