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