Class ExternalVpnGatewaysStubSettings.Builder (1.55.0)

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

Builder for ExternalVpnGatewaysStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ExternalVpnGatewaysStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ExternalVpnGatewaysStubSettings settings)

protected Builder(ExternalVpnGatewaysStubSettings settings)
Parameter
Name Description
settings ExternalVpnGatewaysStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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