public static final class WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder extends GeneratedMessage.Builder<WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder> implements WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminViewOrBuilderAdmin-surface metadata. Populated only when the request originates from the Cloud Console admin "Feature Control" page; left unset for end-user surfaces (Web, Mobile). Lets the admin page render its toggle table directly from the backend instead of a hardcoded client-side registry.
Protobuf type
google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRegions(Iterable<String> values)
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder addAllRegions(Iterable<String> values)Output only. Regions where this model is launched.
repeated string regions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The regions to add. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder |
This builder for chaining. |
addRegions(String value)
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder addRegions(String value)Output only. Regions where this model is launched.
repeated string regions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe regions to add. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder |
This builder for chaining. |
addRegionsBytes(ByteString value)
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder addRegionsBytes(ByteString value)Output only. Regions where this model is launched.
repeated string regions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the regions to add. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder |
This builder for chaining. |
build()
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView build()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView |
|
buildPartial()
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView buildPartial()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView |
|
clear()
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder clear()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder |
|
clearAdminOverridable()
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder clearAdminOverridable() 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 |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder |
This builder for chaining. |
clearEnabledByDefault()
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder clearEnabledByDefault() 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 |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder |
This builder for chaining. |
clearRegions()
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder clearRegions()Output only. Regions where this model is launched.
repeated string regions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder |
This builder for chaining. |
getAdminOverridable()
public 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. |
getDefaultInstanceForType()
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnabledByDefault()
public 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 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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The regions at the given index. |
getRegionsBytes(int index)
public 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 |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the regions at the given index. |
getRegionsCount()
public 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 ProtocolStringList getRegionsList()Output only. Regions where this model is launched.
repeated string regions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the regions. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView other)
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder mergeFrom(WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView other)| Parameter | |
|---|---|
| Name | Description |
other |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder |
|
setAdminOverridable(boolean value)
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder setAdminOverridable(boolean value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe adminOverridable to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder |
This builder for chaining. |
setEnabledByDefault(boolean value)
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder setEnabledByDefault(boolean value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enabledByDefault to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder |
This builder for chaining. |
setRegions(int index, String value)
public WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder setRegions(int index, String value)Output only. Regions where this model is launched.
repeated string regions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe regions to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.ModelConfigInfo.ResolvedModel.AdminView.Builder |
This builder for chaining. |