Class EventServiceStubSettings.Builder (2.17.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
NameDescription
clientContextClientContext

Builder(EventServiceStubSettings settings)

protected Builder(EventServiceStubSettings settings)
Parameter
NameDescription
settingsEventServiceStubSettings

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

build()

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

createClientEventSettings()

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

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

Returns
TypeDescription
Builder<CreateClientEventRequest,ClientEvent>

unaryMethodSettingsBuilders()

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