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

/**
 * Overview of the modifications that occurred.
 *
 * Generated from protobuf message <code>google.privacy.dlp.v2.TransformationOverview</code>
 */
class TransformationOverview extends \Google\Protobuf\Internal\Message
{
    /**
     * Total size in bytes that were transformed in some way.
     *
     * Generated from protobuf field <code>int64 transformed_bytes = 2;</code>
     */
    private $transformed_bytes = 0;
    /**
     * Transformations applied to the dataset.
     *
     * Generated from protobuf field <code>repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3;</code>
     */
    private $transformation_summaries;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $transformed_bytes
     *           Total size in bytes that were transformed in some way.
     *     @type array<\Google\Cloud\Dlp\V2\TransformationSummary>|\Google\Protobuf\Internal\RepeatedField $transformation_summaries
     *           Transformations applied to the dataset.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce();
        parent::__construct($data);
    }

    /**
     * Total size in bytes that were transformed in some way.
     *
     * Generated from protobuf field <code>int64 transformed_bytes = 2;</code>
     * @return int|string
     */
    public function getTransformedBytes()
    {
        return $this->transformed_bytes;
    }

    /**
     * Total size in bytes that were transformed in some way.
     *
     * Generated from protobuf field <code>int64 transformed_bytes = 2;</code>
     * @param int|string $var
     * @return $this
     */
    public function setTransformedBytes($var)
    {
        GPBUtil::checkInt64($var);
        $this->transformed_bytes = $var;

        return $this;
    }

    /**
     * Transformations applied to the dataset.
     *
     * Generated from protobuf field <code>repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getTransformationSummaries()
    {
        return $this->transformation_summaries;
    }

    /**
     * Transformations applied to the dataset.
     *
     * Generated from protobuf field <code>repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3;</code>
     * @param array<\Google\Cloud\Dlp\V2\TransformationSummary>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setTransformationSummaries($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\TransformationSummary::class);
        $this->transformation_summaries = $arr;

        return $this;
    }

}

