Class CatalogServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<CatalogServiceStubSettings,CatalogServiceStubSettings.Builder>
com.google.cloud.retail.v2beta.stub.CatalogServiceStubSettings.Builder
- Enclosing class:
- CatalogServiceStubSettings
public static class CatalogServiceStubSettings.Builder
extends StubSettings.Builder<CatalogServiceStubSettings,CatalogServiceStubSettings.Builder>
Builder for CatalogServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(CatalogServiceStubSettings settings) -
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.Returns the builder for the settings used for calls to batchRemoveCatalogAttributes.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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public CatalogServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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. -
batchRemoveCatalogAttributesSettings
public UnaryCallSettings.Builder<BatchRemoveCatalogAttributesRequest,BatchRemoveCatalogAttributesResponse> batchRemoveCatalogAttributesSettings()Returns the builder for the settings used for calls to batchRemoveCatalogAttributes. -
replaceCatalogAttributeSettings
public UnaryCallSettings.Builder<ReplaceCatalogAttributeRequest,AttributesConfig> replaceCatalogAttributeSettings()Returns the builder for the settings used for calls to replaceCatalogAttribute. -
build
- Specified by:
buildin classStubSettings.Builder<CatalogServiceStubSettings,CatalogServiceStubSettings.Builder> - Throws:
IOException
-