Class DocumentServiceStub
- java.lang.Object
-
- com.google.cloud.discoveryengine.v1beta.stub.DocumentServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
- Direct Known Subclasses:
GrpcDocumentServiceStub
,HttpJsonDocumentServiceStub
@BetaApi @Generated("by gapic-generator-java") public abstract class DocumentServiceStub extends Object implements com.google.api.gax.core.BackgroundResource
Base stub class for the DocumentService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Constructor Description DocumentServiceStub()
-
Method Summary
-
-
-
Method Detail
-
getOperationsStub
public com.google.longrunning.stub.OperationsStub getOperationsStub()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub()
-
getDocumentCallable
public com.google.api.gax.rpc.UnaryCallable<GetDocumentRequest,Document> getDocumentCallable()
-
listDocumentsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDocumentsRequest,DocumentServiceClient.ListDocumentsPagedResponse> listDocumentsPagedCallable()
-
listDocumentsCallable
public com.google.api.gax.rpc.UnaryCallable<ListDocumentsRequest,ListDocumentsResponse> listDocumentsCallable()
-
createDocumentCallable
public com.google.api.gax.rpc.UnaryCallable<CreateDocumentRequest,Document> createDocumentCallable()
-
updateDocumentCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateDocumentRequest,Document> updateDocumentCallable()
-
deleteDocumentCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteDocumentRequest,com.google.protobuf.Empty> deleteDocumentCallable()
-
importDocumentsOperationCallable
public com.google.api.gax.rpc.OperationCallable<ImportDocumentsRequest,ImportDocumentsResponse,ImportDocumentsMetadata> importDocumentsOperationCallable()
-
importDocumentsCallable
public com.google.api.gax.rpc.UnaryCallable<ImportDocumentsRequest,com.google.longrunning.Operation> importDocumentsCallable()
-
purgeDocumentsOperationCallable
public com.google.api.gax.rpc.OperationCallable<PurgeDocumentsRequest,PurgeDocumentsResponse,PurgeDocumentsMetadata> purgeDocumentsOperationCallable()
-
purgeDocumentsCallable
public com.google.api.gax.rpc.UnaryCallable<PurgeDocumentsRequest,com.google.longrunning.Operation> purgeDocumentsCallable()
-
close
public abstract void close()
- Specified by:
close
in interfaceAutoCloseable
-
-