@BetaApi @Generated(value="by gapic-generator-java") public class GrpcDocumentServiceStub extends DocumentServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcDocumentServiceStub(DocumentServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcDocumentServiceStub, using the given settings.
|
protected |
GrpcDocumentServiceStub(DocumentServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDocumentServiceStub, using the given settings.
|
getHttpJsonOperationsStubprotected GrpcDocumentServiceStub(DocumentServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcDocumentServiceStub(DocumentServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcDocumentServiceStub create(DocumentServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcDocumentServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcDocumentServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class DocumentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetDocumentRequest,Document> getDocumentCallable()
getDocumentCallable in class DocumentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListDocumentsRequest,ListDocumentsResponse> listDocumentsCallable()
listDocumentsCallable in class DocumentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListDocumentsRequest,DocumentServiceClient.ListDocumentsPagedResponse> listDocumentsPagedCallable()
listDocumentsPagedCallable in class DocumentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateDocumentRequest,Document> createDocumentCallable()
createDocumentCallable in class DocumentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateDocumentRequest,Document> updateDocumentCallable()
updateDocumentCallable in class DocumentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteDocumentRequest,com.google.protobuf.Empty> deleteDocumentCallable()
deleteDocumentCallable in class DocumentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ImportDocumentsRequest,com.google.longrunning.Operation> importDocumentsCallable()
importDocumentsCallable in class DocumentServiceStubpublic com.google.api.gax.rpc.OperationCallable<ImportDocumentsRequest,ImportDocumentsResponse,ImportDocumentsMetadata> importDocumentsOperationCallable()
importDocumentsOperationCallable in class DocumentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<PurgeDocumentsRequest,com.google.longrunning.Operation> purgeDocumentsCallable()
purgeDocumentsCallable in class DocumentServiceStubpublic com.google.api.gax.rpc.OperationCallable<PurgeDocumentsRequest,PurgeDocumentsResponse,PurgeDocumentsMetadata> purgeDocumentsOperationCallable()
purgeDocumentsOperationCallable in class DocumentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<BatchGetDocumentsMetadataRequest,BatchGetDocumentsMetadataResponse> batchGetDocumentsMetadataCallable()
batchGetDocumentsMetadataCallable in class DocumentServiceStubpublic final void close()
close in interface AutoCloseableclose in class DocumentServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.