public static class ConversationsSettings.Builder extends ClientSettings.Builder<ConversationsSettings,ConversationsSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ConversationsSettings settings) |
protected |
Builder(ConversationsStubSettings.Builder stubSettings) |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(ConversationsSettings settings)
protected Builder(ConversationsStubSettings.Builder stubSettings)
public ConversationsStubSettings.Builder getStubSettingsBuilder()
public ConversationsSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public UnaryCallSettings.Builder<CreateConversationRequest,Conversation> createConversationSettings()
public PagedCallSettings.Builder<ListConversationsRequest,ListConversationsResponse,ConversationsClient.ListConversationsPagedResponse> listConversationsSettings()
public UnaryCallSettings.Builder<GetConversationRequest,Conversation> getConversationSettings()
public UnaryCallSettings.Builder<CompleteConversationRequest,Conversation> completeConversationSettings()
public UnaryCallSettings.Builder<BatchCreateMessagesRequest,BatchCreateMessagesResponse> batchCreateMessagesSettings()
public PagedCallSettings.Builder<ListMessagesRequest,ListMessagesResponse,ConversationsClient.ListMessagesPagedResponse> listMessagesSettings()
public UnaryCallSettings.Builder<SuggestConversationSummaryRequest,SuggestConversationSummaryResponse> suggestConversationSummarySettings()
public PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ConversationsClient.ListLocationsPagedResponse> listLocationsSettings()
public UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public ConversationsSettings build() throws IOException
build
in class ClientSettings.Builder<ConversationsSettings,ConversationsSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.