Class ServingConfigServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ServingConfigServiceStubSettings,ServingConfigServiceStubSettings.Builder>
com.google.cloud.retail.v2beta.stub.ServingConfigServiceStubSettings.Builder
- Enclosing class:
- ServingConfigServiceStubSettings
public static class ServingConfigServiceStubSettings.Builder
extends StubSettings.Builder<ServingConfigServiceStubSettings,ServingConfigServiceStubSettings.Builder>
Builder for ServingConfigServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ServingConfigServiceStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to addControl.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createServingConfig.UnaryCallSettings.Builder<DeleteServingConfigRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteServingConfig.Returns the builder for the settings used for calls to getServingConfig.PagedCallSettings.Builder<ListServingConfigsRequest,ListServingConfigsResponse, ServingConfigServiceClient.ListServingConfigsPagedResponse> Returns the builder for the settings used for calls to listServingConfigs.Returns the builder for the settings used for calls to removeControl.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateServingConfig.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public ServingConfigServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
createServingConfigSettings
public UnaryCallSettings.Builder<CreateServingConfigRequest,ServingConfig> createServingConfigSettings()Returns the builder for the settings used for calls to createServingConfig. -
deleteServingConfigSettings
public UnaryCallSettings.Builder<DeleteServingConfigRequest,com.google.protobuf.Empty> deleteServingConfigSettings()Returns the builder for the settings used for calls to deleteServingConfig. -
updateServingConfigSettings
public UnaryCallSettings.Builder<UpdateServingConfigRequest,ServingConfig> updateServingConfigSettings()Returns the builder for the settings used for calls to updateServingConfig. -
getServingConfigSettings
Returns the builder for the settings used for calls to getServingConfig. -
listServingConfigsSettings
public PagedCallSettings.Builder<ListServingConfigsRequest,ListServingConfigsResponse, listServingConfigsSettings()ServingConfigServiceClient.ListServingConfigsPagedResponse> Returns the builder for the settings used for calls to listServingConfigs. -
addControlSettings
Returns the builder for the settings used for calls to addControl. -
removeControlSettings
Returns the builder for the settings used for calls to removeControl. -
build
- Specified by:
buildin classStubSettings.Builder<ServingConfigServiceStubSettings,ServingConfigServiceStubSettings.Builder> - Throws:
IOException
-