Class ServiceHealthSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<ServiceHealthSettings,ServiceHealthSettings.Builder>
com.google.cloud.servicehealth.v1.ServiceHealthSettings.Builder
- Enclosing class:
- ServiceHealthSettings
public static class ServiceHealthSettings.Builder
extends ClientSettings.Builder<ServiceHealthSettings,ServiceHealthSettings.Builder>
Builder for ServiceHealthSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ServiceHealthSettings settings) protectedBuilder(ServiceHealthStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to getEvent.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getOrganizationEvent.Returns the builder for the settings used for calls to getOrganizationImpact.PagedCallSettings.Builder<ListEventsRequest,ListEventsResponse, ServiceHealthClient.ListEventsPagedResponse> Returns the builder for the settings used for calls to listEvents.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, ServiceHealthClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListOrganizationEventsRequest,ListOrganizationEventsResponse, ServiceHealthClient.ListOrganizationEventsPagedResponse> Returns the builder for the settings used for calls to listOrganizationEvents.PagedCallSettings.Builder<ListOrganizationImpactsRequest,ListOrganizationImpactsResponse, ServiceHealthClient.ListOrganizationImpactsPagedResponse> Returns the builder for the settings used for calls to listOrganizationImpacts.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public ServiceHealthSettings.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.
-
listEventsSettings
public PagedCallSettings.Builder<ListEventsRequest,ListEventsResponse, listEventsSettings()ServiceHealthClient.ListEventsPagedResponse> Returns the builder for the settings used for calls to listEvents. -
getEventSettings
Returns the builder for the settings used for calls to getEvent. -
listOrganizationEventsSettings
public PagedCallSettings.Builder<ListOrganizationEventsRequest,ListOrganizationEventsResponse, listOrganizationEventsSettings()ServiceHealthClient.ListOrganizationEventsPagedResponse> Returns the builder for the settings used for calls to listOrganizationEvents. -
getOrganizationEventSettings
public UnaryCallSettings.Builder<GetOrganizationEventRequest,OrganizationEvent> getOrganizationEventSettings()Returns the builder for the settings used for calls to getOrganizationEvent. -
listOrganizationImpactsSettings
public PagedCallSettings.Builder<ListOrganizationImpactsRequest,ListOrganizationImpactsResponse, listOrganizationImpactsSettings()ServiceHealthClient.ListOrganizationImpactsPagedResponse> Returns the builder for the settings used for calls to listOrganizationImpacts. -
getOrganizationImpactSettings
public UnaryCallSettings.Builder<GetOrganizationImpactRequest,OrganizationImpact> getOrganizationImpactSettings()Returns the builder for the settings used for calls to getOrganizationImpact. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()ServiceHealthClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classClientSettings.Builder<ServiceHealthSettings,ServiceHealthSettings.Builder> - Throws:
IOException
-