Class BigQueryWriteStubSettings.Builder (3.9.1)

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

Builder for BigQueryWriteStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BigQueryWriteStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BigQueryWriteStubSettings settings)

protected Builder(BigQueryWriteStubSettings settings)
Parameter
Name Description
settings BigQueryWriteStubSettings

Methods

appendRowsSettings() (deprecated)

public StreamingCallSettings.Builder<AppendRowsRequest,AppendRowsResponse> appendRowsSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
Builder<AppendRowsRequest,AppendRowsResponse>

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

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

batchCommitWriteStreamsSettings() (deprecated)

public UnaryCallSettings.Builder<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse> batchCommitWriteStreamsSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
Builder<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse>

build()

public BigQueryWriteStubSettings build()
Returns
Type Description
BigQueryWriteStubSettings
Overrides
Exceptions
Type Description
IOException

createWriteStreamSettings() (deprecated)

public UnaryCallSettings.Builder<CreateWriteStreamRequest,WriteStream> createWriteStreamSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
Builder<CreateWriteStreamRequest,WriteStream>

finalizeWriteStreamSettings() (deprecated)

public UnaryCallSettings.Builder<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse> finalizeWriteStreamSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
Builder<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse>

flushRowsSettings() (deprecated)

public UnaryCallSettings.Builder<FlushRowsRequest,FlushRowsResponse> flushRowsSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
Builder<FlushRowsRequest,FlushRowsResponse>

getWriteStreamSettings() (deprecated)

public UnaryCallSettings.Builder<GetWriteStreamRequest,WriteStream> getWriteStreamSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
Builder<GetWriteStreamRequest,WriteStream>

unaryMethodSettingsBuilders()

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