Package com.google.cloud.storage
Class BidiBlobWriteSessionConfig
java.lang.Object
com.google.cloud.storage.BlobWriteSessionConfig
com.google.cloud.storage.BidiBlobWriteSessionConfig
- All Implemented Interfaces:
Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
The number of bytes to hold in the buffer before each flushwithBufferSize
(int bufferSize) Create a new instance with thebufferSize
set to the specified value.
-
Method Details
-
getBufferSize
public int getBufferSize()The number of bytes to hold in the buffer before each flushDefault:
16777216 (16 MiB)
- Since:
- 2.34.0 This new api is in preview and is subject to breaking changes.
- See Also:
-
withBufferSize
Create a new instance with thebufferSize
set to the specified value.Default:
16777216 (16 MiB)
- Parameters:
bufferSize
- The number of bytes to hold in the buffer before each flush. Must be >=262144 (256 KiB)
- Returns:
- The new instance
- Since:
- 2.34.0 This new api is in preview and is subject to breaking changes.
- See Also:
-