Class DownloadResult
java.lang.Object
com.google.cloud.storage.transfermanager.DownloadResult
Result for a single download performed by Transfer Manager.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Builds an instance of DownloadResult -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NonNull Exception
The exception produced by a failed download operation.@NonNull BlobInfo
getInput()
TheBlobInfo
for the object requested for download.@NonNull Path
The destination on the Filesystem the object has been written to.@NonNull TransferStatus
The status of the download operation.int
hashCode()
static DownloadResult.Builder
newBuilder
(@NonNull BlobInfo blobInfo, @NonNull TransferStatus status) toString()
-
Method Details
-
getInput
TheBlobInfo
for the object requested for download. -
getOutputDestination
The destination on the Filesystem the object has been written to. This field will only be populated if the Transfer was aSUCCESS
. -
getStatus
The status of the download operation. -
getException
-
equals
-
hashCode
public int hashCode() -
toString
-
newBuilder
@BetaApi public static DownloadResult.Builder newBuilder(@NonNull BlobInfo blobInfo, @NonNull TransferStatus status)
-