Interface WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminViewOrBuilder (0.99.0)

public static interface WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminViewOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdminOverridable()

public abstract boolean getAdminOverridable()

Output only. Whether the admin can toggle this model's enabled/disabled state via UiSettings.model_configs. Derived from MODEL_TAG_ADMIN_OVERRIDABLE. When false, the model is "forced" and its state is governed by enabled_by_default.

bool admin_overridable = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The adminOverridable.

getEnabledByDefault()

public abstract boolean getEnabledByDefault()

Output only. Whether the model is enabled when the admin has set no explicit override in UiSettings.model_configs. Derived from MODEL_TAG_ENABLED_BY_DEFAULT.

bool enabled_by_default = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The enabledByDefault.

getRegions(int index)

public abstract String getRegions(int index)

Output only. Regions where this model is launched.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The regions at the given index.

getRegionsBytes(int index)

public abstract ByteString getRegionsBytes(int index)

Output only. Regions where this model is launched.

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the regions at the given index.

getRegionsCount()

public abstract int getRegionsCount()

Output only. Regions where this model is launched.

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

Returns
Type Description
int

The count of regions.

getRegionsList()

public abstract List<String> getRegionsList()

Output only. Regions where this model is launched.

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

Returns
Type Description
List<String>

A list containing the regions.