Class BaseBigQueryStorageSettings.Builder (3.3.1)

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
NameDescription
clientContextClientContext

Builder(BaseBigQueryStorageSettings settings)

protected Builder(BaseBigQueryStorageSettings settings)
Parameter
NameDescription
settingsBaseBigQueryStorageSettings

Builder(BigQueryStorageStubSettings.Builder stubSettings)

protected Builder(BigQueryStorageStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsBigQueryStorageStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,Void>
Returns
TypeDescription
BaseBigQueryStorageSettings.Builder

batchCreateReadSessionStreamsSettings()

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

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

Returns
TypeDescription
Builder<BatchCreateReadSessionStreamsRequest,BatchCreateReadSessionStreamsResponse>

build()

public BaseBigQueryStorageSettings build()
Returns
TypeDescription
BaseBigQueryStorageSettings
Overrides
Exceptions
TypeDescription
IOException

createReadSessionSettings()

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

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

Returns
TypeDescription
Builder<CreateReadSessionRequest,ReadSession>

finalizeStreamSettings()

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

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

Returns
TypeDescription
Builder<FinalizeStreamRequest,Empty>

getStubSettingsBuilder()

public BigQueryStorageStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
BigQueryStorageStubSettings.Builder

readRowsSettings()

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

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

Returns
TypeDescription
Builder<ReadRowsRequest,ReadRowsResponse>

splitReadStreamSettings()

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

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

Returns
TypeDescription
Builder<SplitReadStreamRequest,SplitReadStreamResponse>