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