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

namespace Rv\Analytics\Startup;

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

/**
 * Generated from protobuf message <code>rv.analytics.Startup.Communications</code>
 */
class Communications extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 total_device_count = 1;</code>
     */
    protected $total_device_count = 0;

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

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

    /**
     * Generated from protobuf field <code>int32 total_device_count = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setTotalDeviceCount($var)
    {
        GPBUtil::checkInt32($var);
        $this->total_device_count = $var;

        return $this;
    }

}

