Class BigQueryStorageStubSettings.Builder (3.9.2)

public static class BigQueryStorageStubSettings.Builder extends StubSettings.Builder<BigQueryStorageStubSettings,BigQueryStorageStubSettings.Builder>

Builder for BigQueryStorageStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BigQueryStorageStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BigQueryStorageStubSettings settings)

protected Builder(BigQueryStorageStubSettings settings)
Parameter
Name Description
settings BigQueryStorageStubSettings

Methods

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

public BigQueryStorageStubSettings.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
BigQueryStorageStubSettings.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 BigQueryStorageStubSettings build()
Returns
Type Description
BigQueryStorageStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>