Class ControlServiceStubSettings.Builder (2.44.0)

public static class ControlServiceStubSettings.Builder extends StubSettings.Builder<ControlServiceStubSettings,ControlServiceStubSettings.Builder>

Builder for ControlServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ControlServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ControlServiceStubSettings settings)

protected Builder(ControlServiceStubSettings settings)
Parameter
Name Description
settings ControlServiceStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ControlServiceStubSettings.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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ControlServiceStubSettings.Builder

build()

public ControlServiceStubSettings build()
Returns
Type Description
ControlServiceStubSettings
Overrides
Exceptions
Type Description
IOException

createControlSettings()

public UnaryCallSettings.Builder<CreateControlRequest,Control> createControlSettings()

Returns the builder for the settings used for calls to createControl.

Returns
Type Description
Builder<CreateControlRequest,Control>

deleteControlSettings()

public UnaryCallSettings.Builder<DeleteControlRequest,Empty> deleteControlSettings()

Returns the builder for the settings used for calls to deleteControl.

Returns
Type Description
Builder<DeleteControlRequest,Empty>

getControlSettings()

public UnaryCallSettings.Builder<GetControlRequest,Control> getControlSettings()

Returns the builder for the settings used for calls to getControl.

Returns
Type Description
Builder<GetControlRequest,Control>

listControlsSettings()

public PagedCallSettings.Builder<ListControlsRequest,ListControlsResponse,ControlServiceClient.ListControlsPagedResponse> listControlsSettings()

Returns the builder for the settings used for calls to listControls.

Returns
Type Description
Builder<ListControlsRequest,ListControlsResponse,ListControlsPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateControlSettings()

public UnaryCallSettings.Builder<UpdateControlRequest,Control> updateControlSettings()

Returns the builder for the settings used for calls to updateControl.

Returns
Type Description
Builder<UpdateControlRequest,Control>