public static final class Compressor.CommonDirectionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder> implements Compressor.CommonDirectionConfigOrBuilder
envoy.extensions.filters.http.compressor.v4alpha.Compressor.CommonDirectionConfig| Modifier and Type | Method and Description |
|---|---|
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.
|
Compressor.CommonDirectionConfig.Builder |
addContentType(String value)
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
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.
|
Compressor.CommonDirectionConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Compressor.CommonDirectionConfig |
build() |
Compressor.CommonDirectionConfig |
buildPartial() |
Compressor.CommonDirectionConfig.Builder |
clear() |
Compressor.CommonDirectionConfig.Builder |
clearContentType()
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
Compressor.CommonDirectionConfig.Builder |
clearEnabled()
Runtime flag that controls whether compression is enabled or not for the direction this
common config is put in.
|
Compressor.CommonDirectionConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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.
|
Compressor.CommonDirectionConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Compressor.CommonDirectionConfig.Builder |
clone() |
String |
getContentType(int index)
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
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.
|
int |
getContentTypeCount()
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
com.google.protobuf.ProtocolStringList |
getContentTypeList()
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
Compressor.CommonDirectionConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RuntimeFeatureFlag |
getEnabled()
Runtime flag that controls whether compression is enabled or not for the direction this
common config is put in.
|
RuntimeFeatureFlag.Builder |
getEnabledBuilder()
Runtime flag that controls whether compression is enabled or not for the direction this
common config is put in.
|
RuntimeFeatureFlagOrBuilder |
getEnabledOrBuilder()
Runtime flag that controls whether compression is enabled or not for the direction this
common config is put in.
|
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.
|
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.
|
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.
|
boolean |
hasEnabled()
Runtime flag that controls whether compression is enabled or not for the direction this
common config is put in.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
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.
|
Compressor.CommonDirectionConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Compressor.CommonDirectionConfig.Builder |
mergeFrom(Compressor.CommonDirectionConfig other) |
Compressor.CommonDirectionConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
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.
|
Compressor.CommonDirectionConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
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.
|
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.
|
Compressor.CommonDirectionConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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.
|
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.
|
Compressor.CommonDirectionConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Compressor.CommonDirectionConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>public Compressor.CommonDirectionConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>public Compressor.CommonDirectionConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Compressor.CommonDirectionConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Compressor.CommonDirectionConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Compressor.CommonDirectionConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>public Compressor.CommonDirectionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>public Compressor.CommonDirectionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>public Compressor.CommonDirectionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>public Compressor.CommonDirectionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>public Compressor.CommonDirectionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>public Compressor.CommonDirectionConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compressor.CommonDirectionConfig.Builder>public Compressor.CommonDirectionConfig.Builder mergeFrom(Compressor.CommonDirectionConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>public Compressor.CommonDirectionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compressor.CommonDirectionConfig.Builder>IOExceptionpublic 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.v4alpha.RuntimeFeatureFlag enabled = 1;hasEnabled in interface Compressor.CommonDirectionConfigOrBuilderpublic 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.v4alpha.RuntimeFeatureFlag enabled = 1;getEnabled in interface Compressor.CommonDirectionConfigOrBuilderpublic 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.v4alpha.RuntimeFeatureFlag enabled = 1;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.v4alpha.RuntimeFeatureFlag enabled = 1;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.v4alpha.RuntimeFeatureFlag enabled = 1;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.v4alpha.RuntimeFeatureFlag enabled = 1;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.v4alpha.RuntimeFeatureFlag enabled = 1;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.v4alpha.RuntimeFeatureFlag enabled = 1;getEnabledOrBuilder in interface Compressor.CommonDirectionConfigOrBuilderpublic 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;hasMinContentLength in interface Compressor.CommonDirectionConfigOrBuilderpublic 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;getMinContentLength in interface Compressor.CommonDirectionConfigOrBuilderpublic 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;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;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;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;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;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;getMinContentLengthOrBuilder in interface Compressor.CommonDirectionConfigOrBuilderpublic 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;getContentTypeList in interface Compressor.CommonDirectionConfigOrBuilderpublic 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;getContentTypeCount in interface Compressor.CommonDirectionConfigOrBuilderpublic 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;getContentType in interface Compressor.CommonDirectionConfigOrBuilderpublic 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;getContentTypeBytes in interface Compressor.CommonDirectionConfigOrBuilderpublic 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;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;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;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;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;public final Compressor.CommonDirectionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>public final Compressor.CommonDirectionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.CommonDirectionConfig.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.