Package com.github.xds.type.matcher.v3
Interface RegexMatcherOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RegexMatcher
,RegexMatcher.Builder
public interface RegexMatcherOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionGoogle's RE2 regex engine.Google's RE2 regex engine.getRegex()
The regex match string.com.google.protobuf.ByteString
The regex match string.boolean
Google's RE2 regex engine.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasGoogleRe2
boolean hasGoogleRe2()Google's RE2 regex engine.
.xds.type.matcher.v3.RegexMatcher.GoogleRE2 google_re2 = 1 [(.validate.rules) = { ... }
- Returns:
- Whether the googleRe2 field is set.
-
getGoogleRe2
RegexMatcher.GoogleRE2 getGoogleRe2()Google's RE2 regex engine.
.xds.type.matcher.v3.RegexMatcher.GoogleRE2 google_re2 = 1 [(.validate.rules) = { ... }
- Returns:
- The googleRe2.
-
getGoogleRe2OrBuilder
RegexMatcher.GoogleRE2OrBuilder getGoogleRe2OrBuilder()Google's RE2 regex engine.
.xds.type.matcher.v3.RegexMatcher.GoogleRE2 google_re2 = 1 [(.validate.rules) = { ... }
-
getRegex
String getRegex()The regex match string. The string must be supported by the configured engine.
string regex = 2 [(.validate.rules) = { ... }
- Returns:
- The regex.
-
getRegexBytes
com.google.protobuf.ByteString getRegexBytes()The regex match string. The string must be supported by the configured engine.
string regex = 2 [(.validate.rules) = { ... }
- Returns:
- The bytes for regex.
-
getEngineTypeCase
RegexMatcher.EngineTypeCase getEngineTypeCase()
-