public static class AssetServiceSettings.Builder extends ClientSettings.Builder<AssetServiceSettings,AssetServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AssetServiceSettings settings) |
protected |
Builder(AssetServiceStubSettings.Builder stubSettings) |
protected |
Builder(ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AssetServiceSettings.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.
|
AssetServiceSettings |
build() |
AssetServiceStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse,AssetServiceClient.ListAssetsPagedResponse> |
listAssetsSettings()
Returns the builder for the settings used for calls to listAssets.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(AssetServiceSettings settings)
protected Builder(AssetServiceStubSettings.Builder stubSettings)
public AssetServiceStubSettings.Builder getStubSettingsBuilder()
public AssetServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse,AssetServiceClient.ListAssetsPagedResponse> listAssetsSettings()
public AssetServiceSettings build() throws IOException
build
in class ClientSettings.Builder<AssetServiceSettings,AssetServiceSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.