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.
|
UnaryCallSettings.Builder<com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest,com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse> |
batchGetAssetsHistorySettings()
Returns the builder for the settings used for calls to batchGetAssetsHistory.
|
AssetServiceStubSettings |
build() |
OperationCallSettings.Builder<com.google.cloud.asset.v1.ExportAssetsRequest,com.google.cloud.asset.v1.ExportAssetsResponse,com.google.cloud.asset.v1.ExportAssetsRequest> |
exportAssetsOperationSettings()
Returns the builder for the settings used for calls to exportAssets.
|
UnaryCallSettings.Builder<com.google.cloud.asset.v1.ExportAssetsRequest,Operation> |
exportAssetsSettings()
Returns the builder for the settings used for calls to exportAssets.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, 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) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public UnaryCallSettings.Builder<com.google.cloud.asset.v1.ExportAssetsRequest,Operation> exportAssetsSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.asset.v1.ExportAssetsRequest,com.google.cloud.asset.v1.ExportAssetsResponse,com.google.cloud.asset.v1.ExportAssetsRequest> exportAssetsOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest,com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse> batchGetAssetsHistorySettings()
public AssetServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<AssetServiceStubSettings,AssetServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.