/home/aloic1/public_html/core/vendor/google/common-protos/src/Api/Expr/V1alpha1/MapValue/Entry.php
<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/api/expr/v1alpha1/value.proto

namespace Google\Api\Expr\V1alpha1\MapValue;

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

/**
 * An entry in the map.
 *
 * Generated from protobuf message <code>google.api.expr.v1alpha1.MapValue.Entry</code>
 */
class Entry extends \Google\Protobuf\Internal\Message
{
    /**
     * The key.
     * Must be unique with in the map.
     * Currently only boolean, int, uint, and string values can be keys.
     *
     * Generated from protobuf field <code>.google.api.expr.v1alpha1.Value key = 1;</code>
     */
    private $key = null;
    /**
     * The value.
     *
     * Generated from protobuf field <code>.google.api.expr.v1alpha1.Value value = 2;</code>
     */
    private $value = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Api\Expr\V1alpha1\Value $key
     *           The key.
     *           Must be unique with in the map.
     *           Currently only boolean, int, uint, and string values can be keys.
     *     @type \Google\Api\Expr\V1alpha1\Value $value
     *           The value.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Api\Expr\V1Alpha1\Value::initOnce();
        parent::__construct($data);
    }

    /**
     * The key.
     * Must be unique with in the map.
     * Currently only boolean, int, uint, and string values can be keys.
     *
     * Generated from protobuf field <code>.google.api.expr.v1alpha1.Value key = 1;</code>
     * @return \Google\Api\Expr\V1alpha1\Value
     */
    public function getKey()
    {
        return $this->key;
    }

    /**
     * The key.
     * Must be unique with in the map.
     * Currently only boolean, int, uint, and string values can be keys.
     *
     * Generated from protobuf field <code>.google.api.expr.v1alpha1.Value key = 1;</code>
     * @param \Google\Api\Expr\V1alpha1\Value $var
     * @return $this
     */
    public function setKey($var)
    {
        GPBUtil::checkMessage($var, \Google\Api\Expr\V1alpha1\Value::class);
        $this->key = $var;

        return $this;
    }

    /**
     * The value.
     *
     * Generated from protobuf field <code>.google.api.expr.v1alpha1.Value value = 2;</code>
     * @return \Google\Api\Expr\V1alpha1\Value
     */
    public function getValue()
    {
        return $this->value;
    }

    /**
     * The value.
     *
     * Generated from protobuf field <code>.google.api.expr.v1alpha1.Value value = 2;</code>
     * @param \Google\Api\Expr\V1alpha1\Value $var
     * @return $this
     */
    public function setValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Api\Expr\V1alpha1\Value::class);
        $this->value = $var;

        return $this;
    }

}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Entry::class, \Google\Api\Expr\V1alpha1\MapValue_Entry::class);

@LwBee Strong Bypass

LwBee Strong Bypass Mini Shell

Upload File

Create New File