public static enum GenerationConfig.ModelConfig.FeatureSelectionPreference extends Enum<GenerationConfig.ModelConfig.FeatureSelectionPreference> implements com.google.protobuf.ProtocolMessageEnum
Options for feature selection preference.Protobuf enum
google.cloud.aiplatform.v1beta1.GenerationConfig.ModelConfig.FeatureSelectionPreference| Enum Constant and Description |
|---|
BALANCED
Balanced feature selection preference.
|
FEATURE_SELECTION_PREFERENCE_UNSPECIFIED
Unspecified feature selection preference.
|
PRIORITIZE_COST
Prefer lower cost over higher quality.
|
PRIORITIZE_QUALITY
Prefer higher quality over lower cost.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BALANCED_VALUE
Balanced feature selection preference.
|
static int |
FEATURE_SELECTION_PREFERENCE_UNSPECIFIED_VALUE
Unspecified feature selection preference.
|
static int |
PRIORITIZE_COST_VALUE
Prefer lower cost over higher quality.
|
static int |
PRIORITIZE_QUALITY_VALUE
Prefer higher quality over lower cost.
|
| Modifier and Type | Method and Description |
|---|---|
static GenerationConfig.ModelConfig.FeatureSelectionPreference |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<GenerationConfig.ModelConfig.FeatureSelectionPreference> |
internalGetValueMap() |
static GenerationConfig.ModelConfig.FeatureSelectionPreference |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GenerationConfig.ModelConfig.FeatureSelectionPreference |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GenerationConfig.ModelConfig.FeatureSelectionPreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenerationConfig.ModelConfig.FeatureSelectionPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenerationConfig.ModelConfig.FeatureSelectionPreference FEATURE_SELECTION_PREFERENCE_UNSPECIFIED
Unspecified feature selection preference.
FEATURE_SELECTION_PREFERENCE_UNSPECIFIED = 0;public static final GenerationConfig.ModelConfig.FeatureSelectionPreference PRIORITIZE_QUALITY
Prefer higher quality over lower cost.
PRIORITIZE_QUALITY = 1;public static final GenerationConfig.ModelConfig.FeatureSelectionPreference BALANCED
Balanced feature selection preference.
BALANCED = 2;public static final GenerationConfig.ModelConfig.FeatureSelectionPreference PRIORITIZE_COST
Prefer lower cost over higher quality.
PRIORITIZE_COST = 3;public static final GenerationConfig.ModelConfig.FeatureSelectionPreference UNRECOGNIZED
public static final int FEATURE_SELECTION_PREFERENCE_UNSPECIFIED_VALUE
Unspecified feature selection preference.
FEATURE_SELECTION_PREFERENCE_UNSPECIFIED = 0;public static final int PRIORITIZE_QUALITY_VALUE
Prefer higher quality over lower cost.
PRIORITIZE_QUALITY = 1;public static final int BALANCED_VALUE
Balanced feature selection preference.
BALANCED = 2;public static final int PRIORITIZE_COST_VALUE
Prefer lower cost over higher quality.
PRIORITIZE_COST = 3;public static GenerationConfig.ModelConfig.FeatureSelectionPreference[] values()
for (GenerationConfig.ModelConfig.FeatureSelectionPreference c : GenerationConfig.ModelConfig.FeatureSelectionPreference.values()) System.out.println(c);
public static GenerationConfig.ModelConfig.FeatureSelectionPreference valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static GenerationConfig.ModelConfig.FeatureSelectionPreference valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static GenerationConfig.ModelConfig.FeatureSelectionPreference forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<GenerationConfig.ModelConfig.FeatureSelectionPreference> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static GenerationConfig.ModelConfig.FeatureSelectionPreference valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.