Class Model.DataStats.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Model.DataStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Model.DataStats.Builder
Overrides

build()

public Model.DataStats build()
Returns
TypeDescription
Model.DataStats

buildPartial()

public Model.DataStats buildPartial()
Returns
TypeDescription
Model.DataStats

clear()

public Model.DataStats.Builder clear()
Returns
TypeDescription
Model.DataStats.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Model.DataStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Model.DataStats.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Model.DataStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Model.DataStats.Builder

This builder for chaining.

clone()

public Model.DataStats.Builder clone()
Returns
TypeDescription
Model.DataStats.Builder
Overrides

getDefaultInstanceForType()

public Model.DataStats getDefaultInstanceForType()
Returns
TypeDescription
Model.DataStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
long

The testDataItemsCount.

getTrainingAnnotationsCount()

public long getTrainingAnnotationsCount()

Number of Annotations that are used for training this Model.

int64 training_annotations_count = 4;

Returns
TypeDescription
long

The trainingAnnotationsCount.

getTrainingDataItemsCount()

public long getTrainingDataItemsCount()

Number of DataItems that were used for training this Model.

int64 training_data_items_count = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
long

The validationDataItemsCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Model.DataStats other)

public Model.DataStats.Builder mergeFrom(Model.DataStats other)
Parameter
NameDescription
otherModel.DataStats
Returns
TypeDescription
Model.DataStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Model.DataStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Model.DataStats.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Model.DataStats.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Model.DataStats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Model.DataStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Model.DataStats.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Model.DataStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The testAnnotationsCount to set.

Returns
TypeDescription
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
NameDescription
valuelong

The testDataItemsCount to set.

Returns
TypeDescription
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
NameDescription
valuelong

The trainingAnnotationsCount to set.

Returns
TypeDescription
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
NameDescription
valuelong

The trainingDataItemsCount to set.

Returns
TypeDescription
Model.DataStats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Model.DataStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The validationAnnotationsCount to set.

Returns
TypeDescription
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
NameDescription
valuelong

The validationDataItemsCount to set.

Returns
TypeDescription
Model.DataStats.Builder

This builder for chaining.