Package com.google.genai.types
Class DatasetDistribution.Builder
java.lang.Object
com.google.genai.types.DatasetDistribution.Builder
- Enclosing class:
- DatasetDistribution
Builder for DatasetDistribution.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuckets(DatasetDistributionDistributionBucket... buckets) Setter for buckets.buckets(DatasetDistributionDistributionBucket.Builder... bucketsBuilders) Setter for buckets builder.abstract DatasetDistribution.Builderbuckets(List<DatasetDistributionDistributionBucket> buckets) Setter for buckets.abstract DatasetDistributionbuild()abstract DatasetDistribution.BuilderSetter for max.abstract DatasetDistribution.BuilderSetter for mean.abstract DatasetDistribution.BuilderSetter for median.abstract DatasetDistribution.BuilderSetter for min.abstract DatasetDistribution.BuilderSetter for p5.abstract DatasetDistribution.BuilderSetter for p95.abstract DatasetDistribution.BuilderSetter for sum.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
buckets
public abstract DatasetDistribution.Builder buckets(List<DatasetDistributionDistributionBucket> buckets) Setter for buckets.buckets: Output only. Defines the histogram bucket.
-
buckets
Setter for buckets.buckets: Output only. Defines the histogram bucket.
-
buckets
public DatasetDistribution.Builder buckets(DatasetDistributionDistributionBucket.Builder... bucketsBuilders) Setter for buckets builder.buckets: Output only. Defines the histogram bucket.
-
max
Setter for max.max: Output only. The maximum of the population values.
-
mean
Setter for mean.mean: Output only. The arithmetic mean of the values in the population.
-
median
Setter for median.median: Output only. The median of the values in the population.
-
min
Setter for min.min: Output only. The minimum of the population values.
-
p5
Setter for p5.p5: Output only. The 5th percentile of the values in the population.
-
p95
Setter for p95.p95: Output only. The 95th percentile of the values in the population.
-
sum
Setter for sum.sum: Output only. Sum of a given population of values.
-
build
-