Class WidgetConfig (0.99.0)

public final class WidgetConfig extends GeneratedMessage implements WidgetConfigOrBuilder

WidgetConfig captures configs at the Widget level.

Protobuf type google.cloud.discoveryengine.v1.WidgetConfig

Static Fields

ACCESS_SETTINGS_FIELD_NUMBER

public static final int ACCESS_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

ASSISTANT_SETTINGS_FIELD_NUMBER

public static final int ASSISTANT_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

BATCH_AUTH_STATUSES_FIELD_NUMBER

public static final int BATCH_AUTH_STATUSES_FIELD_NUMBER
Field Value
Type Description
int

COLLECTION_COMPONENTS_FIELD_NUMBER

public static final int COLLECTION_COMPONENTS_FIELD_NUMBER
Field Value
Type Description
int

CONFIG_ID_FIELD_NUMBER

public static final int CONFIG_ID_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

CUSTOMER_PROVIDED_CONFIG_FIELD_NUMBER

public static final int CUSTOMER_PROVIDED_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DATA_STORE_TYPE_FIELD_NUMBER

public static final int DATA_STORE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_PRIVATE_KNOWLEDGE_GRAPH_FIELD_NUMBER

public static final int ENABLE_PRIVATE_KNOWLEDGE_GRAPH_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_RESULT_SCORE_FIELD_NUMBER

public static final int ENABLE_RESULT_SCORE_FIELD_NUMBER
Field Value
Type Description
int

GEMINI_BUNDLE_FIELD_NUMBER

public static final int GEMINI_BUNDLE_FIELD_NUMBER
Field Value
Type Description
int

HOMEPAGE_SETTING_FIELD_NUMBER

public static final int HOMEPAGE_SETTING_FIELD_NUMBER
Field Value
Type Description
int

INDUSTRY_VERTICAL_FIELD_NUMBER

public static final int INDUSTRY_VERTICAL_FIELD_NUMBER
Field Value
Type Description
int

LLM_ENABLED_FIELD_NUMBER

public static final int LLM_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

MINIMUM_DATA_TERM_ACCEPTED_FIELD_NUMBER

public static final int MINIMUM_DATA_TERM_ACCEPTED_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NODES_FIELD_NUMBER

public static final int NODES_FIELD_NUMBER
Field Value
Type Description
int

SOLUTION_TYPE_FIELD_NUMBER

public static final int SOLUTION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

UI_BRANDING_FIELD_NUMBER

public static final int UI_BRANDING_FIELD_NUMBER
Field Value
Type Description
int

UI_SETTINGS_FIELD_NUMBER

public static final int UI_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WidgetConfig getDefaultInstance()
Returns
Type Description
WidgetConfig

getDescriptor()

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

newBuilder()

public static WidgetConfig.Builder newBuilder()
Returns
Type Description
WidgetConfig.Builder

newBuilder(WidgetConfig prototype)

public static WidgetConfig.Builder newBuilder(WidgetConfig prototype)
Parameter
Name Description
prototype WidgetConfig
Returns
Type Description
WidgetConfig.Builder

parseDelimitedFrom(InputStream input)

public static WidgetConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WidgetConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WidgetConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WidgetConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WidgetConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WidgetConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WidgetConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WidgetConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WidgetConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WidgetConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WidgetConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WidgetConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WidgetConfig> parser()
Returns
Type Description
Parser<WidgetConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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.

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

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

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.

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.

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

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.

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

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>

getParserForType()

public Parser<WidgetConfig> getParserForType()
Returns
Type Description
Parser<WidgetConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WidgetConfig.Builder newBuilderForType()
Returns
Type Description
WidgetConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected WidgetConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WidgetConfig.Builder
Overrides

toBuilder()

public WidgetConfig.Builder toBuilder()
Returns
Type Description
WidgetConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException