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

namespace Google\Cloud\AIPlatform\V1\NotebookExecutionJob;

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

/**
 * The Cloud Storage uri for the input notebook.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.NotebookExecutionJob.GcsNotebookSource</code>
 */
class GcsNotebookSource extends \Google\Protobuf\Internal\Message
{
    /**
     * The Cloud Storage uri pointing to the ipynb file. Format:
     * `gs://bucket/notebook_file.ipynb`
     *
     * Generated from protobuf field <code>string uri = 1;</code>
     */
    protected $uri = '';
    /**
     * The version of the Cloud Storage object to read. If unset, the current
     * version of the object is read. See
     * https://cloud.google.com/storage/docs/metadata#generation-number.
     *
     * Generated from protobuf field <code>string generation = 2;</code>
     */
    protected $generation = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $uri
     *           The Cloud Storage uri pointing to the ipynb file. Format:
     *           `gs://bucket/notebook_file.ipynb`
     *     @type string $generation
     *           The version of the Cloud Storage object to read. If unset, the current
     *           version of the object is read. See
     *           https://cloud.google.com/storage/docs/metadata#generation-number.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\NotebookExecutionJob::initOnce();
        parent::__construct($data);
    }

    /**
     * The Cloud Storage uri pointing to the ipynb file. Format:
     * `gs://bucket/notebook_file.ipynb`
     *
     * Generated from protobuf field <code>string uri = 1;</code>
     * @return string
     */
    public function getUri()
    {
        return $this->uri;
    }

    /**
     * The Cloud Storage uri pointing to the ipynb file. Format:
     * `gs://bucket/notebook_file.ipynb`
     *
     * Generated from protobuf field <code>string uri = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setUri($var)
    {
        GPBUtil::checkString($var, True);
        $this->uri = $var;

        return $this;
    }

    /**
     * The version of the Cloud Storage object to read. If unset, the current
     * version of the object is read. See
     * https://cloud.google.com/storage/docs/metadata#generation-number.
     *
     * Generated from protobuf field <code>string generation = 2;</code>
     * @return string
     */
    public function getGeneration()
    {
        return $this->generation;
    }

    /**
     * The version of the Cloud Storage object to read. If unset, the current
     * version of the object is read. See
     * https://cloud.google.com/storage/docs/metadata#generation-number.
     *
     * Generated from protobuf field <code>string generation = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setGeneration($var)
    {
        GPBUtil::checkString($var, True);
        $this->generation = $var;

        return $this;
    }

}


