Class Float64Stats

  • All Implemented Interfaces:
    Float64StatsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Float64Stats
    extends com.google.protobuf.GeneratedMessageV3
    implements Float64StatsOrBuilder
     The data statistics of a series of FLOAT64 values.
     
    Protobuf type google.cloud.automl.v1beta1.Float64Stats
    See Also:
    Serialized Form
    • Field Detail

      • STANDARD_DEVIATION_FIELD_NUMBER

        public static final int STANDARD_DEVIATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HISTOGRAM_BUCKETS_FIELD_NUMBER

        public static final int HISTOGRAM_BUCKETS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getMean

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

        public double getStandardDeviation()
         The standard deviation of the series.
         
        double standard_deviation = 2;
        Specified by:
        getStandardDeviation in interface Float64StatsOrBuilder
        Returns:
        The standardDeviation.
      • 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.
      • 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
      • 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
      • 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
      • 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Float64Stats parseFrom​(ByteBuffer data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Float64Stats parseFrom​(ByteBuffer data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Float64Stats parseFrom​(com.google.protobuf.ByteString data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Float64Stats parseFrom​(com.google.protobuf.ByteString data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Float64Stats parseFrom​(byte[] data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Float64Stats parseFrom​(byte[] data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Float64Stats parseFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected Float64Stats.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Float64Stats getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Float64Stats> parser()
      • getParserForType

        public com.google.protobuf.Parser<Float64Stats> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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