propresenter-php/php/generated/Rv/Data/TestPatternDefinition/SelectorProperty.php
2026-03-01 16:12:17 +01:00

87 lines
2.3 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: testPattern.proto
namespace Rv\Data\TestPatternDefinition;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.TestPatternDefinition.SelectorProperty</code>
*/
class SelectorProperty extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>int32 selected_index = 1;</code>
*/
protected $selected_index = 0;
/**
* Generated from protobuf field <code>repeated string value_localization_keys = 2;</code>
*/
private $value_localization_keys;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $selected_index
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $value_localization_keys
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\TestPattern::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>int32 selected_index = 1;</code>
* @return int
*/
public function getSelectedIndex()
{
return $this->selected_index;
}
/**
* Generated from protobuf field <code>int32 selected_index = 1;</code>
* @param int $var
* @return $this
*/
public function setSelectedIndex($var)
{
GPBUtil::checkInt32($var);
$this->selected_index = $var;
return $this;
}
/**
* Generated from protobuf field <code>repeated string value_localization_keys = 2;</code>
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getValueLocalizationKeys()
{
return $this->value_localization_keys;
}
/**
* Generated from protobuf field <code>repeated string value_localization_keys = 2;</code>
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setValueLocalizationKeys($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->value_localization_keys = $arr;
return $this;
}
}