- 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
126 lines
3.1 KiB
PHP
126 lines
3.1 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: analyticsUI.proto
|
|
|
|
namespace Rv\Analytics\UI;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.analytics.UI.QuickSearch</code>
|
|
*/
|
|
class QuickSearch extends \Google\Protobuf\Internal\Message
|
|
{
|
|
protected $Component;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Analytics\UI\QuickSearch\Shown $shown
|
|
* @type \Rv\Analytics\UI\QuickSearch\Search $search
|
|
* @type \Rv\Analytics\UI\QuickSearch\OpenItems $open_items
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsUI::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.QuickSearch.Shown shown = 1;</code>
|
|
* @return \Rv\Analytics\UI\QuickSearch\Shown|null
|
|
*/
|
|
public function getShown()
|
|
{
|
|
return $this->readOneof(1);
|
|
}
|
|
|
|
public function hasShown()
|
|
{
|
|
return $this->hasOneof(1);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.QuickSearch.Shown shown = 1;</code>
|
|
* @param \Rv\Analytics\UI\QuickSearch\Shown $var
|
|
* @return $this
|
|
*/
|
|
public function setShown($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\QuickSearch\Shown::class);
|
|
$this->writeOneof(1, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.QuickSearch.Search search = 2;</code>
|
|
* @return \Rv\Analytics\UI\QuickSearch\Search|null
|
|
*/
|
|
public function getSearch()
|
|
{
|
|
return $this->readOneof(2);
|
|
}
|
|
|
|
public function hasSearch()
|
|
{
|
|
return $this->hasOneof(2);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.QuickSearch.Search search = 2;</code>
|
|
* @param \Rv\Analytics\UI\QuickSearch\Search $var
|
|
* @return $this
|
|
*/
|
|
public function setSearch($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\QuickSearch\Search::class);
|
|
$this->writeOneof(2, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.QuickSearch.OpenItems open_items = 3;</code>
|
|
* @return \Rv\Analytics\UI\QuickSearch\OpenItems|null
|
|
*/
|
|
public function getOpenItems()
|
|
{
|
|
return $this->readOneof(3);
|
|
}
|
|
|
|
public function hasOpenItems()
|
|
{
|
|
return $this->hasOneof(3);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.QuickSearch.OpenItems open_items = 3;</code>
|
|
* @param \Rv\Analytics\UI\QuickSearch\OpenItems $var
|
|
* @return $this
|
|
*/
|
|
public function setOpenItems($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\QuickSearch\OpenItems::class);
|
|
$this->writeOneof(3, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getComponent()
|
|
{
|
|
return $this->whichOneof("Component");
|
|
}
|
|
|
|
}
|
|
|