@Generated(value="by gapic-generator-java") public class HttpJsonDocumentServiceStub extends DocumentServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonDocumentServiceStub(DocumentServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonDocumentServiceStub, using the given settings.
|
protected |
HttpJsonDocumentServiceStub(DocumentServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDocumentServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
com.google.api.gax.rpc.UnaryCallable<BatchGetDocumentsMetadataRequest,BatchGetDocumentsMetadataResponse> |
batchGetDocumentsMetadataCallable() |
void |
close() |
static HttpJsonDocumentServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonDocumentServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonDocumentServiceStub |
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.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub |
getHttpJsonOperationsStub() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
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() |
getOperationsStubprotected HttpJsonDocumentServiceStub(DocumentServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonDocumentServiceStub(DocumentServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonDocumentServiceStub create(DocumentServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonDocumentServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonDocumentServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub 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.