Class VpcAccessServiceStubSettings.Builder (2.52.0)

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

Builder for VpcAccessServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > VpcAccessServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(VpcAccessServiceStubSettings settings)

protected Builder(VpcAccessServiceStubSettings settings)
Parameter
Name Description
settings VpcAccessServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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