Interface WidgetConfigOrBuilder (0.99.0)

public interface WidgetConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessSettings()

public abstract 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.

getAccessSettingsOrBuilder()

public abstract 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 abstract 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.

getAssistantSettingsOrBuilder()

public abstract 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 abstract 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

getBatchAuthStatusesCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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

getCollectionComponentsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getCreateTimeOrBuilder()

public abstract 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 abstract 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.

getCustomerProvidedConfigOrBuilder()

public abstract 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 abstract 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 abstract 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.

getDisplayName()

public abstract 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 abstract 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 abstract 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 abstract boolean getEnableResultScore()

Whether to show the result score.

bool enable_result_score = 21;

Returns
Type Description
boolean

The enableResultScore.

getGeminiBundle()

public abstract 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 abstract 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.

getHomepageSettingOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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

getNodesCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getUiBrandingOrBuilder()

public abstract 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 abstract 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.

getUiSettingsOrBuilder()

public abstract 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 abstract 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.

getUpdateTimeOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.