<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: WAProto.proto

namespace PhpWA\Protocol\Proto\Message;

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

/**
 * Generated from protobuf message <code>proto.Message.URLMetadata</code>
 */
class URLMetadata extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional uint32 fbExperimentId = 1;</code>
     */
    protected $fbExperimentId = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $fbExperimentId
     * }
     */
    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>optional uint32 fbExperimentId = 1;</code>
     * @return int
     */
    public function getFbExperimentId()
    {
        return isset($this->fbExperimentId) ? $this->fbExperimentId : 0;
    }

    public function hasFbExperimentId()
    {
        return isset($this->fbExperimentId);
    }

    public function clearFbExperimentId()
    {
        unset($this->fbExperimentId);
    }

    /**
     * Generated from protobuf field <code>optional uint32 fbExperimentId = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setFbExperimentId($var)
    {
        GPBUtil::checkUint32($var);
        $this->fbExperimentId = $var;

        return $this;
    }

}

