Class KnowledgeBasesGrpc (4.47.0)

public final class KnowledgeBasesGrpc

Service for managing KnowledgeBases.

Inheritance

java.lang.Object > KnowledgeBasesGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(KnowledgeBasesGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(KnowledgeBasesGrpc.AsyncService service)
Parameter
NameDescription
serviceKnowledgeBasesGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateKnowledgeBaseMethod()

public static MethodDescriptor<CreateKnowledgeBaseRequest,KnowledgeBase> getCreateKnowledgeBaseMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateKnowledgeBaseRequest,KnowledgeBase>

getDeleteKnowledgeBaseMethod()

public static MethodDescriptor<DeleteKnowledgeBaseRequest,Empty> getDeleteKnowledgeBaseMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteKnowledgeBaseRequest,Empty>

getGetKnowledgeBaseMethod()

public static MethodDescriptor<GetKnowledgeBaseRequest,KnowledgeBase> getGetKnowledgeBaseMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetKnowledgeBaseRequest,KnowledgeBase>

getListKnowledgeBasesMethod()

public static MethodDescriptor<ListKnowledgeBasesRequest,ListKnowledgeBasesResponse> getListKnowledgeBasesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListKnowledgeBasesRequest,ListKnowledgeBasesResponse>

getServiceDescriptor()

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

getUpdateKnowledgeBaseMethod()

public static MethodDescriptor<UpdateKnowledgeBaseRequest,KnowledgeBase> getUpdateKnowledgeBaseMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateKnowledgeBaseRequest,KnowledgeBase>

newBlockingStub(Channel channel)

public static KnowledgeBasesGrpc.KnowledgeBasesBlockingStub 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
KnowledgeBasesGrpc.KnowledgeBasesBlockingStub

newFutureStub(Channel channel)

public static KnowledgeBasesGrpc.KnowledgeBasesFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
KnowledgeBasesGrpc.KnowledgeBasesFutureStub

newStub(Channel channel)

public static KnowledgeBasesGrpc.KnowledgeBasesStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
KnowledgeBasesGrpc.KnowledgeBasesStub