Class Decompressor.CommonDirectionConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.filters.http.decompressor.v3.Decompressor.CommonDirectionConfig
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Decompressor.CommonDirectionConfigOrBuilder, Serializable
Enclosing class:
Decompressor

public static final class Decompressor.CommonDirectionConfig extends com.google.protobuf.GeneratedMessageV3 implements Decompressor.CommonDirectionConfigOrBuilder
 Common configuration for filter behavior on both the request and response direction.
 
Protobuf type envoy.extensions.filters.http.decompressor.v3.Decompressor.CommonDirectionConfig
See Also:
  • Field Details

    • ENABLED_FIELD_NUMBER

      public static final int ENABLED_FIELD_NUMBER
      See Also:
    • IGNORE_NO_TRANSFORM_HEADER_FIELD_NUMBER

      public static final int IGNORE_NO_TRANSFORM_HEADER_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasEnabled

      public boolean hasEnabled()
       Runtime flag that controls whether the filter is enabled for decompression or not. If set to false, the
       filter will operate as a pass-through filter. If the message is unspecified, the filter will be enabled.
       
      .envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
      Specified by:
      hasEnabled in interface Decompressor.CommonDirectionConfigOrBuilder
      Returns:
      Whether the enabled field is set.
    • getEnabled

      public RuntimeFeatureFlag getEnabled()
       Runtime flag that controls whether the filter is enabled for decompression or not. If set to false, the
       filter will operate as a pass-through filter. If the message is unspecified, the filter will be enabled.
       
      .envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
      Specified by:
      getEnabled in interface Decompressor.CommonDirectionConfigOrBuilder
      Returns:
      The enabled.
    • getEnabledOrBuilder

      public RuntimeFeatureFlagOrBuilder getEnabledOrBuilder()
       Runtime flag that controls whether the filter is enabled for decompression or not. If set to false, the
       filter will operate as a pass-through filter. If the message is unspecified, the filter will be enabled.
       
      .envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
      Specified by:
      getEnabledOrBuilder in interface Decompressor.CommonDirectionConfigOrBuilder
    • getIgnoreNoTransformHeader

      public boolean getIgnoreNoTransformHeader()
       If set to true, will decompress response even if a ``no-transform`` cache control header is set.
       
      bool ignore_no_transform_header = 2;
      Specified by:
      getIgnoreNoTransformHeader in interface Decompressor.CommonDirectionConfigOrBuilder
      Returns:
      The ignoreNoTransformHeader.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Decompressor.CommonDirectionConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Decompressor.CommonDirectionConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Decompressor.CommonDirectionConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Decompressor.CommonDirectionConfig 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.CommonDirectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Decompressor.CommonDirectionConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Decompressor.CommonDirectionConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Decompressor.CommonDirectionConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Decompressor.CommonDirectionConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Decompressor.CommonDirectionConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Decompressor.CommonDirectionConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Decompressor.CommonDirectionConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Decompressor.CommonDirectionConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Decompressor.CommonDirectionConfig.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Decompressor.CommonDirectionConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Decompressor.CommonDirectionConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Decompressor.CommonDirectionConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<Decompressor.CommonDirectionConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Decompressor.CommonDirectionConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder