Class BigQueryWriteSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<BigQueryWriteSettings,BigQueryWriteSettings.Builder>
com.google.cloud.bigquery.storage.v1beta2.BigQueryWriteSettings.Builder
- Enclosing class:
- BigQueryWriteSettings
public static class BigQueryWriteSettings.Builder
extends ClientSettings.Builder<BigQueryWriteSettings,BigQueryWriteSettings.Builder>
Builder for BigQueryWriteSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(BigQueryWriteSettings settings) protectedBuilder(BigQueryWriteStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.This method is deprecated and will be removed in the next major version update.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.Deprecated.This method is deprecated and will be removed in the next major version update.build()Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
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.
-
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. -
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. -
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. -
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. -
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. -
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. -
build
- Specified by:
buildin classClientSettings.Builder<BigQueryWriteSettings,BigQueryWriteSettings.Builder> - Throws:
IOException
-