public static class AssetServiceStubSettings.Builder extends StubSettings.Builder<AssetServiceStubSettings,AssetServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AssetServiceStubSettings settings) |
protected |
Builder(ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AssetServiceStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
AssetServiceStubSettings |
build() |
PagedCallSettings.Builder<SearchAllIamPoliciesRequest,SearchAllIamPoliciesResponse,AssetServiceClient.SearchAllIamPoliciesPagedResponse> |
searchAllIamPoliciesSettings()
Returns the builder for the settings used for calls to searchAllIamPolicies.
|
PagedCallSettings.Builder<SearchAllResourcesRequest,SearchAllResourcesResponse,AssetServiceClient.SearchAllResourcesPagedResponse> |
searchAllResourcesSettings()
Returns the builder for the settings used for calls to searchAllResources.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(AssetServiceStubSettings settings)
public AssetServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<SearchAllResourcesRequest,SearchAllResourcesResponse,AssetServiceClient.SearchAllResourcesPagedResponse> searchAllResourcesSettings()
public PagedCallSettings.Builder<SearchAllIamPoliciesRequest,SearchAllIamPoliciesResponse,AssetServiceClient.SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings()
public AssetServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<AssetServiceStubSettings,AssetServiceStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.