public static final class WidgetConfig.UiSettings.Builder extends GeneratedMessage.Builder<WidgetConfig.UiSettings.Builder> implements WidgetConfig.UiSettingsOrBuilderDescribes general widget (or web app) UI settings as seen in the cloud console UI configuration page.
Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.UiSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WidgetConfig.UiSettings.BuilderImplements
WidgetConfig.UiSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDataStoreUiConfigs(Iterable<? extends WidgetConfig.DataStoreUiConfig> values)
public WidgetConfig.UiSettings.Builder addAllDataStoreUiConfigs(Iterable<? extends WidgetConfig.DataStoreUiConfig> values)Per data store configuration.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig> |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
addDataStoreUiConfigs(WidgetConfig.DataStoreUiConfig value)
public WidgetConfig.UiSettings.Builder addDataStoreUiConfigs(WidgetConfig.DataStoreUiConfig value)Per data store configuration.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
WidgetConfig.DataStoreUiConfig |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
addDataStoreUiConfigs(WidgetConfig.DataStoreUiConfig.Builder builderForValue)
public WidgetConfig.UiSettings.Builder addDataStoreUiConfigs(WidgetConfig.DataStoreUiConfig.Builder builderForValue)Per data store configuration.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
WidgetConfig.DataStoreUiConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
addDataStoreUiConfigs(int index, WidgetConfig.DataStoreUiConfig value)
public WidgetConfig.UiSettings.Builder addDataStoreUiConfigs(int index, WidgetConfig.DataStoreUiConfig value)Per data store configuration.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
WidgetConfig.DataStoreUiConfig |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
addDataStoreUiConfigs(int index, WidgetConfig.DataStoreUiConfig.Builder builderForValue)
public WidgetConfig.UiSettings.Builder addDataStoreUiConfigs(int index, WidgetConfig.DataStoreUiConfig.Builder builderForValue)Per data store configuration.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
WidgetConfig.DataStoreUiConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
addDataStoreUiConfigsBuilder()
public WidgetConfig.DataStoreUiConfig.Builder addDataStoreUiConfigsBuilder()Per data store configuration.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.DataStoreUiConfig.Builder |
|
addDataStoreUiConfigsBuilder(int index)
public WidgetConfig.DataStoreUiConfig.Builder addDataStoreUiConfigsBuilder(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.Builder |
|
build()
public WidgetConfig.UiSettings build()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings |
|
buildPartial()
public WidgetConfig.UiSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings |
|
clear()
public WidgetConfig.UiSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
clearDataStoreUiConfigs()
public WidgetConfig.UiSettings.Builder clearDataStoreUiConfigs()Per data store configuration.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
clearDefaultSearchRequestOrderBy()
public WidgetConfig.UiSettings.Builder clearDefaultSearchRequestOrderBy()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 |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
clearDisableUserEventsCollection()
public WidgetConfig.UiSettings.Builder clearDisableUserEventsCollection()If set to true, the widget will not collect user events.
bool disable_user_events_collection = 10;
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
clearEnableAutocomplete()
public WidgetConfig.UiSettings.Builder clearEnableAutocomplete()Whether or not to enable autocomplete.
bool enable_autocomplete = 4;
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
clearEnableCreateAgentButton()
public WidgetConfig.UiSettings.Builder clearEnableCreateAgentButton()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 |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
clearEnablePeopleSearch()
public WidgetConfig.UiSettings.Builder clearEnablePeopleSearch()Optional. If set to true, the widget will enable people search.
bool enable_people_search = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
clearEnableQualityFeedback()
public WidgetConfig.UiSettings.Builder clearEnableQualityFeedback()Turn on or off collecting the search result quality feedback from end users.
bool enable_quality_feedback = 6;
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
clearEnableSafeSearch()
public WidgetConfig.UiSettings.Builder clearEnableSafeSearch()Whether to enable safe search.
bool enable_safe_search = 5;
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
clearEnableSearchAsYouType()
public WidgetConfig.UiSettings.Builder clearEnableSearchAsYouType()Whether to enable search-as-you-type behavior for the search widget.
bool enable_search_as_you_type = 7;
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
clearEnableVisualContentSummary()
public WidgetConfig.UiSettings.Builder clearEnableVisualContentSummary()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 |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
clearFeatures()
public WidgetConfig.UiSettings.Builder clearFeatures()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
clearGenerativeAnswerConfig()
public WidgetConfig.UiSettings.Builder clearGenerativeAnswerConfig()Describes generative answer configuration.
.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.GenerativeAnswerConfig generative_answer_config = 2;
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
clearGoogleDrivePickerEnabled()
public WidgetConfig.UiSettings.Builder clearGoogleDrivePickerEnabled() 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 |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
clearInteractionType()
public WidgetConfig.UiSettings.Builder clearInteractionType()Describes widget (or web app) interaction type
.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.InteractionType interaction_type = 1;
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
clearModelConfigInfo()
public WidgetConfig.UiSettings.Builder clearModelConfigInfo()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.Builder |
|
clearModelConfigs()
public WidgetConfig.UiSettings.Builder clearModelConfigs()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
clearOnedrivePickerEnabled()
public WidgetConfig.UiSettings.Builder clearOnedrivePickerEnabled() 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 |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
clearResultDescriptionType()
public WidgetConfig.UiSettings.Builder clearResultDescriptionType()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.UiSettings.Builder |
This builder for chaining. |
clearSearchAddonSpec()
public WidgetConfig.UiSettings.Builder clearSearchAddonSpec()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.Builder |
|
clearSourceAdminDisplayNameEnabled()
public WidgetConfig.UiSettings.Builder clearSourceAdminDisplayNameEnabled()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 |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
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-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-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 |
|
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 |
|
getDataStoreUiConfigsBuilder(int index)
public WidgetConfig.DataStoreUiConfig.Builder getDataStoreUiConfigsBuilder(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.Builder |
|
getDataStoreUiConfigsBuilderList()
public List<WidgetConfig.DataStoreUiConfig.Builder> getDataStoreUiConfigsBuilderList()Per data store configuration.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-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-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-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-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-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-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-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()Use #getFeaturesValueMap() instead.
| 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-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-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-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-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-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-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. |
getGenerativeAnswerConfigBuilder()
public WidgetConfig.UiSettings.GenerativeAnswerConfig.Builder getGenerativeAnswerConfigBuilder()Describes generative answer configuration.
.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.GenerativeAnswerConfig generative_answer_config = 2;
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.GenerativeAnswerConfig.Builder |
|
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. |
getModelConfigInfoBuilder()
public WidgetConfig.UiSettings.ModelConfigInfo.Builder getModelConfigInfoBuilder()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.Builder |
|
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()Use #getModelConfigsValueMap() instead.
| 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 |
|
getMutableFeatures() (deprecated)
public Map<String,WidgetConfig.UiSettings.FeatureState> getMutableFeatures()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,FeatureState> |
|
getMutableFeaturesValue() (deprecated)
public Map<String,Integer> getMutableFeaturesValue()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,Integer> |
|
getMutableModelConfigs() (deprecated)
public Map<String,WidgetConfig.UiSettings.ModelState> getMutableModelConfigs()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ModelState> |
|
getMutableModelConfigsValue() (deprecated)
public Map<String,Integer> getMutableModelConfigsValue()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,Integer> |
|
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. |
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. |
getSearchAddonSpecBuilder()
public WidgetConfig.UiSettings.SearchAddonSpec.Builder getSearchAddonSpecBuilder()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.Builder |
|
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 |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(WidgetConfig.UiSettings other)
public WidgetConfig.UiSettings.Builder mergeFrom(WidgetConfig.UiSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
WidgetConfig.UiSettings |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WidgetConfig.UiSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WidgetConfig.UiSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
mergeGenerativeAnswerConfig(WidgetConfig.UiSettings.GenerativeAnswerConfig value)
public WidgetConfig.UiSettings.Builder mergeGenerativeAnswerConfig(WidgetConfig.UiSettings.GenerativeAnswerConfig value)Describes generative answer configuration.
.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.GenerativeAnswerConfig generative_answer_config = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
WidgetConfig.UiSettings.GenerativeAnswerConfig |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
mergeModelConfigInfo(WidgetConfig.UiSettings.ModelConfigInfo value)
public WidgetConfig.UiSettings.Builder mergeModelConfigInfo(WidgetConfig.UiSettings.ModelConfigInfo value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
WidgetConfig.UiSettings.ModelConfigInfo |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
mergeSearchAddonSpec(WidgetConfig.UiSettings.SearchAddonSpec value)
public WidgetConfig.UiSettings.Builder mergeSearchAddonSpec(WidgetConfig.UiSettings.SearchAddonSpec value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
WidgetConfig.UiSettings.SearchAddonSpec |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
putAllFeatures(Map<String,WidgetConfig.UiSettings.FeatureState> values)
public WidgetConfig.UiSettings.Builder putAllFeatures(Map<String,WidgetConfig.UiSettings.FeatureState> values)Output only. Feature config for the engine to opt in or opt out of features. Supported keys:
agent-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-tier-badge
map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.FeatureState> features = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,FeatureState> |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
putAllFeaturesValue(Map<String,Integer> values)
public WidgetConfig.UiSettings.Builder putAllFeaturesValue(Map<String,Integer> values)Output only. Feature config for the engine to opt in or opt out of features. Supported keys:
agent-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-tier-badge
map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.FeatureState> features = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,Integer> |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
putAllModelConfigs(Map<String,WidgetConfig.UiSettings.ModelState> values)
public WidgetConfig.UiSettings.Builder putAllModelConfigs(Map<String,WidgetConfig.UiSettings.ModelState> values)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 |
values |
Map<String,ModelState> |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
putAllModelConfigsValue(Map<String,Integer> values)
public WidgetConfig.UiSettings.Builder putAllModelConfigsValue(Map<String,Integer> values)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 |
values |
Map<String,Integer> |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
putFeatures(String key, WidgetConfig.UiSettings.FeatureState value)
public WidgetConfig.UiSettings.Builder putFeatures(String key, WidgetConfig.UiSettings.FeatureState value)Output only. Feature config for the engine to opt in or opt out of features. Supported keys:
agent-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-tier-badge
map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.FeatureState> features = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
WidgetConfig.UiSettings.FeatureState |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
putFeaturesValue(String key, int value)
public WidgetConfig.UiSettings.Builder putFeaturesValue(String key, int value)Output only. Feature config for the engine to opt in or opt out of features. Supported keys:
agent-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-tier-badge
map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.FeatureState> features = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
int |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
putModelConfigs(String key, WidgetConfig.UiSettings.ModelState value)
public WidgetConfig.UiSettings.Builder putModelConfigs(String key, WidgetConfig.UiSettings.ModelState value)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 |
value |
WidgetConfig.UiSettings.ModelState |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
putModelConfigsValue(String key, int value)
public WidgetConfig.UiSettings.Builder putModelConfigsValue(String key, int value)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 |
value |
int |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
removeDataStoreUiConfigs(int index)
public WidgetConfig.UiSettings.Builder removeDataStoreUiConfigs(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.UiSettings.Builder |
|
removeFeatures(String key)
public WidgetConfig.UiSettings.Builder removeFeatures(String key)Output only. Feature config for the engine to opt in or opt out of features. Supported keys:
agent-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extractionremote-vmlicense-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.Builder |
|
removeModelConfigs(String key)
public WidgetConfig.UiSettings.Builder removeModelConfigs(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.Builder |
|
setDataStoreUiConfigs(int index, WidgetConfig.DataStoreUiConfig value)
public WidgetConfig.UiSettings.Builder setDataStoreUiConfigs(int index, WidgetConfig.DataStoreUiConfig value)Per data store configuration.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
WidgetConfig.DataStoreUiConfig |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
setDataStoreUiConfigs(int index, WidgetConfig.DataStoreUiConfig.Builder builderForValue)
public WidgetConfig.UiSettings.Builder setDataStoreUiConfigs(int index, WidgetConfig.DataStoreUiConfig.Builder builderForValue)Per data store configuration.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig data_store_ui_configs = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
WidgetConfig.DataStoreUiConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
setDefaultSearchRequestOrderBy(String value)
public WidgetConfig.UiSettings.Builder setDefaultSearchRequestOrderBy(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe defaultSearchRequestOrderBy to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setDefaultSearchRequestOrderByBytes(ByteString value)
public WidgetConfig.UiSettings.Builder setDefaultSearchRequestOrderByBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for defaultSearchRequestOrderBy to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setDisableUserEventsCollection(boolean value)
public WidgetConfig.UiSettings.Builder setDisableUserEventsCollection(boolean value)If set to true, the widget will not collect user events.
bool disable_user_events_collection = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe disableUserEventsCollection to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setEnableAutocomplete(boolean value)
public WidgetConfig.UiSettings.Builder setEnableAutocomplete(boolean value)Whether or not to enable autocomplete.
bool enable_autocomplete = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableAutocomplete to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setEnableCreateAgentButton(boolean value)
public WidgetConfig.UiSettings.Builder setEnableCreateAgentButton(boolean value)Optional. If set to true, the widget will enable the create agent button.
bool enable_create_agent_button = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableCreateAgentButton to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setEnablePeopleSearch(boolean value)
public WidgetConfig.UiSettings.Builder setEnablePeopleSearch(boolean value)Optional. If set to true, the widget will enable people search.
bool enable_people_search = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enablePeopleSearch to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setEnableQualityFeedback(boolean value)
public WidgetConfig.UiSettings.Builder setEnableQualityFeedback(boolean value)Turn on or off collecting the search result quality feedback from end users.
bool enable_quality_feedback = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableQualityFeedback to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setEnableSafeSearch(boolean value)
public WidgetConfig.UiSettings.Builder setEnableSafeSearch(boolean value)Whether to enable safe search.
bool enable_safe_search = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableSafeSearch to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setEnableSearchAsYouType(boolean value)
public WidgetConfig.UiSettings.Builder setEnableSearchAsYouType(boolean value)Whether to enable search-as-you-type behavior for the search widget.
bool enable_search_as_you_type = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableSearchAsYouType to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setEnableVisualContentSummary(boolean value)
public WidgetConfig.UiSettings.Builder setEnableVisualContentSummary(boolean value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableVisualContentSummary to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setGenerativeAnswerConfig(WidgetConfig.UiSettings.GenerativeAnswerConfig value)
public WidgetConfig.UiSettings.Builder setGenerativeAnswerConfig(WidgetConfig.UiSettings.GenerativeAnswerConfig value)Describes generative answer configuration.
.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.GenerativeAnswerConfig generative_answer_config = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
WidgetConfig.UiSettings.GenerativeAnswerConfig |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
setGenerativeAnswerConfig(WidgetConfig.UiSettings.GenerativeAnswerConfig.Builder builderForValue)
public WidgetConfig.UiSettings.Builder setGenerativeAnswerConfig(WidgetConfig.UiSettings.GenerativeAnswerConfig.Builder builderForValue)Describes generative answer configuration.
.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.GenerativeAnswerConfig generative_answer_config = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
WidgetConfig.UiSettings.GenerativeAnswerConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
setGoogleDrivePickerEnabled(boolean value)
public WidgetConfig.UiSettings.Builder setGoogleDrivePickerEnabled(boolean value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe googleDrivePickerEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setInteractionType(WidgetConfig.UiSettings.InteractionType value)
public WidgetConfig.UiSettings.Builder setInteractionType(WidgetConfig.UiSettings.InteractionType value)Describes widget (or web app) interaction type
.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.InteractionType interaction_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
WidgetConfig.UiSettings.InteractionTypeThe interactionType to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setInteractionTypeValue(int value)
public WidgetConfig.UiSettings.Builder setInteractionTypeValue(int value)Describes widget (or web app) interaction type
.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.InteractionType interaction_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for interactionType to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setModelConfigInfo(WidgetConfig.UiSettings.ModelConfigInfo value)
public WidgetConfig.UiSettings.Builder setModelConfigInfo(WidgetConfig.UiSettings.ModelConfigInfo value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
WidgetConfig.UiSettings.ModelConfigInfo |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
setModelConfigInfo(WidgetConfig.UiSettings.ModelConfigInfo.Builder builderForValue)
public WidgetConfig.UiSettings.Builder setModelConfigInfo(WidgetConfig.UiSettings.ModelConfigInfo.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
WidgetConfig.UiSettings.ModelConfigInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
setOnedrivePickerEnabled(boolean value)
public WidgetConfig.UiSettings.Builder setOnedrivePickerEnabled(boolean value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe onedrivePickerEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setResultDescriptionType(WidgetConfig.ResultDisplayType value)
public WidgetConfig.UiSettings.Builder setResultDescriptionType(WidgetConfig.ResultDisplayType value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
WidgetConfig.ResultDisplayTypeThe resultDescriptionType to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setResultDescriptionTypeValue(int value)
public WidgetConfig.UiSettings.Builder setResultDescriptionTypeValue(int value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for resultDescriptionType to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |
setSearchAddonSpec(WidgetConfig.UiSettings.SearchAddonSpec value)
public WidgetConfig.UiSettings.Builder setSearchAddonSpec(WidgetConfig.UiSettings.SearchAddonSpec value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
WidgetConfig.UiSettings.SearchAddonSpec |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
setSearchAddonSpec(WidgetConfig.UiSettings.SearchAddonSpec.Builder builderForValue)
public WidgetConfig.UiSettings.Builder setSearchAddonSpec(WidgetConfig.UiSettings.SearchAddonSpec.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
WidgetConfig.UiSettings.SearchAddonSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
|
setSourceAdminDisplayNameEnabled(boolean value)
public WidgetConfig.UiSettings.Builder setSourceAdminDisplayNameEnabled(boolean value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe sourceAdminDisplayNameEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.Builder |
This builder for chaining. |