Class Matcher.MatcherTree.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Matcher.MatcherTree.Builder>
com.google.protobuf.GeneratedMessage.Builder<Matcher.MatcherTree.Builder>
com.github.xds.type.matcher.v3.Matcher.MatcherTree.Builder
- All Implemented Interfaces:
Matcher.MatcherTreeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
- Enclosing class:
Matcher.MatcherTree
public static final class Matcher.MatcherTree.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Matcher.MatcherTree.Builder>
implements Matcher.MatcherTreeOrBuilder
Protobuf type
xds.type.matcher.v3.Matcher.MatcherTree-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Extension for custom matching logic..xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;Protocol-specific specification of input field to match on.Longest matching prefix wins.Extension for custom matching logic.Extension for custom matching logic.Extension for custom matching logic.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;getInput()Protocol-specific specification of input field to match on.Protocol-specific specification of input field to match on.Protocol-specific specification of input field to match on.Longest matching prefix wins.Longest matching prefix wins.Longest matching prefix wins.booleanExtension for custom matching logic.boolean.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;booleanhasInput()Protocol-specific specification of input field to match on.booleanLongest matching prefix wins.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanExtension for custom matching logic..xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;mergeFrom(Matcher.MatcherTree other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInput(TypedExtensionConfig value) Protocol-specific specification of input field to match on.Longest matching prefix wins.Extension for custom matching logic.setCustomMatch(TypedExtensionConfig.Builder builderForValue) Extension for custom matching logic..xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;setExactMatchMap(Matcher.MatcherTree.MatchMap.Builder builderForValue) .xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;setInput(TypedExtensionConfig value) Protocol-specific specification of input field to match on.setInput(TypedExtensionConfig.Builder builderForValue) Protocol-specific specification of input field to match on.Longest matching prefix wins.setPrefixMatchMap(Matcher.MatcherTree.MatchMap.Builder builderForValue) Longest matching prefix wins.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<Matcher.MatcherTree.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<Matcher.MatcherTree.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<Matcher.MatcherTree.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Matcher.MatcherTree.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Matcher.MatcherTree.Builder>
-
mergeFrom
public Matcher.MatcherTree.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Matcher.MatcherTree.Builder>- Throws:
IOException
-
getTreeTypeCase
- Specified by:
getTreeTypeCasein interfaceMatcher.MatcherTreeOrBuilder
-
clearTreeType
-
hasInput
public boolean hasInput()Protocol-specific specification of input field to match on.
.xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }- Specified by:
hasInputin interfaceMatcher.MatcherTreeOrBuilder- Returns:
- Whether the input field is set.
-
getInput
Protocol-specific specification of input field to match on.
.xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }- Specified by:
getInputin interfaceMatcher.MatcherTreeOrBuilder- Returns:
- The input.
-
setInput
Protocol-specific specification of input field to match on.
.xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... } -
setInput
Protocol-specific specification of input field to match on.
.xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... } -
mergeInput
Protocol-specific specification of input field to match on.
.xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... } -
clearInput
Protocol-specific specification of input field to match on.
.xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... } -
getInputBuilder
Protocol-specific specification of input field to match on.
.xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... } -
getInputOrBuilder
Protocol-specific specification of input field to match on.
.xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }- Specified by:
getInputOrBuilderin interfaceMatcher.MatcherTreeOrBuilder
-
hasExactMatchMap
public boolean hasExactMatchMap().xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;- Specified by:
hasExactMatchMapin interfaceMatcher.MatcherTreeOrBuilder- Returns:
- Whether the exactMatchMap field is set.
-
getExactMatchMap
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;- Specified by:
getExactMatchMapin interfaceMatcher.MatcherTreeOrBuilder- Returns:
- The exactMatchMap.
-
setExactMatchMap
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2; -
setExactMatchMap
public Matcher.MatcherTree.Builder setExactMatchMap(Matcher.MatcherTree.MatchMap.Builder builderForValue) .xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2; -
mergeExactMatchMap
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2; -
clearExactMatchMap
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2; -
getExactMatchMapBuilder
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2; -
getExactMatchMapOrBuilder
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;- Specified by:
getExactMatchMapOrBuilderin interfaceMatcher.MatcherTreeOrBuilder
-
hasPrefixMatchMap
public boolean hasPrefixMatchMap()Longest matching prefix wins.
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;- Specified by:
hasPrefixMatchMapin interfaceMatcher.MatcherTreeOrBuilder- Returns:
- Whether the prefixMatchMap field is set.
-
getPrefixMatchMap
Longest matching prefix wins.
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;- Specified by:
getPrefixMatchMapin interfaceMatcher.MatcherTreeOrBuilder- Returns:
- The prefixMatchMap.
-
setPrefixMatchMap
Longest matching prefix wins.
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3; -
setPrefixMatchMap
public Matcher.MatcherTree.Builder setPrefixMatchMap(Matcher.MatcherTree.MatchMap.Builder builderForValue) Longest matching prefix wins.
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3; -
mergePrefixMatchMap
Longest matching prefix wins.
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3; -
clearPrefixMatchMap
Longest matching prefix wins.
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3; -
getPrefixMatchMapBuilder
Longest matching prefix wins.
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3; -
getPrefixMatchMapOrBuilder
Longest matching prefix wins.
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;- Specified by:
getPrefixMatchMapOrBuilderin interfaceMatcher.MatcherTreeOrBuilder
-
hasCustomMatch
public boolean hasCustomMatch()Extension for custom matching logic.
.xds.core.v3.TypedExtensionConfig custom_match = 4;- Specified by:
hasCustomMatchin interfaceMatcher.MatcherTreeOrBuilder- Returns:
- Whether the customMatch field is set.
-
getCustomMatch
Extension for custom matching logic.
.xds.core.v3.TypedExtensionConfig custom_match = 4;- Specified by:
getCustomMatchin interfaceMatcher.MatcherTreeOrBuilder- Returns:
- The customMatch.
-
setCustomMatch
Extension for custom matching logic.
.xds.core.v3.TypedExtensionConfig custom_match = 4; -
setCustomMatch
Extension for custom matching logic.
.xds.core.v3.TypedExtensionConfig custom_match = 4; -
mergeCustomMatch
Extension for custom matching logic.
.xds.core.v3.TypedExtensionConfig custom_match = 4; -
clearCustomMatch
Extension for custom matching logic.
.xds.core.v3.TypedExtensionConfig custom_match = 4; -
getCustomMatchBuilder
Extension for custom matching logic.
.xds.core.v3.TypedExtensionConfig custom_match = 4; -
getCustomMatchOrBuilder
Extension for custom matching logic.
.xds.core.v3.TypedExtensionConfig custom_match = 4;- Specified by:
getCustomMatchOrBuilderin interfaceMatcher.MatcherTreeOrBuilder
-