@Generated(value="by gapic-generator") @BetaApi public class VpnTunnelSettings extends com.google.api.gax.rpc.ClientSettings<VpnTunnelSettings>
VpnTunnelClient
.
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 deleteVpnTunnel to 30 seconds:
VpnTunnelSettings.Builder vpnTunnelSettingsBuilder =
VpnTunnelSettings.newBuilder();
vpnTunnelSettingsBuilder.deleteVpnTunnelSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
VpnTunnelSettings vpnTunnelSettings = vpnTunnelSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
VpnTunnelSettings.Builder
Builder for VpnTunnelSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
VpnTunnelSettings(VpnTunnelSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.PagedCallSettings<AggregatedListVpnTunnelsHttpRequest,VpnTunnelAggregatedList,VpnTunnelClient.AggregatedListVpnTunnelsPagedResponse> |
aggregatedListVpnTunnelsSettings()
Returns the object with the settings used for calls to aggregatedListVpnTunnels.
|
static VpnTunnelSettings |
create(VpnTunnelStubSettings stub) |
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.UnaryCallSettings<DeleteVpnTunnelHttpRequest,Operation> |
deleteVpnTunnelSettings()
Returns the object with the settings used for calls to deleteVpnTunnel.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static int |
getDefaultServicePort()
Returns the default service port.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetVpnTunnelHttpRequest,VpnTunnel> |
getVpnTunnelSettings()
Returns the object with the settings used for calls to getVpnTunnel.
|
com.google.api.gax.rpc.UnaryCallSettings<InsertVpnTunnelHttpRequest,Operation> |
insertVpnTunnelSettings()
Returns the object with the settings used for calls to insertVpnTunnel.
|
com.google.api.gax.rpc.PagedCallSettings<ListVpnTunnelsHttpRequest,VpnTunnelList,VpnTunnelClient.ListVpnTunnelsPagedResponse> |
listVpnTunnelsSettings()
Returns the object with the settings used for calls to listVpnTunnels.
|
static VpnTunnelSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static VpnTunnelSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
VpnTunnelSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
protected VpnTunnelSettings(VpnTunnelSettings.Builder settingsBuilder) throws IOException
IOException
public com.google.api.gax.rpc.PagedCallSettings<AggregatedListVpnTunnelsHttpRequest,VpnTunnelAggregatedList,VpnTunnelClient.AggregatedListVpnTunnelsPagedResponse> aggregatedListVpnTunnelsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteVpnTunnelHttpRequest,Operation> deleteVpnTunnelSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetVpnTunnelHttpRequest,VpnTunnel> getVpnTunnelSettings()
public com.google.api.gax.rpc.UnaryCallSettings<InsertVpnTunnelHttpRequest,Operation> insertVpnTunnelSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListVpnTunnelsHttpRequest,VpnTunnelList,VpnTunnelClient.ListVpnTunnelsPagedResponse> listVpnTunnelsSettings()
public static final VpnTunnelSettings create(VpnTunnelStubSettings stub) throws IOException
IOException
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static int getDefaultServicePort()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static VpnTunnelSettings.Builder newBuilder()
public static VpnTunnelSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public VpnTunnelSettings.Builder toBuilder()
toBuilder
in class com.google.api.gax.rpc.ClientSettings<VpnTunnelSettings>
Copyright © 2019 Google LLC. All rights reserved.