Class EnterpriseKnowledgeGraphServiceGrpc.EnterpriseKnowledgeGraphServiceFutureStub (0.39.0)

public static final class EnterpriseKnowledgeGraphServiceGrpc.EnterpriseKnowledgeGraphServiceFutureStub extends AbstractFutureStub<EnterpriseKnowledgeGraphServiceGrpc.EnterpriseKnowledgeGraphServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service EnterpriseKnowledgeGraphService.

APIs for enterprise knowledge graph product.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > EnterpriseKnowledgeGraphServiceGrpc.EnterpriseKnowledgeGraphServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected EnterpriseKnowledgeGraphServiceGrpc.EnterpriseKnowledgeGraphServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
EnterpriseKnowledgeGraphServiceGrpc.EnterpriseKnowledgeGraphServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

cancelEntityReconciliationJob(CancelEntityReconciliationJobRequest request)

public ListenableFuture<Empty> cancelEntityReconciliationJob(CancelEntityReconciliationJobRequest request)

Cancels a EntityReconciliationJob. Success of cancellation is not guaranteed.

Parameter
Name Description
request CancelEntityReconciliationJobRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

createEntityReconciliationJob(CreateEntityReconciliationJobRequest request)

public ListenableFuture<EntityReconciliationJob> createEntityReconciliationJob(CreateEntityReconciliationJobRequest request)

Creates a EntityReconciliationJob. A EntityReconciliationJob once created will right away be attempted to start.

Parameter
Name Description
request CreateEntityReconciliationJobRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<EntityReconciliationJob>

deleteEntityReconciliationJob(DeleteEntityReconciliationJobRequest request)

public ListenableFuture<Empty> deleteEntityReconciliationJob(DeleteEntityReconciliationJobRequest request)

Deletes a EntityReconciliationJob. It only deletes the job when the job state is in FAILED, SUCCEEDED, and CANCELLED.

Parameter
Name Description
request DeleteEntityReconciliationJobRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getEntityReconciliationJob(GetEntityReconciliationJobRequest request)

public ListenableFuture<EntityReconciliationJob> getEntityReconciliationJob(GetEntityReconciliationJobRequest request)

Gets a EntityReconciliationJob.

Parameter
Name Description
request GetEntityReconciliationJobRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<EntityReconciliationJob>

listEntityReconciliationJobs(ListEntityReconciliationJobsRequest request)

public ListenableFuture<ListEntityReconciliationJobsResponse> listEntityReconciliationJobs(ListEntityReconciliationJobsRequest request)

Lists Entity Reconciliation Jobs.

Parameter
Name Description
request ListEntityReconciliationJobsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListEntityReconciliationJobsResponse>

lookup(LookupRequest request)

public ListenableFuture<LookupResponse> lookup(LookupRequest request)

Finds the Cloud KG entities with CKG ID(s).

Parameter
Name Description
request LookupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LookupResponse>

lookupPublicKg(LookupPublicKgRequest request)

public ListenableFuture<LookupPublicKgResponse> lookupPublicKg(LookupPublicKgRequest request)

Finds the public KG entities with public KG ID(s).

Parameter
Name Description
request LookupPublicKgRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LookupPublicKgResponse>

search(SearchRequest request)

public ListenableFuture<SearchResponse> search(SearchRequest request)

Searches the Cloud KG entities with entity name.

Parameter
Name Description
request SearchRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SearchResponse>

searchPublicKg(SearchPublicKgRequest request)

public ListenableFuture<SearchPublicKgResponse> searchPublicKg(SearchPublicKgRequest request)

Searches the public KG entities with entity name.

Parameter
Name Description
request SearchPublicKgRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SearchPublicKgResponse>