Class SupervisedTuningDatasetDistribution (3.46.0)

public final class SupervisedTuningDatasetDistribution extends GeneratedMessageV3 implements SupervisedTuningDatasetDistributionOrBuilder

Dataset distribution for Supervised Tuning.

Protobuf type google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SupervisedTuningDatasetDistribution

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 SupervisedTuningDatasetDistribution getDefaultInstance()
Returns
Type Description
SupervisedTuningDatasetDistribution

getDescriptor()

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

newBuilder()

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

newBuilder(SupervisedTuningDatasetDistribution prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBuckets(int index)

public SupervisedTuningDatasetDistribution.DatasetBucket getBuckets(int index)

Output only. Defines the histogram bucket.

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

Parameter
Name Description
index int
Returns
Type Description
SupervisedTuningDatasetDistribution.DatasetBucket

getBucketsCount()

public int getBucketsCount()

Output only. Defines the histogram bucket.

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

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

getDefaultInstanceForType()

public SupervisedTuningDatasetDistribution getDefaultInstanceForType()
Returns
Type Description
SupervisedTuningDatasetDistribution

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<SupervisedTuningDatasetDistribution> getParserForType()
Returns
Type Description
Parser<SupervisedTuningDatasetDistribution>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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 SupervisedTuningDatasetDistribution.Builder newBuilderForType()
Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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