Class SqlTranslationServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<SqlTranslationServiceSettings,SqlTranslationServiceSettings.Builder>
-
- com.google.cloud.bigquery.migration.v2alpha.SqlTranslationServiceSettings.Builder
-
- Enclosing class:
- SqlTranslationServiceSettings
public static class SqlTranslationServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<SqlTranslationServiceSettings,SqlTranslationServiceSettings.Builder>
Builder for SqlTranslationServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)protectedBuilder(SqlTranslationServiceSettings settings)protectedBuilder(SqlTranslationServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlTranslationServiceSettings.BuilderapplyToAllUnaryMethods(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.SqlTranslationServiceSettingsbuild()SqlTranslationServiceStubSettings.BuildergetStubSettingsBuilder()com.google.api.gax.rpc.UnaryCallSettings.Builder<TranslateQueryRequest,TranslateQueryResponse>translateQuerySettings()Returns the builder for the settings used for calls to translateQuery.-
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(SqlTranslationServiceSettings settings)
-
Builder
protected Builder(SqlTranslationServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public SqlTranslationServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public SqlTranslationServiceSettings.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.
-
translateQuerySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TranslateQueryRequest,TranslateQueryResponse> translateQuerySettings()
Returns the builder for the settings used for calls to translateQuery.
-
build
public SqlTranslationServiceSettings build() throws IOException
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<SqlTranslationServiceSettings,SqlTranslationServiceSettings.Builder>- Throws:
IOException
-
-