Class DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub>
-
- com.google.cloud.contentwarehouse.v1.DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub
-
- Enclosing class:
- DocumentLinkServiceGrpc
public static final class DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub extends io.grpc.stub.AbstractFutureStub<DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service DocumentLinkService.This service lets you manage document-links. Document-Links are treated as sub-resources under source documents.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<DocumentLink>
createDocumentLink(CreateDocumentLinkRequest request)
Create a link between a source document and a target document.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteDocumentLink(DeleteDocumentLinkRequest request)
Remove the link between the source and target documents.com.google.common.util.concurrent.ListenableFuture<ListLinkedSourcesResponse>
listLinkedSources(ListLinkedSourcesRequest request)
Return all source document-links from the document.com.google.common.util.concurrent.ListenableFuture<ListLinkedTargetsResponse>
listLinkedTargets(ListLinkedTargetsRequest request)
Return all target document-links from the document.
-
-
-
Method Detail
-
build
protected DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub>
-
listLinkedTargets
public com.google.common.util.concurrent.ListenableFuture<ListLinkedTargetsResponse> listLinkedTargets(ListLinkedTargetsRequest request)
Return all target document-links from the document.
-
listLinkedSources
public com.google.common.util.concurrent.ListenableFuture<ListLinkedSourcesResponse> listLinkedSources(ListLinkedSourcesRequest request)
Return all source document-links from the document.
-
createDocumentLink
public com.google.common.util.concurrent.ListenableFuture<DocumentLink> createDocumentLink(CreateDocumentLinkRequest request)
Create a link between a source document and a target document.
-
deleteDocumentLink
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteDocumentLink(DeleteDocumentLinkRequest request)
Remove the link between the source and target documents.
-
-