Class ConversationsGrpc (4.6.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
TypeDescription
String

Static Methods

getBatchCreateMessagesMethod()

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

getCompleteConversationMethod()

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

getCreateConversationMethod()

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

getGetConversationMethod()

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

getListConversationsMethod()

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

getListMessagesMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ConversationsGrpc.ConversationsStub