Class ConnectionServiceStubSettings.Builder (2.52.0)

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

Builder for ConnectionServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ConnectionServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ConnectionServiceStubSettings settings)

protected Builder(ConnectionServiceStubSettings settings)
Parameter
Name Description
settings ConnectionServiceStubSettings

Methods

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

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

build()

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

listConnectionsSettings()

public PagedCallSettings.Builder<ListConnectionsRequest,ListConnectionsResponse,ConnectionServiceClient.ListConnectionsPagedResponse> listConnectionsSettings()

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

Returns
Type Description
Builder<ListConnectionsRequest,ListConnectionsResponse,ListConnectionsPagedResponse>

unaryMethodSettingsBuilders()

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