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

namespace Google\Cloud\AIPlatform\V1;

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

/**
 * One point viewable on a blob metric plot, but mostly just a wrapper message
 * to work around repeated fields can't be used directly within `oneof` fields.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.TensorboardBlobSequence</code>
 */
class TensorboardBlobSequence extends \Google\Protobuf\Internal\Message
{
    /**
     * List of blobs contained within the sequence.
     *
     * Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.TensorboardBlob values = 1;</code>
     */
    private $values;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<\Google\Cloud\AIPlatform\V1\TensorboardBlob>|\Google\Protobuf\Internal\RepeatedField $values
     *           List of blobs contained within the sequence.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardData::initOnce();
        parent::__construct($data);
    }

    /**
     * List of blobs contained within the sequence.
     *
     * Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.TensorboardBlob values = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getValues()
    {
        return $this->values;
    }

    /**
     * List of blobs contained within the sequence.
     *
     * Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.TensorboardBlob values = 1;</code>
     * @param array<\Google\Cloud\AIPlatform\V1\TensorboardBlob>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setValues($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\TensorboardBlob::class);
        $this->values = $arr;

        return $this;
    }

}

