public static class BigQueryWriteSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<BigQueryWriteSettings,BigQueryWriteSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(BigQueryWriteSettings settings) |
protected |
Builder(BigQueryWriteStubSettings.Builder stubSettings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.StreamingCallSettings.Builder<Storage.AppendRowsRequest,Storage.AppendRowsResponse> |
appendRowsSettings()
Returns the builder for the settings used for calls to appendRows.
|
BigQueryWriteSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.BatchCommitWriteStreamsRequest,Storage.BatchCommitWriteStreamsResponse> |
batchCommitWriteStreamsSettings()
Returns the builder for the settings used for calls to batchCommitWriteStreams.
|
BigQueryWriteSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.CreateWriteStreamRequest,Stream.WriteStream> |
createWriteStreamSettings()
Returns the builder for the settings used for calls to createWriteStream.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.FinalizeWriteStreamRequest,Storage.FinalizeWriteStreamResponse> |
finalizeWriteStreamSettings()
Returns the builder for the settings used for calls to finalizeWriteStream.
|
BigQueryWriteStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.GetWriteStreamRequest,Stream.WriteStream> |
getWriteStreamSettings()
Returns the builder for the settings used for calls to getWriteStream.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(BigQueryWriteSettings settings)
protected Builder(BigQueryWriteStubSettings.Builder stubSettings)
public BigQueryWriteStubSettings.Builder getStubSettingsBuilder()
public BigQueryWriteSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.CreateWriteStreamRequest,Stream.WriteStream> createWriteStreamSettings()
public com.google.api.gax.rpc.StreamingCallSettings.Builder<Storage.AppendRowsRequest,Storage.AppendRowsResponse> appendRowsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.GetWriteStreamRequest,Stream.WriteStream> getWriteStreamSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.FinalizeWriteStreamRequest,Storage.FinalizeWriteStreamResponse> finalizeWriteStreamSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.BatchCommitWriteStreamsRequest,Storage.BatchCommitWriteStreamsResponse> batchCommitWriteStreamsSettings()
public BigQueryWriteSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<BigQueryWriteSettings,BigQueryWriteSettings.Builder>
IOException
Copyright © 2020 Google LLC. All rights reserved.