Package com.google.cloud.retail.v2
Class ControlServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ControlServiceSettings,ControlServiceSettings.Builder>
-
- com.google.cloud.retail.v2.ControlServiceSettings.Builder
-
- Enclosing class:
- ControlServiceSettings
public static class ControlServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ControlServiceSettings,ControlServiceSettings.Builder>
Builder for ControlServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ControlServiceSettings settings)
protected
Builder(ControlServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlServiceSettings.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.ControlServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateControlRequest,Control>
createControlSettings()
Returns the builder for the settings used for calls to createControl.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteControlRequest,com.google.protobuf.Empty>
deleteControlSettings()
Returns the builder for the settings used for calls to deleteControl.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetControlRequest,Control>
getControlSettings()
Returns the builder for the settings used for calls to getControl.ControlServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListControlsRequest,ListControlsResponse,ControlServiceClient.ListControlsPagedResponse>
listControlsSettings()
Returns the builder for the settings used for calls to listControls.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateControlRequest,Control>
updateControlSettings()
Returns the builder for the settings used for calls to updateControl.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ControlServiceSettings settings)
-
Builder
protected Builder(ControlServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ControlServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ControlServiceSettings.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.
-
createControlSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateControlRequest,Control> createControlSettings()
Returns the builder for the settings used for calls to createControl.
-
deleteControlSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteControlRequest,com.google.protobuf.Empty> deleteControlSettings()
Returns the builder for the settings used for calls to deleteControl.
-
updateControlSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateControlRequest,Control> updateControlSettings()
Returns the builder for the settings used for calls to updateControl.
-
getControlSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetControlRequest,Control> getControlSettings()
Returns the builder for the settings used for calls to getControl.
-
listControlsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListControlsRequest,ListControlsResponse,ControlServiceClient.ListControlsPagedResponse> listControlsSettings()
Returns the builder for the settings used for calls to listControls.
-
build
public ControlServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ControlServiceSettings,ControlServiceSettings.Builder>
- Throws:
IOException
-
-