Package com.google.cloud.retail.v2beta
Class ServingConfigServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<ServingConfigServiceSettings,ServingConfigServiceSettings.Builder>
com.google.cloud.retail.v2beta.ServingConfigServiceSettings.Builder
- Enclosing class:
- ServingConfigServiceSettings
public static class ServingConfigServiceSettings.Builder
extends ClientSettings.Builder<ServingConfigServiceSettings,ServingConfigServiceSettings.Builder>
Builder for ServingConfigServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ServingConfigServiceSettings settings) protectedBuilder(ServingConfigServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to addControl.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createServingConfig.UnaryCallSettings.Builder<DeleteServingConfigRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteServingConfig.Returns the builder for the settings used for calls to getServingConfig.PagedCallSettings.Builder<ListServingConfigsRequest,ListServingConfigsResponse, ServingConfigServiceClient.ListServingConfigsPagedResponse> Returns the builder for the settings used for calls to listServingConfigs.Returns the builder for the settings used for calls to removeControl.Returns the builder for the settings used for calls to updateServingConfig.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public ServingConfigServiceSettings.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.
-
createServingConfigSettings
public UnaryCallSettings.Builder<CreateServingConfigRequest,ServingConfig> createServingConfigSettings()Returns the builder for the settings used for calls to createServingConfig. -
deleteServingConfigSettings
public UnaryCallSettings.Builder<DeleteServingConfigRequest,com.google.protobuf.Empty> deleteServingConfigSettings()Returns the builder for the settings used for calls to deleteServingConfig. -
updateServingConfigSettings
public UnaryCallSettings.Builder<UpdateServingConfigRequest,ServingConfig> updateServingConfigSettings()Returns the builder for the settings used for calls to updateServingConfig. -
getServingConfigSettings
Returns the builder for the settings used for calls to getServingConfig. -
listServingConfigsSettings
public PagedCallSettings.Builder<ListServingConfigsRequest,ListServingConfigsResponse, listServingConfigsSettings()ServingConfigServiceClient.ListServingConfigsPagedResponse> Returns the builder for the settings used for calls to listServingConfigs. -
addControlSettings
Returns the builder for the settings used for calls to addControl. -
removeControlSettings
Returns the builder for the settings used for calls to removeControl. -
build
- Specified by:
buildin classClientSettings.Builder<ServingConfigServiceSettings,ServingConfigServiceSettings.Builder> - Throws:
IOException
-