Class HttpJsonEnterpriseKnowledgeGraphServiceStub (0.32.0)

public class HttpJsonEnterpriseKnowledgeGraphServiceStub extends EnterpriseKnowledgeGraphServiceStub

REST stub implementation for the EnterpriseKnowledgeGraphService service API.

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

Inheritance

java.lang.Object > EnterpriseKnowledgeGraphServiceStub > HttpJsonEnterpriseKnowledgeGraphServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonEnterpriseKnowledgeGraphServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonEnterpriseKnowledgeGraphServiceStub
Exceptions
TypeDescription
IOException

create(EnterpriseKnowledgeGraphServiceStubSettings settings)

public static final HttpJsonEnterpriseKnowledgeGraphServiceStub create(EnterpriseKnowledgeGraphServiceStubSettings settings)
Parameter
NameDescription
settingsEnterpriseKnowledgeGraphServiceStubSettings
Returns
TypeDescription
HttpJsonEnterpriseKnowledgeGraphServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext)

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

HttpJsonEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonEnterpriseKnowledgeGraphServiceStub(EnterpriseKnowledgeGraphServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

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

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