@BetaApi public final class DownloadResult extends Object
DownloadResult.Builder
Modifier and Type | Class and Description |
---|---|
static class |
DownloadResult.Builder
Builds an instance of DownloadResult
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@NonNull Exception |
getException()
The exception produced by a failed download operation.
|
@NonNull BlobInfo |
getInput()
The
BlobInfo for the object requested for download. |
@NonNull Path |
getOutputDestination()
The destination on the Filesystem the object has been written to.
|
@NonNull TransferStatus |
getStatus()
The status of the download operation.
|
int |
hashCode() |
static DownloadResult.Builder |
newBuilder(@NonNull BlobInfo blobInfo,
@NonNull TransferStatus status) |
String |
toString() |
@BetaApi public @NonNull BlobInfo getInput()
BlobInfo
for the object requested for download.@BetaApi public @NonNull Path getOutputDestination()
SUCCESS
.@BetaApi public @NonNull TransferStatus getStatus()
@BetaApi public @NonNull Exception getException()
@BetaApi public static DownloadResult.Builder newBuilder(@NonNull BlobInfo blobInfo, @NonNull TransferStatus status)
Copyright © 2023 Google LLC. All rights reserved.