java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.filters.http.proto_api_scrubber.v3.Restrictions
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RestrictionsOrBuilder, Serializable

public final class Restrictions extends com.google.protobuf.GeneratedMessageV3 implements RestrictionsOrBuilder
 Contains the restrictions for the methods.
 
Protobuf type envoy.extensions.filters.http.proto_api_scrubber.v3.Restrictions
See Also:
  • Field Details

    • METHOD_RESTRICTIONS_FIELD_NUMBER

      public static final int METHOD_RESTRICTIONS_FIELD_NUMBER
      See Also:
    • MESSAGE_RESTRICTIONS_FIELD_NUMBER

      public static final int MESSAGE_RESTRICTIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Restrictions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Restrictions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Restrictions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Restrictions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Restrictions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Restrictions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Restrictions parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Restrictions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Restrictions parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Restrictions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Restrictions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Restrictions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Restrictions.Builder newBuilder()
    • newBuilder

      public static Restrictions.Builder newBuilder(Restrictions prototype)
    • toBuilder

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

      protected Restrictions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Restrictions getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Restrictions> parser()
    • getParserForType

      public com.google.protobuf.Parser<Restrictions> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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