Class ServiceMonitoringServiceStubSettings.Builder (3.55.0)

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

Builder for ServiceMonitoringServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ServiceMonitoringServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ServiceMonitoringServiceStubSettings settings)

protected Builder(ServiceMonitoringServiceStubSettings settings)
Parameter
Name Description
settings ServiceMonitoringServiceStubSettings

Methods

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

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

build()

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

createServiceLevelObjectiveSettings()

public UnaryCallSettings.Builder<CreateServiceLevelObjectiveRequest,ServiceLevelObjective> createServiceLevelObjectiveSettings()

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

Returns
Type Description
Builder<CreateServiceLevelObjectiveRequest,ServiceLevelObjective>

createServiceSettings()

public UnaryCallSettings.Builder<CreateServiceRequest,Service> createServiceSettings()

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

Returns
Type Description
Builder<CreateServiceRequest,Service>

deleteServiceLevelObjectiveSettings()

public UnaryCallSettings.Builder<DeleteServiceLevelObjectiveRequest,Empty> deleteServiceLevelObjectiveSettings()

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

Returns
Type Description
Builder<DeleteServiceLevelObjectiveRequest,Empty>

deleteServiceSettings()

public UnaryCallSettings.Builder<DeleteServiceRequest,Empty> deleteServiceSettings()

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

Returns
Type Description
Builder<DeleteServiceRequest,Empty>

getServiceLevelObjectiveSettings()

public UnaryCallSettings.Builder<GetServiceLevelObjectiveRequest,ServiceLevelObjective> getServiceLevelObjectiveSettings()

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

Returns
Type Description
Builder<GetServiceLevelObjectiveRequest,ServiceLevelObjective>

getServiceSettings()

public UnaryCallSettings.Builder<GetServiceRequest,Service> getServiceSettings()

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

Returns
Type Description
Builder<GetServiceRequest,Service>

listServiceLevelObjectivesSettings()

public PagedCallSettings.Builder<ListServiceLevelObjectivesRequest,ListServiceLevelObjectivesResponse,ServiceMonitoringServiceClient.ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings()

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

Returns
Type Description
Builder<ListServiceLevelObjectivesRequest,ListServiceLevelObjectivesResponse,ListServiceLevelObjectivesPagedResponse>

listServicesSettings()

public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,ServiceMonitoringServiceClient.ListServicesPagedResponse> listServicesSettings()

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

Returns
Type Description
Builder<ListServicesRequest,ListServicesResponse,ListServicesPagedResponse>

unaryMethodSettingsBuilders()

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

updateServiceLevelObjectiveSettings()

public UnaryCallSettings.Builder<UpdateServiceLevelObjectiveRequest,ServiceLevelObjective> updateServiceLevelObjectiveSettings()

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

Returns
Type Description
Builder<UpdateServiceLevelObjectiveRequest,ServiceLevelObjective>

updateServiceSettings()

public UnaryCallSettings.Builder<UpdateServiceRequest,Service> updateServiceSettings()

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

Returns
Type Description
Builder<UpdateServiceRequest,Service>