@Generated(value="by gapic-generator") @BetaApi public class BackendBucketSettings extends ClientSettings<BackendBucketSettings>
BackendBucketClient
.
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 addSignedUrlKeyBackendBucket to 30 seconds:
BackendBucketSettings.Builder backendBucketSettingsBuilder =
BackendBucketSettings.newBuilder();
backendBucketSettingsBuilder.addSignedUrlKeyBackendBucketSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
BackendBucketSettings backendBucketSettings = backendBucketSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
BackendBucketSettings.Builder
Builder for BackendBucketSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
BackendBucketSettings(BackendBucketSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected BackendBucketSettings(BackendBucketSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<AddSignedUrlKeyBackendBucketHttpRequest,Operation> addSignedUrlKeyBackendBucketSettings()
public UnaryCallSettings<DeleteBackendBucketHttpRequest,Operation> deleteBackendBucketSettings()
public UnaryCallSettings<DeleteSignedUrlKeyBackendBucketHttpRequest,Operation> deleteSignedUrlKeyBackendBucketSettings()
public UnaryCallSettings<GetBackendBucketHttpRequest,BackendBucket> getBackendBucketSettings()
public UnaryCallSettings<InsertBackendBucketHttpRequest,Operation> insertBackendBucketSettings()
public PagedCallSettings<ListBackendBucketsHttpRequest,BackendBucketList,BackendBucketClient.ListBackendBucketsPagedResponse> listBackendBucketsSettings()
public UnaryCallSettings<PatchBackendBucketHttpRequest,Operation> patchBackendBucketSettings()
public UnaryCallSettings<UpdateBackendBucketHttpRequest,Operation> updateBackendBucketSettings()
public static final BackendBucketSettings create(BackendBucketStubSettings 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 BackendBucketSettings.Builder newBuilder()
public static BackendBucketSettings.Builder newBuilder(ClientContext clientContext)
public BackendBucketSettings.Builder toBuilder()
toBuilder
in class ClientSettings<BackendBucketSettings>
Copyright © 2019 Google LLC. All rights reserved.