Class DatasetDistribution.Builder (3.55.0)

public static final class DatasetDistribution.Builder extends GeneratedMessageV3.Builder<DatasetDistribution.Builder> implements DatasetDistributionOrBuilder

Distribution computed over a tuning dataset.

Protobuf type google.cloud.aiplatform.v1beta1.DatasetDistribution

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllBuckets(Iterable<? extends DatasetDistribution.DistributionBucket> values)

public DatasetDistribution.Builder addAllBuckets(Iterable<? extends DatasetDistribution.DistributionBucket> values)

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket>
Returns
Type Description
DatasetDistribution.Builder

addBuckets(DatasetDistribution.DistributionBucket value)

public DatasetDistribution.Builder addBuckets(DatasetDistribution.DistributionBucket value)

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DatasetDistribution.DistributionBucket
Returns
Type Description
DatasetDistribution.Builder

addBuckets(DatasetDistribution.DistributionBucket.Builder builderForValue)

public DatasetDistribution.Builder addBuckets(DatasetDistribution.DistributionBucket.Builder builderForValue)

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DatasetDistribution.DistributionBucket.Builder
Returns
Type Description
DatasetDistribution.Builder

addBuckets(int index, DatasetDistribution.DistributionBucket value)

public DatasetDistribution.Builder addBuckets(int index, DatasetDistribution.DistributionBucket value)

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value DatasetDistribution.DistributionBucket
Returns
Type Description
DatasetDistribution.Builder

addBuckets(int index, DatasetDistribution.DistributionBucket.Builder builderForValue)

public DatasetDistribution.Builder addBuckets(int index, DatasetDistribution.DistributionBucket.Builder builderForValue)

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue DatasetDistribution.DistributionBucket.Builder
Returns
Type Description
DatasetDistribution.Builder

addBucketsBuilder()

public DatasetDistribution.DistributionBucket.Builder addBucketsBuilder()

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatasetDistribution.DistributionBucket.Builder

addBucketsBuilder(int index)

public DatasetDistribution.DistributionBucket.Builder addBucketsBuilder(int index)

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DatasetDistribution.DistributionBucket.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DatasetDistribution.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatasetDistribution.Builder
Overrides

build()

public DatasetDistribution build()
Returns
Type Description
DatasetDistribution

buildPartial()

public DatasetDistribution buildPartial()
Returns
Type Description
DatasetDistribution

clear()

public DatasetDistribution.Builder clear()
Returns
Type Description
DatasetDistribution.Builder
Overrides

clearBuckets()

public DatasetDistribution.Builder clearBuckets()

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatasetDistribution.Builder

clearField(Descriptors.FieldDescriptor field)

public DatasetDistribution.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DatasetDistribution.Builder
Overrides

clearMax()

public DatasetDistribution.Builder clearMax()

Output only. The maximum of the population values.

double max = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

clearMean()

public DatasetDistribution.Builder clearMean()

Output only. The arithmetic mean of the values in the population.

double mean = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

clearMedian()

public DatasetDistribution.Builder clearMedian()

Output only. The median of the values in the population.

double median = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

clearMin()

public DatasetDistribution.Builder clearMin()

Output only. The minimum of the population values.

double min = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DatasetDistribution.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DatasetDistribution.Builder
Overrides

clearP5()

public DatasetDistribution.Builder clearP5()

Output only. The 5th percentile of the values in the population.

double p5 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

clearP95()

public DatasetDistribution.Builder clearP95()

Output only. The 95th percentile of the values in the population.

double p95 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

clearSum()

public DatasetDistribution.Builder clearSum()

Output only. Sum of a given population of values.

double sum = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

clone()

public DatasetDistribution.Builder clone()
Returns
Type Description
DatasetDistribution.Builder
Overrides

getBuckets(int index)

public DatasetDistribution.DistributionBucket getBuckets(int index)

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DatasetDistribution.DistributionBucket

getBucketsBuilder(int index)

public DatasetDistribution.DistributionBucket.Builder getBucketsBuilder(int index)

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DatasetDistribution.DistributionBucket.Builder

getBucketsBuilderList()

public List<DatasetDistribution.DistributionBucket.Builder> getBucketsBuilderList()

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getBucketsCount()

public int getBucketsCount()

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getBucketsList()

public List<DatasetDistribution.DistributionBucket> getBucketsList()

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DistributionBucket>

getBucketsOrBuilder(int index)

public DatasetDistribution.DistributionBucketOrBuilder getBucketsOrBuilder(int index)

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DatasetDistribution.DistributionBucketOrBuilder

getBucketsOrBuilderList()

public List<? extends DatasetDistribution.DistributionBucketOrBuilder> getBucketsOrBuilderList()

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucketOrBuilder>

getDefaultInstanceForType()

public DatasetDistribution getDefaultInstanceForType()
Returns
Type Description
DatasetDistribution

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMax()

public double getMax()

Output only. The maximum of the population values.

double max = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The max.

getMean()

public double getMean()

Output only. The arithmetic mean of the values in the population.

double mean = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The mean.

getMedian()

public double getMedian()

Output only. The median of the values in the population.

double median = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The median.

getMin()

public double getMin()

Output only. The minimum of the population values.

double min = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The min.

getP5()

public double getP5()

Output only. The 5th percentile of the values in the population.

double p5 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The p5.

getP95()

public double getP95()

Output only. The 95th percentile of the values in the population.

double p95 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The p95.

getSum()

public double getSum()

Output only. Sum of a given population of values.

double sum = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The sum.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DatasetDistribution other)

public DatasetDistribution.Builder mergeFrom(DatasetDistribution other)
Parameter
Name Description
other DatasetDistribution
Returns
Type Description
DatasetDistribution.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DatasetDistribution.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetDistribution.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DatasetDistribution.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DatasetDistribution.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatasetDistribution.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatasetDistribution.Builder
Overrides

removeBuckets(int index)

public DatasetDistribution.Builder removeBuckets(int index)

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DatasetDistribution.Builder

setBuckets(int index, DatasetDistribution.DistributionBucket value)

public DatasetDistribution.Builder setBuckets(int index, DatasetDistribution.DistributionBucket value)

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value DatasetDistribution.DistributionBucket
Returns
Type Description
DatasetDistribution.Builder

setBuckets(int index, DatasetDistribution.DistributionBucket.Builder builderForValue)

public DatasetDistribution.Builder setBuckets(int index, DatasetDistribution.DistributionBucket.Builder builderForValue)

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue DatasetDistribution.DistributionBucket.Builder
Returns
Type Description
DatasetDistribution.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DatasetDistribution.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatasetDistribution.Builder
Overrides

setMax(double value)

public DatasetDistribution.Builder setMax(double value)

Output only. The maximum of the population values.

double max = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value double

The max to set.

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

setMean(double value)

public DatasetDistribution.Builder setMean(double value)

Output only. The arithmetic mean of the values in the population.

double mean = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value double

The mean to set.

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

setMedian(double value)

public DatasetDistribution.Builder setMedian(double value)

Output only. The median of the values in the population.

double median = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value double

The median to set.

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

setMin(double value)

public DatasetDistribution.Builder setMin(double value)

Output only. The minimum of the population values.

double min = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value double

The min to set.

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

setP5(double value)

public DatasetDistribution.Builder setP5(double value)

Output only. The 5th percentile of the values in the population.

double p5 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value double

The p5 to set.

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

setP95(double value)

public DatasetDistribution.Builder setP95(double value)

Output only. The 95th percentile of the values in the population.

double p95 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value double

The p95 to set.

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DatasetDistribution.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DatasetDistribution.Builder
Overrides

setSum(double value)

public DatasetDistribution.Builder setSum(double value)

Output only. Sum of a given population of values.

double sum = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value double

The sum to set.

Returns
Type Description
DatasetDistribution.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DatasetDistribution.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatasetDistribution.Builder
Overrides