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() |
UnaryCallSettings.Builder<CreateFeedRequest,Feed> |
createFeedSettings()
Returns the builder for the settings used for calls to createFeed.
|
UnaryCallSettings.Builder<DeleteFeedRequest,Empty> |
deleteFeedSettings()
Returns the builder for the settings used for calls to deleteFeed.
|
UnaryCallSettings.Builder<GetFeedRequest,Feed> |
getFeedSettings()
Returns the builder for the settings used for calls to getFeed.
|
AssetServiceStubSettings.Builder |
getStubSettingsBuilder() |
UnaryCallSettings.Builder<ListFeedsRequest,ListFeedsResponse> |
listFeedsSettings()
Returns the builder for the settings used for calls to listFeeds.
|
UnaryCallSettings.Builder<UpdateFeedRequest,Feed> |
updateFeedSettings()
Returns the builder for the settings used for calls to updateFeed.
|
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 UnaryCallSettings.Builder<CreateFeedRequest,Feed> createFeedSettings()
public UnaryCallSettings.Builder<GetFeedRequest,Feed> getFeedSettings()
public UnaryCallSettings.Builder<ListFeedsRequest,ListFeedsResponse> listFeedsSettings()
public UnaryCallSettings.Builder<UpdateFeedRequest,Feed> updateFeedSettings()
public UnaryCallSettings.Builder<DeleteFeedRequest,Empty> deleteFeedSettings()
public AssetServiceSettings build() throws IOException
build
in class ClientSettings.Builder<AssetServiceSettings,AssetServiceSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.