public static enum Response.ProtoType extends Enum<Response.ProtoType>
| Enum Constant and Description |
|---|
RESPONSE_DATA |
RESPONSE_END_OF_STREAM |
RESPONSE_EXCEPTION |
RESPONSE_EXTREMES |
RESPONSE_HELLO |
RESPONSE_PONG |
RESPONSE_PROFILE_INFO |
RESPONSE_PROGRESS |
RESPONSE_TABLES_STATUS_RESPONSE |
RESPONSE_TOTALS |
| Modifier and Type | Method and Description |
|---|---|
long |
id() |
static Response.ProtoType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Response.ProtoType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Response.ProtoType RESPONSE_HELLO
public static final Response.ProtoType RESPONSE_DATA
public static final Response.ProtoType RESPONSE_EXCEPTION
public static final Response.ProtoType RESPONSE_PROGRESS
public static final Response.ProtoType RESPONSE_PONG
public static final Response.ProtoType RESPONSE_END_OF_STREAM
public static final Response.ProtoType RESPONSE_PROFILE_INFO
public static final Response.ProtoType RESPONSE_TOTALS
public static final Response.ProtoType RESPONSE_EXTREMES
public static final Response.ProtoType RESPONSE_TABLES_STATUS_RESPONSE
public static Response.ProtoType[] values()
for (Response.ProtoType c : Response.ProtoType.values()) System.out.println(c);
public static Response.ProtoType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic long id()
Copyright © 2021. All rights reserved.