Class VpcAccessServiceStubSettings.Builder (2.15.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
NameDescription
clientContextClientContext

Builder(VpcAccessServiceStubSettings settings)

protected Builder(VpcAccessServiceStubSettings settings)
Parameter
NameDescription
settingsVpcAccessServiceStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

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