Class CloudControlsPartnerMonitoringStubSettings.Builder (0.11.0)

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

Builder for CloudControlsPartnerMonitoringStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CloudControlsPartnerMonitoringStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(CloudControlsPartnerMonitoringStubSettings settings)

protected Builder(CloudControlsPartnerMonitoringStubSettings settings)
Parameter
Name Description
settings CloudControlsPartnerMonitoringStubSettings

Methods

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

public CloudControlsPartnerMonitoringStubSettings.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
CloudControlsPartnerMonitoringStubSettings.Builder

build()

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

getViolationSettings()

public UnaryCallSettings.Builder<GetViolationRequest,Violation> getViolationSettings()

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

Returns
Type Description
Builder<GetViolationRequest,Violation>

listViolationsSettings()

public PagedCallSettings.Builder<ListViolationsRequest,ListViolationsResponse,CloudControlsPartnerMonitoringClient.ListViolationsPagedResponse> listViolationsSettings()

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

Returns
Type Description
Builder<ListViolationsRequest,ListViolationsResponse,ListViolationsPagedResponse>

unaryMethodSettingsBuilders()

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