File "UnknownSet.php"

Full Path: /home/warrior1/public_html/wp-content/plugins/google-listings-and-ads/vendor/google/common-protos/src/Api/Expr/V1beta1/UnknownSet.php
File size: 2 KB
MIME-type: text/x-php
Charset: utf-8

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

}