222 lines
5.3 KiB
PHP
222 lines
5.3 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: analyticsSync.proto
|
|
|
|
namespace Rv\Analytics\Sync;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.analytics.Sync.Local</code>
|
|
*/
|
|
class Local extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Sync.Local.SyncType sync_type = 1;</code>
|
|
*/
|
|
protected $sync_type = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool include_library = 2;</code>
|
|
*/
|
|
protected $include_library = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool include_media = 3;</code>
|
|
*/
|
|
protected $include_media = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool include_playlists = 4;</code>
|
|
*/
|
|
protected $include_playlists = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool include_themes = 5;</code>
|
|
*/
|
|
protected $include_themes = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool include_support_files = 6;</code>
|
|
*/
|
|
protected $include_support_files = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool replace_files = 7;</code>
|
|
*/
|
|
protected $replace_files = false;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $sync_type
|
|
* @type bool $include_library
|
|
* @type bool $include_media
|
|
* @type bool $include_playlists
|
|
* @type bool $include_themes
|
|
* @type bool $include_support_files
|
|
* @type bool $replace_files
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsSync::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Sync.Local.SyncType sync_type = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getSyncType()
|
|
{
|
|
return $this->sync_type;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Sync.Local.SyncType sync_type = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setSyncType($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Sync\Local\SyncType::class);
|
|
$this->sync_type = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_library = 2;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIncludeLibrary()
|
|
{
|
|
return $this->include_library;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_library = 2;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIncludeLibrary($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->include_library = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_media = 3;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIncludeMedia()
|
|
{
|
|
return $this->include_media;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_media = 3;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIncludeMedia($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->include_media = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_playlists = 4;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIncludePlaylists()
|
|
{
|
|
return $this->include_playlists;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_playlists = 4;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIncludePlaylists($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->include_playlists = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_themes = 5;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIncludeThemes()
|
|
{
|
|
return $this->include_themes;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_themes = 5;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIncludeThemes($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->include_themes = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_support_files = 6;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIncludeSupportFiles()
|
|
{
|
|
return $this->include_support_files;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_support_files = 6;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIncludeSupportFiles($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->include_support_files = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool replace_files = 7;</code>
|
|
* @return bool
|
|
*/
|
|
public function getReplaceFiles()
|
|
{
|
|
return $this->replace_files;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool replace_files = 7;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setReplaceFiles($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->replace_files = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|