Package com.github.xds.type.matcher.v3
Interface StringMatcherOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StringMatcher,StringMatcher.Builder
public interface StringMatcherOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContains()The input string must have the substring specified here.com.google.protobuf.ByteStringgetContainsBytes()The input string must have the substring specified here.StringgetExact()The input string must match exactly the string specified here.com.google.protobuf.ByteStringgetExactBytes()The input string must match exactly the string specified here.booleangetIgnoreCase()If true, indicates the exact/prefix/suffix matching should be case insensitive.StringMatcher.MatchPatternCasegetMatchPatternCase()StringgetPrefix()The input string must have the prefix specified here.com.google.protobuf.ByteStringgetPrefixBytes()The input string must have the prefix specified here.RegexMatchergetSafeRegex()The input string must match the regular expression specified here.RegexMatcherOrBuildergetSafeRegexOrBuilder()The input string must match the regular expression specified here.StringgetSuffix()The input string must have the suffix specified here.com.google.protobuf.ByteStringgetSuffixBytes()The input string must have the suffix specified here.booleanhasSafeRegex()The input string must match the regular expression specified here.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getExact
String getExact()
The input string must match exactly the string specified here. Examples: * *abc* only matches the value *abc*.
string exact = 1;
-
getExactBytes
com.google.protobuf.ByteString getExactBytes()
The input string must match exactly the string specified here. Examples: * *abc* only matches the value *abc*.
string exact = 1;
-
getPrefix
String getPrefix()
The input string must have the prefix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * *abc* matches the value *abc.xyz*
string prefix = 2 [(.validate.rules) = { ... }
-
getPrefixBytes
com.google.protobuf.ByteString getPrefixBytes()
The input string must have the prefix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * *abc* matches the value *abc.xyz*
string prefix = 2 [(.validate.rules) = { ... }
-
getSuffix
String getSuffix()
The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * *abc* matches the value *xyz.abc*
string suffix = 3 [(.validate.rules) = { ... }
-
getSuffixBytes
com.google.protobuf.ByteString getSuffixBytes()
The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * *abc* matches the value *xyz.abc*
string suffix = 3 [(.validate.rules) = { ... }
-
hasSafeRegex
boolean hasSafeRegex()
The input string must match the regular expression specified here.
.xds.type.matcher.v3.RegexMatcher safe_regex = 5 [(.validate.rules) = { ... }
-
getSafeRegex
RegexMatcher getSafeRegex()
The input string must match the regular expression specified here.
.xds.type.matcher.v3.RegexMatcher safe_regex = 5 [(.validate.rules) = { ... }
-
getSafeRegexOrBuilder
RegexMatcherOrBuilder getSafeRegexOrBuilder()
The input string must match the regular expression specified here.
.xds.type.matcher.v3.RegexMatcher safe_regex = 5 [(.validate.rules) = { ... }
-
getContains
String getContains()
The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead. Examples: * *abc* matches the value *xyz.abc.def*
string contains = 7 [(.validate.rules) = { ... }
-
getContainsBytes
com.google.protobuf.ByteString getContainsBytes()
The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead. Examples: * *abc* matches the value *xyz.abc.def*
string contains = 7 [(.validate.rules) = { ... }
-
getIgnoreCase
boolean getIgnoreCase()
If true, indicates the exact/prefix/suffix matching should be case insensitive. This has no effect for the safe_regex match. For example, the matcher *data* will match both input string *Data* and *data* if set to true.
bool ignore_case = 6;
-
getMatchPatternCase
StringMatcher.MatchPatternCase getMatchPatternCase()
-
-