Package io.grpc.alts.internal
Enum AltsTsiFrameProtector.DeframerState
- java.lang.Object
-
- java.lang.Enum<AltsTsiFrameProtector.DeframerState>
-
- io.grpc.alts.internal.AltsTsiFrameProtector.DeframerState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AltsTsiFrameProtector.DeframerState>
- Enclosing class:
- AltsTsiFrameProtector
private static enum AltsTsiFrameProtector.DeframerState extends java.lang.Enum<AltsTsiFrameProtector.DeframerState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description READ_HEADER
READ_PROTECTED_PAYLOAD
-
Constructor Summary
Constructors Modifier Constructor Description private
DeframerState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AltsTsiFrameProtector.DeframerState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AltsTsiFrameProtector.DeframerState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ_HEADER
public static final AltsTsiFrameProtector.DeframerState READ_HEADER
-
READ_PROTECTED_PAYLOAD
public static final AltsTsiFrameProtector.DeframerState READ_PROTECTED_PAYLOAD
-
-
Method Detail
-
values
public static AltsTsiFrameProtector.DeframerState[] 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 (AltsTsiFrameProtector.DeframerState c : AltsTsiFrameProtector.DeframerState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AltsTsiFrameProtector.DeframerState 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
-
-