public static class HealthCheckStubSettings.Builder extends StubSettings.Builder<HealthCheckStubSettings,HealthCheckStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(HealthCheckStubSettings settings) |
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(HealthCheckStubSettings settings)
public HealthCheckStubSettings.Builder applyToAllUnaryMethods(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 UnaryCallSettings.Builder<DeleteHealthCheckHttpRequest,Operation> deleteHealthCheckSettings()
public UnaryCallSettings.Builder<GetHealthCheckHttpRequest,HealthCheck> getHealthCheckSettings()
public UnaryCallSettings.Builder<InsertHealthCheckHttpRequest,Operation> insertHealthCheckSettings()
public PagedCallSettings.Builder<ListHealthChecksHttpRequest,HealthCheckList,HealthCheckClient.ListHealthChecksPagedResponse> listHealthChecksSettings()
public UnaryCallSettings.Builder<PatchHealthCheckHttpRequest,Operation> patchHealthCheckSettings()
public UnaryCallSettings.Builder<UpdateHealthCheckHttpRequest,Operation> updateHealthCheckSettings()
public HealthCheckStubSettings build() throws IOException
build
in class StubSettings.Builder<HealthCheckStubSettings,HealthCheckStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.