Package com.google.cloud.retail.v2
Class ServingConfigServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ServingConfigServiceSettings,ServingConfigServiceSettings.Builder>
-
- com.google.cloud.retail.v2.ServingConfigServiceSettings.Builder
-
- Enclosing class:
- ServingConfigServiceSettings
public static class ServingConfigServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ServingConfigServiceSettings,ServingConfigServiceSettings.Builder>
Builder for ServingConfigServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)protectedBuilder(ServingConfigServiceSettings settings)protectedBuilder(ServingConfigServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallSettings.Builder<AddControlRequest,ServingConfig>addControlSettings()Returns the builder for the settings used for calls to addControl.ServingConfigServiceSettings.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.ServingConfigServiceSettingsbuild()com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServingConfigRequest,ServingConfig>createServingConfigSettings()Returns the builder for the settings used for calls to createServingConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServingConfigRequest,com.google.protobuf.Empty>deleteServingConfigSettings()Returns the builder for the settings used for calls to deleteServingConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServingConfigRequest,ServingConfig>getServingConfigSettings()Returns the builder for the settings used for calls to getServingConfig.ServingConfigServiceStubSettings.BuildergetStubSettingsBuilder()com.google.api.gax.rpc.PagedCallSettings.Builder<ListServingConfigsRequest,ListServingConfigsResponse,ServingConfigServiceClient.ListServingConfigsPagedResponse>listServingConfigsSettings()Returns the builder for the settings used for calls to listServingConfigs.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveControlRequest,ServingConfig>removeControlSettings()Returns the builder for the settings used for calls to removeControl.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateServingConfigRequest,ServingConfig>updateServingConfigSettings()Returns the builder for the settings used for calls to updateServingConfig.-
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(ServingConfigServiceSettings settings)
-
Builder
protected Builder(ServingConfigServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ServingConfigServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ServingConfigServiceSettings.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.
-
createServingConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServingConfigRequest,ServingConfig> createServingConfigSettings()
Returns the builder for the settings used for calls to createServingConfig.
-
deleteServingConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServingConfigRequest,com.google.protobuf.Empty> deleteServingConfigSettings()
Returns the builder for the settings used for calls to deleteServingConfig.
-
updateServingConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateServingConfigRequest,ServingConfig> updateServingConfigSettings()
Returns the builder for the settings used for calls to updateServingConfig.
-
getServingConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServingConfigRequest,ServingConfig> getServingConfigSettings()
Returns the builder for the settings used for calls to getServingConfig.
-
listServingConfigsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListServingConfigsRequest,ListServingConfigsResponse,ServingConfigServiceClient.ListServingConfigsPagedResponse> listServingConfigsSettings()
Returns the builder for the settings used for calls to listServingConfigs.
-
addControlSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddControlRequest,ServingConfig> addControlSettings()
Returns the builder for the settings used for calls to addControl.
-
removeControlSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveControlRequest,ServingConfig> removeControlSettings()
Returns the builder for the settings used for calls to removeControl.
-
build
public ServingConfigServiceSettings build() throws IOException
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<ServingConfigServiceSettings,ServingConfigServiceSettings.Builder>- Throws:
IOException
-
-