<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: grafeas/v1/deployment.proto

namespace Grafeas\V1;

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

/**
 * An artifact that can be deployed in some runtime.
 *
 * Generated from protobuf message <code>grafeas.v1.DeploymentNote</code>
 */
class DeploymentNote extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. Resource URI for the artifact being deployed.
     *
     * Generated from protobuf field <code>repeated string resource_uri = 1;</code>
     */
    private $resource_uri;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $resource_uri
     *           Required. Resource URI for the artifact being deployed.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Grafeas\V1\Deployment::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. Resource URI for the artifact being deployed.
     *
     * Generated from protobuf field <code>repeated string resource_uri = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getResourceUri()
    {
        return $this->resource_uri;
    }

    /**
     * Required. Resource URI for the artifact being deployed.
     *
     * Generated from protobuf field <code>repeated string resource_uri = 1;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setResourceUri($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->resource_uri = $arr;

        return $this;
    }

}

