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

namespace Google\Cloud\Dlp\V2\DeidentifyDataSourceDetails;

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

/**
 * De-identification options.
 *
 * Generated from protobuf message <code>google.privacy.dlp.v2.DeidentifyDataSourceDetails.RequestedDeidentifyOptions</code>
 */
class RequestedDeidentifyOptions extends \Google\Protobuf\Internal\Message
{
    /**
     * Snapshot of the state of the `DeidentifyTemplate` from the
     * [Deidentify][google.privacy.dlp.v2.Action.Deidentify] action at the time
     * this job was run.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.DeidentifyTemplate snapshot_deidentify_template = 1;</code>
     */
    protected $snapshot_deidentify_template = null;
    /**
     * Snapshot of the state of the structured `DeidentifyTemplate` from the
     * `Deidentify` action at the time this job was run.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.DeidentifyTemplate snapshot_structured_deidentify_template = 2;</code>
     */
    protected $snapshot_structured_deidentify_template = null;
    /**
     * Snapshot of the state of the image transformation `DeidentifyTemplate`
     * from the `Deidentify` action at the time this job was run.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.DeidentifyTemplate snapshot_image_redact_template = 3;</code>
     */
    protected $snapshot_image_redact_template = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\Dlp\V2\DeidentifyTemplate $snapshot_deidentify_template
     *           Snapshot of the state of the `DeidentifyTemplate` from the
     *           [Deidentify][google.privacy.dlp.v2.Action.Deidentify] action at the time
     *           this job was run.
     *     @type \Google\Cloud\Dlp\V2\DeidentifyTemplate $snapshot_structured_deidentify_template
     *           Snapshot of the state of the structured `DeidentifyTemplate` from the
     *           `Deidentify` action at the time this job was run.
     *     @type \Google\Cloud\Dlp\V2\DeidentifyTemplate $snapshot_image_redact_template
     *           Snapshot of the state of the image transformation `DeidentifyTemplate`
     *           from the `Deidentify` action at the time this job was run.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce();
        parent::__construct($data);
    }

    /**
     * Snapshot of the state of the `DeidentifyTemplate` from the
     * [Deidentify][google.privacy.dlp.v2.Action.Deidentify] action at the time
     * this job was run.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.DeidentifyTemplate snapshot_deidentify_template = 1;</code>
     * @return \Google\Cloud\Dlp\V2\DeidentifyTemplate|null
     */
    public function getSnapshotDeidentifyTemplate()
    {
        return $this->snapshot_deidentify_template;
    }

    public function hasSnapshotDeidentifyTemplate()
    {
        return isset($this->snapshot_deidentify_template);
    }

    public function clearSnapshotDeidentifyTemplate()
    {
        unset($this->snapshot_deidentify_template);
    }

    /**
     * Snapshot of the state of the `DeidentifyTemplate` from the
     * [Deidentify][google.privacy.dlp.v2.Action.Deidentify] action at the time
     * this job was run.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.DeidentifyTemplate snapshot_deidentify_template = 1;</code>
     * @param \Google\Cloud\Dlp\V2\DeidentifyTemplate $var
     * @return $this
     */
    public function setSnapshotDeidentifyTemplate($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\DeidentifyTemplate::class);
        $this->snapshot_deidentify_template = $var;

        return $this;
    }

    /**
     * Snapshot of the state of the structured `DeidentifyTemplate` from the
     * `Deidentify` action at the time this job was run.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.DeidentifyTemplate snapshot_structured_deidentify_template = 2;</code>
     * @return \Google\Cloud\Dlp\V2\DeidentifyTemplate|null
     */
    public function getSnapshotStructuredDeidentifyTemplate()
    {
        return $this->snapshot_structured_deidentify_template;
    }

    public function hasSnapshotStructuredDeidentifyTemplate()
    {
        return isset($this->snapshot_structured_deidentify_template);
    }

    public function clearSnapshotStructuredDeidentifyTemplate()
    {
        unset($this->snapshot_structured_deidentify_template);
    }

    /**
     * Snapshot of the state of the structured `DeidentifyTemplate` from the
     * `Deidentify` action at the time this job was run.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.DeidentifyTemplate snapshot_structured_deidentify_template = 2;</code>
     * @param \Google\Cloud\Dlp\V2\DeidentifyTemplate $var
     * @return $this
     */
    public function setSnapshotStructuredDeidentifyTemplate($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\DeidentifyTemplate::class);
        $this->snapshot_structured_deidentify_template = $var;

        return $this;
    }

    /**
     * Snapshot of the state of the image transformation `DeidentifyTemplate`
     * from the `Deidentify` action at the time this job was run.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.DeidentifyTemplate snapshot_image_redact_template = 3;</code>
     * @return \Google\Cloud\Dlp\V2\DeidentifyTemplate|null
     */
    public function getSnapshotImageRedactTemplate()
    {
        return $this->snapshot_image_redact_template;
    }

    public function hasSnapshotImageRedactTemplate()
    {
        return isset($this->snapshot_image_redact_template);
    }

    public function clearSnapshotImageRedactTemplate()
    {
        unset($this->snapshot_image_redact_template);
    }

    /**
     * Snapshot of the state of the image transformation `DeidentifyTemplate`
     * from the `Deidentify` action at the time this job was run.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.DeidentifyTemplate snapshot_image_redact_template = 3;</code>
     * @param \Google\Cloud\Dlp\V2\DeidentifyTemplate $var
     * @return $this
     */
    public function setSnapshotImageRedactTemplate($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\DeidentifyTemplate::class);
        $this->snapshot_image_redact_template = $var;

        return $this;
    }

}


