Class Compressor.CommonDirectionConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>
-
- io.envoyproxy.envoy.extensions.filters.http.compressor.v3.Compressor.CommonDirectionConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Compressor.CommonDirectionConfigOrBuilder,Cloneable
- Enclosing class:
- Compressor.CommonDirectionConfig
public static final class Compressor.CommonDirectionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder> implements Compressor.CommonDirectionConfigOrBuilder
Protobuf typeenvoy.extensions.filters.http.compressor.v3.Compressor.CommonDirectionConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Compressor.CommonDirectionConfig.BuilderaddAllContentType(Iterable<String> values)Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.Compressor.CommonDirectionConfig.BuilderaddContentType(String value)Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.Compressor.CommonDirectionConfig.BuilderaddContentTypeBytes(com.google.protobuf.ByteString value)Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.Compressor.CommonDirectionConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Compressor.CommonDirectionConfigbuild()Compressor.CommonDirectionConfigbuildPartial()Compressor.CommonDirectionConfig.Builderclear()Compressor.CommonDirectionConfig.BuilderclearContentType()Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.Compressor.CommonDirectionConfig.BuilderclearEnabled()Runtime flag that controls whether compression is enabled or not for the direction this common config is put in.Compressor.CommonDirectionConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Compressor.CommonDirectionConfig.BuilderclearMinContentLength()Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression.Compressor.CommonDirectionConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Compressor.CommonDirectionConfig.Builderclone()StringgetContentType(int index)Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.com.google.protobuf.ByteStringgetContentTypeBytes(int index)Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.intgetContentTypeCount()Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.com.google.protobuf.ProtocolStringListgetContentTypeList()Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.Compressor.CommonDirectionConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RuntimeFeatureFlaggetEnabled()Runtime flag that controls whether compression is enabled or not for the direction this common config is put in.RuntimeFeatureFlag.BuildergetEnabledBuilder()Runtime flag that controls whether compression is enabled or not for the direction this common config is put in.RuntimeFeatureFlagOrBuildergetEnabledOrBuilder()Runtime flag that controls whether compression is enabled or not for the direction this common config is put in.com.google.protobuf.UInt32ValuegetMinContentLength()Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression.com.google.protobuf.UInt32Value.BuildergetMinContentLengthBuilder()Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression.com.google.protobuf.UInt32ValueOrBuildergetMinContentLengthOrBuilder()Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression.booleanhasEnabled()Runtime flag that controls whether compression is enabled or not for the direction this common config is put in.booleanhasMinContentLength()Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Compressor.CommonDirectionConfig.BuildermergeEnabled(RuntimeFeatureFlag value)Runtime flag that controls whether compression is enabled or not for the direction this common config is put in.Compressor.CommonDirectionConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Compressor.CommonDirectionConfig.BuildermergeFrom(com.google.protobuf.Message other)Compressor.CommonDirectionConfig.BuildermergeFrom(Compressor.CommonDirectionConfig other)Compressor.CommonDirectionConfig.BuildermergeMinContentLength(com.google.protobuf.UInt32Value value)Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression.Compressor.CommonDirectionConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Compressor.CommonDirectionConfig.BuildersetContentType(int index, String value)Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.Compressor.CommonDirectionConfig.BuildersetEnabled(RuntimeFeatureFlag value)Runtime flag that controls whether compression is enabled or not for the direction this common config is put in.Compressor.CommonDirectionConfig.BuildersetEnabled(RuntimeFeatureFlag.Builder builderForValue)Runtime flag that controls whether compression is enabled or not for the direction this common config is put in.Compressor.CommonDirectionConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Compressor.CommonDirectionConfig.BuildersetMinContentLength(com.google.protobuf.UInt32Value value)Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression.Compressor.CommonDirectionConfig.BuildersetMinContentLength(com.google.protobuf.UInt32Value.Builder builderForValue)Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression.Compressor.CommonDirectionConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Compressor.CommonDirectionConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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<Compressor.CommonDirectionConfig.Builder>
-
clear
public Compressor.CommonDirectionConfig.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<Compressor.CommonDirectionConfig.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<Compressor.CommonDirectionConfig.Builder>
-
getDefaultInstanceForType
public Compressor.CommonDirectionConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Compressor.CommonDirectionConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Compressor.CommonDirectionConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Compressor.CommonDirectionConfig.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<Compressor.CommonDirectionConfig.Builder>
-
setField
public Compressor.CommonDirectionConfig.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<Compressor.CommonDirectionConfig.Builder>
-
clearField
public Compressor.CommonDirectionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>
-
clearOneof
public Compressor.CommonDirectionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>
-
setRepeatedField
public Compressor.CommonDirectionConfig.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<Compressor.CommonDirectionConfig.Builder>
-
addRepeatedField
public Compressor.CommonDirectionConfig.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<Compressor.CommonDirectionConfig.Builder>
-
mergeFrom
public Compressor.CommonDirectionConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compressor.CommonDirectionConfig.Builder>
-
mergeFrom
public Compressor.CommonDirectionConfig.Builder mergeFrom(Compressor.CommonDirectionConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>
-
mergeFrom
public Compressor.CommonDirectionConfig.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<Compressor.CommonDirectionConfig.Builder>- Throws:
IOException
-
hasEnabled
public boolean hasEnabled()
Runtime flag that controls whether compression is enabled or not for the direction this common config is put in. If set to false, the filter will operate as a pass-through filter in the chosen direction. If the field is omitted, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;- Specified by:
hasEnabledin interfaceCompressor.CommonDirectionConfigOrBuilder
-
getEnabled
public RuntimeFeatureFlag getEnabled()
Runtime flag that controls whether compression is enabled or not for the direction this common config is put in. If set to false, the filter will operate as a pass-through filter in the chosen direction. If the field is omitted, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;- Specified by:
getEnabledin interfaceCompressor.CommonDirectionConfigOrBuilder
-
setEnabled
public Compressor.CommonDirectionConfig.Builder setEnabled(RuntimeFeatureFlag value)
Runtime flag that controls whether compression is enabled or not for the direction this common config is put in. If set to false, the filter will operate as a pass-through filter in the chosen direction. If the field is omitted, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
-
setEnabled
public Compressor.CommonDirectionConfig.Builder setEnabled(RuntimeFeatureFlag.Builder builderForValue)
Runtime flag that controls whether compression is enabled or not for the direction this common config is put in. If set to false, the filter will operate as a pass-through filter in the chosen direction. If the field is omitted, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
-
mergeEnabled
public Compressor.CommonDirectionConfig.Builder mergeEnabled(RuntimeFeatureFlag value)
Runtime flag that controls whether compression is enabled or not for the direction this common config is put in. If set to false, the filter will operate as a pass-through filter in the chosen direction. If the field is omitted, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
-
clearEnabled
public Compressor.CommonDirectionConfig.Builder clearEnabled()
Runtime flag that controls whether compression is enabled or not for the direction this common config is put in. If set to false, the filter will operate as a pass-through filter in the chosen direction. If the field is omitted, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
-
getEnabledBuilder
public RuntimeFeatureFlag.Builder getEnabledBuilder()
Runtime flag that controls whether compression is enabled or not for the direction this common config is put in. If set to false, the filter will operate as a pass-through filter in the chosen direction. If the field is omitted, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
-
getEnabledOrBuilder
public RuntimeFeatureFlagOrBuilder getEnabledOrBuilder()
Runtime flag that controls whether compression is enabled or not for the direction this common config is put in. If set to false, the filter will operate as a pass-through filter in the chosen direction. If the field is omitted, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;- Specified by:
getEnabledOrBuilderin interfaceCompressor.CommonDirectionConfigOrBuilder
-
hasMinContentLength
public boolean hasMinContentLength()
Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value min_content_length = 2;- Specified by:
hasMinContentLengthin interfaceCompressor.CommonDirectionConfigOrBuilder
-
getMinContentLength
public com.google.protobuf.UInt32Value getMinContentLength()
Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value min_content_length = 2;- Specified by:
getMinContentLengthin interfaceCompressor.CommonDirectionConfigOrBuilder
-
setMinContentLength
public Compressor.CommonDirectionConfig.Builder setMinContentLength(com.google.protobuf.UInt32Value value)
Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value min_content_length = 2;
-
setMinContentLength
public Compressor.CommonDirectionConfig.Builder setMinContentLength(com.google.protobuf.UInt32Value.Builder builderForValue)
Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value min_content_length = 2;
-
mergeMinContentLength
public Compressor.CommonDirectionConfig.Builder mergeMinContentLength(com.google.protobuf.UInt32Value value)
Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value min_content_length = 2;
-
clearMinContentLength
public Compressor.CommonDirectionConfig.Builder clearMinContentLength()
Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value min_content_length = 2;
-
getMinContentLengthBuilder
public com.google.protobuf.UInt32Value.Builder getMinContentLengthBuilder()
Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value min_content_length = 2;
-
getMinContentLengthOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMinContentLengthOrBuilder()
Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value min_content_length = 2;- Specified by:
getMinContentLengthOrBuilderin interfaceCompressor.CommonDirectionConfigOrBuilder
-
getContentTypeList
public com.google.protobuf.ProtocolStringList getContentTypeList()
Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc. When this field is not defined, compression will be applied to the following mime-types: "application/javascript", "application/json", "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml" and their synonyms.
repeated string content_type = 3;- Specified by:
getContentTypeListin interfaceCompressor.CommonDirectionConfigOrBuilder
-
getContentTypeCount
public int getContentTypeCount()
Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc. When this field is not defined, compression will be applied to the following mime-types: "application/javascript", "application/json", "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml" and their synonyms.
repeated string content_type = 3;- Specified by:
getContentTypeCountin interfaceCompressor.CommonDirectionConfigOrBuilder
-
getContentType
public String getContentType(int index)
Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc. When this field is not defined, compression will be applied to the following mime-types: "application/javascript", "application/json", "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml" and their synonyms.
repeated string content_type = 3;- Specified by:
getContentTypein interfaceCompressor.CommonDirectionConfigOrBuilder
-
getContentTypeBytes
public com.google.protobuf.ByteString getContentTypeBytes(int index)
Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc. When this field is not defined, compression will be applied to the following mime-types: "application/javascript", "application/json", "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml" and their synonyms.
repeated string content_type = 3;- Specified by:
getContentTypeBytesin interfaceCompressor.CommonDirectionConfigOrBuilder
-
setContentType
public Compressor.CommonDirectionConfig.Builder setContentType(int index, String value)
Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc. When this field is not defined, compression will be applied to the following mime-types: "application/javascript", "application/json", "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml" and their synonyms.
repeated string content_type = 3;
-
addContentType
public Compressor.CommonDirectionConfig.Builder addContentType(String value)
Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc. When this field is not defined, compression will be applied to the following mime-types: "application/javascript", "application/json", "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml" and their synonyms.
repeated string content_type = 3;
-
addAllContentType
public Compressor.CommonDirectionConfig.Builder addAllContentType(Iterable<String> values)
Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc. When this field is not defined, compression will be applied to the following mime-types: "application/javascript", "application/json", "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml" and their synonyms.
repeated string content_type = 3;
-
clearContentType
public Compressor.CommonDirectionConfig.Builder clearContentType()
Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc. When this field is not defined, compression will be applied to the following mime-types: "application/javascript", "application/json", "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml" and their synonyms.
repeated string content_type = 3;
-
addContentTypeBytes
public Compressor.CommonDirectionConfig.Builder addContentTypeBytes(com.google.protobuf.ByteString value)
Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc. When this field is not defined, compression will be applied to the following mime-types: "application/javascript", "application/json", "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml" and their synonyms.
repeated string content_type = 3;
-
setUnknownFields
public final Compressor.CommonDirectionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>
-
mergeUnknownFields
public final Compressor.CommonDirectionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>
-
-