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