Class EventServiceSettings.Builder (2.10.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
NameDescription
clientContextClientContext

Builder(EventServiceSettings settings)

protected Builder(EventServiceSettings settings)
Parameter
NameDescription
settingsEventServiceSettings

Builder(EventServiceStubSettings.Builder stubSettings)

protected Builder(EventServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsEventServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
EventServiceSettings.Builder

build()

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

getStubSettingsBuilder()

public EventServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
EventServiceStubSettings.Builder