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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Generated from protobuf message <code>plugnmeet.PollsStats</code>
 */
class PollsStats extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>uint64 total_polls = 1;</code>
     */
    protected $total_polls = 0;
    /**
     * Generated from protobuf field <code>uint64 total_running = 2;</code>
     */
    protected $total_running = 0;

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

    /**
     * Generated from protobuf field <code>uint64 total_polls = 1;</code>
     * @return int|string
     */
    public function getTotalPolls()
    {
        return $this->total_polls;
    }

    /**
     * Generated from protobuf field <code>uint64 total_polls = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setTotalPolls($var)
    {
        GPBUtil::checkUint64($var);
        $this->total_polls = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>uint64 total_running = 2;</code>
     * @return int|string
     */
    public function getTotalRunning()
    {
        return $this->total_running;
    }

    /**
     * Generated from protobuf field <code>uint64 total_running = 2;</code>
     * @param int|string $var
     * @return $this
     */
    public function setTotalRunning($var)
    {
        GPBUtil::checkUint64($var);
        $this->total_running = $var;

        return $this;
    }

}

