Class DocumentsGrpc (4.51.0)

public final class DocumentsGrpc

Service for managing knowledge Documents.

Inheritance

java.lang.Object > DocumentsGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(DocumentsGrpc.AsyncService service)

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

getCreateDocumentMethod()

public static MethodDescriptor<CreateDocumentRequest,Operation> getCreateDocumentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateDocumentRequest,Operation>

getDeleteDocumentMethod()

public static MethodDescriptor<DeleteDocumentRequest,Operation> getDeleteDocumentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteDocumentRequest,Operation>

getGetDocumentMethod()

public static MethodDescriptor<GetDocumentRequest,Document> getGetDocumentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetDocumentRequest,Document>

getImportDocumentsMethod()

public static MethodDescriptor<ImportDocumentsRequest,Operation> getImportDocumentsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ImportDocumentsRequest,Operation>

getListDocumentsMethod()

public static MethodDescriptor<ListDocumentsRequest,ListDocumentsResponse> getListDocumentsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListDocumentsRequest,ListDocumentsResponse>

getReloadDocumentMethod()

public static MethodDescriptor<ReloadDocumentRequest,Operation> getReloadDocumentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ReloadDocumentRequest,Operation>

getServiceDescriptor()

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

getUpdateDocumentMethod()

public static MethodDescriptor<UpdateDocumentRequest,Operation> getUpdateDocumentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateDocumentRequest,Operation>

newBlockingStub(Channel channel)

public static DocumentsGrpc.DocumentsBlockingStub 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
DocumentsGrpc.DocumentsBlockingStub

newFutureStub(Channel channel)

public static DocumentsGrpc.DocumentsFutureStub 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
DocumentsGrpc.DocumentsFutureStub

newStub(Channel channel)

public static DocumentsGrpc.DocumentsStub 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
DocumentsGrpc.DocumentsStub