Class TransferManagerConfig (2.27.1-SNAPSHOT)

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
TypeDescription
TransferManagerConfig.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
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
TypeDescription
int

getPerWorkerBufferSize()

public int getPerWorkerBufferSize()

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

Returns
TypeDescription
int

getService()

public TransferManager getService()

The service object for TransferManager

Returns
TypeDescription
TransferManager

getStorageOptions()

public StorageOptions getStorageOptions()

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

Returns
TypeDescription
StorageOptions

hashCode()

public int hashCode()
Returns
TypeDescription
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
TypeDescription
boolean

toBuilder()

public TransferManagerConfig.Builder toBuilder()
Returns
TypeDescription
TransferManagerConfig.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides