Interface ResumableUploadFuture<ResponseT>

Type Parameters:
ResponseT - the type of the final response message returned once the upload completes
All Superinterfaces:
ApiFuture<ResponseT>, Future<ResponseT>

@BetaApi @NullMarked public interface ResumableUploadFuture<ResponseT> extends ApiFuture<ResponseT>
A specialized ApiFuture for tracking and controlling an in-flight resumable upload.

The payload InputStream supplied when initiating the upload is managed by this future and will be closed automatically upon completion, failure, or cancellation.

  • Method Details

    • getUploadSessionUrl

      @Nullable String getUploadSessionUrl()
      Returns the upload session URL, or null if session initiation is in progress.