Class DatasetDistribution (3.56.0)

public final class DatasetDistribution extends GeneratedMessageV3 implements DatasetDistributionOrBuilder

Distribution computed over a tuning dataset.

Protobuf type google.cloud.aiplatform.v1beta1.DatasetDistribution

Static Fields

BUCKETS_FIELD_NUMBER

public static final int BUCKETS_FIELD_NUMBER
Field Value
Type Description
int

MAX_FIELD_NUMBER

public static final int MAX_FIELD_NUMBER
Field Value
Type Description
int

MEAN_FIELD_NUMBER

public static final int MEAN_FIELD_NUMBER
Field Value
Type Description
int

MEDIAN_FIELD_NUMBER

public static final int MEDIAN_FIELD_NUMBER
Field Value
Type Description
int

MIN_FIELD_NUMBER

public static final int MIN_FIELD_NUMBER
Field Value
Type Description
int

P5_FIELD_NUMBER

public static final int P5_FIELD_NUMBER
Field Value
Type Description
int

P95_FIELD_NUMBER

public static final int P95_FIELD_NUMBER
Field Value
Type Description
int

SUM_FIELD_NUMBER

public static final int SUM_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DatasetDistribution getDefaultInstance()
Returns
Type Description
DatasetDistribution

getDescriptor()

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

newBuilder()

public static DatasetDistribution.Builder newBuilder()
Returns
Type Description
DatasetDistribution.Builder

newBuilder(DatasetDistribution prototype)

public static DatasetDistribution.Builder newBuilder(DatasetDistribution prototype)
Parameter
Name Description
prototype DatasetDistribution
Returns
Type Description
DatasetDistribution.Builder

parseDelimitedFrom(InputStream input)

public static DatasetDistribution parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatasetDistribution
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatasetDistribution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetDistribution
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DatasetDistribution parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DatasetDistribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatasetDistribution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetDistribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatasetDistribution parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DatasetDistribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatasetDistribution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetDistribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatasetDistribution parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DatasetDistribution
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatasetDistribution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetDistribution
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DatasetDistribution parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatasetDistribution
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatasetDistribution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetDistribution
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DatasetDistribution parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DatasetDistribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatasetDistribution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetDistribution
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DatasetDistribution> parser()
Returns
Type Description
Parser<DatasetDistribution>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBuckets(int index)

public DatasetDistribution.DistributionBucket getBuckets(int index)

Output only. Defines the histogram bucket.

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

Parameter
Name Description
index int
Returns
Type Description
DatasetDistribution.DistributionBucket

getBucketsCount()

public int getBucketsCount()

Output only. Defines the histogram bucket.

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

Returns
Type Description
int

getBucketsList()

public List<DatasetDistribution.DistributionBucket> getBucketsList()

Output only. Defines the histogram bucket.

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

Returns
Type Description
List<DistributionBucket>

getBucketsOrBuilder(int index)

public DatasetDistribution.DistributionBucketOrBuilder getBucketsOrBuilder(int index)

Output only. Defines the histogram bucket.

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

Parameter
Name Description
index int
Returns
Type Description
DatasetDistribution.DistributionBucketOrBuilder

getBucketsOrBuilderList()

public List<? extends DatasetDistribution.DistributionBucketOrBuilder> getBucketsOrBuilderList()

Output only. Defines the histogram bucket.

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

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucketOrBuilder>

getDefaultInstanceForType()

public DatasetDistribution getDefaultInstanceForType()
Returns
Type Description
DatasetDistribution

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.

getParserForType()

public Parser<DatasetDistribution> getParserForType()
Returns
Type Description
Parser<DatasetDistribution>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSum()

public double getSum()

Output only. Sum of a given population of values.

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

Returns
Type Description
double

The sum.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DatasetDistribution.Builder newBuilderForType()
Returns
Type Description
DatasetDistribution.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatasetDistribution.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DatasetDistribution.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DatasetDistribution.Builder toBuilder()
Returns
Type Description
DatasetDistribution.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException