public static final class RegexMatchAndSubstitute.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RegexMatchAndSubstitute.Builder> implements RegexMatchAndSubstituteOrBuilder
Describes how to match a string and then produce a new string using a regular expression and a substitution string.Protobuf type
envoy.type.matcher.RegexMatchAndSubstitute| Modifier and Type | Method and Description |
|---|---|
RegexMatchAndSubstitute.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RegexMatchAndSubstitute |
build() |
RegexMatchAndSubstitute |
buildPartial() |
RegexMatchAndSubstitute.Builder |
clear() |
RegexMatchAndSubstitute.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RegexMatchAndSubstitute.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RegexMatchAndSubstitute.Builder |
clearPattern()
The regular expression used to find portions of a string (hereafter called
the "subject string") that should be replaced.
|
RegexMatchAndSubstitute.Builder |
clearSubstitution()
The string that should be substituted into matching portions of the
subject string during a substitution operation to produce a new string.
|
RegexMatchAndSubstitute.Builder |
clone() |
RegexMatchAndSubstitute |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RegexMatcher |
getPattern()
The regular expression used to find portions of a string (hereafter called
the "subject string") that should be replaced.
|
RegexMatcher.Builder |
getPatternBuilder()
The regular expression used to find portions of a string (hereafter called
the "subject string") that should be replaced.
|
RegexMatcherOrBuilder |
getPatternOrBuilder()
The regular expression used to find portions of a string (hereafter called
the "subject string") that should be replaced.
|
String |
getSubstitution()
The string that should be substituted into matching portions of the
subject string during a substitution operation to produce a new string.
|
com.google.protobuf.ByteString |
getSubstitutionBytes()
The string that should be substituted into matching portions of the
subject string during a substitution operation to produce a new string.
|
boolean |
hasPattern()
The regular expression used to find portions of a string (hereafter called
the "subject string") that should be replaced.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RegexMatchAndSubstitute.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RegexMatchAndSubstitute.Builder |
mergeFrom(com.google.protobuf.Message other) |
RegexMatchAndSubstitute.Builder |
mergeFrom(RegexMatchAndSubstitute other) |
RegexMatchAndSubstitute.Builder |
mergePattern(RegexMatcher value)
The regular expression used to find portions of a string (hereafter called
the "subject string") that should be replaced.
|
RegexMatchAndSubstitute.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RegexMatchAndSubstitute.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RegexMatchAndSubstitute.Builder |
setPattern(RegexMatcher.Builder builderForValue)
The regular expression used to find portions of a string (hereafter called
the "subject string") that should be replaced.
|
RegexMatchAndSubstitute.Builder |
setPattern(RegexMatcher value)
The regular expression used to find portions of a string (hereafter called
the "subject string") that should be replaced.
|
RegexMatchAndSubstitute.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RegexMatchAndSubstitute.Builder |
setSubstitution(String value)
The string that should be substituted into matching portions of the
subject string during a substitution operation to produce a new string.
|
RegexMatchAndSubstitute.Builder |
setSubstitutionBytes(com.google.protobuf.ByteString value)
The string that should be substituted into matching portions of the
subject string during a substitution operation to produce a new string.
|
RegexMatchAndSubstitute.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RegexMatchAndSubstitute.Builder>public RegexMatchAndSubstitute.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RegexMatchAndSubstitute.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RegexMatchAndSubstitute.Builder>public RegexMatchAndSubstitute getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RegexMatchAndSubstitute build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RegexMatchAndSubstitute buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RegexMatchAndSubstitute.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RegexMatchAndSubstitute.Builder>public RegexMatchAndSubstitute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RegexMatchAndSubstitute.Builder>public RegexMatchAndSubstitute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RegexMatchAndSubstitute.Builder>public RegexMatchAndSubstitute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RegexMatchAndSubstitute.Builder>public RegexMatchAndSubstitute.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RegexMatchAndSubstitute.Builder>public RegexMatchAndSubstitute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RegexMatchAndSubstitute.Builder>public RegexMatchAndSubstitute.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RegexMatchAndSubstitute.Builder>public RegexMatchAndSubstitute.Builder mergeFrom(RegexMatchAndSubstitute other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RegexMatchAndSubstitute.Builder>public RegexMatchAndSubstitute.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RegexMatchAndSubstitute.Builder>IOExceptionpublic boolean hasPattern()
The regular expression used to find portions of a string (hereafter called the "subject string") that should be replaced. When a new string is produced during the substitution operation, the new string is initially the same as the subject string, but then all matches in the subject string are replaced by the substitution string. If replacing all matches isn't desired, regular expression anchors can be used to ensure a single match, so as to replace just one occurrence of a pattern. Capture groups can be used in the pattern to extract portions of the subject string, and then referenced in the substitution string.
.envoy.type.matcher.RegexMatcher pattern = 1;hasPattern in interface RegexMatchAndSubstituteOrBuilderpublic RegexMatcher getPattern()
The regular expression used to find portions of a string (hereafter called the "subject string") that should be replaced. When a new string is produced during the substitution operation, the new string is initially the same as the subject string, but then all matches in the subject string are replaced by the substitution string. If replacing all matches isn't desired, regular expression anchors can be used to ensure a single match, so as to replace just one occurrence of a pattern. Capture groups can be used in the pattern to extract portions of the subject string, and then referenced in the substitution string.
.envoy.type.matcher.RegexMatcher pattern = 1;getPattern in interface RegexMatchAndSubstituteOrBuilderpublic RegexMatchAndSubstitute.Builder setPattern(RegexMatcher value)
The regular expression used to find portions of a string (hereafter called the "subject string") that should be replaced. When a new string is produced during the substitution operation, the new string is initially the same as the subject string, but then all matches in the subject string are replaced by the substitution string. If replacing all matches isn't desired, regular expression anchors can be used to ensure a single match, so as to replace just one occurrence of a pattern. Capture groups can be used in the pattern to extract portions of the subject string, and then referenced in the substitution string.
.envoy.type.matcher.RegexMatcher pattern = 1;public RegexMatchAndSubstitute.Builder setPattern(RegexMatcher.Builder builderForValue)
The regular expression used to find portions of a string (hereafter called the "subject string") that should be replaced. When a new string is produced during the substitution operation, the new string is initially the same as the subject string, but then all matches in the subject string are replaced by the substitution string. If replacing all matches isn't desired, regular expression anchors can be used to ensure a single match, so as to replace just one occurrence of a pattern. Capture groups can be used in the pattern to extract portions of the subject string, and then referenced in the substitution string.
.envoy.type.matcher.RegexMatcher pattern = 1;public RegexMatchAndSubstitute.Builder mergePattern(RegexMatcher value)
The regular expression used to find portions of a string (hereafter called the "subject string") that should be replaced. When a new string is produced during the substitution operation, the new string is initially the same as the subject string, but then all matches in the subject string are replaced by the substitution string. If replacing all matches isn't desired, regular expression anchors can be used to ensure a single match, so as to replace just one occurrence of a pattern. Capture groups can be used in the pattern to extract portions of the subject string, and then referenced in the substitution string.
.envoy.type.matcher.RegexMatcher pattern = 1;public RegexMatchAndSubstitute.Builder clearPattern()
The regular expression used to find portions of a string (hereafter called the "subject string") that should be replaced. When a new string is produced during the substitution operation, the new string is initially the same as the subject string, but then all matches in the subject string are replaced by the substitution string. If replacing all matches isn't desired, regular expression anchors can be used to ensure a single match, so as to replace just one occurrence of a pattern. Capture groups can be used in the pattern to extract portions of the subject string, and then referenced in the substitution string.
.envoy.type.matcher.RegexMatcher pattern = 1;public RegexMatcher.Builder getPatternBuilder()
The regular expression used to find portions of a string (hereafter called the "subject string") that should be replaced. When a new string is produced during the substitution operation, the new string is initially the same as the subject string, but then all matches in the subject string are replaced by the substitution string. If replacing all matches isn't desired, regular expression anchors can be used to ensure a single match, so as to replace just one occurrence of a pattern. Capture groups can be used in the pattern to extract portions of the subject string, and then referenced in the substitution string.
.envoy.type.matcher.RegexMatcher pattern = 1;public RegexMatcherOrBuilder getPatternOrBuilder()
The regular expression used to find portions of a string (hereafter called the "subject string") that should be replaced. When a new string is produced during the substitution operation, the new string is initially the same as the subject string, but then all matches in the subject string are replaced by the substitution string. If replacing all matches isn't desired, regular expression anchors can be used to ensure a single match, so as to replace just one occurrence of a pattern. Capture groups can be used in the pattern to extract portions of the subject string, and then referenced in the substitution string.
.envoy.type.matcher.RegexMatcher pattern = 1;getPatternOrBuilder in interface RegexMatchAndSubstituteOrBuilderpublic String getSubstitution()
The string that should be substituted into matching portions of the subject string during a substitution operation to produce a new string. Capture groups in the pattern can be referenced in the substitution string. Note, however, that the syntax for referring to capture groups is defined by the chosen regular expression engine. Google's `RE2 <https://github.com/google/re2>`_ regular expression engine uses a backslash followed by the capture group number to denote a numbered capture group. E.g., ``\1`` refers to capture group 1, and ``\2`` refers to capture group 2.
string substitution = 2;getSubstitution in interface RegexMatchAndSubstituteOrBuilderpublic com.google.protobuf.ByteString getSubstitutionBytes()
The string that should be substituted into matching portions of the subject string during a substitution operation to produce a new string. Capture groups in the pattern can be referenced in the substitution string. Note, however, that the syntax for referring to capture groups is defined by the chosen regular expression engine. Google's `RE2 <https://github.com/google/re2>`_ regular expression engine uses a backslash followed by the capture group number to denote a numbered capture group. E.g., ``\1`` refers to capture group 1, and ``\2`` refers to capture group 2.
string substitution = 2;getSubstitutionBytes in interface RegexMatchAndSubstituteOrBuilderpublic RegexMatchAndSubstitute.Builder setSubstitution(String value)
The string that should be substituted into matching portions of the subject string during a substitution operation to produce a new string. Capture groups in the pattern can be referenced in the substitution string. Note, however, that the syntax for referring to capture groups is defined by the chosen regular expression engine. Google's `RE2 <https://github.com/google/re2>`_ regular expression engine uses a backslash followed by the capture group number to denote a numbered capture group. E.g., ``\1`` refers to capture group 1, and ``\2`` refers to capture group 2.
string substitution = 2;public RegexMatchAndSubstitute.Builder clearSubstitution()
The string that should be substituted into matching portions of the subject string during a substitution operation to produce a new string. Capture groups in the pattern can be referenced in the substitution string. Note, however, that the syntax for referring to capture groups is defined by the chosen regular expression engine. Google's `RE2 <https://github.com/google/re2>`_ regular expression engine uses a backslash followed by the capture group number to denote a numbered capture group. E.g., ``\1`` refers to capture group 1, and ``\2`` refers to capture group 2.
string substitution = 2;public RegexMatchAndSubstitute.Builder setSubstitutionBytes(com.google.protobuf.ByteString value)
The string that should be substituted into matching portions of the subject string during a substitution operation to produce a new string. Capture groups in the pattern can be referenced in the substitution string. Note, however, that the syntax for referring to capture groups is defined by the chosen regular expression engine. Google's `RE2 <https://github.com/google/re2>`_ regular expression engine uses a backslash followed by the capture group number to denote a numbered capture group. E.g., ``\1`` refers to capture group 1, and ``\2`` refers to capture group 2.
string substitution = 2;public final RegexMatchAndSubstitute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RegexMatchAndSubstitute.Builder>public final RegexMatchAndSubstitute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RegexMatchAndSubstitute.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.