public static class ServiceMonitoringServiceStubSettings.Builder extends StubSettings.Builder<ServiceMonitoringServiceStubSettings,ServiceMonitoringServiceStubSettings.Builder>
Builder for ServiceMonitoringServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(ServiceMonitoringServiceStubSettings settings)
protected Builder(ServiceMonitoringServiceStubSettings settings)
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.
build()
public ServiceMonitoringServiceStubSettings build()
Overrides
createServiceLevelObjectiveSettings()
public UnaryCallSettings.Builder<CreateServiceLevelObjectiveRequest,ServiceLevelObjective> createServiceLevelObjectiveSettings()
Returns the builder for the settings used for calls to createServiceLevelObjective.
createServiceSettings()
public UnaryCallSettings.Builder<CreateServiceRequest,Service> createServiceSettings()
Returns the builder for the settings used for calls to createService.
deleteServiceLevelObjectiveSettings()
public UnaryCallSettings.Builder<DeleteServiceLevelObjectiveRequest,Empty> deleteServiceLevelObjectiveSettings()
Returns the builder for the settings used for calls to deleteServiceLevelObjective.
deleteServiceSettings()
public UnaryCallSettings.Builder<DeleteServiceRequest,Empty> deleteServiceSettings()
Returns the builder for the settings used for calls to deleteService.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getServiceLevelObjectiveSettings()
public UnaryCallSettings.Builder<GetServiceLevelObjectiveRequest,ServiceLevelObjective> getServiceLevelObjectiveSettings()
Returns the builder for the settings used for calls to getServiceLevelObjective.
getServiceSettings()
public UnaryCallSettings.Builder<GetServiceRequest,Service> getServiceSettings()
Returns the builder for the settings used for calls to getService.
listServiceLevelObjectivesSettings()
public PagedCallSettings.Builder<ListServiceLevelObjectivesRequest,ListServiceLevelObjectivesResponse,ServiceMonitoringServiceClient.ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings()
Returns the builder for the settings used for calls to listServiceLevelObjectives.
listServicesSettings()
public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,ServiceMonitoringServiceClient.ListServicesPagedResponse> listServicesSettings()
Returns the builder for the settings used for calls to listServices.
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.
updateServiceSettings()
public UnaryCallSettings.Builder<UpdateServiceRequest,Service> updateServiceSettings()
Returns the builder for the settings used for calls to updateService.