Package io.grpc.internal
Enum GzipInflatingBuffer.State
- java.lang.Object
-
- java.lang.Enum<GzipInflatingBuffer.State>
-
- io.grpc.internal.GzipInflatingBuffer.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GzipInflatingBuffer.State>
- Enclosing class:
- GzipInflatingBuffer
private static enum GzipInflatingBuffer.State extends java.lang.Enum<GzipInflatingBuffer.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HEADER
HEADER_COMMENT
HEADER_CRC
HEADER_EXTRA
HEADER_EXTRA_LEN
HEADER_NAME
INFLATER_NEEDS_INPUT
INFLATING
INITIALIZE_INFLATER
TRAILER
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GzipInflatingBuffer.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GzipInflatingBuffer.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEADER
public static final GzipInflatingBuffer.State HEADER
-
HEADER_EXTRA_LEN
public static final GzipInflatingBuffer.State HEADER_EXTRA_LEN
-
HEADER_EXTRA
public static final GzipInflatingBuffer.State HEADER_EXTRA
-
HEADER_NAME
public static final GzipInflatingBuffer.State HEADER_NAME
-
HEADER_COMMENT
public static final GzipInflatingBuffer.State HEADER_COMMENT
-
HEADER_CRC
public static final GzipInflatingBuffer.State HEADER_CRC
-
INITIALIZE_INFLATER
public static final GzipInflatingBuffer.State INITIALIZE_INFLATER
-
INFLATING
public static final GzipInflatingBuffer.State INFLATING
-
INFLATER_NEEDS_INPUT
public static final GzipInflatingBuffer.State INFLATER_NEEDS_INPUT
-
TRAILER
public static final GzipInflatingBuffer.State TRAILER
-
-
Method Detail
-
values
public static GzipInflatingBuffer.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GzipInflatingBuffer.State c : GzipInflatingBuffer.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GzipInflatingBuffer.State valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-