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

/**
 * Results of de-identifying a ContentItem.
 *
 * Generated from protobuf message <code>google.privacy.dlp.v2.DeidentifyContentResponse</code>
 */
class DeidentifyContentResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * The de-identified item.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.ContentItem item = 1;</code>
     */
    private $item = null;
    /**
     * An overview of the changes that were made on the `item`.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.TransformationOverview overview = 2;</code>
     */
    private $overview = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\Dlp\V2\ContentItem $item
     *           The de-identified item.
     *     @type \Google\Cloud\Dlp\V2\TransformationOverview $overview
     *           An overview of the changes that were made on the `item`.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce();
        parent::__construct($data);
    }

    /**
     * The de-identified item.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.ContentItem item = 1;</code>
     * @return \Google\Cloud\Dlp\V2\ContentItem
     */
    public function getItem()
    {
        return $this->item;
    }

    /**
     * The de-identified item.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.ContentItem item = 1;</code>
     * @param \Google\Cloud\Dlp\V2\ContentItem $var
     * @return $this
     */
    public function setItem($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ContentItem::class);
        $this->item = $var;

        return $this;
    }

    /**
     * An overview of the changes that were made on the `item`.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.TransformationOverview overview = 2;</code>
     * @return \Google\Cloud\Dlp\V2\TransformationOverview
     */
    public function getOverview()
    {
        return $this->overview;
    }

    /**
     * An overview of the changes that were made on the `item`.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.TransformationOverview overview = 2;</code>
     * @param \Google\Cloud\Dlp\V2\TransformationOverview $var
     * @return $this
     */
    public function setOverview($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\TransformationOverview::class);
        $this->overview = $var;

        return $this;
    }

}

