public static enum CloudEvent.DataCase extends Enum<CloudEvent.DataCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
BINARY_DATA |
DATA_NOT_SET |
PROTO_DATA |
TEXT_DATA |
| Modifier and Type | Method and Description |
|---|---|
static CloudEvent.DataCase |
forNumber(int value) |
int |
getNumber() |
static CloudEvent.DataCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CloudEvent.DataCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloudEvent.DataCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloudEvent.DataCase BINARY_DATA
public static final CloudEvent.DataCase TEXT_DATA
public static final CloudEvent.DataCase PROTO_DATA
public static final CloudEvent.DataCase DATA_NOT_SET
public static CloudEvent.DataCase[] values()
for (CloudEvent.DataCase c : CloudEvent.DataCase.values()) System.out.println(c);
public static CloudEvent.DataCase 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 CloudEvent.DataCase valueOf(int value)
forNumber(int) instead.public static CloudEvent.DataCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2022 Pivotal Software, Inc.. All rights reserved.