Class GrpcEnterpriseKnowledgeGraphServiceStub (0.3.0)

public class GrpcEnterpriseKnowledgeGraphServiceStub extends EnterpriseKnowledgeGraphServiceStub

gRPC stub implementation for the EnterpriseKnowledgeGraphService service API.

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

Inheritance

java.lang.Object > EnterpriseKnowledgeGraphServiceStub > GrpcEnterpriseKnowledgeGraphServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcEnterpriseKnowledgeGraphServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns Exceptions
TypeDescription
IOException

create(EnterpriseKnowledgeGraphServiceStubSettings settings)

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

Constructors

GrpcEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext)

protected GrpcEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext)

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

GrpcEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

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()