Interface WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModelOrBuilder (0.99.0)

public static interface WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdminView()

public abstract WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView getAdminView()

Output only. Admin-surface metadata; populated only for the Console admin Feature Control page (see AdminView). Unset for end-user surfaces.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView admin_view = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView

The adminView.

getAdminViewOrBuilder()

public abstract WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminViewOrBuilder getAdminViewOrBuilder()

Output only. Admin-surface metadata; populated only for the Console admin Feature Control page (see AdminView). Unset for end-user surfaces.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView admin_view = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminViewOrBuilder

getDescription()

public abstract String getDescription()

Output only. Localized description text (e.g. State-of-the-art reasoning). Localized using the same locale as display_name.

string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Output only. Localized description text (e.g. State-of-the-art reasoning). Localized using the same locale as display_name.

string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public abstract String getDisplayName()

Output only. Localized display name of the model (e.g. Gemini 3.1 Pro). Localized server-side based on the LookupWidgetConfigRequest.language_code and LookupWidgetConfigRequest.region_code of the request.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Output only. Localized display name of the model (e.g. Gemini 3.1 Pro). Localized server-side based on the LookupWidgetConfigRequest.language_code and LookupWidgetConfigRequest.region_code of the request.

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

Returns
Type Description
ByteString

The bytes for displayName.

getFamily()

public abstract String getFamily()

Output only. Groups models that render together in the selector. Models sharing a value form one group; empty means the model belongs to no group.

Compared for equality only -- never parsed, and never shown to a user, so it is not localized.

string family = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The family.

getFamilyBytes()

public abstract ByteString getFamilyBytes()

Output only. Groups models that render together in the selector. Models sharing a value form one group; empty means the model belongs to no group.

Compared for equality only -- never parsed, and never shown to a user, so it is not localized.

string family = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for family.

getIcon()

public abstract String getIcon()

Output only. GM3-compatible icon token associated with the model (e.g. rocket_launch, bolt, graph_5).

string icon = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The icon.

getIconBytes()

public abstract ByteString getIconBytes()

Output only. GM3-compatible icon token associated with the model (e.g. rocket_launch, bolt, graph_5).

string icon = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for icon.

getIconUrl()

public abstract String getIconUrl()

Output only. Absolute URL of a brand mark to render instead of icon, for models whose vendor logo is not a GM3 glyph.

icon stays populated as the fallback, so a client that does not render images, or that fails to fetch this one, shows the glyph instead of nothing.

string icon_url = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The iconUrl.

getIconUrlBytes()

public abstract ByteString getIconUrlBytes()

Output only. Absolute URL of a brand mark to render instead of icon, for models whose vendor logo is not a GM3 glyph.

icon stays populated as the fallback, so a client that does not render images, or that fails to fetch this one, shows the glyph instead of nothing.

string icon_url = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for iconUrl.

getIsPreview()

public abstract boolean getIsPreview()

Output only. Whether the model is currently in preview. Clients should surface this via a "Preview" badge in the selector UI.

bool is_preview = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The isPreview.

getLabel()

public abstract String getLabel()

Output only. Short label shown in the compact selector bar chip (e.g. 3.x Flash) as opposed to the full display_name (Gemini 3.x Flash). Falls back to display_name when the backend registry does not specify a distinct short label.

string label = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The label.

getLabelBytes()

public abstract ByteString getLabelBytes()

Output only. Short label shown in the compact selector bar chip (e.g. 3.x Flash) as opposed to the full display_name (Gemini 3.x Flash). Falls back to display_name when the backend registry does not specify a distinct short label.

string label = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for label.

getModelId()

public abstract String getModelId()

Output only. Unique identifier of the model (e.g. gemini-2.5-flash, gemini-3.1-pro-preview).

This is the same identifier that clients pass back to the assistant service to select this model. Virtual / "pseudo" models (e.g. gemini-fast) are also valid values here; they are resolved to the underlying concrete model on the backend.

string model_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The modelId.

getModelIdBytes()

public abstract ByteString getModelIdBytes()

Output only. Unique identifier of the model (e.g. gemini-2.5-flash, gemini-3.1-pro-preview).

This is the same identifier that clients pass back to the assistant service to select this model. Virtual / "pseudo" models (e.g. gemini-fast) are also valid values here; they are resolved to the underlying concrete model on the backend.

string model_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for modelId.

getPromoted()

public abstract boolean getPromoted()

Output only. Whether this model should be promoted in the GE chat homepage banner.

bool promoted = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The promoted.

hasAdminView()

public abstract boolean hasAdminView()

Output only. Admin-surface metadata; populated only for the Console admin Feature Control page (see AdminView). Unset for end-user surfaces.

.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView admin_view = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the adminView field is set.