rv.data.TestPatternDefinition.SelectorProperty
*/
class SelectorProperty extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field int32 selected_index = 1;
*/
protected $selected_index = 0;
/**
* Generated from protobuf field repeated string value_localization_keys = 2;
*/
private $value_localization_keys;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $selected_index
* @type array|\Google\Protobuf\Internal\RepeatedField $value_localization_keys
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\TestPattern::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field int32 selected_index = 1;
* @return int
*/
public function getSelectedIndex()
{
return $this->selected_index;
}
/**
* Generated from protobuf field int32 selected_index = 1;
* @param int $var
* @return $this
*/
public function setSelectedIndex($var)
{
GPBUtil::checkInt32($var);
$this->selected_index = $var;
return $this;
}
/**
* Generated from protobuf field repeated string value_localization_keys = 2;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getValueLocalizationKeys()
{
return $this->value_localization_keys;
}
/**
* Generated from protobuf field repeated string value_localization_keys = 2;
* @param array|\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;
}
}