@Generated(value="Generated by the protocol buffer compiler") public enum DownloadState extends java.lang.Enum<DownloadState> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
CANCELLED
The download has been cancelled.
|
COMPLETE
The download is completely finished.
|
DOWNLOAD_STATE_UNSPECIFIED
Reserved value.
|
IN_PROGRESS
The download is actively progressing.
|
INTERRUPTED
The download has been interrupted.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CANCELLED_VALUE
The download has been cancelled.
|
static int |
COMPLETE_VALUE
The download is completely finished.
|
static int |
DOWNLOAD_STATE_UNSPECIFIED_VALUE
Reserved value.
|
static int |
IN_PROGRESS_VALUE
The download is actively progressing.
|
static int |
INTERRUPTED_VALUE
The download has been interrupted.
|
Modifier and Type | Method and Description |
---|---|
static DownloadState |
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<DownloadState> |
internalGetValueMap() |
static DownloadState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DownloadState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DownloadState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DownloadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadState DOWNLOAD_STATE_UNSPECIFIED
public static final DownloadState IN_PROGRESS
public static final DownloadState COMPLETE
public static final DownloadState CANCELLED
public static final DownloadState INTERRUPTED
public static final DownloadState UNRECOGNIZED
public static final int DOWNLOAD_STATE_UNSPECIFIED_VALUE
public static final int IN_PROGRESS_VALUE
public static final int COMPLETE_VALUE
public static final int CANCELLED_VALUE
public static final int INTERRUPTED_VALUE
public static DownloadState[] values()
for (DownloadState c : DownloadState.values()) System.out.println(c);
public static DownloadState 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 DownloadState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static DownloadState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DownloadState> 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 DownloadState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)