Class ConversationProfilesGrpc.ConversationProfilesFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ConversationProfilesGrpc.ConversationProfilesFutureStub>
com.google.cloud.dialogflow.v2.ConversationProfilesGrpc.ConversationProfilesFutureStub
Enclosing class:
ConversationProfilesGrpc

public static final class ConversationProfilesGrpc.ConversationProfilesFutureStub extends io.grpc.stub.AbstractFutureStub<ConversationProfilesGrpc.ConversationProfilesFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ConversationProfiles.
 Service for managing
 [ConversationProfiles][google.cloud.dialogflow.v2.ConversationProfile].
 
  • Method Details

    • build

      protected ConversationProfilesGrpc.ConversationProfilesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ConversationProfilesGrpc.ConversationProfilesFutureStub>
    • listConversationProfiles

      public com.google.common.util.concurrent.ListenableFuture<ListConversationProfilesResponse> listConversationProfiles(ListConversationProfilesRequest request)
       Returns the list of all conversation profiles in the specified project.
       
    • getConversationProfile

      public com.google.common.util.concurrent.ListenableFuture<ConversationProfile> getConversationProfile(GetConversationProfileRequest request)
       Retrieves the specified conversation profile.
       
    • createConversationProfile

      public com.google.common.util.concurrent.ListenableFuture<ConversationProfile> createConversationProfile(CreateConversationProfileRequest request)
       Creates a conversation profile in the specified project.
       [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time]
       and
       [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time]
       aren't populated in the response. You can retrieve them via
       [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile]
       API.
       
    • updateConversationProfile

      public com.google.common.util.concurrent.ListenableFuture<ConversationProfile> updateConversationProfile(UpdateConversationProfileRequest request)
       Updates the specified conversation profile.
       [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time]
       and
       [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time]
       aren't populated in the response. You can retrieve them via
       [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile]
       API.
       
    • deleteConversationProfile

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteConversationProfile(DeleteConversationProfileRequest request)
       Deletes the specified conversation profile.
       
    • setSuggestionFeatureConfig

      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.v2.SetSuggestionFeatureConfigOperationMetadata]
       - `response`:
       [ConversationProfile][google.cloud.dialogflow.v2.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.
       
    • clearSuggestionFeatureConfig

      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.v2.ClearSuggestionFeatureConfigOperationMetadata]
       - `response`:
       [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]