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

namespace Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation;

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

/**
 * MultiGpuSecurePassthroughAttestation contains the attestation evidence
 * for a Multi-GPU Secure Passthrough (MPT) attestation.
 *
 * Generated from protobuf message <code>google.cloud.confidentialcomputing.v1.NvidiaAttestation.MultiGpuSecurePassthroughAttestation</code>
 */
class MultiGpuSecurePassthroughAttestation extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional. A list of GPU quotes.
     *
     * Generated from protobuf field <code>repeated .google.cloud.confidentialcomputing.v1.NvidiaAttestation.GpuInfo gpu_quotes = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    private $gpu_quotes;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo[] $gpu_quotes
     *           Optional. A list of GPU quotes.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Confidentialcomputing\V1\Service::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional. A list of GPU quotes.
     *
     * Generated from protobuf field <code>repeated .google.cloud.confidentialcomputing.v1.NvidiaAttestation.GpuInfo gpu_quotes = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return RepeatedField<\Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo>
     */
    public function getGpuQuotes()
    {
        return $this->gpu_quotes;
    }

    /**
     * Optional. A list of GPU quotes.
     *
     * Generated from protobuf field <code>repeated .google.cloud.confidentialcomputing.v1.NvidiaAttestation.GpuInfo gpu_quotes = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param \Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo[] $var
     * @return $this
     */
    public function setGpuQuotes($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo::class);
        $this->gpu_quotes = $arr;

        return $this;
    }

}

