Class ConversationalSearchServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ConversationalSearchServiceStubSettings,ConversationalSearchServiceStubSettings.Builder>
-
- com.google.cloud.discoveryengine.v1.stub.ConversationalSearchServiceStubSettings.Builder
-
- Enclosing class:
- ConversationalSearchServiceStubSettings
public static class ConversationalSearchServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ConversationalSearchServiceStubSettings,ConversationalSearchServiceStubSettings.Builder>
Builder for ConversationalSearchServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ConversationalSearchServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationalSearchServiceStubSettings.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.ConversationalSearchServiceStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ConversationalSearchServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ConversationalSearchServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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 ConversationalSearchServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ConversationalSearchServiceStubSettings,ConversationalSearchServiceStubSettings.Builder>
- Throws:
IOException
-
-