Class TransferManagerConfig (2.34.0)

public final class TransferManagerConfig

Configuration for an instance of TransferManager See Also: Builder

Inheritance

Object > TransferManagerConfig

Static Methods

newBuilder()

public static TransferManagerConfig.Builder newBuilder()
Returns
Type Description
TransferManagerConfig.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getMaxWorkers()

public int getMaxWorkers()

Maximum amount of workers to be allocated to perform work in Transfer Manager See Also: Builder#setMaxWorkers(int)

Returns
Type Description
int

getPerWorkerBufferSize()

public int getPerWorkerBufferSize()

Buffer size allowed to each worker See Also: Builder#setPerWorkerBufferSize(int)

Returns
Type Description
int

getService()

public TransferManager getService()

The service object for TransferManager

Returns
Type Description
TransferManager

getStorageOptions()

public StorageOptions getStorageOptions()

Storage options that Transfer Manager will use to interact with Google Cloud Storage See Also: Builder#setStorageOptions(StorageOptions)

Returns
Type Description
StorageOptions

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

isAllowDivideAndConquer()

public boolean isAllowDivideAndConquer()

Whether to allow Transfer Manager to perform chunked Uploads/Downloads if it determines chunking will be beneficial See Also: Builder#setAllowDivideAndConquer(boolean)

Returns
Type Description
boolean

toBuilder()

public TransferManagerConfig.Builder toBuilder()
Returns
Type Description
TransferManagerConfig.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides