public static enum Persistent.ReadResp.ContentCase extends java.lang.Enum<Persistent.ReadResp.ContentCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
CONTENT_NOT_SET |
EVENT |
SUBSCRIPTION_CONFIRMATION |
| Modifier and Type | Method and Description |
|---|---|
static Persistent.ReadResp.ContentCase |
forNumber(int value) |
int |
getNumber() |
static Persistent.ReadResp.ContentCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Persistent.ReadResp.ContentCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Persistent.ReadResp.ContentCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Persistent.ReadResp.ContentCase EVENT
public static final Persistent.ReadResp.ContentCase SUBSCRIPTION_CONFIRMATION
public static final Persistent.ReadResp.ContentCase CONTENT_NOT_SET
public static Persistent.ReadResp.ContentCase[] values()
for (Persistent.ReadResp.ContentCase c : Persistent.ReadResp.ContentCase.values()) System.out.println(c);
public static Persistent.ReadResp.ContentCase valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Deprecated public static Persistent.ReadResp.ContentCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Persistent.ReadResp.ContentCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite