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(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.v1beta1.BatchGetAssetsHistoryRequest,com.google.cloud.asset.v1beta1.BatchGetAssetsHistoryResponse> |
batchGetAssetsHistorySettings()
Returns the builder for the settings used for calls to batchGetAssetsHistory.
|
AssetServiceSettings |
build() |
OperationCallSettings.Builder<com.google.cloud.asset.v1beta1.ExportAssetsRequest,com.google.cloud.asset.v1beta1.ExportAssetsResponse,com.google.cloud.asset.v1beta1.ExportAssetsRequest> |
exportAssetsOperationSettings()
Returns the builder for the settings used for calls to exportAssets.
|
UnaryCallSettings.Builder<com.google.cloud.asset.v1beta1.ExportAssetsRequest,Operation> |
exportAssetsSettings()
Returns the builder for the settings used for calls to exportAssets.
|
AssetServiceStubSettings.Builder |
getStubSettingsBuilder() |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, 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(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.cloud.asset.v1beta1.ExportAssetsRequest,Operation> exportAssetsSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.asset.v1beta1.ExportAssetsRequest,com.google.cloud.asset.v1beta1.ExportAssetsResponse,com.google.cloud.asset.v1beta1.ExportAssetsRequest> exportAssetsOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.asset.v1beta1.BatchGetAssetsHistoryRequest,com.google.cloud.asset.v1beta1.BatchGetAssetsHistoryResponse> batchGetAssetsHistorySettings()
public AssetServiceSettings build() throws IOException
build
in class ClientSettings.Builder<AssetServiceSettings,AssetServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.