<?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 Compute Engine network.
 *
 * Generated from protobuf message <code>google.cloud.networkmanagement.v1.NetworkInfo</code>
 */
class NetworkInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Name of a Compute Engine network.
     *
     * Generated from protobuf field <code>string display_name = 1;</code>
     */
    private $display_name = '';
    /**
     * URI of a Compute Engine network.
     *
     * Generated from protobuf field <code>string uri = 2;</code>
     */
    private $uri = '';
    /**
     * The IP range that matches the test.
     *
     * Generated from protobuf field <code>string matched_ip_range = 4;</code>
     */
    private $matched_ip_range = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $display_name
     *           Name of a Compute Engine network.
     *     @type string $uri
     *           URI of a Compute Engine network.
     *     @type string $matched_ip_range
     *           The IP range that matches the test.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Networkmanagement\V1\Trace::initOnce();
        parent::__construct($data);
    }

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

    /**
     * Name of a Compute Engine network.
     *
     * 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 Compute Engine network.
     *
     * Generated from protobuf field <code>string uri = 2;</code>
     * @return string
     */
    public function getUri()
    {
        return $this->uri;
    }

    /**
     * URI of a Compute Engine network.
     *
     * 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;
    }

    /**
     * The IP range that matches the test.
     *
     * Generated from protobuf field <code>string matched_ip_range = 4;</code>
     * @return string
     */
    public function getMatchedIpRange()
    {
        return $this->matched_ip_range;
    }

    /**
     * The IP range that matches the test.
     *
     * Generated from protobuf field <code>string matched_ip_range = 4;</code>
     * @param string $var
     * @return $this
     */
    public function setMatchedIpRange($var)
    {
        GPBUtil::checkString($var, True);
        $this->matched_ip_range = $var;

        return $this;
    }

}

