Enum GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference (1.35.0)

publicenumGenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreferenceextendsEnum<GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference>implementsProtocolMessageEnum

The model routing preference.

Protobuf enum google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference

Implements

ProtocolMessageEnum

Static Fields

Name Description
BALANCED

Balanced model routing preference.

BALANCED = 2;

BALANCED_VALUE

Balanced model routing preference.

BALANCED = 2;

PRIORITIZE_COST

Prefer lower cost over higher quality.

PRIORITIZE_COST = 3;

PRIORITIZE_COST_VALUE

Prefer lower cost over higher quality.

PRIORITIZE_COST = 3;

PRIORITIZE_QUALITY

Prefer higher quality over low cost.

PRIORITIZE_QUALITY = 1;

PRIORITIZE_QUALITY_VALUE

Prefer higher quality over low cost.

PRIORITIZE_QUALITY = 1;

UNKNOWN

Unspecified model routing preference.

UNKNOWN = 0;

UNKNOWN_VALUE

Unspecified model routing preference.

UNKNOWN = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.