Class BidiBlobWriteSessionConfig

java.lang.Object
com.google.cloud.storage.BlobWriteSessionConfig
com.google.cloud.storage.BidiBlobWriteSessionConfig
All Implemented Interfaces:
Serializable

public class BidiBlobWriteSessionConfig extends BlobWriteSessionConfig
See Also:
  • Method Details

    • getBufferSize

      public int getBufferSize()
      The number of bytes to hold in the buffer before each flush

      Default: 16777216 (16 MiB)

      Since:
      2.34.0 This new api is in preview and is subject to breaking changes.
      See Also:
    • withBufferSize

      @BetaApi public BidiBlobWriteSessionConfig withBufferSize(int bufferSize)
      Create a new instance with the bufferSize 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: