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

namespace Rv\Analytics\Create;

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

/**
 * Generated from protobuf message <code>rv.analytics.Create.TemplatePlaylist</code>
 */
class TemplatePlaylist extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 total_item_count = 1;</code>
     */
    protected $total_item_count = 0;
    /**
     * Generated from protobuf field <code>int32 header_count = 2;</code>
     */
    protected $header_count = 0;
    /**
     * Generated from protobuf field <code>int32 placeholder_count = 3;</code>
     */
    protected $placeholder_count = 0;
    /**
     * Generated from protobuf field <code>int32 presentation_count = 4;</code>
     */
    protected $presentation_count = 0;
    /**
     * Generated from protobuf field <code>int32 media_count = 5;</code>
     */
    protected $media_count = 0;

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

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

}

