Class Model.DataStats.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Model.DataStats.Builder>
com.google.cloud.aiplatform.v1.Model.DataStats.Builder
All Implemented Interfaces:
Model.DataStatsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Model.DataStats

public static final class Model.DataStats.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Model.DataStats.Builder>
    • clear

      public Model.DataStats.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Model.DataStats.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Model.DataStats.Builder>
    • getDefaultInstanceForType

      public Model.DataStats getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Model.DataStats build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Model.DataStats buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Model.DataStats.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Model.DataStats.Builder>
    • mergeFrom

      public Model.DataStats.Builder mergeFrom(Model.DataStats other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Model.DataStats.Builder>
    • mergeFrom

      public Model.DataStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Model.DataStats.Builder>
      Throws:
      IOException
    • getTrainingDataItemsCount

      public long getTrainingDataItemsCount()
       Number of DataItems that were used for training this Model.
       
      int64 training_data_items_count = 1;
      Specified by:
      getTrainingDataItemsCount in interface Model.DataStatsOrBuilder
      Returns:
      The trainingDataItemsCount.
    • setTrainingDataItemsCount

      public Model.DataStats.Builder setTrainingDataItemsCount(long value)
       Number of DataItems that were used for training this Model.
       
      int64 training_data_items_count = 1;
      Parameters:
      value - The trainingDataItemsCount to set.
      Returns:
      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:
      This builder for chaining.
    • getValidationDataItemsCount

      public long getValidationDataItemsCount()
       Number of DataItems that were used for validating this Model during
       training.
       
      int64 validation_data_items_count = 2;
      Specified by:
      getValidationDataItemsCount in interface Model.DataStatsOrBuilder
      Returns:
      The validationDataItemsCount.
    • setValidationDataItemsCount

      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;
      Parameters:
      value - The validationDataItemsCount to set.
      Returns:
      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:
      This builder for chaining.
    • 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;
      Specified by:
      getTestDataItemsCount in interface Model.DataStatsOrBuilder
      Returns:
      The testDataItemsCount.
    • setTestDataItemsCount

      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;
      Parameters:
      value - The testDataItemsCount to set.
      Returns:
      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:
      This builder for chaining.
    • getTrainingAnnotationsCount

      public long getTrainingAnnotationsCount()
       Number of Annotations that are used for training this Model.
       
      int64 training_annotations_count = 4;
      Specified by:
      getTrainingAnnotationsCount in interface Model.DataStatsOrBuilder
      Returns:
      The trainingAnnotationsCount.
    • setTrainingAnnotationsCount

      public Model.DataStats.Builder setTrainingAnnotationsCount(long value)
       Number of Annotations that are used for training this Model.
       
      int64 training_annotations_count = 4;
      Parameters:
      value - The trainingAnnotationsCount to set.
      Returns:
      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:
      This builder for chaining.
    • getValidationAnnotationsCount

      public long getValidationAnnotationsCount()
       Number of Annotations that are used for validating this Model during
       training.
       
      int64 validation_annotations_count = 5;
      Specified by:
      getValidationAnnotationsCount in interface Model.DataStatsOrBuilder
      Returns:
      The validationAnnotationsCount.
    • setValidationAnnotationsCount

      public Model.DataStats.Builder setValidationAnnotationsCount(long value)
       Number of Annotations that are used for validating this Model during
       training.
       
      int64 validation_annotations_count = 5;
      Parameters:
      value - The validationAnnotationsCount to set.
      Returns:
      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:
      This builder for chaining.
    • 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;
      Specified by:
      getTestAnnotationsCount in interface Model.DataStatsOrBuilder
      Returns:
      The testAnnotationsCount.
    • setTestAnnotationsCount

      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;
      Parameters:
      value - The testAnnotationsCount to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.