Class BigQueryWriteStubSettings.Builder (2.14.0)

See more code actions.
public static class BigQueryWriteStubSettings.Builder extends StubSettings.Builder<BigQueryWriteStubSettings,BigQueryWriteStubSettings.Builder>

Builder for BigQueryWriteStubSettings.

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

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BigQueryWriteStubSettings settings)

protected Builder(BigQueryWriteStubSettings settings)
Parameter
NameDescription
settingsBigQueryWriteStubSettings

Methods

appendRowsSettings()

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

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

Returns

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,Void>
Returns

batchCommitWriteStreamsSettings()

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

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

Returns

build()

public BigQueryWriteStubSettings build()
Returns Overrides Exceptions
TypeDescription
IOException

createWriteStreamSettings()

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

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

Returns

finalizeWriteStreamSettings()

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

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

Returns

flushRowsSettings()

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

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

Returns

getWriteStreamSettings()

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

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

Returns

unaryMethodSettingsBuilders()

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