Class DatasetDistribution.DistributionBucket.Builder (3.88.0)

public static final class DatasetDistribution.DistributionBucket.Builder extends GeneratedMessage.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

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.

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.

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.

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 GeneratedMessage.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

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.

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.

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.