Class VpnTunnelsSettings.Builder (1.39.0)

public static class VpnTunnelsSettings.Builder extends ClientSettings.Builder<VpnTunnelsSettings,VpnTunnelsSettings.Builder>

Builder for VpnTunnelsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > VpnTunnelsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(VpnTunnelsSettings settings)

protected Builder(VpnTunnelsSettings settings)
Parameter
NameDescription
settingsVpnTunnelsSettings

Builder(VpnTunnelsStubSettings.Builder stubSettings)

protected Builder(VpnTunnelsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsVpnTunnelsStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListVpnTunnelsRequest,VpnTunnelAggregatedList,VpnTunnelsClient.AggregatedListPagedResponse> aggregatedListSettings()

Returns the builder for the settings used for calls to aggregatedList.

Returns
TypeDescription
Builder<AggregatedListVpnTunnelsRequest,VpnTunnelAggregatedList,AggregatedListPagedResponse>

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public VpnTunnelsSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
VpnTunnelsSettings.Builder

build()

public VpnTunnelsSettings build()
Returns
TypeDescription
VpnTunnelsSettings
Overrides
Exceptions
TypeDescription
IOException

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteVpnTunnelRequest,Operation,Operation> deleteOperationSettings()

Returns the builder for the settings used for calls to delete.

Returns
TypeDescription
Builder<DeleteVpnTunnelRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteVpnTunnelRequest,Operation> deleteSettings()

Returns the builder for the settings used for calls to delete.

Returns
TypeDescription
Builder<DeleteVpnTunnelRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetVpnTunnelRequest,VpnTunnel> getSettings()

Returns the builder for the settings used for calls to get.

Returns
TypeDescription
Builder<GetVpnTunnelRequest,VpnTunnel>

getStubSettingsBuilder()

public VpnTunnelsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
VpnTunnelsStubSettings.Builder

insertOperationSettings()

public OperationCallSettings.Builder<InsertVpnTunnelRequest,Operation,Operation> insertOperationSettings()

Returns the builder for the settings used for calls to insert.

Returns
TypeDescription
Builder<InsertVpnTunnelRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertVpnTunnelRequest,Operation> insertSettings()

Returns the builder for the settings used for calls to insert.

Returns
TypeDescription
Builder<InsertVpnTunnelRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListVpnTunnelsRequest,VpnTunnelList,VpnTunnelsClient.ListPagedResponse> listSettings()

Returns the builder for the settings used for calls to list.

Returns
TypeDescription
Builder<ListVpnTunnelsRequest,VpnTunnelList,ListPagedResponse>

setLabelsOperationSettings()

public OperationCallSettings.Builder<SetLabelsVpnTunnelRequest,Operation,Operation> setLabelsOperationSettings()

Returns the builder for the settings used for calls to setLabels.

Returns
TypeDescription
Builder<SetLabelsVpnTunnelRequest,Operation,Operation>

setLabelsSettings()

public UnaryCallSettings.Builder<SetLabelsVpnTunnelRequest,Operation> setLabelsSettings()

Returns the builder for the settings used for calls to setLabels.

Returns
TypeDescription
Builder<SetLabelsVpnTunnelRequest,Operation>