Class Model.DataStats.Builder (3.45.0)

public static final class Model.DataStats.Builder extends GeneratedMessageV3.Builder<Model.DataStats.Builder> implements Model.DataStatsOrBuilder

Stats of data used for train or evaluate the Model.

Protobuf type google.cloud.aiplatform.v1.Model.DataStats

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Model.DataStats build()
Returns
Type Description
Model.DataStats

buildPartial()

public Model.DataStats buildPartial()
Returns
Type Description
Model.DataStats

clear()

public Model.DataStats.Builder clear()
Returns
Type Description
Model.DataStats.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Model.DataStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Model.DataStats.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Model.DataStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Model.DataStats.Builder
Overrides

clearTestAnnotationsCount()

public Model.DataStats.Builder clearTestAnnotationsCount()

Number of Annotations that are used for evaluating this Model. If the Model is evaluated multiple times, this will be the number of test Annotations used by the first evaluation. If the Model is not evaluated, the number is 0.

int64 test_annotations_count = 6;

Returns
Type Description
Model.DataStats.Builder

This builder for chaining.

clearTestDataItemsCount()

public Model.DataStats.Builder clearTestDataItemsCount()

Number of DataItems that were used for evaluating this Model. If the Model is evaluated multiple times, this will be the number of test DataItems used by the first evaluation. If the Model is not evaluated, the number is 0.

int64 test_data_items_count = 3;

Returns
Type Description
Model.DataStats.Builder

This builder for chaining.

clearTrainingAnnotationsCount()

public Model.DataStats.Builder clearTrainingAnnotationsCount()

Number of Annotations that are used for training this Model.

int64 training_annotations_count = 4;

Returns
Type Description
Model.DataStats.Builder

This builder for chaining.

clearTrainingDataItemsCount()

public Model.DataStats.Builder clearTrainingDataItemsCount()

Number of DataItems that were used for training this Model.

int64 training_data_items_count = 1;

Returns
Type Description
Model.DataStats.Builder

This builder for chaining.

clearValidationAnnotationsCount()

public Model.DataStats.Builder clearValidationAnnotationsCount()

Number of Annotations that are used for validating this Model during training.

int64 validation_annotations_count = 5;

Returns
Type Description
Model.DataStats.Builder

This builder for chaining.

clearValidationDataItemsCount()

public Model.DataStats.Builder clearValidationDataItemsCount()

Number of DataItems that were used for validating this Model during training.

int64 validation_data_items_count = 2;

Returns
Type Description
Model.DataStats.Builder

This builder for chaining.

clone()

public Model.DataStats.Builder clone()
Returns
Type Description
Model.DataStats.Builder
Overrides

getDefaultInstanceForType()

public Model.DataStats getDefaultInstanceForType()
Returns
Type Description
Model.DataStats

getDescriptorForType()

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

getTestAnnotationsCount()

public long getTestAnnotationsCount()

Number of Annotations that are used for evaluating this Model. If the Model is evaluated multiple times, this will be the number of test Annotations used by the first evaluation. If the Model is not evaluated, the number is 0.

int64 test_annotations_count = 6;

Returns
Type Description
long

The testAnnotationsCount.

getTestDataItemsCount()

public long getTestDataItemsCount()

Number of DataItems that were used for evaluating this Model. If the Model is evaluated multiple times, this will be the number of test DataItems used by the first evaluation. If the Model is not evaluated, the number is 0.

int64 test_data_items_count = 3;

Returns
Type Description
long

The testDataItemsCount.

getTrainingAnnotationsCount()

public long getTrainingAnnotationsCount()

Number of Annotations that are used for training this Model.

int64 training_annotations_count = 4;

Returns
Type Description
long

The trainingAnnotationsCount.

getTrainingDataItemsCount()

public long getTrainingDataItemsCount()

Number of DataItems that were used for training this Model.

int64 training_data_items_count = 1;

Returns
Type Description
long

The trainingDataItemsCount.

getValidationAnnotationsCount()

public long getValidationAnnotationsCount()

Number of Annotations that are used for validating this Model during training.

int64 validation_annotations_count = 5;

Returns
Type Description
long

The validationAnnotationsCount.

getValidationDataItemsCount()

public long getValidationDataItemsCount()

Number of DataItems that were used for validating this Model during training.

int64 validation_data_items_count = 2;

Returns
Type Description
long

The validationDataItemsCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Model.DataStats other)

public Model.DataStats.Builder mergeFrom(Model.DataStats other)
Parameter
Name Description
other Model.DataStats
Returns
Type Description
Model.DataStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Model.DataStats.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Model.DataStats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Model.DataStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Model.DataStats.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTestAnnotationsCount(long value)

public Model.DataStats.Builder setTestAnnotationsCount(long value)

Number of Annotations that are used for evaluating this Model. If the Model is evaluated multiple times, this will be the number of test Annotations used by the first evaluation. If the Model is not evaluated, the number is 0.

int64 test_annotations_count = 6;

Parameter
Name Description
value long

The testAnnotationsCount to set.

Returns
Type Description
Model.DataStats.Builder

This builder for chaining.

setTestDataItemsCount(long value)

public Model.DataStats.Builder setTestDataItemsCount(long value)

Number of DataItems that were used for evaluating this Model. If the Model is evaluated multiple times, this will be the number of test DataItems used by the first evaluation. If the Model is not evaluated, the number is 0.

int64 test_data_items_count = 3;

Parameter
Name Description
value long

The testDataItemsCount to set.

Returns
Type Description
Model.DataStats.Builder

This builder for chaining.

setTrainingAnnotationsCount(long value)

public Model.DataStats.Builder setTrainingAnnotationsCount(long value)

Number of Annotations that are used for training this Model.

int64 training_annotations_count = 4;

Parameter
Name Description
value long

The trainingAnnotationsCount to set.

Returns
Type Description
Model.DataStats.Builder

This builder for chaining.

setTrainingDataItemsCount(long value)

public Model.DataStats.Builder setTrainingDataItemsCount(long value)

Number of DataItems that were used for training this Model.

int64 training_data_items_count = 1;

Parameter
Name Description
value long

The trainingDataItemsCount to set.

Returns
Type Description
Model.DataStats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Model.DataStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Model.DataStats.Builder
Overrides

setValidationAnnotationsCount(long value)

public Model.DataStats.Builder setValidationAnnotationsCount(long value)

Number of Annotations that are used for validating this Model during training.

int64 validation_annotations_count = 5;

Parameter
Name Description
value long

The validationAnnotationsCount to set.

Returns
Type Description
Model.DataStats.Builder

This builder for chaining.

setValidationDataItemsCount(long value)

public Model.DataStats.Builder setValidationDataItemsCount(long value)

Number of DataItems that were used for validating this Model during training.

int64 validation_data_items_count = 2;

Parameter
Name Description
value long

The validationDataItemsCount to set.

Returns
Type Description
Model.DataStats.Builder

This builder for chaining.