Class HttpJsonEnterpriseKnowledgeGraphServiceStub (0.8.0)

public class HttpJsonEnterpriseKnowledgeGraphServiceStub extends EnterpriseKnowledgeGraphServiceStub

REST stub implementation for the EnterpriseKnowledgeGraphService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > EnterpriseKnowledgeGraphServiceStub > HttpJsonEnterpriseKnowledgeGraphServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonEnterpriseKnowledgeGraphServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonEnterpriseKnowledgeGraphServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns Exceptions
TypeDescription
IOException

create(EnterpriseKnowledgeGraphServiceStubSettings settings)

public static final HttpJsonEnterpriseKnowledgeGraphServiceStub create(EnterpriseKnowledgeGraphServiceStubSettings settings)
Parameter Returns Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonEnterpriseKnowledgeGraphServiceStub, 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.

Parameters

HttpJsonEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonEnterpriseKnowledgeGraphServiceStub, 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.

Parameters

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

cancelEntityReconciliationJobCallable()

public UnaryCallable<CancelEntityReconciliationJobRequest,Empty> cancelEntityReconciliationJobCallable()
Returns Overrides

close()

public final void close()
Overrides

createEntityReconciliationJobCallable()

public UnaryCallable<CreateEntityReconciliationJobRequest,EntityReconciliationJob> createEntityReconciliationJobCallable()
Returns Overrides

deleteEntityReconciliationJobCallable()

public UnaryCallable<DeleteEntityReconciliationJobRequest,Empty> deleteEntityReconciliationJobCallable()
Returns Overrides

getEntityReconciliationJobCallable()

public UnaryCallable<GetEntityReconciliationJobRequest,EntityReconciliationJob> getEntityReconciliationJobCallable()
Returns Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listEntityReconciliationJobsCallable()

public UnaryCallable<ListEntityReconciliationJobsRequest,ListEntityReconciliationJobsResponse> listEntityReconciliationJobsCallable()
Returns Overrides

listEntityReconciliationJobsPagedCallable()

public UnaryCallable<ListEntityReconciliationJobsRequest,EnterpriseKnowledgeGraphServiceClient.ListEntityReconciliationJobsPagedResponse> listEntityReconciliationJobsPagedCallable()
Returns Overrides

lookupCallable()

public UnaryCallable<LookupRequest,LookupResponse> lookupCallable()
Returns Overrides

lookupPublicKgCallable()

public UnaryCallable<LookupPublicKgRequest,LookupPublicKgResponse> lookupPublicKgCallable()
Returns Overrides

searchCallable()

public UnaryCallable<SearchRequest,SearchResponse> searchCallable()
Returns Overrides

searchPublicKgCallable()

public UnaryCallable<SearchPublicKgRequest,SearchPublicKgResponse> searchPublicKgCallable()
Returns Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()