Package com.google.cloud.aiplatform.v1
Interface SampleConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SampleConfig,SampleConfig.Builder
public interface SampleConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetFollowingBatchSamplePercentage()The percentage of data needed to be labeled in each following batch (except the first batch).SampleConfig.FollowingBatchSampleSizeCasegetFollowingBatchSampleSizeCase()intgetInitialBatchSamplePercentage()The percentage of data needed to be labeled in the first batch.SampleConfig.InitialBatchSampleSizeCasegetInitialBatchSampleSizeCase()SampleConfig.SampleStrategygetSampleStrategy()Field to choose sampling strategy.intgetSampleStrategyValue()Field to choose sampling strategy.booleanhasFollowingBatchSamplePercentage()The percentage of data needed to be labeled in each following batch (except the first batch).booleanhasInitialBatchSamplePercentage()The percentage of data needed to be labeled in the first batch.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasInitialBatchSamplePercentage
boolean hasInitialBatchSamplePercentage()
The percentage of data needed to be labeled in the first batch.
int32 initial_batch_sample_percentage = 1;- Returns:
- Whether the initialBatchSamplePercentage field is set.
-
getInitialBatchSamplePercentage
int getInitialBatchSamplePercentage()
The percentage of data needed to be labeled in the first batch.
int32 initial_batch_sample_percentage = 1;- Returns:
- The initialBatchSamplePercentage.
-
hasFollowingBatchSamplePercentage
boolean hasFollowingBatchSamplePercentage()
The percentage of data needed to be labeled in each following batch (except the first batch).
int32 following_batch_sample_percentage = 3;- Returns:
- Whether the followingBatchSamplePercentage field is set.
-
getFollowingBatchSamplePercentage
int getFollowingBatchSamplePercentage()
The percentage of data needed to be labeled in each following batch (except the first batch).
int32 following_batch_sample_percentage = 3;- Returns:
- The followingBatchSamplePercentage.
-
getSampleStrategyValue
int getSampleStrategyValue()
Field to choose sampling strategy. Sampling strategy will decide which data should be selected for human labeling in every batch.
.google.cloud.aiplatform.v1.SampleConfig.SampleStrategy sample_strategy = 5;- Returns:
- The enum numeric value on the wire for sampleStrategy.
-
getSampleStrategy
SampleConfig.SampleStrategy getSampleStrategy()
Field to choose sampling strategy. Sampling strategy will decide which data should be selected for human labeling in every batch.
.google.cloud.aiplatform.v1.SampleConfig.SampleStrategy sample_strategy = 5;- Returns:
- The sampleStrategy.
-
getInitialBatchSampleSizeCase
SampleConfig.InitialBatchSampleSizeCase getInitialBatchSampleSizeCase()
-
getFollowingBatchSampleSizeCase
SampleConfig.FollowingBatchSampleSizeCase getFollowingBatchSampleSizeCase()
-
-