<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/privacy/dlp/v2beta1/dlp.proto

namespace Google\Cloud\Dlp\V2beta1;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Result of the numerical stats computation.
 *
 * Generated from protobuf message <code>google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult</code>
 */
class RiskAnalysisOperationResult_NumericalStatsResult extends \Google\Protobuf\Internal\Message
{
    /**
     * Minimum value appearing in the column.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
     */
    private $min_value = null;
    /**
     * Maximum value appearing in the column.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
     */
    private $max_value = null;
    /**
     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     *
     * Generated from protobuf field <code>repeated .google.privacy.dlp.v2beta1.Value quantile_values = 4;</code>
     */
    private $quantile_values;

    public function __construct() {
        \GPBMetadata\Google\Privacy\Dlp\V2Beta1\Dlp::initOnce();
        parent::__construct();
    }

    /**
     * Minimum value appearing in the column.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
     * @return \Google\Cloud\Dlp\V2beta1\Value
     */
    public function getMinValue()
    {
        return $this->min_value;
    }

    /**
     * Minimum value appearing in the column.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
     * @param \Google\Cloud\Dlp\V2beta1\Value $var
     * @return $this
     */
    public function setMinValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2beta1\Value::class);
        $this->min_value = $var;

        return $this;
    }

    /**
     * Maximum value appearing in the column.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
     * @return \Google\Cloud\Dlp\V2beta1\Value
     */
    public function getMaxValue()
    {
        return $this->max_value;
    }

    /**
     * Maximum value appearing in the column.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
     * @param \Google\Cloud\Dlp\V2beta1\Value $var
     * @return $this
     */
    public function setMaxValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2beta1\Value::class);
        $this->max_value = $var;

        return $this;
    }

    /**
     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     *
     * Generated from protobuf field <code>repeated .google.privacy.dlp.v2beta1.Value quantile_values = 4;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getQuantileValues()
    {
        return $this->quantile_values;
    }

    /**
     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     *
     * Generated from protobuf field <code>repeated .google.privacy.dlp.v2beta1.Value quantile_values = 4;</code>
     * @param \Google\Cloud\Dlp\V2beta1\Value[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setQuantileValues($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2beta1\Value::class);
        $this->quantile_values = $arr;

        return $this;
    }

}

