@BetaApi public enum TransferStatus extends Enum<TransferStatus>
Enum Constant and Description |
---|
FAILED_TO_FINISH
The transfer failed after bytes could be moved.
|
FAILED_TO_START
The transfer failed before bytes could be moved.
|
SKIPPED
The transfer failed because the object/file already exists and skipIfExists was set to true.
|
SUCCESS
The transfer was successful.
|
Modifier and Type | Method and Description |
---|---|
static TransferStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@BetaApi public static final TransferStatus FAILED_TO_START
@BetaApi public static final TransferStatus FAILED_TO_FINISH
@BetaApi public static final TransferStatus SKIPPED
@BetaApi public static final TransferStatus SUCCESS
public static TransferStatus[] values()
for (TransferStatus c : TransferStatus.values()) System.out.println(c);
public static TransferStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023 Google LLC. All rights reserved.