Class MessagesV1Beta3Settings.Builder (0.28.0)

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

Builder for MessagesV1Beta3Settings.

Inheritance

java.lang.Object > ClientSettings.Builder > MessagesV1Beta3Settings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(MessagesV1Beta3Settings settings)

protected Builder(MessagesV1Beta3Settings settings)
Parameter
NameDescription
settingsMessagesV1Beta3Settings

Builder(MessagesV1Beta3StubSettings.Builder stubSettings)

protected Builder(MessagesV1Beta3StubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsMessagesV1Beta3StubSettings.Builder

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>