Class BigQueryReadSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<BigQueryReadSettings,BigQueryReadSettings.Builder>
-
- com.google.cloud.bigquery.storage.v1.BigQueryReadSettings.Builder
-
- Enclosing class:
- BigQueryReadSettings
public static class BigQueryReadSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<BigQueryReadSettings,BigQueryReadSettings.Builder>
Builder for BigQueryReadSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(BigQueryReadSettings settings)
protected
Builder(EnhancedBigQueryReadStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigQueryReadSettings.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.BigQueryReadSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateReadSessionRequest,ReadSession>
createReadSessionSettings()
Returns the builder for the settings used for calls to createReadSession.EnhancedBigQueryReadStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<ReadRowsRequest,ReadRowsResponse>
readRowsSettings()
Returns the builder for the settings used for calls to readRows.BigQueryReadSettings.Builder
setReadRowsRetryAttemptListener(BigQueryReadSettings.RetryAttemptListener readRowsRetryAttemptListener)
com.google.api.gax.rpc.UnaryCallSettings.Builder<SplitReadStreamRequest,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(BigQueryReadSettings settings)
-
Builder
protected Builder(EnhancedBigQueryReadStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public EnhancedBigQueryReadStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public BigQueryReadSettings.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 BigQueryReadSettings.Builder setReadRowsRetryAttemptListener(BigQueryReadSettings.RetryAttemptListener readRowsRetryAttemptListener)
-
createReadSessionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateReadSessionRequest,ReadSession> createReadSessionSettings()
Returns the builder for the settings used for calls to createReadSession.
-
readRowsSettings
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<ReadRowsRequest,ReadRowsResponse> readRowsSettings()
Returns the builder for the settings used for calls to readRows.
-
splitReadStreamSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SplitReadStreamRequest,SplitReadStreamResponse> splitReadStreamSettings()
Returns the builder for the settings used for calls to splitReadStream.
-
build
public BigQueryReadSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<BigQueryReadSettings,BigQueryReadSettings.Builder>
- Throws:
IOException
-
-