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