@Generated(value="by gapic-generator") @BetaApi public class HealthCheckStubSettings extends StubSettings<HealthCheckStubSettings>
HealthCheckStub
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object. For example, to set the total timeout of deleteHealthCheck to 30 seconds:
HealthCheckStubSettings.Builder healthCheckSettingsBuilder =
HealthCheckStubSettings.newBuilder();
healthCheckSettingsBuilder.deleteHealthCheckSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
HealthCheckStubSettings healthCheckSettings = healthCheckSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
HealthCheckStubSettings.Builder
Builder for HealthCheckStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
HealthCheckStubSettings(HealthCheckStubSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
protected HealthCheckStubSettings(HealthCheckStubSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<DeleteHealthCheckHttpRequest,Operation> deleteHealthCheckSettings()
public UnaryCallSettings<GetHealthCheckHttpRequest,HealthCheck> getHealthCheckSettings()
public UnaryCallSettings<InsertHealthCheckHttpRequest,Operation> insertHealthCheckSettings()
public PagedCallSettings<ListHealthChecksHttpRequest,HealthCheckList,HealthCheckClient.ListHealthChecksPagedResponse> listHealthChecksSettings()
public UnaryCallSettings<PatchHealthCheckHttpRequest,Operation> patchHealthCheckSettings()
public UnaryCallSettings<UpdateHealthCheckHttpRequest,Operation> updateHealthCheckSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public HealthCheckStub createStub() throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static int getDefaultServicePort()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static HealthCheckStubSettings.Builder newBuilder()
public static HealthCheckStubSettings.Builder newBuilder(ClientContext clientContext)
public HealthCheckStubSettings.Builder toBuilder()
toBuilder
in class StubSettings<HealthCheckStubSettings>
Copyright © 2019 Google LLC. All rights reserved.