public static final class ConversationProfilesGrpc.ConversationProfilesFutureStub extends AbstractFutureStub<ConversationProfilesGrpc.ConversationProfilesFutureStub>
Service for managing [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile].
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected ConversationProfilesGrpc.ConversationProfilesFutureStub |
build(Channel channel,
CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<Operation> |
clearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest request)
Clears a suggestion feature from a conversation profile for the given
participant role.
|
com.google.common.util.concurrent.ListenableFuture<ConversationProfile> |
createConversationProfile(CreateConversationProfileRequest request)
Creates a conversation profile in the specified project.
|
com.google.common.util.concurrent.ListenableFuture<Empty> |
deleteConversationProfile(DeleteConversationProfileRequest request)
Deletes the specified conversation profile.
|
com.google.common.util.concurrent.ListenableFuture<ConversationProfile> |
getConversationProfile(GetConversationProfileRequest request)
Retrieves the specified conversation profile.
|
com.google.common.util.concurrent.ListenableFuture<ListConversationProfilesResponse> |
listConversationProfiles(ListConversationProfilesRequest request)
Returns the list of all conversation profiles in the specified project.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
setSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest request)
Adds or updates a suggestion feature in a conversation profile.
|
com.google.common.util.concurrent.ListenableFuture<ConversationProfile> |
updateConversationProfile(UpdateConversationProfileRequest request)
Updates the specified conversation profile.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected ConversationProfilesGrpc.ConversationProfilesFutureStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<ConversationProfilesGrpc.ConversationProfilesFutureStub>
public com.google.common.util.concurrent.ListenableFuture<ListConversationProfilesResponse> listConversationProfiles(ListConversationProfilesRequest request)
Returns the list of all conversation profiles in the specified project.
public com.google.common.util.concurrent.ListenableFuture<ConversationProfile> getConversationProfile(GetConversationProfileRequest request)
Retrieves the specified conversation profile.
public com.google.common.util.concurrent.ListenableFuture<ConversationProfile> createConversationProfile(CreateConversationProfileRequest request)
Creates a conversation profile in the specified project. [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API.
public com.google.common.util.concurrent.ListenableFuture<ConversationProfile> updateConversationProfile(UpdateConversationProfileRequest request)
Updates the specified conversation profile. [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API.
public com.google.common.util.concurrent.ListenableFuture<Empty> deleteConversationProfile(DeleteConversationProfileRequest request)
Deletes the specified conversation profile.
public com.google.common.util.concurrent.ListenableFuture<Operation> setSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest request)
Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.
public com.google.common.util.concurrent.ListenableFuture<Operation> clearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest request)
Clears a suggestion feature from a conversation profile for the given participant role. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]
Copyright © 2022 Google LLC. All rights reserved.