Class VpnGatewaysStubSettings.Builder (1.56.0)

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

Builder for VpnGatewaysStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > VpnGatewaysStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(VpnGatewaysStubSettings settings)

protected Builder(VpnGatewaysStubSettings settings)
Parameter
Name Description
settings VpnGatewaysStubSettings

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 VpnGatewaysStubSettings.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
VpnGatewaysStubSettings.Builder

build()

public VpnGatewaysStubSettings build()
Returns
Type Description
VpnGatewaysStubSettings
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>

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>

unaryMethodSettingsBuilders()

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