Class Compressor
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.filters.http.compressor.v3.Compressor
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CompressorOrBuilder,Serializable
public final class Compressor
extends com.google.protobuf.GeneratedMessageV3
implements CompressorOrBuilder
[#next-free-field: 10]Protobuf type
envoy.extensions.filters.http.compressor.v3.Compressor- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class[#next-free-field: 10]static final classProtobuf typeenvoy.extensions.filters.http.compressor.v3.Compressor.CommonDirectionConfigstatic interfacestatic final classConfiguration for filter behavior on the request direction.static interfacestatic final classConfiguration for filter behavior on the response direction.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanWhen this field is ``true``, this compressor is preferred when q-values in ``Accept-Encoding`` are equal.A compressor library to use for compression.A compressor library to use for compression.com.google.protobuf.UInt32ValueDeprecated.envoy.extensions.filters.http.compressor.v3.Compressor.content_length is deprecated.com.google.protobuf.UInt32ValueOrBuilderDeprecated.getContentType(int index) Deprecated.envoy.extensions.filters.http.compressor.v3.Compressor.content_type is deprecated.com.google.protobuf.ByteStringgetContentTypeBytes(int index) Deprecated.envoy.extensions.filters.http.compressor.v3.Compressor.content_type is deprecated.intDeprecated.envoy.extensions.filters.http.compressor.v3.Compressor.content_type is deprecated.com.google.protobuf.ProtocolStringListDeprecated.envoy.extensions.filters.http.compressor.v3.Compressor.content_type is deprecated.static Compressorstatic final com.google.protobuf.Descriptors.DescriptorbooleanDeprecated.envoy.extensions.filters.http.compressor.v3.Compressor.disable_on_etag_header is deprecated.com.google.protobuf.Parser<Compressor>booleanDeprecated.envoy.extensions.filters.http.compressor.v3.Compressor.remove_accept_encoding_header is deprecated.Configuration for request compression.Configuration for request compression.Configuration for response compression.Configuration for response compression.Deprecated.envoy.extensions.filters.http.compressor.v3.Compressor.runtime_enabled is deprecated.Deprecated.intbooleanA compressor library to use for compression.booleanDeprecated.envoy.extensions.filters.http.compressor.v3.Compressor.content_length is deprecated.inthashCode()booleanConfiguration for request compression.booleanConfiguration for response compression.booleanDeprecated.envoy.extensions.filters.http.compressor.v3.Compressor.runtime_enabled is deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Compressor.Builderstatic Compressor.BuildernewBuilder(Compressor prototype) protected Compressor.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CompressorparseDelimitedFrom(InputStream input) static CompressorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CompressorparseFrom(byte[] data) static CompressorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CompressorparseFrom(com.google.protobuf.ByteString data) static CompressorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CompressorparseFrom(com.google.protobuf.CodedInputStream input) static CompressorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CompressorparseFrom(InputStream input) static CompressorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CompressorparseFrom(ByteBuffer data) static CompressorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Compressor>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CONTENT_LENGTH_FIELD_NUMBER
public static final int CONTENT_LENGTH_FIELD_NUMBER- See Also:
-
CONTENT_TYPE_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER- See Also:
-
DISABLE_ON_ETAG_HEADER_FIELD_NUMBER
public static final int DISABLE_ON_ETAG_HEADER_FIELD_NUMBER- See Also:
-
REMOVE_ACCEPT_ENCODING_HEADER_FIELD_NUMBER
public static final int REMOVE_ACCEPT_ENCODING_HEADER_FIELD_NUMBER- See Also:
-
RUNTIME_ENABLED_FIELD_NUMBER
public static final int RUNTIME_ENABLED_FIELD_NUMBER- See Also:
-
COMPRESSOR_LIBRARY_FIELD_NUMBER
public static final int COMPRESSOR_LIBRARY_FIELD_NUMBER- See Also:
-
REQUEST_DIRECTION_CONFIG_FIELD_NUMBER
public static final int REQUEST_DIRECTION_CONFIG_FIELD_NUMBER- See Also:
-
RESPONSE_DIRECTION_CONFIG_FIELD_NUMBER
public static final int RESPONSE_DIRECTION_CONFIG_FIELD_NUMBER- See Also:
-
CHOOSE_FIRST_FIELD_NUMBER
public static final int CHOOSE_FIRST_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
-
hasContentLength
Deprecated.envoy.extensions.filters.http.compressor.v3.Compressor.content_length is deprecated. See envoy/extensions/filters/http/compressor/v3/compressor.proto;l=101Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
hasContentLengthin interfaceCompressorOrBuilder- Returns:
- Whether the contentLength field is set.
-
getContentLength
Deprecated.envoy.extensions.filters.http.compressor.v3.Compressor.content_length is deprecated. See envoy/extensions/filters/http/compressor/v3/compressor.proto;l=101Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getContentLengthin interfaceCompressorOrBuilder- Returns:
- The contentLength.
-
getContentLengthOrBuilder
Deprecated.Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getContentLengthOrBuilderin interfaceCompressorOrBuilder
-
getContentTypeList
Deprecated.envoy.extensions.filters.http.compressor.v3.Compressor.content_type is deprecated. See envoy/extensions/filters/http/compressor/v3/compressor.proto;l=119Set of strings that allows specifying which mime-types yield compression; e.g., ``application/json``, ``text/html``, etc. When this field is not specified, compression will be applied to these following mime-types and their synonyms: * ``application/javascript`` * ``application/json`` * ``application/xhtml+xml`` * ``image/svg+xml`` * ``text/css`` * ``text/html`` * ``text/plain`` * ``text/xml``
repeated string content_type = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getContentTypeListin interfaceCompressorOrBuilder- Returns:
- A list containing the contentType.
-
getContentTypeCount
Deprecated.envoy.extensions.filters.http.compressor.v3.Compressor.content_type is deprecated. See envoy/extensions/filters/http/compressor/v3/compressor.proto;l=119Set of strings that allows specifying which mime-types yield compression; e.g., ``application/json``, ``text/html``, etc. When this field is not specified, compression will be applied to these following mime-types and their synonyms: * ``application/javascript`` * ``application/json`` * ``application/xhtml+xml`` * ``image/svg+xml`` * ``text/css`` * ``text/html`` * ``text/plain`` * ``text/xml``
repeated string content_type = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getContentTypeCountin interfaceCompressorOrBuilder- Returns:
- The count of contentType.
-
getContentType
Deprecated.envoy.extensions.filters.http.compressor.v3.Compressor.content_type is deprecated. See envoy/extensions/filters/http/compressor/v3/compressor.proto;l=119Set of strings that allows specifying which mime-types yield compression; e.g., ``application/json``, ``text/html``, etc. When this field is not specified, compression will be applied to these following mime-types and their synonyms: * ``application/javascript`` * ``application/json`` * ``application/xhtml+xml`` * ``image/svg+xml`` * ``text/css`` * ``text/html`` * ``text/plain`` * ``text/xml``
repeated string content_type = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getContentTypein interfaceCompressorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The contentType at the given index.
-
getContentTypeBytes
Deprecated.envoy.extensions.filters.http.compressor.v3.Compressor.content_type is deprecated. See envoy/extensions/filters/http/compressor/v3/compressor.proto;l=119Set of strings that allows specifying which mime-types yield compression; e.g., ``application/json``, ``text/html``, etc. When this field is not specified, compression will be applied to these following mime-types and their synonyms: * ``application/javascript`` * ``application/json`` * ``application/xhtml+xml`` * ``image/svg+xml`` * ``text/css`` * ``text/html`` * ``text/plain`` * ``text/xml``
repeated string content_type = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getContentTypeBytesin interfaceCompressorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the contentType at the given index.
-
getDisableOnEtagHeader
Deprecated.envoy.extensions.filters.http.compressor.v3.Compressor.disable_on_etag_header is deprecated. See envoy/extensions/filters/http/compressor/v3/compressor.proto;l=125When this field is ``true``, disables compression when the response contains an ``ETag`` header. When this field is ``false``, the filter will preserve weak ``ETag`` values and remove those that require strong validation.
bool disable_on_etag_header = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getDisableOnEtagHeaderin interfaceCompressorOrBuilder- Returns:
- The disableOnEtagHeader.
-
getRemoveAcceptEncodingHeader
Deprecated.envoy.extensions.filters.http.compressor.v3.Compressor.remove_accept_encoding_header is deprecated. See envoy/extensions/filters/http/compressor/v3/compressor.proto;l=135When this field is ``true``, removes ``Accept-Encoding`` from the request headers before dispatching the request to the upstream so that responses do not get compressed before reaching the filter. .. attention:: To avoid interfering with other compression filters in the same chain, use this option in the filter closest to the upstream.bool remove_accept_encoding_header = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getRemoveAcceptEncodingHeaderin interfaceCompressorOrBuilder- Returns:
- The removeAcceptEncodingHeader.
-
hasRuntimeEnabled
Deprecated.envoy.extensions.filters.http.compressor.v3.Compressor.runtime_enabled is deprecated. See envoy/extensions/filters/http/compressor/v3/compressor.proto;l=141Runtime flag that controls whether the filter is enabled. When this field is ``false``, the filter will operate as a pass-through filter, unless overridden by ``CompressorPerRoute``. If this field is not specified, the filter is enabled by default.
.envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
hasRuntimeEnabledin interfaceCompressorOrBuilder- Returns:
- Whether the runtimeEnabled field is set.
-
getRuntimeEnabled
Deprecated.envoy.extensions.filters.http.compressor.v3.Compressor.runtime_enabled is deprecated. See envoy/extensions/filters/http/compressor/v3/compressor.proto;l=141Runtime flag that controls whether the filter is enabled. When this field is ``false``, the filter will operate as a pass-through filter, unless overridden by ``CompressorPerRoute``. If this field is not specified, the filter is enabled by default.
.envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getRuntimeEnabledin interfaceCompressorOrBuilder- Returns:
- The runtimeEnabled.
-
getRuntimeEnabledOrBuilder
Deprecated.Runtime flag that controls whether the filter is enabled. When this field is ``false``, the filter will operate as a pass-through filter, unless overridden by ``CompressorPerRoute``. If this field is not specified, the filter is enabled by default.
.envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getRuntimeEnabledOrBuilderin interfaceCompressorOrBuilder
-
hasCompressorLibrary
public boolean hasCompressorLibrary()A compressor library to use for compression. [#extension-category: envoy.compression.compressor]
.envoy.config.core.v3.TypedExtensionConfig compressor_library = 6 [(.validate.rules) = { ... }- Specified by:
hasCompressorLibraryin interfaceCompressorOrBuilder- Returns:
- Whether the compressorLibrary field is set.
-
getCompressorLibrary
A compressor library to use for compression. [#extension-category: envoy.compression.compressor]
.envoy.config.core.v3.TypedExtensionConfig compressor_library = 6 [(.validate.rules) = { ... }- Specified by:
getCompressorLibraryin interfaceCompressorOrBuilder- Returns:
- The compressorLibrary.
-
getCompressorLibraryOrBuilder
A compressor library to use for compression. [#extension-category: envoy.compression.compressor]
.envoy.config.core.v3.TypedExtensionConfig compressor_library = 6 [(.validate.rules) = { ... }- Specified by:
getCompressorLibraryOrBuilderin interfaceCompressorOrBuilder
-
hasRequestDirectionConfig
public boolean hasRequestDirectionConfig()Configuration for request compression. If this field is not specified, request compression is disabled.
.envoy.extensions.filters.http.compressor.v3.Compressor.RequestDirectionConfig request_direction_config = 7;- Specified by:
hasRequestDirectionConfigin interfaceCompressorOrBuilder- Returns:
- Whether the requestDirectionConfig field is set.
-
getRequestDirectionConfig
Configuration for request compression. If this field is not specified, request compression is disabled.
.envoy.extensions.filters.http.compressor.v3.Compressor.RequestDirectionConfig request_direction_config = 7;- Specified by:
getRequestDirectionConfigin interfaceCompressorOrBuilder- Returns:
- The requestDirectionConfig.
-
getRequestDirectionConfigOrBuilder
Configuration for request compression. If this field is not specified, request compression is disabled.
.envoy.extensions.filters.http.compressor.v3.Compressor.RequestDirectionConfig request_direction_config = 7;- Specified by:
getRequestDirectionConfigOrBuilderin interfaceCompressorOrBuilder
-
hasResponseDirectionConfig
public boolean hasResponseDirectionConfig()Configuration for response compression. If this field is not specified, response compression is enabled. .. attention:: When this field is set, 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. Additionally, all 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.v3.Compressor.ResponseDirectionConfig response_direction_config = 8;- Specified by:
hasResponseDirectionConfigin interfaceCompressorOrBuilder- Returns:
- Whether the responseDirectionConfig field is set.
-
getResponseDirectionConfig
Configuration for response compression. If this field is not specified, response compression is enabled. .. attention:: When this field is set, 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. Additionally, all 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.v3.Compressor.ResponseDirectionConfig response_direction_config = 8;- Specified by:
getResponseDirectionConfigin interfaceCompressorOrBuilder- Returns:
- The responseDirectionConfig.
-
getResponseDirectionConfigOrBuilder
Configuration for response compression. If this field is not specified, response compression is enabled. .. attention:: When this field is set, 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. Additionally, all 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.v3.Compressor.ResponseDirectionConfig response_direction_config = 8;- Specified by:
getResponseDirectionConfigOrBuilderin interfaceCompressorOrBuilder
-
getChooseFirst
public boolean getChooseFirst()When this field is ``true``, this compressor is preferred when q-values in ``Accept-Encoding`` are equal. If multiple compressor filters set ``choose_first`` to ``true``, the last one in the filter chain is chosen.
bool choose_first = 9;- Specified by:
getChooseFirstin interfaceCompressorOrBuilder- Returns:
- The chooseFirst.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- 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
- 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 Compressor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compressor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compressor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compressor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compressor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compressor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Compressor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Compressor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Compressor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Compressor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-