public enum DownloadInterruptReason extends java.lang.Enum<DownloadInterruptReason>
Protobuf enum teamdev.browsercore.download.DownloadInterruptReason
Enum Constant and Description |
---|
CRASH
The browser crashed.
|
DOWNLOAD_INTERRUPT_REASON_UNSPECIFIED
Reserved value.
|
FILE_ACCESS_DENIED
The file cannot be accessed due to security restrictions.
|
FILE_BLOCKED
The file was blocked due to local policy.
|
FILE_FAILED
Generic file operation failure.
|
FILE_HASH_MISMATCH
The partial file didn't match the expected hash.
|
FILE_NAME_TOO_LONG
The directory or file name is too long.
|
FILE_NO_SPACE
There is not enough room on the drive.
|
FILE_SAME_AS_SOURCE
The source and the target of the download were the same.
|
FILE_SECURITY_CHECK_FAILED
An attempt to check the safety of the download failed due to unexpected reasons.
|
FILE_TOO_LARGE
The file is too large for the file system to handle.
|
FILE_TOO_SHORT
An attempt was made to seek past the end of a file in opening
a file (as part of resuming a previously interrupted download).
|
FILE_TRANSIENT_ERROR
The file was in use.
|
FILE_VIRUS_INFECTED
The file contains a virus.
|
NETWORK_DISCONNECTED
The network connection has been lost.
|
NETWORK_FAILED
Generic network failure.
|
NETWORK_INVALID_REQUEST
The network request was invalid.
|
NETWORK_SERVER_DOWN
The server has gone down.
|
NETWORK_TIMEOUT
The network operation timed out.
|
SERVER_BAD_CONTENT
The server does not have the requested data.
|
SERVER_CERT_PROBLEM
Server certificate problem.
|
SERVER_CONTENT_LENGTH_MISMATCH
The server sent fewer bytes than the content-length header.
|
SERVER_FAILED
The server indicates that the operation has failed (generic).
|
SERVER_FORBIDDEN
Server access forbidden.
|
SERVER_NO_RANGE
The server does not support range requests.
|
SERVER_UNAUTHORIZED
Server didn't authorize access to resource.
|
SERVER_UNREACHABLE
Unexpected server response.
|
UNKNOWN
The reason is unknown.
|
UNRECOGNIZED |
USER_CANCELED
The user canceled the download.
|
USER_SHUTDOWN
The user shut down the browser.
|
Modifier and Type | Field and Description |
---|---|
static int |
CRASH_VALUE
The browser crashed.
|
static int |
DOWNLOAD_INTERRUPT_REASON_UNSPECIFIED_VALUE
Reserved value.
|
static int |
FILE_ACCESS_DENIED_VALUE
The file cannot be accessed due to security restrictions.
|
static int |
FILE_BLOCKED_VALUE
The file was blocked due to local policy.
|
static int |
FILE_FAILED_VALUE
Generic file operation failure.
|
static int |
FILE_HASH_MISMATCH_VALUE
The partial file didn't match the expected hash.
|
static int |
FILE_NAME_TOO_LONG_VALUE
The directory or file name is too long.
|
static int |
FILE_NO_SPACE_VALUE
There is not enough room on the drive.
|
static int |
FILE_SAME_AS_SOURCE_VALUE
The source and the target of the download were the same.
|
static int |
FILE_SECURITY_CHECK_FAILED_VALUE
An attempt to check the safety of the download failed due to unexpected reasons.
|
static int |
FILE_TOO_LARGE_VALUE
The file is too large for the file system to handle.
|
static int |
FILE_TOO_SHORT_VALUE
An attempt was made to seek past the end of a file in opening
a file (as part of resuming a previously interrupted download).
|
static int |
FILE_TRANSIENT_ERROR_VALUE
The file was in use.
|
static int |
FILE_VIRUS_INFECTED_VALUE
The file contains a virus.
|
static int |
NETWORK_DISCONNECTED_VALUE
The network connection has been lost.
|
static int |
NETWORK_FAILED_VALUE
Generic network failure.
|
static int |
NETWORK_INVALID_REQUEST_VALUE
The network request was invalid.
|
static int |
NETWORK_SERVER_DOWN_VALUE
The server has gone down.
|
static int |
NETWORK_TIMEOUT_VALUE
The network operation timed out.
|
static int |
SERVER_BAD_CONTENT_VALUE
The server does not have the requested data.
|
static int |
SERVER_CERT_PROBLEM_VALUE
Server certificate problem.
|
static int |
SERVER_CONTENT_LENGTH_MISMATCH_VALUE
The server sent fewer bytes than the content-length header.
|
static int |
SERVER_FAILED_VALUE
The server indicates that the operation has failed (generic).
|
static int |
SERVER_FORBIDDEN_VALUE
Server access forbidden.
|
static int |
SERVER_NO_RANGE_VALUE
The server does not support range requests.
|
static int |
SERVER_UNAUTHORIZED_VALUE
Server didn't authorize access to resource.
|
static int |
SERVER_UNREACHABLE_VALUE
Unexpected server response.
|
static int |
UNKNOWN_VALUE
The reason is unknown.
|
static int |
USER_CANCELED_VALUE
The user canceled the download.
|
static int |
USER_SHUTDOWN_VALUE
The user shut down the browser.
|
Modifier and Type | Method and Description |
---|---|
static DownloadInterruptReason |
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 <any> |
internalGetValueMap() |
static DownloadInterruptReason |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DownloadInterruptReason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DownloadInterruptReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DownloadInterruptReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadInterruptReason DOWNLOAD_INTERRUPT_REASON_UNSPECIFIED
public static final DownloadInterruptReason UNKNOWN
public static final DownloadInterruptReason FILE_FAILED
public static final DownloadInterruptReason FILE_ACCESS_DENIED
public static final DownloadInterruptReason FILE_NO_SPACE
public static final DownloadInterruptReason FILE_NAME_TOO_LONG
public static final DownloadInterruptReason FILE_TOO_LARGE
public static final DownloadInterruptReason FILE_VIRUS_INFECTED
public static final DownloadInterruptReason FILE_TRANSIENT_ERROR
public static final DownloadInterruptReason FILE_BLOCKED
public static final DownloadInterruptReason FILE_SECURITY_CHECK_FAILED
public static final DownloadInterruptReason FILE_TOO_SHORT
public static final DownloadInterruptReason FILE_HASH_MISMATCH
public static final DownloadInterruptReason FILE_SAME_AS_SOURCE
public static final DownloadInterruptReason NETWORK_FAILED
public static final DownloadInterruptReason NETWORK_TIMEOUT
public static final DownloadInterruptReason NETWORK_DISCONNECTED
public static final DownloadInterruptReason NETWORK_SERVER_DOWN
public static final DownloadInterruptReason NETWORK_INVALID_REQUEST
public static final DownloadInterruptReason SERVER_FAILED
public static final DownloadInterruptReason SERVER_NO_RANGE
public static final DownloadInterruptReason SERVER_BAD_CONTENT
public static final DownloadInterruptReason SERVER_UNAUTHORIZED
public static final DownloadInterruptReason SERVER_CERT_PROBLEM
public static final DownloadInterruptReason SERVER_FORBIDDEN
public static final DownloadInterruptReason SERVER_UNREACHABLE
public static final DownloadInterruptReason SERVER_CONTENT_LENGTH_MISMATCH
public static final DownloadInterruptReason USER_CANCELED
public static final DownloadInterruptReason USER_SHUTDOWN
public static final DownloadInterruptReason CRASH
public static final DownloadInterruptReason UNRECOGNIZED
public static final int DOWNLOAD_INTERRUPT_REASON_UNSPECIFIED_VALUE
public static final int UNKNOWN_VALUE
public static final int FILE_FAILED_VALUE
public static final int FILE_ACCESS_DENIED_VALUE
public static final int FILE_NO_SPACE_VALUE
public static final int FILE_NAME_TOO_LONG_VALUE
public static final int FILE_TOO_LARGE_VALUE
public static final int FILE_VIRUS_INFECTED_VALUE
public static final int FILE_TRANSIENT_ERROR_VALUE
public static final int FILE_BLOCKED_VALUE
public static final int FILE_SECURITY_CHECK_FAILED_VALUE
public static final int FILE_TOO_SHORT_VALUE
public static final int FILE_HASH_MISMATCH_VALUE
public static final int FILE_SAME_AS_SOURCE_VALUE
public static final int NETWORK_FAILED_VALUE
public static final int NETWORK_TIMEOUT_VALUE
public static final int NETWORK_DISCONNECTED_VALUE
public static final int NETWORK_SERVER_DOWN_VALUE
public static final int NETWORK_INVALID_REQUEST_VALUE
public static final int SERVER_FAILED_VALUE
public static final int SERVER_NO_RANGE_VALUE
public static final int SERVER_BAD_CONTENT_VALUE
public static final int SERVER_UNAUTHORIZED_VALUE
public static final int SERVER_CERT_PROBLEM_VALUE
public static final int SERVER_FORBIDDEN_VALUE
public static final int SERVER_UNREACHABLE_VALUE
public static final int SERVER_CONTENT_LENGTH_MISMATCH_VALUE
public static final int USER_CANCELED_VALUE
public static final int USER_SHUTDOWN_VALUE
public static final int CRASH_VALUE
public static DownloadInterruptReason[] values()
for (DownloadInterruptReason c : DownloadInterruptReason.values()) System.out.println(c);
public static DownloadInterruptReason 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()
@Deprecated public static DownloadInterruptReason valueOf(int value)
forNumber(int)
instead.public static DownloadInterruptReason forNumber(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DownloadInterruptReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)