Class DocumentLinkServiceGrpc.DocumentLinkServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<DocumentLinkServiceGrpc.DocumentLinkServiceStub>
-
- com.google.cloud.contentwarehouse.v1.DocumentLinkServiceGrpc.DocumentLinkServiceStub
-
- Enclosing class:
- DocumentLinkServiceGrpc
public static final class DocumentLinkServiceGrpc.DocumentLinkServiceStub extends io.grpc.stub.AbstractAsyncStub<DocumentLinkServiceGrpc.DocumentLinkServiceStub>
A stub to allow clients to do asynchronous 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.DocumentLinkServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createDocumentLink(CreateDocumentLinkRequest request, io.grpc.stub.StreamObserver<DocumentLink> responseObserver)
Create a link between a source document and a target document.void
deleteDocumentLink(DeleteDocumentLinkRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Remove the link between the source and target documents.void
listLinkedSources(ListLinkedSourcesRequest request, io.grpc.stub.StreamObserver<ListLinkedSourcesResponse> responseObserver)
Return all source document-links from the document.void
listLinkedTargets(ListLinkedTargetsRequest request, io.grpc.stub.StreamObserver<ListLinkedTargetsResponse> responseObserver)
Return all target document-links from the document.
-
-
-
Method Detail
-
build
protected DocumentLinkServiceGrpc.DocumentLinkServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<DocumentLinkServiceGrpc.DocumentLinkServiceStub>
-
listLinkedTargets
public void listLinkedTargets(ListLinkedTargetsRequest request, io.grpc.stub.StreamObserver<ListLinkedTargetsResponse> responseObserver)
Return all target document-links from the document.
-
listLinkedSources
public void listLinkedSources(ListLinkedSourcesRequest request, io.grpc.stub.StreamObserver<ListLinkedSourcesResponse> responseObserver)
Return all source document-links from the document.
-
createDocumentLink
public void createDocumentLink(CreateDocumentLinkRequest request, io.grpc.stub.StreamObserver<DocumentLink> responseObserver)
Create a link between a source document and a target document.
-
deleteDocumentLink
public void deleteDocumentLink(DeleteDocumentLinkRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Remove the link between the source and target documents.
-
-