Class ProtoApiScrubberConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ProtoApiScrubberConfig.Builder>
io.envoyproxy.envoy.extensions.filters.http.proto_api_scrubber.v3.ProtoApiScrubberConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ProtoApiScrubberConfigOrBuilder,Cloneable
- Enclosing class:
- ProtoApiScrubberConfig
public static final class ProtoApiScrubberConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ProtoApiScrubberConfig.Builder>
implements ProtoApiScrubberConfigOrBuilder
Protobuf type
envoy.extensions.filters.http.proto_api_scrubber.v3.ProtoApiScrubberConfig-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The proto descriptor set for the proto services.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Specifies the filtering mode of this filter.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Contains the restrictions for the supported proto elements.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe proto descriptor set for the proto services.The proto descriptor set for the proto services.The proto descriptor set for the proto services.Specifies the filtering mode of this filter.intSpecifies the filtering mode of this filter.Contains the restrictions for the supported proto elements.Contains the restrictions for the supported proto elements.Contains the restrictions for the supported proto elements.booleanThe proto descriptor set for the proto services.booleanContains the restrictions for the supported proto elements.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDescriptorSet(DescriptorSet value) The proto descriptor set for the proto services.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ProtoApiScrubberConfig other) mergeRestrictions(Restrictions value) Contains the restrictions for the supported proto elements.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDescriptorSet(DescriptorSet value) The proto descriptor set for the proto services.setDescriptorSet(DescriptorSet.Builder builderForValue) The proto descriptor set for the proto services.Specifies the filtering mode of this filter.setFilteringModeValue(int value) Specifies the filtering mode of this filter.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRestrictions(Restrictions value) Contains the restrictions for the supported proto elements.setRestrictions(Restrictions.Builder builderForValue) Contains the restrictions for the supported proto elements.setUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ProtoApiScrubberConfig.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<ProtoApiScrubberConfig.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<ProtoApiScrubberConfig.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<ProtoApiScrubberConfig.Builder>
-
setField
public ProtoApiScrubberConfig.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<ProtoApiScrubberConfig.Builder>
-
clearField
public ProtoApiScrubberConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProtoApiScrubberConfig.Builder>
-
clearOneof
public ProtoApiScrubberConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ProtoApiScrubberConfig.Builder>
-
setRepeatedField
public ProtoApiScrubberConfig.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<ProtoApiScrubberConfig.Builder>
-
addRepeatedField
public ProtoApiScrubberConfig.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<ProtoApiScrubberConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProtoApiScrubberConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ProtoApiScrubberConfig.Builder>
-
mergeFrom
public ProtoApiScrubberConfig.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<ProtoApiScrubberConfig.Builder>- Throws:
IOException
-
hasDescriptorSet
public boolean hasDescriptorSet()The proto descriptor set for the proto services.
.envoy.extensions.filters.http.proto_api_scrubber.v3.DescriptorSet descriptor_set = 1;- Specified by:
hasDescriptorSetin interfaceProtoApiScrubberConfigOrBuilder- Returns:
- Whether the descriptorSet field is set.
-
getDescriptorSet
The proto descriptor set for the proto services.
.envoy.extensions.filters.http.proto_api_scrubber.v3.DescriptorSet descriptor_set = 1;- Specified by:
getDescriptorSetin interfaceProtoApiScrubberConfigOrBuilder- Returns:
- The descriptorSet.
-
setDescriptorSet
The proto descriptor set for the proto services.
.envoy.extensions.filters.http.proto_api_scrubber.v3.DescriptorSet descriptor_set = 1; -
setDescriptorSet
The proto descriptor set for the proto services.
.envoy.extensions.filters.http.proto_api_scrubber.v3.DescriptorSet descriptor_set = 1; -
mergeDescriptorSet
The proto descriptor set for the proto services.
.envoy.extensions.filters.http.proto_api_scrubber.v3.DescriptorSet descriptor_set = 1; -
clearDescriptorSet
The proto descriptor set for the proto services.
.envoy.extensions.filters.http.proto_api_scrubber.v3.DescriptorSet descriptor_set = 1; -
getDescriptorSetBuilder
The proto descriptor set for the proto services.
.envoy.extensions.filters.http.proto_api_scrubber.v3.DescriptorSet descriptor_set = 1; -
getDescriptorSetOrBuilder
The proto descriptor set for the proto services.
.envoy.extensions.filters.http.proto_api_scrubber.v3.DescriptorSet descriptor_set = 1;- Specified by:
getDescriptorSetOrBuilderin interfaceProtoApiScrubberConfigOrBuilder
-
hasRestrictions
public boolean hasRestrictions()Contains the restrictions for the supported proto elements.
.envoy.extensions.filters.http.proto_api_scrubber.v3.Restrictions restrictions = 2;- Specified by:
hasRestrictionsin interfaceProtoApiScrubberConfigOrBuilder- Returns:
- Whether the restrictions field is set.
-
getRestrictions
Contains the restrictions for the supported proto elements.
.envoy.extensions.filters.http.proto_api_scrubber.v3.Restrictions restrictions = 2;- Specified by:
getRestrictionsin interfaceProtoApiScrubberConfigOrBuilder- Returns:
- The restrictions.
-
setRestrictions
Contains the restrictions for the supported proto elements.
.envoy.extensions.filters.http.proto_api_scrubber.v3.Restrictions restrictions = 2; -
setRestrictions
Contains the restrictions for the supported proto elements.
.envoy.extensions.filters.http.proto_api_scrubber.v3.Restrictions restrictions = 2; -
mergeRestrictions
Contains the restrictions for the supported proto elements.
.envoy.extensions.filters.http.proto_api_scrubber.v3.Restrictions restrictions = 2; -
clearRestrictions
Contains the restrictions for the supported proto elements.
.envoy.extensions.filters.http.proto_api_scrubber.v3.Restrictions restrictions = 2; -
getRestrictionsBuilder
Contains the restrictions for the supported proto elements.
.envoy.extensions.filters.http.proto_api_scrubber.v3.Restrictions restrictions = 2; -
getRestrictionsOrBuilder
Contains the restrictions for the supported proto elements.
.envoy.extensions.filters.http.proto_api_scrubber.v3.Restrictions restrictions = 2;- Specified by:
getRestrictionsOrBuilderin interfaceProtoApiScrubberConfigOrBuilder
-
getFilteringModeValue
public int getFilteringModeValue()Specifies the filtering mode of this filter.
.envoy.extensions.filters.http.proto_api_scrubber.v3.ProtoApiScrubberConfig.FilteringMode filtering_mode = 3;- Specified by:
getFilteringModeValuein interfaceProtoApiScrubberConfigOrBuilder- Returns:
- The enum numeric value on the wire for filteringMode.
-
setFilteringModeValue
Specifies the filtering mode of this filter.
.envoy.extensions.filters.http.proto_api_scrubber.v3.ProtoApiScrubberConfig.FilteringMode filtering_mode = 3;- Parameters:
value- The enum numeric value on the wire for filteringMode to set.- Returns:
- This builder for chaining.
-
getFilteringMode
Specifies the filtering mode of this filter.
.envoy.extensions.filters.http.proto_api_scrubber.v3.ProtoApiScrubberConfig.FilteringMode filtering_mode = 3;- Specified by:
getFilteringModein interfaceProtoApiScrubberConfigOrBuilder- Returns:
- The filteringMode.
-
setFilteringMode
Specifies the filtering mode of this filter.
.envoy.extensions.filters.http.proto_api_scrubber.v3.ProtoApiScrubberConfig.FilteringMode filtering_mode = 3;- Parameters:
value- The filteringMode to set.- Returns:
- This builder for chaining.
-
clearFilteringMode
Specifies the filtering mode of this filter.
.envoy.extensions.filters.http.proto_api_scrubber.v3.ProtoApiScrubberConfig.FilteringMode filtering_mode = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ProtoApiScrubberConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProtoApiScrubberConfig.Builder>
-
mergeUnknownFields
public final ProtoApiScrubberConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProtoApiScrubberConfig.Builder>
-