Class AssistantServiceGrpc (0.90.0)

public final class AssistantServiceGrpc

Service for managing Assistant configuration and assisting users.

Inheritance

java.lang.Object > AssistantServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(AssistantServiceGrpc.AsyncService service)

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

getCreateAssistantMethod()

public static MethodDescriptor<CreateAssistantRequest,Assistant> getCreateAssistantMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateAssistantRequest,Assistant>

getDeleteAssistantMethod()

public static MethodDescriptor<DeleteAssistantRequest,Empty> getDeleteAssistantMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteAssistantRequest,Empty>

getGetAssistantMethod()

public static MethodDescriptor<GetAssistantRequest,Assistant> getGetAssistantMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetAssistantRequest,Assistant>

getListAssistantsMethod()

public static MethodDescriptor<ListAssistantsRequest,ListAssistantsResponse> getListAssistantsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListAssistantsRequest,ListAssistantsResponse>

getServiceDescriptor()

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

getStreamAssistMethod()

public static MethodDescriptor<StreamAssistRequest,StreamAssistResponse> getStreamAssistMethod()
Returns
Type Description
io.grpc.MethodDescriptor<StreamAssistRequest,StreamAssistResponse>

getUpdateAssistantMethod()

public static MethodDescriptor<UpdateAssistantRequest,Assistant> getUpdateAssistantMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateAssistantRequest,Assistant>

newBlockingStub(Channel channel)

public static AssistantServiceGrpc.AssistantServiceBlockingStub 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
AssistantServiceGrpc.AssistantServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static AssistantServiceGrpc.AssistantServiceBlockingV2Stub 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
AssistantServiceGrpc.AssistantServiceBlockingV2Stub

newFutureStub(Channel channel)

public static AssistantServiceGrpc.AssistantServiceFutureStub 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
AssistantServiceGrpc.AssistantServiceFutureStub

newStub(Channel channel)

public static AssistantServiceGrpc.AssistantServiceStub 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
AssistantServiceGrpc.AssistantServiceStub