Class Float64Stats.Builder

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

public static final class Float64Stats.Builder extends com.google.protobuf.GeneratedMessage.Builder<Float64Stats.Builder> implements Float64StatsOrBuilder
 The data statistics of a series of FLOAT64 values.
 
Protobuf type google.cloud.automl.v1beta1.Float64Stats
  • 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<Float64Stats.Builder>
    • clear

      public Float64Stats.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<Float64Stats.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<Float64Stats.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Float64Stats.Builder mergeFrom(Float64Stats other)
    • isInitialized

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

      public Float64Stats.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<Float64Stats.Builder>
      Throws:
      IOException
    • getMean

      public double getMean()
       The mean of the series.
       
      double mean = 1;
      Specified by:
      getMean in interface Float64StatsOrBuilder
      Returns:
      The mean.
    • setMean

      public Float64Stats.Builder setMean(double value)
       The mean of the series.
       
      double mean = 1;
      Parameters:
      value - The mean to set.
      Returns:
      This builder for chaining.
    • clearMean

      public Float64Stats.Builder clearMean()
       The mean of the series.
       
      double mean = 1;
      Returns:
      This builder for chaining.
    • getStandardDeviation

      public double getStandardDeviation()
       The standard deviation of the series.
       
      double standard_deviation = 2;
      Specified by:
      getStandardDeviation in interface Float64StatsOrBuilder
      Returns:
      The standardDeviation.
    • setStandardDeviation

      public Float64Stats.Builder setStandardDeviation(double value)
       The standard deviation of the series.
       
      double standard_deviation = 2;
      Parameters:
      value - The standardDeviation to set.
      Returns:
      This builder for chaining.
    • clearStandardDeviation

      public Float64Stats.Builder clearStandardDeviation()
       The standard deviation of the series.
       
      double standard_deviation = 2;
      Returns:
      This builder for chaining.
    • getQuantilesList

      public List<Double> getQuantilesList()
       Ordered from 0 to k k-quantile values of the data series of n values.
       The value at index i is, approximately, the i*n/k-th smallest value in the
       series; for i = 0 and i = k these are, respectively, the min and max
       values.
       
      repeated double quantiles = 3;
      Specified by:
      getQuantilesList in interface Float64StatsOrBuilder
      Returns:
      A list containing the quantiles.
    • getQuantilesCount

      public int getQuantilesCount()
       Ordered from 0 to k k-quantile values of the data series of n values.
       The value at index i is, approximately, the i*n/k-th smallest value in the
       series; for i = 0 and i = k these are, respectively, the min and max
       values.
       
      repeated double quantiles = 3;
      Specified by:
      getQuantilesCount in interface Float64StatsOrBuilder
      Returns:
      The count of quantiles.
    • getQuantiles

      public double getQuantiles(int index)
       Ordered from 0 to k k-quantile values of the data series of n values.
       The value at index i is, approximately, the i*n/k-th smallest value in the
       series; for i = 0 and i = k these are, respectively, the min and max
       values.
       
      repeated double quantiles = 3;
      Specified by:
      getQuantiles in interface Float64StatsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The quantiles at the given index.
    • setQuantiles

      public Float64Stats.Builder setQuantiles(int index, double value)
       Ordered from 0 to k k-quantile values of the data series of n values.
       The value at index i is, approximately, the i*n/k-th smallest value in the
       series; for i = 0 and i = k these are, respectively, the min and max
       values.
       
      repeated double quantiles = 3;
      Parameters:
      index - The index to set the value at.
      value - The quantiles to set.
      Returns:
      This builder for chaining.
    • addQuantiles

      public Float64Stats.Builder addQuantiles(double value)
       Ordered from 0 to k k-quantile values of the data series of n values.
       The value at index i is, approximately, the i*n/k-th smallest value in the
       series; for i = 0 and i = k these are, respectively, the min and max
       values.
       
      repeated double quantiles = 3;
      Parameters:
      value - The quantiles to add.
      Returns:
      This builder for chaining.
    • addAllQuantiles

      public Float64Stats.Builder addAllQuantiles(Iterable<? extends Double> values)
       Ordered from 0 to k k-quantile values of the data series of n values.
       The value at index i is, approximately, the i*n/k-th smallest value in the
       series; for i = 0 and i = k these are, respectively, the min and max
       values.
       
      repeated double quantiles = 3;
      Parameters:
      values - The quantiles to add.
      Returns:
      This builder for chaining.
    • clearQuantiles

      public Float64Stats.Builder clearQuantiles()
       Ordered from 0 to k k-quantile values of the data series of n values.
       The value at index i is, approximately, the i*n/k-th smallest value in the
       series; for i = 0 and i = k these are, respectively, the min and max
       values.
       
      repeated double quantiles = 3;
      Returns:
      This builder for chaining.
    • getHistogramBucketsList

      public List<Float64Stats.HistogramBucket> getHistogramBucketsList()
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
      Specified by:
      getHistogramBucketsList in interface Float64StatsOrBuilder
    • getHistogramBucketsCount

      public int getHistogramBucketsCount()
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
      Specified by:
      getHistogramBucketsCount in interface Float64StatsOrBuilder
    • getHistogramBuckets

      public Float64Stats.HistogramBucket getHistogramBuckets(int index)
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
      Specified by:
      getHistogramBuckets in interface Float64StatsOrBuilder
    • setHistogramBuckets

      public Float64Stats.Builder setHistogramBuckets(int index, Float64Stats.HistogramBucket value)
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
    • setHistogramBuckets

      public Float64Stats.Builder setHistogramBuckets(int index, Float64Stats.HistogramBucket.Builder builderForValue)
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
    • addHistogramBuckets

      public Float64Stats.Builder addHistogramBuckets(Float64Stats.HistogramBucket value)
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
    • addHistogramBuckets

      public Float64Stats.Builder addHistogramBuckets(int index, Float64Stats.HistogramBucket value)
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
    • addHistogramBuckets

      public Float64Stats.Builder addHistogramBuckets(Float64Stats.HistogramBucket.Builder builderForValue)
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
    • addHistogramBuckets

      public Float64Stats.Builder addHistogramBuckets(int index, Float64Stats.HistogramBucket.Builder builderForValue)
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
    • addAllHistogramBuckets

      public Float64Stats.Builder addAllHistogramBuckets(Iterable<? extends Float64Stats.HistogramBucket> values)
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
    • clearHistogramBuckets

      public Float64Stats.Builder clearHistogramBuckets()
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
    • removeHistogramBuckets

      public Float64Stats.Builder removeHistogramBuckets(int index)
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
    • getHistogramBucketsBuilder

      public Float64Stats.HistogramBucket.Builder getHistogramBucketsBuilder(int index)
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
    • getHistogramBucketsOrBuilder

      public Float64Stats.HistogramBucketOrBuilder getHistogramBucketsOrBuilder(int index)
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
      Specified by:
      getHistogramBucketsOrBuilder in interface Float64StatsOrBuilder
    • getHistogramBucketsOrBuilderList

      public List<? extends Float64Stats.HistogramBucketOrBuilder> getHistogramBucketsOrBuilderList()
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
      Specified by:
      getHistogramBucketsOrBuilderList in interface Float64StatsOrBuilder
    • addHistogramBucketsBuilder

      public Float64Stats.HistogramBucket.Builder addHistogramBucketsBuilder()
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
    • addHistogramBucketsBuilder

      public Float64Stats.HistogramBucket.Builder addHistogramBucketsBuilder(int index)
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;
    • getHistogramBucketsBuilderList

      public List<Float64Stats.HistogramBucket.Builder> getHistogramBucketsBuilderList()
       Histogram buckets of the data series. Sorted by the min value of the
       bucket, ascendingly, and the number of the buckets is dynamically
       generated. The buckets are non-overlapping and completely cover whole
       FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
       the last one being `"Infinity"`.
       
      repeated .google.cloud.automl.v1beta1.Float64Stats.HistogramBucket histogram_buckets = 4;