public static final class SamplingStrategy.RandomSampleConfig.Builder extends GeneratedMessageV3.Builder<SamplingStrategy.RandomSampleConfig.Builder> implements SamplingStrategy.RandomSampleConfigOrBuilder
Requests are randomly selected.
Protobuf type google.cloud.aiplatform.v1.SamplingStrategy.RandomSampleConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
public SamplingStrategy.RandomSampleConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SamplingStrategy.RandomSampleConfig build()
public SamplingStrategy.RandomSampleConfig buildPartial()
public SamplingStrategy.RandomSampleConfig.Builder clear()
Overrides
public SamplingStrategy.RandomSampleConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public SamplingStrategy.RandomSampleConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public SamplingStrategy.RandomSampleConfig.Builder clearSampleRate()
Sample rate (0, 1]
double sample_rate = 1;
public SamplingStrategy.RandomSampleConfig.Builder clone()
Overrides
public SamplingStrategy.RandomSampleConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public double getSampleRate()
Sample rate (0, 1]
double sample_rate = 1;
Returns |
---|
Type | Description |
double | The sampleRate.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public SamplingStrategy.RandomSampleConfig.Builder mergeFrom(SamplingStrategy.RandomSampleConfig other)
public SamplingStrategy.RandomSampleConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public SamplingStrategy.RandomSampleConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final SamplingStrategy.RandomSampleConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public SamplingStrategy.RandomSampleConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SamplingStrategy.RandomSampleConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public SamplingStrategy.RandomSampleConfig.Builder setSampleRate(double value)
Sample rate (0, 1]
double sample_rate = 1;
Parameter |
---|
Name | Description |
value | double
The sampleRate to set.
|
public final SamplingStrategy.RandomSampleConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides