Class 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.GeneratedMessageV3.Builder<Float64Stats.Builder>
    implements Float64StatsOrBuilder
     The data statistics of a series of FLOAT64 values.
     
    Protobuf type google.cloud.automl.v1beta1.Float64Stats
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public Float64Stats.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Float64Stats.Builder>
      • setField

        public Float64Stats.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Float64Stats.Builder>
      • clearField

        public Float64Stats.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Float64Stats.Builder>
      • clearOneof

        public Float64Stats.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Float64Stats.Builder>
      • setRepeatedField

        public Float64Stats.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     int index,
                                                     Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Float64Stats.Builder>
      • addRepeatedField

        public Float64Stats.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Float64Stats.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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;
      • setUnknownFields

        public final Float64Stats.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Float64Stats.Builder>
      • mergeUnknownFields

        public final Float64Stats.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Float64Stats.Builder>