public static final class ParticipantsGrpc.ParticipantsStub extends AbstractAsyncStub<ParticipantsGrpc.ParticipantsStub>
Service for managing [Participants][google.cloud.dialogflow.v2.Participant].
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
void |
analyzeContent(AnalyzeContentRequest request,
StreamObserver<AnalyzeContentResponse> responseObserver)
Adds a text (chat, for example), or audio (phone recording, for example)
message from a participant into the conversation.
|
protected ParticipantsGrpc.ParticipantsStub |
build(Channel channel,
CallOptions callOptions) |
void |
createParticipant(CreateParticipantRequest request,
StreamObserver<Participant> responseObserver)
Creates a new participant in a conversation.
|
void |
getParticipant(GetParticipantRequest request,
StreamObserver<Participant> responseObserver)
Retrieves a conversation participant.
|
void |
listParticipants(ListParticipantsRequest request,
StreamObserver<ListParticipantsResponse> responseObserver)
Returns the list of all participants in the specified conversation.
|
void |
suggestArticles(SuggestArticlesRequest request,
StreamObserver<SuggestArticlesResponse> responseObserver)
Gets suggested articles for a participant based on specific historical
messages.
|
void |
suggestFaqAnswers(SuggestFaqAnswersRequest request,
StreamObserver<SuggestFaqAnswersResponse> responseObserver)
Gets suggested faq answers for a participant based on specific historical
messages.
|
void |
suggestSmartReplies(SuggestSmartRepliesRequest request,
StreamObserver<SuggestSmartRepliesResponse> responseObserver)
Gets smart replies for a participant based on specific historical
messages.
|
void |
updateParticipant(UpdateParticipantRequest request,
StreamObserver<Participant> responseObserver)
Updates the specified participant.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected ParticipantsGrpc.ParticipantsStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<ParticipantsGrpc.ParticipantsStub>
public void createParticipant(CreateParticipantRequest request, StreamObserver<Participant> responseObserver)
Creates a new participant in a conversation.
public void getParticipant(GetParticipantRequest request, StreamObserver<Participant> responseObserver)
Retrieves a conversation participant.
public void listParticipants(ListParticipantsRequest request, StreamObserver<ListParticipantsResponse> responseObserver)
Returns the list of all participants in the specified conversation.
public void updateParticipant(UpdateParticipantRequest request, StreamObserver<Participant> responseObserver)
Updates the specified participant.
public void analyzeContent(AnalyzeContentRequest request, StreamObserver<AnalyzeContentResponse> responseObserver)
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).
public void suggestArticles(SuggestArticlesRequest request, StreamObserver<SuggestArticlesResponse> responseObserver)
Gets suggested articles for a participant based on specific historical messages.
public void suggestFaqAnswers(SuggestFaqAnswersRequest request, StreamObserver<SuggestFaqAnswersResponse> responseObserver)
Gets suggested faq answers for a participant based on specific historical messages.
public void suggestSmartReplies(SuggestSmartRepliesRequest request, StreamObserver<SuggestSmartRepliesResponse> responseObserver)
Gets smart replies for a participant based on specific historical messages.
Copyright © 2022 Google LLC. All rights reserved.