Class EnterpriseKnowledgeGraphServiceSettings.Builder (0.8.0)

public static class EnterpriseKnowledgeGraphServiceSettings.Builder extends ClientSettings.Builder<EnterpriseKnowledgeGraphServiceSettings,EnterpriseKnowledgeGraphServiceSettings.Builder>

Builder for EnterpriseKnowledgeGraphServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EnterpriseKnowledgeGraphServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(EnterpriseKnowledgeGraphServiceSettings settings)

protected Builder(EnterpriseKnowledgeGraphServiceSettings settings)
Parameter
NameDescription
settingsEnterpriseKnowledgeGraphServiceSettings

Builder(EnterpriseKnowledgeGraphServiceStubSettings.Builder stubSettings)

protected Builder(EnterpriseKnowledgeGraphServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsEnterpriseKnowledgeGraphServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public EnterpriseKnowledgeGraphServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
EnterpriseKnowledgeGraphServiceSettings.Builder

build()

public EnterpriseKnowledgeGraphServiceSettings build()
Returns
TypeDescription
EnterpriseKnowledgeGraphServiceSettings
Overrides Exceptions
TypeDescription
IOException

cancelEntityReconciliationJobSettings()

public UnaryCallSettings.Builder<CancelEntityReconciliationJobRequest,Empty> cancelEntityReconciliationJobSettings()

Returns the builder for the settings used for calls to cancelEntityReconciliationJob.

Returns
TypeDescription
Builder<CancelEntityReconciliationJobRequest,Empty>

createEntityReconciliationJobSettings()

public UnaryCallSettings.Builder<CreateEntityReconciliationJobRequest,EntityReconciliationJob> createEntityReconciliationJobSettings()

Returns the builder for the settings used for calls to createEntityReconciliationJob.

Returns
TypeDescription
Builder<CreateEntityReconciliationJobRequest,EntityReconciliationJob>

deleteEntityReconciliationJobSettings()

public UnaryCallSettings.Builder<DeleteEntityReconciliationJobRequest,Empty> deleteEntityReconciliationJobSettings()

Returns the builder for the settings used for calls to deleteEntityReconciliationJob.

Returns
TypeDescription
Builder<DeleteEntityReconciliationJobRequest,Empty>

getEntityReconciliationJobSettings()

public UnaryCallSettings.Builder<GetEntityReconciliationJobRequest,EntityReconciliationJob> getEntityReconciliationJobSettings()

Returns the builder for the settings used for calls to getEntityReconciliationJob.

Returns
TypeDescription
Builder<GetEntityReconciliationJobRequest,EntityReconciliationJob>

getStubSettingsBuilder()

public EnterpriseKnowledgeGraphServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
EnterpriseKnowledgeGraphServiceStubSettings.Builder

listEntityReconciliationJobsSettings()

public PagedCallSettings.Builder<ListEntityReconciliationJobsRequest,ListEntityReconciliationJobsResponse,EnterpriseKnowledgeGraphServiceClient.ListEntityReconciliationJobsPagedResponse> listEntityReconciliationJobsSettings()

Returns the builder for the settings used for calls to listEntityReconciliationJobs.

Returns
TypeDescription
Builder<ListEntityReconciliationJobsRequest,ListEntityReconciliationJobsResponse,ListEntityReconciliationJobsPagedResponse>

lookupPublicKgSettings()

public UnaryCallSettings.Builder<LookupPublicKgRequest,LookupPublicKgResponse> lookupPublicKgSettings()

Returns the builder for the settings used for calls to lookupPublicKg.

Returns
TypeDescription
Builder<LookupPublicKgRequest,LookupPublicKgResponse>

lookupSettings()

public UnaryCallSettings.Builder<LookupRequest,LookupResponse> lookupSettings()

Returns the builder for the settings used for calls to lookup.

Returns
TypeDescription
Builder<LookupRequest,LookupResponse>

searchPublicKgSettings()

public UnaryCallSettings.Builder<SearchPublicKgRequest,SearchPublicKgResponse> searchPublicKgSettings()

Returns the builder for the settings used for calls to searchPublicKg.

Returns
TypeDescription
Builder<SearchPublicKgRequest,SearchPublicKgResponse>

searchSettings()

public UnaryCallSettings.Builder<SearchRequest,SearchResponse> searchSettings()

Returns the builder for the settings used for calls to search.

Returns
TypeDescription
Builder<SearchRequest,SearchResponse>