<?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.Macro</code>
 */
class Macro extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 action_count = 1;</code>
     */
    protected $action_count = 0;
    /**
     * Generated from protobuf field <code>int32 cue_action_count = 2;</code>
     */
    protected $cue_action_count = 0;
    /**
     * Generated from protobuf field <code>int32 total_action_count = 3;</code>
     */
    protected $total_action_count = 0;

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

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

}

