Class ConversationHistorySettings.Builder (0.54.0)

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

Builder for ConversationHistorySettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ConversationHistorySettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ConversationHistorySettings settings)

protected Builder(ConversationHistorySettings settings)
Parameter
Name Description
settings ConversationHistorySettings

Builder(ConversationHistoryStubSettings.Builder stubSettings)

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

Methods

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

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

build()

public ConversationHistorySettings build()
Returns
Type Description
ConversationHistorySettings
Overrides
Exceptions
Type Description
IOException

deleteConversationSettings()

public UnaryCallSettings.Builder<DeleteConversationRequest,Empty> deleteConversationSettings()

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

Returns
Type Description
Builder<DeleteConversationRequest,Empty>

getConversationSettings()

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

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

Returns
Type Description
Builder<GetConversationRequest,Conversation>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

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

listConversationsSettings()

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

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

Returns
Type Description
Builder<ListConversationsRequest,ListConversationsResponse,ListConversationsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ConversationHistoryClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>