Class CloudControlsPartnerMonitoringStubSettings.Builder (0.3.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
NameDescription
clientContextClientContext

Builder(CloudControlsPartnerMonitoringStubSettings settings)

protected Builder(CloudControlsPartnerMonitoringStubSettings settings)
Parameter
NameDescription
settingsCloudControlsPartnerMonitoringStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
CloudControlsPartnerMonitoringStubSettings.Builder

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getViolationSettings()

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

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

Returns
TypeDescription
Builder<GetViolationRequest,Violation>

listViolationsSettings()

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

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

Returns
TypeDescription
Builder<ListViolationsRequest,ListViolationsResponse,ListViolationsPagedResponse>

unaryMethodSettingsBuilders()

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