public static final class WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel extends GeneratedMessage implements WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModelOrBuilder
A single model that is resolved to be available to the end-user in the
model selector, with all of its localized display metadata.
Protobuf type
google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int ADMIN_VIEW_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int DISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int FAMILY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int ICON_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int ICON_URL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int IS_PREVIEW_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int LABEL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int MODEL_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int PROMOTED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.Builder newBuilder()
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.Builder newBuilder(WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel prototype)
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel parseDelimitedFrom(InputStream input)
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel parseFrom(ByteString data)
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel parseFrom(CodedInputStream input)
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel parseFrom(InputStream input)
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel parseFrom(ByteBuffer data)
public static WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public 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];
public 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];
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel getDefaultInstanceForType()
public 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.
|
public 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.
|
public 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.
|
public 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.
|
public 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.
|
public 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.
|
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.
|
public 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.
|
public 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.
|
public 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.
|
public 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.
|
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.
|
public 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.
|
public 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.
|
public 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.
|
public Parser<WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel> getParserForType()
Overrides
public 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.
|
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public 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.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.Builder newBuilderForType()
protected WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides