Package com.google.cloud.retail.v2.stub
Class ServingConfigServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ServingConfigServiceStubSettings,ServingConfigServiceStubSettings.Builder>
-
- com.google.cloud.retail.v2.stub.ServingConfigServiceStubSettings.Builder
-
- Enclosing class:
- ServingConfigServiceStubSettings
public static class ServingConfigServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ServingConfigServiceStubSettings,ServingConfigServiceStubSettings.Builder>
Builder for ServingConfigServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ServingConfigServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallSettings.Builder<AddControlRequest,ServingConfig>
addControlSettings()
Returns the builder for the settings used for calls to addControl.ServingConfigServiceStubSettings.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.ServingConfigServiceStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServingConfigRequest,ServingConfig>
createServingConfigSettings()
Returns the builder for the settings used for calls to createServingConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServingConfigRequest,com.google.protobuf.Empty>
deleteServingConfigSettings()
Returns the builder for the settings used for calls to deleteServingConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServingConfigRequest,ServingConfig>
getServingConfigSettings()
Returns the builder for the settings used for calls to getServingConfig.com.google.api.gax.rpc.PagedCallSettings.Builder<ListServingConfigsRequest,ListServingConfigsResponse,ServingConfigServiceClient.ListServingConfigsPagedResponse>
listServingConfigsSettings()
Returns the builder for the settings used for calls to listServingConfigs.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveControlRequest,ServingConfig>
removeControlSettings()
Returns the builder for the settings used for calls to removeControl.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateServingConfigRequest,ServingConfig>
updateServingConfigSettings()
Returns the builder for the settings used for calls to updateServingConfig.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ServingConfigServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ServingConfigServiceStubSettings.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.Note: This method does not support applying settings to streaming methods.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
createServingConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServingConfigRequest,ServingConfig> createServingConfigSettings()
Returns the builder for the settings used for calls to createServingConfig.
-
deleteServingConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServingConfigRequest,com.google.protobuf.Empty> deleteServingConfigSettings()
Returns the builder for the settings used for calls to deleteServingConfig.
-
updateServingConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateServingConfigRequest,ServingConfig> updateServingConfigSettings()
Returns the builder for the settings used for calls to updateServingConfig.
-
getServingConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServingConfigRequest,ServingConfig> getServingConfigSettings()
Returns the builder for the settings used for calls to getServingConfig.
-
listServingConfigsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListServingConfigsRequest,ListServingConfigsResponse,ServingConfigServiceClient.ListServingConfigsPagedResponse> listServingConfigsSettings()
Returns the builder for the settings used for calls to listServingConfigs.
-
addControlSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddControlRequest,ServingConfig> addControlSettings()
Returns the builder for the settings used for calls to addControl.
-
removeControlSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveControlRequest,ServingConfig> removeControlSettings()
Returns the builder for the settings used for calls to removeControl.
-
build
public ServingConfigServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ServingConfigServiceStubSettings,ServingConfigServiceStubSettings.Builder>
- Throws:
IOException
-
-