Class ConversationHistoryStubSettings.Builder (0.58.0)

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

Builder for ConversationHistoryStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ConversationHistoryStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ConversationHistoryStubSettings settings)

protected Builder(ConversationHistoryStubSettings settings)
Parameter
Name Description
settings ConversationHistoryStubSettings

Methods

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

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

build()

public ConversationHistoryStubSettings build()
Returns
Type Description
ConversationHistoryStubSettings
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>

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>

unaryMethodSettingsBuilders()

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