Class ServiceMonitoringServiceStubSettings.Builder (3.19.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
NameDescription
clientContextClientContext

Builder(ServiceMonitoringServiceStubSettings settings)

protected Builder(ServiceMonitoringServiceStubSettings settings)
Parameter
NameDescription
settingsServiceMonitoringServiceStubSettings

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

build()

public ServiceMonitoringServiceStubSettings build()
Returns
TypeDescription
ServiceMonitoringServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
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>