Class DocumentServiceGrpc (0.51.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
Type Description
String

Static Methods

bindService(DocumentServiceGrpc.AsyncService service)

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

getBatchGetDocumentsMetadataMethod()

public static MethodDescriptor<BatchGetDocumentsMetadataRequest,BatchGetDocumentsMetadataResponse> getBatchGetDocumentsMetadataMethod()
Returns
Type Description
io.grpc.MethodDescriptor<BatchGetDocumentsMetadataRequest,BatchGetDocumentsMetadataResponse>

getCreateDocumentMethod()

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

getDeleteDocumentMethod()

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

getGetDocumentMethod()

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

getGetProcessedDocumentMethod()

public static MethodDescriptor<GetProcessedDocumentRequest,ProcessedDocument> getGetProcessedDocumentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetProcessedDocumentRequest,ProcessedDocument>

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>

getPurgeDocumentsMethod()

public static MethodDescriptor<PurgeDocumentsRequest,Operation> getPurgeDocumentsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<PurgeDocumentsRequest,Operation>

getServiceDescriptor()

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

getUpdateDocumentMethod()

public static MethodDescriptor<UpdateDocumentRequest,Document> getUpdateDocumentMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
DocumentServiceGrpc.DocumentServiceStub