Class BaseBigQueryStorageSettings.Builder (3.9.3)

public static class BaseBigQueryStorageSettings.Builder extends ClientSettings.Builder<BaseBigQueryStorageSettings,BaseBigQueryStorageSettings.Builder>

Builder for BaseBigQueryStorageSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BaseBigQueryStorageSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BaseBigQueryStorageSettings settings)

protected Builder(BaseBigQueryStorageSettings settings)
Parameter
Name Description
settings BaseBigQueryStorageSettings

Builder(BigQueryStorageStubSettings.Builder stubSettings)

protected Builder(BigQueryStorageStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings BigQueryStorageStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public BaseBigQueryStorageSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,Void>
Returns
Type Description
BaseBigQueryStorageSettings.Builder

batchCreateReadSessionStreamsSettings()

public UnaryCallSettings.Builder<Storage.BatchCreateReadSessionStreamsRequest,Storage.BatchCreateReadSessionStreamsResponse> batchCreateReadSessionStreamsSettings()

Returns the builder for the settings used for calls to batchCreateReadSessionStreams.

Returns
Type Description
Builder<BatchCreateReadSessionStreamsRequest,BatchCreateReadSessionStreamsResponse>

build()

public BaseBigQueryStorageSettings build()
Returns
Type Description
BaseBigQueryStorageSettings
Overrides
Exceptions
Type Description
IOException

createReadSessionSettings()

public UnaryCallSettings.Builder<Storage.CreateReadSessionRequest,Storage.ReadSession> createReadSessionSettings()

Returns the builder for the settings used for calls to createReadSession.

Returns
Type Description
Builder<CreateReadSessionRequest,ReadSession>

finalizeStreamSettings()

public UnaryCallSettings.Builder<Storage.FinalizeStreamRequest,Empty> finalizeStreamSettings()

Returns the builder for the settings used for calls to finalizeStream.

Returns
Type Description
Builder<FinalizeStreamRequest,Empty>

getStubSettingsBuilder()

public BigQueryStorageStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
BigQueryStorageStubSettings.Builder

readRowsSettings()

public ServerStreamingCallSettings.Builder<Storage.ReadRowsRequest,Storage.ReadRowsResponse> readRowsSettings()

Returns the builder for the settings used for calls to readRows.

Returns
Type Description
Builder<ReadRowsRequest,ReadRowsResponse>

splitReadStreamSettings()

public UnaryCallSettings.Builder<Storage.SplitReadStreamRequest,Storage.SplitReadStreamResponse> splitReadStreamSettings()

Returns the builder for the settings used for calls to splitReadStream.

Returns
Type Description
Builder<SplitReadStreamRequest,SplitReadStreamResponse>