<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/gkemulticloud/v1/azure_resources.proto

namespace Google\Cloud\GkeMultiCloud\V1;

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

/**
 * AzureJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517.
 *
 * @deprecated
 * Generated from protobuf message <code>google.cloud.gkemulticloud.v1.AzureJsonWebKeys</code>
 */
class AzureJsonWebKeys extends \Google\Protobuf\Internal\Message
{
    /**
     * The public component of the keys used by the cluster to sign token
     * requests.
     *
     * Generated from protobuf field <code>repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;</code>
     */
    private $keys;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<\Google\Cloud\GkeMultiCloud\V1\Jwk>|\Google\Protobuf\Internal\RepeatedField $keys
     *           The public component of the keys used by the cluster to sign token
     *           requests.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Gkemulticloud\V1\AzureResources::initOnce();
        parent::__construct($data);
    }

    /**
     * The public component of the keys used by the cluster to sign token
     * requests.
     *
     * Generated from protobuf field <code>repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getKeys()
    {
        return $this->keys;
    }

    /**
     * The public component of the keys used by the cluster to sign token
     * requests.
     *
     * Generated from protobuf field <code>repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;</code>
     * @param array<\Google\Cloud\GkeMultiCloud\V1\Jwk>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setKeys($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GkeMultiCloud\V1\Jwk::class);
        $this->keys = $arr;

        return $this;
    }

}

