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

namespace Google\Cloud\Dlp\V2;

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

/**
 * Summary statistics of a custom dictionary.
 *
 * Generated from protobuf message <code>google.privacy.dlp.v2.LargeCustomDictionaryStats</code>
 */
class LargeCustomDictionaryStats extends \Google\Protobuf\Internal\Message
{
    /**
     * Approximate number of distinct phrases in the dictionary.
     *
     * Generated from protobuf field <code>int64 approx_num_phrases = 1;</code>
     */
    private $approx_num_phrases = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $approx_num_phrases
     *           Approximate number of distinct phrases in the dictionary.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce();
        parent::__construct($data);
    }

    /**
     * Approximate number of distinct phrases in the dictionary.
     *
     * Generated from protobuf field <code>int64 approx_num_phrases = 1;</code>
     * @return int|string
     */
    public function getApproxNumPhrases()
    {
        return $this->approx_num_phrases;
    }

    /**
     * Approximate number of distinct phrases in the dictionary.
     *
     * Generated from protobuf field <code>int64 approx_num_phrases = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setApproxNumPhrases($var)
    {
        GPBUtil::checkInt64($var);
        $this->approx_num_phrases = $var;

        return $this;
    }

}

