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 com.google.api.gax.rpc.ClientSettings.Builder<CatalogServiceSettings,CatalogServiceSettings.Builder>
Builder for CatalogServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(CatalogServiceSettings settings)
protected
Builder(CatalogServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallSettings.Builder<AddCatalogAttributeRequest,AttributesConfig>
addCatalogAttributeSettings()
Returns the builder for the settings used for calls to addCatalogAttribute.CatalogServiceSettings.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.CatalogServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAttributesConfigRequest,AttributesConfig>
getAttributesConfigSettings()
Returns the builder for the settings used for calls to getAttributesConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCompletionConfigRequest,CompletionConfig>
getCompletionConfigSettings()
Returns the builder for the settings used for calls to getCompletionConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDefaultBranchRequest,GetDefaultBranchResponse>
getDefaultBranchSettings()
Returns the builder for the settings used for calls to getDefaultBranch.CatalogServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListCatalogsRequest,ListCatalogsResponse,CatalogServiceClient.ListCatalogsPagedResponse>
listCatalogsSettings()
Returns the builder for the settings used for calls to listCatalogs.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveCatalogAttributeRequest,AttributesConfig>
removeCatalogAttributeSettings()
Returns the builder for the settings used for calls to removeCatalogAttribute.com.google.api.gax.rpc.UnaryCallSettings.Builder<ReplaceCatalogAttributeRequest,AttributesConfig>
replaceCatalogAttributeSettings()
Returns the builder for the settings used for calls to replaceCatalogAttribute.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetDefaultBranchRequest,com.google.protobuf.Empty>
setDefaultBranchSettings()
Returns the builder for the settings used for calls to setDefaultBranch.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAttributesConfigRequest,AttributesConfig>
updateAttributesConfigSettings()
Returns the builder for the settings used for calls to updateAttributesConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCatalogRequest,Catalog>
updateCatalogSettings()
Returns the builder for the settings used for calls to updateCatalog.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCompletionConfigRequest,CompletionConfig>
updateCompletionConfigSettings()
Returns the builder for the settings used for calls to updateCompletionConfig.-
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(CatalogServiceSettings settings)
-
Builder
protected Builder(CatalogServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public CatalogServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public CatalogServiceSettings.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.
-
listCatalogsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCatalogsRequest,ListCatalogsResponse,CatalogServiceClient.ListCatalogsPagedResponse> listCatalogsSettings()
Returns the builder for the settings used for calls to listCatalogs.
-
updateCatalogSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCatalogRequest,Catalog> updateCatalogSettings()
Returns the builder for the settings used for calls to updateCatalog.
-
setDefaultBranchSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetDefaultBranchRequest,com.google.protobuf.Empty> setDefaultBranchSettings()
Returns the builder for the settings used for calls to setDefaultBranch.
-
getDefaultBranchSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDefaultBranchRequest,GetDefaultBranchResponse> getDefaultBranchSettings()
Returns the builder for the settings used for calls to getDefaultBranch.
-
getCompletionConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCompletionConfigRequest,CompletionConfig> getCompletionConfigSettings()
Returns the builder for the settings used for calls to getCompletionConfig.
-
updateCompletionConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCompletionConfigRequest,CompletionConfig> updateCompletionConfigSettings()
Returns the builder for the settings used for calls to updateCompletionConfig.
-
getAttributesConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAttributesConfigRequest,AttributesConfig> getAttributesConfigSettings()
Returns the builder for the settings used for calls to getAttributesConfig.
-
updateAttributesConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAttributesConfigRequest,AttributesConfig> updateAttributesConfigSettings()
Returns the builder for the settings used for calls to updateAttributesConfig.
-
addCatalogAttributeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddCatalogAttributeRequest,AttributesConfig> addCatalogAttributeSettings()
Returns the builder for the settings used for calls to addCatalogAttribute.
-
removeCatalogAttributeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveCatalogAttributeRequest,AttributesConfig> removeCatalogAttributeSettings()
Returns the builder for the settings used for calls to removeCatalogAttribute.
-
replaceCatalogAttributeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ReplaceCatalogAttributeRequest,AttributesConfig> replaceCatalogAttributeSettings()
Returns the builder for the settings used for calls to replaceCatalogAttribute.
-
build
public CatalogServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<CatalogServiceSettings,CatalogServiceSettings.Builder>
- Throws:
IOException
-
-