public static class UptimeCheckServiceSettings.Builder extends ClientSettings.Builder<UptimeCheckServiceSettings,UptimeCheckServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(UptimeCheckServiceSettings settings) |
protected |
Builder(UptimeCheckServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
UptimeCheckServiceSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
UptimeCheckServiceSettings |
build() |
UnaryCallSettings.Builder<com.google.monitoring.v3.CreateUptimeCheckConfigRequest,com.google.monitoring.v3.UptimeCheckConfig> |
createUptimeCheckConfigSettings()
Returns the builder for the settings used for calls to createUptimeCheckConfig.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.DeleteUptimeCheckConfigRequest,Empty> |
deleteUptimeCheckConfigSettings()
Returns the builder for the settings used for calls to deleteUptimeCheckConfig.
|
UptimeCheckServiceStubSettings.Builder |
getStubSettingsBuilder() |
UnaryCallSettings.Builder<com.google.monitoring.v3.GetUptimeCheckConfigRequest,com.google.monitoring.v3.UptimeCheckConfig> |
getUptimeCheckConfigSettings()
Returns the builder for the settings used for calls to getUptimeCheckConfig.
|
PagedCallSettings.Builder<com.google.monitoring.v3.ListUptimeCheckConfigsRequest,com.google.monitoring.v3.ListUptimeCheckConfigsResponse,UptimeCheckServiceClient.ListUptimeCheckConfigsPagedResponse> |
listUptimeCheckConfigsSettings()
Returns the builder for the settings used for calls to listUptimeCheckConfigs.
|
PagedCallSettings.Builder<com.google.monitoring.v3.ListUptimeCheckIpsRequest,com.google.monitoring.v3.ListUptimeCheckIpsResponse,UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse> |
listUptimeCheckIpsSettings()
Returns the builder for the settings used for calls to listUptimeCheckIps.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.UpdateUptimeCheckConfigRequest,com.google.monitoring.v3.UptimeCheckConfig> |
updateUptimeCheckConfigSettings()
Returns the builder for the settings used for calls to updateUptimeCheckConfig.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(UptimeCheckServiceSettings settings)
protected Builder(UptimeCheckServiceStubSettings.Builder stubSettings)
public UptimeCheckServiceStubSettings.Builder getStubSettingsBuilder()
public UptimeCheckServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<com.google.monitoring.v3.ListUptimeCheckConfigsRequest,com.google.monitoring.v3.ListUptimeCheckConfigsResponse,UptimeCheckServiceClient.ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.GetUptimeCheckConfigRequest,com.google.monitoring.v3.UptimeCheckConfig> getUptimeCheckConfigSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.CreateUptimeCheckConfigRequest,com.google.monitoring.v3.UptimeCheckConfig> createUptimeCheckConfigSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.UpdateUptimeCheckConfigRequest,com.google.monitoring.v3.UptimeCheckConfig> updateUptimeCheckConfigSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.DeleteUptimeCheckConfigRequest,Empty> deleteUptimeCheckConfigSettings()
public PagedCallSettings.Builder<com.google.monitoring.v3.ListUptimeCheckIpsRequest,com.google.monitoring.v3.ListUptimeCheckIpsResponse,UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse> listUptimeCheckIpsSettings()
public UptimeCheckServiceSettings build() throws IOException
build
in class ClientSettings.Builder<UptimeCheckServiceSettings,UptimeCheckServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.