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

/**
 * 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 array<\Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo>|\Google\Protobuf\Internal\RepeatedField $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 \Google\Protobuf\Internal\RepeatedField
     */
    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 array<\Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo>|\Google\Protobuf\Internal\RepeatedField $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;
    }

}


