Class EnterpriseKnowledgeGraphServiceStubSettings.Builder (0.33.0)

public static class EnterpriseKnowledgeGraphServiceStubSettings.Builder extends StubSettings.Builder<EnterpriseKnowledgeGraphServiceStubSettings,EnterpriseKnowledgeGraphServiceStubSettings.Builder>

Builder for EnterpriseKnowledgeGraphServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > EnterpriseKnowledgeGraphServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(EnterpriseKnowledgeGraphServiceStubSettings settings)

protected Builder(EnterpriseKnowledgeGraphServiceStubSettings settings)
Parameter
NameDescription
settingsEnterpriseKnowledgeGraphServiceStubSettings

Methods

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

public EnterpriseKnowledgeGraphServiceStubSettings.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
EnterpriseKnowledgeGraphServiceStubSettings.Builder

build()

public EnterpriseKnowledgeGraphServiceStubSettings build()
Returns
TypeDescription
EnterpriseKnowledgeGraphServiceStubSettings
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>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getEntityReconciliationJobSettings()

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

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

Returns
TypeDescription
Builder<GetEntityReconciliationJobRequest,EntityReconciliationJob>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>