Class Matcher.MatcherTree.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder>
io.envoyproxy.envoy.config.common.matcher.v3.Matcher.MatcherTree.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Matcher.MatcherTreeOrBuilder, Cloneable
Enclosing class:
Matcher.MatcherTree

public static final class Matcher.MatcherTree.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder> implements Matcher.MatcherTreeOrBuilder
Protobuf type envoy.config.common.matcher.v3.Matcher.MatcherTree
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder>
    • getDefaultInstanceForType

      public Matcher.MatcherTree getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Matcher.MatcherTree build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Matcher.MatcherTree buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder>
    • setField

      public Matcher.MatcherTree.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder>
    • clearField

      public Matcher.MatcherTree.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder>
    • clearOneof

      public Matcher.MatcherTree.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder>
    • setRepeatedField

      public Matcher.MatcherTree.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder>
    • addRepeatedField

      public Matcher.MatcherTree.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder>
    • mergeFrom

      public Matcher.MatcherTree.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Matcher.MatcherTree.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder>
    • mergeFrom

      public Matcher.MatcherTree.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Matcher.MatcherTree.Builder>
      Throws:
      IOException
    • getTreeTypeCase

      public Matcher.MatcherTree.TreeTypeCase getTreeTypeCase()
      Specified by:
      getTreeTypeCase in interface Matcher.MatcherTreeOrBuilder
    • clearTreeType

      public Matcher.MatcherTree.Builder clearTreeType()
    • hasInput

      public boolean hasInput()
       Protocol-specific specification of input field to match on.
       
      .envoy.config.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
      Specified by:
      hasInput in interface Matcher.MatcherTreeOrBuilder
      Returns:
      Whether the input field is set.
    • getInput

      public TypedExtensionConfig getInput()
       Protocol-specific specification of input field to match on.
       
      .envoy.config.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
      Specified by:
      getInput in interface Matcher.MatcherTreeOrBuilder
      Returns:
      The input.
    • setInput

       Protocol-specific specification of input field to match on.
       
      .envoy.config.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
    • setInput

      public Matcher.MatcherTree.Builder setInput(TypedExtensionConfig.Builder builderForValue)
       Protocol-specific specification of input field to match on.
       
      .envoy.config.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
    • mergeInput

       Protocol-specific specification of input field to match on.
       
      .envoy.config.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
    • clearInput

      public Matcher.MatcherTree.Builder clearInput()
       Protocol-specific specification of input field to match on.
       
      .envoy.config.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
    • getInputBuilder

      public TypedExtensionConfig.Builder getInputBuilder()
       Protocol-specific specification of input field to match on.
       
      .envoy.config.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
    • getInputOrBuilder

      public TypedExtensionConfigOrBuilder getInputOrBuilder()
       Protocol-specific specification of input field to match on.
       
      .envoy.config.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
      Specified by:
      getInputOrBuilder in interface Matcher.MatcherTreeOrBuilder
    • hasExactMatchMap

      public boolean hasExactMatchMap()
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
      Specified by:
      hasExactMatchMap in interface Matcher.MatcherTreeOrBuilder
      Returns:
      Whether the exactMatchMap field is set.
    • getExactMatchMap

      public Matcher.MatcherTree.MatchMap getExactMatchMap()
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
      Specified by:
      getExactMatchMap in interface Matcher.MatcherTreeOrBuilder
      Returns:
      The exactMatchMap.
    • setExactMatchMap

      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
    • setExactMatchMap

      public Matcher.MatcherTree.Builder setExactMatchMap(Matcher.MatcherTree.MatchMap.Builder builderForValue)
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
    • mergeExactMatchMap

      public Matcher.MatcherTree.Builder mergeExactMatchMap(Matcher.MatcherTree.MatchMap value)
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
    • clearExactMatchMap

      public Matcher.MatcherTree.Builder clearExactMatchMap()
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
    • getExactMatchMapBuilder

      public Matcher.MatcherTree.MatchMap.Builder getExactMatchMapBuilder()
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
    • getExactMatchMapOrBuilder

      public Matcher.MatcherTree.MatchMapOrBuilder getExactMatchMapOrBuilder()
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
      Specified by:
      getExactMatchMapOrBuilder in interface Matcher.MatcherTreeOrBuilder
    • hasPrefixMatchMap

      public boolean hasPrefixMatchMap()
       Longest matching prefix wins.
       
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
      Specified by:
      hasPrefixMatchMap in interface Matcher.MatcherTreeOrBuilder
      Returns:
      Whether the prefixMatchMap field is set.
    • getPrefixMatchMap

      public Matcher.MatcherTree.MatchMap getPrefixMatchMap()
       Longest matching prefix wins.
       
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
      Specified by:
      getPrefixMatchMap in interface Matcher.MatcherTreeOrBuilder
      Returns:
      The prefixMatchMap.
    • setPrefixMatchMap

       Longest matching prefix wins.
       
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
    • setPrefixMatchMap

      public Matcher.MatcherTree.Builder setPrefixMatchMap(Matcher.MatcherTree.MatchMap.Builder builderForValue)
       Longest matching prefix wins.
       
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
    • mergePrefixMatchMap

      public Matcher.MatcherTree.Builder mergePrefixMatchMap(Matcher.MatcherTree.MatchMap value)
       Longest matching prefix wins.
       
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
    • clearPrefixMatchMap

      public Matcher.MatcherTree.Builder clearPrefixMatchMap()
       Longest matching prefix wins.
       
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
    • getPrefixMatchMapBuilder

      public Matcher.MatcherTree.MatchMap.Builder getPrefixMatchMapBuilder()
       Longest matching prefix wins.
       
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
    • getPrefixMatchMapOrBuilder

      public Matcher.MatcherTree.MatchMapOrBuilder getPrefixMatchMapOrBuilder()
       Longest matching prefix wins.
       
      .envoy.config.common.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
      Specified by:
      getPrefixMatchMapOrBuilder in interface Matcher.MatcherTreeOrBuilder
    • hasCustomMatch

      public boolean hasCustomMatch()
       Extension for custom matching logic.
       
      .envoy.config.core.v3.TypedExtensionConfig custom_match = 4;
      Specified by:
      hasCustomMatch in interface Matcher.MatcherTreeOrBuilder
      Returns:
      Whether the customMatch field is set.
    • getCustomMatch

      public TypedExtensionConfig getCustomMatch()
       Extension for custom matching logic.
       
      .envoy.config.core.v3.TypedExtensionConfig custom_match = 4;
      Specified by:
      getCustomMatch in interface Matcher.MatcherTreeOrBuilder
      Returns:
      The customMatch.
    • setCustomMatch

      public Matcher.MatcherTree.Builder setCustomMatch(TypedExtensionConfig value)
       Extension for custom matching logic.
       
      .envoy.config.core.v3.TypedExtensionConfig custom_match = 4;
    • setCustomMatch

      public Matcher.MatcherTree.Builder setCustomMatch(TypedExtensionConfig.Builder builderForValue)
       Extension for custom matching logic.
       
      .envoy.config.core.v3.TypedExtensionConfig custom_match = 4;
    • mergeCustomMatch

      public Matcher.MatcherTree.Builder mergeCustomMatch(TypedExtensionConfig value)
       Extension for custom matching logic.
       
      .envoy.config.core.v3.TypedExtensionConfig custom_match = 4;
    • clearCustomMatch

      public Matcher.MatcherTree.Builder clearCustomMatch()
       Extension for custom matching logic.
       
      .envoy.config.core.v3.TypedExtensionConfig custom_match = 4;
    • getCustomMatchBuilder

      public TypedExtensionConfig.Builder getCustomMatchBuilder()
       Extension for custom matching logic.
       
      .envoy.config.core.v3.TypedExtensionConfig custom_match = 4;
    • getCustomMatchOrBuilder

      public TypedExtensionConfigOrBuilder getCustomMatchOrBuilder()
       Extension for custom matching logic.
       
      .envoy.config.core.v3.TypedExtensionConfig custom_match = 4;
      Specified by:
      getCustomMatchOrBuilder in interface Matcher.MatcherTreeOrBuilder
    • setUnknownFields

      public final Matcher.MatcherTree.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder>
    • mergeUnknownFields

      public final Matcher.MatcherTree.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherTree.Builder>