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

namespace Google\Cloud\AutoMl\V1beta1;

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

/**
 * The GCR location where the image must be pushed to.
 *
 * Generated from protobuf message <code>google.cloud.automl.v1beta1.GcrDestination</code>
 */
class GcrDestination extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. Google Contained Registry URI of the new image, up to 2000
     * characters long. See
     * https:
     * //cloud.google.com/container-registry/do
     * // cs/pushing-and-pulling#pushing_an_image_to_a_registry
     * Accepted forms:
     * * [HOSTNAME]/[PROJECT-ID]/[IMAGE]
     * * [HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
     * The requesting user must have permission to push images the project.
     *
     * Generated from protobuf field <code>string output_uri = 1;</code>
     */
    private $output_uri = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $output_uri
     *           Required. Google Contained Registry URI of the new image, up to 2000
     *           characters long. See
     *           https:
     *           //cloud.google.com/container-registry/do
     *           // cs/pushing-and-pulling#pushing_an_image_to_a_registry
     *           Accepted forms:
     *           * [HOSTNAME]/[PROJECT-ID]/[IMAGE]
     *           * [HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
     *           The requesting user must have permission to push images the project.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Automl\V1Beta1\Io::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. Google Contained Registry URI of the new image, up to 2000
     * characters long. See
     * https:
     * //cloud.google.com/container-registry/do
     * // cs/pushing-and-pulling#pushing_an_image_to_a_registry
     * Accepted forms:
     * * [HOSTNAME]/[PROJECT-ID]/[IMAGE]
     * * [HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
     * The requesting user must have permission to push images the project.
     *
     * Generated from protobuf field <code>string output_uri = 1;</code>
     * @return string
     */
    public function getOutputUri()
    {
        return $this->output_uri;
    }

    /**
     * Required. Google Contained Registry URI of the new image, up to 2000
     * characters long. See
     * https:
     * //cloud.google.com/container-registry/do
     * // cs/pushing-and-pulling#pushing_an_image_to_a_registry
     * Accepted forms:
     * * [HOSTNAME]/[PROJECT-ID]/[IMAGE]
     * * [HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
     * The requesting user must have permission to push images the project.
     *
     * Generated from protobuf field <code>string output_uri = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setOutputUri($var)
    {
        GPBUtil::checkString($var, True);
        $this->output_uri = $var;

        return $this;
    }

}

