public static final class DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub extends AbstractFutureStub<DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub>
This service lets you manage document-links. Document-Links are treated as sub-resources under source documents.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > DocumentLinkServiceGrpc.DocumentLinkServiceFutureStubMethods
build(Channel channel, CallOptions callOptions)
protected DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub build(Channel channel, CallOptions callOptions)
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Type | Description |
DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub |
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createDocumentLink(CreateDocumentLinkRequest request)
public ListenableFuture<DocumentLink> createDocumentLink(CreateDocumentLinkRequest request)
Create a link between a source document and a target document.
Name | Description |
request | CreateDocumentLinkRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<DocumentLink> |
deleteDocumentLink(DeleteDocumentLinkRequest request)
public ListenableFuture<Empty> deleteDocumentLink(DeleteDocumentLinkRequest request)
Remove the link between the source and target documents.
Name | Description |
request | DeleteDocumentLinkRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
listLinkedSources(ListLinkedSourcesRequest request)
public ListenableFuture<ListLinkedSourcesResponse> listLinkedSources(ListLinkedSourcesRequest request)
Return all source document-links from the document.
Name | Description |
request | ListLinkedSourcesRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListLinkedSourcesResponse> |
listLinkedTargets(ListLinkedTargetsRequest request)
public ListenableFuture<ListLinkedTargetsResponse> listLinkedTargets(ListLinkedTargetsRequest request)
Return all target document-links from the document.
Name | Description |
request | ListLinkedTargetsRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListLinkedTargetsResponse> |