Package com.google.cloud.dialogflow.v2
Class ParticipantsGrpc.ParticipantsFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<ParticipantsGrpc.ParticipantsFutureStub>
-
- com.google.cloud.dialogflow.v2.ParticipantsGrpc.ParticipantsFutureStub
-
- Enclosing class:
- ParticipantsGrpc
public static final class ParticipantsGrpc.ParticipantsFutureStub extends io.grpc.stub.AbstractFutureStub<ParticipantsGrpc.ParticipantsFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Participants.Service for managing [Participants][google.cloud.dialogflow.v2.Participant].
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<AnalyzeContentResponse>
analyzeContent(AnalyzeContentRequest request)
Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.protected ParticipantsGrpc.ParticipantsFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<Participant>
createParticipant(CreateParticipantRequest request)
Creates a new participant in a conversation.com.google.common.util.concurrent.ListenableFuture<Participant>
getParticipant(GetParticipantRequest request)
Retrieves a conversation participant.com.google.common.util.concurrent.ListenableFuture<ListParticipantsResponse>
listParticipants(ListParticipantsRequest request)
Returns the list of all participants in the specified conversation.com.google.common.util.concurrent.ListenableFuture<SuggestArticlesResponse>
suggestArticles(SuggestArticlesRequest request)
Gets suggested articles for a participant based on specific historical messages.com.google.common.util.concurrent.ListenableFuture<SuggestFaqAnswersResponse>
suggestFaqAnswers(SuggestFaqAnswersRequest request)
Gets suggested faq answers for a participant based on specific historical messages.com.google.common.util.concurrent.ListenableFuture<SuggestSmartRepliesResponse>
suggestSmartReplies(SuggestSmartRepliesRequest request)
Gets smart replies for a participant based on specific historical messages.com.google.common.util.concurrent.ListenableFuture<Participant>
updateParticipant(UpdateParticipantRequest request)
Updates the specified participant.
-
-
-
Method Detail
-
build
protected ParticipantsGrpc.ParticipantsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ParticipantsGrpc.ParticipantsFutureStub>
-
createParticipant
public com.google.common.util.concurrent.ListenableFuture<Participant> createParticipant(CreateParticipantRequest request)
Creates a new participant in a conversation.
-
getParticipant
public com.google.common.util.concurrent.ListenableFuture<Participant> getParticipant(GetParticipantRequest request)
Retrieves a conversation participant.
-
listParticipants
public com.google.common.util.concurrent.ListenableFuture<ListParticipantsResponse> listParticipants(ListParticipantsRequest request)
Returns the list of all participants in the specified conversation.
-
updateParticipant
public com.google.common.util.concurrent.ListenableFuture<Participant> updateParticipant(UpdateParticipantRequest request)
Updates the specified participant.
-
analyzeContent
public com.google.common.util.concurrent.ListenableFuture<AnalyzeContentResponse> analyzeContent(AnalyzeContentRequest request)
Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
-
suggestArticles
public com.google.common.util.concurrent.ListenableFuture<SuggestArticlesResponse> suggestArticles(SuggestArticlesRequest request)
Gets suggested articles for a participant based on specific historical messages.
-
suggestFaqAnswers
public com.google.common.util.concurrent.ListenableFuture<SuggestFaqAnswersResponse> suggestFaqAnswers(SuggestFaqAnswersRequest request)
Gets suggested faq answers for a participant based on specific historical messages.
-
suggestSmartReplies
public com.google.common.util.concurrent.ListenableFuture<SuggestSmartRepliesResponse> suggestSmartReplies(SuggestSmartRepliesRequest request)
Gets smart replies for a participant based on specific historical messages.
-
-