Class ServiceMonitoringServiceSettings.Builder (3.3.4)

See more code actions.
public static class ServiceMonitoringServiceSettings.Builder extends ClientSettings.Builder<ServiceMonitoringServiceSettings,ServiceMonitoringServiceSettings.Builder>

Builder for ServiceMonitoringServiceSettings.

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

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

build()

public ServiceMonitoringServiceSettings build()
Returns Overrides Exceptions
TypeDescription
IOException

createServiceLevelObjectiveSettings()

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

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

Returns

createServiceSettings()

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

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

Returns

deleteServiceLevelObjectiveSettings()

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

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

Returns

deleteServiceSettings()

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

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

Returns

getServiceLevelObjectiveSettings()

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

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

Returns

getServiceSettings()

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

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

Returns

getStubSettingsBuilder()

public ServiceMonitoringServiceStubSettings.Builder getStubSettingsBuilder()
Returns

listServiceLevelObjectivesSettings()

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

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

Returns

listServicesSettings()

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

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

Returns

updateServiceLevelObjectiveSettings()

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

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

Returns

updateServiceSettings()

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

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

Returns