Class DocumentServiceGrpc (0.9.0)

public final class DocumentServiceGrpc

Service for ingesting Document information of the customer's website.

Inheritance

java.lang.Object > DocumentServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getCreateDocumentMethod()

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

getDeleteDocumentMethod()

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

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>

getServiceDescriptor()

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

getUpdateDocumentMethod()

public static MethodDescriptor<UpdateDocumentRequest,Document> getUpdateDocumentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateDocumentRequest,Document>

newBlockingStub(Channel channel)

public static DocumentServiceGrpc.DocumentServiceBlockingStub 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
DocumentServiceGrpc.DocumentServiceBlockingStub

newFutureStub(Channel channel)

public static DocumentServiceGrpc.DocumentServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DocumentServiceGrpc.DocumentServiceFutureStub

newStub(Channel channel)

public static DocumentServiceGrpc.DocumentServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DocumentServiceGrpc.DocumentServiceStub