public static class VpnTunnelSettings.Builder extends ClientSettings.Builder<VpnTunnelSettings,VpnTunnelSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(VpnTunnelSettings settings) |
protected |
Builder(VpnTunnelStubSettings.Builder stubSettings) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(VpnTunnelSettings settings)
protected Builder(VpnTunnelStubSettings.Builder stubSettings)
public VpnTunnelStubSettings.Builder getStubSettingsBuilder()
public VpnTunnelSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<AggregatedListVpnTunnelsHttpRequest,VpnTunnelAggregatedList,VpnTunnelClient.AggregatedListVpnTunnelsPagedResponse> aggregatedListVpnTunnelsSettings()
public UnaryCallSettings.Builder<DeleteVpnTunnelHttpRequest,Operation> deleteVpnTunnelSettings()
public UnaryCallSettings.Builder<GetVpnTunnelHttpRequest,VpnTunnel> getVpnTunnelSettings()
public UnaryCallSettings.Builder<InsertVpnTunnelHttpRequest,Operation> insertVpnTunnelSettings()
public PagedCallSettings.Builder<ListVpnTunnelsHttpRequest,VpnTunnelList,VpnTunnelClient.ListVpnTunnelsPagedResponse> listVpnTunnelsSettings()
public VpnTunnelSettings build() throws IOException
build
in class ClientSettings.Builder<VpnTunnelSettings,VpnTunnelSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.