Class ConversationsSettings.Builder (4.7.5)

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

Builder for ConversationsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ConversationsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ConversationsSettings settings)

protected Builder(ConversationsSettings settings)
Parameter
NameDescription
settingsConversationsSettings

Builder(ConversationsStubSettings.Builder stubSettings)

protected Builder(ConversationsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsConversationsStubSettings.Builder

Methods

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

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

build()

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

completeConversationSettings()

public UnaryCallSettings.Builder<CompleteConversationRequest,Conversation> completeConversationSettings()

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

Returns
TypeDescription
Builder<CompleteConversationRequest,Conversation>

createConversationSettings()

public UnaryCallSettings.Builder<CreateConversationRequest,Conversation> createConversationSettings()

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

Returns
TypeDescription
Builder<CreateConversationRequest,Conversation>

getConversationSettings()

public UnaryCallSettings.Builder<GetConversationRequest,Conversation> getConversationSettings()

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

Returns
TypeDescription
Builder<GetConversationRequest,Conversation>

getStubSettingsBuilder()

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

listConversationsSettings()

public PagedCallSettings.Builder<ListConversationsRequest,ListConversationsResponse,ConversationsClient.ListConversationsPagedResponse> listConversationsSettings()

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

Returns
TypeDescription
Builder<ListConversationsRequest,ListConversationsResponse,ListConversationsPagedResponse>

listMessagesSettings()

public PagedCallSettings.Builder<ListMessagesRequest,ListMessagesResponse,ConversationsClient.ListMessagesPagedResponse> listMessagesSettings()

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

Returns
TypeDescription
Builder<ListMessagesRequest,ListMessagesResponse,ListMessagesPagedResponse>