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

namespace Rv\Analytics\Trackedevents;

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

/**
 * Generated from protobuf message <code>rv.analytics.trackedevents.TransitionWindow</code>
 */
class TransitionWindow extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>uint32 duration_seconds = 1;</code>
     */
    protected $duration_seconds = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $duration_seconds
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsTrackedEvents::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>uint32 duration_seconds = 1;</code>
     * @return int
     */
    public function getDurationSeconds()
    {
        return $this->duration_seconds;
    }

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

        return $this;
    }

}

