Class ExternalVpnGatewaysSettings.Builder (1.26.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
NameDescription
clientContextClientContext

Builder(ExternalVpnGatewaysSettings settings)

protected Builder(ExternalVpnGatewaysSettings settings)
Parameter
NameDescription
settingsExternalVpnGatewaysSettings

Builder(ExternalVpnGatewaysStubSettings.Builder stubSettings)

protected Builder(ExternalVpnGatewaysStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsExternalVpnGatewaysStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ExternalVpnGatewaysSettings.Builder

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteExternalVpnGatewayRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteExternalVpnGatewayRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetExternalVpnGatewayRequest,ExternalVpnGateway>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertExternalVpnGatewayRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertExternalVpnGatewayRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListExternalVpnGatewaysRequest,ExternalVpnGatewayList,ListPagedResponse>

setLabelsOperationSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsExternalVpnGatewayRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsExternalVpnGatewayRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsExternalVpnGatewayRequest,TestPermissionsResponse>