Package com.google.cloud.retail.v2.stub
Class CatalogServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<CatalogServiceStubSettings,CatalogServiceStubSettings.Builder>
-
- com.google.cloud.retail.v2.stub.CatalogServiceStubSettings.Builder
-
- Enclosing class:
- CatalogServiceStubSettings
public static class CatalogServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<CatalogServiceStubSettings,CatalogServiceStubSettings.Builder>
Builder for CatalogServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(CatalogServiceStubSettings settings)
-
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.CatalogServiceStubSettings.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.CatalogServiceStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(CatalogServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public CatalogServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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 CatalogServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<CatalogServiceStubSettings,CatalogServiceStubSettings.Builder>
- Throws:
IOException
-
-