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