Package com.google.cloud.retail.v2.stub
Class ControlServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ControlServiceStubSettings,ControlServiceStubSettings.Builder>
-
- com.google.cloud.retail.v2.stub.ControlServiceStubSettings.Builder
-
- Enclosing class:
- ControlServiceStubSettings
public static class ControlServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ControlServiceStubSettings,ControlServiceStubSettings.Builder>
Builder for ControlServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ControlServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlServiceStubSettings.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.ControlServiceStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.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(ControlServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ControlServiceStubSettings.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()
-
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 ControlServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ControlServiceStubSettings,ControlServiceStubSettings.Builder>
- Throws:
IOException
-
-