Class DatasetDistribution.Builder

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

public static final class DatasetDistribution.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatasetDistribution.Builder> implements DatasetDistributionOrBuilder
 Distribution computed over a tuning dataset.
 
Protobuf type google.cloud.aiplatform.v1beta1.DatasetDistribution
  • 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<DatasetDistribution.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<DatasetDistribution.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<DatasetDistribution.Builder>
    • getDefaultInstanceForType

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

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

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

      public DatasetDistribution.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<DatasetDistribution.Builder>
    • mergeFrom

    • isInitialized

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

      public DatasetDistribution.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<DatasetDistribution.Builder>
      Throws:
      IOException
    • getSum

      public double getSum()
       Output only. Sum of a given population of values.
       
      double sum = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSum in interface DatasetDistributionOrBuilder
      Returns:
      The sum.
    • setSum

      public DatasetDistribution.Builder setSum(double value)
       Output only. Sum of a given population of values.
       
      double sum = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The sum to set.
      Returns:
      This builder for chaining.
    • clearSum

      public DatasetDistribution.Builder clearSum()
       Output only. Sum of a given population of values.
       
      double sum = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getMin

      public double getMin()
       Output only. The minimum of the population values.
       
      double min = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMin in interface DatasetDistributionOrBuilder
      Returns:
      The min.
    • setMin

      public DatasetDistribution.Builder setMin(double value)
       Output only. The minimum of the population values.
       
      double min = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The min to set.
      Returns:
      This builder for chaining.
    • clearMin

      public DatasetDistribution.Builder clearMin()
       Output only. The minimum of the population values.
       
      double min = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getMax

      public double getMax()
       Output only. The maximum of the population values.
       
      double max = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMax in interface DatasetDistributionOrBuilder
      Returns:
      The max.
    • setMax

      public DatasetDistribution.Builder setMax(double value)
       Output only. The maximum of the population values.
       
      double max = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The max to set.
      Returns:
      This builder for chaining.
    • clearMax

      public DatasetDistribution.Builder clearMax()
       Output only. The maximum of the population values.
       
      double max = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getMean

      public double getMean()
       Output only. The arithmetic mean of the values in the population.
       
      double mean = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMean in interface DatasetDistributionOrBuilder
      Returns:
      The mean.
    • setMean

      public DatasetDistribution.Builder setMean(double value)
       Output only. The arithmetic mean of the values in the population.
       
      double mean = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The mean to set.
      Returns:
      This builder for chaining.
    • clearMean

      public DatasetDistribution.Builder clearMean()
       Output only. The arithmetic mean of the values in the population.
       
      double mean = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getMedian

      public double getMedian()
       Output only. The median of the values in the population.
       
      double median = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMedian in interface DatasetDistributionOrBuilder
      Returns:
      The median.
    • setMedian

      public DatasetDistribution.Builder setMedian(double value)
       Output only. The median of the values in the population.
       
      double median = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The median to set.
      Returns:
      This builder for chaining.
    • clearMedian

      public DatasetDistribution.Builder clearMedian()
       Output only. The median of the values in the population.
       
      double median = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getP5

      public double getP5()
       Output only. The 5th percentile of the values in the population.
       
      double p5 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getP5 in interface DatasetDistributionOrBuilder
      Returns:
      The p5.
    • setP5

      public DatasetDistribution.Builder setP5(double value)
       Output only. The 5th percentile of the values in the population.
       
      double p5 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The p5 to set.
      Returns:
      This builder for chaining.
    • clearP5

      public DatasetDistribution.Builder clearP5()
       Output only. The 5th percentile of the values in the population.
       
      double p5 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getP95

      public double getP95()
       Output only. The 95th percentile of the values in the population.
       
      double p95 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getP95 in interface DatasetDistributionOrBuilder
      Returns:
      The p95.
    • setP95

      public DatasetDistribution.Builder setP95(double value)
       Output only. The 95th percentile of the values in the population.
       
      double p95 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The p95 to set.
      Returns:
      This builder for chaining.
    • clearP95

      public DatasetDistribution.Builder clearP95()
       Output only. The 95th percentile of the values in the population.
       
      double p95 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getBucketsList in interface DatasetDistributionOrBuilder
    • 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];
      Specified by:
      getBucketsCount in interface DatasetDistributionOrBuilder
    • getBuckets

      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];
      Specified by:
      getBuckets in interface DatasetDistributionOrBuilder
    • setBuckets

       Output only. Defines the histogram bucket.
       
      repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setBuckets

      public DatasetDistribution.Builder setBuckets(int index, DatasetDistribution.DistributionBucket.Builder builderForValue)
       Output only. Defines the histogram bucket.
       
      repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addBuckets

       Output only. Defines the histogram bucket.
       
      repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addBuckets

       Output only. Defines the histogram bucket.
       
      repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addBuckets

       Output only. Defines the histogram bucket.
       
      repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addBuckets

      public DatasetDistribution.Builder addBuckets(int index, DatasetDistribution.DistributionBucket.Builder builderForValue)
       Output only. Defines the histogram bucket.
       
      repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllBuckets

       Output only. Defines the histogram bucket.
       
      repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearBuckets

      public DatasetDistribution.Builder clearBuckets()
       Output only. Defines the histogram bucket.
       
      repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeBuckets

      public DatasetDistribution.Builder removeBuckets(int index)
       Output only. Defines the histogram bucket.
       
      repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBucketsBuilder

      public DatasetDistribution.DistributionBucket.Builder getBucketsBuilder(int index)
       Output only. Defines the histogram bucket.
       
      repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBucketsOrBuilder

      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];
      Specified by:
      getBucketsOrBuilder in interface DatasetDistributionOrBuilder
    • 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];
      Specified by:
      getBucketsOrBuilderList in interface DatasetDistributionOrBuilder
    • addBucketsBuilder

       Output only. Defines the histogram bucket.
       
      repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addBucketsBuilder

      public DatasetDistribution.DistributionBucket.Builder addBucketsBuilder(int index)
       Output only. Defines the histogram bucket.
       
      repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBucketsBuilderList

      public List<DatasetDistribution.DistributionBucket.Builder> getBucketsBuilderList()
       Output only. Defines the histogram bucket.
       
      repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];