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.
Protobuf type google.cloud.aiplatform.v1beta1.SamplingStrategy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
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 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