Class DocumentsGrpc (4.6.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
TypeDescription
String

Static Methods

getCreateDocumentMethod()

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

getDeleteDocumentMethod()

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

getGetDocumentMethod()

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

getImportDocumentsMethod()

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

getListDocumentsMethod()

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

getReloadDocumentMethod()

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

getServiceDescriptor()

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

getUpdateDocumentMethod()

public static MethodDescriptor<UpdateDocumentRequest,Operation> getUpdateDocumentMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DocumentsGrpc.DocumentsStub