public final class Compressor extends com.google.protobuf.GeneratedMessageV3 implements CompressorOrBuilder
[#next-free-field: 9]Protobuf type
envoy.extensions.filters.http.compressor.v4alpha.Compressor| Modifier and Type | Class and Description |
|---|---|
static class |
Compressor.Builder
[#next-free-field: 9]
Protobuf type
envoy.extensions.filters.http.compressor.v4alpha.Compressor |
static class |
Compressor.CommonDirectionConfig
Protobuf type
envoy.extensions.filters.http.compressor.v4alpha.Compressor.CommonDirectionConfig |
static interface |
Compressor.CommonDirectionConfigOrBuilder |
static class |
Compressor.RequestDirectionConfig
Configuration for filter behavior on the request direction.
|
static interface |
Compressor.RequestDirectionConfigOrBuilder |
static class |
Compressor.ResponseDirectionConfig
Configuration for filter behavior on the response direction.
|
static interface |
Compressor.ResponseDirectionConfigOrBuilder |
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 |
COMPRESSOR_LIBRARY_FIELD_NUMBER |
static int |
REQUEST_DIRECTION_CONFIG_FIELD_NUMBER |
static int |
RESPONSE_DIRECTION_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TypedExtensionConfig |
getCompressorLibrary()
A compressor library to use for compression.
|
TypedExtensionConfigOrBuilder |
getCompressorLibraryOrBuilder()
A compressor library to use for compression.
|
static Compressor |
getDefaultInstance() |
Compressor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Compressor> |
getParserForType() |
Compressor.RequestDirectionConfig |
getRequestDirectionConfig()
Configuration for request compression.
|
Compressor.RequestDirectionConfigOrBuilder |
getRequestDirectionConfigOrBuilder()
Configuration for request compression.
|
Compressor.ResponseDirectionConfig |
getResponseDirectionConfig()
Configuration for response compression.
|
Compressor.ResponseDirectionConfigOrBuilder |
getResponseDirectionConfigOrBuilder()
Configuration for response compression.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCompressorLibrary()
A compressor library to use for compression.
|
int |
hashCode() |
boolean |
hasRequestDirectionConfig()
Configuration for request compression.
|
boolean |
hasResponseDirectionConfig()
Configuration for response compression.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Compressor.Builder |
newBuilder() |
static Compressor.Builder |
newBuilder(Compressor prototype) |
Compressor.Builder |
newBuilderForType() |
protected Compressor.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Compressor |
parseDelimitedFrom(InputStream input) |
static Compressor |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Compressor |
parseFrom(byte[] data) |
static Compressor |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Compressor |
parseFrom(ByteBuffer data) |
static Compressor |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Compressor |
parseFrom(com.google.protobuf.ByteString data) |
static Compressor |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Compressor |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Compressor |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Compressor |
parseFrom(InputStream input) |
static Compressor |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Compressor> |
parser() |
Compressor.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 COMPRESSOR_LIBRARY_FIELD_NUMBER
public static final int REQUEST_DIRECTION_CONFIG_FIELD_NUMBER
public static final int RESPONSE_DIRECTION_CONFIG_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 hasCompressorLibrary()
A compressor library to use for compression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_api_msg_extensions.compression.gzip.compressor.v3.Gzip>` is included in Envoy. This field is ignored if used in the context of the gzip http-filter, but is mandatory otherwise.
.envoy.config.core.v4alpha.TypedExtensionConfig compressor_library = 6;hasCompressorLibrary in interface CompressorOrBuilderpublic TypedExtensionConfig getCompressorLibrary()
A compressor library to use for compression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_api_msg_extensions.compression.gzip.compressor.v3.Gzip>` is included in Envoy. This field is ignored if used in the context of the gzip http-filter, but is mandatory otherwise.
.envoy.config.core.v4alpha.TypedExtensionConfig compressor_library = 6;getCompressorLibrary in interface CompressorOrBuilderpublic TypedExtensionConfigOrBuilder getCompressorLibraryOrBuilder()
A compressor library to use for compression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_api_msg_extensions.compression.gzip.compressor.v3.Gzip>` is included in Envoy. This field is ignored if used in the context of the gzip http-filter, but is mandatory otherwise.
.envoy.config.core.v4alpha.TypedExtensionConfig compressor_library = 6;getCompressorLibraryOrBuilder in interface CompressorOrBuilderpublic boolean hasRequestDirectionConfig()
Configuration for request compression. Compression is disabled by default if left empty.
.envoy.extensions.filters.http.compressor.v4alpha.Compressor.RequestDirectionConfig request_direction_config = 7;hasRequestDirectionConfig in interface CompressorOrBuilderpublic Compressor.RequestDirectionConfig getRequestDirectionConfig()
Configuration for request compression. Compression is disabled by default if left empty.
.envoy.extensions.filters.http.compressor.v4alpha.Compressor.RequestDirectionConfig request_direction_config = 7;getRequestDirectionConfig in interface CompressorOrBuilderpublic Compressor.RequestDirectionConfigOrBuilder getRequestDirectionConfigOrBuilder()
Configuration for request compression. Compression is disabled by default if left empty.
.envoy.extensions.filters.http.compressor.v4alpha.Compressor.RequestDirectionConfig request_direction_config = 7;getRequestDirectionConfigOrBuilder in interface CompressorOrBuilderpublic boolean hasResponseDirectionConfig()
Configuration for response compression. Compression is enabled by default if left empty.
.. attention::
If the field is not empty then the duplicate deprecated fields of the `Compressor` message,
such as `content_length`, `content_type`, `disable_on_etag_header`,
`remove_accept_encoding_header` and `runtime_enabled`, are ignored.
Also all the statistics related to response compression will be rooted in
`<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.response.*`
instead of
`<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.*`.
.envoy.extensions.filters.http.compressor.v4alpha.Compressor.ResponseDirectionConfig response_direction_config = 8;hasResponseDirectionConfig in interface CompressorOrBuilderpublic Compressor.ResponseDirectionConfig getResponseDirectionConfig()
Configuration for response compression. Compression is enabled by default if left empty.
.. attention::
If the field is not empty then the duplicate deprecated fields of the `Compressor` message,
such as `content_length`, `content_type`, `disable_on_etag_header`,
`remove_accept_encoding_header` and `runtime_enabled`, are ignored.
Also all the statistics related to response compression will be rooted in
`<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.response.*`
instead of
`<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.*`.
.envoy.extensions.filters.http.compressor.v4alpha.Compressor.ResponseDirectionConfig response_direction_config = 8;getResponseDirectionConfig in interface CompressorOrBuilderpublic Compressor.ResponseDirectionConfigOrBuilder getResponseDirectionConfigOrBuilder()
Configuration for response compression. Compression is enabled by default if left empty.
.. attention::
If the field is not empty then the duplicate deprecated fields of the `Compressor` message,
such as `content_length`, `content_type`, `disable_on_etag_header`,
`remove_accept_encoding_header` and `runtime_enabled`, are ignored.
Also all the statistics related to response compression will be rooted in
`<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.response.*`
instead of
`<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.*`.
.envoy.extensions.filters.http.compressor.v4alpha.Compressor.ResponseDirectionConfig response_direction_config = 8;getResponseDirectionConfigOrBuilder in interface CompressorOrBuilderpublic 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Compressor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Compressor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Compressor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Compressor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Compressor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Compressor parseFrom(InputStream input) throws IOException
IOExceptionpublic static Compressor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Compressor parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Compressor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Compressor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Compressor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Compressor.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Compressor.Builder newBuilder()
public static Compressor.Builder newBuilder(Compressor prototype)
public Compressor.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Compressor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Compressor getDefaultInstance()
public static com.google.protobuf.Parser<Compressor> parser()
public com.google.protobuf.Parser<Compressor> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Compressor getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.