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].
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptioncom.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.ParticipantsFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Participant>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>Gets suggested faq answers for a participant based on specific historical messages.com.google.common.util.concurrent.ListenableFuture<SuggestKnowledgeAssistResponse>Gets knowledge assist suggestions based on historical messages.com.google.common.util.concurrent.ListenableFuture<SuggestSmartRepliesResponse>Gets smart replies for a participant based on specific historical messages.com.google.common.util.concurrent.ListenableFuture<Participant>Updates the specified participant.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ParticipantsGrpc.ParticipantsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin 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.
-
suggestKnowledgeAssist
public com.google.common.util.concurrent.ListenableFuture<SuggestKnowledgeAssistResponse> suggestKnowledgeAssist(SuggestKnowledgeAssistRequest request) Gets knowledge assist suggestions based on historical messages.
-