Class GrpcEnterpriseKnowledgeGraphServiceStub (0.40.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcEnterpriseKnowledgeGraphServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcEnterpriseKnowledgeGraphServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcEnterpriseKnowledgeGraphServiceStub
Exceptions
Type Description
IOException

create(EnterpriseKnowledgeGraphServiceStubSettings settings)

public static final GrpcEnterpriseKnowledgeGraphServiceStub create(EnterpriseKnowledgeGraphServiceStubSettings settings)
Parameter
Name Description
settings EnterpriseKnowledgeGraphServiceStubSettings
Returns
Type Description
GrpcEnterpriseKnowledgeGraphServiceStub
Exceptions
Type Description
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
Name Description
settings EnterpriseKnowledgeGraphServiceStubSettings
clientContext ClientContext

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
Name Description
settings EnterpriseKnowledgeGraphServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

cancelEntityReconciliationJobCallable()

public UnaryCallable<CancelEntityReconciliationJobRequest,Empty> cancelEntityReconciliationJobCallable()
Returns
Type Description
UnaryCallable<CancelEntityReconciliationJobRequest,Empty>
Overrides

close()

public final void close()
Overrides

createEntityReconciliationJobCallable()

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

deleteEntityReconciliationJobCallable()

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

getEntityReconciliationJobCallable()

public UnaryCallable<GetEntityReconciliationJobRequest,EntityReconciliationJob> getEntityReconciliationJobCallable()
Returns
Type Description
UnaryCallable<GetEntityReconciliationJobRequest,EntityReconciliationJob>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listEntityReconciliationJobsCallable()

public UnaryCallable<ListEntityReconciliationJobsRequest,ListEntityReconciliationJobsResponse> listEntityReconciliationJobsCallable()
Returns
Type Description
UnaryCallable<ListEntityReconciliationJobsRequest,ListEntityReconciliationJobsResponse>
Overrides

listEntityReconciliationJobsPagedCallable()

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

lookupCallable()

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

lookupPublicKgCallable()

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

searchCallable()

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

searchPublicKgCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()