Interface ResumableUploadFuture<ResponseT> (2.87.0)

public interface ResumableUploadFuture<ResponseT> extends ApiFuture<ResponseT>

A specialized ApiFuture for tracking and controlling an in-flight resumable upload.

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

Implements

com.google.api.core.ApiFuture<ResponseT>

Type Parameter

Name Description
ResponseT

Methods

getUploadSessionUrl()

public abstract @Nullable String getUploadSessionUrl()

Returns the upload session URL, or null if session initiation is in progress.

Returns
Type Description
@org.jspecify.annotations.Nullable java.lang.String