Class Restrictions.Builder
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()booleanSpecifies the message restrictions.booleanSpecifies the method restrictions.static final com.google.protobuf.Descriptors.Descriptorcom.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.Deprecated.Deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Restrictions other) final Restrictions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Specifies the message restrictions.Specifies the method restrictions.putMessageRestrictions(String key, MessageRestrictions value) Specifies the message restrictions.Specifies the message restrictions.putMethodRestrictions(String key, MethodRestrictions value) Specifies the method restrictions.Specifies the method restrictions.Specifies the message restrictions.Specifies the method restrictions.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Restrictions.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<Restrictions.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
setField
public Restrictions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
setRepeatedField
public Restrictions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
addRepeatedField
public Restrictions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Restrictions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Restrictions.Builder>- Throws:
IOException
-
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
-
clearMethodRestrictions
-
removeMethodRestrictions
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.Use alternate mutation accessors instead. -
putMethodRestrictions
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
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
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: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
-
clearMessageRestrictions
-
removeMessageRestrictions
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.Use alternate mutation accessors instead. -
putMessageRestrictions
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
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-
mergeUnknownFields
public final Restrictions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Restrictions.Builder>
-