Class SupervisedTuningDatasetDistribution.Builder (3.56.0)

public static final class SupervisedTuningDatasetDistribution.Builder extends GeneratedMessageV3.Builder<SupervisedTuningDatasetDistribution.Builder> implements SupervisedTuningDatasetDistributionOrBuilder

Dataset distribution for Supervised Tuning.

Protobuf type google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution

Static Methods

getDescriptor()

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

Methods

addAllBuckets(Iterable<? extends SupervisedTuningDatasetDistribution.DatasetBucket> values)

public SupervisedTuningDatasetDistribution.Builder addAllBuckets(Iterable<? extends SupervisedTuningDatasetDistribution.DatasetBucket> values)

Output only. Defines the histogram bucket.

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

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

addBuckets(SupervisedTuningDatasetDistribution.DatasetBucket value)

public SupervisedTuningDatasetDistribution.Builder addBuckets(SupervisedTuningDatasetDistribution.DatasetBucket value)

Output only. Defines the histogram bucket.

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

Parameter
Name Description
value SupervisedTuningDatasetDistribution.DatasetBucket
Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

addBuckets(SupervisedTuningDatasetDistribution.DatasetBucket.Builder builderForValue)

public SupervisedTuningDatasetDistribution.Builder addBuckets(SupervisedTuningDatasetDistribution.DatasetBucket.Builder builderForValue)

Output only. Defines the histogram bucket.

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

Parameter
Name Description
builderForValue SupervisedTuningDatasetDistribution.DatasetBucket.Builder
Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

addBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket value)

public SupervisedTuningDatasetDistribution.Builder addBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket value)

Output only. Defines the histogram bucket.

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

Parameters
Name Description
index int
value SupervisedTuningDatasetDistribution.DatasetBucket
Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

addBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket.Builder builderForValue)

public SupervisedTuningDatasetDistribution.Builder addBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket.Builder builderForValue)

Output only. Defines the histogram bucket.

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

Parameters
Name Description
index int
builderForValue SupervisedTuningDatasetDistribution.DatasetBucket.Builder
Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

addBucketsBuilder()

public SupervisedTuningDatasetDistribution.DatasetBucket.Builder addBucketsBuilder()

Output only. Defines the histogram bucket.

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

Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket.Builder

addBucketsBuilder(int index)

public SupervisedTuningDatasetDistribution.DatasetBucket.Builder addBucketsBuilder(int index)

Output only. Defines the histogram bucket.

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

Parameter
Name Description
index int
Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SupervisedTuningDatasetDistribution build()
Returns
Type Description
SupervisedTuningDatasetDistribution

buildPartial()

public SupervisedTuningDatasetDistribution buildPartial()
Returns
Type Description
SupervisedTuningDatasetDistribution

clear()

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

clearBillableSum()

public SupervisedTuningDatasetDistribution.Builder clearBillableSum()

Output only. Sum of a given population of values that are billable.

int64 billable_sum = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

clearBuckets()

public SupervisedTuningDatasetDistribution.Builder clearBuckets()

Output only. Defines the histogram bucket.

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

Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMax()

public SupervisedTuningDatasetDistribution.Builder clearMax()

Output only. The maximum of the population values.

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

Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

clearMean()

public SupervisedTuningDatasetDistribution.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
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

clearMedian()

public SupervisedTuningDatasetDistribution.Builder clearMedian()

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

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

Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

clearMin()

public SupervisedTuningDatasetDistribution.Builder clearMin()

Output only. The minimum of the population values.

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

Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearP5()

public SupervisedTuningDatasetDistribution.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
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

clearP95()

public SupervisedTuningDatasetDistribution.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
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

clearSum()

public SupervisedTuningDatasetDistribution.Builder clearSum()

Output only. Sum of a given population of values.

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

Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

clone()

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

getBillableSum()

public long getBillableSum()

Output only. Sum of a given population of values that are billable.

int64 billable_sum = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The billableSum.

getBuckets(int index)

public SupervisedTuningDatasetDistribution.DatasetBucket getBuckets(int index)

Output only. Defines the histogram bucket.

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

Parameter
Name Description
index int
Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket

getBucketsBuilder(int index)

public SupervisedTuningDatasetDistribution.DatasetBucket.Builder getBucketsBuilder(int index)

Output only. Defines the histogram bucket.

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

Parameter
Name Description
index int
Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket.Builder

getBucketsBuilderList()

public List<SupervisedTuningDatasetDistribution.DatasetBucket.Builder> getBucketsBuilderList()

Output only. Defines the histogram bucket.

repeated .google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution.DatasetBucket 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.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getBucketsList()

public List<SupervisedTuningDatasetDistribution.DatasetBucket> getBucketsList()

Output only. Defines the histogram bucket.

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

Returns
Type Description
List<DatasetBucket>

getBucketsOrBuilder(int index)

public SupervisedTuningDatasetDistribution.DatasetBucketOrBuilder getBucketsOrBuilder(int index)

Output only. Defines the histogram bucket.

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

Parameter
Name Description
index int
Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucketOrBuilder

getBucketsOrBuilderList()

public List<? extends SupervisedTuningDatasetDistribution.DatasetBucketOrBuilder> getBucketsOrBuilderList()

Output only. Defines the histogram bucket.

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

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution.DatasetBucketOrBuilder>

getDefaultInstanceForType()

public SupervisedTuningDatasetDistribution getDefaultInstanceForType()
Returns
Type Description
SupervisedTuningDatasetDistribution

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 long getSum()

Output only. Sum of a given population of values.

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

Returns
Type Description
long

The sum.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SupervisedTuningDatasetDistribution other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeBuckets(int index)

public SupervisedTuningDatasetDistribution.Builder removeBuckets(int index)

Output only. Defines the histogram bucket.

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

Parameter
Name Description
index int
Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

setBillableSum(long value)

public SupervisedTuningDatasetDistribution.Builder setBillableSum(long value)

Output only. Sum of a given population of values that are billable.

int64 billable_sum = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The billableSum to set.

Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

setBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket value)

public SupervisedTuningDatasetDistribution.Builder setBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket value)

Output only. Defines the histogram bucket.

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

Parameters
Name Description
index int
value SupervisedTuningDatasetDistribution.DatasetBucket
Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

setBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket.Builder builderForValue)

public SupervisedTuningDatasetDistribution.Builder setBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket.Builder builderForValue)

Output only. Defines the histogram bucket.

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

Parameters
Name Description
index int
builderForValue SupervisedTuningDatasetDistribution.DatasetBucket.Builder
Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMax(double value)

public SupervisedTuningDatasetDistribution.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
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

setMean(double value)

public SupervisedTuningDatasetDistribution.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
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

setMedian(double value)

public SupervisedTuningDatasetDistribution.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
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

setMin(double value)

public SupervisedTuningDatasetDistribution.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
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

setP5(double value)

public SupervisedTuningDatasetDistribution.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
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

setP95(double value)

public SupervisedTuningDatasetDistribution.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
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

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

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

setSum(long value)

public SupervisedTuningDatasetDistribution.Builder setSum(long value)

Output only. Sum of a given population of values.

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

Parameter
Name Description
value long

The sum to set.

Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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