Package com.google.cloud.dialogflow.v2
Class ParticipantsGrpc.ParticipantsBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<ParticipantsGrpc.ParticipantsBlockingStub>
-
- com.google.cloud.dialogflow.v2.ParticipantsGrpc.ParticipantsBlockingStub
-
- Enclosing class:
- ParticipantsGrpc
public static final class ParticipantsGrpc.ParticipantsBlockingStub extends io.grpc.stub.AbstractBlockingStub<ParticipantsGrpc.ParticipantsBlockingStub>
A stub to allow clients to do synchronous 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 AnalyzeContentResponseanalyzeContent(AnalyzeContentRequest request)Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.protected ParticipantsGrpc.ParticipantsBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)ParticipantcreateParticipant(CreateParticipantRequest request)Creates a new participant in a conversation.ParticipantgetParticipant(GetParticipantRequest request)Retrieves a conversation participant.ListParticipantsResponselistParticipants(ListParticipantsRequest request)Returns the list of all participants in the specified conversation.SuggestArticlesResponsesuggestArticles(SuggestArticlesRequest request)Gets suggested articles for a participant based on specific historical messages.SuggestFaqAnswersResponsesuggestFaqAnswers(SuggestFaqAnswersRequest request)Gets suggested faq answers for a participant based on specific historical messages.SuggestSmartRepliesResponsesuggestSmartReplies(SuggestSmartRepliesRequest request)Gets smart replies for a participant based on specific historical messages.ParticipantupdateParticipant(UpdateParticipantRequest request)Updates the specified participant.
-
-
-
Method Detail
-
build
protected ParticipantsGrpc.ParticipantsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<ParticipantsGrpc.ParticipantsBlockingStub>
-
createParticipant
public Participant createParticipant(CreateParticipantRequest request)
Creates a new participant in a conversation.
-
getParticipant
public Participant getParticipant(GetParticipantRequest request)
Retrieves a conversation participant.
-
listParticipants
public ListParticipantsResponse listParticipants(ListParticipantsRequest request)
Returns the list of all participants in the specified conversation.
-
updateParticipant
public Participant updateParticipant(UpdateParticipantRequest request)
Updates the specified participant.
-
analyzeContent
public 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 SuggestArticlesResponse suggestArticles(SuggestArticlesRequest request)
Gets suggested articles for a participant based on specific historical messages.
-
suggestFaqAnswers
public SuggestFaqAnswersResponse suggestFaqAnswers(SuggestFaqAnswersRequest request)
Gets suggested faq answers for a participant based on specific historical messages.
-
suggestSmartReplies
public SuggestSmartRepliesResponse suggestSmartReplies(SuggestSmartRepliesRequest request)
Gets smart replies for a participant based on specific historical messages.
-
-