java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RestrictionConfig.Builder>
io.envoyproxy.envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RestrictionConfigOrBuilder, Cloneable
Enclosing class:
RestrictionConfig

public static final class RestrictionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RestrictionConfig.Builder> implements RestrictionConfigOrBuilder
 The restriction configuration.
 
Protobuf type envoy.extensions.filters.http.proto_api_scrubber.v3.RestrictionConfig
  • 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<RestrictionConfig.Builder>
    • clear

      public RestrictionConfig.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<RestrictionConfig.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<RestrictionConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public RestrictionConfig.Builder mergeFrom(RestrictionConfig other)
    • isInitialized

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

      public RestrictionConfig.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<RestrictionConfig.Builder>
      Throws:
      IOException
    • hasMatcher

      public boolean hasMatcher()
       Matcher tree for matching requests and responses with the configured restrictions.
       
      .xds.type.matcher.v3.Matcher matcher = 1;
      Specified by:
      hasMatcher in interface RestrictionConfigOrBuilder
      Returns:
      Whether the matcher field is set.
    • getMatcher

      public Matcher getMatcher()
       Matcher tree for matching requests and responses with the configured restrictions.
       
      .xds.type.matcher.v3.Matcher matcher = 1;
      Specified by:
      getMatcher in interface RestrictionConfigOrBuilder
      Returns:
      The matcher.
    • setMatcher

      public RestrictionConfig.Builder setMatcher(Matcher value)
       Matcher tree for matching requests and responses with the configured restrictions.
       
      .xds.type.matcher.v3.Matcher matcher = 1;
    • setMatcher

      public RestrictionConfig.Builder setMatcher(Matcher.Builder builderForValue)
       Matcher tree for matching requests and responses with the configured restrictions.
       
      .xds.type.matcher.v3.Matcher matcher = 1;
    • mergeMatcher

      public RestrictionConfig.Builder mergeMatcher(Matcher value)
       Matcher tree for matching requests and responses with the configured restrictions.
       
      .xds.type.matcher.v3.Matcher matcher = 1;
    • clearMatcher

      public RestrictionConfig.Builder clearMatcher()
       Matcher tree for matching requests and responses with the configured restrictions.
       
      .xds.type.matcher.v3.Matcher matcher = 1;
    • getMatcherBuilder

      public Matcher.Builder getMatcherBuilder()
       Matcher tree for matching requests and responses with the configured restrictions.
       
      .xds.type.matcher.v3.Matcher matcher = 1;
    • getMatcherOrBuilder

      public MatcherOrBuilder getMatcherOrBuilder()
       Matcher tree for matching requests and responses with the configured restrictions.
       
      .xds.type.matcher.v3.Matcher matcher = 1;
      Specified by:
      getMatcherOrBuilder in interface RestrictionConfigOrBuilder
    • setUnknownFields

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

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