Class ConversationalSearchServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ConversationalSearchServiceSettings,ConversationalSearchServiceSettings.Builder>
-
- com.google.cloud.discoveryengine.v1beta.ConversationalSearchServiceSettings.Builder
-
- Enclosing class:
- ConversationalSearchServiceSettings
public static class ConversationalSearchServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ConversationalSearchServiceSettings,ConversationalSearchServiceSettings.Builder>
Builder for ConversationalSearchServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ConversationalSearchServiceSettings settings)
protected
Builder(ConversationalSearchServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationalSearchServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ConversationalSearchServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<ConverseConversationRequest,ConverseConversationResponse>
converseConversationSettings()
Returns the builder for the settings used for calls to converseConversation.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConversationRequest,Conversation>
createConversationSettings()
Returns the builder for the settings used for calls to createConversation.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteConversationRequest,com.google.protobuf.Empty>
deleteConversationSettings()
Returns the builder for the settings used for calls to deleteConversation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConversationRequest,Conversation>
getConversationSettings()
Returns the builder for the settings used for calls to getConversation.ConversationalSearchServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListConversationsRequest,ListConversationsResponse,ConversationalSearchServiceClient.ListConversationsPagedResponse>
listConversationsSettings()
Returns the builder for the settings used for calls to listConversations.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateConversationRequest,Conversation>
updateConversationSettings()
Returns the builder for the settings used for calls to updateConversation.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ConversationalSearchServiceSettings settings)
-
Builder
protected Builder(ConversationalSearchServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ConversationalSearchServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ConversationalSearchServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
converseConversationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConverseConversationRequest,ConverseConversationResponse> converseConversationSettings()
Returns the builder for the settings used for calls to converseConversation.
-
createConversationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConversationRequest,Conversation> createConversationSettings()
Returns the builder for the settings used for calls to createConversation.
-
deleteConversationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteConversationRequest,com.google.protobuf.Empty> deleteConversationSettings()
Returns the builder for the settings used for calls to deleteConversation.
-
updateConversationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateConversationRequest,Conversation> updateConversationSettings()
Returns the builder for the settings used for calls to updateConversation.
-
getConversationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConversationRequest,Conversation> getConversationSettings()
Returns the builder for the settings used for calls to getConversation.
-
listConversationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListConversationsRequest,ListConversationsResponse,ConversationalSearchServiceClient.ListConversationsPagedResponse> listConversationsSettings()
Returns the builder for the settings used for calls to listConversations.
-
build
public ConversationalSearchServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ConversationalSearchServiceSettings,ConversationalSearchServiceSettings.Builder>
- Throws:
IOException
-
-