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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RegexMatcher.EngineTypeCase
getEngineTypeCase()
RegexMatcher.GoogleRE2
getGoogleRe2()
Google's RE2 regex engine.RegexMatcher.GoogleRE2OrBuilder
getGoogleRe2OrBuilder()
Google's RE2 regex engine.java.lang.String
getRegex()
The regex match string.com.google.protobuf.ByteString
getRegexBytes()
The regex match string.boolean
hasGoogleRe2()
Google's RE2 regex engine.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.lang.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()
-
-