public static enum Response.Proposal.State extends java.lang.Enum<Response.Proposal.State> implements com.google.protobuf.ProtocolMessageEnum
protocol.Proposal.State| Enum Constant and Description |
|---|
APPROVED
APPROVED = 2; |
CANCELED
CANCELED = 3; |
DISAPPROVED
DISAPPROVED = 1; |
PENDING
PENDING = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
APPROVED_VALUE
APPROVED = 2; |
static int |
CANCELED_VALUE
CANCELED = 3; |
static int |
DISAPPROVED_VALUE
DISAPPROVED = 1; |
static int |
PENDING_VALUE
PENDING = 0; |
| Modifier and Type | Method and Description |
|---|---|
static Response.Proposal.State |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Response.Proposal.State> |
internalGetValueMap() |
static Response.Proposal.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Response.Proposal.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Response.Proposal.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Response.Proposal.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Response.Proposal.State PENDING
PENDING = 0;public static final Response.Proposal.State DISAPPROVED
DISAPPROVED = 1;public static final Response.Proposal.State APPROVED
APPROVED = 2;public static final Response.Proposal.State CANCELED
CANCELED = 3;public static final Response.Proposal.State UNRECOGNIZED
public static final int PENDING_VALUE
PENDING = 0;public static final int DISAPPROVED_VALUE
DISAPPROVED = 1;public static final int APPROVED_VALUE
APPROVED = 2;public static final int CANCELED_VALUE
CANCELED = 3;public static Response.Proposal.State[] values()
for (Response.Proposal.State c : Response.Proposal.State.values()) System.out.println(c);
public static Response.Proposal.State 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Response.Proposal.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Response.Proposal.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Response.Proposal.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Response.Proposal.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)