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

namespace Google\Cloud\Compute\V1;

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

/**
 * Information for an interconnect attachment when this belongs to an interconnect of type DEDICATED.
 *
 * Generated from protobuf message <code>google.cloud.compute.v1.InterconnectAttachmentPrivateInfo</code>
 */
class InterconnectAttachmentPrivateInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * [Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region.
     *
     * Generated from protobuf field <code>uint32 tag8021q = 3385536;</code>
     */
    private $tag8021q = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $tag8021q
     *           [Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce();
        parent::__construct($data);
    }

    /**
     * [Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region.
     *
     * Generated from protobuf field <code>uint32 tag8021q = 3385536;</code>
     * @return int
     */
    public function getTag8021Q()
    {
        return $this->tag8021q;
    }

    /**
     * [Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region.
     *
     * Generated from protobuf field <code>uint32 tag8021q = 3385536;</code>
     * @param int $var
     * @return $this
     */
    public function setTag8021Q($var)
    {
        GPBUtil::checkUint32($var);
        $this->tag8021q = $var;

        return $this;
    }

}

