@Generated(value="by gapic-generator") @BetaApi public class BackendServiceStubSettings extends StubSettings<BackendServiceStubSettings>
BackendServiceStub.
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 addSignedUrlKeyBackendService to 30 seconds:
BackendServiceStubSettings.Builder backendServiceSettingsBuilder =
BackendServiceStubSettings.newBuilder();
backendServiceSettingsBuilder.addSignedUrlKeyBackendServiceSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
BackendServiceStubSettings backendServiceSettings = backendServiceSettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
BackendServiceStubSettings.Builder
Builder for BackendServiceStubSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
BackendServiceStubSettings(BackendServiceStubSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toStringprotected BackendServiceStubSettings(BackendServiceStubSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic UnaryCallSettings<AddSignedUrlKeyBackendServiceHttpRequest,Operation> addSignedUrlKeyBackendServiceSettings()
public PagedCallSettings<AggregatedListBackendServicesHttpRequest,BackendServiceAggregatedList,BackendServiceClient.AggregatedListBackendServicesPagedResponse> aggregatedListBackendServicesSettings()
public UnaryCallSettings<DeleteBackendServiceHttpRequest,Operation> deleteBackendServiceSettings()
public UnaryCallSettings<DeleteSignedUrlKeyBackendServiceHttpRequest,Operation> deleteSignedUrlKeyBackendServiceSettings()
public UnaryCallSettings<GetBackendServiceHttpRequest,BackendService> getBackendServiceSettings()
public UnaryCallSettings<GetHealthBackendServiceHttpRequest,BackendServiceGroupHealth> getHealthBackendServiceSettings()
public UnaryCallSettings<InsertBackendServiceHttpRequest,Operation> insertBackendServiceSettings()
public PagedCallSettings<ListBackendServicesHttpRequest,BackendServiceList,BackendServiceClient.ListBackendServicesPagedResponse> listBackendServicesSettings()
public UnaryCallSettings<PatchBackendServiceHttpRequest,Operation> patchBackendServiceSettings()
public UnaryCallSettings<SetSecurityPolicyBackendServiceHttpRequest,Operation> setSecurityPolicyBackendServiceSettings()
public UnaryCallSettings<UpdateBackendServiceHttpRequest,Operation> updateBackendServiceSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public BackendServiceStub createStub() throws IOException
IOExceptionpublic 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 BackendServiceStubSettings.Builder newBuilder()
public static BackendServiceStubSettings.Builder newBuilder(ClientContext clientContext)
public BackendServiceStubSettings.Builder toBuilder()
toBuilder in class StubSettings<BackendServiceStubSettings>Copyright © 2019 Google LLC. All rights reserved.