@BetaApi public final class UploadResult extends Object
UploadResult.Builder
Modifier and Type | Class and Description |
---|---|
static class |
UploadResult.Builder
Builds an instance of UploadResult
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@NonNull Exception |
getException()
The exception produced by a failed upload operation.
|
@NonNull BlobInfo |
getInput()
The
BlobInfo for the object requested for upload. |
@NonNull TransferStatus |
getStatus()
The status of the upload operation.
|
@NonNull BlobInfo |
getUploadedBlob()
The
BlobInfo for the Uploaded object. |
int |
hashCode() |
static UploadResult.Builder |
newBuilder(@NonNull BlobInfo input,
@NonNull TransferStatus status) |
String |
toString() |
@BetaApi public @NonNull BlobInfo getInput()
BlobInfo
for the object requested for upload.UploadResult.Builder.setInput(BlobInfo)
@BetaApi public @NonNull TransferStatus getStatus()
@BetaApi public @NonNull BlobInfo getUploadedBlob()
@BetaApi public @NonNull Exception getException()
@BetaApi public static UploadResult.Builder newBuilder(@NonNull BlobInfo input, @NonNull TransferStatus status)
Copyright © 2023 Google LLC. All rights reserved.