Class EnhancedBigQueryStorageStubSettings.Builder (2.12.2)

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

Inheritance

java.lang.Object > StubSettings.Builder > EnhancedBigQueryStorageStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(EnhancedBigQueryStorageStubSettings settings)

protected Builder(EnhancedBigQueryStorageStubSettings settings)
Parameter
NameDescription
settingsEnhancedBigQueryStorageStubSettings

Methods

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

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

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 EnhancedBigQueryStorageStubSettings build()
Returns
TypeDescription
EnhancedBigQueryStorageStubSettings
Overrides

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>

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>

unaryMethodSettingsBuilders()

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