Class BigQueryStorageSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<BigQueryStorageSettings,BigQueryStorageSettings.Builder>
-
- com.google.cloud.bigquery.storage.v1beta1.BigQueryStorageSettings.Builder
-
- Enclosing class:
- BigQueryStorageSettings
public static class BigQueryStorageSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<BigQueryStorageSettings,BigQueryStorageSettings.Builder>
Builder for BigQueryStorageSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(BigQueryStorageSettings settings)
protected
Builder(EnhancedBigQueryStorageStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigQueryStorageSettings.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.BatchCreateReadSessionStreamsRequest,Storage.BatchCreateReadSessionStreamsResponse>
batchCreateReadSessionStreamsSettings()
Returns the builder for the settings used for calls to batchCreateReadSessionStreams.BigQueryStorageSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.CreateReadSessionRequest,Storage.ReadSession>
createReadSessionSettings()
Returns the builder for the settings used for calls to createReadSession.com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.FinalizeStreamRequest,com.google.protobuf.Empty>
finalizeStreamSettings()
Returns the builder for the settings used for calls to finalizeStream.EnhancedBigQueryStorageStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<Storage.ReadRowsRequest,Storage.ReadRowsResponse>
readRowsSettings()
Returns the builder for the settings used for calls to readRows.BigQueryStorageSettings.Builder
setReadRowsRetryAttemptListener(BigQueryStorageSettings.RetryAttemptListener readRowsRetryAttemptListener)
com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.SplitReadStreamRequest,Storage.SplitReadStreamResponse>
splitReadStreamSettings()
Returns the builder for the settings used for calls to splitReadStream.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(BigQueryStorageSettings settings)
-
Builder
protected Builder(EnhancedBigQueryStorageStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public EnhancedBigQueryStorageStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public BigQueryStorageSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
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.
- Throws:
Exception
-
setReadRowsRetryAttemptListener
public BigQueryStorageSettings.Builder setReadRowsRetryAttemptListener(BigQueryStorageSettings.RetryAttemptListener readRowsRetryAttemptListener)
-
createReadSessionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.CreateReadSessionRequest,Storage.ReadSession> createReadSessionSettings()
Returns the builder for the settings used for calls to createReadSession.
-
readRowsSettings
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<Storage.ReadRowsRequest,Storage.ReadRowsResponse> readRowsSettings()
Returns the builder for the settings used for calls to readRows.
-
batchCreateReadSessionStreamsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.BatchCreateReadSessionStreamsRequest,Storage.BatchCreateReadSessionStreamsResponse> batchCreateReadSessionStreamsSettings()
Returns the builder for the settings used for calls to batchCreateReadSessionStreams.
-
finalizeStreamSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.FinalizeStreamRequest,com.google.protobuf.Empty> finalizeStreamSettings()
Returns the builder for the settings used for calls to finalizeStream.
-
splitReadStreamSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<Storage.SplitReadStreamRequest,Storage.SplitReadStreamResponse> splitReadStreamSettings()
Returns the builder for the settings used for calls to splitReadStream.
-
build
public BigQueryStorageSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<BigQueryStorageSettings,BigQueryStorageSettings.Builder>
- Throws:
IOException
-
-