<?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\GPBUtil;
use Google\Protobuf\RepeatedField;

/**
 * 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 \Google\Cloud\GkeMultiCloud\V1\Jwk[] $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 RepeatedField<\Google\Cloud\GkeMultiCloud\V1\Jwk>
     */
    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 \Google\Cloud\GkeMultiCloud\V1\Jwk[] $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;
    }

}

