public static class BigQueryWriteSettings.Builder extends ClientSettings.Builder<BigQueryWriteSettings,BigQueryWriteSettings.Builder>
Builder for BigQueryWriteSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(BigQueryWriteSettings settings)
protected Builder(BigQueryWriteSettings settings)
Name | Description |
settings | BigQueryWriteSettings |
Builder(BigQueryWriteStubSettings.Builder stubSettings)
protected Builder(BigQueryWriteStubSettings.Builder stubSettings)
Name | Description |
stubSettings | BigQueryWriteStubSettings.Builder |
Methods
appendRowsSettings()
public StreamingCallSettings.Builder<AppendRowsRequest,AppendRowsResponse> appendRowsSettings()
Returns the builder for the settings used for calls to appendRows.
Type | Description |
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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,Void> |
Type | Description |
BigQueryWriteSettings.Builder |
batchCommitWriteStreamsSettings()
public UnaryCallSettings.Builder<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse> batchCommitWriteStreamsSettings()
Returns the builder for the settings used for calls to batchCommitWriteStreams.
Type | Description |
Builder<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse> |
build()
public BigQueryWriteSettings build()
Type | Description |
BigQueryWriteSettings |
Type | Description |
IOException |
createWriteStreamSettings()
public UnaryCallSettings.Builder<CreateWriteStreamRequest,WriteStream> createWriteStreamSettings()
Returns the builder for the settings used for calls to createWriteStream.
Type | Description |
Builder<CreateWriteStreamRequest,WriteStream> |
finalizeWriteStreamSettings()
public UnaryCallSettings.Builder<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse> finalizeWriteStreamSettings()
Returns the builder for the settings used for calls to finalizeWriteStream.
Type | Description |
Builder<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse> |
flushRowsSettings()
public UnaryCallSettings.Builder<FlushRowsRequest,FlushRowsResponse> flushRowsSettings()
Returns the builder for the settings used for calls to flushRows.
Type | Description |
Builder<FlushRowsRequest,FlushRowsResponse> |
getStubSettingsBuilder()
public BigQueryWriteStubSettings.Builder getStubSettingsBuilder()
Type | Description |
BigQueryWriteStubSettings.Builder |
getWriteStreamSettings()
public UnaryCallSettings.Builder<GetWriteStreamRequest,WriteStream> getWriteStreamSettings()
Returns the builder for the settings used for calls to getWriteStream.
Type | Description |
Builder<GetWriteStreamRequest,WriteStream> |