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 classBuilds an instance of DownloadResult -
Method Summary
Modifier and TypeMethodDescriptionboolean@NonNull ExceptionThe exception produced by a failed download operation.@NonNull BlobInfogetInput()TheBlobInfofor the object requested for download.@NonNull PathThe destination on the Filesystem the object has been written to.@NonNull TransferStatusThe status of the download operation.inthashCode()static DownloadResult.BuildernewBuilder(@NonNull BlobInfo blobInfo, @NonNull TransferStatus status) toString()
-
Method Details
-
getInput
TheBlobInfofor 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)
-