Class DownloadJob (2.36.1)

public final class DownloadJob

A parallel download job sent to Transfer Manager. See Also: Builder

Inheritance

Object > DownloadJob

Static Methods

newBuilder()

public static DownloadJob.Builder newBuilder()
Returns
TypeDescription
DownloadJob.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getDownloadResults()

public @NonNull List<DownloadResult> getDownloadResults()

The list of DownloadResults for each download request Transfer Manager executed for this job. Note calling this method will block the invoking thread until all download requests are complete. See Also: Builder#setDownloadResults(List)

Returns
TypeDescription
@org.checkerframework.checker.nullness.qual.NonNull java.util.List<DownloadResult>

getParallelDownloadConfig()

public @NonNull ParallelDownloadConfig getParallelDownloadConfig()

The ParallelDownloadConfig used for this DownloadJob. See Also: Builder#setParallelDownloadConfig(ParallelDownloadConfig)

Returns
TypeDescription
@org.checkerframework.checker.nullness.qual.NonNull com.google.cloud.storage.transfermanager.ParallelDownloadConfig

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides