Class DocumentLinkServiceGrpc (0.40.0)

public final class DocumentLinkServiceGrpc

This service lets you manage document-links. Document-Links are treated as sub-resources under source documents.

Inheritance

java.lang.Object > DocumentLinkServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(DocumentLinkServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(DocumentLinkServiceGrpc.AsyncService service)
Parameter
Name Description
service DocumentLinkServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateDocumentLinkMethod()

public static MethodDescriptor<CreateDocumentLinkRequest,DocumentLink> getCreateDocumentLinkMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateDocumentLinkRequest,DocumentLink>

getDeleteDocumentLinkMethod()

public static MethodDescriptor<DeleteDocumentLinkRequest,Empty> getDeleteDocumentLinkMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteDocumentLinkRequest,Empty>

getListLinkedSourcesMethod()

public static MethodDescriptor<ListLinkedSourcesRequest,ListLinkedSourcesResponse> getListLinkedSourcesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListLinkedSourcesRequest,ListLinkedSourcesResponse>

getListLinkedTargetsMethod()

public static MethodDescriptor<ListLinkedTargetsRequest,ListLinkedTargetsResponse> getListLinkedTargetsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListLinkedTargetsRequest,ListLinkedTargetsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static DocumentLinkServiceGrpc.DocumentLinkServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DocumentLinkServiceGrpc.DocumentLinkServiceBlockingStub

newFutureStub(Channel channel)

public static DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DocumentLinkServiceGrpc.DocumentLinkServiceFutureStub

newStub(Channel channel)

public static DocumentLinkServiceGrpc.DocumentLinkServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DocumentLinkServiceGrpc.DocumentLinkServiceStub