Class WidgetConfig.UiSettings (0.99.0)

public static final class WidgetConfig.UiSettings extends GeneratedMessage implements WidgetConfig.UiSettingsOrBuilder

Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page.

Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.UiSettings

Static Fields

DATA_STORE_UI_CONFIGS_FIELD_NUMBER

public static final int DATA_STORE_UI_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_SEARCH_REQUEST_ORDER_BY_FIELD_NUMBER

public static final int DEFAULT_SEARCH_REQUEST_ORDER_BY_FIELD_NUMBER
Field Value
Type Description
int

DISABLE_USER_EVENTS_COLLECTION_FIELD_NUMBER

public static final int DISABLE_USER_EVENTS_COLLECTION_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_AUTOCOMPLETE_FIELD_NUMBER

public static final int ENABLE_AUTOCOMPLETE_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_CREATE_AGENT_BUTTON_FIELD_NUMBER

public static final int ENABLE_CREATE_AGENT_BUTTON_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_PEOPLE_SEARCH_FIELD_NUMBER

public static final int ENABLE_PEOPLE_SEARCH_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_QUALITY_FEEDBACK_FIELD_NUMBER

public static final int ENABLE_QUALITY_FEEDBACK_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_SAFE_SEARCH_FIELD_NUMBER

public static final int ENABLE_SAFE_SEARCH_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_SEARCH_AS_YOU_TYPE_FIELD_NUMBER

public static final int ENABLE_SEARCH_AS_YOU_TYPE_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_VISUAL_CONTENT_SUMMARY_FIELD_NUMBER

public static final int ENABLE_VISUAL_CONTENT_SUMMARY_FIELD_NUMBER
Field Value
Type Description
int

FEATURES_FIELD_NUMBER

public static final int FEATURES_FIELD_NUMBER
Field Value
Type Description
int

GENERATIVE_ANSWER_CONFIG_FIELD_NUMBER

public static final int GENERATIVE_ANSWER_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_DRIVE_PICKER_ENABLED_FIELD_NUMBER

public static final int GOOGLE_DRIVE_PICKER_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

INTERACTION_TYPE_FIELD_NUMBER

public static final int INTERACTION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

MODEL_CONFIGS_FIELD_NUMBER

public static final int MODEL_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

MODEL_CONFIG_INFO_FIELD_NUMBER

public static final int MODEL_CONFIG_INFO_FIELD_NUMBER
Field Value
Type Description
int

ONEDRIVE_PICKER_ENABLED_FIELD_NUMBER

public static final int ONEDRIVE_PICKER_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

RESULT_DESCRIPTION_TYPE_FIELD_NUMBER

public static final int RESULT_DESCRIPTION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SEARCH_ADDON_SPEC_FIELD_NUMBER

public static final int SEARCH_ADDON_SPEC_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_ADMIN_DISPLAY_NAME_ENABLED_FIELD_NUMBER

public static final int SOURCE_ADMIN_DISPLAY_NAME_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WidgetConfig.UiSettings getDefaultInstance()
Returns
Type Description
WidgetConfig.UiSettings

getDescriptor()

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

newBuilder()

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

newBuilder(WidgetConfig.UiSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsFeatures(String key)

public boolean containsFeatures(String key)

Output only. Feature config for the engine to opt in or opt out of features. Supported keys:

  • agent-gallery
  • no-code-agent-builder
  • prompt-gallery
  • model-selector
  • notebook-lm
  • people-search
  • people-search-org-chart
  • bi-directional-audio
  • speech-to-text
  • feedback
  • session-sharing
  • personalization-memory
  • personalization-suggested-highlights
  • mobile-app-access
  • disable-agent-sharing
  • disable-image-generation
  • disable-video-generation
  • disable-onedrive-upload
  • disable-talk-to-content
  • disable-google-drive-upload
  • disable-welcome-emails
  • disable-canvas
  • canvas-workspace
  • canvas-app-builder
  • skills
  • skill-sharing
  • skill-sharing-without-admin-approval
  • disable-projects
  • sobi
  • enable-end-user-sharing-with-groups
  • single-agent-orchestration
  • multi-agent-orchestration
  • cross-product-intelligence
  • workflow-agents
  • in-app-notifications
  • code-extraction
  • remote-vm
  • license-tier-badge

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.FeatureState> features = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsModelConfigs(String key)

public boolean containsModelConfigs(String key)

Output only. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin.

When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelState> model_configs = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

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

getDataStoreUiConfigs(int index)

public WidgetConfig.DataStoreUiConfig getDataStoreUiConfigs(int index)

Per data store configuration.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.DataStoreUiConfig

getDataStoreUiConfigsCount()

public int getDataStoreUiConfigsCount()

Per data store configuration.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;

Returns
Type Description
int

getDataStoreUiConfigsList()

public List<WidgetConfig.DataStoreUiConfig> getDataStoreUiConfigsList()

Per data store configuration.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;

Returns
Type Description
List<DataStoreUiConfig>

getDataStoreUiConfigsOrBuilder(int index)

public WidgetConfig.DataStoreUiConfigOrBuilder getDataStoreUiConfigsOrBuilder(int index)

Per data store configuration.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.DataStoreUiConfigOrBuilder

getDataStoreUiConfigsOrBuilderList()

public List<? extends WidgetConfig.DataStoreUiConfigOrBuilder> getDataStoreUiConfigsOrBuilderList()

Per data store configuration.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;

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

getDefaultInstanceForType()

public WidgetConfig.UiSettings getDefaultInstanceForType()
Returns
Type Description
WidgetConfig.UiSettings

getDefaultSearchRequestOrderBy()

public String getDefaultSearchRequestOrderBy()

The default ordering for search results if specified.

Used to set SearchRequest#order_by on applicable requests. https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.dataStores.servingConfigs/search#request-body

string default_search_request_order_by = 8;

Returns
Type Description
String

The defaultSearchRequestOrderBy.

getDefaultSearchRequestOrderByBytes()

public ByteString getDefaultSearchRequestOrderByBytes()

The default ordering for search results if specified.

Used to set SearchRequest#order_by on applicable requests. https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.dataStores.servingConfigs/search#request-body

string default_search_request_order_by = 8;

Returns
Type Description
ByteString

The bytes for defaultSearchRequestOrderBy.

getDisableUserEventsCollection()

public boolean getDisableUserEventsCollection()

If set to true, the widget will not collect user events.

bool disable_user_events_collection = 10;

Returns
Type Description
boolean

The disableUserEventsCollection.

getEnableAutocomplete()

public boolean getEnableAutocomplete()

Whether or not to enable autocomplete.

bool enable_autocomplete = 4;

Returns
Type Description
boolean

The enableAutocomplete.

getEnableCreateAgentButton()

public boolean getEnableCreateAgentButton()

Optional. If set to true, the widget will enable the create agent button.

bool enable_create_agent_button = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableCreateAgentButton.

getEnablePeopleSearch()

public boolean getEnablePeopleSearch()

Optional. If set to true, the widget will enable people search.

bool enable_people_search = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enablePeopleSearch.

getEnableQualityFeedback()

public boolean getEnableQualityFeedback()

Turn on or off collecting the search result quality feedback from end users.

bool enable_quality_feedback = 6;

Returns
Type Description
boolean

The enableQualityFeedback.

getEnableSafeSearch()

public boolean getEnableSafeSearch()

Whether to enable safe search.

bool enable_safe_search = 5;

Returns
Type Description
boolean

The enableSafeSearch.

getEnableSearchAsYouType()

public boolean getEnableSearchAsYouType()

Whether to enable search-as-you-type behavior for the search widget.

bool enable_search_as_you_type = 7;

Returns
Type Description
boolean

The enableSearchAsYouType.

getEnableVisualContentSummary()

public boolean getEnableVisualContentSummary()

If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search.

bool enable_visual_content_summary = 11;

Returns
Type Description
boolean

The enableVisualContentSummary.

getFeatures() (deprecated)

public Map<String,WidgetConfig.UiSettings.FeatureState> getFeatures()

Use #getFeaturesMap() instead.

Returns
Type Description
Map<String,FeatureState>

getFeaturesCount()

public int getFeaturesCount()

Output only. Feature config for the engine to opt in or opt out of features. Supported keys:

  • agent-gallery
  • no-code-agent-builder
  • prompt-gallery
  • model-selector
  • notebook-lm
  • people-search
  • people-search-org-chart
  • bi-directional-audio
  • speech-to-text
  • feedback
  • session-sharing
  • personalization-memory
  • personalization-suggested-highlights
  • mobile-app-access
  • disable-agent-sharing
  • disable-image-generation
  • disable-video-generation
  • disable-onedrive-upload
  • disable-talk-to-content
  • disable-google-drive-upload
  • disable-welcome-emails
  • disable-canvas
  • canvas-workspace
  • canvas-app-builder
  • skills
  • skill-sharing
  • skill-sharing-without-admin-approval
  • disable-projects
  • sobi
  • enable-end-user-sharing-with-groups
  • single-agent-orchestration
  • multi-agent-orchestration
  • cross-product-intelligence
  • workflow-agents
  • in-app-notifications
  • code-extraction
  • remote-vm
  • license-tier-badge

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.FeatureState> features = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getFeaturesMap()

public Map<String,WidgetConfig.UiSettings.FeatureState> getFeaturesMap()

Output only. Feature config for the engine to opt in or opt out of features. Supported keys:

  • agent-gallery
  • no-code-agent-builder
  • prompt-gallery
  • model-selector
  • notebook-lm
  • people-search
  • people-search-org-chart
  • bi-directional-audio
  • speech-to-text
  • feedback
  • session-sharing
  • personalization-memory
  • personalization-suggested-highlights
  • mobile-app-access
  • disable-agent-sharing
  • disable-image-generation
  • disable-video-generation
  • disable-onedrive-upload
  • disable-talk-to-content
  • disable-google-drive-upload
  • disable-welcome-emails
  • disable-canvas
  • canvas-workspace
  • canvas-app-builder
  • skills
  • skill-sharing
  • skill-sharing-without-admin-approval
  • disable-projects
  • sobi
  • enable-end-user-sharing-with-groups
  • single-agent-orchestration
  • multi-agent-orchestration
  • cross-product-intelligence
  • workflow-agents
  • in-app-notifications
  • code-extraction
  • remote-vm
  • license-tier-badge

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.FeatureState> features = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,FeatureState>

getFeaturesOrDefault(String key, WidgetConfig.UiSettings.FeatureState defaultValue)

public WidgetConfig.UiSettings.FeatureState getFeaturesOrDefault(String key, WidgetConfig.UiSettings.FeatureState defaultValue)

Output only. Feature config for the engine to opt in or opt out of features. Supported keys:

  • agent-gallery
  • no-code-agent-builder
  • prompt-gallery
  • model-selector
  • notebook-lm
  • people-search
  • people-search-org-chart
  • bi-directional-audio
  • speech-to-text
  • feedback
  • session-sharing
  • personalization-memory
  • personalization-suggested-highlights
  • mobile-app-access
  • disable-agent-sharing
  • disable-image-generation
  • disable-video-generation
  • disable-onedrive-upload
  • disable-talk-to-content
  • disable-google-drive-upload
  • disable-welcome-emails
  • disable-canvas
  • canvas-workspace
  • canvas-app-builder
  • skills
  • skill-sharing
  • skill-sharing-without-admin-approval
  • disable-projects
  • sobi
  • enable-end-user-sharing-with-groups
  • single-agent-orchestration
  • multi-agent-orchestration
  • cross-product-intelligence
  • workflow-agents
  • in-app-notifications
  • code-extraction
  • remote-vm
  • license-tier-badge

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.FeatureState> features = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue WidgetConfig.UiSettings.FeatureState
Returns
Type Description
WidgetConfig.UiSettings.FeatureState

getFeaturesOrThrow(String key)

public WidgetConfig.UiSettings.FeatureState getFeaturesOrThrow(String key)

Output only. Feature config for the engine to opt in or opt out of features. Supported keys:

  • agent-gallery
  • no-code-agent-builder
  • prompt-gallery
  • model-selector
  • notebook-lm
  • people-search
  • people-search-org-chart
  • bi-directional-audio
  • speech-to-text
  • feedback
  • session-sharing
  • personalization-memory
  • personalization-suggested-highlights
  • mobile-app-access
  • disable-agent-sharing
  • disable-image-generation
  • disable-video-generation
  • disable-onedrive-upload
  • disable-talk-to-content
  • disable-google-drive-upload
  • disable-welcome-emails
  • disable-canvas
  • canvas-workspace
  • canvas-app-builder
  • skills
  • skill-sharing
  • skill-sharing-without-admin-approval
  • disable-projects
  • sobi
  • enable-end-user-sharing-with-groups
  • single-agent-orchestration
  • multi-agent-orchestration
  • cross-product-intelligence
  • workflow-agents
  • in-app-notifications
  • code-extraction
  • remote-vm
  • license-tier-badge

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.FeatureState> features = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
WidgetConfig.UiSettings.FeatureState

getFeaturesValue() (deprecated)

public Map<String,Integer> getFeaturesValue()
Returns
Type Description
Map<String,Integer>

getFeaturesValueMap()

public Map<String,Integer> getFeaturesValueMap()

Output only. Feature config for the engine to opt in or opt out of features. Supported keys:

  • agent-gallery
  • no-code-agent-builder
  • prompt-gallery
  • model-selector
  • notebook-lm
  • people-search
  • people-search-org-chart
  • bi-directional-audio
  • speech-to-text
  • feedback
  • session-sharing
  • personalization-memory
  • personalization-suggested-highlights
  • mobile-app-access
  • disable-agent-sharing
  • disable-image-generation
  • disable-video-generation
  • disable-onedrive-upload
  • disable-talk-to-content
  • disable-google-drive-upload
  • disable-welcome-emails
  • disable-canvas
  • canvas-workspace
  • canvas-app-builder
  • skills
  • skill-sharing
  • skill-sharing-without-admin-approval
  • disable-projects
  • sobi
  • enable-end-user-sharing-with-groups
  • single-agent-orchestration
  • multi-agent-orchestration
  • cross-product-intelligence
  • workflow-agents
  • in-app-notifications
  • code-extraction
  • remote-vm
  • license-tier-badge

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.FeatureState> features = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,Integer>

getFeaturesValueOrDefault(String key, int defaultValue)

public int getFeaturesValueOrDefault(String key, int defaultValue)

Output only. Feature config for the engine to opt in or opt out of features. Supported keys:

  • agent-gallery
  • no-code-agent-builder
  • prompt-gallery
  • model-selector
  • notebook-lm
  • people-search
  • people-search-org-chart
  • bi-directional-audio
  • speech-to-text
  • feedback
  • session-sharing
  • personalization-memory
  • personalization-suggested-highlights
  • mobile-app-access
  • disable-agent-sharing
  • disable-image-generation
  • disable-video-generation
  • disable-onedrive-upload
  • disable-talk-to-content
  • disable-google-drive-upload
  • disable-welcome-emails
  • disable-canvas
  • canvas-workspace
  • canvas-app-builder
  • skills
  • skill-sharing
  • skill-sharing-without-admin-approval
  • disable-projects
  • sobi
  • enable-end-user-sharing-with-groups
  • single-agent-orchestration
  • multi-agent-orchestration
  • cross-product-intelligence
  • workflow-agents
  • in-app-notifications
  • code-extraction
  • remote-vm
  • license-tier-badge

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.FeatureState> features = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue int
Returns
Type Description
int

getFeaturesValueOrThrow(String key)

public int getFeaturesValueOrThrow(String key)

Output only. Feature config for the engine to opt in or opt out of features. Supported keys:

  • agent-gallery
  • no-code-agent-builder
  • prompt-gallery
  • model-selector
  • notebook-lm
  • people-search
  • people-search-org-chart
  • bi-directional-audio
  • speech-to-text
  • feedback
  • session-sharing
  • personalization-memory
  • personalization-suggested-highlights
  • mobile-app-access
  • disable-agent-sharing
  • disable-image-generation
  • disable-video-generation
  • disable-onedrive-upload
  • disable-talk-to-content
  • disable-google-drive-upload
  • disable-welcome-emails
  • disable-canvas
  • canvas-workspace
  • canvas-app-builder
  • skills
  • skill-sharing
  • skill-sharing-without-admin-approval
  • disable-projects
  • sobi
  • enable-end-user-sharing-with-groups
  • single-agent-orchestration
  • multi-agent-orchestration
  • cross-product-intelligence
  • workflow-agents
  • in-app-notifications
  • code-extraction
  • remote-vm
  • license-tier-badge

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.FeatureState> features = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
int

getGenerativeAnswerConfig()

public WidgetConfig.UiSettings.GenerativeAnswerConfig getGenerativeAnswerConfig()

Describes generative answer configuration.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.GenerativeAnswerConfig generative_answer_config = 2;

Returns
Type Description
WidgetConfig.UiSettings.GenerativeAnswerConfig

The generativeAnswerConfig.

getGenerativeAnswerConfigOrBuilder()

public WidgetConfig.UiSettings.GenerativeAnswerConfigOrBuilder getGenerativeAnswerConfigOrBuilder()

Describes generative answer configuration.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.GenerativeAnswerConfig generative_answer_config = 2;

Returns
Type Description
WidgetConfig.UiSettings.GenerativeAnswerConfigOrBuilder

getGoogleDrivePickerEnabled()

public boolean getGoogleDrivePickerEnabled()

Output only. Whether the Google Drive file picker is available to end-users. Declared optional for the same field-presence reason as onedrive_picker_enabled above.

optional bool google_drive_picker_enabled = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The googleDrivePickerEnabled.

getInteractionType()

public WidgetConfig.UiSettings.InteractionType getInteractionType()

Describes widget (or web app) interaction type

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.InteractionType interaction_type = 1;

Returns
Type Description
WidgetConfig.UiSettings.InteractionType

The interactionType.

getInteractionTypeValue()

public int getInteractionTypeValue()

Describes widget (or web app) interaction type

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.InteractionType interaction_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for interactionType.

getModelConfigInfo()

public WidgetConfig.UiSettings.ModelConfigInfo getModelConfigInfo()

Output only. The resolved, server-side view of model selector configuration. Holds both the ordered list of models that should appear in the model selector dropdown and the model that should be selected by default.

Clients should render this directly without applying their own filtering, ordering, or localization. The legacy model_configs map above is retained for backward compatibility with clients that have not yet migrated to consuming this field.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo model_config_info = 50 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.UiSettings.ModelConfigInfo

The modelConfigInfo.

getModelConfigInfoOrBuilder()

public WidgetConfig.UiSettings.ModelConfigInfoOrBuilder getModelConfigInfoOrBuilder()

Output only. The resolved, server-side view of model selector configuration. Holds both the ordered list of models that should appear in the model selector dropdown and the model that should be selected by default.

Clients should render this directly without applying their own filtering, ordering, or localization. The legacy model_configs map above is retained for backward compatibility with clients that have not yet migrated to consuming this field.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo model_config_info = 50 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.UiSettings.ModelConfigInfoOrBuilder

getModelConfigs() (deprecated)

public Map<String,WidgetConfig.UiSettings.ModelState> getModelConfigs()

Use #getModelConfigsMap() instead.

Returns
Type Description
Map<String,ModelState>

getModelConfigsCount()

public int getModelConfigsCount()

Output only. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin.

When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelState> model_configs = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getModelConfigsMap()

public Map<String,WidgetConfig.UiSettings.ModelState> getModelConfigsMap()

Output only. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin.

When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelState> model_configs = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,ModelState>

getModelConfigsOrDefault(String key, WidgetConfig.UiSettings.ModelState defaultValue)

public WidgetConfig.UiSettings.ModelState getModelConfigsOrDefault(String key, WidgetConfig.UiSettings.ModelState defaultValue)

Output only. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin.

When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelState> model_configs = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue WidgetConfig.UiSettings.ModelState
Returns
Type Description
WidgetConfig.UiSettings.ModelState

getModelConfigsOrThrow(String key)

public WidgetConfig.UiSettings.ModelState getModelConfigsOrThrow(String key)

Output only. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin.

When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelState> model_configs = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
WidgetConfig.UiSettings.ModelState

getModelConfigsValue() (deprecated)

public Map<String,Integer> getModelConfigsValue()
Returns
Type Description
Map<String,Integer>

getModelConfigsValueMap()

public Map<String,Integer> getModelConfigsValueMap()

Output only. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin.

When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelState> model_configs = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,Integer>

getModelConfigsValueOrDefault(String key, int defaultValue)

public int getModelConfigsValueOrDefault(String key, int defaultValue)

Output only. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin.

When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelState> model_configs = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue int
Returns
Type Description
int

getModelConfigsValueOrThrow(String key)

public int getModelConfigsValueOrThrow(String key)

Output only. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin.

When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelState> model_configs = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
int

getOnedrivePickerEnabled()

public boolean getOnedrivePickerEnabled()

Output only. Whether the OneDrive file picker is available to end-users. Computed by the backend from admin connector enablement (Business edition) or attached OneDrive connectors (Enterprise edition), combined with the existing disable-onedrive-upload admin feature.

Declared optional so an explicitly-computed false is serialized with field presence. A plain proto3 bool drops a default false on the wire, which prevented clients from distinguishing "picker disabled" (false) from "field not populated" (unset).

optional bool onedrive_picker_enabled = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The onedrivePickerEnabled.

getParserForType()

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

getResultDescriptionType()

public WidgetConfig.ResultDisplayType getResultDescriptionType()

Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified.

.google.cloud.discoveryengine.v1.WidgetConfig.ResultDisplayType result_description_type = 3;

Returns
Type Description
WidgetConfig.ResultDisplayType

The resultDescriptionType.

getResultDescriptionTypeValue()

public int getResultDescriptionTypeValue()

Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified.

.google.cloud.discoveryengine.v1.WidgetConfig.ResultDisplayType result_description_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for resultDescriptionType.

getSearchAddonSpec()

public WidgetConfig.UiSettings.SearchAddonSpec getSearchAddonSpec()

Optional. SearchAddonSpec is used to disable add-ons for search. This field is only supported for search requests.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.SearchAddonSpec search_addon_spec = 31 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WidgetConfig.UiSettings.SearchAddonSpec

The searchAddonSpec.

getSearchAddonSpecOrBuilder()

public WidgetConfig.UiSettings.SearchAddonSpecOrBuilder getSearchAddonSpecOrBuilder()

Optional. SearchAddonSpec is used to disable add-ons for search. This field is only supported for search requests.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.SearchAddonSpec search_addon_spec = 31 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WidgetConfig.UiSettings.SearchAddonSpecOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceAdminDisplayNameEnabled()

public boolean getSourceAdminDisplayNameEnabled()

Optional. Whether to show the admin-configured display name for data connectors in the widget sources UI (instead of the connector kind). Opt-in; defaults to false.

bool source_admin_display_name_enabled = 51 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The sourceAdminDisplayNameEnabled.

hasGenerativeAnswerConfig()

public boolean hasGenerativeAnswerConfig()

Describes generative answer configuration.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.GenerativeAnswerConfig generative_answer_config = 2;

Returns
Type Description
boolean

Whether the generativeAnswerConfig field is set.

hasGoogleDrivePickerEnabled()

public boolean hasGoogleDrivePickerEnabled()

Output only. Whether the Google Drive file picker is available to end-users. Declared optional for the same field-presence reason as onedrive_picker_enabled above.

optional bool google_drive_picker_enabled = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the googleDrivePickerEnabled field is set.

hasModelConfigInfo()

public boolean hasModelConfigInfo()

Output only. The resolved, server-side view of model selector configuration. Holds both the ordered list of models that should appear in the model selector dropdown and the model that should be selected by default.

Clients should render this directly without applying their own filtering, ordering, or localization. The legacy model_configs map above is retained for backward compatibility with clients that have not yet migrated to consuming this field.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo model_config_info = 50 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the modelConfigInfo field is set.

hasOnedrivePickerEnabled()

public boolean hasOnedrivePickerEnabled()

Output only. Whether the OneDrive file picker is available to end-users. Computed by the backend from admin connector enablement (Business edition) or attached OneDrive connectors (Enterprise edition), combined with the existing disable-onedrive-upload admin feature.

Declared optional so an explicitly-computed false is serialized with field presence. A plain proto3 bool drops a default false on the wire, which prevented clients from distinguishing "picker disabled" (false) from "field not populated" (unset).

optional bool onedrive_picker_enabled = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the onedrivePickerEnabled field is set.

hasSearchAddonSpec()

public boolean hasSearchAddonSpec()

Optional. SearchAddonSpec is used to disable add-ons for search. This field is only supported for search requests.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.SearchAddonSpec search_addon_spec = 31 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the searchAddonSpec field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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