Class Matcher.MatcherList.Builder

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

public static final class Matcher.MatcherList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Matcher.MatcherList.Builder> implements Matcher.MatcherListOrBuilder
 A linear list of field matchers.
 The field matchers are evaluated in order, and the first match
 wins.
 
Protobuf type envoy.config.common.matcher.v3.Matcher.MatcherList
  • 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.MatcherList.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.MatcherList.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.MatcherList.Builder>
    • getDefaultInstanceForType

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

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

      public Matcher.MatcherList 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.MatcherList.Builder>
    • setField

      public Matcher.MatcherList.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.MatcherList.Builder>
    • clearField

      public Matcher.MatcherList.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.MatcherList.Builder>
    • clearOneof

      public Matcher.MatcherList.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.MatcherList.Builder>
    • setRepeatedField

      public Matcher.MatcherList.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.MatcherList.Builder>
    • addRepeatedField

      public Matcher.MatcherList.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.MatcherList.Builder>
    • mergeFrom

      public Matcher.MatcherList.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.MatcherList.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.MatcherList.Builder>
    • mergeFrom

      public Matcher.MatcherList.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.MatcherList.Builder>
      Throws:
      IOException
    • getMatchersList

      public List<Matcher.MatcherList.FieldMatcher> getMatchersList()
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
      Specified by:
      getMatchersList in interface Matcher.MatcherListOrBuilder
    • getMatchersCount

      public int getMatchersCount()
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
      Specified by:
      getMatchersCount in interface Matcher.MatcherListOrBuilder
    • getMatchers

      public Matcher.MatcherList.FieldMatcher getMatchers(int index)
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
      Specified by:
      getMatchers in interface Matcher.MatcherListOrBuilder
    • setMatchers

      public Matcher.MatcherList.Builder setMatchers(int index, Matcher.MatcherList.FieldMatcher value)
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
    • setMatchers

      public Matcher.MatcherList.Builder setMatchers(int index, Matcher.MatcherList.FieldMatcher.Builder builderForValue)
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
    • addMatchers

       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
    • addMatchers

      public Matcher.MatcherList.Builder addMatchers(int index, Matcher.MatcherList.FieldMatcher value)
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
    • addMatchers

       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
    • addMatchers

      public Matcher.MatcherList.Builder addMatchers(int index, Matcher.MatcherList.FieldMatcher.Builder builderForValue)
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
    • addAllMatchers

      public Matcher.MatcherList.Builder addAllMatchers(Iterable<? extends Matcher.MatcherList.FieldMatcher> values)
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
    • clearMatchers

      public Matcher.MatcherList.Builder clearMatchers()
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
    • removeMatchers

      public Matcher.MatcherList.Builder removeMatchers(int index)
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
    • getMatchersBuilder

      public Matcher.MatcherList.FieldMatcher.Builder getMatchersBuilder(int index)
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
    • getMatchersOrBuilder

      public Matcher.MatcherList.FieldMatcherOrBuilder getMatchersOrBuilder(int index)
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
      Specified by:
      getMatchersOrBuilder in interface Matcher.MatcherListOrBuilder
    • getMatchersOrBuilderList

      public List<? extends Matcher.MatcherList.FieldMatcherOrBuilder> getMatchersOrBuilderList()
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
      Specified by:
      getMatchersOrBuilderList in interface Matcher.MatcherListOrBuilder
    • addMatchersBuilder

      public Matcher.MatcherList.FieldMatcher.Builder addMatchersBuilder()
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
    • addMatchersBuilder

      public Matcher.MatcherList.FieldMatcher.Builder addMatchersBuilder(int index)
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
    • getMatchersBuilderList

      public List<Matcher.MatcherList.FieldMatcher.Builder> getMatchersBuilderList()
       A list of matchers. First match wins.
       
      repeated .envoy.config.common.matcher.v3.Matcher.MatcherList.FieldMatcher matchers = 1 [(.validate.rules) = { ... }
    • setUnknownFields

      public final Matcher.MatcherList.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.MatcherList.Builder>
    • mergeUnknownFields

      public final Matcher.MatcherList.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.MatcherList.Builder>