@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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcDocumentServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcDocumentServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcDocumentServiceStub |
create(DocumentServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateDocumentRequest,Document> |
createDocumentCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteDocumentRequest,com.google.protobuf.Empty> |
deleteDocumentCallable() |
com.google.api.gax.rpc.UnaryCallable<GetDocumentRequest,Document> |
getDocumentCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetProcessedDocumentRequest,ProcessedDocument> |
getProcessedDocumentCallable() |
com.google.api.gax.rpc.UnaryCallable<ImportDocumentsRequest,com.google.longrunning.Operation> |
importDocumentsCallable() |
com.google.api.gax.rpc.OperationCallable<ImportDocumentsRequest,ImportDocumentsResponse,ImportDocumentsMetadata> |
importDocumentsOperationCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListDocumentsRequest,ListDocumentsResponse> |
listDocumentsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListDocumentsRequest,DocumentServiceClient.ListDocumentsPagedResponse> |
listDocumentsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<PurgeDocumentsRequest,com.google.longrunning.Operation> |
purgeDocumentsCallable() |
com.google.api.gax.rpc.OperationCallable<PurgeDocumentsRequest,PurgeDocumentsResponse,PurgeDocumentsMetadata> |
purgeDocumentsOperationCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateDocumentRequest,Document> |
updateDocumentCallable() |
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<GetProcessedDocumentRequest,ProcessedDocument> getProcessedDocumentCallable()
getProcessedDocumentCallable 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 © 2024 Google LLC. All rights reserved.