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

public static final class Restrictions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder> implements RestrictionsOrBuilder
 Contains the restrictions for the methods.
 
Protobuf type envoy.extensions.filters.http.proto_api_scrubber.v3.Restrictions
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
    • internalGetFieldAccessorTable

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

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

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

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

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

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

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

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

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

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

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

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

      public Restrictions.Builder mergeFrom(Restrictions other)
    • isInitialized

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

      public Restrictions.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<Restrictions.Builder>
      Throws:
      IOException
    • getMethodRestrictionsCount

      public int getMethodRestrictionsCount()
      Description copied from interface: RestrictionsOrBuilder
       Specifies the method restrictions.
       Key - Fully qualified method name e.g., ``endpoints.examples.bookstore.BookStore/GetShelf``.
       Value - Method restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MethodRestrictions> method_restrictions = 1;
      Specified by:
      getMethodRestrictionsCount in interface RestrictionsOrBuilder
    • containsMethodRestrictions

      public boolean containsMethodRestrictions(String key)
       Specifies the method restrictions.
       Key - Fully qualified method name e.g., ``endpoints.examples.bookstore.BookStore/GetShelf``.
       Value - Method restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MethodRestrictions> method_restrictions = 1;
      Specified by:
      containsMethodRestrictions in interface RestrictionsOrBuilder
    • getMethodRestrictions

      @Deprecated public Map<String,MethodRestrictions> getMethodRestrictions()
      Deprecated.
      Specified by:
      getMethodRestrictions in interface RestrictionsOrBuilder
    • getMethodRestrictionsMap

      public Map<String,MethodRestrictions> getMethodRestrictionsMap()
       Specifies the method restrictions.
       Key - Fully qualified method name e.g., ``endpoints.examples.bookstore.BookStore/GetShelf``.
       Value - Method restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MethodRestrictions> method_restrictions = 1;
      Specified by:
      getMethodRestrictionsMap in interface RestrictionsOrBuilder
    • getMethodRestrictionsOrDefault

      public MethodRestrictions getMethodRestrictionsOrDefault(String key, MethodRestrictions defaultValue)
       Specifies the method restrictions.
       Key - Fully qualified method name e.g., ``endpoints.examples.bookstore.BookStore/GetShelf``.
       Value - Method restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MethodRestrictions> method_restrictions = 1;
      Specified by:
      getMethodRestrictionsOrDefault in interface RestrictionsOrBuilder
    • getMethodRestrictionsOrThrow

      public MethodRestrictions getMethodRestrictionsOrThrow(String key)
       Specifies the method restrictions.
       Key - Fully qualified method name e.g., ``endpoints.examples.bookstore.BookStore/GetShelf``.
       Value - Method restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MethodRestrictions> method_restrictions = 1;
      Specified by:
      getMethodRestrictionsOrThrow in interface RestrictionsOrBuilder
    • clearMethodRestrictions

      public Restrictions.Builder clearMethodRestrictions()
    • removeMethodRestrictions

      public Restrictions.Builder removeMethodRestrictions(String key)
       Specifies the method restrictions.
       Key - Fully qualified method name e.g., ``endpoints.examples.bookstore.BookStore/GetShelf``.
       Value - Method restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MethodRestrictions> method_restrictions = 1;
    • getMutableMethodRestrictions

      @Deprecated public Map<String,MethodRestrictions> getMutableMethodRestrictions()
      Deprecated.
      Use alternate mutation accessors instead.
    • putMethodRestrictions

      public Restrictions.Builder putMethodRestrictions(String key, MethodRestrictions value)
       Specifies the method restrictions.
       Key - Fully qualified method name e.g., ``endpoints.examples.bookstore.BookStore/GetShelf``.
       Value - Method restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MethodRestrictions> method_restrictions = 1;
    • putAllMethodRestrictions

      public Restrictions.Builder putAllMethodRestrictions(Map<String,MethodRestrictions> values)
       Specifies the method restrictions.
       Key - Fully qualified method name e.g., ``endpoints.examples.bookstore.BookStore/GetShelf``.
       Value - Method restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MethodRestrictions> method_restrictions = 1;
    • putMethodRestrictionsBuilderIfAbsent

      public MethodRestrictions.Builder putMethodRestrictionsBuilderIfAbsent(String key)
       Specifies the method restrictions.
       Key - Fully qualified method name e.g., ``endpoints.examples.bookstore.BookStore/GetShelf``.
       Value - Method restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MethodRestrictions> method_restrictions = 1;
    • getMessageRestrictionsCount

      public int getMessageRestrictionsCount()
      Description copied from interface: RestrictionsOrBuilder
       Specifies the message restrictions.
       Key - Fully qualified message name e.g., ``endpoints.examples.bookstore.Book``.
       Value - Message restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MessageRestrictions> message_restrictions = 2;
      Specified by:
      getMessageRestrictionsCount in interface RestrictionsOrBuilder
    • containsMessageRestrictions

      public boolean containsMessageRestrictions(String key)
       Specifies the message restrictions.
       Key - Fully qualified message name e.g., ``endpoints.examples.bookstore.Book``.
       Value - Message restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MessageRestrictions> message_restrictions = 2;
      Specified by:
      containsMessageRestrictions in interface RestrictionsOrBuilder
    • getMessageRestrictions

      @Deprecated public Map<String,MessageRestrictions> getMessageRestrictions()
      Deprecated.
      Specified by:
      getMessageRestrictions in interface RestrictionsOrBuilder
    • getMessageRestrictionsMap

      public Map<String,MessageRestrictions> getMessageRestrictionsMap()
       Specifies the message restrictions.
       Key - Fully qualified message name e.g., ``endpoints.examples.bookstore.Book``.
       Value - Message restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MessageRestrictions> message_restrictions = 2;
      Specified by:
      getMessageRestrictionsMap in interface RestrictionsOrBuilder
    • getMessageRestrictionsOrDefault

      public MessageRestrictions getMessageRestrictionsOrDefault(String key, MessageRestrictions defaultValue)
       Specifies the message restrictions.
       Key - Fully qualified message name e.g., ``endpoints.examples.bookstore.Book``.
       Value - Message restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MessageRestrictions> message_restrictions = 2;
      Specified by:
      getMessageRestrictionsOrDefault in interface RestrictionsOrBuilder
    • getMessageRestrictionsOrThrow

      public MessageRestrictions getMessageRestrictionsOrThrow(String key)
       Specifies the message restrictions.
       Key - Fully qualified message name e.g., ``endpoints.examples.bookstore.Book``.
       Value - Message restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MessageRestrictions> message_restrictions = 2;
      Specified by:
      getMessageRestrictionsOrThrow in interface RestrictionsOrBuilder
    • clearMessageRestrictions

      public Restrictions.Builder clearMessageRestrictions()
    • removeMessageRestrictions

      public Restrictions.Builder removeMessageRestrictions(String key)
       Specifies the message restrictions.
       Key - Fully qualified message name e.g., ``endpoints.examples.bookstore.Book``.
       Value - Message restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MessageRestrictions> message_restrictions = 2;
    • getMutableMessageRestrictions

      @Deprecated public Map<String,MessageRestrictions> getMutableMessageRestrictions()
      Deprecated.
      Use alternate mutation accessors instead.
    • putMessageRestrictions

      public Restrictions.Builder putMessageRestrictions(String key, MessageRestrictions value)
       Specifies the message restrictions.
       Key - Fully qualified message name e.g., ``endpoints.examples.bookstore.Book``.
       Value - Message restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MessageRestrictions> message_restrictions = 2;
    • putAllMessageRestrictions

      public Restrictions.Builder putAllMessageRestrictions(Map<String,MessageRestrictions> values)
       Specifies the message restrictions.
       Key - Fully qualified message name e.g., ``endpoints.examples.bookstore.Book``.
       Value - Message restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MessageRestrictions> message_restrictions = 2;
    • putMessageRestrictionsBuilderIfAbsent

      public MessageRestrictions.Builder putMessageRestrictionsBuilderIfAbsent(String key)
       Specifies the message restrictions.
       Key - Fully qualified message name e.g., ``endpoints.examples.bookstore.Book``.
       Value - Message restrictions.
       
      map<string, .envoy.extensions.filters.http.proto_api_scrubber.v3.MessageRestrictions> message_restrictions = 2;
    • setUnknownFields

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

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