public static interface Compressor.CommonDirectionConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.
|
List<String> |
getContentTypeList()
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
RuntimeFeatureFlag |
getEnabled()
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.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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean 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;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;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;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;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;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;List<String> 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;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;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;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;Copyright © 2018–2021 The Envoy Project. All rights reserved.