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

namespace Rv\Analytics\Trigger\Action;

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

/**
 * Generated from protobuf message <code>rv.analytics.Trigger.Action.Message</code>
 */
class Message extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 token_count = 1;</code>
     */
    protected $token_count = 0;
    /**
     * Generated from protobuf field <code>int32 text_token_count = 2;</code>
     */
    protected $text_token_count = 0;
    /**
     * Generated from protobuf field <code>int32 timer_token_count = 3;</code>
     */
    protected $timer_token_count = 0;
    /**
     * Generated from protobuf field <code>int32 clock_token_count = 4;</code>
     */
    protected $clock_token_count = 0;
    /**
     * Generated from protobuf field <code>int32 showing_count = 5;</code>
     */
    protected $showing_count = 0;

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

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

}

