Class GrpcEnterpriseKnowledgeGraphServiceStub
java.lang.Object
com.google.cloud.enterpriseknowledgegraph.v1.stub.EnterpriseKnowledgeGraphServiceStub
com.google.cloud.enterpriseknowledgegraph.v1.stub.GrpcEnterpriseKnowledgeGraphServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcEnterpriseKnowledgeGraphServiceStub, using the given settings.protectedGrpcEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcEnterpriseKnowledgeGraphServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) UnaryCallable<CancelEntityReconciliationJobRequest,com.google.protobuf.Empty> final voidclose()static final GrpcEnterpriseKnowledgeGraphServiceStubcreate(ClientContext clientContext) static final GrpcEnterpriseKnowledgeGraphServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcEnterpriseKnowledgeGraphServiceStubUnaryCallable<DeleteEntityReconciliationJobRequest,com.google.protobuf.Empty> booleanbooleanUnaryCallable<ListEntityReconciliationJobsRequest,EnterpriseKnowledgeGraphServiceClient.ListEntityReconciliationJobsPagedResponse> voidshutdown()void
-
Constructor Details
-
GrpcEnterpriseKnowledgeGraphServiceStub
protected GrpcEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
GrpcEnterpriseKnowledgeGraphServiceStub
protected GrpcEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcEnterpriseKnowledgeGraphServiceStub create(EnterpriseKnowledgeGraphServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcEnterpriseKnowledgeGraphServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcEnterpriseKnowledgeGraphServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
createEntityReconciliationJobCallable
public UnaryCallable<CreateEntityReconciliationJobRequest,EntityReconciliationJob> createEntityReconciliationJobCallable()- Overrides:
createEntityReconciliationJobCallablein classEnterpriseKnowledgeGraphServiceStub
-
getEntityReconciliationJobCallable
public UnaryCallable<GetEntityReconciliationJobRequest,EntityReconciliationJob> getEntityReconciliationJobCallable()- Overrides:
getEntityReconciliationJobCallablein classEnterpriseKnowledgeGraphServiceStub
-
listEntityReconciliationJobsCallable
public UnaryCallable<ListEntityReconciliationJobsRequest,ListEntityReconciliationJobsResponse> listEntityReconciliationJobsCallable()- Overrides:
listEntityReconciliationJobsCallablein classEnterpriseKnowledgeGraphServiceStub
-
listEntityReconciliationJobsPagedCallable
public UnaryCallable<ListEntityReconciliationJobsRequest,EnterpriseKnowledgeGraphServiceClient.ListEntityReconciliationJobsPagedResponse> listEntityReconciliationJobsPagedCallable()- Overrides:
listEntityReconciliationJobsPagedCallablein classEnterpriseKnowledgeGraphServiceStub
-
cancelEntityReconciliationJobCallable
public UnaryCallable<CancelEntityReconciliationJobRequest,com.google.protobuf.Empty> cancelEntityReconciliationJobCallable()- Overrides:
cancelEntityReconciliationJobCallablein classEnterpriseKnowledgeGraphServiceStub
-
deleteEntityReconciliationJobCallable
public UnaryCallable<DeleteEntityReconciliationJobRequest,com.google.protobuf.Empty> deleteEntityReconciliationJobCallable()- Overrides:
deleteEntityReconciliationJobCallablein classEnterpriseKnowledgeGraphServiceStub
-
lookupCallable
- Overrides:
lookupCallablein classEnterpriseKnowledgeGraphServiceStub
-
searchCallable
- Overrides:
searchCallablein classEnterpriseKnowledgeGraphServiceStub
-
lookupPublicKgCallable
- Overrides:
lookupPublicKgCallablein classEnterpriseKnowledgeGraphServiceStub
-
searchPublicKgCallable
- Overrides:
searchPublicKgCallablein classEnterpriseKnowledgeGraphServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classEnterpriseKnowledgeGraphServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-