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()Clears the value of buckets field.clearMax()Clears the value of max field.Clears the value of mean field.Clears the value of median field.clearMin()Clears the value of min field.clearP5()Clears the value of p5 field.clearP95()Clears the value of p95 field.clearSum()Clears the value of sum field.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
@CanIgnoreReturnValue public DatasetDistribution.Builder buckets(DatasetDistributionDistributionBucket... buckets) Setter for buckets.buckets: Output only. Defines the histogram bucket.
-
buckets
@CanIgnoreReturnValue public DatasetDistribution.Builder buckets(DatasetDistributionDistributionBucket.Builder... bucketsBuilders) Setter for buckets builder.buckets: Output only. Defines the histogram bucket.
-
clearBuckets
Clears the value of buckets field. -
max
Setter for max.max: Output only. The maximum of the population values.
-
clearMax
Clears the value of max field. -
mean
Setter for mean.mean: Output only. The arithmetic mean of the values in the population.
-
clearMean
Clears the value of mean field. -
median
Setter for median.median: Output only. The median of the values in the population.
-
clearMedian
Clears the value of median field. -
min
Setter for min.min: Output only. The minimum of the population values.
-
clearMin
Clears the value of min field. -
p5
Setter for p5.p5: Output only. The 5th percentile of the values in the population.
-
clearP5
Clears the value of p5 field. -
p95
Setter for p95.p95: Output only. The 95th percentile of the values in the population.
-
clearP95
Clears the value of p95 field. -
sum
Setter for sum.sum: Output only. Sum of a given population of values.
-
clearSum
Clears the value of sum field. -
build
-