Class BigQueryWriteSettings.Builder (3.4.0)

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

Builder for BigQueryWriteSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BigQueryWriteSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BigQueryWriteSettings settings)

protected Builder(BigQueryWriteSettings settings)
Parameter
NameDescription
settingsBigQueryWriteSettings

Builder(BigQueryWriteStubSettings.Builder stubSettings)

protected Builder(BigQueryWriteStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsBigQueryWriteStubSettings.Builder

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
TypeDescription
Builder<AppendRowsRequest,AppendRowsResponse>

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

public BigQueryWriteSettings.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
BigQueryWriteSettings.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
TypeDescription
Builder<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse>

build()

public BigQueryWriteSettings build()
Returns
TypeDescription
BigQueryWriteSettings
Overrides
Exceptions
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<FlushRowsRequest,FlushRowsResponse>

getStubSettingsBuilder()

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

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
TypeDescription
Builder<GetWriteStreamRequest,WriteStream>