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.
|
AssetServiceStubSettings |
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.
|
UnaryCallSettings.Builder<ListFeedsRequest,ListFeedsResponse> |
listFeedsSettings()
Returns the builder for the settings used for calls to listFeeds.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<UpdateFeedRequest,Feed> |
updateFeedSettings()
Returns the builder for the settings used for calls to updateFeed.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, 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)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 AssetServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<AssetServiceStubSettings,AssetServiceStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.