Class EnterpriseKnowledgeGraphServiceGrpc.EnterpriseKnowledgeGraphServiceStub (0.14.0)

public static final class EnterpriseKnowledgeGraphServiceGrpc.EnterpriseKnowledgeGraphServiceStub extends AbstractAsyncStub<EnterpriseKnowledgeGraphServiceGrpc.EnterpriseKnowledgeGraphServiceStub>

A stub to allow clients to do asynchronous rpc calls to service EnterpriseKnowledgeGraphService.

APIs for enterprise knowledge graph product.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > EnterpriseKnowledgeGraphServiceGrpc.EnterpriseKnowledgeGraphServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected EnterpriseKnowledgeGraphServiceGrpc.EnterpriseKnowledgeGraphServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
EnterpriseKnowledgeGraphServiceGrpc.EnterpriseKnowledgeGraphServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

cancelEntityReconciliationJob(CancelEntityReconciliationJobRequest request, StreamObserver<Empty> responseObserver)

public void cancelEntityReconciliationJob(CancelEntityReconciliationJobRequest request, StreamObserver<Empty> responseObserver)

Cancels a EntityReconciliationJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
requestCancelEntityReconciliationJobRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

createEntityReconciliationJob(CreateEntityReconciliationJobRequest request, StreamObserver<EntityReconciliationJob> responseObserver)

public void createEntityReconciliationJob(CreateEntityReconciliationJobRequest request, StreamObserver<EntityReconciliationJob> responseObserver)

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

Parameters
NameDescription
requestCreateEntityReconciliationJobRequest
responseObserverio.grpc.stub.StreamObserver<EntityReconciliationJob>

deleteEntityReconciliationJob(DeleteEntityReconciliationJobRequest request, StreamObserver<Empty> responseObserver)

public void deleteEntityReconciliationJob(DeleteEntityReconciliationJobRequest request, StreamObserver<Empty> responseObserver)

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

Parameters
NameDescription
requestDeleteEntityReconciliationJobRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getEntityReconciliationJob(GetEntityReconciliationJobRequest request, StreamObserver<EntityReconciliationJob> responseObserver)

public void getEntityReconciliationJob(GetEntityReconciliationJobRequest request, StreamObserver<EntityReconciliationJob> responseObserver)

Gets a EntityReconciliationJob.

Parameters
NameDescription
requestGetEntityReconciliationJobRequest
responseObserverio.grpc.stub.StreamObserver<EntityReconciliationJob>

listEntityReconciliationJobs(ListEntityReconciliationJobsRequest request, StreamObserver<ListEntityReconciliationJobsResponse> responseObserver)

public void listEntityReconciliationJobs(ListEntityReconciliationJobsRequest request, StreamObserver<ListEntityReconciliationJobsResponse> responseObserver)

Lists Entity Reconciliation Jobs.

Parameters
NameDescription
requestListEntityReconciliationJobsRequest
responseObserverio.grpc.stub.StreamObserver<ListEntityReconciliationJobsResponse>

lookup(LookupRequest request, StreamObserver<LookupResponse> responseObserver)

public void lookup(LookupRequest request, StreamObserver<LookupResponse> responseObserver)

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

Parameters
NameDescription
requestLookupRequest
responseObserverio.grpc.stub.StreamObserver<LookupResponse>

lookupPublicKg(LookupPublicKgRequest request, StreamObserver<LookupPublicKgResponse> responseObserver)

public void lookupPublicKg(LookupPublicKgRequest request, StreamObserver<LookupPublicKgResponse> responseObserver)

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

Parameters
NameDescription
requestLookupPublicKgRequest
responseObserverio.grpc.stub.StreamObserver<LookupPublicKgResponse>

search(SearchRequest request, StreamObserver<SearchResponse> responseObserver)

public void search(SearchRequest request, StreamObserver<SearchResponse> responseObserver)

Searches the Cloud KG entities with entity name.

Parameters
NameDescription
requestSearchRequest
responseObserverio.grpc.stub.StreamObserver<SearchResponse>

searchPublicKg(SearchPublicKgRequest request, StreamObserver<SearchPublicKgResponse> responseObserver)

public void searchPublicKg(SearchPublicKgRequest request, StreamObserver<SearchPublicKgResponse> responseObserver)

Searches the public KG entities with entity name.

Parameters
NameDescription
requestSearchPublicKgRequest
responseObserverio.grpc.stub.StreamObserver<SearchPublicKgResponse>