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

namespace Google\Cloud\AIPlatform\V1;

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

/**
 * The Container Registry location for the container image.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.ContainerRegistryDestination</code>
 */
class ContainerRegistryDestination extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. Container Registry URI of a container image.
     * Only Google Container Registry and Artifact Registry are supported now.
     * Accepted forms:
     * *  Google Container Registry path. For example:
     *    `gcr.io/projectId/imageName:tag`.
     * *  Artifact Registry path. For example:
     *    `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
     * If a tag is not specified, "latest" will be used as the default tag.
     *
     * Generated from protobuf field <code>string output_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private $output_uri = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $output_uri
     *           Required. Container Registry URI of a container image.
     *           Only Google Container Registry and Artifact Registry are supported now.
     *           Accepted forms:
     *           *  Google Container Registry path. For example:
     *              `gcr.io/projectId/imageName:tag`.
     *           *  Artifact Registry path. For example:
     *              `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
     *           If a tag is not specified, "latest" will be used as the default tag.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\Io::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. Container Registry URI of a container image.
     * Only Google Container Registry and Artifact Registry are supported now.
     * Accepted forms:
     * *  Google Container Registry path. For example:
     *    `gcr.io/projectId/imageName:tag`.
     * *  Artifact Registry path. For example:
     *    `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
     * If a tag is not specified, "latest" will be used as the default tag.
     *
     * Generated from protobuf field <code>string output_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getOutputUri()
    {
        return $this->output_uri;
    }

    /**
     * Required. Container Registry URI of a container image.
     * Only Google Container Registry and Artifact Registry are supported now.
     * Accepted forms:
     * *  Google Container Registry path. For example:
     *    `gcr.io/projectId/imageName:tag`.
     * *  Artifact Registry path. For example:
     *    `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
     * If a tag is not specified, "latest" will be used as the default tag.
     *
     * Generated from protobuf field <code>string output_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setOutputUri($var)
    {
        GPBUtil::checkString($var, True);
        $this->output_uri = $var;

        return $this;
    }

}

