public static enum SampleConfig.SampleStrategy extends Enum<SampleConfig.SampleStrategy> implements com.google.protobuf.ProtocolMessageEnum
Sample strategy decides which subset of DataItems should be selected for human labeling in every batch.Protobuf enum
google.cloud.aiplatform.v1beta1.SampleConfig.SampleStrategy| Enum Constant and Description |
|---|
SAMPLE_STRATEGY_UNSPECIFIED
Default will be treated as UNCERTAINTY.
|
UNCERTAINTY
Sample the most uncertain data to label.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SAMPLE_STRATEGY_UNSPECIFIED_VALUE
Default will be treated as UNCERTAINTY.
|
static int |
UNCERTAINTY_VALUE
Sample the most uncertain data to label.
|
| Modifier and Type | Method and Description |
|---|---|
static SampleConfig.SampleStrategy |
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<SampleConfig.SampleStrategy> |
internalGetValueMap() |
static SampleConfig.SampleStrategy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SampleConfig.SampleStrategy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SampleConfig.SampleStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SampleConfig.SampleStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SampleConfig.SampleStrategy SAMPLE_STRATEGY_UNSPECIFIED
Default will be treated as UNCERTAINTY.
SAMPLE_STRATEGY_UNSPECIFIED = 0;public static final SampleConfig.SampleStrategy UNCERTAINTY
Sample the most uncertain data to label.
UNCERTAINTY = 1;public static final SampleConfig.SampleStrategy UNRECOGNIZED
public static final int SAMPLE_STRATEGY_UNSPECIFIED_VALUE
Default will be treated as UNCERTAINTY.
SAMPLE_STRATEGY_UNSPECIFIED = 0;public static final int UNCERTAINTY_VALUE
Sample the most uncertain data to label.
UNCERTAINTY = 1;public static SampleConfig.SampleStrategy[] values()
for (SampleConfig.SampleStrategy c : SampleConfig.SampleStrategy.values()) System.out.println(c);
public static SampleConfig.SampleStrategy 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 SampleConfig.SampleStrategy valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SampleConfig.SampleStrategy forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SampleConfig.SampleStrategy> 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 SampleConfig.SampleStrategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.