Class VpcAccessServiceSettings.Builder (2.12.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
NameDescription
clientContextClientContext

Builder(VpcAccessServiceSettings settings)

protected Builder(VpcAccessServiceSettings settings)
Parameter
NameDescription
settingsVpcAccessServiceSettings

Builder(VpcAccessServiceStubSettings.Builder stubSettings)

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

build()

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

createConnectorOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateConnectorRequest,Connector,OperationMetadata>

createConnectorSettings()

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

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

Returns
TypeDescription
Builder<CreateConnectorRequest,Operation>

deleteConnectorOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteConnectorRequest,Empty,OperationMetadata>

deleteConnectorSettings()

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

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

Returns
TypeDescription
Builder<DeleteConnectorRequest,Operation>

getConnectorSettings()

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

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

Returns
TypeDescription
Builder<GetConnectorRequest,Connector>

getStubSettingsBuilder()

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

listConnectorsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>