Interface WidgetConfig.UiSettings.ModelConfigInfoOrBuilder (0.99.0)

public static interface WidgetConfig.UiSettings.ModelConfigInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoModelId()

public abstract String getAutoModelId()

Output only. The model_id a client must send when the end-user picks the "Auto" entry (the empty model_id).

Populated only for surfaces known to have no true "Auto" mode, where leaving the model unset would fall back to a platform default rather than a backend-chosen model. Empty on every other surface, where "Auto" is resolved server-side, and when none of the surface's ranked models is available. When set, it is always one of the non-empty model_ids present in resolved_models.

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

Returns
Type Description
String

The autoModelId.

getAutoModelIdBytes()

public abstract ByteString getAutoModelIdBytes()

Output only. The model_id a client must send when the end-user picks the "Auto" entry (the empty model_id).

Populated only for surfaces known to have no true "Auto" mode, where leaving the model unset would fall back to a platform default rather than a backend-chosen model. Empty on every other surface, where "Auto" is resolved server-side, and when none of the surface's ranked models is available. When set, it is always one of the non-empty model_ids present in resolved_models.

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

Returns
Type Description
ByteString

The bytes for autoModelId.

getDefaultModelId()

public abstract String getDefaultModelId()

Output only. The model_id of the model that should be selected by default in the model selector when the end-user has not made an explicit choice. The value is always one of the model_ids present in resolved_models.

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

Returns
Type Description
String

The defaultModelId.

getDefaultModelIdBytes()

public abstract ByteString getDefaultModelIdBytes()

Output only. The model_id of the model that should be selected by default in the model selector when the end-user has not made an explicit choice. The value is always one of the model_ids present in resolved_models.

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

Returns
Type Description
ByteString

The bytes for defaultModelId.

getResolvedModels(int index)

public abstract WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel getResolvedModels(int index)

Output only. The list of models that are available to the end-user in the model selector, in the order in which they should be displayed.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel resolved_models = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel

getResolvedModelsCount()

public abstract int getResolvedModelsCount()

Output only. The list of models that are available to the end-user in the model selector, in the order in which they should be displayed.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel resolved_models = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getResolvedModelsList()

public abstract List<WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel> getResolvedModelsList()

Output only. The list of models that are available to the end-user in the model selector, in the order in which they should be displayed.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel resolved_models = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ResolvedModel>

getResolvedModelsOrBuilder(int index)

public abstract WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModelOrBuilder getResolvedModelsOrBuilder(int index)

Output only. The list of models that are available to the end-user in the model selector, in the order in which they should be displayed.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel resolved_models = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModelOrBuilder

getResolvedModelsOrBuilderList()

public abstract List<? extends WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModelOrBuilder> getResolvedModelsOrBuilderList()

Output only. The list of models that are available to the end-user in the model selector, in the order in which they should be displayed.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel resolved_models = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModelOrBuilder>