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

/**
 * A condition for determining whether a transformation should be applied to
 * a field.
 *
 * Generated from protobuf message <code>google.privacy.dlp.v2.RecordCondition</code>
 */
class RecordCondition extends \Google\Protobuf\Internal\Message
{
    /**
     * An expression.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;</code>
     */
    private $expressions = null;

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

    /**
     * An expression.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;</code>
     * @return \Google\Cloud\Dlp\V2\RecordCondition_Expressions
     */
    public function getExpressions()
    {
        return $this->expressions;
    }

    /**
     * An expression.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;</code>
     * @param \Google\Cloud\Dlp\V2\RecordCondition_Expressions $var
     * @return $this
     */
    public function setExpressions($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\RecordCondition_Expressions::class);
        $this->expressions = $var;

        return $this;
    }

}

