Class SnoozeServiceSettings.Builder (3.55.0)

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

Builder for SnoozeServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SnoozeServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SnoozeServiceSettings settings)

protected Builder(SnoozeServiceSettings settings)
Parameter
Name Description
settings SnoozeServiceSettings

Builder(SnoozeServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>

updateSnoozeSettings()

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

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

Returns
Type Description
Builder<UpdateSnoozeRequest,Snooze>