- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root - Move ref/ to doc/reference_samples/ for better organization - Remove vendor/ from git tracking (now properly gitignored) - Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/) - Update all documentation paths (AGENTS.md, doc/*.md) - Remove php.bak/ directory - All 252 tests pass
178 lines
4.3 KiB
PHP
178 lines
4.3 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: analyticsCapture.proto
|
|
|
|
namespace Rv\Analytics\Capture\Start;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.analytics.Capture.Start.Disk</code>
|
|
*/
|
|
class Disk extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Capture.Codec codec = 1;</code>
|
|
*/
|
|
protected $codec = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Capture.FrameRate frame_rate = 2;</code>
|
|
*/
|
|
protected $frame_rate = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Capture.Resolution resolution = 3;</code>
|
|
*/
|
|
protected $resolution = null;
|
|
/**
|
|
* Generated from protobuf field <code>bool stream_started = 4;</code>
|
|
*/
|
|
protected $stream_started = false;
|
|
/**
|
|
* Generated from protobuf field <code>int32 video_bitrate = 5;</code>
|
|
*/
|
|
protected $video_bitrate = 0;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $codec
|
|
* @type int $frame_rate
|
|
* @type \Rv\Analytics\Capture\Resolution $resolution
|
|
* @type bool $stream_started
|
|
* @type int $video_bitrate
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsCapture::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Capture.Codec codec = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getCodec()
|
|
{
|
|
return $this->codec;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Capture.Codec codec = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setCodec($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Capture\Codec::class);
|
|
$this->codec = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Capture.FrameRate frame_rate = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getFrameRate()
|
|
{
|
|
return $this->frame_rate;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Capture.FrameRate frame_rate = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setFrameRate($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Capture\FrameRate::class);
|
|
$this->frame_rate = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Capture.Resolution resolution = 3;</code>
|
|
* @return \Rv\Analytics\Capture\Resolution|null
|
|
*/
|
|
public function getResolution()
|
|
{
|
|
return $this->resolution;
|
|
}
|
|
|
|
public function hasResolution()
|
|
{
|
|
return isset($this->resolution);
|
|
}
|
|
|
|
public function clearResolution()
|
|
{
|
|
unset($this->resolution);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.Capture.Resolution resolution = 3;</code>
|
|
* @param \Rv\Analytics\Capture\Resolution $var
|
|
* @return $this
|
|
*/
|
|
public function setResolution($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\Capture\Resolution::class);
|
|
$this->resolution = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool stream_started = 4;</code>
|
|
* @return bool
|
|
*/
|
|
public function getStreamStarted()
|
|
{
|
|
return $this->stream_started;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool stream_started = 4;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setStreamStarted($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->stream_started = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 video_bitrate = 5;</code>
|
|
* @return int
|
|
*/
|
|
public function getVideoBitrate()
|
|
{
|
|
return $this->video_bitrate;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 video_bitrate = 5;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setVideoBitrate($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->video_bitrate = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|