java.lang.Object
java.lang.Enum<Gzip.CompressionLevel>
io.envoyproxy.envoy.extensions.compression.gzip.compressor.v3.Gzip.CompressionLevel
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Gzip.CompressionLevel>, java.lang.constant.Constable
Enclosing class:
Gzip

public static enum Gzip.CompressionLevel extends Enum<Gzip.CompressionLevel> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum envoy.extensions.compression.gzip.compressor.v3.Gzip.CompressionLevel
  • Enum Constant Details

  • Field Details

    • COMPRESSION_LEVEL_1

      public static final Gzip.CompressionLevel COMPRESSION_LEVEL_1
      COMPRESSION_LEVEL_1 = 1;
    • BEST_COMPRESSION

      public static final Gzip.CompressionLevel BEST_COMPRESSION
      BEST_COMPRESSION = 9;
    • DEFAULT_COMPRESSION_VALUE

      public static final int DEFAULT_COMPRESSION_VALUE
      DEFAULT_COMPRESSION = 0;
      See Also:
    • BEST_SPEED_VALUE

      public static final int BEST_SPEED_VALUE
      BEST_SPEED = 1;
      See Also:
    • COMPRESSION_LEVEL_1_VALUE

      public static final int COMPRESSION_LEVEL_1_VALUE
      COMPRESSION_LEVEL_1 = 1;
      See Also:
    • COMPRESSION_LEVEL_2_VALUE

      public static final int COMPRESSION_LEVEL_2_VALUE
      COMPRESSION_LEVEL_2 = 2;
      See Also:
    • COMPRESSION_LEVEL_3_VALUE

      public static final int COMPRESSION_LEVEL_3_VALUE
      COMPRESSION_LEVEL_3 = 3;
      See Also:
    • COMPRESSION_LEVEL_4_VALUE

      public static final int COMPRESSION_LEVEL_4_VALUE
      COMPRESSION_LEVEL_4 = 4;
      See Also:
    • COMPRESSION_LEVEL_5_VALUE

      public static final int COMPRESSION_LEVEL_5_VALUE
      COMPRESSION_LEVEL_5 = 5;
      See Also:
    • COMPRESSION_LEVEL_6_VALUE

      public static final int COMPRESSION_LEVEL_6_VALUE
      COMPRESSION_LEVEL_6 = 6;
      See Also:
    • COMPRESSION_LEVEL_7_VALUE

      public static final int COMPRESSION_LEVEL_7_VALUE
      COMPRESSION_LEVEL_7 = 7;
      See Also:
    • COMPRESSION_LEVEL_8_VALUE

      public static final int COMPRESSION_LEVEL_8_VALUE
      COMPRESSION_LEVEL_8 = 8;
      See Also:
    • COMPRESSION_LEVEL_9_VALUE

      public static final int COMPRESSION_LEVEL_9_VALUE
      COMPRESSION_LEVEL_9 = 9;
      See Also:
    • BEST_COMPRESSION_VALUE

      public static final int BEST_COMPRESSION_VALUE
      BEST_COMPRESSION = 9;
      See Also:
  • Method Details

    • values

      public static Gzip.CompressionLevel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Gzip.CompressionLevel valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Gzip.CompressionLevel valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Gzip.CompressionLevel forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Gzip.CompressionLevel> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Gzip.CompressionLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null