Class ControlServiceSettings.Builder (2.46.0)

public static class ControlServiceSettings.Builder extends ClientSettings.Builder<ControlServiceSettings,ControlServiceSettings.Builder>

Builder for ControlServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ControlServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ControlServiceSettings settings)

protected Builder(ControlServiceSettings settings)
Parameter
Name Description
settings ControlServiceSettings

Builder(ControlServiceStubSettings.Builder stubSettings)

protected Builder(ControlServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ControlServiceStubSettings.Builder

Methods

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

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.

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

build()

public ControlServiceSettings build()
Returns
Type Description
ControlServiceSettings
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>

getStubSettingsBuilder()

public ControlServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ControlServiceStubSettings.Builder

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>

updateControlSettings()

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

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

Returns
Type Description
Builder<UpdateControlRequest,Control>