Class WidgetConfig.Builder (0.99.0)

public static final class WidgetConfig.Builder extends GeneratedMessage.Builder<WidgetConfig.Builder> implements WidgetConfigOrBuilder

WidgetConfig captures configs at the Widget level.

Protobuf type google.cloud.discoveryengine.v1.WidgetConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllBatchAuthStatuses(Iterable<? extends WidgetConfig.BatchAuthStatus> values)

public WidgetConfig.Builder addAllBatchAuthStatuses(Iterable<? extends WidgetConfig.BatchAuthStatus> values)

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus>
Returns
Type Description
WidgetConfig.Builder

addAllCollectionComponents(Iterable<? extends WidgetConfig.CollectionComponent> values)

public WidgetConfig.Builder addAllCollectionComponents(Iterable<? extends WidgetConfig.CollectionComponent> values)

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent>
Returns
Type Description
WidgetConfig.Builder

addAllNodes(Iterable<? extends WidgetConfig.Node> values)

public WidgetConfig.Builder addAllNodes(Iterable<? extends WidgetConfig.Node> values)

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1.WidgetConfig.Node>
Returns
Type Description
WidgetConfig.Builder

addBatchAuthStatuses(WidgetConfig.BatchAuthStatus value)

public WidgetConfig.Builder addBatchAuthStatuses(WidgetConfig.BatchAuthStatus value)

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WidgetConfig.BatchAuthStatus
Returns
Type Description
WidgetConfig.Builder

addBatchAuthStatuses(WidgetConfig.BatchAuthStatus.Builder builderForValue)

public WidgetConfig.Builder addBatchAuthStatuses(WidgetConfig.BatchAuthStatus.Builder builderForValue)

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue WidgetConfig.BatchAuthStatus.Builder
Returns
Type Description
WidgetConfig.Builder

addBatchAuthStatuses(int index, WidgetConfig.BatchAuthStatus value)

public WidgetConfig.Builder addBatchAuthStatuses(int index, WidgetConfig.BatchAuthStatus value)

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value WidgetConfig.BatchAuthStatus
Returns
Type Description
WidgetConfig.Builder

addBatchAuthStatuses(int index, WidgetConfig.BatchAuthStatus.Builder builderForValue)

public WidgetConfig.Builder addBatchAuthStatuses(int index, WidgetConfig.BatchAuthStatus.Builder builderForValue)

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue WidgetConfig.BatchAuthStatus.Builder
Returns
Type Description
WidgetConfig.Builder

addBatchAuthStatusesBuilder()

public WidgetConfig.BatchAuthStatus.Builder addBatchAuthStatusesBuilder()

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.BatchAuthStatus.Builder

addBatchAuthStatusesBuilder(int index)

public WidgetConfig.BatchAuthStatus.Builder addBatchAuthStatusesBuilder(int index)

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.BatchAuthStatus.Builder

addCollectionComponents(WidgetConfig.CollectionComponent value)

public WidgetConfig.Builder addCollectionComponents(WidgetConfig.CollectionComponent value)

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WidgetConfig.CollectionComponent
Returns
Type Description
WidgetConfig.Builder

addCollectionComponents(WidgetConfig.CollectionComponent.Builder builderForValue)

public WidgetConfig.Builder addCollectionComponents(WidgetConfig.CollectionComponent.Builder builderForValue)

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue WidgetConfig.CollectionComponent.Builder
Returns
Type Description
WidgetConfig.Builder

addCollectionComponents(int index, WidgetConfig.CollectionComponent value)

public WidgetConfig.Builder addCollectionComponents(int index, WidgetConfig.CollectionComponent value)

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value WidgetConfig.CollectionComponent
Returns
Type Description
WidgetConfig.Builder

addCollectionComponents(int index, WidgetConfig.CollectionComponent.Builder builderForValue)

public WidgetConfig.Builder addCollectionComponents(int index, WidgetConfig.CollectionComponent.Builder builderForValue)

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue WidgetConfig.CollectionComponent.Builder
Returns
Type Description
WidgetConfig.Builder

addCollectionComponentsBuilder()

public WidgetConfig.CollectionComponent.Builder addCollectionComponentsBuilder()

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.CollectionComponent.Builder

addCollectionComponentsBuilder(int index)

public WidgetConfig.CollectionComponent.Builder addCollectionComponentsBuilder(int index)

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.CollectionComponent.Builder

addNodes(WidgetConfig.Node value)

public WidgetConfig.Builder addNodes(WidgetConfig.Node value)

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WidgetConfig.Node
Returns
Type Description
WidgetConfig.Builder

addNodes(WidgetConfig.Node.Builder builderForValue)

public WidgetConfig.Builder addNodes(WidgetConfig.Node.Builder builderForValue)

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue WidgetConfig.Node.Builder
Returns
Type Description
WidgetConfig.Builder

addNodes(int index, WidgetConfig.Node value)

public WidgetConfig.Builder addNodes(int index, WidgetConfig.Node value)

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value WidgetConfig.Node
Returns
Type Description
WidgetConfig.Builder

addNodes(int index, WidgetConfig.Node.Builder builderForValue)

public WidgetConfig.Builder addNodes(int index, WidgetConfig.Node.Builder builderForValue)

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue WidgetConfig.Node.Builder
Returns
Type Description
WidgetConfig.Builder

addNodesBuilder()

public WidgetConfig.Node.Builder addNodesBuilder()

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Node.Builder

addNodesBuilder(int index)

public WidgetConfig.Node.Builder addNodesBuilder(int index)

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.Node.Builder

build()

public WidgetConfig build()
Returns
Type Description
WidgetConfig

buildPartial()

public WidgetConfig buildPartial()
Returns
Type Description
WidgetConfig

clear()

public WidgetConfig.Builder clear()
Returns
Type Description
WidgetConfig.Builder
Overrides

clearAccessSettings()

public WidgetConfig.Builder clearAccessSettings()

Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.AccessSettings access_settings = 34;

Returns
Type Description
WidgetConfig.Builder

clearAssistantSettings()

public WidgetConfig.Builder clearAssistantSettings()

Optional. Output only. Describes the assistant settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.AssistantSettings assistant_settings = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

clearBatchAuthStatuses()

public WidgetConfig.Builder clearBatchAuthStatuses()

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

clearCollectionComponents()

public WidgetConfig.Builder clearCollectionComponents()

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

clearConfigId()

public WidgetConfig.Builder clearConfigId()

Output only. Unique obfuscated identifier of a WidgetConfig.

string config_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

clearCreateTime()

public WidgetConfig.Builder clearCreateTime()

Output only. Timestamp the WidgetConfig was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

clearCustomerProvidedConfig()

public WidgetConfig.Builder clearCustomerProvidedConfig()

Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding.

.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig customer_provided_config = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

clearDataStoreType()

public WidgetConfig.Builder clearDataStoreType()

Output only. The type of the parent data store.

.google.cloud.discoveryengine.v1.WidgetConfig.DataStoreType data_store_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

clearDisplayName()

public WidgetConfig.Builder clearDisplayName()

Required. The human readable widget config display name. Used in Discovery UI.

This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

clearEnablePrivateKnowledgeGraph()

public WidgetConfig.Builder clearEnablePrivateKnowledgeGraph()

Optional. Output only. Whether to enable private knowledge graph.

bool enable_private_knowledge_graph = 42 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

clearEnableResultScore()

public WidgetConfig.Builder clearEnableResultScore()

Whether to show the result score.

bool enable_result_score = 21;

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

clearGeminiBundle()

public WidgetConfig.Builder clearGeminiBundle()

Output only. Whether the subscription is gemini bundle or not.

bool gemini_bundle = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

clearHomepageSetting()

public WidgetConfig.Builder clearHomepageSetting()

Optional. Describes the homepage settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting homepage_setting = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WidgetConfig.Builder

clearIndustryVertical()

public WidgetConfig.Builder clearIndustryVertical()

Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine.

.google.cloud.discoveryengine.v1.IndustryVertical industry_vertical = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

clearLlmEnabled()

public WidgetConfig.Builder clearLlmEnabled()

Output only. Whether LLM is enabled in the corresponding data store.

bool llm_enabled = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

clearMinimumDataTermAccepted()

public WidgetConfig.Builder clearMinimumDataTermAccepted()

Output only. Whether the customer accepted data use terms.

bool minimum_data_term_accepted = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

clearName()

public WidgetConfig.Builder clearName()

Immutable. The full resource name of the widget config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}.

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

clearNodes()

public WidgetConfig.Builder clearNodes()

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

clearSolutionType()

public WidgetConfig.Builder clearSolutionType()

Required. Immutable. Specifies the solution type that this WidgetConfig can be used for.

.google.cloud.discoveryengine.v1.SolutionType solution_type = 14 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

clearUiBranding()

public WidgetConfig.Builder clearUiBranding()

Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors.

.google.cloud.discoveryengine.v1.WidgetConfig.UiBrandingSettings ui_branding = 35;

Returns
Type Description
WidgetConfig.Builder

clearUiSettings()

public WidgetConfig.Builder clearUiSettings()

Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings ui_settings = 33;

Returns
Type Description
WidgetConfig.Builder

clearUpdateTime()

public WidgetConfig.Builder clearUpdateTime()

Output only. Timestamp the WidgetConfig was updated.

.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.Builder

getAccessSettings()

public WidgetConfig.AccessSettings getAccessSettings()

Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.AccessSettings access_settings = 34;

Returns
Type Description
WidgetConfig.AccessSettings

The accessSettings.

getAccessSettingsBuilder()

public WidgetConfig.AccessSettings.Builder getAccessSettingsBuilder()

Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.AccessSettings access_settings = 34;

Returns
Type Description
WidgetConfig.AccessSettings.Builder

getAccessSettingsOrBuilder()

public WidgetConfig.AccessSettingsOrBuilder getAccessSettingsOrBuilder()

Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.AccessSettings access_settings = 34;

Returns
Type Description
WidgetConfig.AccessSettingsOrBuilder

getAssistantSettings()

public WidgetConfig.AssistantSettings getAssistantSettings()

Optional. Output only. Describes the assistant settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.AssistantSettings assistant_settings = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.AssistantSettings

The assistantSettings.

getAssistantSettingsBuilder()

public WidgetConfig.AssistantSettings.Builder getAssistantSettingsBuilder()

Optional. Output only. Describes the assistant settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.AssistantSettings assistant_settings = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.AssistantSettings.Builder

getAssistantSettingsOrBuilder()

public WidgetConfig.AssistantSettingsOrBuilder getAssistantSettingsOrBuilder()

Optional. Output only. Describes the assistant settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.AssistantSettings assistant_settings = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.AssistantSettingsOrBuilder

getBatchAuthStatuses(int index)

public WidgetConfig.BatchAuthStatus getBatchAuthStatuses(int index)

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.BatchAuthStatus

getBatchAuthStatusesBuilder(int index)

public WidgetConfig.BatchAuthStatus.Builder getBatchAuthStatusesBuilder(int index)

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.BatchAuthStatus.Builder

getBatchAuthStatusesBuilderList()

public List<WidgetConfig.BatchAuthStatus.Builder> getBatchAuthStatusesBuilderList()

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getBatchAuthStatusesCount()

public int getBatchAuthStatusesCount()

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getBatchAuthStatusesList()

public List<WidgetConfig.BatchAuthStatus> getBatchAuthStatusesList()

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<BatchAuthStatus>

getBatchAuthStatusesOrBuilder(int index)

public WidgetConfig.BatchAuthStatusOrBuilder getBatchAuthStatusesOrBuilder(int index)

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.BatchAuthStatusOrBuilder

getBatchAuthStatusesOrBuilderList()

public List<? extends WidgetConfig.BatchAuthStatusOrBuilder> getBatchAuthStatusesOrBuilderList()

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatusOrBuilder>

getCollectionComponents(int index)

public WidgetConfig.CollectionComponent getCollectionComponents(int index)

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.CollectionComponent

getCollectionComponentsBuilder(int index)

public WidgetConfig.CollectionComponent.Builder getCollectionComponentsBuilder(int index)

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.CollectionComponent.Builder

getCollectionComponentsBuilderList()

public List<WidgetConfig.CollectionComponent.Builder> getCollectionComponentsBuilderList()

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getCollectionComponentsCount()

public int getCollectionComponentsCount()

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getCollectionComponentsList()

public List<WidgetConfig.CollectionComponent> getCollectionComponentsList()

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<CollectionComponent>

getCollectionComponentsOrBuilder(int index)

public WidgetConfig.CollectionComponentOrBuilder getCollectionComponentsOrBuilder(int index)

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.CollectionComponentOrBuilder

getCollectionComponentsOrBuilderList()

public List<? extends WidgetConfig.CollectionComponentOrBuilder> getCollectionComponentsOrBuilderList()

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponentOrBuilder>

getConfigId()

public String getConfigId()

Output only. Unique obfuscated identifier of a WidgetConfig.

string config_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The configId.

getConfigIdBytes()

public ByteString getConfigIdBytes()

Output only. Unique obfuscated identifier of a WidgetConfig.

string config_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for configId.

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp the WidgetConfig was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp the WidgetConfig was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp the WidgetConfig was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getCustomerProvidedConfig()

public WidgetConfig.CustomerProvidedConfig getCustomerProvidedConfig()

Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding.

.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig customer_provided_config = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.CustomerProvidedConfig

The customerProvidedConfig.

getCustomerProvidedConfigBuilder()

public WidgetConfig.CustomerProvidedConfig.Builder getCustomerProvidedConfigBuilder()

Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding.

.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig customer_provided_config = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.CustomerProvidedConfig.Builder

getCustomerProvidedConfigOrBuilder()

public WidgetConfig.CustomerProvidedConfigOrBuilder getCustomerProvidedConfigOrBuilder()

Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding.

.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig customer_provided_config = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.CustomerProvidedConfigOrBuilder

getDataStoreType()

public WidgetConfig.DataStoreType getDataStoreType()

Output only. The type of the parent data store.

.google.cloud.discoveryengine.v1.WidgetConfig.DataStoreType data_store_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.DataStoreType

The dataStoreType.

getDataStoreTypeValue()

public int getDataStoreTypeValue()

Output only. The type of the parent data store.

.google.cloud.discoveryengine.v1.WidgetConfig.DataStoreType data_store_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for dataStoreType.

getDefaultInstanceForType()

public WidgetConfig getDefaultInstanceForType()
Returns
Type Description
WidgetConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. The human readable widget config display name. Used in Discovery UI.

This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The human readable widget config display name. Used in Discovery UI.

This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getEnablePrivateKnowledgeGraph()

public boolean getEnablePrivateKnowledgeGraph()

Optional. Output only. Whether to enable private knowledge graph.

bool enable_private_knowledge_graph = 42 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The enablePrivateKnowledgeGraph.

getEnableResultScore()

public boolean getEnableResultScore()

Whether to show the result score.

bool enable_result_score = 21;

Returns
Type Description
boolean

The enableResultScore.

getGeminiBundle()

public boolean getGeminiBundle()

Output only. Whether the subscription is gemini bundle or not.

bool gemini_bundle = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The geminiBundle.

getHomepageSetting()

public WidgetConfig.HomepageSetting getHomepageSetting()

Optional. Describes the homepage settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting homepage_setting = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WidgetConfig.HomepageSetting

The homepageSetting.

getHomepageSettingBuilder()

public WidgetConfig.HomepageSetting.Builder getHomepageSettingBuilder()

Optional. Describes the homepage settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting homepage_setting = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WidgetConfig.HomepageSetting.Builder

getHomepageSettingOrBuilder()

public WidgetConfig.HomepageSettingOrBuilder getHomepageSettingOrBuilder()

Optional. Describes the homepage settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting homepage_setting = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WidgetConfig.HomepageSettingOrBuilder

getIndustryVertical()

public IndustryVertical getIndustryVertical()

Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine.

.google.cloud.discoveryengine.v1.IndustryVertical industry_vertical = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IndustryVertical

The industryVertical.

getIndustryVerticalValue()

public int getIndustryVerticalValue()

Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine.

.google.cloud.discoveryengine.v1.IndustryVertical industry_vertical = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for industryVertical.

getLlmEnabled()

public boolean getLlmEnabled()

Output only. Whether LLM is enabled in the corresponding data store.

bool llm_enabled = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The llmEnabled.

getMinimumDataTermAccepted()

public boolean getMinimumDataTermAccepted()

Output only. Whether the customer accepted data use terms.

bool minimum_data_term_accepted = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The minimumDataTermAccepted.

getName()

public String getName()

Immutable. The full resource name of the widget config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}.

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. The full resource name of the widget config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}.

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

getNodes(int index)

public WidgetConfig.Node getNodes(int index)

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.Node

getNodesBuilder(int index)

public WidgetConfig.Node.Builder getNodesBuilder(int index)

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.Node.Builder

getNodesBuilderList()

public List<WidgetConfig.Node.Builder> getNodesBuilderList()

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getNodesCount()

public int getNodesCount()

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getNodesList()

public List<WidgetConfig.Node> getNodesList()

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Node>

getNodesOrBuilder(int index)

public WidgetConfig.NodeOrBuilder getNodesOrBuilder(int index)

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.NodeOrBuilder

getNodesOrBuilderList()

public List<? extends WidgetConfig.NodeOrBuilder> getNodesOrBuilderList()

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.WidgetConfig.NodeOrBuilder>

getSolutionType()

public SolutionType getSolutionType()

Required. Immutable. Specifies the solution type that this WidgetConfig can be used for.

.google.cloud.discoveryengine.v1.SolutionType solution_type = 14 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
SolutionType

The solutionType.

getSolutionTypeValue()

public int getSolutionTypeValue()

Required. Immutable. Specifies the solution type that this WidgetConfig can be used for.

.google.cloud.discoveryengine.v1.SolutionType solution_type = 14 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The enum numeric value on the wire for solutionType.

getUiBranding()

public WidgetConfig.UiBrandingSettings getUiBranding()

Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors.

.google.cloud.discoveryengine.v1.WidgetConfig.UiBrandingSettings ui_branding = 35;

Returns
Type Description
WidgetConfig.UiBrandingSettings

The uiBranding.

getUiBrandingBuilder()

public WidgetConfig.UiBrandingSettings.Builder getUiBrandingBuilder()

Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors.

.google.cloud.discoveryengine.v1.WidgetConfig.UiBrandingSettings ui_branding = 35;

Returns
Type Description
WidgetConfig.UiBrandingSettings.Builder

getUiBrandingOrBuilder()

public WidgetConfig.UiBrandingSettingsOrBuilder getUiBrandingOrBuilder()

Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors.

.google.cloud.discoveryengine.v1.WidgetConfig.UiBrandingSettings ui_branding = 35;

Returns
Type Description
WidgetConfig.UiBrandingSettingsOrBuilder

getUiSettings()

public WidgetConfig.UiSettings getUiSettings()

Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings ui_settings = 33;

Returns
Type Description
WidgetConfig.UiSettings

The uiSettings.

getUiSettingsBuilder()

public WidgetConfig.UiSettings.Builder getUiSettingsBuilder()

Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings ui_settings = 33;

Returns
Type Description
WidgetConfig.UiSettings.Builder

getUiSettingsOrBuilder()

public WidgetConfig.UiSettingsOrBuilder getUiSettingsOrBuilder()

Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings ui_settings = 33;

Returns
Type Description
WidgetConfig.UiSettingsOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp the WidgetConfig was updated.

.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Timestamp the WidgetConfig was updated.

.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp the WidgetConfig was updated.

.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasAccessSettings()

public boolean hasAccessSettings()

Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.AccessSettings access_settings = 34;

Returns
Type Description
boolean

Whether the accessSettings field is set.

hasAssistantSettings()

public boolean hasAssistantSettings()

Optional. Output only. Describes the assistant settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.AssistantSettings assistant_settings = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the assistantSettings field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp the WidgetConfig was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasCustomerProvidedConfig()

public boolean hasCustomerProvidedConfig()

Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding.

.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig customer_provided_config = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the customerProvidedConfig field is set.

hasHomepageSetting()

public boolean hasHomepageSetting()

Optional. Describes the homepage settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting homepage_setting = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the homepageSetting field is set.

hasUiBranding()

public boolean hasUiBranding()

Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors.

.google.cloud.discoveryengine.v1.WidgetConfig.UiBrandingSettings ui_branding = 35;

Returns
Type Description
boolean

Whether the uiBranding field is set.

hasUiSettings()

public boolean hasUiSettings()

Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings ui_settings = 33;

Returns
Type Description
boolean

Whether the uiSettings field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Timestamp the WidgetConfig was updated.

.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccessSettings(WidgetConfig.AccessSettings value)

public WidgetConfig.Builder mergeAccessSettings(WidgetConfig.AccessSettings value)

Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.AccessSettings access_settings = 34;

Parameter
Name Description
value WidgetConfig.AccessSettings
Returns
Type Description
WidgetConfig.Builder

mergeAssistantSettings(WidgetConfig.AssistantSettings value)

public WidgetConfig.Builder mergeAssistantSettings(WidgetConfig.AssistantSettings value)

Optional. Output only. Describes the assistant settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.AssistantSettings assistant_settings = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WidgetConfig.AssistantSettings
Returns
Type Description
WidgetConfig.Builder

mergeCreateTime(Timestamp value)

public WidgetConfig.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp the WidgetConfig was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
WidgetConfig.Builder

mergeCustomerProvidedConfig(WidgetConfig.CustomerProvidedConfig value)

public WidgetConfig.Builder mergeCustomerProvidedConfig(WidgetConfig.CustomerProvidedConfig value)

Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding.

.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig customer_provided_config = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WidgetConfig.CustomerProvidedConfig
Returns
Type Description
WidgetConfig.Builder

mergeFrom(WidgetConfig other)

public WidgetConfig.Builder mergeFrom(WidgetConfig other)
Parameter
Name Description
other WidgetConfig
Returns
Type Description
WidgetConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WidgetConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WidgetConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WidgetConfig.Builder
Overrides

mergeHomepageSetting(WidgetConfig.HomepageSetting value)

public WidgetConfig.Builder mergeHomepageSetting(WidgetConfig.HomepageSetting value)

Optional. Describes the homepage settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting homepage_setting = 38 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value WidgetConfig.HomepageSetting
Returns
Type Description
WidgetConfig.Builder

mergeUiBranding(WidgetConfig.UiBrandingSettings value)

public WidgetConfig.Builder mergeUiBranding(WidgetConfig.UiBrandingSettings value)

Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors.

.google.cloud.discoveryengine.v1.WidgetConfig.UiBrandingSettings ui_branding = 35;

Parameter
Name Description
value WidgetConfig.UiBrandingSettings
Returns
Type Description
WidgetConfig.Builder

mergeUiSettings(WidgetConfig.UiSettings value)

public WidgetConfig.Builder mergeUiSettings(WidgetConfig.UiSettings value)

Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings ui_settings = 33;

Parameter
Name Description
value WidgetConfig.UiSettings
Returns
Type Description
WidgetConfig.Builder

mergeUpdateTime(Timestamp value)

public WidgetConfig.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp the WidgetConfig was updated.

.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
WidgetConfig.Builder

removeBatchAuthStatuses(int index)

public WidgetConfig.Builder removeBatchAuthStatuses(int index)

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.Builder

removeCollectionComponents(int index)

public WidgetConfig.Builder removeCollectionComponents(int index)

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.Builder

removeNodes(int index)

public WidgetConfig.Builder removeNodes(int index)

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.Builder

setAccessSettings(WidgetConfig.AccessSettings value)

public WidgetConfig.Builder setAccessSettings(WidgetConfig.AccessSettings value)

Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.AccessSettings access_settings = 34;

Parameter
Name Description
value WidgetConfig.AccessSettings
Returns
Type Description
WidgetConfig.Builder

setAccessSettings(WidgetConfig.AccessSettings.Builder builderForValue)

public WidgetConfig.Builder setAccessSettings(WidgetConfig.AccessSettings.Builder builderForValue)

Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.AccessSettings access_settings = 34;

Parameter
Name Description
builderForValue WidgetConfig.AccessSettings.Builder
Returns
Type Description
WidgetConfig.Builder

setAssistantSettings(WidgetConfig.AssistantSettings value)

public WidgetConfig.Builder setAssistantSettings(WidgetConfig.AssistantSettings value)

Optional. Output only. Describes the assistant settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.AssistantSettings assistant_settings = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WidgetConfig.AssistantSettings
Returns
Type Description
WidgetConfig.Builder

setAssistantSettings(WidgetConfig.AssistantSettings.Builder builderForValue)

public WidgetConfig.Builder setAssistantSettings(WidgetConfig.AssistantSettings.Builder builderForValue)

Optional. Output only. Describes the assistant settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.AssistantSettings assistant_settings = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue WidgetConfig.AssistantSettings.Builder
Returns
Type Description
WidgetConfig.Builder

setBatchAuthStatuses(int index, WidgetConfig.BatchAuthStatus value)

public WidgetConfig.Builder setBatchAuthStatuses(int index, WidgetConfig.BatchAuthStatus value)

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value WidgetConfig.BatchAuthStatus
Returns
Type Description
WidgetConfig.Builder

setBatchAuthStatuses(int index, WidgetConfig.BatchAuthStatus.Builder builderForValue)

public WidgetConfig.Builder setBatchAuthStatuses(int index, WidgetConfig.BatchAuthStatus.Builder builderForValue)

Output only. The batch authorization statuses for the widget's connectors.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.BatchAuthStatus batch_auth_statuses = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue WidgetConfig.BatchAuthStatus.Builder
Returns
Type Description
WidgetConfig.Builder

setCollectionComponents(int index, WidgetConfig.CollectionComponent value)

public WidgetConfig.Builder setCollectionComponents(int index, WidgetConfig.CollectionComponent value)

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value WidgetConfig.CollectionComponent
Returns
Type Description
WidgetConfig.Builder

setCollectionComponents(int index, WidgetConfig.CollectionComponent.Builder builderForValue)

public WidgetConfig.Builder setCollectionComponents(int index, WidgetConfig.CollectionComponent.Builder builderForValue)

Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.

For SaaS / Business engines, when LookupWidgetConfig is called with view = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see CollectionComponent for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default view, only already-attached connectors are returned (today's behavior).

repeated .google.cloud.discoveryengine.v1.WidgetConfig.CollectionComponent collection_components = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue WidgetConfig.CollectionComponent.Builder
Returns
Type Description
WidgetConfig.Builder

setConfigId(String value)

public WidgetConfig.Builder setConfigId(String value)

Output only. Unique obfuscated identifier of a WidgetConfig.

string config_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The configId to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setConfigIdBytes(ByteString value)

public WidgetConfig.Builder setConfigIdBytes(ByteString value)

Output only. Unique obfuscated identifier of a WidgetConfig.

string config_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for configId to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public WidgetConfig.Builder setCreateTime(Timestamp value)

Output only. Timestamp the WidgetConfig was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
WidgetConfig.Builder

setCreateTime(Timestamp.Builder builderForValue)

public WidgetConfig.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp the WidgetConfig was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
WidgetConfig.Builder

setCustomerProvidedConfig(WidgetConfig.CustomerProvidedConfig value)

public WidgetConfig.Builder setCustomerProvidedConfig(WidgetConfig.CustomerProvidedConfig value)

Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding.

.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig customer_provided_config = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WidgetConfig.CustomerProvidedConfig
Returns
Type Description
WidgetConfig.Builder

setCustomerProvidedConfig(WidgetConfig.CustomerProvidedConfig.Builder builderForValue)

public WidgetConfig.Builder setCustomerProvidedConfig(WidgetConfig.CustomerProvidedConfig.Builder builderForValue)

Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding.

.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig customer_provided_config = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue WidgetConfig.CustomerProvidedConfig.Builder
Returns
Type Description
WidgetConfig.Builder

setDataStoreType(WidgetConfig.DataStoreType value)

public WidgetConfig.Builder setDataStoreType(WidgetConfig.DataStoreType value)

Output only. The type of the parent data store.

.google.cloud.discoveryengine.v1.WidgetConfig.DataStoreType data_store_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WidgetConfig.DataStoreType

The dataStoreType to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setDataStoreTypeValue(int value)

public WidgetConfig.Builder setDataStoreTypeValue(int value)

Output only. The type of the parent data store.

.google.cloud.discoveryengine.v1.WidgetConfig.DataStoreType data_store_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for dataStoreType to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setDisplayName(String value)

public WidgetConfig.Builder setDisplayName(String value)

Required. The human readable widget config display name. Used in Discovery UI.

This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public WidgetConfig.Builder setDisplayNameBytes(ByteString value)

Required. The human readable widget config display name. Used in Discovery UI.

This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setEnablePrivateKnowledgeGraph(boolean value)

public WidgetConfig.Builder setEnablePrivateKnowledgeGraph(boolean value)

Optional. Output only. Whether to enable private knowledge graph.

bool enable_private_knowledge_graph = 42 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The enablePrivateKnowledgeGraph to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setEnableResultScore(boolean value)

public WidgetConfig.Builder setEnableResultScore(boolean value)

Whether to show the result score.

bool enable_result_score = 21;

Parameter
Name Description
value boolean

The enableResultScore to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setGeminiBundle(boolean value)

public WidgetConfig.Builder setGeminiBundle(boolean value)

Output only. Whether the subscription is gemini bundle or not.

bool gemini_bundle = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The geminiBundle to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setHomepageSetting(WidgetConfig.HomepageSetting value)

public WidgetConfig.Builder setHomepageSetting(WidgetConfig.HomepageSetting value)

Optional. Describes the homepage settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting homepage_setting = 38 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value WidgetConfig.HomepageSetting
Returns
Type Description
WidgetConfig.Builder

setHomepageSetting(WidgetConfig.HomepageSetting.Builder builderForValue)

public WidgetConfig.Builder setHomepageSetting(WidgetConfig.HomepageSetting.Builder builderForValue)

Optional. Describes the homepage settings of the widget.

.google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting homepage_setting = 38 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue WidgetConfig.HomepageSetting.Builder
Returns
Type Description
WidgetConfig.Builder

setIndustryVertical(IndustryVertical value)

public WidgetConfig.Builder setIndustryVertical(IndustryVertical value)

Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine.

.google.cloud.discoveryengine.v1.IndustryVertical industry_vertical = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IndustryVertical

The industryVertical to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setIndustryVerticalValue(int value)

public WidgetConfig.Builder setIndustryVerticalValue(int value)

Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine.

.google.cloud.discoveryengine.v1.IndustryVertical industry_vertical = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for industryVertical to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setLlmEnabled(boolean value)

public WidgetConfig.Builder setLlmEnabled(boolean value)

Output only. Whether LLM is enabled in the corresponding data store.

bool llm_enabled = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The llmEnabled to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setMinimumDataTermAccepted(boolean value)

public WidgetConfig.Builder setMinimumDataTermAccepted(boolean value)

Output only. Whether the customer accepted data use terms.

bool minimum_data_term_accepted = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The minimumDataTermAccepted to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setName(String value)

public WidgetConfig.Builder setName(String value)

Immutable. The full resource name of the widget config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}.

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setNameBytes(ByteString value)

public WidgetConfig.Builder setNameBytes(ByteString value)

Immutable. The full resource name of the widget config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}.

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setNodes(int index, WidgetConfig.Node value)

public WidgetConfig.Builder setNodes(int index, WidgetConfig.Node value)

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value WidgetConfig.Node
Returns
Type Description
WidgetConfig.Builder

setNodes(int index, WidgetConfig.Node.Builder builderForValue)

public WidgetConfig.Builder setNodes(int index, WidgetConfig.Node.Builder builderForValue)

Output only. The nodes associated with the Widget Config.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.Node nodes = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue WidgetConfig.Node.Builder
Returns
Type Description
WidgetConfig.Builder

setSolutionType(SolutionType value)

public WidgetConfig.Builder setSolutionType(SolutionType value)

Required. Immutable. Specifies the solution type that this WidgetConfig can be used for.

.google.cloud.discoveryengine.v1.SolutionType solution_type = 14 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value SolutionType

The solutionType to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setSolutionTypeValue(int value)

public WidgetConfig.Builder setSolutionTypeValue(int value)

Required. Immutable. Specifies the solution type that this WidgetConfig can be used for.

.google.cloud.discoveryengine.v1.SolutionType solution_type = 14 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value int

The enum numeric value on the wire for solutionType to set.

Returns
Type Description
WidgetConfig.Builder

This builder for chaining.

setUiBranding(WidgetConfig.UiBrandingSettings value)

public WidgetConfig.Builder setUiBranding(WidgetConfig.UiBrandingSettings value)

Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors.

.google.cloud.discoveryengine.v1.WidgetConfig.UiBrandingSettings ui_branding = 35;

Parameter
Name Description
value WidgetConfig.UiBrandingSettings
Returns
Type Description
WidgetConfig.Builder

setUiBranding(WidgetConfig.UiBrandingSettings.Builder builderForValue)

public WidgetConfig.Builder setUiBranding(WidgetConfig.UiBrandingSettings.Builder builderForValue)

Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors.

.google.cloud.discoveryengine.v1.WidgetConfig.UiBrandingSettings ui_branding = 35;

Parameter
Name Description
builderForValue WidgetConfig.UiBrandingSettings.Builder
Returns
Type Description
WidgetConfig.Builder

setUiSettings(WidgetConfig.UiSettings value)

public WidgetConfig.Builder setUiSettings(WidgetConfig.UiSettings value)

Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings ui_settings = 33;

Parameter
Name Description
value WidgetConfig.UiSettings
Returns
Type Description
WidgetConfig.Builder

setUiSettings(WidgetConfig.UiSettings.Builder builderForValue)

public WidgetConfig.Builder setUiSettings(WidgetConfig.UiSettings.Builder builderForValue)

Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings ui_settings = 33;

Parameter
Name Description
builderForValue WidgetConfig.UiSettings.Builder
Returns
Type Description
WidgetConfig.Builder

setUpdateTime(Timestamp value)

public WidgetConfig.Builder setUpdateTime(Timestamp value)

Output only. Timestamp the WidgetConfig was updated.

.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
WidgetConfig.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public WidgetConfig.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp the WidgetConfig was updated.

.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
WidgetConfig.Builder