Interface Compressor.CommonDirectionConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Compressor.CommonDirectionConfig,Compressor.CommonDirectionConfig.Builder
- Enclosing class:
- Compressor
public static interface Compressor.CommonDirectionConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.List<String>getContentTypeList()Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.RuntimeFeatureFlaggetEnabled()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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasEnabled
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;
-
getEnabled
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;
-
getEnabledOrBuilder
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;
-
hasMinContentLength
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;
-
getMinContentLength
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;
-
getMinContentLengthOrBuilder
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;
-
getContentTypeList
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;
-
getContentTypeCount
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;
-
getContentType
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;
-
getContentTypeBytes
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;
-
-