Class EventServiceStubSettings.Builder (2.43.0)

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

Builder for EventServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > EventServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EventServiceStubSettings settings)

protected Builder(EventServiceStubSettings settings)
Parameter
Name Description
settings EventServiceStubSettings

Methods

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

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

build()

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

createClientEventSettings()

public UnaryCallSettings.Builder<CreateClientEventRequest,ClientEvent> createClientEventSettings()

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

Returns
Type Description
Builder<CreateClientEventRequest,ClientEvent>

unaryMethodSettingsBuilders()

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