Class DataChatServiceGrpc (0.1.0)

public final class DataChatServiceGrpc

Service to ask a natural language question on top of BigQuery and Looker Studio datasources to get back streamed responses of various kinds to help provide a rich conversational answer.

Inheritance

java.lang.Object > DataChatServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(DataChatServiceGrpc.AsyncService service)

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

getChatMethod()

public static MethodDescriptor<ChatRequest,Message> getChatMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ChatRequest,Message>

getCreateConversationMethod()

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

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>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static DataChatServiceGrpc.DataChatServiceBlockingStub 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
DataChatServiceGrpc.DataChatServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static DataChatServiceGrpc.DataChatServiceBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DataChatServiceGrpc.DataChatServiceBlockingV2Stub

newFutureStub(Channel channel)

public static DataChatServiceGrpc.DataChatServiceFutureStub 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
DataChatServiceGrpc.DataChatServiceFutureStub

newStub(Channel channel)

public static DataChatServiceGrpc.DataChatServiceStub 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
DataChatServiceGrpc.DataChatServiceStub