public static class AssetServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<AssetServiceStubSettings,AssetServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AssetServiceStubSettings settings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AssetServiceStubSettings.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.
|
AssetServiceStubSettings |
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.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ListFeedsRequest,ListFeedsResponse> |
listFeedsSettings()
Returns the builder for the settings used for calls to listFeeds.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(AssetServiceStubSettings settings)
public AssetServiceStubSettings.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportAssetsRequest,com.google.longrunning.Operation> exportAssetsSettings()
@BetaApi(value="The surface for use by generated code 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 AssetServiceStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<AssetServiceStubSettings,AssetServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.