Class BaseBigQueryStorageSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<BaseBigQueryStorageSettings,BaseBigQueryStorageSettings.Builder>
-
- com.google.cloud.bigquery.storage.v1beta1.BaseBigQueryStorageSettings.Builder
-
- Enclosing class:
- BaseBigQueryStorageSettings
public static class BaseBigQueryStorageSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<BaseBigQueryStorageSettings,BaseBigQueryStorageSettings.Builder>
Builder for BaseBigQueryStorageSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(BaseBigQueryStorageSettings settings)
protected
Builder(BigQueryStorageStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseBigQueryStorageSettings.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.BaseBigQueryStorageSettings
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.BigQueryStorageStubSettings.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.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(BaseBigQueryStorageSettings settings)
-
Builder
protected Builder(BigQueryStorageStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public BigQueryStorageStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public BaseBigQueryStorageSettings.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.Note: This method does not support applying settings to streaming methods.
-
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 BaseBigQueryStorageSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<BaseBigQueryStorageSettings,BaseBigQueryStorageSettings.Builder>
- Throws:
IOException
-
-