public static class BigQueryReadSettings.Builder extends ClientSettings.Builder<BigQueryReadSettings,BigQueryReadSettings.Builder>
Builder for BigQueryReadSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(BigQueryReadSettings settings)
protected Builder(BigQueryReadSettings settings)
Name | Description |
settings | BigQueryReadSettings |
Builder(EnhancedBigQueryReadStubSettings.Builder stubSettings)
protected Builder(EnhancedBigQueryReadStubSettings.Builder stubSettings)
Name | Description |
stubSettings | EnhancedBigQueryReadStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public BigQueryReadSettings.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 |
BigQueryReadSettings.Builder |
Type | Description |
Exception |
build()
public BigQueryReadSettings build()
Type | Description |
BigQueryReadSettings |
Type | Description |
IOException |
createReadSessionSettings()
public UnaryCallSettings.Builder<CreateReadSessionRequest,ReadSession> createReadSessionSettings()
Returns the builder for the settings used for calls to createReadSession.
Type | Description |
Builder<CreateReadSessionRequest,ReadSession> |
getStubSettingsBuilder()
public EnhancedBigQueryReadStubSettings.Builder getStubSettingsBuilder()
Type | Description |
EnhancedBigQueryReadStubSettings.Builder |
readRowsSettings()
public ServerStreamingCallSettings.Builder<ReadRowsRequest,ReadRowsResponse> readRowsSettings()
Returns the builder for the settings used for calls to readRows.
Type | Description |
Builder<ReadRowsRequest,ReadRowsResponse> |
setReadRowsRetryAttemptListener(BigQueryReadSettings.RetryAttemptListener readRowsRetryAttemptListener)
public BigQueryReadSettings.Builder setReadRowsRetryAttemptListener(BigQueryReadSettings.RetryAttemptListener readRowsRetryAttemptListener)
Name | Description |
readRowsRetryAttemptListener | BigQueryReadSettings.RetryAttemptListener |
Type | Description |
BigQueryReadSettings.Builder |
splitReadStreamSettings()
public UnaryCallSettings.Builder<SplitReadStreamRequest,SplitReadStreamResponse> splitReadStreamSettings()
Returns the builder for the settings used for calls to splitReadStream.
Type | Description |
Builder<SplitReadStreamRequest,SplitReadStreamResponse> |