Class ConnectionServiceStubSettings.Builder (2.3.5)

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
NameDescription
clientContextClientContext

Builder(ConnectionServiceStubSettings settings)

protected Builder(ConnectionServiceStubSettings settings)
Parameter
NameDescription
settingsConnectionServiceStubSettings

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

build()

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

listConnectionsSettings()

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

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

Returns
TypeDescription
Builder<ListConnectionsRequest,ListConnectionsResponse,ListConnectionsPagedResponse>

unaryMethodSettingsBuilders()

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