Class VpcAccessServiceSettings.Builder (2.43.0)

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

Builder for VpcAccessServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > VpcAccessServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(VpcAccessServiceSettings settings)

protected Builder(VpcAccessServiceSettings settings)
Parameter
Name Description
settings VpcAccessServiceSettings

Builder(VpcAccessServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createConnectorOperationSettings()

public OperationCallSettings.Builder<CreateConnectorRequest,Connector,OperationMetadata> createConnectorOperationSettings()

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

Returns
Type Description
Builder<CreateConnectorRequest,Connector,OperationMetadata>

createConnectorSettings()

public UnaryCallSettings.Builder<CreateConnectorRequest,Operation> createConnectorSettings()

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

Returns
Type Description
Builder<CreateConnectorRequest,Operation>

deleteConnectorOperationSettings()

public OperationCallSettings.Builder<DeleteConnectorRequest,Empty,OperationMetadata> deleteConnectorOperationSettings()

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

Returns
Type Description
Builder<DeleteConnectorRequest,Empty,OperationMetadata>

deleteConnectorSettings()

public UnaryCallSettings.Builder<DeleteConnectorRequest,Operation> deleteConnectorSettings()

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

Returns
Type Description
Builder<DeleteConnectorRequest,Operation>

getConnectorSettings()

public UnaryCallSettings.Builder<GetConnectorRequest,Connector> getConnectorSettings()

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

Returns
Type Description
Builder<GetConnectorRequest,Connector>

getStubSettingsBuilder()

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

listConnectorsSettings()

public PagedCallSettings.Builder<ListConnectorsRequest,ListConnectorsResponse,VpcAccessServiceClient.ListConnectorsPagedResponse> listConnectorsSettings()

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

Returns
Type Description
Builder<ListConnectorsRequest,ListConnectorsResponse,ListConnectorsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,VpcAccessServiceClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>