Class SupervisedTuningDatasetDistribution.DatasetBucket.Builder (3.44.0)

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

Dataset bucket used to create a histogram for the distribution given a population of values.

Protobuf type google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SupervisedTuningDatasetDistribution.DatasetBucket.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SupervisedTuningDatasetDistribution.DatasetBucket build()
Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket

buildPartial()

public SupervisedTuningDatasetDistribution.DatasetBucket buildPartial()
Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket

clear()

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

clearCount()

public SupervisedTuningDatasetDistribution.DatasetBucket.Builder clearCount()

Output only. Number of values in the bucket.

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

Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLeft()

public SupervisedTuningDatasetDistribution.DatasetBucket.Builder clearLeft()

Output only. Left bound of the bucket.

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

Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRight()

public SupervisedTuningDatasetDistribution.DatasetBucket.Builder clearRight()

Output only. Right bound of the bucket.

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

Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket.Builder

This builder for chaining.

clone()

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

getCount()

public double getCount()

Output only. Number of values in the bucket.

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

Returns
Type Description
double

The count.

getDefaultInstanceForType()

public SupervisedTuningDatasetDistribution.DatasetBucket getDefaultInstanceForType()
Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket

getDescriptorForType()

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

getLeft()

public double getLeft()

Output only. Left bound of the bucket.

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

Returns
Type Description
double

The left.

getRight()

public double getRight()

Output only. Right bound of the bucket.

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

Returns
Type Description
double

The right.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SupervisedTuningDatasetDistribution.DatasetBucket other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCount(double value)

public SupervisedTuningDatasetDistribution.DatasetBucket.Builder setCount(double value)

Output only. Number of values in the bucket.

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

Parameter
Name Description
value double

The count to set.

Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLeft(double value)

public SupervisedTuningDatasetDistribution.DatasetBucket.Builder setLeft(double value)

Output only. Left bound of the bucket.

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

Parameter
Name Description
value double

The left to set.

Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket.Builder

This builder for chaining.

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

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

setRight(double value)

public SupervisedTuningDatasetDistribution.DatasetBucket.Builder setRight(double value)

Output only. Right bound of the bucket.

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

Parameter
Name Description
value double

The right to set.

Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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