public class HttpJsonDocumentLinkServiceStub extends DocumentLinkServiceStubREST stub implementation for the DocumentLinkService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonDocumentLinkServiceStub create(ClientContext clientContext)| Name | Description |
clientContext |
ClientContext |
| Type | Description |
HttpJsonDocumentLinkServiceStub |
| Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDocumentLinkServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)| Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
| Type | Description |
HttpJsonDocumentLinkServiceStub |
| Type | Description |
IOException |
create(DocumentLinkServiceStubSettings settings)
public static final HttpJsonDocumentLinkServiceStub create(DocumentLinkServiceStubSettings settings)| Name | Description |
settings |
DocumentLinkServiceStubSettings |
| Type | Description |
HttpJsonDocumentLinkServiceStub |
| Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()| Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonDocumentLinkServiceStub(DocumentLinkServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonDocumentLinkServiceStub(DocumentLinkServiceStubSettings settings, ClientContext clientContext)Constructs an instance of HttpJsonDocumentLinkServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
| Name | Description |
settings |
DocumentLinkServiceStubSettings |
clientContext |
ClientContext |
HttpJsonDocumentLinkServiceStub(DocumentLinkServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonDocumentLinkServiceStub(DocumentLinkServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonDocumentLinkServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
| Name | Description |
settings |
DocumentLinkServiceStubSettings |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)| Name | Description |
duration |
long |
unit |
TimeUnit |
| Type | Description |
boolean |
| Type | Description |
InterruptedException |
close()
public final void close()createDocumentLinkCallable()
public UnaryCallable<CreateDocumentLinkRequest,DocumentLink> createDocumentLinkCallable()| Type | Description |
UnaryCallable<CreateDocumentLinkRequest,DocumentLink> |
deleteDocumentLinkCallable()
public UnaryCallable<DeleteDocumentLinkRequest,Empty> deleteDocumentLinkCallable()| Type | Description |
UnaryCallable<DeleteDocumentLinkRequest,Empty> |
isShutdown()
public boolean isShutdown()| Type | Description |
boolean |
isTerminated()
public boolean isTerminated()| Type | Description |
boolean |
listLinkedSourcesCallable()
public UnaryCallable<ListLinkedSourcesRequest,ListLinkedSourcesResponse> listLinkedSourcesCallable()| Type | Description |
UnaryCallable<ListLinkedSourcesRequest,ListLinkedSourcesResponse> |
listLinkedSourcesPagedCallable()
public UnaryCallable<ListLinkedSourcesRequest,DocumentLinkServiceClient.ListLinkedSourcesPagedResponse> listLinkedSourcesPagedCallable()| Type | Description |
UnaryCallable<ListLinkedSourcesRequest,ListLinkedSourcesPagedResponse> |
listLinkedTargetsCallable()
public UnaryCallable<ListLinkedTargetsRequest,ListLinkedTargetsResponse> listLinkedTargetsCallable()| Type | Description |
UnaryCallable<ListLinkedTargetsRequest,ListLinkedTargetsResponse> |
shutdown()
public void shutdown()shutdownNow()
public void shutdownNow()