Class SnoozeServiceSettings.Builder (3.9.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
NameDescription
clientContextClientContext

Builder(SnoozeServiceSettings settings)

protected Builder(SnoozeServiceSettings settings)
Parameter
NameDescription
settingsSnoozeServiceSettings

Builder(SnoozeServiceStubSettings.Builder stubSettings)

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

build()

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

createSnoozeSettings()

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

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

Returns
TypeDescription
Builder<CreateSnoozeRequest,Snooze>

getSnoozeSettings()

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

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

Returns
TypeDescription
Builder<GetSnoozeRequest,Snooze>

getStubSettingsBuilder()

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

listSnoozesSettings()

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

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

Returns
TypeDescription
Builder<ListSnoozesRequest,ListSnoozesResponse,ListSnoozesPagedResponse>

updateSnoozeSettings()

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

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

Returns
TypeDescription
Builder<UpdateSnoozeRequest,Snooze>