Package com.google.cloud.retail.v2
Class CatalogServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<CatalogServiceSettings,CatalogServiceSettings.Builder>
com.google.cloud.retail.v2.CatalogServiceSettings.Builder
- Enclosing class:
- CatalogServiceSettings
public static class CatalogServiceSettings.Builder
extends ClientSettings.Builder<CatalogServiceSettings,CatalogServiceSettings.Builder>
Builder for CatalogServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(CatalogServiceSettings settings) protectedBuilder(CatalogServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to addCatalogAttribute.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 getAttributesConfig.Returns the builder for the settings used for calls to getCompletionConfig.Returns the builder for the settings used for calls to getDefaultBranch.PagedCallSettings.Builder<ListCatalogsRequest,ListCatalogsResponse, CatalogServiceClient.ListCatalogsPagedResponse> Returns the builder for the settings used for calls to listCatalogs.Returns the builder for the settings used for calls to removeCatalogAttribute.Returns the builder for the settings used for calls to replaceCatalogAttribute.UnaryCallSettings.Builder<SetDefaultBranchRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to setDefaultBranch.Returns the builder for the settings used for calls to updateAttributesConfig.Returns the builder for the settings used for calls to updateCatalog.Returns the builder for the settings used for calls to updateCompletionConfig.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 CatalogServiceSettings.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.
-
listCatalogsSettings
public PagedCallSettings.Builder<ListCatalogsRequest,ListCatalogsResponse, listCatalogsSettings()CatalogServiceClient.ListCatalogsPagedResponse> Returns the builder for the settings used for calls to listCatalogs. -
updateCatalogSettings
Returns the builder for the settings used for calls to updateCatalog. -
setDefaultBranchSettings
public UnaryCallSettings.Builder<SetDefaultBranchRequest,com.google.protobuf.Empty> setDefaultBranchSettings()Returns the builder for the settings used for calls to setDefaultBranch. -
getDefaultBranchSettings
public UnaryCallSettings.Builder<GetDefaultBranchRequest,GetDefaultBranchResponse> getDefaultBranchSettings()Returns the builder for the settings used for calls to getDefaultBranch. -
getCompletionConfigSettings
public UnaryCallSettings.Builder<GetCompletionConfigRequest,CompletionConfig> getCompletionConfigSettings()Returns the builder for the settings used for calls to getCompletionConfig. -
updateCompletionConfigSettings
public UnaryCallSettings.Builder<UpdateCompletionConfigRequest,CompletionConfig> updateCompletionConfigSettings()Returns the builder for the settings used for calls to updateCompletionConfig. -
getAttributesConfigSettings
public UnaryCallSettings.Builder<GetAttributesConfigRequest,AttributesConfig> getAttributesConfigSettings()Returns the builder for the settings used for calls to getAttributesConfig. -
updateAttributesConfigSettings
public UnaryCallSettings.Builder<UpdateAttributesConfigRequest,AttributesConfig> updateAttributesConfigSettings()Returns the builder for the settings used for calls to updateAttributesConfig. -
addCatalogAttributeSettings
public UnaryCallSettings.Builder<AddCatalogAttributeRequest,AttributesConfig> addCatalogAttributeSettings()Returns the builder for the settings used for calls to addCatalogAttribute. -
removeCatalogAttributeSettings
public UnaryCallSettings.Builder<RemoveCatalogAttributeRequest,AttributesConfig> removeCatalogAttributeSettings()Returns the builder for the settings used for calls to removeCatalogAttribute. -
replaceCatalogAttributeSettings
public UnaryCallSettings.Builder<ReplaceCatalogAttributeRequest,AttributesConfig> replaceCatalogAttributeSettings()Returns the builder for the settings used for calls to replaceCatalogAttribute. -
build
- Specified by:
buildin classClientSettings.Builder<CatalogServiceSettings,CatalogServiceSettings.Builder> - Throws:
IOException
-