Class BigQueryReadSettings.Builder (3.2.0)

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

Builder for BigQueryReadSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BigQueryReadSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BigQueryReadSettings settings)

protected Builder(BigQueryReadSettings settings)
Parameter
NameDescription
settingsBigQueryReadSettings

Builder(EnhancedBigQueryReadStubSettings.Builder stubSettings)

protected Builder(EnhancedBigQueryReadStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsEnhancedBigQueryReadStubSettings.Builder

Methods

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

public BigQueryReadSettings.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
BigQueryReadSettings.Builder
Exceptions
TypeDescription
Exception

build()

public BigQueryReadSettings build()
Returns
TypeDescription
BigQueryReadSettings
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 EnhancedBigQueryReadStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
EnhancedBigQueryReadStubSettings.Builder

readRowsSettings()

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

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

Returns
TypeDescription
Builder<ReadRowsRequest,ReadRowsResponse>

setReadRowsRetryAttemptListener(BigQueryReadSettings.RetryAttemptListener readRowsRetryAttemptListener)

public BigQueryReadSettings.Builder setReadRowsRetryAttemptListener(BigQueryReadSettings.RetryAttemptListener readRowsRetryAttemptListener)
Parameter
NameDescription
readRowsRetryAttemptListenerBigQueryReadSettings.RetryAttemptListener
Returns
TypeDescription
BigQueryReadSettings.Builder

splitReadStreamSettings()

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

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

Returns
TypeDescription
Builder<SplitReadStreamRequest,SplitReadStreamResponse>