Class ParticipantsGrpc.ParticipantsBlockingStub (4.5.11)

public static final class ParticipantsGrpc.ParticipantsBlockingStub extends AbstractBlockingStub<ParticipantsGrpc.ParticipantsBlockingStub>

Service for managing Participants.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ParticipantsGrpc.ParticipantsBlockingStub

Methods

analyzeContent(AnalyzeContentRequest request)

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.

Parameter
NameDescription
requestAnalyzeContentRequest
Returns
TypeDescription
AnalyzeContentResponse

build(Channel channel, CallOptions callOptions)

protected ParticipantsGrpc.ParticipantsBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ParticipantsGrpc.ParticipantsBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createParticipant(CreateParticipantRequest request)

public Participant createParticipant(CreateParticipantRequest request)

Creates a new participant in a conversation.

Parameter
NameDescription
requestCreateParticipantRequest
Returns
TypeDescription
Participant

getParticipant(GetParticipantRequest request)

public Participant getParticipant(GetParticipantRequest request)

Retrieves a conversation participant.

Parameter
NameDescription
requestGetParticipantRequest
Returns
TypeDescription
Participant

listParticipants(ListParticipantsRequest request)

public ListParticipantsResponse listParticipants(ListParticipantsRequest request)

Returns the list of all participants in the specified conversation.

Parameter
NameDescription
requestListParticipantsRequest
Returns
TypeDescription
ListParticipantsResponse

suggestArticles(SuggestArticlesRequest request)

public SuggestArticlesResponse suggestArticles(SuggestArticlesRequest request)

Gets suggested articles for a participant based on specific historical messages.

Parameter
NameDescription
requestSuggestArticlesRequest
Returns
TypeDescription
SuggestArticlesResponse

suggestFaqAnswers(SuggestFaqAnswersRequest request)

public SuggestFaqAnswersResponse suggestFaqAnswers(SuggestFaqAnswersRequest request)

Gets suggested faq answers for a participant based on specific historical messages.

Parameter
NameDescription
requestSuggestFaqAnswersRequest
Returns
TypeDescription
SuggestFaqAnswersResponse

suggestSmartReplies(SuggestSmartRepliesRequest request)

public SuggestSmartRepliesResponse suggestSmartReplies(SuggestSmartRepliesRequest request)

Gets smart replies for a participant based on specific historical messages.

Parameter
NameDescription
requestSuggestSmartRepliesRequest
Returns
TypeDescription
SuggestSmartRepliesResponse

updateParticipant(UpdateParticipantRequest request)

public Participant updateParticipant(UpdateParticipantRequest request)

Updates the specified participant.

Parameter
NameDescription
requestUpdateParticipantRequest
Returns
TypeDescription
Participant