Class DatasetDistribution.DistributionBucket.Builder (3.53.0)

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

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

Protobuf type google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DatasetDistribution.DistributionBucket build()
Returns
Type Description
DatasetDistribution.DistributionBucket

buildPartial()

public DatasetDistribution.DistributionBucket buildPartial()
Returns
Type Description
DatasetDistribution.DistributionBucket

clear()

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

clearCount()

public DatasetDistribution.DistributionBucket.Builder clearCount()

Output only. Number of values in the bucket.

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

Returns
Type Description
DatasetDistribution.DistributionBucket.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLeft()

public DatasetDistribution.DistributionBucket.Builder clearLeft()

Output only. Left bound of the bucket.

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

Returns
Type Description
DatasetDistribution.DistributionBucket.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRight()

public DatasetDistribution.DistributionBucket.Builder clearRight()

Output only. Right bound of the bucket.

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

Returns
Type Description
DatasetDistribution.DistributionBucket.Builder

This builder for chaining.

clone()

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

getCount()

public long getCount()

Output only. Number of values in the bucket.

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

Returns
Type Description
long

The count.

getDefaultInstanceForType()

public DatasetDistribution.DistributionBucket getDefaultInstanceForType()
Returns
Type Description
DatasetDistribution.DistributionBucket

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(DatasetDistribution.DistributionBucket other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCount(long value)

public DatasetDistribution.DistributionBucket.Builder setCount(long value)

Output only. Number of values in the bucket.

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

Parameter
Name Description
value long

The count to set.

Returns
Type Description
DatasetDistribution.DistributionBucket.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLeft(double value)

public DatasetDistribution.DistributionBucket.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
DatasetDistribution.DistributionBucket.Builder

This builder for chaining.

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

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

setRight(double value)

public DatasetDistribution.DistributionBucket.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
DatasetDistribution.DistributionBucket.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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