Class VpnGatewaysSettings.Builder (1.52.0)

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

Builder for VpnGatewaysSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > VpnGatewaysSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(VpnGatewaysSettings settings)

protected Builder(VpnGatewaysSettings settings)
Parameter
Name Description
settings VpnGatewaysSettings

Builder(VpnGatewaysStubSettings.Builder stubSettings)

protected Builder(VpnGatewaysStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings VpnGatewaysStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListVpnGatewaysRequest,VpnGatewayAggregatedList,VpnGatewaysClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListVpnGatewaysRequest,VpnGatewayAggregatedList,AggregatedListPagedResponse>

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

public VpnGatewaysSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
VpnGatewaysSettings.Builder

build()

public VpnGatewaysSettings build()
Returns
Type Description
VpnGatewaysSettings
Overrides
Exceptions
Type Description
IOException

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteVpnGatewayRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteVpnGatewayRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetVpnGatewayRequest,VpnGateway> getSettings()

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

Returns
Type Description
Builder<GetVpnGatewayRequest,VpnGateway>

getStatusSettings()

public UnaryCallSettings.Builder<GetStatusVpnGatewayRequest,VpnGatewaysGetStatusResponse> getStatusSettings()

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

Returns
Type Description
Builder<GetStatusVpnGatewayRequest,VpnGatewaysGetStatusResponse>

getStubSettingsBuilder()

public VpnGatewaysStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
VpnGatewaysStubSettings.Builder

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertVpnGatewayRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertVpnGatewayRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListVpnGatewaysRequest,VpnGatewayList,VpnGatewaysClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListVpnGatewaysRequest,VpnGatewayList,ListPagedResponse>

setLabelsOperationSettings()

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

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

Returns
Type Description
Builder<SetLabelsVpnGatewayRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
Type Description
Builder<SetLabelsVpnGatewayRequest,Operation>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsVpnGatewayRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<TestIamPermissionsVpnGatewayRequest,TestPermissionsResponse>