propresenter-php/php/generated/Rv/Data/TestPatternDocument/TestPatternData/DoubleProperty.php
2026-03-01 16:12:17 +01:00

60 lines
1.3 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: testPattern.proto
namespace Rv\Data\TestPatternDocument\TestPatternData;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.TestPatternDocument.TestPatternData.DoubleProperty</code>
*/
class DoubleProperty extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>double value = 1;</code>
*/
protected $value = 0.0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type float $value
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\TestPattern::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>double value = 1;</code>
* @return float
*/
public function getValue()
{
return $this->value;
}
/**
* Generated from protobuf field <code>double value = 1;</code>
* @param float $var
* @return $this
*/
public function setValue($var)
{
GPBUtil::checkDouble($var);
$this->value = $var;
return $this;
}
}