public static enum SessionResponse.PayloadCase extends Enum<SessionResponse.PayloadCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
ERROR |
GO_AWAY |
HEARTBEAT |
OPEN_SESSION |
PAYLOAD_NOT_SET |
SESSION_PARAMETERS |
SESSION_REFRESH_CONFIG |
VIRTUAL_RPC |
| Modifier and Type | Method and Description |
|---|---|
static SessionResponse.PayloadCase |
forNumber(int value) |
int |
getNumber() |
static SessionResponse.PayloadCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SessionResponse.PayloadCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionResponse.PayloadCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionResponse.PayloadCase OPEN_SESSION
public static final SessionResponse.PayloadCase VIRTUAL_RPC
public static final SessionResponse.PayloadCase ERROR
public static final SessionResponse.PayloadCase SESSION_PARAMETERS
public static final SessionResponse.PayloadCase HEARTBEAT
public static final SessionResponse.PayloadCase GO_AWAY
public static final SessionResponse.PayloadCase SESSION_REFRESH_CONFIG
public static final SessionResponse.PayloadCase PAYLOAD_NOT_SET
public static SessionResponse.PayloadCase[] values()
for (SessionResponse.PayloadCase c : SessionResponse.PayloadCase.values()) System.out.println(c);
public static SessionResponse.PayloadCase 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 null@Deprecated public static SessionResponse.PayloadCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static SessionResponse.PayloadCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2026 Google LLC. All rights reserved.