public class BidiBlobWriteSessionConfig extends BlobWriteSessionConfig implements BlobWriteSessionConfig.GrpcCompatible
Implements
com.google.cloud.storage.BlobWriteSessionConfig.GrpcCompatibleMethods
getBufferSize()
public int getBufferSize()
The number of bytes to hold in the buffer before each flush
Default: 16777216 (16 MiB)
See Also: #withBufferSize(int)
Returns | |
---|---|
Type | Description |
int |
withBufferSize(int bufferSize)
public BidiBlobWriteSessionConfig withBufferSize(int bufferSize)
Create a new instance with the bufferSize
set to the specified value.
Default: 16777216 (16 MiB)
See Also: #getBufferSize()
Parameter | |
---|---|
Name | Description |
bufferSize |
int The number of bytes to hold in the buffer before each flush. Must be >=
|
Returns | |
---|---|
Type | Description |
BidiBlobWriteSessionConfig |
The new instance |