Class TransferManagerConfig (2.42.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

getParallelCompositeUploadPartNamingStrategy()

public ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy getParallelCompositeUploadPartNamingStrategy()

Part Naming Strategy to be used during Parallel Composite Uploads See Also: Builder#setParallelCompositeUploadPartNamingStrategy(PartNamingStrategy)

Returns
Type Description
ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy

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

isAllowDivideAndConquerDownload()

public boolean isAllowDivideAndConquerDownload()

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

Returns
Type Description
boolean

isAllowParallelCompositeUpload()

public boolean isAllowParallelCompositeUpload()

Whether to allow Transfer Manager to perform Parallel Composite Uploads if it determines chunking will be beneficial See Also: <xref uid="Builder#setAllowParallelCompositeUpload(boolean)

Note: Performing parallel composite uploads costs more money. Class A operations are performed to create each part and to perform each compose. If a storage tier other than STANDARD is used, early deletion fees apply to deletion of the parts.

Please see the Parallel composite uploads documentation for a more in depth explanation of the limitations of Parallel composite uploads." data-throw-if-not-resolved="false">Builder#setAllowParallelCompositeUpload(boolean)

Note: Performing parallel composite uploads costs more money. Class A operations are performed to create each part and to perform each compose. If a storage tier other than STANDARD is used, early deletion fees apply to deletion of the parts.

Please see the Parallel composite uploads documentation for a more in depth explanation of the limitations of Parallel composite uploads.

Returns
Type Description
boolean

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides