Class ControlServiceSettings.Builder (2.10.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
NameDescription
clientContextClientContext

Builder(ControlServiceSettings settings)

protected Builder(ControlServiceSettings settings)
Parameter
NameDescription
settingsControlServiceSettings

Builder(ControlServiceStubSettings.Builder stubSettings)

protected Builder(ControlServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsControlServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ControlServiceSettings.Builder

build()

public ControlServiceSettings build()
Returns
TypeDescription
ControlServiceSettings
Overrides Exceptions
TypeDescription
IOException

createControlSettings()

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

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

Returns
TypeDescription
Builder<CreateControlRequest,Control>

deleteControlSettings()

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

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

Returns
TypeDescription
Builder<DeleteControlRequest,Empty>

getControlSettings()

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

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

Returns
TypeDescription
Builder<GetControlRequest,Control>

getStubSettingsBuilder()

public ControlServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ControlServiceStubSettings.Builder

listControlsSettings()

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

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

Returns
TypeDescription
Builder<ListControlsRequest,ListControlsResponse,ListControlsPagedResponse>

updateControlSettings()

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

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

Returns
TypeDescription
Builder<UpdateControlRequest,Control>