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 int
getFollowingBatchSamplePercentage()
The percentage of data needed to be labeled in each following batch (except the first batch).SampleConfig.FollowingBatchSampleSizeCase
getFollowingBatchSampleSizeCase()
int
getInitialBatchSamplePercentage()
The percentage of data needed to be labeled in the first batch.SampleConfig.InitialBatchSampleSizeCase
getInitialBatchSampleSizeCase()
SampleConfig.SampleStrategy
getSampleStrategy()
Field to choose sampling strategy.int
getSampleStrategyValue()
Field to choose sampling strategy.boolean
hasFollowingBatchSamplePercentage()
The percentage of data needed to be labeled in each following batch (except the first batch).boolean
hasInitialBatchSamplePercentage()
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()
-
-