propresenter-php/php/generated/Rv/Analytics/API.php
2026-03-01 16:12:17 +01:00

70 lines
1.6 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: analyticsApi.proto
namespace Rv\Analytics;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.analytics.API</code>
*/
class API extends \Google\Protobuf\Internal\Message
{
protected $APIType;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Analytics\API\MessageReceived $message_received
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\AnalyticsApi::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.analytics.API.MessageReceived message_received = 1;</code>
* @return \Rv\Analytics\API\MessageReceived|null
*/
public function getMessageReceived()
{
return $this->readOneof(1);
}
public function hasMessageReceived()
{
return $this->hasOneof(1);
}
/**
* Generated from protobuf field <code>.rv.analytics.API.MessageReceived message_received = 1;</code>
* @param \Rv\Analytics\API\MessageReceived $var
* @return $this
*/
public function setMessageReceived($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\API\MessageReceived::class);
$this->writeOneof(1, $var);
return $this;
}
/**
* @return string
*/
public function getAPIType()
{
return $this->whichOneof("APIType");
}
}