98 lines
2.7 KiB
PHP
98 lines
2.7 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: slide.proto
|
|
|
|
namespace Rv\Data\Slide\Element\DataLink;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.Slide.Element.DataLink.CaptureStatusText</code>
|
|
*/
|
|
class CaptureStatusText extends \Google\Protobuf\Internal\Message
|
|
{
|
|
protected $TextType;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\Slide\Element\DataLink\CaptureStatusText\StatusText $status_text
|
|
* @type \Rv\Data\Slide\Element\DataLink\CaptureStatusText\ElapsedTime $elapsed_time
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Slide::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Slide.Element.DataLink.CaptureStatusText.StatusText status_text = 1;</code>
|
|
* @return \Rv\Data\Slide\Element\DataLink\CaptureStatusText\StatusText|null
|
|
*/
|
|
public function getStatusText()
|
|
{
|
|
return $this->readOneof(1);
|
|
}
|
|
|
|
public function hasStatusText()
|
|
{
|
|
return $this->hasOneof(1);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Slide.Element.DataLink.CaptureStatusText.StatusText status_text = 1;</code>
|
|
* @param \Rv\Data\Slide\Element\DataLink\CaptureStatusText\StatusText $var
|
|
* @return $this
|
|
*/
|
|
public function setStatusText($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Slide\Element\DataLink\CaptureStatusText\StatusText::class);
|
|
$this->writeOneof(1, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Slide.Element.DataLink.CaptureStatusText.ElapsedTime elapsed_time = 2;</code>
|
|
* @return \Rv\Data\Slide\Element\DataLink\CaptureStatusText\ElapsedTime|null
|
|
*/
|
|
public function getElapsedTime()
|
|
{
|
|
return $this->readOneof(2);
|
|
}
|
|
|
|
public function hasElapsedTime()
|
|
{
|
|
return $this->hasOneof(2);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Slide.Element.DataLink.CaptureStatusText.ElapsedTime elapsed_time = 2;</code>
|
|
* @param \Rv\Data\Slide\Element\DataLink\CaptureStatusText\ElapsedTime $var
|
|
* @return $this
|
|
*/
|
|
public function setElapsedTime($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Slide\Element\DataLink\CaptureStatusText\ElapsedTime::class);
|
|
$this->writeOneof(2, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getTextType()
|
|
{
|
|
return $this->whichOneof("TextType");
|
|
}
|
|
|
|
}
|
|
|