public static final class SamplingStrategy.Builder extends GeneratedMessageV3.Builder<SamplingStrategy.Builder> implements SamplingStrategyOrBuilder
Sampling Strategy for logging, can be for both training and prediction
dataset.
Next ID: 2
Protobuf type google.cloud.aiplatform.v1beta1.SamplingStrategy
Methods
public SamplingStrategy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SamplingStrategy build()
Returns
public SamplingStrategy buildPartial()
Returns
public SamplingStrategy.Builder clear()
Returns
Overrides
public SamplingStrategy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public SamplingStrategy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public SamplingStrategy.Builder clearRandomSampleConfig()
Random sample config. Will support more sampling strategies later.
.google.cloud.aiplatform.v1beta1.SamplingStrategy.RandomSampleConfig random_sample_config = 1;
Returns
public SamplingStrategy.Builder clone()
Returns
Overrides
public SamplingStrategy getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public SamplingStrategy.RandomSampleConfig getRandomSampleConfig()
Random sample config. Will support more sampling strategies later.
.google.cloud.aiplatform.v1beta1.SamplingStrategy.RandomSampleConfig random_sample_config = 1;
Returns
public SamplingStrategy.RandomSampleConfig.Builder getRandomSampleConfigBuilder()
Random sample config. Will support more sampling strategies later.
.google.cloud.aiplatform.v1beta1.SamplingStrategy.RandomSampleConfig random_sample_config = 1;
Returns
public SamplingStrategy.RandomSampleConfigOrBuilder getRandomSampleConfigOrBuilder()
Random sample config. Will support more sampling strategies later.
.google.cloud.aiplatform.v1beta1.SamplingStrategy.RandomSampleConfig random_sample_config = 1;
Returns
public boolean hasRandomSampleConfig()
Random sample config. Will support more sampling strategies later.
.google.cloud.aiplatform.v1beta1.SamplingStrategy.RandomSampleConfig random_sample_config = 1;
Returns
Type | Description |
boolean | Whether the randomSampleConfig field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public SamplingStrategy.Builder mergeFrom(SamplingStrategy other)
Parameter
Returns
public SamplingStrategy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public SamplingStrategy.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public SamplingStrategy.Builder mergeRandomSampleConfig(SamplingStrategy.RandomSampleConfig value)
Random sample config. Will support more sampling strategies later.
.google.cloud.aiplatform.v1beta1.SamplingStrategy.RandomSampleConfig random_sample_config = 1;
Parameter
Returns
public final SamplingStrategy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public SamplingStrategy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SamplingStrategy.Builder setRandomSampleConfig(SamplingStrategy.RandomSampleConfig value)
Random sample config. Will support more sampling strategies later.
.google.cloud.aiplatform.v1beta1.SamplingStrategy.RandomSampleConfig random_sample_config = 1;
Parameter
Returns
public SamplingStrategy.Builder setRandomSampleConfig(SamplingStrategy.RandomSampleConfig.Builder builderForValue)
Random sample config. Will support more sampling strategies later.
.google.cloud.aiplatform.v1beta1.SamplingStrategy.RandomSampleConfig random_sample_config = 1;
Parameter
Returns
public SamplingStrategy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final SamplingStrategy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides