Class StringMatcher.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<StringMatcher.Builder>
-
- io.envoyproxy.envoy.type.matcher.v3.StringMatcher.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StringMatcherOrBuilder,java.lang.Cloneable
- Enclosing class:
- StringMatcher
public static final class StringMatcher.Builder extends com.google.protobuf.GeneratedMessage.Builder<StringMatcher.Builder> implements StringMatcherOrBuilder
Specifies the way to match a string. [#next-free-field: 9]
Protobuf typeenvoy.type.matcher.v3.StringMatcher
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder>customBuilder_private booleanignoreCase_private java.lang.ObjectmatchPattern_private intmatchPatternCase_private com.google.protobuf.SingleFieldBuilder<RegexMatcher,RegexMatcher.Builder,RegexMatcherOrBuilder>safeRegexBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringMatcherbuild()StringMatcherbuildPartial()private voidbuildPartial0(StringMatcher result)private voidbuildPartialOneofs(StringMatcher result)StringMatcher.Builderclear()StringMatcher.BuilderclearContains()The input string must have the substring specified here.StringMatcher.BuilderclearCustom()Use an extension as the matcher type.StringMatcher.BuilderclearExact()The input string must match exactly the string specified here.StringMatcher.BuilderclearIgnoreCase()If true, indicates the exact/prefix/suffix/contains matching should be case insensitive.StringMatcher.BuilderclearMatchPattern()StringMatcher.BuilderclearPrefix()The input string must have the prefix specified here.StringMatcher.BuilderclearSafeRegex()The input string must match the regular expression specified here.StringMatcher.BuilderclearSuffix()The input string must have the suffix specified here.java.lang.StringgetContains()The input string must have the substring specified here.com.google.protobuf.ByteStringgetContainsBytes()The input string must have the substring specified here.TypedExtensionConfiggetCustom()Use an extension as the matcher type.TypedExtensionConfig.BuildergetCustomBuilder()Use an extension as the matcher type.private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder>getCustomFieldBuilder()Use an extension as the matcher type.TypedExtensionConfigOrBuildergetCustomOrBuilder()Use an extension as the matcher type.StringMatchergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.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/contains matching should be case insensitive.StringMatcher.MatchPatternCasegetMatchPatternCase()java.lang.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.RegexMatcher.BuildergetSafeRegexBuilder()The input string must match the regular expression specified here.private com.google.protobuf.SingleFieldBuilder<RegexMatcher,RegexMatcher.Builder,RegexMatcherOrBuilder>getSafeRegexFieldBuilder()The input string must match the regular expression specified here.RegexMatcherOrBuildergetSafeRegexOrBuilder()The input string must match the regular expression specified here.java.lang.StringgetSuffix()The input string must have the suffix specified here.com.google.protobuf.ByteStringgetSuffixBytes()The input string must have the suffix specified here.booleanhasContains()The input string must have the substring specified here.booleanhasCustom()Use an extension as the matcher type.booleanhasExact()The input string must match exactly the string specified here.booleanhasPrefix()The input string must have the prefix specified here.booleanhasSafeRegex()The input string must match the regular expression specified here.booleanhasSuffix()The input string must have the suffix specified here.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()StringMatcher.BuildermergeCustom(TypedExtensionConfig value)Use an extension as the matcher type.StringMatcher.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StringMatcher.BuildermergeFrom(com.google.protobuf.Message other)StringMatcher.BuildermergeFrom(StringMatcher other)StringMatcher.BuildermergeSafeRegex(RegexMatcher value)The input string must match the regular expression specified here.StringMatcher.BuildersetContains(java.lang.String value)The input string must have the substring specified here.StringMatcher.BuildersetContainsBytes(com.google.protobuf.ByteString value)The input string must have the substring specified here.StringMatcher.BuildersetCustom(TypedExtensionConfig value)Use an extension as the matcher type.StringMatcher.BuildersetCustom(TypedExtensionConfig.Builder builderForValue)Use an extension as the matcher type.StringMatcher.BuildersetExact(java.lang.String value)The input string must match exactly the string specified here.StringMatcher.BuildersetExactBytes(com.google.protobuf.ByteString value)The input string must match exactly the string specified here.StringMatcher.BuildersetIgnoreCase(boolean value)If true, indicates the exact/prefix/suffix/contains matching should be case insensitive.StringMatcher.BuildersetPrefix(java.lang.String value)The input string must have the prefix specified here.StringMatcher.BuildersetPrefixBytes(com.google.protobuf.ByteString value)The input string must have the prefix specified here.StringMatcher.BuildersetSafeRegex(RegexMatcher value)The input string must match the regular expression specified here.StringMatcher.BuildersetSafeRegex(RegexMatcher.Builder builderForValue)The input string must match the regular expression specified here.StringMatcher.BuildersetSuffix(java.lang.String value)The input string must have the suffix specified here.StringMatcher.BuildersetSuffixBytes(com.google.protobuf.ByteString value)The input string must have the suffix specified here.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
matchPatternCase_
private int matchPatternCase_
-
matchPattern_
private java.lang.Object matchPattern_
-
bitField0_
private int bitField0_
-
safeRegexBuilder_
private com.google.protobuf.SingleFieldBuilder<RegexMatcher,RegexMatcher.Builder,RegexMatcherOrBuilder> safeRegexBuilder_
-
customBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder> customBuilder_
-
ignoreCase_
private boolean ignoreCase_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StringMatcher.Builder>
-
clear
public StringMatcher.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StringMatcher.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StringMatcher.Builder>
-
getDefaultInstanceForType
public StringMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StringMatcher build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StringMatcher buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(StringMatcher result)
-
buildPartialOneofs
private void buildPartialOneofs(StringMatcher result)
-
mergeFrom
public StringMatcher.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StringMatcher.Builder>
-
mergeFrom
public StringMatcher.Builder mergeFrom(StringMatcher other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StringMatcher.Builder>
-
mergeFrom
public StringMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StringMatcher.Builder>- Throws:
java.io.IOException
-
getMatchPatternCase
public StringMatcher.MatchPatternCase getMatchPatternCase()
- Specified by:
getMatchPatternCasein interfaceStringMatcherOrBuilder
-
clearMatchPattern
public StringMatcher.Builder clearMatchPattern()
-
hasExact
public boolean hasExact()
The input string must match exactly the string specified here. Examples: * ``abc`` only matches the value ``abc``.
string exact = 1;- Specified by:
hasExactin interfaceStringMatcherOrBuilder- Returns:
- Whether the exact field is set.
-
getExact
public java.lang.String getExact()
The input string must match exactly the string specified here. Examples: * ``abc`` only matches the value ``abc``.
string exact = 1;- Specified by:
getExactin interfaceStringMatcherOrBuilder- Returns:
- The exact.
-
getExactBytes
public 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;- Specified by:
getExactBytesin interfaceStringMatcherOrBuilder- Returns:
- The bytes for exact.
-
setExact
public StringMatcher.Builder setExact(java.lang.String value)
The input string must match exactly the string specified here. Examples: * ``abc`` only matches the value ``abc``.
string exact = 1;- Parameters:
value- The exact to set.- Returns:
- This builder for chaining.
-
clearExact
public StringMatcher.Builder clearExact()
The input string must match exactly the string specified here. Examples: * ``abc`` only matches the value ``abc``.
string exact = 1;- Returns:
- This builder for chaining.
-
setExactBytes
public StringMatcher.Builder setExactBytes(com.google.protobuf.ByteString value)
The input string must match exactly the string specified here. Examples: * ``abc`` only matches the value ``abc``.
string exact = 1;- Parameters:
value- The bytes for exact to set.- Returns:
- This builder for chaining.
-
hasPrefix
public boolean hasPrefix()
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) = { ... }- Specified by:
hasPrefixin interfaceStringMatcherOrBuilder- Returns:
- Whether the prefix field is set.
-
getPrefix
public java.lang.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) = { ... }- Specified by:
getPrefixin interfaceStringMatcherOrBuilder- Returns:
- The prefix.
-
getPrefixBytes
public 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) = { ... }- Specified by:
getPrefixBytesin interfaceStringMatcherOrBuilder- Returns:
- The bytes for prefix.
-
setPrefix
public StringMatcher.Builder setPrefix(java.lang.String value)
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) = { ... }- Parameters:
value- The prefix to set.- Returns:
- This builder for chaining.
-
clearPrefix
public StringMatcher.Builder clearPrefix()
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) = { ... }- Returns:
- This builder for chaining.
-
setPrefixBytes
public StringMatcher.Builder setPrefixBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for prefix to set.- Returns:
- This builder for chaining.
-
hasSuffix
public boolean hasSuffix()
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) = { ... }- Specified by:
hasSuffixin interfaceStringMatcherOrBuilder- Returns:
- Whether the suffix field is set.
-
getSuffix
public java.lang.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) = { ... }- Specified by:
getSuffixin interfaceStringMatcherOrBuilder- Returns:
- The suffix.
-
getSuffixBytes
public 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) = { ... }- Specified by:
getSuffixBytesin interfaceStringMatcherOrBuilder- Returns:
- The bytes for suffix.
-
setSuffix
public StringMatcher.Builder setSuffix(java.lang.String value)
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) = { ... }- Parameters:
value- The suffix to set.- Returns:
- This builder for chaining.
-
clearSuffix
public StringMatcher.Builder clearSuffix()
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) = { ... }- Returns:
- This builder for chaining.
-
setSuffixBytes
public StringMatcher.Builder setSuffixBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for suffix to set.- Returns:
- This builder for chaining.
-
hasSafeRegex
public boolean hasSafeRegex()
The input string must match the regular expression specified here.
.envoy.type.matcher.v3.RegexMatcher safe_regex = 5 [(.validate.rules) = { ... }- Specified by:
hasSafeRegexin interfaceStringMatcherOrBuilder- Returns:
- Whether the safeRegex field is set.
-
getSafeRegex
public RegexMatcher getSafeRegex()
The input string must match the regular expression specified here.
.envoy.type.matcher.v3.RegexMatcher safe_regex = 5 [(.validate.rules) = { ... }- Specified by:
getSafeRegexin interfaceStringMatcherOrBuilder- Returns:
- The safeRegex.
-
setSafeRegex
public StringMatcher.Builder setSafeRegex(RegexMatcher value)
The input string must match the regular expression specified here.
.envoy.type.matcher.v3.RegexMatcher safe_regex = 5 [(.validate.rules) = { ... }
-
setSafeRegex
public StringMatcher.Builder setSafeRegex(RegexMatcher.Builder builderForValue)
The input string must match the regular expression specified here.
.envoy.type.matcher.v3.RegexMatcher safe_regex = 5 [(.validate.rules) = { ... }
-
mergeSafeRegex
public StringMatcher.Builder mergeSafeRegex(RegexMatcher value)
The input string must match the regular expression specified here.
.envoy.type.matcher.v3.RegexMatcher safe_regex = 5 [(.validate.rules) = { ... }
-
clearSafeRegex
public StringMatcher.Builder clearSafeRegex()
The input string must match the regular expression specified here.
.envoy.type.matcher.v3.RegexMatcher safe_regex = 5 [(.validate.rules) = { ... }
-
getSafeRegexBuilder
public RegexMatcher.Builder getSafeRegexBuilder()
The input string must match the regular expression specified here.
.envoy.type.matcher.v3.RegexMatcher safe_regex = 5 [(.validate.rules) = { ... }
-
getSafeRegexOrBuilder
public RegexMatcherOrBuilder getSafeRegexOrBuilder()
The input string must match the regular expression specified here.
.envoy.type.matcher.v3.RegexMatcher safe_regex = 5 [(.validate.rules) = { ... }- Specified by:
getSafeRegexOrBuilderin interfaceStringMatcherOrBuilder
-
getSafeRegexFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RegexMatcher,RegexMatcher.Builder,RegexMatcherOrBuilder> getSafeRegexFieldBuilder()
The input string must match the regular expression specified here.
.envoy.type.matcher.v3.RegexMatcher safe_regex = 5 [(.validate.rules) = { ... }
-
hasContains
public boolean hasContains()
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) = { ... }- Specified by:
hasContainsin interfaceStringMatcherOrBuilder- Returns:
- Whether the contains field is set.
-
getContains
public java.lang.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) = { ... }- Specified by:
getContainsin interfaceStringMatcherOrBuilder- Returns:
- The contains.
-
getContainsBytes
public 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) = { ... }- Specified by:
getContainsBytesin interfaceStringMatcherOrBuilder- Returns:
- The bytes for contains.
-
setContains
public StringMatcher.Builder setContains(java.lang.String value)
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) = { ... }- Parameters:
value- The contains to set.- Returns:
- This builder for chaining.
-
clearContains
public StringMatcher.Builder clearContains()
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) = { ... }- Returns:
- This builder for chaining.
-
setContainsBytes
public StringMatcher.Builder setContainsBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for contains to set.- Returns:
- This builder for chaining.
-
hasCustom
public boolean hasCustom()
Use an extension as the matcher type. [#extension-category: envoy.string_matcher]
.xds.core.v3.TypedExtensionConfig custom = 8;- Specified by:
hasCustomin interfaceStringMatcherOrBuilder- Returns:
- Whether the custom field is set.
-
getCustom
public TypedExtensionConfig getCustom()
Use an extension as the matcher type. [#extension-category: envoy.string_matcher]
.xds.core.v3.TypedExtensionConfig custom = 8;- Specified by:
getCustomin interfaceStringMatcherOrBuilder- Returns:
- The custom.
-
setCustom
public StringMatcher.Builder setCustom(TypedExtensionConfig value)
Use an extension as the matcher type. [#extension-category: envoy.string_matcher]
.xds.core.v3.TypedExtensionConfig custom = 8;
-
setCustom
public StringMatcher.Builder setCustom(TypedExtensionConfig.Builder builderForValue)
Use an extension as the matcher type. [#extension-category: envoy.string_matcher]
.xds.core.v3.TypedExtensionConfig custom = 8;
-
mergeCustom
public StringMatcher.Builder mergeCustom(TypedExtensionConfig value)
Use an extension as the matcher type. [#extension-category: envoy.string_matcher]
.xds.core.v3.TypedExtensionConfig custom = 8;
-
clearCustom
public StringMatcher.Builder clearCustom()
Use an extension as the matcher type. [#extension-category: envoy.string_matcher]
.xds.core.v3.TypedExtensionConfig custom = 8;
-
getCustomBuilder
public TypedExtensionConfig.Builder getCustomBuilder()
Use an extension as the matcher type. [#extension-category: envoy.string_matcher]
.xds.core.v3.TypedExtensionConfig custom = 8;
-
getCustomOrBuilder
public TypedExtensionConfigOrBuilder getCustomOrBuilder()
Use an extension as the matcher type. [#extension-category: envoy.string_matcher]
.xds.core.v3.TypedExtensionConfig custom = 8;- Specified by:
getCustomOrBuilderin interfaceStringMatcherOrBuilder
-
getCustomFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder> getCustomFieldBuilder()
Use an extension as the matcher type. [#extension-category: envoy.string_matcher]
.xds.core.v3.TypedExtensionConfig custom = 8;
-
getIgnoreCase
public boolean getIgnoreCase()
If true, indicates the exact/prefix/suffix/contains 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;- Specified by:
getIgnoreCasein interfaceStringMatcherOrBuilder- Returns:
- The ignoreCase.
-
setIgnoreCase
public StringMatcher.Builder setIgnoreCase(boolean value)
If true, indicates the exact/prefix/suffix/contains 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;- Parameters:
value- The ignoreCase to set.- Returns:
- This builder for chaining.
-
clearIgnoreCase
public StringMatcher.Builder clearIgnoreCase()
If true, indicates the exact/prefix/suffix/contains 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;- Returns:
- This builder for chaining.
-
-