Class ExternalVpnGatewaysSettings.Builder (1.58.0)

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

Builder for ExternalVpnGatewaysSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ExternalVpnGatewaysSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ExternalVpnGatewaysSettings settings)

protected Builder(ExternalVpnGatewaysSettings settings)
Parameter
Name Description
settings ExternalVpnGatewaysSettings

Builder(ExternalVpnGatewaysStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteExternalVpnGatewayRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteExternalVpnGatewayRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetExternalVpnGatewayRequest,ExternalVpnGateway> getSettings()

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

Returns
Type Description
Builder<GetExternalVpnGatewayRequest,ExternalVpnGateway>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertExternalVpnGatewayRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertExternalVpnGatewayRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListExternalVpnGatewaysRequest,ExternalVpnGatewayList,ExternalVpnGatewaysClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListExternalVpnGatewaysRequest,ExternalVpnGatewayList,ListPagedResponse>

setLabelsOperationSettings()

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

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

Returns
Type Description
Builder<SetLabelsExternalVpnGatewayRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
Type Description
Builder<SetLabelsExternalVpnGatewayRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsExternalVpnGatewayRequest,TestPermissionsResponse>