Class ServiceMonitoringServiceSettings.Builder (3.55.0)

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

Builder for ServiceMonitoringServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ServiceMonitoringServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ServiceMonitoringServiceSettings settings)

protected Builder(ServiceMonitoringServiceSettings settings)
Parameter
Name Description
settings ServiceMonitoringServiceSettings

Builder(ServiceMonitoringServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>

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>