Class BaseBigQueryReadSettings.Builder (2.47.0)

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

Builder for BaseBigQueryReadSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BaseBigQueryReadSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BaseBigQueryReadSettings settings)

protected Builder(BaseBigQueryReadSettings settings)
Parameter
NameDescription
settingsBaseBigQueryReadSettings

Builder(BigQueryReadStubSettings.Builder stubSettings)

protected Builder(BigQueryReadStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsBigQueryReadStubSettings.Builder

Methods

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

public BaseBigQueryReadSettings.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
BaseBigQueryReadSettings.Builder

build()

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

createReadSessionSettings()

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

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

Returns
TypeDescription
Builder<CreateReadSessionRequest,ReadSession>

getStubSettingsBuilder()

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

readRowsSettings()

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

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

Returns
TypeDescription
Builder<ReadRowsRequest,ReadRowsResponse>

splitReadStreamSettings()

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

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

Returns
TypeDescription
Builder<SplitReadStreamRequest,SplitReadStreamResponse>