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

namespace Google\Cloud\NetworkManagement\V1;

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

/**
 * For display only. Metadata associated with a Cloud Run revision.
 *
 * Generated from protobuf message <code>google.cloud.networkmanagement.v1.CloudRunRevisionInfo</code>
 */
class CloudRunRevisionInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Name of a Cloud Run revision.
     *
     * Generated from protobuf field <code>string display_name = 1;</code>
     */
    protected $display_name = '';
    /**
     * URI of a Cloud Run revision.
     *
     * Generated from protobuf field <code>string uri = 2;</code>
     */
    protected $uri = '';
    /**
     * Location in which this revision is deployed.
     *
     * Generated from protobuf field <code>string location = 4;</code>
     */
    protected $location = '';
    /**
     * URI of Cloud Run service this revision belongs to.
     *
     * Generated from protobuf field <code>string service_uri = 5;</code>
     */
    protected $service_uri = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $display_name
     *           Name of a Cloud Run revision.
     *     @type string $uri
     *           URI of a Cloud Run revision.
     *     @type string $location
     *           Location in which this revision is deployed.
     *     @type string $service_uri
     *           URI of Cloud Run service this revision belongs to.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Networkmanagement\V1\Trace::initOnce();
        parent::__construct($data);
    }

    /**
     * Name of a Cloud Run revision.
     *
     * Generated from protobuf field <code>string display_name = 1;</code>
     * @return string
     */
    public function getDisplayName()
    {
        return $this->display_name;
    }

    /**
     * Name of a Cloud Run revision.
     *
     * Generated from protobuf field <code>string display_name = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setDisplayName($var)
    {
        GPBUtil::checkString($var, True);
        $this->display_name = $var;

        return $this;
    }

    /**
     * URI of a Cloud Run revision.
     *
     * Generated from protobuf field <code>string uri = 2;</code>
     * @return string
     */
    public function getUri()
    {
        return $this->uri;
    }

    /**
     * URI of a Cloud Run revision.
     *
     * Generated from protobuf field <code>string uri = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setUri($var)
    {
        GPBUtil::checkString($var, True);
        $this->uri = $var;

        return $this;
    }

    /**
     * Location in which this revision is deployed.
     *
     * Generated from protobuf field <code>string location = 4;</code>
     * @return string
     */
    public function getLocation()
    {
        return $this->location;
    }

    /**
     * Location in which this revision is deployed.
     *
     * Generated from protobuf field <code>string location = 4;</code>
     * @param string $var
     * @return $this
     */
    public function setLocation($var)
    {
        GPBUtil::checkString($var, True);
        $this->location = $var;

        return $this;
    }

    /**
     * URI of Cloud Run service this revision belongs to.
     *
     * Generated from protobuf field <code>string service_uri = 5;</code>
     * @return string
     */
    public function getServiceUri()
    {
        return $this->service_uri;
    }

    /**
     * URI of Cloud Run service this revision belongs to.
     *
     * Generated from protobuf field <code>string service_uri = 5;</code>
     * @param string $var
     * @return $this
     */
    public function setServiceUri($var)
    {
        GPBUtil::checkString($var, True);
        $this->service_uri = $var;

        return $this;
    }

}

