Class Decompressor
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.extensions.filters.http.decompressor.v3.Decompressor
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DecompressorOrBuilder,Serializable
public final class Decompressor extends com.google.protobuf.GeneratedMessageV3 implements DecompressorOrBuilder
Protobuf typeenvoy.extensions.filters.http.decompressor.v3.Decompressor- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDecompressor.BuilderProtobuf typeenvoy.extensions.filters.http.decompressor.v3.Decompressorstatic classDecompressor.CommonDirectionConfigCommon configuration for filter behavior on both the request and response direction.static interfaceDecompressor.CommonDirectionConfigOrBuilderstatic classDecompressor.RequestDirectionConfigConfiguration for filter behavior on the request direction.static interfaceDecompressor.RequestDirectionConfigOrBuilderstatic classDecompressor.ResponseDirectionConfigConfiguration for filter behavior on the response direction.static interfaceDecompressor.ResponseDirectionConfigOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intDECOMPRESSOR_LIBRARY_FIELD_NUMBERstatic intREQUEST_DIRECTION_CONFIG_FIELD_NUMBERstatic intRESPONSE_DIRECTION_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)TypedExtensionConfiggetDecompressorLibrary()A decompressor library to use for both request and response decompression.TypedExtensionConfigOrBuildergetDecompressorLibraryOrBuilder()A decompressor library to use for both request and response decompression.static DecompressorgetDefaultInstance()DecompressorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Decompressor>getParserForType()Decompressor.RequestDirectionConfiggetRequestDirectionConfig()Configuration for request decompression.Decompressor.RequestDirectionConfigOrBuildergetRequestDirectionConfigOrBuilder()Configuration for request decompression.Decompressor.ResponseDirectionConfiggetResponseDirectionConfig()Configuration for response decompression.Decompressor.ResponseDirectionConfigOrBuildergetResponseDirectionConfigOrBuilder()Configuration for response decompression.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasDecompressorLibrary()A decompressor library to use for both request and response decompression.inthashCode()booleanhasRequestDirectionConfig()Configuration for request decompression.booleanhasResponseDirectionConfig()Configuration for response decompression.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Decompressor.BuildernewBuilder()static Decompressor.BuildernewBuilder(Decompressor prototype)Decompressor.BuildernewBuilderForType()protected Decompressor.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DecompressorparseDelimitedFrom(InputStream input)static DecompressorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DecompressorparseFrom(byte[] data)static DecompressorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DecompressorparseFrom(com.google.protobuf.ByteString data)static DecompressorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DecompressorparseFrom(com.google.protobuf.CodedInputStream input)static DecompressorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DecompressorparseFrom(InputStream input)static DecompressorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DecompressorparseFrom(ByteBuffer data)static DecompressorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Decompressor>parser()Decompressor.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DECOMPRESSOR_LIBRARY_FIELD_NUMBER
public static final int DECOMPRESSOR_LIBRARY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_DIRECTION_CONFIG_FIELD_NUMBER
public static final int REQUEST_DIRECTION_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESPONSE_DIRECTION_CONFIG_FIELD_NUMBER
public static final int RESPONSE_DIRECTION_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasDecompressorLibrary
public boolean hasDecompressorLibrary()
A decompressor library to use for both request and response decompression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_v3_api_msg_extensions.compression.gzip.decompressor.v3.Gzip>` is included in Envoy. [#extension-category: envoy.compression.decompressor]
.envoy.config.core.v3.TypedExtensionConfig decompressor_library = 1 [(.validate.rules) = { ... }- Specified by:
hasDecompressorLibraryin interfaceDecompressorOrBuilder- Returns:
- Whether the decompressorLibrary field is set.
-
getDecompressorLibrary
public TypedExtensionConfig getDecompressorLibrary()
A decompressor library to use for both request and response decompression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_v3_api_msg_extensions.compression.gzip.decompressor.v3.Gzip>` is included in Envoy. [#extension-category: envoy.compression.decompressor]
.envoy.config.core.v3.TypedExtensionConfig decompressor_library = 1 [(.validate.rules) = { ... }- Specified by:
getDecompressorLibraryin interfaceDecompressorOrBuilder- Returns:
- The decompressorLibrary.
-
getDecompressorLibraryOrBuilder
public TypedExtensionConfigOrBuilder getDecompressorLibraryOrBuilder()
A decompressor library to use for both request and response decompression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_v3_api_msg_extensions.compression.gzip.decompressor.v3.Gzip>` is included in Envoy. [#extension-category: envoy.compression.decompressor]
.envoy.config.core.v3.TypedExtensionConfig decompressor_library = 1 [(.validate.rules) = { ... }- Specified by:
getDecompressorLibraryOrBuilderin interfaceDecompressorOrBuilder
-
hasRequestDirectionConfig
public boolean hasRequestDirectionConfig()
Configuration for request decompression. Decompression is enabled by default if left empty.
.envoy.extensions.filters.http.decompressor.v3.Decompressor.RequestDirectionConfig request_direction_config = 2;- Specified by:
hasRequestDirectionConfigin interfaceDecompressorOrBuilder- Returns:
- Whether the requestDirectionConfig field is set.
-
getRequestDirectionConfig
public Decompressor.RequestDirectionConfig getRequestDirectionConfig()
Configuration for request decompression. Decompression is enabled by default if left empty.
.envoy.extensions.filters.http.decompressor.v3.Decompressor.RequestDirectionConfig request_direction_config = 2;- Specified by:
getRequestDirectionConfigin interfaceDecompressorOrBuilder- Returns:
- The requestDirectionConfig.
-
getRequestDirectionConfigOrBuilder
public Decompressor.RequestDirectionConfigOrBuilder getRequestDirectionConfigOrBuilder()
Configuration for request decompression. Decompression is enabled by default if left empty.
.envoy.extensions.filters.http.decompressor.v3.Decompressor.RequestDirectionConfig request_direction_config = 2;- Specified by:
getRequestDirectionConfigOrBuilderin interfaceDecompressorOrBuilder
-
hasResponseDirectionConfig
public boolean hasResponseDirectionConfig()
Configuration for response decompression. Decompression is enabled by default if left empty.
.envoy.extensions.filters.http.decompressor.v3.Decompressor.ResponseDirectionConfig response_direction_config = 3;- Specified by:
hasResponseDirectionConfigin interfaceDecompressorOrBuilder- Returns:
- Whether the responseDirectionConfig field is set.
-
getResponseDirectionConfig
public Decompressor.ResponseDirectionConfig getResponseDirectionConfig()
Configuration for response decompression. Decompression is enabled by default if left empty.
.envoy.extensions.filters.http.decompressor.v3.Decompressor.ResponseDirectionConfig response_direction_config = 3;- Specified by:
getResponseDirectionConfigin interfaceDecompressorOrBuilder- Returns:
- The responseDirectionConfig.
-
getResponseDirectionConfigOrBuilder
public Decompressor.ResponseDirectionConfigOrBuilder getResponseDirectionConfigOrBuilder()
Configuration for response decompression. Decompression is enabled by default if left empty.
.envoy.extensions.filters.http.decompressor.v3.Decompressor.ResponseDirectionConfig response_direction_config = 3;- Specified by:
getResponseDirectionConfigOrBuilderin interfaceDecompressorOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Decompressor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Decompressor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Decompressor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Decompressor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Decompressor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Decompressor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Decompressor parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Decompressor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Decompressor parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Decompressor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Decompressor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Decompressor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Decompressor.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Decompressor.Builder newBuilder()
-
newBuilder
public static Decompressor.Builder newBuilder(Decompressor prototype)
-
toBuilder
public Decompressor.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Decompressor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Decompressor getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Decompressor> parser()
-
getParserForType
public com.google.protobuf.Parser<Decompressor> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Decompressor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-