Class ServiceMonitoringServiceSettings.Builder (3.34.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
NameDescription
clientContextClientContext

Builder(ServiceMonitoringServiceSettings settings)

protected Builder(ServiceMonitoringServiceSettings settings)
Parameter
NameDescription
settingsServiceMonitoringServiceSettings

Builder(ServiceMonitoringServiceStubSettings.Builder stubSettings)

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

build()

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

createServiceLevelObjectiveSettings()

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

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

Returns
TypeDescription
Builder<CreateServiceLevelObjectiveRequest,ServiceLevelObjective>

createServiceSettings()

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

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

Returns
TypeDescription
Builder<CreateServiceRequest,Service>

deleteServiceLevelObjectiveSettings()

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

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

Returns
TypeDescription
Builder<DeleteServiceLevelObjectiveRequest,Empty>

deleteServiceSettings()

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

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

Returns
TypeDescription
Builder<DeleteServiceRequest,Empty>

getServiceLevelObjectiveSettings()

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

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

Returns
TypeDescription
Builder<GetServiceLevelObjectiveRequest,ServiceLevelObjective>

getServiceSettings()

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

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

Returns
TypeDescription
Builder<GetServiceRequest,Service>

getStubSettingsBuilder()

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

listServiceLevelObjectivesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListServicesRequest,ListServicesResponse,ListServicesPagedResponse>

updateServiceLevelObjectiveSettings()

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

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

Returns
TypeDescription
Builder<UpdateServiceLevelObjectiveRequest,ServiceLevelObjective>

updateServiceSettings()

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

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

Returns
TypeDescription
Builder<UpdateServiceRequest,Service>