@Generated(value="by gapic-generator") @BetaApi public class RegionDiskSettings extends ClientSettings<RegionDiskSettings>
RegionDiskClient
.
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 createSnapshotRegionDisk to 30 seconds:
RegionDiskSettings.Builder regionDiskSettingsBuilder =
RegionDiskSettings.newBuilder();
regionDiskSettingsBuilder.createSnapshotRegionDiskSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
RegionDiskSettings regionDiskSettings = regionDiskSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
RegionDiskSettings.Builder
Builder for RegionDiskSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
RegionDiskSettings(RegionDiskSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected RegionDiskSettings(RegionDiskSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<CreateSnapshotRegionDiskHttpRequest,Operation> createSnapshotRegionDiskSettings()
public UnaryCallSettings<DeleteRegionDiskHttpRequest,Operation> deleteRegionDiskSettings()
public UnaryCallSettings<GetRegionDiskHttpRequest,Disk> getRegionDiskSettings()
public UnaryCallSettings<InsertRegionDiskHttpRequest,Operation> insertRegionDiskSettings()
public PagedCallSettings<ListRegionDisksHttpRequest,DiskList,RegionDiskClient.ListRegionDisksPagedResponse> listRegionDisksSettings()
public UnaryCallSettings<ResizeRegionDiskHttpRequest,Operation> resizeRegionDiskSettings()
public UnaryCallSettings<SetLabelsRegionDiskHttpRequest,Operation> setLabelsRegionDiskSettings()
public UnaryCallSettings<TestIamPermissionsRegionDiskHttpRequest,TestPermissionsResponse> testIamPermissionsRegionDiskSettings()
public static final RegionDiskSettings create(RegionDiskStubSettings stub) 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 RegionDiskSettings.Builder newBuilder()
public static RegionDiskSettings.Builder newBuilder(ClientContext clientContext)
public RegionDiskSettings.Builder toBuilder()
toBuilder
in class ClientSettings<RegionDiskSettings>
Copyright © 2019 Google LLC. All rights reserved.