Class EventServiceSettings.Builder (2.49.0)

public static class EventServiceSettings.Builder extends ClientSettings.Builder<EventServiceSettings,EventServiceSettings.Builder>

Builder for EventServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EventServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EventServiceSettings settings)

protected Builder(EventServiceSettings settings)
Parameter
Name Description
settings EventServiceSettings

Builder(EventServiceStubSettings.Builder stubSettings)

protected Builder(EventServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings EventServiceStubSettings.Builder

Methods

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

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

build()

public EventServiceSettings build()
Returns
Type Description
EventServiceSettings
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>

getStubSettingsBuilder()

public EventServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
EventServiceStubSettings.Builder