Class SnoozeServiceStubSettings.Builder (3.44.0)

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

Builder for SnoozeServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SnoozeServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SnoozeServiceStubSettings settings)

protected Builder(SnoozeServiceStubSettings settings)
Parameter
Name Description
settings SnoozeServiceStubSettings

Methods

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

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

build()

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

createSnoozeSettings()

public UnaryCallSettings.Builder<CreateSnoozeRequest,Snooze> createSnoozeSettings()

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

Returns
Type Description
Builder<CreateSnoozeRequest,Snooze>

getSnoozeSettings()

public UnaryCallSettings.Builder<GetSnoozeRequest,Snooze> getSnoozeSettings()

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

Returns
Type Description
Builder<GetSnoozeRequest,Snooze>

listSnoozesSettings()

public PagedCallSettings.Builder<ListSnoozesRequest,ListSnoozesResponse,SnoozeServiceClient.ListSnoozesPagedResponse> listSnoozesSettings()

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

Returns
Type Description
Builder<ListSnoozesRequest,ListSnoozesResponse,ListSnoozesPagedResponse>

unaryMethodSettingsBuilders()

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

updateSnoozeSettings()

public UnaryCallSettings.Builder<UpdateSnoozeRequest,Snooze> updateSnoozeSettings()

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

Returns
Type Description
Builder<UpdateSnoozeRequest,Snooze>