Interface CookieMatcherOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CookieMatcher,CookieMatcher.Builder
public interface CookieMatcherOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanInvert the match result.getName()Specifies the cookie name to evaluate.com.google.protobuf.ByteStringSpecifies the cookie name to evaluate.Match the cookie value using :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>` semantics.Match the cookie value using :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>` semantics.booleanMatch the cookie value using :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>` semantics.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Specifies the cookie name to evaluate.
string name = 1 [(.validate.rules) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Specifies the cookie name to evaluate.
string name = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for name.
-
hasStringMatch
boolean hasStringMatch()Match the cookie value using :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>` semantics.
.envoy.type.matcher.v3.StringMatcher string_match = 2 [(.validate.rules) = { ... }- Returns:
- Whether the stringMatch field is set.
-
getStringMatch
StringMatcher getStringMatch()Match the cookie value using :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>` semantics.
.envoy.type.matcher.v3.StringMatcher string_match = 2 [(.validate.rules) = { ... }- Returns:
- The stringMatch.
-
getStringMatchOrBuilder
StringMatcherOrBuilder getStringMatchOrBuilder()Match the cookie value using :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>` semantics.
.envoy.type.matcher.v3.StringMatcher string_match = 2 [(.validate.rules) = { ... } -
getInvertMatch
boolean getInvertMatch()Invert the match result. If the cookie is not present, the match result is false, so ``invert_match`` will cause the matcher to succeed when the cookie is absent.
bool invert_match = 3;- Returns:
- The invertMatch.
-