<?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;

/**
 * Additional configuration for inspect long running operations.
 *
 * Generated from protobuf message <code>google.privacy.dlp.v2beta1.OperationConfig</code>
 */
class OperationConfig extends \Google\Protobuf\Internal\Message
{
    /**
     * Max number of findings per file, Datastore entity, or database row.
     *
     * Generated from protobuf field <code>int64 max_item_findings = 1;</code>
     */
    private $max_item_findings = 0;

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

    /**
     * Max number of findings per file, Datastore entity, or database row.
     *
     * Generated from protobuf field <code>int64 max_item_findings = 1;</code>
     * @return int|string
     */
    public function getMaxItemFindings()
    {
        return $this->max_item_findings;
    }

    /**
     * Max number of findings per file, Datastore entity, or database row.
     *
     * Generated from protobuf field <code>int64 max_item_findings = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setMaxItemFindings($var)
    {
        GPBUtil::checkInt64($var);
        $this->max_item_findings = $var;

        return $this;
    }

}

