Class DownloadJob (2.39.0)

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
Type Description
DownloadJob.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
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
Type Description
@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
Type Description
@org.checkerframework.checker.nullness.qual.NonNull com.google.cloud.storage.transfermanager.ParallelDownloadConfig

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides