114 lines
2.6 KiB
PHP
114 lines
2.6 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: analyticsTimecode.proto
|
|
|
|
namespace Rv\Analytics\Timecode;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.analytics.Timecode.Activate</code>
|
|
*/
|
|
class Activate extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>int32 playlist_item_count = 1;</code>
|
|
*/
|
|
protected $playlist_item_count = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int32 cue_count = 2;</code>
|
|
*/
|
|
protected $cue_count = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool is_startup = 3;</code>
|
|
*/
|
|
protected $is_startup = false;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $playlist_item_count
|
|
* @type int $cue_count
|
|
* @type bool $is_startup
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsTimecode::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 playlist_item_count = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getPlaylistItemCount()
|
|
{
|
|
return $this->playlist_item_count;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 playlist_item_count = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setPlaylistItemCount($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->playlist_item_count = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 cue_count = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getCueCount()
|
|
{
|
|
return $this->cue_count;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 cue_count = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setCueCount($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->cue_count = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool is_startup = 3;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIsStartup()
|
|
{
|
|
return $this->is_startup;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool is_startup = 3;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIsStartup($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->is_startup = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|