Class MessagesV1Beta3StubSettings.Builder (0.19.0)

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

Builder for MessagesV1Beta3StubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > MessagesV1Beta3StubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(MessagesV1Beta3StubSettings settings)

protected Builder(MessagesV1Beta3StubSettings settings)
Parameter
NameDescription
settingsMessagesV1Beta3StubSettings

Methods

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

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

build()

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

listJobMessagesSettings()

public PagedCallSettings.Builder<ListJobMessagesRequest,ListJobMessagesResponse,MessagesV1Beta3Client.ListJobMessagesPagedResponse> listJobMessagesSettings()

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

Returns
TypeDescription
Builder<ListJobMessagesRequest,ListJobMessagesResponse,ListJobMessagesPagedResponse>

unaryMethodSettingsBuilders()

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