public static class UptimeCheckServiceStubSettings.Builder extends StubSettings.Builder<UptimeCheckServiceStubSettings,UptimeCheckServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(UptimeCheckServiceStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
UptimeCheckServiceStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
UptimeCheckServiceStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(UptimeCheckServiceStubSettings settings)
public UptimeCheckServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 UptimeCheckServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<UptimeCheckServiceStubSettings,UptimeCheckServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.