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

/**
 * Metadata returned within the
 * [`riskAnalysis.operations.get`](/dlp/docs/reference/rest/v2beta1/riskAnalysis.operations/get)
 * for risk analysis.
 *
 * Generated from protobuf message <code>google.privacy.dlp.v2beta1.RiskAnalysisOperationMetadata</code>
 */
class RiskAnalysisOperationMetadata extends \Google\Protobuf\Internal\Message
{
    /**
     * The time which this request was started.
     *
     * Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 1;</code>
     */
    private $create_time = null;
    /**
     * Privacy metric to compute.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.PrivacyMetric requested_privacy_metric = 2;</code>
     */
    private $requested_privacy_metric = null;
    /**
     * Input dataset to compute metrics over.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.BigQueryTable requested_source_table = 3;</code>
     */
    private $requested_source_table = null;

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

    /**
     * The time which this request was started.
     *
     * Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 1;</code>
     * @return \Google\Protobuf\Timestamp
     */
    public function getCreateTime()
    {
        return $this->create_time;
    }

    /**
     * The time which this request was started.
     *
     * Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 1;</code>
     * @param \Google\Protobuf\Timestamp $var
     * @return $this
     */
    public function setCreateTime($var)
    {
        GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
        $this->create_time = $var;

        return $this;
    }

    /**
     * Privacy metric to compute.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.PrivacyMetric requested_privacy_metric = 2;</code>
     * @return \Google\Cloud\Dlp\V2beta1\PrivacyMetric
     */
    public function getRequestedPrivacyMetric()
    {
        return $this->requested_privacy_metric;
    }

    /**
     * Privacy metric to compute.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.PrivacyMetric requested_privacy_metric = 2;</code>
     * @param \Google\Cloud\Dlp\V2beta1\PrivacyMetric $var
     * @return $this
     */
    public function setRequestedPrivacyMetric($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2beta1\PrivacyMetric::class);
        $this->requested_privacy_metric = $var;

        return $this;
    }

    /**
     * Input dataset to compute metrics over.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.BigQueryTable requested_source_table = 3;</code>
     * @return \Google\Cloud\Dlp\V2beta1\BigQueryTable
     */
    public function getRequestedSourceTable()
    {
        return $this->requested_source_table;
    }

    /**
     * Input dataset to compute metrics over.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.BigQueryTable requested_source_table = 3;</code>
     * @param \Google\Cloud\Dlp\V2beta1\BigQueryTable $var
     * @return $this
     */
    public function setRequestedSourceTable($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2beta1\BigQueryTable::class);
        $this->requested_source_table = $var;

        return $this;
    }

}

