Class ConversationsGrpc (4.60.0)

public final class ConversationsGrpc

Service for managing Conversations.

Inheritance

java.lang.Object > ConversationsGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ConversationsGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ConversationsGrpc.AsyncService service)
Parameter
Name Description
service ConversationsGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getBatchCreateMessagesMethod()

public static MethodDescriptor<BatchCreateMessagesRequest,BatchCreateMessagesResponse> getBatchCreateMessagesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<BatchCreateMessagesRequest,BatchCreateMessagesResponse>

getCompleteConversationMethod()

public static MethodDescriptor<CompleteConversationRequest,Conversation> getCompleteConversationMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CompleteConversationRequest,Conversation>

getCreateConversationMethod()

public static MethodDescriptor<CreateConversationRequest,Conversation> getCreateConversationMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateConversationRequest,Conversation>

getGenerateStatelessSuggestionMethod()

public static MethodDescriptor<GenerateStatelessSuggestionRequest,GenerateStatelessSuggestionResponse> getGenerateStatelessSuggestionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GenerateStatelessSuggestionRequest,GenerateStatelessSuggestionResponse>

getGenerateStatelessSummaryMethod()

public static MethodDescriptor<GenerateStatelessSummaryRequest,GenerateStatelessSummaryResponse> getGenerateStatelessSummaryMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GenerateStatelessSummaryRequest,GenerateStatelessSummaryResponse>

getGetConversationMethod()

public static MethodDescriptor<GetConversationRequest,Conversation> getGetConversationMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetConversationRequest,Conversation>

getListConversationsMethod()

public static MethodDescriptor<ListConversationsRequest,ListConversationsResponse> getListConversationsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListConversationsRequest,ListConversationsResponse>

getListMessagesMethod()

public static MethodDescriptor<ListMessagesRequest,ListMessagesResponse> getListMessagesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListMessagesRequest,ListMessagesResponse>

getSearchKnowledgeMethod()

public static MethodDescriptor<SearchKnowledgeRequest,SearchKnowledgeResponse> getSearchKnowledgeMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SearchKnowledgeRequest,SearchKnowledgeResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSuggestConversationSummaryMethod()

public static MethodDescriptor<SuggestConversationSummaryRequest,SuggestConversationSummaryResponse> getSuggestConversationSummaryMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SuggestConversationSummaryRequest,SuggestConversationSummaryResponse>

newBlockingStub(Channel channel)

public static ConversationsGrpc.ConversationsBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ConversationsGrpc.ConversationsBlockingStub

newFutureStub(Channel channel)

public static ConversationsGrpc.ConversationsFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ConversationsGrpc.ConversationsFutureStub

newStub(Channel channel)

public static ConversationsGrpc.ConversationsStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ConversationsGrpc.ConversationsStub