Package com.google.cloud.retail.v2beta
Class ControlServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<ControlServiceSettings,ControlServiceSettings.Builder>
com.google.cloud.retail.v2beta.ControlServiceSettings.Builder
- Enclosing class:
- ControlServiceSettings
public static class ControlServiceSettings.Builder
extends ClientSettings.Builder<ControlServiceSettings,ControlServiceSettings.Builder>
Builder for ControlServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ControlServiceSettings settings) protectedBuilder(ControlServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(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 createControl.UnaryCallSettings.Builder<DeleteControlRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteControl.Returns the builder for the settings used for calls to getControl.PagedCallSettings.Builder<ListControlsRequest,ListControlsResponse, ControlServiceClient.ListControlsPagedResponse> Returns the builder for the settings used for calls to listControls.Returns the builder for the settings used for calls to updateControl.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public ControlServiceSettings.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.
-
createControlSettings
Returns the builder for the settings used for calls to createControl. -
deleteControlSettings
public UnaryCallSettings.Builder<DeleteControlRequest,com.google.protobuf.Empty> deleteControlSettings()Returns the builder for the settings used for calls to deleteControl. -
updateControlSettings
Returns the builder for the settings used for calls to updateControl. -
getControlSettings
Returns the builder for the settings used for calls to getControl. -
listControlsSettings
public PagedCallSettings.Builder<ListControlsRequest,ListControlsResponse, listControlsSettings()ControlServiceClient.ListControlsPagedResponse> Returns the builder for the settings used for calls to listControls. -
build
- Specified by:
buildin classClientSettings.Builder<ControlServiceSettings,ControlServiceSettings.Builder> - Throws:
IOException
-