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

namespace Google\Privacy\Dlp\V2beta1;

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

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

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

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

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

        return $this;
    }

}

