Class PrivateCatalogStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<PrivateCatalogStubSettings,PrivateCatalogStubSettings.Builder>
com.google.cloud.privatecatalog.v1beta1.stub.PrivateCatalogStubSettings.Builder
- Enclosing class:
- PrivateCatalogStubSettings
public static class PrivateCatalogStubSettings.Builder
extends StubSettings.Builder<PrivateCatalogStubSettings,PrivateCatalogStubSettings.Builder>
Builder for PrivateCatalogStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(PrivateCatalogStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()PagedCallSettings.Builder<SearchCatalogsRequest,SearchCatalogsResponse, PrivateCatalogClient.SearchCatalogsPagedResponse> Returns the builder for the settings used for calls to searchCatalogs.PagedCallSettings.Builder<SearchProductsRequest,SearchProductsResponse, PrivateCatalogClient.SearchProductsPagedResponse> Returns the builder for the settings used for calls to searchProducts.PagedCallSettings.Builder<SearchVersionsRequest,SearchVersionsResponse, PrivateCatalogClient.SearchVersionsPagedResponse> Returns the builder for the settings used for calls to searchVersions.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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 PrivateCatalogStubSettings.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() -
searchCatalogsSettings
public PagedCallSettings.Builder<SearchCatalogsRequest,SearchCatalogsResponse, searchCatalogsSettings()PrivateCatalogClient.SearchCatalogsPagedResponse> Returns the builder for the settings used for calls to searchCatalogs. -
searchProductsSettings
public PagedCallSettings.Builder<SearchProductsRequest,SearchProductsResponse, searchProductsSettings()PrivateCatalogClient.SearchProductsPagedResponse> Returns the builder for the settings used for calls to searchProducts. -
searchVersionsSettings
public PagedCallSettings.Builder<SearchVersionsRequest,SearchVersionsResponse, searchVersionsSettings()PrivateCatalogClient.SearchVersionsPagedResponse> Returns the builder for the settings used for calls to searchVersions. -
build
- Specified by:
buildin classStubSettings.Builder<PrivateCatalogStubSettings,PrivateCatalogStubSettings.Builder> - Throws:
IOException
-