Class ExternalVpnGatewaysStubSettings.Builder (1.11.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
NameDescription
clientContextClientContext

Builder(ExternalVpnGatewaysStubSettings settings)

protected Builder(ExternalVpnGatewaysStubSettings settings)
Parameter
NameDescription
settingsExternalVpnGatewaysStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ExternalVpnGatewaysStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

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