Class GrpcEnterpriseKnowledgeGraphServiceStub (0.26.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
TypeDescription
GrpcEnterpriseKnowledgeGraphServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(EnterpriseKnowledgeGraphServiceStubSettings settings)

public static final GrpcEnterpriseKnowledgeGraphServiceStub create(EnterpriseKnowledgeGraphServiceStubSettings settings)
Parameter
NameDescription
settingsEnterpriseKnowledgeGraphServiceStubSettings
Returns
TypeDescription
GrpcEnterpriseKnowledgeGraphServiceStub
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
NameDescription
settingsEnterpriseKnowledgeGraphServiceStubSettings
clientContextClientContext

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
NameDescription
settingsEnterpriseKnowledgeGraphServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

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
TypeDescription
UnaryCallable<CancelEntityReconciliationJobRequest,Empty>
Overrides

close()

public final void close()
Overrides

createEntityReconciliationJobCallable()

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

deleteEntityReconciliationJobCallable()

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

getEntityReconciliationJobCallable()

public UnaryCallable<GetEntityReconciliationJobRequest,EntityReconciliationJob> getEntityReconciliationJobCallable()
Returns
TypeDescription
UnaryCallable<GetEntityReconciliationJobRequest,EntityReconciliationJob>
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
TypeDescription
UnaryCallable<ListEntityReconciliationJobsRequest,ListEntityReconciliationJobsResponse>
Overrides

listEntityReconciliationJobsPagedCallable()

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

lookupCallable()

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

lookupPublicKgCallable()

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

searchCallable()

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

searchPublicKgCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()