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