public static final class Compressor.CommonDirectionConfig extends com.google.protobuf.GeneratedMessageV3 implements Compressor.CommonDirectionConfigOrBuilder
envoy.extensions.filters.http.compressor.v4alpha.Compressor.CommonDirectionConfig| Modifier and Type | Class and Description |
|---|---|
static class |
Compressor.CommonDirectionConfig.Builder
Protobuf type
envoy.extensions.filters.http.compressor.v4alpha.Compressor.CommonDirectionConfig |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONTENT_TYPE_FIELD_NUMBER |
static int |
ENABLED_FIELD_NUMBER |
static int |
MIN_CONTENT_LENGTH_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static Compressor.CommonDirectionConfig |
getDefaultInstance() |
Compressor.CommonDirectionConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Compressor.CommonDirectionConfig> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEnabled()
Runtime flag that controls whether compression is enabled or not for the direction this
common config is put in.
|
int |
hashCode() |
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() |
static Compressor.CommonDirectionConfig.Builder |
newBuilder() |
static Compressor.CommonDirectionConfig.Builder |
newBuilder(Compressor.CommonDirectionConfig prototype) |
Compressor.CommonDirectionConfig.Builder |
newBuilderForType() |
protected Compressor.CommonDirectionConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Compressor.CommonDirectionConfig |
parseDelimitedFrom(InputStream input) |
static Compressor.CommonDirectionConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Compressor.CommonDirectionConfig |
parseFrom(byte[] data) |
static Compressor.CommonDirectionConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Compressor.CommonDirectionConfig |
parseFrom(ByteBuffer data) |
static Compressor.CommonDirectionConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Compressor.CommonDirectionConfig |
parseFrom(com.google.protobuf.ByteString data) |
static Compressor.CommonDirectionConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Compressor.CommonDirectionConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Compressor.CommonDirectionConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Compressor.CommonDirectionConfig |
parseFrom(InputStream input) |
static Compressor.CommonDirectionConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Compressor.CommonDirectionConfig> |
parser() |
Compressor.CommonDirectionConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENABLED_FIELD_NUMBER
public static final int MIN_CONTENT_LENGTH_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Compressor.CommonDirectionConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Compressor.CommonDirectionConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Compressor.CommonDirectionConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Compressor.CommonDirectionConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Compressor.CommonDirectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Compressor.CommonDirectionConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Compressor.CommonDirectionConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static Compressor.CommonDirectionConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Compressor.CommonDirectionConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Compressor.CommonDirectionConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Compressor.CommonDirectionConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Compressor.CommonDirectionConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Compressor.CommonDirectionConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Compressor.CommonDirectionConfig.Builder newBuilder()
public static Compressor.CommonDirectionConfig.Builder newBuilder(Compressor.CommonDirectionConfig prototype)
public Compressor.CommonDirectionConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Compressor.CommonDirectionConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Compressor.CommonDirectionConfig getDefaultInstance()
public static com.google.protobuf.Parser<Compressor.CommonDirectionConfig> parser()
public com.google.protobuf.Parser<Compressor.CommonDirectionConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Compressor.CommonDirectionConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.