Class EnterpriseKnowledgeGraphServiceGrpc.EnterpriseKnowledgeGraphServiceFutureStub (0.25.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCancelEntityReconciliationJobRequest
Returns
TypeDescription
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
NameDescription
requestCreateEntityReconciliationJobRequest
Returns
TypeDescription
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
NameDescription
requestDeleteEntityReconciliationJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getEntityReconciliationJob(GetEntityReconciliationJobRequest request)

public ListenableFuture<EntityReconciliationJob> getEntityReconciliationJob(GetEntityReconciliationJobRequest request)

Gets a EntityReconciliationJob.

Parameter
NameDescription
requestGetEntityReconciliationJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<EntityReconciliationJob>

listEntityReconciliationJobs(ListEntityReconciliationJobsRequest request)

public ListenableFuture<ListEntityReconciliationJobsResponse> listEntityReconciliationJobs(ListEntityReconciliationJobsRequest request)

Lists Entity Reconciliation Jobs.

Parameter
NameDescription
requestListEntityReconciliationJobsRequest
Returns
TypeDescription
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
NameDescription
requestLookupRequest
Returns
TypeDescription
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
NameDescription
requestLookupPublicKgRequest
Returns
TypeDescription
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
NameDescription
requestSearchRequest
Returns
TypeDescription
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
NameDescription
requestSearchPublicKgRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SearchPublicKgResponse>