Class Restrictions
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the restrictions for the methods.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecifies the message restrictions.booleanSpecifies the method restrictions.booleanstatic Restrictionsstatic final com.google.protobuf.Descriptors.DescriptorDeprecated.intSpecifies the message restrictions.Specifies the message restrictions.getMessageRestrictionsOrDefault(String key, MessageRestrictions defaultValue) Specifies the message restrictions.Specifies the message restrictions.Deprecated.intSpecifies the method restrictions.Specifies the method restrictions.getMethodRestrictionsOrDefault(String key, MethodRestrictions defaultValue) Specifies the method restrictions.Specifies the method restrictions.com.google.protobuf.Parser<Restrictions>intinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Restrictions.Builderstatic Restrictions.BuildernewBuilder(Restrictions prototype) protected Restrictions.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static RestrictionsparseDelimitedFrom(InputStream input) static RestrictionsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RestrictionsparseFrom(byte[] data) static RestrictionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RestrictionsparseFrom(com.google.protobuf.ByteString data) static RestrictionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RestrictionsparseFrom(com.google.protobuf.CodedInputStream input) static RestrictionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RestrictionsparseFrom(InputStream input) static RestrictionsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RestrictionsparseFrom(ByteBuffer data) static RestrictionsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Restrictions>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getMethodRestrictionsCount
public int getMethodRestrictionsCount()Description copied from interface:RestrictionsOrBuilderSpecifies 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:
getMethodRestrictionsCountin interfaceRestrictionsOrBuilder
-
containsMethodRestrictions
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:
containsMethodRestrictionsin interfaceRestrictionsOrBuilder
-
getMethodRestrictions
Deprecated.UsegetMethodRestrictionsMap()instead.- Specified by:
getMethodRestrictionsin interfaceRestrictionsOrBuilder
-
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:
getMethodRestrictionsMapin interfaceRestrictionsOrBuilder
-
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:
getMethodRestrictionsOrDefaultin interfaceRestrictionsOrBuilder
-
getMethodRestrictionsOrThrow
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:
getMethodRestrictionsOrThrowin interfaceRestrictionsOrBuilder
-
getMessageRestrictionsCount
public int getMessageRestrictionsCount()Description copied from interface:RestrictionsOrBuilderSpecifies 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:
getMessageRestrictionsCountin interfaceRestrictionsOrBuilder
-
containsMessageRestrictions
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:
containsMessageRestrictionsin interfaceRestrictionsOrBuilder
-
getMessageRestrictions
Deprecated.UsegetMessageRestrictionsMap()instead.- Specified by:
getMessageRestrictionsin interfaceRestrictionsOrBuilder
-
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:
getMessageRestrictionsMapin interfaceRestrictionsOrBuilder
-
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:
getMessageRestrictionsOrDefaultin interfaceRestrictionsOrBuilder
-
getMessageRestrictionsOrThrow
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:
getMessageRestrictionsOrThrowin interfaceRestrictionsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Restrictions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Restrictions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Restrictions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Restrictions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-