<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/api/expr/v1beta1/eval.proto

namespace Google\Api\Expr\V1beta1;

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

/**
 * A set of expressions for which the value is unknown.
 * The unknowns included depend on the context. See `ExprValue.unknown`.
 *
 * Generated from protobuf message <code>google.api.expr.v1beta1.UnknownSet</code>
 */
class UnknownSet extends \Google\Protobuf\Internal\Message
{
    /**
     * The ids of the expressions with unknown values.
     *
     * Generated from protobuf field <code>repeated .google.api.expr.v1beta1.IdRef exprs = 1;</code>
     */
    private $exprs;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Api\Expr\V1beta1\IdRef[]|\Google\Protobuf\Internal\RepeatedField $exprs
     *           The ids of the expressions with unknown values.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Api\Expr\V1Beta1\PBEval::initOnce();
        parent::__construct($data);
    }

    /**
     * The ids of the expressions with unknown values.
     *
     * Generated from protobuf field <code>repeated .google.api.expr.v1beta1.IdRef exprs = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getExprs()
    {
        return $this->exprs;
    }

    /**
     * The ids of the expressions with unknown values.
     *
     * Generated from protobuf field <code>repeated .google.api.expr.v1beta1.IdRef exprs = 1;</code>
     * @param \Google\Api\Expr\V1beta1\IdRef[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setExprs($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\Expr\V1beta1\IdRef::class);
        $this->exprs = $arr;

        return $this;
    }

}

