public static final class Matcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Matcher.Builder> implements MatcherOrBuilder
A matcher, which may traverse a matching tree in order to result in a match action. During matching, the tree will be traversed until a match is found, or if no match is found the action specified by the most specific on_no_match will be evaluated. As an on_no_match might result in another matching tree being evaluated, this process might repeat several times until the final OnMatch (or no match) is decided. This API is a work in progress.Protobuf type
envoy.config.common.matcher.v3.Matcher| Modifier and Type | Method and Description |
|---|---|
Matcher.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Matcher |
build() |
Matcher |
buildPartial() |
Matcher.Builder |
clear() |
Matcher.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Matcher.Builder |
clearMatcherList()
A linear list of matchers to evaluate.
|
Matcher.Builder |
clearMatcherTree()
A match tree to evaluate.
|
Matcher.Builder |
clearMatcherType() |
Matcher.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Matcher.Builder |
clearOnNoMatch()
Optional OnMatch to use if the matcher failed.
|
Matcher.Builder |
clone() |
Matcher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Matcher.MatcherList |
getMatcherList()
A linear list of matchers to evaluate.
|
Matcher.MatcherList.Builder |
getMatcherListBuilder()
A linear list of matchers to evaluate.
|
Matcher.MatcherListOrBuilder |
getMatcherListOrBuilder()
A linear list of matchers to evaluate.
|
Matcher.MatcherTree |
getMatcherTree()
A match tree to evaluate.
|
Matcher.MatcherTree.Builder |
getMatcherTreeBuilder()
A match tree to evaluate.
|
Matcher.MatcherTreeOrBuilder |
getMatcherTreeOrBuilder()
A match tree to evaluate.
|
Matcher.MatcherTypeCase |
getMatcherTypeCase() |
Matcher.OnMatch |
getOnNoMatch()
Optional OnMatch to use if the matcher failed.
|
Matcher.OnMatch.Builder |
getOnNoMatchBuilder()
Optional OnMatch to use if the matcher failed.
|
Matcher.OnMatchOrBuilder |
getOnNoMatchOrBuilder()
Optional OnMatch to use if the matcher failed.
|
boolean |
hasMatcherList()
A linear list of matchers to evaluate.
|
boolean |
hasMatcherTree()
A match tree to evaluate.
|
boolean |
hasOnNoMatch()
Optional OnMatch to use if the matcher failed.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Matcher.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Matcher.Builder |
mergeFrom(Matcher other) |
Matcher.Builder |
mergeFrom(com.google.protobuf.Message other) |
Matcher.Builder |
mergeMatcherList(Matcher.MatcherList value)
A linear list of matchers to evaluate.
|
Matcher.Builder |
mergeMatcherTree(Matcher.MatcherTree value)
A match tree to evaluate.
|
Matcher.Builder |
mergeOnNoMatch(Matcher.OnMatch value)
Optional OnMatch to use if the matcher failed.
|
Matcher.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Matcher.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Matcher.Builder |
setMatcherList(Matcher.MatcherList.Builder builderForValue)
A linear list of matchers to evaluate.
|
Matcher.Builder |
setMatcherList(Matcher.MatcherList value)
A linear list of matchers to evaluate.
|
Matcher.Builder |
setMatcherTree(Matcher.MatcherTree.Builder builderForValue)
A match tree to evaluate.
|
Matcher.Builder |
setMatcherTree(Matcher.MatcherTree value)
A match tree to evaluate.
|
Matcher.Builder |
setOnNoMatch(Matcher.OnMatch.Builder builderForValue)
Optional OnMatch to use if the matcher failed.
|
Matcher.Builder |
setOnNoMatch(Matcher.OnMatch value)
Optional OnMatch to use if the matcher failed.
|
Matcher.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Matcher.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<Matcher.Builder>public Matcher.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.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<Matcher.Builder>public Matcher getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Matcher build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Matcher buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Matcher.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.Builder>public Matcher.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<Matcher.Builder>public Matcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.Builder>public Matcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.Builder>public Matcher.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<Matcher.Builder>public Matcher.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<Matcher.Builder>public Matcher.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Matcher.Builder>public Matcher.Builder mergeFrom(Matcher other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.Builder>public Matcher.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<Matcher.Builder>IOExceptionpublic Matcher.MatcherTypeCase getMatcherTypeCase()
getMatcherTypeCase in interface MatcherOrBuilderpublic Matcher.Builder clearMatcherType()
public boolean hasMatcherList()
A linear list of matchers to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherList matcher_list = 1;hasMatcherList in interface MatcherOrBuilderpublic Matcher.MatcherList getMatcherList()
A linear list of matchers to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherList matcher_list = 1;getMatcherList in interface MatcherOrBuilderpublic Matcher.Builder setMatcherList(Matcher.MatcherList value)
A linear list of matchers to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherList matcher_list = 1;public Matcher.Builder setMatcherList(Matcher.MatcherList.Builder builderForValue)
A linear list of matchers to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherList matcher_list = 1;public Matcher.Builder mergeMatcherList(Matcher.MatcherList value)
A linear list of matchers to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherList matcher_list = 1;public Matcher.Builder clearMatcherList()
A linear list of matchers to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherList matcher_list = 1;public Matcher.MatcherList.Builder getMatcherListBuilder()
A linear list of matchers to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherList matcher_list = 1;public Matcher.MatcherListOrBuilder getMatcherListOrBuilder()
A linear list of matchers to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherList matcher_list = 1;getMatcherListOrBuilder in interface MatcherOrBuilderpublic boolean hasMatcherTree()
A match tree to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherTree matcher_tree = 2;hasMatcherTree in interface MatcherOrBuilderpublic Matcher.MatcherTree getMatcherTree()
A match tree to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherTree matcher_tree = 2;getMatcherTree in interface MatcherOrBuilderpublic Matcher.Builder setMatcherTree(Matcher.MatcherTree value)
A match tree to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherTree matcher_tree = 2;public Matcher.Builder setMatcherTree(Matcher.MatcherTree.Builder builderForValue)
A match tree to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherTree matcher_tree = 2;public Matcher.Builder mergeMatcherTree(Matcher.MatcherTree value)
A match tree to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherTree matcher_tree = 2;public Matcher.Builder clearMatcherTree()
A match tree to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherTree matcher_tree = 2;public Matcher.MatcherTree.Builder getMatcherTreeBuilder()
A match tree to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherTree matcher_tree = 2;public Matcher.MatcherTreeOrBuilder getMatcherTreeOrBuilder()
A match tree to evaluate.
.envoy.config.common.matcher.v3.Matcher.MatcherTree matcher_tree = 2;getMatcherTreeOrBuilder in interface MatcherOrBuilderpublic boolean hasOnNoMatch()
Optional OnMatch to use if the matcher failed. If specified, the OnMatch is used, and the matcher is considered to have matched. If not specified, the matcher is considered not to have matched.
.envoy.config.common.matcher.v3.Matcher.OnMatch on_no_match = 3;hasOnNoMatch in interface MatcherOrBuilderpublic Matcher.OnMatch getOnNoMatch()
Optional OnMatch to use if the matcher failed. If specified, the OnMatch is used, and the matcher is considered to have matched. If not specified, the matcher is considered not to have matched.
.envoy.config.common.matcher.v3.Matcher.OnMatch on_no_match = 3;getOnNoMatch in interface MatcherOrBuilderpublic Matcher.Builder setOnNoMatch(Matcher.OnMatch value)
Optional OnMatch to use if the matcher failed. If specified, the OnMatch is used, and the matcher is considered to have matched. If not specified, the matcher is considered not to have matched.
.envoy.config.common.matcher.v3.Matcher.OnMatch on_no_match = 3;public Matcher.Builder setOnNoMatch(Matcher.OnMatch.Builder builderForValue)
Optional OnMatch to use if the matcher failed. If specified, the OnMatch is used, and the matcher is considered to have matched. If not specified, the matcher is considered not to have matched.
.envoy.config.common.matcher.v3.Matcher.OnMatch on_no_match = 3;public Matcher.Builder mergeOnNoMatch(Matcher.OnMatch value)
Optional OnMatch to use if the matcher failed. If specified, the OnMatch is used, and the matcher is considered to have matched. If not specified, the matcher is considered not to have matched.
.envoy.config.common.matcher.v3.Matcher.OnMatch on_no_match = 3;public Matcher.Builder clearOnNoMatch()
Optional OnMatch to use if the matcher failed. If specified, the OnMatch is used, and the matcher is considered to have matched. If not specified, the matcher is considered not to have matched.
.envoy.config.common.matcher.v3.Matcher.OnMatch on_no_match = 3;public Matcher.OnMatch.Builder getOnNoMatchBuilder()
Optional OnMatch to use if the matcher failed. If specified, the OnMatch is used, and the matcher is considered to have matched. If not specified, the matcher is considered not to have matched.
.envoy.config.common.matcher.v3.Matcher.OnMatch on_no_match = 3;public Matcher.OnMatchOrBuilder getOnNoMatchOrBuilder()
Optional OnMatch to use if the matcher failed. If specified, the OnMatch is used, and the matcher is considered to have matched. If not specified, the matcher is considered not to have matched.
.envoy.config.common.matcher.v3.Matcher.OnMatch on_no_match = 3;getOnNoMatchOrBuilder in interface MatcherOrBuilderpublic final Matcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.Builder>public final Matcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.