Enum TransferStatus

java.lang.Object
java.lang.Enum<TransferStatus>
com.google.cloud.storage.transfermanager.TransferStatus
All Implemented Interfaces:
Serializable, Comparable<TransferStatus>

@BetaApi public enum TransferStatus extends Enum<TransferStatus>
The status of a Upload/Download operation performed by Transfer Manager.
  • Enum Constant Details

    • FAILED_TO_START

      @BetaApi public static final TransferStatus FAILED_TO_START
      The transfer failed before bytes could be moved.
    • FAILED_TO_FINISH

      @BetaApi public static final TransferStatus FAILED_TO_FINISH
      The transfer failed after bytes could be moved.
    • SKIPPED

      @BetaApi public static final TransferStatus SKIPPED
      The transfer failed because the object/file already exists and skipIfExists was set to true.
      See Also:
    • SUCCESS

      @BetaApi public static final TransferStatus SUCCESS
      The transfer was successful.
  • Method Details

    • values

      public static TransferStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TransferStatus valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null