public static class ConversationalSearchServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ConversationalSearchServiceStubSettings,ConversationalSearchServiceStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ConversationalSearchServiceStubSettings settings) |
| Modifier and Type | Method and 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.
|
String |
getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
|
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.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, 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, setUniverseDomain, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ConversationalSearchServiceStubSettings settings)
public ConversationalSearchServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConverseConversationRequest,ConverseConversationResponse> converseConversationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConversationRequest,Conversation> createConversationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteConversationRequest,com.google.protobuf.Empty> deleteConversationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateConversationRequest,Conversation> updateConversationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConversationRequest,Conversation> getConversationSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListConversationsRequest,ListConversationsResponse,ConversationalSearchServiceClient.ListConversationsPagedResponse> listConversationsSettings()
public String getEndpoint()
getEndpoint in class com.google.api.gax.rpc.StubSettings.Builder<ConversationalSearchServiceStubSettings,ConversationalSearchServiceStubSettings.Builder>public ConversationalSearchServiceStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<ConversationalSearchServiceStubSettings,ConversationalSearchServiceStubSettings.Builder>IOExceptionCopyright © 2024 Google LLC. All rights reserved.