@Generated(value="by gapic-generator") @BetaApi public class RouterSettings extends ClientSettings<RouterSettings>
RouterClient
.
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 deleteRouter to 30 seconds:
RouterSettings.Builder routerSettingsBuilder =
RouterSettings.newBuilder();
routerSettingsBuilder.deleteRouterSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
RouterSettings routerSettings = routerSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
RouterSettings.Builder
Builder for RouterSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
RouterSettings(RouterSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected RouterSettings(RouterSettings.Builder settingsBuilder) throws IOException
IOException
public PagedCallSettings<AggregatedListRoutersHttpRequest,RouterAggregatedList,RouterClient.AggregatedListRoutersPagedResponse> aggregatedListRoutersSettings()
public UnaryCallSettings<DeleteRouterHttpRequest,Operation> deleteRouterSettings()
public UnaryCallSettings<GetRouterHttpRequest,Router> getRouterSettings()
public PagedCallSettings<GetNatMappingInfoRoutersHttpRequest,VmEndpointNatMappingsList,RouterClient.GetNatMappingInfoRoutersPagedResponse> getNatMappingInfoRoutersSettings()
public UnaryCallSettings<GetRouterStatusRouterHttpRequest,RouterStatusResponse> getRouterStatusRouterSettings()
public UnaryCallSettings<InsertRouterHttpRequest,Operation> insertRouterSettings()
public PagedCallSettings<ListRoutersHttpRequest,RouterList,RouterClient.ListRoutersPagedResponse> listRoutersSettings()
public UnaryCallSettings<PatchRouterHttpRequest,Operation> patchRouterSettings()
public UnaryCallSettings<PreviewRouterHttpRequest,RoutersPreviewResponse> previewRouterSettings()
public UnaryCallSettings<UpdateRouterHttpRequest,Operation> updateRouterSettings()
public static final RouterSettings create(RouterStubSettings 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 RouterSettings.Builder newBuilder()
public static RouterSettings.Builder newBuilder(ClientContext clientContext)
public RouterSettings.Builder toBuilder()
toBuilder
in class ClientSettings<RouterSettings>
Copyright © 2019 Google LLC. All rights reserved.