public static class AssetServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<AssetServiceSettings,AssetServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AssetServiceSettings settings) |
protected |
Builder(AssetServiceStubSettings.Builder stubSettings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AssetServiceSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchGetAssetsHistoryRequest,BatchGetAssetsHistoryResponse> |
batchGetAssetsHistorySettings()
Returns the builder for the settings used for calls to batchGetAssetsHistory.
|
AssetServiceSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFeedRequest,Feed> |
createFeedSettings()
Returns the builder for the settings used for calls to createFeed.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFeedRequest,Empty> |
deleteFeedSettings()
Returns the builder for the settings used for calls to deleteFeed.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<ExportAssetsRequest,ExportAssetsResponse,ExportAssetsRequest> |
exportAssetsOperationSettings()
Returns the builder for the settings used for calls to exportAssets.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportAssetsRequest,com.google.longrunning.Operation> |
exportAssetsSettings()
Returns the builder for the settings used for calls to exportAssets.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFeedRequest,Feed> |
getFeedSettings()
Returns the builder for the settings used for calls to getFeed.
|
AssetServiceStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<ListFeedsRequest,ListFeedsResponse> |
listFeedsSettings()
Returns the builder for the settings used for calls to listFeeds.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFeedRequest,Feed> |
updateFeedSettings()
Returns the builder for the settings used for calls to updateFeed.
|
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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(AssetServiceSettings settings)
protected Builder(AssetServiceStubSettings.Builder stubSettings)
public AssetServiceStubSettings.Builder getStubSettingsBuilder()
public AssetServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportAssetsRequest,com.google.longrunning.Operation> exportAssetsSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportAssetsRequest,ExportAssetsResponse,ExportAssetsRequest> exportAssetsOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchGetAssetsHistoryRequest,BatchGetAssetsHistoryResponse> batchGetAssetsHistorySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFeedRequest,Feed> createFeedSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFeedRequest,Feed> getFeedSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListFeedsRequest,ListFeedsResponse> listFeedsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFeedRequest,Feed> updateFeedSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFeedRequest,Empty> deleteFeedSettings()
public AssetServiceSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<AssetServiceSettings,AssetServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.