Class KnowledgeBasesGrpc (4.52.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
Type Description
String

Static Methods

bindService(KnowledgeBasesGrpc.AsyncService service)

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

getCreateKnowledgeBaseMethod()

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

getDeleteKnowledgeBaseMethod()

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

getGetKnowledgeBaseMethod()

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

getListKnowledgeBasesMethod()

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

getServiceDescriptor()

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

getUpdateKnowledgeBaseMethod()

public static MethodDescriptor<UpdateKnowledgeBaseRequest,KnowledgeBase> getUpdateKnowledgeBaseMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
KnowledgeBasesGrpc.KnowledgeBasesStub