Class GrpcEnterpriseKnowledgeGraphServiceStub
- java.lang.Object
-
- com.google.cloud.enterpriseknowledgegraph.v1.stub.EnterpriseKnowledgeGraphServiceStub
-
- com.google.cloud.enterpriseknowledgegraph.v1.stub.GrpcEnterpriseKnowledgeGraphServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.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
Constructors Modifier Constructor Description protected
GrpcEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcEnterpriseKnowledgeGraphServiceStub, using the given settings.protected
GrpcEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcEnterpriseKnowledgeGraphServiceStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
GrpcEnterpriseKnowledgeGraphServiceStub
protected GrpcEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, com.google.api.gax.rpc.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, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.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 Detail
-
create
public static final GrpcEnterpriseKnowledgeGraphServiceStub create(EnterpriseKnowledgeGraphServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcEnterpriseKnowledgeGraphServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcEnterpriseKnowledgeGraphServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
createEntityReconciliationJobCallable
public com.google.api.gax.rpc.UnaryCallable<CreateEntityReconciliationJobRequest,EntityReconciliationJob> createEntityReconciliationJobCallable()
- Overrides:
createEntityReconciliationJobCallable
in classEnterpriseKnowledgeGraphServiceStub
-
getEntityReconciliationJobCallable
public com.google.api.gax.rpc.UnaryCallable<GetEntityReconciliationJobRequest,EntityReconciliationJob> getEntityReconciliationJobCallable()
- Overrides:
getEntityReconciliationJobCallable
in classEnterpriseKnowledgeGraphServiceStub
-
listEntityReconciliationJobsCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntityReconciliationJobsRequest,ListEntityReconciliationJobsResponse> listEntityReconciliationJobsCallable()
- Overrides:
listEntityReconciliationJobsCallable
in classEnterpriseKnowledgeGraphServiceStub
-
listEntityReconciliationJobsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntityReconciliationJobsRequest,EnterpriseKnowledgeGraphServiceClient.ListEntityReconciliationJobsPagedResponse> listEntityReconciliationJobsPagedCallable()
- Overrides:
listEntityReconciliationJobsPagedCallable
in classEnterpriseKnowledgeGraphServiceStub
-
cancelEntityReconciliationJobCallable
public com.google.api.gax.rpc.UnaryCallable<CancelEntityReconciliationJobRequest,com.google.protobuf.Empty> cancelEntityReconciliationJobCallable()
- Overrides:
cancelEntityReconciliationJobCallable
in classEnterpriseKnowledgeGraphServiceStub
-
deleteEntityReconciliationJobCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteEntityReconciliationJobRequest,com.google.protobuf.Empty> deleteEntityReconciliationJobCallable()
- Overrides:
deleteEntityReconciliationJobCallable
in classEnterpriseKnowledgeGraphServiceStub
-
lookupCallable
public com.google.api.gax.rpc.UnaryCallable<LookupRequest,LookupResponse> lookupCallable()
- Overrides:
lookupCallable
in classEnterpriseKnowledgeGraphServiceStub
-
searchCallable
public com.google.api.gax.rpc.UnaryCallable<SearchRequest,SearchResponse> searchCallable()
- Overrides:
searchCallable
in classEnterpriseKnowledgeGraphServiceStub
-
lookupPublicKgCallable
public com.google.api.gax.rpc.UnaryCallable<LookupPublicKgRequest,LookupPublicKgResponse> lookupPublicKgCallable()
- Overrides:
lookupPublicKgCallable
in classEnterpriseKnowledgeGraphServiceStub
-
searchPublicKgCallable
public com.google.api.gax.rpc.UnaryCallable<SearchPublicKgRequest,SearchPublicKgResponse> searchPublicKgCallable()
- Overrides:
searchPublicKgCallable
in classEnterpriseKnowledgeGraphServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classEnterpriseKnowledgeGraphServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-