Class VpnTunnelsStubSettings.Builder (1.50.0)

public static class VpnTunnelsStubSettings.Builder extends StubSettings.Builder<VpnTunnelsStubSettings,VpnTunnelsStubSettings.Builder>

Builder for VpnTunnelsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > VpnTunnelsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(VpnTunnelsStubSettings settings)

protected Builder(VpnTunnelsStubSettings settings)
Parameter
NameDescription
settingsVpnTunnelsStubSettings

Methods

aggregatedListSettings()

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

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

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

public VpnTunnelsStubSettings.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
VpnTunnelsStubSettings.Builder

build()

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

deleteOperationSettings()

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

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

deleteSettings()

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

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getSettings()

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

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

Returns
TypeDescription
Builder<GetVpnTunnelRequest,VpnTunnel>

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

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

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

setLabelsOperationSettings()

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

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

setLabelsSettings()

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

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

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>