public static interface String.StringMatcherOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getExact()
The input string must match exactly the string specified here.
|
com.google.protobuf.ByteString |
getExactBytes()
The input string must match exactly the string specified here.
|
String.StringMatcher.MatchPatternCase |
getMatchPatternCase() |
String |
getPrefix()
The input string must have the prefix specified here.
|
com.google.protobuf.ByteString |
getPrefixBytes()
The input string must have the prefix specified here.
|
String |
getRegex()
The input string must match the regular expression specified here.
|
com.google.protobuf.ByteString |
getRegexBytes()
The input string must match the regular expression specified here.
|
String |
getSuffix()
The input string must have the suffix specified here.
|
com.google.protobuf.ByteString |
getSuffixBytes()
The input string must have the suffix specified here.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getExact()
The input string must match exactly the string specified here. Examples: * *abc* only matches the value *abc*.
string exact = 1;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;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) = { ... }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) = { ... }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) = { ... }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) = { ... }String getRegex()
The input string must match the regular expression specified here.
The regex grammar is defined `here
<http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
string regex = 4 [(.validate.rules) = { ... }com.google.protobuf.ByteString getRegexBytes()
The input string must match the regular expression specified here.
The regex grammar is defined `here
<http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
string regex = 4 [(.validate.rules) = { ... }String.StringMatcher.MatchPatternCase getMatchPatternCase()
Copyright © 2018 The Envoy Project. All rights reserved.