Class DocumentServiceGrpc.DocumentServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<DocumentServiceGrpc.DocumentServiceBlockingStub>
com.google.cloud.discoveryengine.v1alpha.DocumentServiceGrpc.DocumentServiceBlockingStub
- Enclosing class:
- DocumentServiceGrpc
public static final class DocumentServiceGrpc.DocumentServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<DocumentServiceGrpc.DocumentServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service DocumentService.
Service for ingesting [Document][google.cloud.discoveryengine.v1alpha.Document] information of the customer's website.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionGets index freshness metadata for [Document][google.cloud.discoveryengine.v1alpha.Document]s.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createDocument(CreateDocumentRequest request) Creates a [Document][google.cloud.discoveryengine.v1alpha.Document].com.google.protobuf.EmptydeleteDocument(DeleteDocumentRequest request) Deletes a [Document][google.cloud.discoveryengine.v1alpha.Document].getDocument(GetDocumentRequest request) Gets a [Document][google.cloud.discoveryengine.v1alpha.Document].Gets the parsed layout information for a [Document][google.cloud.discoveryengine.v1alpha.Document].importDocuments(ImportDocumentsRequest request) Bulk import of multiple [Document][google.cloud.discoveryengine.v1alpha.Document]s.listDocuments(ListDocumentsRequest request) Gets a list of [Document][google.cloud.discoveryengine.v1alpha.Document]s.purgeDocuments(PurgeDocumentsRequest request) Permanently deletes all selected [Document][google.cloud.discoveryengine.v1alpha.Document]s in a branch.updateDocument(UpdateDocumentRequest request) Updates a [Document][google.cloud.discoveryengine.v1alpha.Document].Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DocumentServiceGrpc.DocumentServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DocumentServiceGrpc.DocumentServiceBlockingStub>
-
getDocument
Gets a [Document][google.cloud.discoveryengine.v1alpha.Document].
-
listDocuments
Gets a list of [Document][google.cloud.discoveryengine.v1alpha.Document]s.
-
createDocument
Creates a [Document][google.cloud.discoveryengine.v1alpha.Document].
-
updateDocument
Updates a [Document][google.cloud.discoveryengine.v1alpha.Document].
-
deleteDocument
Deletes a [Document][google.cloud.discoveryengine.v1alpha.Document].
-
importDocuments
Bulk import of multiple [Document][google.cloud.discoveryengine.v1alpha.Document]s. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the [Document][google.cloud.discoveryengine.v1alpha.Document]s to be successfully updated.
-
purgeDocuments
Permanently deletes all selected [Document][google.cloud.discoveryengine.v1alpha.Document]s in a branch. This process is asynchronous. Depending on the number of [Document][google.cloud.discoveryengine.v1alpha.Document]s to be deleted, this operation can take hours to complete. Before the delete operation completes, some [Document][google.cloud.discoveryengine.v1alpha.Document]s might still be returned by [DocumentService.GetDocument][google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments]. To get a list of the [Document][google.cloud.discoveryengine.v1alpha.Document]s to be deleted, set [PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.force] to false.
-
getProcessedDocument
Gets the parsed layout information for a [Document][google.cloud.discoveryengine.v1alpha.Document].
-
batchGetDocumentsMetadata
public BatchGetDocumentsMetadataResponse batchGetDocumentsMetadata(BatchGetDocumentsMetadataRequest request) Gets index freshness metadata for [Document][google.cloud.discoveryengine.v1alpha.Document]s. Supported for website search only.
-