@Generated(value="Generated by the protocol buffer compiler") public enum UrlRequestStatus extends java.lang.Enum<UrlRequestStatus> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
UNRECOGNIZED |
URL_REQUEST_STATUS_CANCELED
A request was cancelled programmatically.
|
URL_REQUEST_STATUS_FAILED
A request failed for some reason.
|
URL_REQUEST_STATUS_IO_PENDING
An IO request is pending.
|
URL_REQUEST_STATUS_SUCCESS
A request succeeded.
|
URL_REQUEST_STATUS_UNSPECIFIED
Reserved value.
|
Modifier and Type | Field and Description |
---|---|
static int |
URL_REQUEST_STATUS_CANCELED_VALUE
A request was cancelled programmatically.
|
static int |
URL_REQUEST_STATUS_FAILED_VALUE
A request failed for some reason.
|
static int |
URL_REQUEST_STATUS_IO_PENDING_VALUE
An IO request is pending.
|
static int |
URL_REQUEST_STATUS_SUCCESS_VALUE
A request succeeded.
|
static int |
URL_REQUEST_STATUS_UNSPECIFIED_VALUE
Reserved value.
|
Modifier and Type | Method and Description |
---|---|
static UrlRequestStatus |
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<UrlRequestStatus> |
internalGetValueMap() |
static UrlRequestStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UrlRequestStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UrlRequestStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UrlRequestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UrlRequestStatus URL_REQUEST_STATUS_UNSPECIFIED
public static final UrlRequestStatus URL_REQUEST_STATUS_SUCCESS
public static final UrlRequestStatus URL_REQUEST_STATUS_IO_PENDING
public static final UrlRequestStatus URL_REQUEST_STATUS_CANCELED
public static final UrlRequestStatus URL_REQUEST_STATUS_FAILED
public static final UrlRequestStatus UNRECOGNIZED
public static final int URL_REQUEST_STATUS_UNSPECIFIED_VALUE
public static final int URL_REQUEST_STATUS_SUCCESS_VALUE
public static final int URL_REQUEST_STATUS_IO_PENDING_VALUE
public static final int URL_REQUEST_STATUS_CANCELED_VALUE
public static final int URL_REQUEST_STATUS_FAILED_VALUE
public static UrlRequestStatus[] values()
for (UrlRequestStatus c : UrlRequestStatus.values()) System.out.println(c);
public static UrlRequestStatus 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static UrlRequestStatus valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static UrlRequestStatus forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UrlRequestStatus> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static UrlRequestStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)