diff --git a/CHANGELOG.md b/CHANGELOG.md index 3303376dd..07b1f0e22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ # 5.1.6 - 2026-03-30 - Upgraded phpseclib package to 3.0.50 +- Upgraded google/protobuf package to 4.33.6 # 5.1.5 - 2025-09-29 - Upgraded grpc package to 1.74.0 diff --git a/composer.json b/composer.json index 947bdd0db..a0d83e582 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,8 @@ "phpseclib/phpseclib": "3.0.50", "phpseclib/bcmath_compat": "^2.0", "google/analytics-admin": "^0.22.2", - "google/analytics-data": "^0.17.1" + "google/analytics-data": "^0.17.1", + "google/protobuf": "4.33.6" }, "config": { "platform-check": false diff --git a/composer.lock b/composer.lock index 2497008df..d541c358d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "fa7e66e6d19f1b898ffbfb50743b5557", + "content-hash": "e33ae79cf45bd338644ecea367ec2336", "packages": [ { "name": "brick/math", @@ -602,23 +602,23 @@ }, { "name": "google/protobuf", - "version": "v4.27.3", + "version": "v4.33.6", "source": { "type": "git", "url": "https://github.com/protocolbuffers/protobuf-php.git", - "reference": "ff079fe467bf86ac8f3359e2eb77a1613ebd204d" + "reference": "84b008c23915ed94536737eae46f41ba3bccfe67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/ff079fe467bf86ac8f3359e2eb77a1613ebd204d", - "reference": "ff079fe467bf86ac8f3359e2eb77a1613ebd204d", + "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/84b008c23915ed94536737eae46f41ba3bccfe67", + "reference": "84b008c23915ed94536737eae46f41ba3bccfe67", "shasum": "" }, "require": { - "php": ">=7.0.0" + "php": ">=8.1.0" }, "require-dev": { - "phpunit/phpunit": ">=5.0.0" + "phpunit/phpunit": ">=10.5.62 <11.0.0" }, "suggest": { "ext-bcmath": "Need to support JSON deserialization" @@ -640,9 +640,9 @@ "proto" ], "support": { - "source": "https://github.com/protocolbuffers/protobuf-php/tree/v4.27.3" + "source": "https://github.com/protocolbuffers/protobuf-php/tree/v4.33.6" }, - "time": "2024-07-31T13:27:16+00:00" + "time": "2026-03-18T17:32:05+00:00" }, { "name": "grpc/grpc", @@ -1814,5 +1814,5 @@ "php": ">=7.2.5" }, "platform-dev": [], - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.2.0" } diff --git a/vendor/autoload_original.php b/vendor/autoload_original.php index 48f454953..6a72a3e0d 100644 --- a/vendor/autoload_original.php +++ b/vendor/autoload_original.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInitfa7e66e6d19f1b898ffbfb50743b5557::getLoader(); +return ComposerAutoloaderInit8a3018fcce906572d4472a4dcff45985::getLoader(); diff --git a/vendor/composer/InstalledVersions.php b/vendor/composer/InstalledVersions.php index 51e734a77..d50e0c9fc 100644 --- a/vendor/composer/InstalledVersions.php +++ b/vendor/composer/InstalledVersions.php @@ -21,14 +21,12 @@ * See also https://getcomposer.org/doc/07-runtime.md#installed-versions * * To require its presence, you can require `composer-runtime-api ^2.0` - * - * @final */ class InstalledVersions { /** * @var mixed[]|null - * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array}|array{}|null + * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array}|array{}|null */ private static $installed; @@ -39,7 +37,7 @@ class InstalledVersions /** * @var array[] - * @psalm-var array}> + * @psalm-var array}> */ private static $installedByVendor = array(); @@ -98,7 +96,7 @@ public static function isInstalled($packageName, $includeDevRequirements = true) { foreach (self::getInstalled() as $installed) { if (isset($installed['versions'][$packageName])) { - return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false; + return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']); } } @@ -119,7 +117,7 @@ public static function isInstalled($packageName, $includeDevRequirements = true) */ public static function satisfies(VersionParser $parser, $packageName, $constraint) { - $constraint = $parser->parseConstraints((string) $constraint); + $constraint = $parser->parseConstraints($constraint); $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); return $provided->matches($constraint); @@ -243,7 +241,7 @@ public static function getInstallPath($packageName) /** * @return array - * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool} + * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string} */ public static function getRootPackage() { @@ -257,7 +255,7 @@ public static function getRootPackage() * * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. * @return array[] - * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} + * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array} */ public static function getRawData() { @@ -280,7 +278,7 @@ public static function getRawData() * Returns the raw data of all installed.php which are currently loaded for custom implementations * * @return array[] - * @psalm-return list}> + * @psalm-return list}> */ public static function getAllRawData() { @@ -303,7 +301,7 @@ public static function getAllRawData() * @param array[] $data A vendor/composer/installed.php data set * @return void * - * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $data + * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array} $data */ public static function reload($data) { @@ -313,7 +311,7 @@ public static function reload($data) /** * @return array[] - * @psalm-return list}> + * @psalm-return list}> */ private static function getInstalled() { @@ -328,9 +326,7 @@ private static function getInstalled() if (isset(self::$installedByVendor[$vendorDir])) { $installed[] = self::$installedByVendor[$vendorDir]; } elseif (is_file($vendorDir.'/composer/installed.php')) { - /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $required */ - $required = require $vendorDir.'/composer/installed.php'; - $installed[] = self::$installedByVendor[$vendorDir] = $required; + $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { self::$installed = $installed[count($installed) - 1]; } @@ -342,17 +338,12 @@ private static function getInstalled() // only require the installed.php file if this file is loaded from its dumped location, // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 if (substr(__DIR__, -8, 1) !== 'C') { - /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $required */ - $required = require __DIR__ . '/installed.php'; - self::$installed = $required; + self::$installed = require __DIR__ . '/installed.php'; } else { self::$installed = array(); } } - - if (self::$installed !== array()) { - $installed[] = self::$installed; - } + $installed[] = self::$installed; return $installed; } diff --git a/vendor/composer/LICENSE b/vendor/composer/LICENSE index f27399a04..62ecfd8d0 100644 --- a/vendor/composer/LICENSE +++ b/vendor/composer/LICENSE @@ -1,4 +1,3 @@ - Copyright (c) Nils Adermann, Jordi Boggiano Permission is hereby granted, free of charge, to any person obtaining a copy @@ -18,4 +17,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php index dd0abd5e1..be9ffe33c 100644 --- a/vendor/composer/autoload_files.php +++ b/vendor/composer/autoload_files.php @@ -9,8 +9,8 @@ '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php', '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', - 'e39a8b23c42d4e1452234d762b03835a' => $vendorDir . '/ramsey/uuid/src/functions.php', 'decc78cc4436b1292c6c0d151b19445c' => $vendorDir . '/phpseclib/phpseclib/phpseclib/bootstrap.php', + 'e39a8b23c42d4e1452234d762b03835a' => $vendorDir . '/ramsey/uuid/src/functions.php', '1f87db08236948d07391152dccb70f04' => $vendorDir . '/google/apiclient-services/autoload.php', 'a8d3953fd9959404dd22d3dfcd0a79f0' => $vendorDir . '/google/apiclient/src/aliases.php', '56823cacd97af379eceaf82ad00b928f' => $vendorDir . '/phpseclib/bcmath_compat/lib/bcmath.php', diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 1582a9d2b..f6d222a8e 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitfa7e66e6d19f1b898ffbfb50743b5557 +class ComposerAutoloaderInit8a3018fcce906572d4472a4dcff45985 { private static $loader; @@ -22,15 +22,15 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInitfa7e66e6d19f1b898ffbfb50743b5557', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit8a3018fcce906572d4472a4dcff45985', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); - spl_autoload_unregister(array('ComposerAutoloaderInitfa7e66e6d19f1b898ffbfb50743b5557', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit8a3018fcce906572d4472a4dcff45985', 'loadClassLoader')); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); if ($useStaticLoader) { require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInitfa7e66e6d19f1b898ffbfb50743b5557::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit8a3018fcce906572d4472a4dcff45985::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -51,12 +51,12 @@ public static function getLoader() $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInitfa7e66e6d19f1b898ffbfb50743b5557::$files; + $includeFiles = Composer\Autoload\ComposerStaticInit8a3018fcce906572d4472a4dcff45985::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequirefa7e66e6d19f1b898ffbfb50743b5557($fileIdentifier, $file); + composerRequire8a3018fcce906572d4472a4dcff45985($fileIdentifier, $file); } return $loader; @@ -68,7 +68,7 @@ public static function getLoader() * @param string $file * @return void */ -function composerRequirefa7e66e6d19f1b898ffbfb50743b5557($fileIdentifier, $file) +function composerRequire8a3018fcce906572d4472a4dcff45985($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 927c0f52e..38aba4deb 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInitfa7e66e6d19f1b898ffbfb50743b5557 +class ComposerStaticInit8a3018fcce906572d4472a4dcff45985 { public static $files = array( ); @@ -245,9 +245,9 @@ class ComposerStaticInitfa7e66e6d19f1b898ffbfb50743b5557 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInitfa7e66e6d19f1b898ffbfb50743b5557::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInitfa7e66e6d19f1b898ffbfb50743b5557::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInitfa7e66e6d19f1b898ffbfb50743b5557::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit8a3018fcce906572d4472a4dcff45985::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit8a3018fcce906572d4472a4dcff45985::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit8a3018fcce906572d4472a4dcff45985::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 4fa59ade4..9026199be 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -629,29 +629,29 @@ }, { "name": "google/protobuf", - "version": "v4.27.3", - "version_normalized": "4.27.3.0", + "version": "v4.33.6", + "version_normalized": "4.33.6.0", "source": { "type": "git", "url": "https://github.com/protocolbuffers/protobuf-php.git", - "reference": "ff079fe467bf86ac8f3359e2eb77a1613ebd204d" + "reference": "84b008c23915ed94536737eae46f41ba3bccfe67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/ff079fe467bf86ac8f3359e2eb77a1613ebd204d", - "reference": "ff079fe467bf86ac8f3359e2eb77a1613ebd204d", + "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/84b008c23915ed94536737eae46f41ba3bccfe67", + "reference": "84b008c23915ed94536737eae46f41ba3bccfe67", "shasum": "" }, "require": { - "php": ">=7.0.0" + "php": ">=8.1.0" }, "require-dev": { - "phpunit/phpunit": ">=5.0.0" + "phpunit/phpunit": ">=10.5.62 <11.0.0" }, "suggest": { "ext-bcmath": "Need to support JSON deserialization" }, - "time": "2024-07-31T13:27:16+00:00", + "time": "2026-03-18T17:32:05+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -670,7 +670,7 @@ "proto" ], "support": { - "source": "https://github.com/protocolbuffers/protobuf-php/tree/v4.27.3" + "source": "https://github.com/protocolbuffers/protobuf-php/tree/v4.33.6" }, "install-path": "../google/protobuf" }, diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 45cfadd82..53d84d58d 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -1,166 +1,166 @@ array( - 'name' => '__root__', - 'pretty_version' => 'dev-5.x-dev', - 'version' => 'dev-5.x-dev', - 'reference' => '1d9833c2212f051bc024e55ad57f6f30e33971a4', + 'pretty_version' => 'dev-update-protobuf-dependecy', + 'version' => 'dev-update-protobuf-dependecy', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), + 'reference' => 'd2ae6d542ea0243481f2935abd4c5157f7c9f094', + 'name' => '__root__', 'dev' => true, ), 'versions' => array( '__root__' => array( - 'pretty_version' => 'dev-5.x-dev', - 'version' => 'dev-5.x-dev', - 'reference' => '1d9833c2212f051bc024e55ad57f6f30e33971a4', + 'pretty_version' => 'dev-update-protobuf-dependecy', + 'version' => 'dev-update-protobuf-dependecy', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), + 'reference' => 'd2ae6d542ea0243481f2935abd4c5157f7c9f094', 'dev_requirement' => false, ), 'brick/math' => array( 'pretty_version' => '0.12.1', 'version' => '0.12.1.0', - 'reference' => 'f510c0a40911935b77b86859eb5223d58d660df1', 'type' => 'library', 'install_path' => __DIR__ . '/../brick/math', 'aliases' => array(), + 'reference' => 'f510c0a40911935b77b86859eb5223d58d660df1', 'dev_requirement' => false, ), 'firebase/php-jwt' => array( 'pretty_version' => 'v6.10.1', 'version' => '6.10.1.0', - 'reference' => '500501c2ce893c824c801da135d02661199f60c5', 'type' => 'library', 'install_path' => __DIR__ . '/../firebase/php-jwt', 'aliases' => array(), + 'reference' => '500501c2ce893c824c801da135d02661199f60c5', 'dev_requirement' => false, ), 'google/analytics-admin' => array( 'pretty_version' => 'v0.22.5', 'version' => '0.22.5.0', - 'reference' => 'c28dce5b3158381a755d4a4443aa4e2b8d1a2809', 'type' => 'library', 'install_path' => __DIR__ . '/../google/analytics-admin', 'aliases' => array(), + 'reference' => 'c28dce5b3158381a755d4a4443aa4e2b8d1a2809', 'dev_requirement' => false, ), 'google/analytics-data' => array( 'pretty_version' => 'v0.17.1', 'version' => '0.17.1.0', - 'reference' => '0a7b129fd483179d16780d548be4fe16cd8bdc1a', 'type' => 'library', 'install_path' => __DIR__ . '/../google/analytics-data', 'aliases' => array(), + 'reference' => '0a7b129fd483179d16780d548be4fe16cd8bdc1a', 'dev_requirement' => false, ), 'google/apiclient' => array( 'pretty_version' => 'v2.15.4', 'version' => '2.15.4.0', - 'reference' => '73fa9cf8d8886db7269bcda0457d0a251a02cfd9', 'type' => 'library', 'install_path' => __DIR__ . '/../google/apiclient', 'aliases' => array(), + 'reference' => '73fa9cf8d8886db7269bcda0457d0a251a02cfd9', 'dev_requirement' => false, ), 'google/apiclient-services' => array( 'pretty_version' => 'v0.224.1', 'version' => '0.224.1.0', - 'reference' => '06e515176ebf32c3dcf7c01b3f377af6bfca6ae3', 'type' => 'library', 'install_path' => __DIR__ . '/../google/apiclient-services', 'aliases' => array(), + 'reference' => '06e515176ebf32c3dcf7c01b3f377af6bfca6ae3', 'dev_requirement' => false, ), 'google/auth' => array( 'pretty_version' => 'v1.41.0', 'version' => '1.41.0.0', - 'reference' => '1043ea18fe7f5dfbf5b208ce3ee6d6b6ab8cb038', 'type' => 'library', 'install_path' => __DIR__ . '/../google/auth', 'aliases' => array(), + 'reference' => '1043ea18fe7f5dfbf5b208ce3ee6d6b6ab8cb038', 'dev_requirement' => false, ), 'google/common-protos' => array( 'pretty_version' => 'v4.7.0', 'version' => '4.7.0.0', - 'reference' => 'e58068776f57605c336e32c7db373f0a81da17b8', 'type' => 'library', 'install_path' => __DIR__ . '/../google/common-protos', 'aliases' => array(), + 'reference' => 'e58068776f57605c336e32c7db373f0a81da17b8', 'dev_requirement' => false, ), 'google/gax' => array( 'pretty_version' => 'v1.34.0', 'version' => '1.34.0.0', - 'reference' => '28aa3e95969a75b278606a88448992a6396a119e', 'type' => 'library', 'install_path' => __DIR__ . '/../google/gax', 'aliases' => array(), + 'reference' => '28aa3e95969a75b278606a88448992a6396a119e', 'dev_requirement' => false, ), 'google/grpc-gcp' => array( 'pretty_version' => 'v0.4.0', 'version' => '0.4.0.0', - 'reference' => '2a80dbf690922aa52bb6bb79b9a32a9637a5c2d9', 'type' => 'library', 'install_path' => __DIR__ . '/../google/grpc-gcp', 'aliases' => array(), + 'reference' => '2a80dbf690922aa52bb6bb79b9a32a9637a5c2d9', 'dev_requirement' => false, ), 'google/longrunning' => array( 'pretty_version' => '0.4.3', 'version' => '0.4.3.0', - 'reference' => 'ed718a735e407826c3332b7197a44602eb03e608', 'type' => 'library', 'install_path' => __DIR__ . '/../google/longrunning', 'aliases' => array(), + 'reference' => 'ed718a735e407826c3332b7197a44602eb03e608', 'dev_requirement' => false, ), 'google/protobuf' => array( - 'pretty_version' => 'v4.27.3', - 'version' => '4.27.3.0', - 'reference' => 'ff079fe467bf86ac8f3359e2eb77a1613ebd204d', + 'pretty_version' => 'v4.33.6', + 'version' => '4.33.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../google/protobuf', 'aliases' => array(), + 'reference' => '84b008c23915ed94536737eae46f41ba3bccfe67', 'dev_requirement' => false, ), 'grpc/grpc' => array( 'pretty_version' => '1.74.0', 'version' => '1.74.0.0', - 'reference' => '32bf4dba256d60d395582fb6e4e8d3936bcdb713', 'type' => 'library', 'install_path' => __DIR__ . '/../grpc/grpc', 'aliases' => array(), + 'reference' => '32bf4dba256d60d395582fb6e4e8d3936bcdb713', 'dev_requirement' => false, ), 'guzzlehttp/guzzle' => array( 'pretty_version' => '7.9.2', 'version' => '7.9.2.0', - 'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), + 'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b', 'dev_requirement' => false, ), 'guzzlehttp/promises' => array( 'pretty_version' => '2.0.3', 'version' => '2.0.3.0', - 'reference' => '6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), + 'reference' => '6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8', 'dev_requirement' => false, ), 'guzzlehttp/psr7' => array( 'pretty_version' => '2.7.0', 'version' => '2.7.0.0', - 'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), + 'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201', 'dev_requirement' => false, ), 'monolog/monolog' => array( @@ -172,55 +172,55 @@ 'paragonie/constant_time_encoding' => array( 'pretty_version' => 'v2.5.0', 'version' => '2.5.0.0', - 'reference' => '9229e15f2e6ba772f0c55dd6986c563b937170a8', 'type' => 'library', 'install_path' => __DIR__ . '/../paragonie/constant_time_encoding', 'aliases' => array(), + 'reference' => '9229e15f2e6ba772f0c55dd6986c563b937170a8', 'dev_requirement' => false, ), 'paragonie/random_compat' => array( 'pretty_version' => 'v9.99.100', 'version' => '9.99.100.0', - 'reference' => '996434e5492cb4c3edcb9168db6fbb1359ef965a', 'type' => 'library', 'install_path' => __DIR__ . '/../paragonie/random_compat', 'aliases' => array(), + 'reference' => '996434e5492cb4c3edcb9168db6fbb1359ef965a', 'dev_requirement' => false, ), 'phpseclib/bcmath_compat' => array( 'pretty_version' => '2.0.3', 'version' => '2.0.3.0', - 'reference' => 'ae8f87ea0c96b2ef08ecf0d291d45372d0f7bc5a', 'type' => 'library', 'install_path' => __DIR__ . '/../phpseclib/bcmath_compat', 'aliases' => array(), + 'reference' => 'ae8f87ea0c96b2ef08ecf0d291d45372d0f7bc5a', 'dev_requirement' => false, ), 'phpseclib/phpseclib' => array( 'pretty_version' => '3.0.50', 'version' => '3.0.50.0', - 'reference' => 'aa6ad8321ed103dc3624fb600a25b66ebf78ec7b', 'type' => 'library', 'install_path' => __DIR__ . '/../phpseclib/phpseclib', 'aliases' => array(), + 'reference' => 'aa6ad8321ed103dc3624fb600a25b66ebf78ec7b', 'dev_requirement' => false, ), 'psr/cache' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => 'aa5030cfa5405eccfdcb1083ce040c2cb8d253bf', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/cache', 'aliases' => array(), + 'reference' => 'aa5030cfa5405eccfdcb1083ce040c2cb8d253bf', 'dev_requirement' => false, ), 'psr/http-client' => array( 'pretty_version' => '1.0.1', 'version' => '1.0.1.0', - 'reference' => '2dfb5f6c5eff0e91e20e913f8c5452ed95b86621', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), + 'reference' => '2dfb5f6c5eff0e91e20e913f8c5452ed95b86621', 'dev_requirement' => false, ), 'psr/http-client-implementation' => array( @@ -232,10 +232,10 @@ 'psr/http-factory' => array( 'pretty_version' => '1.0.1', 'version' => '1.0.1.0', - 'reference' => '12ac7fcd07e5b077433f5f2bee95b3a771bf61be', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), + 'reference' => '12ac7fcd07e5b077433f5f2bee95b3a771bf61be', 'dev_requirement' => false, ), 'psr/http-factory-implementation' => array( @@ -247,10 +247,10 @@ 'psr/http-message' => array( 'pretty_version' => '1.1', 'version' => '1.1.0.0', - 'reference' => 'cb6ce4845ce34a8ad9e68117c10ee90a29919eba', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), + 'reference' => 'cb6ce4845ce34a8ad9e68117c10ee90a29919eba', 'dev_requirement' => false, ), 'psr/http-message-implementation' => array( @@ -262,28 +262,28 @@ 'ralouphie/getallheaders' => array( 'pretty_version' => '3.0.3', 'version' => '3.0.3.0', - 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), + 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'dev_requirement' => false, ), 'ramsey/collection' => array( 'pretty_version' => '2.0.0', 'version' => '2.0.0.0', - 'reference' => 'a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5', 'type' => 'library', 'install_path' => __DIR__ . '/../ramsey/collection', 'aliases' => array(), + 'reference' => 'a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5', 'dev_requirement' => false, ), 'ramsey/uuid' => array( 'pretty_version' => '4.7.6', 'version' => '4.7.6.0', - 'reference' => '91039bc1faa45ba123c4328958e620d382ec7088', 'type' => 'library', 'install_path' => __DIR__ . '/../ramsey/uuid', 'aliases' => array(), + 'reference' => '91039bc1faa45ba123c4328958e620d382ec7088', 'dev_requirement' => false, ), 'rhumsaa/uuid' => array( @@ -295,10 +295,10 @@ 'symfony/deprecation-contracts' => array( 'pretty_version' => 'v2.5.2', 'version' => '2.5.2.0', - 'reference' => 'e8b495ea28c1d97b5e0c121748d6f9b53d075c66', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), + 'reference' => 'e8b495ea28c1d97b5e0c121748d6f9b53d075c66', 'dev_requirement' => false, ), ), diff --git a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Any.php b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Any.php index d9d631a7c..74d214218 100644 --- a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Any.php +++ b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Any.php @@ -1,6 +1,7 @@ internalAddGeneratedFile(' -Ô -google/protobuf/any.protogoogle.protobuf"& -Any -type_url (  -value ( Bv -com.google.protobufBAnyProtoPZ,google.golang.org/protobuf/types/known/anypb¢GPBªGoogle.Protobuf.WellKnownTypesbproto3', \true); + $pool->internalAddGeneratedFile("\n\xd4\x01\n\x19google/protobuf/any.proto\x12\x0fgoogle.protobuf\"&\n\x03Any\x12\x10\n\x08type_url\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\fBv\n\x13com.google.protobufB\x08AnyProtoP\x01Z,google.golang.org/protobuf/types/known/anypb\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3", \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Api.php b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Api.php index 281566bec..c840ea71c 100644 --- a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Api.php +++ b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Api.php @@ -1,6 +1,7 @@ internalAddGeneratedFile(' -É -google/protobuf/api.protogoogle.protobufgoogle/protobuf/type.proto" -Api -name ( ( -methods ( 2.google.protobuf.Method( -options ( 2.google.protobuf.Option -version ( 6 -source_context ( 2.google.protobuf.SourceContext& -mixins ( 2.google.protobuf.Mixin\' -syntax (2.google.protobuf.Syntax"Õ -Method -name (  -request_type_url (  -request_streaming ( -response_type_url (  -response_streaming (( -options ( 2.google.protobuf.Option\' -syntax (2.google.protobuf.Syntax"# -Mixin -name (  -root ( Bv -com.google.protobufBApiProtoPZ,google.golang.org/protobuf/types/known/apipb¢GPBªGoogle.Protobuf.WellKnownTypesbproto3', \true); + $pool->internalAddGeneratedFile("\n\xf3\x05\n\x19google/protobuf/api.proto\x12\x0fgoogle.protobuf\x1a\x1agoogle/protobuf/type.proto\"\x92\x02\n\x03Api\x12\f\n\x04name\x18\x01 \x01(\t\x12(\n\x07methods\x18\x02 \x03(\v2\x17.google.protobuf.Method\x12(\n\x07options\x18\x03 \x03(\v2\x17.google.protobuf.Option\x12\x0f\n\x07version\x18\x04 \x01(\t\x126\n\x0esource_context\x18\x05 \x01(\v2\x1e.google.protobuf.SourceContext\x12&\n\x06mixins\x18\x06 \x03(\v2\x16.google.protobuf.Mixin\x12'\n\x06syntax\x18\x07 \x01(\x0e2\x17.google.protobuf.Syntax\x12\x0f\n\x07edition\x18\x08 \x01(\t\"\xee\x01\n\x06Method\x12\f\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10request_type_url\x18\x02 \x01(\t\x12\x19\n\x11request_streaming\x18\x03 \x01(\x08\x12\x19\n\x11response_type_url\x18\x04 \x01(\t\x12\x1a\n\x12response_streaming\x18\x05 \x01(\x08\x12(\n\x07options\x18\x06 \x03(\v2\x17.google.protobuf.Option\x12+\n\x06syntax\x18\x07 \x01(\x0e2\x17.google.protobuf.SyntaxB\x02\x18\x01\x12\x13\n\x07edition\x18\x08 \x01(\tB\x02\x18\x01\"#\n\x05Mixin\x12\f\n\x04name\x18\x01 \x01(\t\x12\f\n\x04root\x18\x02 \x01(\tBv\n\x13com.google.protobufB\x08ApiProtoP\x01Z,google.golang.org/protobuf/types/known/apipb\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3", \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Duration.php b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Duration.php index 521afe4c7..1ebb19db4 100644 --- a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Duration.php +++ b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Duration.php @@ -1,6 +1,7 @@ internalAddGeneratedFile(' -ë -google/protobuf/duration.protogoogle.protobuf"* -Duration -seconds ( -nanos (Bƒ -com.google.protobufB DurationProtoPZ1google.golang.org/protobuf/types/known/durationpbø¢GPBªGoogle.Protobuf.WellKnownTypesbproto3', \true); + $pool->internalAddGeneratedFile("\n\xeb\x01\n\x1egoogle/protobuf/duration.proto\x12\x0fgoogle.protobuf\"*\n\x08Duration\x12\x0f\n\x07seconds\x18\x01 \x01(\x03\x12\r\n\x05nanos\x18\x02 \x01(\x05B\x83\x01\n\x13com.google.protobufB\rDurationProtoP\x01Z1google.golang.org/protobuf/types/known/durationpb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3", \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/FieldMask.php b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/FieldMask.php index 008fecc3e..7bf4ea066 100644 --- a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/FieldMask.php +++ b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/FieldMask.php @@ -1,6 +1,7 @@ internalAddGeneratedFile(' -ß - google/protobuf/field_mask.protogoogle.protobuf" - FieldMask -paths ( B… -com.google.protobufBFieldMaskProtoPZ2google.golang.org/protobuf/types/known/fieldmaskpbø¢GPBªGoogle.Protobuf.WellKnownTypesbproto3', \true); + $pool->internalAddGeneratedFile("\n\xdf\x01\n google/protobuf/field_mask.proto\x12\x0fgoogle.protobuf\"\x1a\n\tFieldMask\x12\r\n\x05paths\x18\x01 \x03(\tB\x85\x01\n\x13com.google.protobufB\x0eFieldMaskProtoP\x01Z2google.golang.org/protobuf/types/known/fieldmaskpb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3", \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/GPBEmpty.php b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/GPBEmpty.php index cf6ad96b0..39d9968c9 100644 --- a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/GPBEmpty.php +++ b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/GPBEmpty.php @@ -1,6 +1,7 @@ internalAddGeneratedFile(' -¾ -google/protobuf/empty.protogoogle.protobuf" -EmptyB} -com.google.protobufB -EmptyProtoPZ.google.golang.org/protobuf/types/known/emptypbø¢GPBªGoogle.Protobuf.WellKnownTypesbproto3', \true); + $pool->internalAddGeneratedFile("\n\xbe\x01\n\x1bgoogle/protobuf/empty.proto\x12\x0fgoogle.protobuf\"\x07\n\x05EmptyB}\n\x13com.google.protobufB\nEmptyProtoP\x01Z.google.golang.org/protobuf/types/known/emptypb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3", \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php index 6397e24c7..a38bb302d 100644 --- a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php +++ b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php @@ -1,6 +1,7 @@ addMessage('google.protobuf.internal.FileDescriptorSet', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FileDescriptorSet::class)->repeated('file', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 1, 'google.protobuf.internal.FileDescriptorProto')->finalizeToPool(); - $pool->addMessage('google.protobuf.internal.FileDescriptorProto', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FileDescriptorProto::class)->optional('name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->optional('package', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 2)->repeated('dependency', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 3)->repeated('public_dependency', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 10)->repeated('weak_dependency', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 11)->repeated('message_type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.DescriptorProto')->repeated('enum_type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 5, 'google.protobuf.internal.EnumDescriptorProto')->repeated('service', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 6, 'google.protobuf.internal.ServiceDescriptorProto')->repeated('extension', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 7, 'google.protobuf.internal.FieldDescriptorProto')->optional('options', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 8, 'google.protobuf.internal.FileOptions')->optional('source_code_info', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 9, 'google.protobuf.internal.SourceCodeInfo')->optional('syntax', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 12)->optional('edition', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 13)->finalizeToPool(); - $pool->addMessage('google.protobuf.internal.DescriptorProto', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\DescriptorProto::class)->optional('name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->repeated('field', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.FieldDescriptorProto')->repeated('extension', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 6, 'google.protobuf.internal.FieldDescriptorProto')->repeated('nested_type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.DescriptorProto')->repeated('enum_type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.EnumDescriptorProto')->repeated('extension_range', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 5, 'google.protobuf.internal.DescriptorProto.ExtensionRange')->repeated('oneof_decl', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 8, 'google.protobuf.internal.OneofDescriptorProto')->optional('options', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 7, 'google.protobuf.internal.MessageOptions')->repeated('reserved_range', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 9, 'google.protobuf.internal.DescriptorProto.ReservedRange')->repeated('reserved_name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 10)->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.FileDescriptorProto', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FileDescriptorProto::class)->optional('name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->optional('package', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 2)->repeated('dependency', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 3)->repeated('public_dependency', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 10)->repeated('weak_dependency', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 11)->repeated('option_dependency', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 15)->repeated('message_type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.DescriptorProto')->repeated('enum_type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 5, 'google.protobuf.internal.EnumDescriptorProto')->repeated('service', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 6, 'google.protobuf.internal.ServiceDescriptorProto')->repeated('extension', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 7, 'google.protobuf.internal.FieldDescriptorProto')->optional('options', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 8, 'google.protobuf.internal.FileOptions')->optional('source_code_info', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 9, 'google.protobuf.internal.SourceCodeInfo')->optional('syntax', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 12)->optional('edition', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 14, 'google.protobuf.internal.Edition')->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.DescriptorProto', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\DescriptorProto::class)->optional('name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->repeated('field', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.FieldDescriptorProto')->repeated('extension', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 6, 'google.protobuf.internal.FieldDescriptorProto')->repeated('nested_type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.DescriptorProto')->repeated('enum_type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.EnumDescriptorProto')->repeated('extension_range', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 5, 'google.protobuf.internal.DescriptorProto.ExtensionRange')->repeated('oneof_decl', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 8, 'google.protobuf.internal.OneofDescriptorProto')->optional('options', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 7, 'google.protobuf.internal.MessageOptions')->repeated('reserved_range', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 9, 'google.protobuf.internal.DescriptorProto.ReservedRange')->repeated('reserved_name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 10)->optional('visibility', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 11, 'google.protobuf.internal.SymbolVisibility')->finalizeToPool(); $pool->addMessage('google.protobuf.internal.DescriptorProto.ExtensionRange', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\DescriptorProto\ExtensionRange::class)->optional('start', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 1)->optional('end', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 2)->optional('options', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.ExtensionRangeOptions')->finalizeToPool(); $pool->addMessage('google.protobuf.internal.DescriptorProto.ReservedRange', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\DescriptorProto\ReservedRange::class)->optional('start', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 1)->optional('end', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 2)->finalizeToPool(); - $pool->addMessage('google.protobuf.internal.ExtensionRangeOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\ExtensionRangeOptions::class)->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.ExtensionRangeOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\ExtensionRangeOptions::class)->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->repeated('declaration', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.ExtensionRangeOptions.Declaration')->optional('features', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 50, 'google.protobuf.internal.FeatureSet')->optional('verification', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 3, 'google.protobuf.internal.ExtensionRangeOptions.VerificationState')->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.ExtensionRangeOptions.Declaration', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\ExtensionRangeOptions\Declaration::class)->optional('number', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 1)->optional('full_name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 2)->optional('type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 3)->optional('reserved', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 5)->optional('repeated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 6)->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.ExtensionRangeOptions.VerificationState', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\VerificationState::class)->value("DECLARATION", 0)->value("UNVERIFIED", 1)->finalizeToPool(); $pool->addMessage('google.protobuf.internal.FieldDescriptorProto', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldDescriptorProto::class)->optional('name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->optional('number', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 3)->optional('label', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 4, 'google.protobuf.internal.FieldDescriptorProto.Label')->optional('type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 5, 'google.protobuf.internal.FieldDescriptorProto.Type')->optional('type_name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 6)->optional('extendee', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 2)->optional('default_value', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 7)->optional('oneof_index', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 9)->optional('json_name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 10)->optional('options', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 8, 'google.protobuf.internal.FieldOptions')->optional('proto3_optional', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 17)->finalizeToPool(); $pool->addEnum('google.protobuf.internal.FieldDescriptorProto.Type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Type::class)->value("TYPE_DOUBLE", 1)->value("TYPE_FLOAT", 2)->value("TYPE_INT64", 3)->value("TYPE_UINT64", 4)->value("TYPE_INT32", 5)->value("TYPE_FIXED64", 6)->value("TYPE_FIXED32", 7)->value("TYPE_BOOL", 8)->value("TYPE_STRING", 9)->value("TYPE_GROUP", 10)->value("TYPE_MESSAGE", 11)->value("TYPE_BYTES", 12)->value("TYPE_UINT32", 13)->value("TYPE_ENUM", 14)->value("TYPE_SFIXED32", 15)->value("TYPE_SFIXED64", 16)->value("TYPE_SINT32", 17)->value("TYPE_SINT64", 18)->finalizeToPool(); - $pool->addEnum('google.protobuf.internal.FieldDescriptorProto.Label', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Label::class)->value("LABEL_OPTIONAL", 1)->value("LABEL_REQUIRED", 2)->value("LABEL_REPEATED", 3)->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.FieldDescriptorProto.Label', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Label::class)->value("LABEL_OPTIONAL", 1)->value("LABEL_REPEATED", 3)->value("LABEL_REQUIRED", 2)->finalizeToPool(); $pool->addMessage('google.protobuf.internal.OneofDescriptorProto', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\OneofDescriptorProto::class)->optional('name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->optional('options', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.OneofOptions')->finalizeToPool(); - $pool->addMessage('google.protobuf.internal.EnumDescriptorProto', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\EnumDescriptorProto::class)->optional('name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->repeated('value', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.EnumValueDescriptorProto')->optional('options', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.EnumOptions')->repeated('reserved_range', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.EnumDescriptorProto.EnumReservedRange')->repeated('reserved_name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 5)->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.EnumDescriptorProto', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\EnumDescriptorProto::class)->optional('name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->repeated('value', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.EnumValueDescriptorProto')->optional('options', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.EnumOptions')->repeated('reserved_range', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.EnumDescriptorProto.EnumReservedRange')->repeated('reserved_name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 5)->optional('visibility', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 6, 'google.protobuf.internal.SymbolVisibility')->finalizeToPool(); $pool->addMessage('google.protobuf.internal.EnumDescriptorProto.EnumReservedRange', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange::class)->optional('start', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 1)->optional('end', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 2)->finalizeToPool(); $pool->addMessage('google.protobuf.internal.EnumValueDescriptorProto', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\EnumValueDescriptorProto::class)->optional('name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->optional('number', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 2)->optional('options', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.EnumValueOptions')->finalizeToPool(); $pool->addMessage('google.protobuf.internal.ServiceDescriptorProto', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\ServiceDescriptorProto::class)->optional('name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->repeated('method', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.MethodDescriptorProto')->optional('options', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.ServiceOptions')->finalizeToPool(); $pool->addMessage('google.protobuf.internal.MethodDescriptorProto', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\MethodDescriptorProto::class)->optional('name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->optional('input_type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 2)->optional('output_type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 3)->optional('options', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.MethodOptions')->optional('client_streaming', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 5)->optional('server_streaming', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 6)->finalizeToPool(); - $pool->addMessage('google.protobuf.internal.FileOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FileOptions::class)->optional('java_package', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->optional('java_outer_classname', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 8)->optional('java_multiple_files', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 10)->optional('java_generate_equals_and_hash', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 20)->optional('java_string_check_utf8', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 27)->optional('optimize_for', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 9, 'google.protobuf.internal.FileOptions.OptimizeMode')->optional('go_package', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 11)->optional('cc_generic_services', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 16)->optional('java_generic_services', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 17)->optional('py_generic_services', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 18)->optional('php_generic_services', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 42)->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 23)->optional('cc_enable_arenas', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 31)->optional('objc_class_prefix', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 36)->optional('csharp_namespace', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 37)->optional('swift_prefix', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 39)->optional('php_class_prefix', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 40)->optional('php_namespace', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 41)->optional('php_metadata_namespace', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 44)->optional('ruby_package', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 45)->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.FileOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FileOptions::class)->optional('java_package', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->optional('java_outer_classname', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 8)->optional('java_multiple_files', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 10)->optional('java_generate_equals_and_hash', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 20)->optional('java_string_check_utf8', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 27)->optional('optimize_for', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 9, 'google.protobuf.internal.FileOptions.OptimizeMode')->optional('go_package', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 11)->optional('cc_generic_services', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 16)->optional('java_generic_services', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 17)->optional('py_generic_services', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 18)->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 23)->optional('cc_enable_arenas', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 31)->optional('objc_class_prefix', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 36)->optional('csharp_namespace', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 37)->optional('swift_prefix', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 39)->optional('php_class_prefix', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 40)->optional('php_namespace', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 41)->optional('php_metadata_namespace', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 44)->optional('ruby_package', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 45)->optional('features', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 50, 'google.protobuf.internal.FeatureSet')->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); $pool->addEnum('google.protobuf.internal.FileOptions.OptimizeMode', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\OptimizeMode::class)->value("SPEED", 1)->value("CODE_SIZE", 2)->value("LITE_RUNTIME", 3)->finalizeToPool(); - $pool->addMessage('google.protobuf.internal.MessageOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\MessageOptions::class)->optional('message_set_wire_format', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 1)->optional('no_standard_descriptor_accessor', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 2)->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 3)->optional('map_entry', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 7)->optional('deprecated_legacy_json_field_conflicts', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 11)->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); - $pool->addMessage('google.protobuf.internal.FieldOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldOptions::class)->optional('ctype', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 1, 'google.protobuf.internal.FieldOptions.CType')->optional('packed', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 2)->optional('jstype', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 6, 'google.protobuf.internal.FieldOptions.JSType')->optional('lazy', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 5)->optional('unverified_lazy', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 15)->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 3)->optional('weak', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 10)->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.MessageOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\MessageOptions::class)->optional('message_set_wire_format', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 1)->optional('no_standard_descriptor_accessor', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 2)->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 3)->optional('map_entry', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 7)->optional('deprecated_legacy_json_field_conflicts', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 11)->optional('features', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 12, 'google.protobuf.internal.FeatureSet')->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.FieldOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldOptions::class)->optional('ctype', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 1, 'google.protobuf.internal.FieldOptions.CType')->optional('packed', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 2)->optional('jstype', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 6, 'google.protobuf.internal.FieldOptions.JSType')->optional('lazy', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 5)->optional('unverified_lazy', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 15)->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 3)->optional('weak', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 10)->optional('debug_redact', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 16)->optional('retention', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 17, 'google.protobuf.internal.FieldOptions.OptionRetention')->repeated('targets', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 19, 'google.protobuf.internal.FieldOptions.OptionTargetType')->repeated('edition_defaults', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 20, 'google.protobuf.internal.FieldOptions.EditionDefault')->optional('features', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 21, 'google.protobuf.internal.FeatureSet')->optional('feature_support', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 22, 'google.protobuf.internal.FieldOptions.FeatureSupport')->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.FieldOptions.EditionDefault', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldOptions\EditionDefault::class)->optional('edition', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 3, 'google.protobuf.internal.Edition')->optional('value', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 2)->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.FieldOptions.FeatureSupport', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldOptions\FeatureSupport::class)->optional('edition_introduced', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 1, 'google.protobuf.internal.Edition')->optional('edition_deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 2, 'google.protobuf.internal.Edition')->optional('deprecation_warning', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 3)->optional('edition_removed', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 4, 'google.protobuf.internal.Edition')->finalizeToPool(); $pool->addEnum('google.protobuf.internal.FieldOptions.CType', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\CType::class)->value("STRING", 0)->value("CORD", 1)->value("STRING_PIECE", 2)->finalizeToPool(); $pool->addEnum('google.protobuf.internal.FieldOptions.JSType', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\JSType::class)->value("JS_NORMAL", 0)->value("JS_STRING", 1)->value("JS_NUMBER", 2)->finalizeToPool(); - $pool->addMessage('google.protobuf.internal.OneofOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\OneofOptions::class)->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); - $pool->addMessage('google.protobuf.internal.EnumOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\EnumOptions::class)->optional('allow_alias', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 2)->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 3)->optional('deprecated_legacy_json_field_conflicts', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 6)->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); - $pool->addMessage('google.protobuf.internal.EnumValueOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\EnumValueOptions::class)->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 1)->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); - $pool->addMessage('google.protobuf.internal.ServiceOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\ServiceOptions::class)->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 33)->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); - $pool->addMessage('google.protobuf.internal.MethodOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\MethodOptions::class)->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 33)->optional('idempotency_level', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 34, 'google.protobuf.internal.MethodOptions.IdempotencyLevel')->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.FieldOptions.OptionRetention', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\OptionRetention::class)->value("RETENTION_UNKNOWN", 0)->value("RETENTION_RUNTIME", 1)->value("RETENTION_SOURCE", 2)->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.FieldOptions.OptionTargetType', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\OptionTargetType::class)->value("TARGET_TYPE_UNKNOWN", 0)->value("TARGET_TYPE_FILE", 1)->value("TARGET_TYPE_EXTENSION_RANGE", 2)->value("TARGET_TYPE_MESSAGE", 3)->value("TARGET_TYPE_FIELD", 4)->value("TARGET_TYPE_ONEOF", 5)->value("TARGET_TYPE_ENUM", 6)->value("TARGET_TYPE_ENUM_ENTRY", 7)->value("TARGET_TYPE_SERVICE", 8)->value("TARGET_TYPE_METHOD", 9)->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.OneofOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\OneofOptions::class)->optional('features', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 1, 'google.protobuf.internal.FeatureSet')->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.EnumOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\EnumOptions::class)->optional('allow_alias', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 2)->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 3)->optional('deprecated_legacy_json_field_conflicts', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 6)->optional('features', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 7, 'google.protobuf.internal.FeatureSet')->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.EnumValueOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\EnumValueOptions::class)->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 1)->optional('features', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.FeatureSet')->optional('debug_redact', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 3)->optional('feature_support', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.FieldOptions.FeatureSupport')->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.ServiceOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\ServiceOptions::class)->optional('features', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 34, 'google.protobuf.internal.FeatureSet')->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 33)->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.MethodOptions', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\MethodOptions::class)->optional('deprecated', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 33)->optional('idempotency_level', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 34, 'google.protobuf.internal.MethodOptions.IdempotencyLevel')->optional('features', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 35, 'google.protobuf.internal.FeatureSet')->repeated('uninterpreted_option', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')->finalizeToPool(); $pool->addEnum('google.protobuf.internal.MethodOptions.IdempotencyLevel', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\IdempotencyLevel::class)->value("IDEMPOTENCY_UNKNOWN", 0)->value("NO_SIDE_EFFECTS", 1)->value("IDEMPOTENT", 2)->finalizeToPool(); $pool->addMessage('google.protobuf.internal.UninterpretedOption', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\UninterpretedOption::class)->repeated('name', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.UninterpretedOption.NamePart')->optional('identifier_value', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 3)->optional('positive_int_value', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::UINT64, 4)->optional('negative_int_value', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT64, 5)->optional('double_value', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::DOUBLE, 6)->optional('string_value', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BYTES, 7)->optional('aggregate_value', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 8)->finalizeToPool(); $pool->addMessage('google.protobuf.internal.UninterpretedOption.NamePart', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\UninterpretedOption\NamePart::class)->required('name_part', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 1)->required('is_extension', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::BOOL, 2)->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.FeatureSet', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet::class)->optional('field_presence', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 1, 'google.protobuf.internal.FeatureSet.FieldPresence')->optional('enum_type', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 2, 'google.protobuf.internal.FeatureSet.EnumType')->optional('repeated_field_encoding', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 3, 'google.protobuf.internal.FeatureSet.RepeatedFieldEncoding')->optional('utf8_validation', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 4, 'google.protobuf.internal.FeatureSet.Utf8Validation')->optional('message_encoding', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 5, 'google.protobuf.internal.FeatureSet.MessageEncoding')->optional('json_format', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 6, 'google.protobuf.internal.FeatureSet.JsonFormat')->optional('enforce_naming_style', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 7, 'google.protobuf.internal.FeatureSet.EnforceNamingStyle')->optional('default_symbol_visibility', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 8, 'google.protobuf.internal.FeatureSet.VisibilityFeature.DefaultSymbolVisibility')->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.FeatureSet.VisibilityFeature', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet\VisibilityFeature::class)->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.FeatureSet.VisibilityFeature.DefaultSymbolVisibility', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\DefaultSymbolVisibility::class)->value("DEFAULT_SYMBOL_VISIBILITY_UNKNOWN", 0)->value("EXPORT_ALL", 1)->value("EXPORT_TOP_LEVEL", 2)->value("LOCAL_ALL", 3)->value("STRICT", 4)->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.FeatureSet.FieldPresence', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldPresence::class)->value("FIELD_PRESENCE_UNKNOWN", 0)->value("EXPLICIT", 1)->value("IMPLICIT", 2)->value("LEGACY_REQUIRED", 3)->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.FeatureSet.EnumType', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\EnumType::class)->value("ENUM_TYPE_UNKNOWN", 0)->value("OPEN", 1)->value("CLOSED", 2)->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.FeatureSet.RepeatedFieldEncoding', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedFieldEncoding::class)->value("REPEATED_FIELD_ENCODING_UNKNOWN", 0)->value("PACKED", 1)->value("EXPANDED", 2)->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.FeatureSet.Utf8Validation', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Utf8Validation::class)->value("UTF8_VALIDATION_UNKNOWN", 0)->value("VERIFY", 2)->value("NONE", 3)->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.FeatureSet.MessageEncoding', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\MessageEncoding::class)->value("MESSAGE_ENCODING_UNKNOWN", 0)->value("LENGTH_PREFIXED", 1)->value("DELIMITED", 2)->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.FeatureSet.JsonFormat', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\JsonFormat::class)->value("JSON_FORMAT_UNKNOWN", 0)->value("ALLOW", 1)->value("LEGACY_BEST_EFFORT", 2)->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.FeatureSet.EnforceNamingStyle', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\EnforceNamingStyle::class)->value("ENFORCE_NAMING_STYLE_UNKNOWN", 0)->value("STYLE2024", 1)->value("STYLE_LEGACY", 2)->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.FeatureSetDefaults', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSetDefaults::class)->repeated('defaults', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 1, 'google.protobuf.internal.FeatureSetDefaults.FeatureSetEditionDefault')->optional('minimum_edition', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 4, 'google.protobuf.internal.Edition')->optional('maximum_edition', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 5, 'google.protobuf.internal.Edition')->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.FeatureSetDefaults.FeatureSetEditionDefault', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSetDefaults\FeatureSetEditionDefault::class)->optional('edition', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 3, 'google.protobuf.internal.Edition')->optional('overridable_features', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.FeatureSet')->optional('fixed_features', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 5, 'google.protobuf.internal.FeatureSet')->finalizeToPool(); $pool->addMessage('google.protobuf.internal.SourceCodeInfo', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\SourceCodeInfo::class)->repeated('location', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 1, 'google.protobuf.internal.SourceCodeInfo.Location')->finalizeToPool(); $pool->addMessage('google.protobuf.internal.SourceCodeInfo.Location', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\SourceCodeInfo\Location::class)->repeated('path', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 1)->repeated('span', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 2)->optional('leading_comments', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 3)->optional('trailing_comments', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 4)->repeated('leading_detached_comments', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 6)->finalizeToPool(); $pool->addMessage('google.protobuf.internal.GeneratedCodeInfo', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GeneratedCodeInfo::class)->repeated('annotation', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, 1, 'google.protobuf.internal.GeneratedCodeInfo.Annotation')->finalizeToPool(); - $pool->addMessage('google.protobuf.internal.GeneratedCodeInfo.Annotation', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GeneratedCodeInfo\Annotation::class)->repeated('path', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 1)->optional('source_file', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 2)->optional('begin', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 3)->optional('end', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 4)->finalizeToPool(); + $pool->addMessage('google.protobuf.internal.GeneratedCodeInfo.Annotation', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GeneratedCodeInfo\Annotation::class)->repeated('path', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 1)->optional('source_file', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, 2)->optional('begin', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 3)->optional('end', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, 4)->optional('semantic', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, 5, 'google.protobuf.internal.GeneratedCodeInfo.Annotation.Semantic')->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.GeneratedCodeInfo.Annotation.Semantic', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Semantic::class)->value("NONE", 0)->value("SET", 1)->value("ALIAS", 2)->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.Edition', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Edition::class)->value("EDITION_UNKNOWN", 0)->value("EDITION_LEGACY", 900)->value("EDITION_PROTO2", 998)->value("EDITION_PROTO3", 999)->value("EDITION_2023", 1000)->value("EDITION_2024", 1001)->value("EDITION_UNSTABLE", 9999)->value("EDITION_1_TEST_ONLY", 1)->value("EDITION_2_TEST_ONLY", 2)->value("EDITION_99997_TEST_ONLY", 99997)->value("EDITION_99998_TEST_ONLY", 99998)->value("EDITION_99999_TEST_ONLY", 99999)->value("EDITION_MAX", 2147483647)->finalizeToPool(); + $pool->addEnum('google.protobuf.internal.SymbolVisibility', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\SymbolVisibility::class)->value("VISIBILITY_UNSET", 0)->value("VISIBILITY_LOCAL", 1)->value("VISIBILITY_EXPORT", 2)->finalizeToPool(); $pool->finish(); static::$is_initialized = \true; } diff --git a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/SourceContext.php b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/SourceContext.php index 650b8be78..ac60b0d40 100644 --- a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/SourceContext.php +++ b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/SourceContext.php @@ -1,6 +1,7 @@ internalAddGeneratedFile(' -ð -$google/protobuf/source_context.protogoogle.protobuf"" - SourceContext - file_name ( BŠ -com.google.protobufBSourceContextProtoPZ6google.golang.org/protobuf/types/known/sourcecontextpb¢GPBªGoogle.Protobuf.WellKnownTypesbproto3', \true); + $pool->internalAddGeneratedFile("\n\xf0\x01\n\$google/protobuf/source_context.proto\x12\x0fgoogle.protobuf\"\"\n\rSourceContext\x12\x11\n\tfile_name\x18\x01 \x01(\tB\x8a\x01\n\x13com.google.protobufB\x12SourceContextProtoP\x01Z6google.golang.org/protobuf/types/known/sourcecontextpb\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3", \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Struct.php b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Struct.php index f46d15cda..a4f7621c7 100644 Binary files a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Struct.php and b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Struct.php differ diff --git a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Timestamp.php b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Timestamp.php index b754ead88..53381944b 100644 --- a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Timestamp.php +++ b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Timestamp.php @@ -1,6 +1,7 @@ internalAddGeneratedFile(' -ï -google/protobuf/timestamp.protogoogle.protobuf"+ - Timestamp -seconds ( -nanos (B… -com.google.protobufBTimestampProtoPZ2google.golang.org/protobuf/types/known/timestamppbø¢GPBªGoogle.Protobuf.WellKnownTypesbproto3', \true); + $pool->internalAddGeneratedFile("\n\xef\x01\n\x1fgoogle/protobuf/timestamp.proto\x12\x0fgoogle.protobuf\"+\n\tTimestamp\x12\x0f\n\x07seconds\x18\x01 \x01(\x03\x12\r\n\x05nanos\x18\x02 \x01(\x05B\x85\x01\n\x13com.google.protobufB\x0eTimestampProtoP\x01Z2google.golang.org/protobuf/types/known/timestamppb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3", \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.php b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.php index 9e3f739e1..5dd0598b4 100644 Binary files a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.php and b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.php differ diff --git a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Wrappers.php b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Wrappers.php index 2a7ddddca..864387d69 100644 --- a/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Wrappers.php +++ b/vendor/prefixed/google/protobuf/src/GPBMetadata/Google/Protobuf/Wrappers.php @@ -1,6 +1,7 @@ internalAddGeneratedFile(' -Ç -google/protobuf/wrappers.protogoogle.protobuf" - DoubleValue -value (" - -FloatValue -value (" - -Int64Value -value (" - UInt64Value -value (" - -Int32Value -value (" - UInt32Value -value ( " - BoolValue -value (" - StringValue -value ( " - -BytesValue -value ( Bƒ -com.google.protobufB WrappersProtoPZ1google.golang.org/protobuf/types/known/wrapperspbø¢GPBªGoogle.Protobuf.WellKnownTypesbproto3', \true); + $pool->internalAddGeneratedFile("\n\xc7\x03\n\x1egoogle/protobuf/wrappers.proto\x12\x0fgoogle.protobuf\"\x1c\n\vDoubleValue\x12\r\n\x05value\x18\x01 \x01(\x01\"\x1b\n\nFloatValue\x12\r\n\x05value\x18\x01 \x01(\x02\"\x1b\n\nInt64Value\x12\r\n\x05value\x18\x01 \x01(\x03\"\x1c\n\vUInt64Value\x12\r\n\x05value\x18\x01 \x01(\x04\"\x1b\n\nInt32Value\x12\r\n\x05value\x18\x01 \x01(\x05\"\x1c\n\vUInt32Value\x12\r\n\x05value\x18\x01 \x01(\r\"\x1a\n\tBoolValue\x12\r\n\x05value\x18\x01 \x01(\x08\"\x1c\n\vStringValue\x12\r\n\x05value\x18\x01 \x01(\t\"\x1b\n\nBytesValue\x12\r\n\x05value\x18\x01 \x01(\fB\x83\x01\n\x13com.google.protobufB\rWrappersProtoP\x01Z1google.golang.org/protobuf/types/known/wrapperspb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3", \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Any.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Any.php index b838bf6d6..0debf147f 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Any.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Any.php @@ -1,12 +1,13 @@ , * "lastName": * } * If the embedded message type is well-known and has a custom JSON * representation, that representation will be embedded adding a field - * `value` which holds the custom JSON in addition to the `@type` + * `value` which holds the custom JSON in addition to the `\@type` * field. Example (for message [google.protobuf.Duration][]): * { - * "@type": "type.googleapis.com/google.protobuf.Duration", + * "\@type": "type.googleapis.com/google.protobuf.Duration", * "value": "1.212s" * } * @@ -103,7 +105,8 @@ class Any extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\I * breaking changes.) * Note: this functionality is not currently available in the official * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. + * type.googleapis.com. As of May 2023, there are no widely used type server + * implementations and no plans to implement one. * Schemes other than `http`, `https` (or the empty scheme) might be * used with implementation specific semantics. * @@ -143,7 +146,8 @@ class Any extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\I * breaking changes.) * Note: this functionality is not currently available in the official * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. + * type.googleapis.com. As of May 2023, there are no widely used type server + * implementations and no plans to implement one. * Schemes other than `http`, `https` (or the empty scheme) might be * used with implementation specific semantics. * @type string $value @@ -176,7 +180,8 @@ public function __construct($data = NULL) * breaking changes.) * Note: this functionality is not currently available in the official * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. + * type.googleapis.com. As of May 2023, there are no widely used type server + * implementations and no plans to implement one. * Schemes other than `http`, `https` (or the empty scheme) might be * used with implementation specific semantics. * @@ -208,7 +213,8 @@ public function getTypeUrl() * breaking changes.) * Note: this functionality is not currently available in the official * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. + * type.googleapis.com. As of May 2023, there are no widely used type server + * implementations and no plans to implement one. * Schemes other than `http`, `https` (or the empty scheme) might be * used with implementation specific semantics. * diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Api.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Api.php index fbd199b8b..393d71fd2 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Api.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Api.php @@ -1,12 +1,13 @@ google.protobuf.Api */ @@ -81,6 +86,12 @@ class Api extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\I * Generated from protobuf field .google.protobuf.Syntax syntax = 7; */ protected $syntax = 0; + /** + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. + * + * Generated from protobuf field string edition = 8; + */ + protected $edition = ''; /** * Constructor. * @@ -90,9 +101,9 @@ class Api extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\I * @type string $name * The fully qualified name of this interface, including package name * followed by the interface's simple name. - * @type array<\Google\Protobuf\Method>|\Google\Protobuf\Internal\RepeatedField $methods + * @type \Google\Protobuf\Method[] $methods * The methods of this interface, in unspecified order. - * @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options + * @type \Google\Protobuf\Option[] $options * Any metadata attached to the interface. * @type string $version * A version string for this interface. If specified, must have the form @@ -115,10 +126,12 @@ class Api extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\I * @type \Google\Protobuf\SourceContext $source_context * Source context for the protocol buffer service represented by this * message. - * @type array<\Google\Protobuf\Mixin>|\Google\Protobuf\Internal\RepeatedField $mixins + * @type \Google\Protobuf\Mixin[] $mixins * Included interfaces. See [Mixin][]. * @type int $syntax * The source syntax of the service. + * @type string $edition + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. * } */ public function __construct($data = NULL) @@ -155,7 +168,7 @@ public function setName($var) * The methods of this interface, in unspecified order. * * Generated from protobuf field repeated .google.protobuf.Method methods = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Method> */ public function getMethods() { @@ -165,7 +178,7 @@ public function getMethods() * The methods of this interface, in unspecified order. * * Generated from protobuf field repeated .google.protobuf.Method methods = 2; - * @param array<\Google\Protobuf\Method>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Method[] $var * @return $this */ public function setMethods($var) @@ -178,7 +191,7 @@ public function setMethods($var) * Any metadata attached to the interface. * * Generated from protobuf field repeated .google.protobuf.Option options = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Option> */ public function getOptions() { @@ -188,7 +201,7 @@ public function getOptions() * Any metadata attached to the interface. * * Generated from protobuf field repeated .google.protobuf.Option options = 3; - * @param array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Option[] $var * @return $this */ public function setOptions($var) @@ -289,7 +302,7 @@ public function setSourceContext($var) * Included interfaces. See [Mixin][]. * * Generated from protobuf field repeated .google.protobuf.Mixin mixins = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Mixin> */ public function getMixins() { @@ -299,7 +312,7 @@ public function getMixins() * Included interfaces. See [Mixin][]. * * Generated from protobuf field repeated .google.protobuf.Mixin mixins = 6; - * @param array<\Google\Protobuf\Mixin>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Mixin[] $var * @return $this */ public function setMixins($var) @@ -331,4 +344,27 @@ public function setSyntax($var) $this->syntax = $var; return $this; } + /** + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. + * + * Generated from protobuf field string edition = 8; + * @return string + */ + public function getEdition() + { + return $this->edition; + } + /** + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. + * + * Generated from protobuf field string edition = 8; + * @param string $var + * @return $this + */ + public function setEdition($var) + { + GPBUtil::checkString($var, True); + $this->edition = $var; + return $this; + } } diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/BoolValue.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/BoolValue.php index 74e578a04..20f705da4 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/BoolValue.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/BoolValue.php @@ -1,15 +1,18 @@ google.protobuf.BoolValue */ diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/BytesValue.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/BytesValue.php index 9fd647da8..0544f6e9e 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/BytesValue.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/BytesValue.php @@ -1,15 +1,18 @@ google.protobuf.BytesValue */ diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/DoubleValue.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/DoubleValue.php index 842596bed..3c33ccd6a 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/DoubleValue.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/DoubleValue.php @@ -1,15 +1,18 @@ google.protobuf.DoubleValue */ diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Duration.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Duration.php index 5c4cce6a5..9b4d3dbc9 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Duration.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Duration.php @@ -1,12 +1,13 @@ google.protobuf.Enum */ @@ -44,6 +49,12 @@ class Enum extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\ * Generated from protobuf field .google.protobuf.Syntax syntax = 5; */ protected $syntax = 0; + /** + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. + * + * Generated from protobuf field string edition = 6; + */ + protected $edition = ''; /** * Constructor. * @@ -52,14 +63,16 @@ class Enum extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\ * * @type string $name * Enum type name. - * @type array<\Google\Protobuf\EnumValue>|\Google\Protobuf\Internal\RepeatedField $enumvalue + * @type \Google\Protobuf\EnumValue[] $enumvalue * Enum value definitions. - * @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options + * @type \Google\Protobuf\Option[] $options * Protocol buffer options. * @type \Google\Protobuf\SourceContext $source_context * The source context. * @type int $syntax * The source syntax. + * @type string $edition + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. * } */ public function __construct($data = NULL) @@ -94,7 +107,7 @@ public function setName($var) * Enum value definitions. * * Generated from protobuf field repeated .google.protobuf.EnumValue enumvalue = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\EnumValue> */ public function getEnumvalue() { @@ -104,7 +117,7 @@ public function getEnumvalue() * Enum value definitions. * * Generated from protobuf field repeated .google.protobuf.EnumValue enumvalue = 2; - * @param array<\Google\Protobuf\EnumValue>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\EnumValue[] $var * @return $this */ public function setEnumvalue($var) @@ -117,7 +130,7 @@ public function setEnumvalue($var) * Protocol buffer options. * * Generated from protobuf field repeated .google.protobuf.Option options = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Option> */ public function getOptions() { @@ -127,7 +140,7 @@ public function getOptions() * Protocol buffer options. * * Generated from protobuf field repeated .google.protobuf.Option options = 3; - * @param array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Option[] $var * @return $this */ public function setOptions($var) @@ -190,4 +203,27 @@ public function setSyntax($var) $this->syntax = $var; return $this; } + /** + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. + * + * Generated from protobuf field string edition = 6; + * @return string + */ + public function getEdition() + { + return $this->edition; + } + /** + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. + * + * Generated from protobuf field string edition = 6; + * @param string $var + * @return $this + */ + public function setEdition($var) + { + GPBUtil::checkString($var, True); + $this->edition = $var; + return $this; + } } diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/EnumValue.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/EnumValue.php index 6ba46a217..4f609a38e 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/EnumValue.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/EnumValue.php @@ -1,14 +1,19 @@ google.protobuf.EnumValue */ @@ -42,7 +47,7 @@ class EnumValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot * Enum value name. * @type int $number * Enum value number. - * @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options + * @type \Google\Protobuf\Option[] $options * Protocol buffer options. * } */ @@ -101,7 +106,7 @@ public function setNumber($var) * Protocol buffer options. * * Generated from protobuf field repeated .google.protobuf.Option options = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Option> */ public function getOptions() { @@ -111,7 +116,7 @@ public function getOptions() * Protocol buffer options. * * Generated from protobuf field repeated .google.protobuf.Option options = 3; - * @param array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Option[] $var * @return $this */ public function setOptions($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Field.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Field.php index 10c19107c..af862dcae 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Field.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Field.php @@ -1,14 +1,19 @@ google.protobuf.Field */ @@ -98,7 +103,7 @@ class Field extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf * types. The first type has index 1; zero means the type is not in the list. * @type bool $packed * Whether to use alternative packed wire representation. - * @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options + * @type \Google\Protobuf\Option[] $options * The protocol buffer options. * @type string $json_name * The field JSON name. @@ -280,7 +285,7 @@ public function setPacked($var) * The protocol buffer options. * * Generated from protobuf field repeated .google.protobuf.Option options = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Option> */ public function getOptions() { @@ -290,7 +295,7 @@ public function getOptions() * The protocol buffer options. * * Generated from protobuf field repeated .google.protobuf.Option options = 9; - * @param array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Option[] $var * @return $this */ public function setOptions($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Field/Cardinality.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Field/Cardinality.php index 87dd16cdc..459193ecc 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Field/Cardinality.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Field/Cardinality.php @@ -1,6 +1,7 @@ internal_desc->getNumber(); } /** + * @deprecated Use isRepeated() or isRequired() instead. + * * @return int */ public function getLabel() { return $this->internal_desc->getLabel(); } + /** + * @return boolean + */ + public function isRequired() + { + return $this->internal_desc->isRequired(); + } + /** + * @return boolean + */ + public function isRepeated() + { + return $this->internal_desc->isRepeated(); + } /** * @return int */ diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/FieldMask.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/FieldMask.php index 3f47d94bf..3413c3034 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/FieldMask.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/FieldMask.php @@ -1,12 +1,13 @@ |\Google\Protobuf\Internal\RepeatedField $paths + * @type string[] $paths * The set of field mask paths. * } */ @@ -189,7 +190,7 @@ public function __construct($data = NULL) * The set of field mask paths. * * Generated from protobuf field repeated string paths = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPaths() { @@ -199,7 +200,7 @@ public function getPaths() * The set of field mask paths. * * Generated from protobuf field repeated string paths = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPaths($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/FloatValue.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/FloatValue.php index 64c33edcb..0a3d2441d 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/FloatValue.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/FloatValue.php @@ -1,15 +1,18 @@ google.protobuf.FloatValue */ diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/GPBEmpty.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/GPBEmpty.php index 8c562d5dd..4b21615ee 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/GPBEmpty.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/GPBEmpty.php @@ -1,12 +1,13 @@ google.protobuf.Int32Value */ diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Int64Value.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Int64Value.php index fe9de0872..0c8c6ec77 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Int64Value.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Int64Value.php @@ -1,15 +1,18 @@ google.protobuf.Int64Value */ diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/AnyBase.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/AnyBase.php index ec12a757b..c4f1a3360 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/AnyBase.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/AnyBase.php @@ -26,12 +26,12 @@ public function unpack() if (substr($this->type_url, 0, $url_prifix_len) != GPBUtil::TYPE_URL_PREFIX) { throw new \Exception("Type url needs to be type.googleapis.com/fully-qulified"); } - $fully_qualifed_name = substr($this->type_url, $url_prifix_len); + $fully_qualified_name = substr($this->type_url, $url_prifix_len); // Create message according to fully qualified name. $pool = \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); - $desc = $pool->getDescriptorByProtoName($fully_qualifed_name); + $desc = $pool->getDescriptorByProtoName($fully_qualified_name); if (is_null($desc)) { - throw new \Exception("Class " . $fully_qualifed_name . " hasn't been added to descriptor pool"); + throw new \Exception("Class " . $fully_qualified_name . " hasn't been added to descriptor pool"); } $klass = $desc->getClass(); $msg = new $klass(); @@ -55,8 +55,8 @@ public function pack($msg) // Set type url. $pool = \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); $desc = $pool->getDescriptorByClassName(get_class($msg)); - $fully_qualifed_name = $desc->getFullName(); - $this->type_url = GPBUtil::TYPE_URL_PREFIX . $fully_qualifed_name; + $fully_qualified_name = $desc->getFullName(); + $this->type_url = GPBUtil::TYPE_URL_PREFIX . $fully_qualified_name; } /** * This method returns whether the type_url in any_message is corresponded @@ -67,8 +67,8 @@ public function is($klass) { $pool = \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); $desc = $pool->getDescriptorByClassName($klass); - $fully_qualifed_name = $desc->getFullName(); - $type_url = GPBUtil::TYPE_URL_PREFIX . $fully_qualifed_name; + $fully_qualified_name = $desc->getFullName(); + $type_url = GPBUtil::TYPE_URL_PREFIX . $fully_qualified_name; return $this->type_url === $type_url; } } diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php index c58147d1f..2edb1a84f 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php @@ -239,7 +239,8 @@ public function readTag() public function readRaw($size, &$buffer) { $current_buffer_size = 0; - if ($this->bufferSize() < $size) { + // size (varint) read from the wire could be negative. + if ($size < 0 || $this->bufferSize() < $size) { return \false; } if ($size === 0) { @@ -295,7 +296,7 @@ public function popLimit($byte_limit) public function incrementRecursionDepthAndPushLimit($byte_limit, &$old_limit, &$recursion_budget) { $old_limit = $this->pushLimit($byte_limit); - $recursion_limit = --$this->recursion_limit; + $recursion_budget = --$this->recursion_budget; } public function decrementRecursionDepthAndPopLimit($byte_limit) { diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php index 751cfb881..cd5f00e81 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php @@ -13,17 +13,23 @@ class CodedOutputStream private $buffer; private $buffer_size; private $current; + private $options; const MAX_VARINT64_BYTES = 10; - public function __construct($size) + public function __construct($size, $options = 0) { $this->current = 0; $this->buffer_size = $size; $this->buffer = str_repeat(chr(0), $this->buffer_size); + $this->options = $options; } public function getData() { return $this->buffer; } + public function getOptions() + { + return $this->options; + } public function writeVarint32($value, $trim) { $bytes = str_repeat(chr(0), self::MAX_VARINT64_BYTES); @@ -76,7 +82,7 @@ public static function writeVarintToArray($value, &$buffer, $trim = \false) $low = $value; } while ($low >= 0x80 || $low < 0 || $high != 0) { - $buffer[$current] = chr($low | 0x80); + $buffer[$current] = chr(($low | 0x80) & 0xff); $value = $value >> 7 & ~(0x7f << (\PHP_INT_SIZE << 3) - 7); $carry = ($high & 0x7f) << (\PHP_INT_SIZE << 3) - 7; $high = $high >> 7 & ~(0x7f << (\PHP_INT_SIZE << 3) - 7); diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php index 50a852644..b6d5ceac7 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php @@ -46,7 +46,7 @@ public function getFullName() public function addField($field) { $this->field[$field->getNumber()] = $field; - $this->json_to_field[$field->getJsonName()] = $field; + $this->json_to_field[$field->getJsonName() ?? ''] = $field; $this->name_to_field[$field->getName()] = $field; $this->index_to_field[] = $field; } diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php index dd92414dc..8a245cc96 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php @@ -18,6 +18,7 @@ class DescriptorPool private static $pool; // Map from message names to sub-maps, which are maps from field numbers to // field descriptors. + private $unique_descs = []; private $class_to_desc = []; private $class_to_enum_desc = []; private $proto_to_class = []; @@ -59,9 +60,10 @@ public function addEnum($name, $klass) public function addDescriptor($descriptor) { $this->proto_to_class[$descriptor->getFullName()] = $descriptor->getClass(); + $this->unique_descs[$descriptor->getFullName()] = $descriptor; $this->class_to_desc[$descriptor->getClass()] = $descriptor; - $this->class_to_desc[$descriptor->getLegacyClass()] = $descriptor; - $this->class_to_desc[$descriptor->getPreviouslyUnreservedClass()] = $descriptor; + $this->class_to_desc[$descriptor->getLegacyClass() ?? ''] = $descriptor; + $this->class_to_desc[$descriptor->getPreviouslyUnreservedClass() ?? ''] = $descriptor; foreach ($descriptor->getNestedType() as $nested_type) { $this->addDescriptor($nested_type); } @@ -73,7 +75,7 @@ public function addEnumDescriptor($descriptor) { $this->proto_to_class[$descriptor->getFullName()] = $descriptor->getClass(); $this->class_to_enum_desc[$descriptor->getClass()] = $descriptor; - $this->class_to_enum_desc[$descriptor->getLegacyClass()] = $descriptor; + $this->class_to_enum_desc[$descriptor->getLegacyClass() ?? ''] = $descriptor; } public function getDescriptorByClassName($klass) { @@ -139,7 +141,7 @@ private function crossLink(Descriptor $desc) } public function finish() { - foreach ($this->class_to_desc as $klass => $desc) { + foreach ($this->unique_descs as $klass => $desc) { $this->crossLink($desc); } unset($desc); diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php index 59d90d3f6..87b7de56d 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php @@ -1,14 +1,15 @@ repeated string reserved_name = 10; */ private $reserved_name; + /** + * Support for `export` and `local` keywords on enums. + * + * Generated from protobuf field optional .google.protobuf.SymbolVisibility visibility = 11; + */ + protected $visibility = null; /** * Constructor. * @@ -66,17 +73,19 @@ class DescriptorProto extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl * Optional. Data for populating the Message object. * * @type string $name - * @type array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $field - * @type array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $extension - * @type array<\Google\Protobuf\Internal\DescriptorProto>|\Google\Protobuf\Internal\RepeatedField $nested_type - * @type array<\Google\Protobuf\Internal\EnumDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $enum_type - * @type array<\Google\Protobuf\Internal\DescriptorProto\ExtensionRange>|\Google\Protobuf\Internal\RepeatedField $extension_range - * @type array<\Google\Protobuf\Internal\OneofDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $oneof_decl + * @type \Google\Protobuf\Internal\FieldDescriptorProto[] $field + * @type \Google\Protobuf\Internal\FieldDescriptorProto[] $extension + * @type \Google\Protobuf\Internal\DescriptorProto[] $nested_type + * @type \Google\Protobuf\Internal\EnumDescriptorProto[] $enum_type + * @type \Google\Protobuf\Internal\DescriptorProto\ExtensionRange[] $extension_range + * @type \Google\Protobuf\Internal\OneofDescriptorProto[] $oneof_decl * @type \Google\Protobuf\Internal\MessageOptions $options - * @type array<\Google\Protobuf\Internal\DescriptorProto\ReservedRange>|\Google\Protobuf\Internal\RepeatedField $reserved_range - * @type array|\Google\Protobuf\Internal\RepeatedField $reserved_name + * @type \Google\Protobuf\Internal\DescriptorProto\ReservedRange[] $reserved_range + * @type string[] $reserved_name * Reserved field names, which may not be used by fields in the same message. * A given name may only be reserved once. + * @type int $visibility + * Support for `export` and `local` keywords on enums. * } */ public function __construct($data = NULL) @@ -113,7 +122,7 @@ public function setName($var) } /** * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto field = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\FieldDescriptorProto> */ public function getField() { @@ -121,7 +130,7 @@ public function getField() } /** * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto field = 2; - * @param array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\FieldDescriptorProto[] $var * @return $this */ public function setField($var) @@ -132,7 +141,7 @@ public function setField($var) } /** * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto extension = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\FieldDescriptorProto> */ public function getExtension() { @@ -140,7 +149,7 @@ public function getExtension() } /** * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto extension = 6; - * @param array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\FieldDescriptorProto[] $var * @return $this */ public function setExtension($var) @@ -151,7 +160,7 @@ public function setExtension($var) } /** * Generated from protobuf field repeated .google.protobuf.DescriptorProto nested_type = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\DescriptorProto> */ public function getNestedType() { @@ -159,7 +168,7 @@ public function getNestedType() } /** * Generated from protobuf field repeated .google.protobuf.DescriptorProto nested_type = 3; - * @param array<\Google\Protobuf\Internal\DescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\DescriptorProto[] $var * @return $this */ public function setNestedType($var) @@ -170,7 +179,7 @@ public function setNestedType($var) } /** * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto enum_type = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\EnumDescriptorProto> */ public function getEnumType() { @@ -178,7 +187,7 @@ public function getEnumType() } /** * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto enum_type = 4; - * @param array<\Google\Protobuf\Internal\EnumDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\EnumDescriptorProto[] $var * @return $this */ public function setEnumType($var) @@ -189,7 +198,7 @@ public function setEnumType($var) } /** * Generated from protobuf field repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\DescriptorProto\ExtensionRange> */ public function getExtensionRange() { @@ -197,7 +206,7 @@ public function getExtensionRange() } /** * Generated from protobuf field repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; - * @param array<\Google\Protobuf\Internal\DescriptorProto\ExtensionRange>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\DescriptorProto\ExtensionRange[] $var * @return $this */ public function setExtensionRange($var) @@ -208,7 +217,7 @@ public function setExtensionRange($var) } /** * Generated from protobuf field repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\OneofDescriptorProto> */ public function getOneofDecl() { @@ -216,7 +225,7 @@ public function getOneofDecl() } /** * Generated from protobuf field repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; - * @param array<\Google\Protobuf\Internal\OneofDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\OneofDescriptorProto[] $var * @return $this */ public function setOneofDecl($var) @@ -254,7 +263,7 @@ public function setOptions($var) } /** * Generated from protobuf field repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\DescriptorProto\ReservedRange> */ public function getReservedRange() { @@ -262,7 +271,7 @@ public function getReservedRange() } /** * Generated from protobuf field repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; - * @param array<\Google\Protobuf\Internal\DescriptorProto\ReservedRange>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\DescriptorProto\ReservedRange[] $var * @return $this */ public function setReservedRange($var) @@ -276,7 +285,7 @@ public function setReservedRange($var) * A given name may only be reserved once. * * Generated from protobuf field repeated string reserved_name = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getReservedName() { @@ -287,7 +296,7 @@ public function getReservedName() * A given name may only be reserved once. * * Generated from protobuf field repeated string reserved_name = 10; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setReservedName($var) @@ -296,4 +305,35 @@ public function setReservedName($var) $this->reserved_name = $arr; return $this; } + /** + * Support for `export` and `local` keywords on enums. + * + * Generated from protobuf field optional .google.protobuf.SymbolVisibility visibility = 11; + * @return int + */ + public function getVisibility() + { + return isset($this->visibility) ? $this->visibility : 0; + } + public function hasVisibility() + { + return isset($this->visibility); + } + public function clearVisibility() + { + unset($this->visibility); + } + /** + * Support for `export` and `local` keywords on enums. + * + * Generated from protobuf field optional .google.protobuf.SymbolVisibility visibility = 11; + * @param int $var + * @return $this + */ + public function setVisibility($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\SymbolVisibility::class); + $this->visibility = $var; + return $this; + } } diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ExtensionRange.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ExtensionRange.php index d16e773eb..fbf539adb 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ExtensionRange.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ExtensionRange.php @@ -1,14 +1,15 @@ google.protobuf.DescriptorProto.ExtensionRange */ @@ -138,5 +139,3 @@ public function setOptions($var) return $this; } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExtensionRange::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\DescriptorProto_ExtensionRange::class); diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ReservedRange.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ReservedRange.php index 335aae78c..76f54d70b 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ReservedRange.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ReservedRange.php @@ -1,14 +1,15 @@ google.protobuf.Edition + */ +class Edition +{ + /** + * A placeholder for an unknown edition value. + * + * Generated from protobuf enum EDITION_UNKNOWN = 0; + */ + const EDITION_UNKNOWN = 0; + /** + * A placeholder edition for specifying default behaviors *before* a feature + * was first introduced. This is effectively an "infinite past". + * + * Generated from protobuf enum EDITION_LEGACY = 900; + */ + const EDITION_LEGACY = 900; + /** + * Legacy syntax "editions". These pre-date editions, but behave much like + * distinct editions. These can't be used to specify the edition of proto + * files, but feature definitions must supply proto2/proto3 defaults for + * backwards compatibility. + * + * Generated from protobuf enum EDITION_PROTO2 = 998; + */ + const EDITION_PROTO2 = 998; + /** + * Generated from protobuf enum EDITION_PROTO3 = 999; + */ + const EDITION_PROTO3 = 999; + /** + * Editions that have been released. The specific values are arbitrary and + * should not be depended on, but they will always be time-ordered for easy + * comparison. + * + * Generated from protobuf enum EDITION_2023 = 1000; + */ + const EDITION_2023 = 1000; + /** + * Generated from protobuf enum EDITION_2024 = 1001; + */ + const EDITION_2024 = 1001; + /** + * A placeholder edition for developing and testing unscheduled features. + * + * Generated from protobuf enum EDITION_UNSTABLE = 9999; + */ + const EDITION_UNSTABLE = 9999; + /** + * Placeholder editions for testing feature resolution. These should not be + * used or relied on outside of tests. + * + * Generated from protobuf enum EDITION_1_TEST_ONLY = 1; + */ + const EDITION_1_TEST_ONLY = 1; + /** + * Generated from protobuf enum EDITION_2_TEST_ONLY = 2; + */ + const EDITION_2_TEST_ONLY = 2; + /** + * Generated from protobuf enum EDITION_99997_TEST_ONLY = 99997; + */ + const EDITION_99997_TEST_ONLY = 99997; + /** + * Generated from protobuf enum EDITION_99998_TEST_ONLY = 99998; + */ + const EDITION_99998_TEST_ONLY = 99998; + /** + * Generated from protobuf enum EDITION_99999_TEST_ONLY = 99999; + */ + const EDITION_99999_TEST_ONLY = 99999; + /** + * Placeholder for specifying unbounded edition support. This should only + * ever be used by plugins that can expect to never require any changes to + * support a new edition. + * + * Generated from protobuf enum EDITION_MAX = 2147483647; + */ + const EDITION_MAX = 2147483647; + private static $valueToName = [self::EDITION_UNKNOWN => 'EDITION_UNKNOWN', self::EDITION_LEGACY => 'EDITION_LEGACY', self::EDITION_PROTO2 => 'EDITION_PROTO2', self::EDITION_PROTO3 => 'EDITION_PROTO3', self::EDITION_2023 => 'EDITION_2023', self::EDITION_2024 => 'EDITION_2024', self::EDITION_UNSTABLE => 'EDITION_UNSTABLE', self::EDITION_1_TEST_ONLY => 'EDITION_1_TEST_ONLY', self::EDITION_2_TEST_ONLY => 'EDITION_2_TEST_ONLY', self::EDITION_99997_TEST_ONLY => 'EDITION_99997_TEST_ONLY', self::EDITION_99998_TEST_ONLY => 'EDITION_99998_TEST_ONLY', self::EDITION_99999_TEST_ONLY => 'EDITION_99999_TEST_ONLY', self::EDITION_MAX => 'EDITION_MAX']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php index efd806fa1..4980d36f8 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php @@ -1,14 +1,15 @@ repeated string reserved_name = 5; */ private $reserved_name; + /** + * Support for `export` and `local` keywords on enums. + * + * Generated from protobuf field optional .google.protobuf.SymbolVisibility visibility = 6; + */ + protected $visibility = null; /** * Constructor. * @@ -50,15 +57,17 @@ class EnumDescriptorProto extends \Matomo\Dependencies\GoogleAnalyticsImporter\G * Optional. Data for populating the Message object. * * @type string $name - * @type array<\Google\Protobuf\Internal\EnumValueDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $value + * @type \Google\Protobuf\Internal\EnumValueDescriptorProto[] $value * @type \Google\Protobuf\Internal\EnumOptions $options - * @type array<\Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange>|\Google\Protobuf\Internal\RepeatedField $reserved_range + * @type \Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange[] $reserved_range * Range of reserved numeric values. Reserved numeric values may not be used * by enum values in the same enum declaration. Reserved ranges may not * overlap. - * @type array|\Google\Protobuf\Internal\RepeatedField $reserved_name + * @type string[] $reserved_name * Reserved enum value names, which may not be reused. A given name may only * be reserved once. + * @type int $visibility + * Support for `export` and `local` keywords on enums. * } */ public function __construct($data = NULL) @@ -95,7 +104,7 @@ public function setName($var) } /** * Generated from protobuf field repeated .google.protobuf.EnumValueDescriptorProto value = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\EnumValueDescriptorProto> */ public function getValue() { @@ -103,7 +112,7 @@ public function getValue() } /** * Generated from protobuf field repeated .google.protobuf.EnumValueDescriptorProto value = 2; - * @param array<\Google\Protobuf\Internal\EnumValueDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\EnumValueDescriptorProto[] $var * @return $this */ public function setValue($var) @@ -145,7 +154,7 @@ public function setOptions($var) * overlap. * * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange> */ public function getReservedRange() { @@ -157,7 +166,7 @@ public function getReservedRange() * overlap. * * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; - * @param array<\Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange[] $var * @return $this */ public function setReservedRange($var) @@ -171,7 +180,7 @@ public function setReservedRange($var) * be reserved once. * * Generated from protobuf field repeated string reserved_name = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getReservedName() { @@ -182,7 +191,7 @@ public function getReservedName() * be reserved once. * * Generated from protobuf field repeated string reserved_name = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setReservedName($var) @@ -191,4 +200,35 @@ public function setReservedName($var) $this->reserved_name = $arr; return $this; } + /** + * Support for `export` and `local` keywords on enums. + * + * Generated from protobuf field optional .google.protobuf.SymbolVisibility visibility = 6; + * @return int + */ + public function getVisibility() + { + return isset($this->visibility) ? $this->visibility : 0; + } + public function hasVisibility() + { + return isset($this->visibility); + } + public function clearVisibility() + { + unset($this->visibility); + } + /** + * Support for `export` and `local` keywords on enums. + * + * Generated from protobuf field optional .google.protobuf.SymbolVisibility visibility = 6; + * @param int $var + * @return $this + */ + public function setVisibility($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\SymbolVisibility::class); + $this->visibility = $var; + return $this; + } } diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php index 7c11e03e3..bb7de6d7b 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php @@ -1,14 +1,15 @@ google.protobuf.EnumOptions */ @@ -42,6 +43,15 @@ class EnumOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr * @deprecated */ protected $deprecated_legacy_json_field_conflicts = null; + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 7; + */ + protected $features = null; /** * The parser stores options it doesn't recognize here. See above. * @@ -69,7 +79,12 @@ class EnumOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr * well. * TODO Remove this legacy behavior once downstream teams have * had time to migrate. - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option + * @type \Google\Protobuf\Internal\FeatureSet $features + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * @type \Google\Protobuf\Internal\UninterpretedOption[] $uninterpreted_option * The parser stores options it doesn't recognize here. See above. * } */ @@ -162,12 +177,16 @@ public function setDeprecated($var) */ public function getDeprecatedLegacyJsonFieldConflicts() { - @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', \E_USER_DEPRECATED); + if (isset($this->deprecated_legacy_json_field_conflicts)) { + @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', \E_USER_DEPRECATED); + } return isset($this->deprecated_legacy_json_field_conflicts) ? $this->deprecated_legacy_json_field_conflicts : \false; } public function hasDeprecatedLegacyJsonFieldConflicts() { - @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', \E_USER_DEPRECATED); + if (isset($this->deprecated_legacy_json_field_conflicts)) { + @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', \E_USER_DEPRECATED); + } return isset($this->deprecated_legacy_json_field_conflicts); } public function clearDeprecatedLegacyJsonFieldConflicts() @@ -195,11 +214,48 @@ public function setDeprecatedLegacyJsonFieldConflicts($var) $this->deprecated_legacy_json_field_conflicts = $var; return $this; } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 7; + * @return \Google\Protobuf\Internal\FeatureSet|null + */ + public function getFeatures() + { + return $this->features; + } + public function hasFeatures() + { + return isset($this->features); + } + public function clearFeatures() + { + unset($this->features); + } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 7; + * @param \Google\Protobuf\Internal\FeatureSet $var + * @return $this + */ + public function setFeatures($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet::class); + $this->features = $var; + return $this; + } /** * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\UninterpretedOption> */ public function getUninterpretedOption() { @@ -209,7 +265,7 @@ public function getUninterpretedOption() * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\UninterpretedOption[] $var * @return $this */ public function setUninterpretedOption($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumValueDescriptorProto.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumValueDescriptorProto.php index 438d6e2d8..f0ac3ea49 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumValueDescriptorProto.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumValueDescriptorProto.php @@ -1,14 +1,15 @@ google.protobuf.EnumValueOptions */ @@ -23,6 +24,29 @@ class EnumValueOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog * Generated from protobuf field optional bool deprecated = 1 [default = false]; */ protected $deprecated = null; + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 2; + */ + protected $features = null; + /** + * Indicate that fields annotated with this enum value should not be printed + * out when using debug formats, e.g. when the field contains sensitive + * credentials. + * + * Generated from protobuf field optional bool debug_redact = 3 [default = false]; + */ + protected $debug_redact = null; + /** + * Information about the support window of a feature value. + * + * Generated from protobuf field optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4; + */ + protected $feature_support = null; /** * The parser stores options it doesn't recognize here. See above. * @@ -40,7 +64,18 @@ class EnumValueOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog * Depending on the target platform, this can emit Deprecated annotations * for the enum value, or it will be completely ignored; in the very least, * this is a formalization for deprecating enum values. - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option + * @type \Google\Protobuf\Internal\FeatureSet $features + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * @type bool $debug_redact + * Indicate that fields annotated with this enum value should not be printed + * out when using debug formats, e.g. when the field contains sensitive + * credentials. + * @type \Google\Protobuf\Internal\FieldOptions\FeatureSupport $feature_support + * Information about the support window of a feature value. + * @type \Google\Protobuf\Internal\UninterpretedOption[] $uninterpreted_option * The parser stores options it doesn't recognize here. See above. * } */ @@ -86,11 +121,114 @@ public function setDeprecated($var) $this->deprecated = $var; return $this; } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 2; + * @return \Google\Protobuf\Internal\FeatureSet|null + */ + public function getFeatures() + { + return $this->features; + } + public function hasFeatures() + { + return isset($this->features); + } + public function clearFeatures() + { + unset($this->features); + } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 2; + * @param \Google\Protobuf\Internal\FeatureSet $var + * @return $this + */ + public function setFeatures($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet::class); + $this->features = $var; + return $this; + } + /** + * Indicate that fields annotated with this enum value should not be printed + * out when using debug formats, e.g. when the field contains sensitive + * credentials. + * + * Generated from protobuf field optional bool debug_redact = 3 [default = false]; + * @return bool + */ + public function getDebugRedact() + { + return isset($this->debug_redact) ? $this->debug_redact : \false; + } + public function hasDebugRedact() + { + return isset($this->debug_redact); + } + public function clearDebugRedact() + { + unset($this->debug_redact); + } + /** + * Indicate that fields annotated with this enum value should not be printed + * out when using debug formats, e.g. when the field contains sensitive + * credentials. + * + * Generated from protobuf field optional bool debug_redact = 3 [default = false]; + * @param bool $var + * @return $this + */ + public function setDebugRedact($var) + { + GPBUtil::checkBool($var); + $this->debug_redact = $var; + return $this; + } + /** + * Information about the support window of a feature value. + * + * Generated from protobuf field optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4; + * @return \Google\Protobuf\Internal\FieldOptions\FeatureSupport|null + */ + public function getFeatureSupport() + { + return $this->feature_support; + } + public function hasFeatureSupport() + { + return isset($this->feature_support); + } + public function clearFeatureSupport() + { + unset($this->feature_support); + } + /** + * Information about the support window of a feature value. + * + * Generated from protobuf field optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4; + * @param \Google\Protobuf\Internal\FieldOptions\FeatureSupport $var + * @return $this + */ + public function setFeatureSupport($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldOptions\FeatureSupport::class); + $this->feature_support = $var; + return $this; + } /** * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\UninterpretedOption> */ public function getUninterpretedOption() { @@ -100,7 +238,7 @@ public function getUninterpretedOption() * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\UninterpretedOption[] $var * @return $this */ public function setUninterpretedOption($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions.php index 109ff6eec..018f42dba 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions.php @@ -1,14 +1,15 @@ google.protobuf.ExtensionRangeOptions */ @@ -20,14 +21,46 @@ class ExtensionRangeOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; */ private $uninterpreted_option; + /** + * For external users: DO NOT USE. We are in the process of open sourcing + * extension declaration and executing internal cleanups before it can be + * used externally. + * + * Generated from protobuf field repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE]; + */ + private $declaration; + /** + * Any features defined in the specific edition. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 50; + */ + protected $features = null; + /** + * The verification state of the range. + * TODO: flip the default to DECLARATION once all empty ranges + * are marked as UNVERIFIED. + * + * Generated from protobuf field optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE]; + */ + protected $verification = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option + * @type \Google\Protobuf\Internal\UninterpretedOption[] $uninterpreted_option * The parser stores options it doesn't recognize here. See above. + * @type \Google\Protobuf\Internal\ExtensionRangeOptions\Declaration[] $declaration + * For external users: DO NOT USE. We are in the process of open sourcing + * extension declaration and executing internal cleanups before it can be + * used externally. + * @type \Google\Protobuf\Internal\FeatureSet $features + * Any features defined in the specific edition. + * @type int $verification + * The verification state of the range. + * TODO: flip the default to DECLARATION once all empty ranges + * are marked as UNVERIFIED. * } */ public function __construct($data = NULL) @@ -39,7 +72,7 @@ public function __construct($data = NULL) * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\UninterpretedOption> */ public function getUninterpretedOption() { @@ -49,7 +82,7 @@ public function getUninterpretedOption() * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\UninterpretedOption[] $var * @return $this */ public function setUninterpretedOption($var) @@ -58,4 +91,97 @@ public function setUninterpretedOption($var) $this->uninterpreted_option = $arr; return $this; } + /** + * For external users: DO NOT USE. We are in the process of open sourcing + * extension declaration and executing internal cleanups before it can be + * used externally. + * + * Generated from protobuf field repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE]; + * @return RepeatedField<\Google\Protobuf\Internal\ExtensionRangeOptions\Declaration> + */ + public function getDeclaration() + { + return $this->declaration; + } + /** + * For external users: DO NOT USE. We are in the process of open sourcing + * extension declaration and executing internal cleanups before it can be + * used externally. + * + * Generated from protobuf field repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE]; + * @param \Google\Protobuf\Internal\ExtensionRangeOptions\Declaration[] $var + * @return $this + */ + public function setDeclaration($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\ExtensionRangeOptions\Declaration::class); + $this->declaration = $arr; + return $this; + } + /** + * Any features defined in the specific edition. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 50; + * @return \Google\Protobuf\Internal\FeatureSet|null + */ + public function getFeatures() + { + return $this->features; + } + public function hasFeatures() + { + return isset($this->features); + } + public function clearFeatures() + { + unset($this->features); + } + /** + * Any features defined in the specific edition. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 50; + * @param \Google\Protobuf\Internal\FeatureSet $var + * @return $this + */ + public function setFeatures($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet::class); + $this->features = $var; + return $this; + } + /** + * The verification state of the range. + * TODO: flip the default to DECLARATION once all empty ranges + * are marked as UNVERIFIED. + * + * Generated from protobuf field optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE]; + * @return int + */ + public function getVerification() + { + return isset($this->verification) ? $this->verification : 0; + } + public function hasVerification() + { + return isset($this->verification); + } + public function clearVerification() + { + unset($this->verification); + } + /** + * The verification state of the range. + * TODO: flip the default to DECLARATION once all empty ranges + * are marked as UNVERIFIED. + * + * Generated from protobuf field optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE]; + * @param int $var + * @return $this + */ + public function setVerification($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\ExtensionRangeOptions\VerificationState::class); + $this->verification = $var; + return $this; + } } diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions/Declaration.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions/Declaration.php new file mode 100644 index 000000000..965c76761 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions/Declaration.php @@ -0,0 +1,250 @@ +google.protobuf.ExtensionRangeOptions.Declaration + */ +class Declaration extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The extension number declared within the extension range. + * + * Generated from protobuf field optional int32 number = 1; + */ + protected $number = null; + /** + * The fully-qualified name of the extension field. There must be a leading + * dot in front of the full name. + * + * Generated from protobuf field optional string full_name = 2; + */ + protected $full_name = null; + /** + * The fully-qualified type name of the extension field. Unlike + * Metadata.type, Declaration.type must have a leading dot for messages + * and enums. + * + * Generated from protobuf field optional string type = 3; + */ + protected $type = null; + /** + * If true, indicates that the number is reserved in the extension range, + * and any extension field with the number will fail to compile. Set this + * when a declared extension field is deleted. + * + * Generated from protobuf field optional bool reserved = 5; + */ + protected $reserved = null; + /** + * If true, indicates that the extension must be defined as repeated. + * Otherwise the extension must be defined as optional. + * + * Generated from protobuf field optional bool repeated = 6; + */ + protected $repeated = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $number + * The extension number declared within the extension range. + * @type string $full_name + * The fully-qualified name of the extension field. There must be a leading + * dot in front of the full name. + * @type string $type + * The fully-qualified type name of the extension field. Unlike + * Metadata.type, Declaration.type must have a leading dot for messages + * and enums. + * @type bool $reserved + * If true, indicates that the number is reserved in the extension range, + * and any extension field with the number will fail to compile. Set this + * when a declared extension field is deleted. + * @type bool $repeated + * If true, indicates that the extension must be defined as repeated. + * Otherwise the extension must be defined as optional. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); + parent::__construct($data); + } + /** + * The extension number declared within the extension range. + * + * Generated from protobuf field optional int32 number = 1; + * @return int + */ + public function getNumber() + { + return isset($this->number) ? $this->number : 0; + } + public function hasNumber() + { + return isset($this->number); + } + public function clearNumber() + { + unset($this->number); + } + /** + * The extension number declared within the extension range. + * + * Generated from protobuf field optional int32 number = 1; + * @param int $var + * @return $this + */ + public function setNumber($var) + { + GPBUtil::checkInt32($var); + $this->number = $var; + return $this; + } + /** + * The fully-qualified name of the extension field. There must be a leading + * dot in front of the full name. + * + * Generated from protobuf field optional string full_name = 2; + * @return string + */ + public function getFullName() + { + return isset($this->full_name) ? $this->full_name : ''; + } + public function hasFullName() + { + return isset($this->full_name); + } + public function clearFullName() + { + unset($this->full_name); + } + /** + * The fully-qualified name of the extension field. There must be a leading + * dot in front of the full name. + * + * Generated from protobuf field optional string full_name = 2; + * @param string $var + * @return $this + */ + public function setFullName($var) + { + GPBUtil::checkString($var, True); + $this->full_name = $var; + return $this; + } + /** + * The fully-qualified type name of the extension field. Unlike + * Metadata.type, Declaration.type must have a leading dot for messages + * and enums. + * + * Generated from protobuf field optional string type = 3; + * @return string + */ + public function getType() + { + return isset($this->type) ? $this->type : ''; + } + public function hasType() + { + return isset($this->type); + } + public function clearType() + { + unset($this->type); + } + /** + * The fully-qualified type name of the extension field. Unlike + * Metadata.type, Declaration.type must have a leading dot for messages + * and enums. + * + * Generated from protobuf field optional string type = 3; + * @param string $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkString($var, True); + $this->type = $var; + return $this; + } + /** + * If true, indicates that the number is reserved in the extension range, + * and any extension field with the number will fail to compile. Set this + * when a declared extension field is deleted. + * + * Generated from protobuf field optional bool reserved = 5; + * @return bool + */ + public function getReserved() + { + return isset($this->reserved) ? $this->reserved : \false; + } + public function hasReserved() + { + return isset($this->reserved); + } + public function clearReserved() + { + unset($this->reserved); + } + /** + * If true, indicates that the number is reserved in the extension range, + * and any extension field with the number will fail to compile. Set this + * when a declared extension field is deleted. + * + * Generated from protobuf field optional bool reserved = 5; + * @param bool $var + * @return $this + */ + public function setReserved($var) + { + GPBUtil::checkBool($var); + $this->reserved = $var; + return $this; + } + /** + * If true, indicates that the extension must be defined as repeated. + * Otherwise the extension must be defined as optional. + * + * Generated from protobuf field optional bool repeated = 6; + * @return bool + */ + public function getRepeated() + { + return isset($this->repeated) ? $this->repeated : \false; + } + public function hasRepeated() + { + return isset($this->repeated); + } + public function clearRepeated() + { + unset($this->repeated); + } + /** + * If true, indicates that the extension must be defined as repeated. + * Otherwise the extension must be defined as optional. + * + * Generated from protobuf field optional bool repeated = 6; + * @param bool $var + * @return $this + */ + public function setRepeated($var) + { + GPBUtil::checkBool($var); + $this->repeated = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions/VerificationState.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions/VerificationState.php new file mode 100644 index 000000000..5d74cbe1c --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions/VerificationState.php @@ -0,0 +1,42 @@ +google.protobuf.ExtensionRangeOptions.VerificationState + */ +class VerificationState +{ + /** + * All the extensions of the range must be declared. + * + * Generated from protobuf enum DECLARATION = 0; + */ + const DECLARATION = 0; + /** + * Generated from protobuf enum UNVERIFIED = 1; + */ + const UNVERIFIED = 1; + private static $valueToName = [self::DECLARATION => 'DECLARATION', self::UNVERIFIED => 'UNVERIFIED']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet.php new file mode 100644 index 000000000..55c5e9327 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet.php @@ -0,0 +1,294 @@ +google.protobuf.FeatureSet + */ +class FeatureSet extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { + */ + protected $field_presence = null; + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { + */ + protected $enum_type = null; + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { + */ + protected $repeated_field_encoding = null; + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { + */ + protected $utf8_validation = null; + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { + */ + protected $message_encoding = null; + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { + */ + protected $json_format = null; + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7 [retention = RETENTION_SOURCE, targets = TARGET_TYPE_FILE, targets = TARGET_TYPE_EXTENSION_RANGE, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_ONEOF, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_ENUM_ENTRY, targets = TARGET_TYPE_SERVICE, targets = TARGET_TYPE_METHOD, edition_defaults = { + */ + protected $enforce_naming_style = null; + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8 [retention = RETENTION_SOURCE, targets = TARGET_TYPE_FILE, edition_defaults = { + */ + protected $default_symbol_visibility = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $field_presence + * @type int $enum_type + * @type int $repeated_field_encoding + * @type int $utf8_validation + * @type int $message_encoding + * @type int $json_format + * @type int $enforce_naming_style + * @type int $default_symbol_visibility + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); + parent::__construct($data); + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { + * @return int + */ + public function getFieldPresence() + { + return isset($this->field_presence) ? $this->field_presence : 0; + } + public function hasFieldPresence() + { + return isset($this->field_presence); + } + public function clearFieldPresence() + { + unset($this->field_presence); + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { + * @param int $var + * @return $this + */ + public function setFieldPresence($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet\FieldPresence::class); + $this->field_presence = $var; + return $this; + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { + * @return int + */ + public function getEnumType() + { + return isset($this->enum_type) ? $this->enum_type : 0; + } + public function hasEnumType() + { + return isset($this->enum_type); + } + public function clearEnumType() + { + unset($this->enum_type); + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { + * @param int $var + * @return $this + */ + public function setEnumType($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet\EnumType::class); + $this->enum_type = $var; + return $this; + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { + * @return int + */ + public function getRepeatedFieldEncoding() + { + return isset($this->repeated_field_encoding) ? $this->repeated_field_encoding : 0; + } + public function hasRepeatedFieldEncoding() + { + return isset($this->repeated_field_encoding); + } + public function clearRepeatedFieldEncoding() + { + unset($this->repeated_field_encoding); + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { + * @param int $var + * @return $this + */ + public function setRepeatedFieldEncoding($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet\RepeatedFieldEncoding::class); + $this->repeated_field_encoding = $var; + return $this; + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { + * @return int + */ + public function getUtf8Validation() + { + return isset($this->utf8_validation) ? $this->utf8_validation : 0; + } + public function hasUtf8Validation() + { + return isset($this->utf8_validation); + } + public function clearUtf8Validation() + { + unset($this->utf8_validation); + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { + * @param int $var + * @return $this + */ + public function setUtf8Validation($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet\Utf8Validation::class); + $this->utf8_validation = $var; + return $this; + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { + * @return int + */ + public function getMessageEncoding() + { + return isset($this->message_encoding) ? $this->message_encoding : 0; + } + public function hasMessageEncoding() + { + return isset($this->message_encoding); + } + public function clearMessageEncoding() + { + unset($this->message_encoding); + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { + * @param int $var + * @return $this + */ + public function setMessageEncoding($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet\MessageEncoding::class); + $this->message_encoding = $var; + return $this; + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { + * @return int + */ + public function getJsonFormat() + { + return isset($this->json_format) ? $this->json_format : 0; + } + public function hasJsonFormat() + { + return isset($this->json_format); + } + public function clearJsonFormat() + { + unset($this->json_format); + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { + * @param int $var + * @return $this + */ + public function setJsonFormat($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet\JsonFormat::class); + $this->json_format = $var; + return $this; + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7 [retention = RETENTION_SOURCE, targets = TARGET_TYPE_FILE, targets = TARGET_TYPE_EXTENSION_RANGE, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_ONEOF, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_ENUM_ENTRY, targets = TARGET_TYPE_SERVICE, targets = TARGET_TYPE_METHOD, edition_defaults = { + * @return int + */ + public function getEnforceNamingStyle() + { + return isset($this->enforce_naming_style) ? $this->enforce_naming_style : 0; + } + public function hasEnforceNamingStyle() + { + return isset($this->enforce_naming_style); + } + public function clearEnforceNamingStyle() + { + unset($this->enforce_naming_style); + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7 [retention = RETENTION_SOURCE, targets = TARGET_TYPE_FILE, targets = TARGET_TYPE_EXTENSION_RANGE, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_ONEOF, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_ENUM_ENTRY, targets = TARGET_TYPE_SERVICE, targets = TARGET_TYPE_METHOD, edition_defaults = { + * @param int $var + * @return $this + */ + public function setEnforceNamingStyle($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet\EnforceNamingStyle::class); + $this->enforce_naming_style = $var; + return $this; + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8 [retention = RETENTION_SOURCE, targets = TARGET_TYPE_FILE, edition_defaults = { + * @return int + */ + public function getDefaultSymbolVisibility() + { + return isset($this->default_symbol_visibility) ? $this->default_symbol_visibility : 0; + } + public function hasDefaultSymbolVisibility() + { + return isset($this->default_symbol_visibility); + } + public function clearDefaultSymbolVisibility() + { + unset($this->default_symbol_visibility); + } + /** + * Generated from protobuf field optional .google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8 [retention = RETENTION_SOURCE, targets = TARGET_TYPE_FILE, edition_defaults = { + * @param int $var + * @return $this + */ + public function setDefaultSymbolVisibility($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet\VisibilityFeature\DefaultSymbolVisibility::class); + $this->default_symbol_visibility = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/EnforceNamingStyle.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/EnforceNamingStyle.php new file mode 100644 index 000000000..b3f8a0918 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/EnforceNamingStyle.php @@ -0,0 +1,42 @@ +google.protobuf.FeatureSet.EnforceNamingStyle + */ +class EnforceNamingStyle +{ + /** + * Generated from protobuf enum ENFORCE_NAMING_STYLE_UNKNOWN = 0; + */ + const ENFORCE_NAMING_STYLE_UNKNOWN = 0; + /** + * Generated from protobuf enum STYLE2024 = 1; + */ + const STYLE2024 = 1; + /** + * Generated from protobuf enum STYLE_LEGACY = 2; + */ + const STYLE_LEGACY = 2; + private static $valueToName = [self::ENFORCE_NAMING_STYLE_UNKNOWN => 'ENFORCE_NAMING_STYLE_UNKNOWN', self::STYLE2024 => 'STYLE2024', self::STYLE_LEGACY => 'STYLE_LEGACY']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/EnumType.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/EnumType.php new file mode 100644 index 000000000..04f745263 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/EnumType.php @@ -0,0 +1,42 @@ +google.protobuf.FeatureSet.EnumType + */ +class EnumType +{ + /** + * Generated from protobuf enum ENUM_TYPE_UNKNOWN = 0; + */ + const ENUM_TYPE_UNKNOWN = 0; + /** + * Generated from protobuf enum OPEN = 1; + */ + const OPEN = 1; + /** + * Generated from protobuf enum CLOSED = 2; + */ + const CLOSED = 2; + private static $valueToName = [self::ENUM_TYPE_UNKNOWN => 'ENUM_TYPE_UNKNOWN', self::OPEN => 'OPEN', self::CLOSED => 'CLOSED']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/FieldPresence.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/FieldPresence.php new file mode 100644 index 000000000..f3f3b0ea9 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/FieldPresence.php @@ -0,0 +1,46 @@ +google.protobuf.FeatureSet.FieldPresence + */ +class FieldPresence +{ + /** + * Generated from protobuf enum FIELD_PRESENCE_UNKNOWN = 0; + */ + const FIELD_PRESENCE_UNKNOWN = 0; + /** + * Generated from protobuf enum EXPLICIT = 1; + */ + const EXPLICIT = 1; + /** + * Generated from protobuf enum IMPLICIT = 2; + */ + const IMPLICIT = 2; + /** + * Generated from protobuf enum LEGACY_REQUIRED = 3; + */ + const LEGACY_REQUIRED = 3; + private static $valueToName = [self::FIELD_PRESENCE_UNKNOWN => 'FIELD_PRESENCE_UNKNOWN', self::EXPLICIT => 'EXPLICIT', self::IMPLICIT => 'IMPLICIT', self::LEGACY_REQUIRED => 'LEGACY_REQUIRED']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/JsonFormat.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/JsonFormat.php new file mode 100644 index 000000000..7d7e899a1 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/JsonFormat.php @@ -0,0 +1,42 @@ +google.protobuf.FeatureSet.JsonFormat + */ +class JsonFormat +{ + /** + * Generated from protobuf enum JSON_FORMAT_UNKNOWN = 0; + */ + const JSON_FORMAT_UNKNOWN = 0; + /** + * Generated from protobuf enum ALLOW = 1; + */ + const ALLOW = 1; + /** + * Generated from protobuf enum LEGACY_BEST_EFFORT = 2; + */ + const LEGACY_BEST_EFFORT = 2; + private static $valueToName = [self::JSON_FORMAT_UNKNOWN => 'JSON_FORMAT_UNKNOWN', self::ALLOW => 'ALLOW', self::LEGACY_BEST_EFFORT => 'LEGACY_BEST_EFFORT']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/MessageEncoding.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/MessageEncoding.php new file mode 100644 index 000000000..0a31e380e --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/MessageEncoding.php @@ -0,0 +1,42 @@ +google.protobuf.FeatureSet.MessageEncoding + */ +class MessageEncoding +{ + /** + * Generated from protobuf enum MESSAGE_ENCODING_UNKNOWN = 0; + */ + const MESSAGE_ENCODING_UNKNOWN = 0; + /** + * Generated from protobuf enum LENGTH_PREFIXED = 1; + */ + const LENGTH_PREFIXED = 1; + /** + * Generated from protobuf enum DELIMITED = 2; + */ + const DELIMITED = 2; + private static $valueToName = [self::MESSAGE_ENCODING_UNKNOWN => 'MESSAGE_ENCODING_UNKNOWN', self::LENGTH_PREFIXED => 'LENGTH_PREFIXED', self::DELIMITED => 'DELIMITED']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/RepeatedFieldEncoding.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/RepeatedFieldEncoding.php new file mode 100644 index 000000000..9e28bf7b9 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/RepeatedFieldEncoding.php @@ -0,0 +1,42 @@ +google.protobuf.FeatureSet.RepeatedFieldEncoding + */ +class RepeatedFieldEncoding +{ + /** + * Generated from protobuf enum REPEATED_FIELD_ENCODING_UNKNOWN = 0; + */ + const REPEATED_FIELD_ENCODING_UNKNOWN = 0; + /** + * Generated from protobuf enum PACKED = 1; + */ + const PACKED = 1; + /** + * Generated from protobuf enum EXPANDED = 2; + */ + const EXPANDED = 2; + private static $valueToName = [self::REPEATED_FIELD_ENCODING_UNKNOWN => 'REPEATED_FIELD_ENCODING_UNKNOWN', self::PACKED => 'PACKED', self::EXPANDED => 'EXPANDED']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/Utf8Validation.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/Utf8Validation.php new file mode 100644 index 000000000..06534d186 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/Utf8Validation.php @@ -0,0 +1,42 @@ +google.protobuf.FeatureSet.Utf8Validation + */ +class Utf8Validation +{ + /** + * Generated from protobuf enum UTF8_VALIDATION_UNKNOWN = 0; + */ + const UTF8_VALIDATION_UNKNOWN = 0; + /** + * Generated from protobuf enum VERIFY = 2; + */ + const VERIFY = 2; + /** + * Generated from protobuf enum NONE = 3; + */ + const NONE = 3; + private static $valueToName = [self::UTF8_VALIDATION_UNKNOWN => 'UTF8_VALIDATION_UNKNOWN', self::VERIFY => 'VERIFY', self::NONE => 'NONE']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/VisibilityFeature.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/VisibilityFeature.php new file mode 100644 index 000000000..cf9ef7828 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/VisibilityFeature.php @@ -0,0 +1,31 @@ +google.protobuf.FeatureSet.VisibilityFeature + */ +class VisibilityFeature extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); + parent::__construct($data); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/VisibilityFeature/DefaultSymbolVisibility.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/VisibilityFeature/DefaultSymbolVisibility.php new file mode 100644 index 000000000..cbc6c0594 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/VisibilityFeature/DefaultSymbolVisibility.php @@ -0,0 +1,60 @@ +google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility + */ +class DefaultSymbolVisibility +{ + /** + * Generated from protobuf enum DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0; + */ + const DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0; + /** + * Default pre-EDITION_2024, all UNSET visibility are export. + * + * Generated from protobuf enum EXPORT_ALL = 1; + */ + const EXPORT_ALL = 1; + /** + * All top-level symbols default to export, nested default to local. + * + * Generated from protobuf enum EXPORT_TOP_LEVEL = 2; + */ + const EXPORT_TOP_LEVEL = 2; + /** + * All symbols default to local. + * + * Generated from protobuf enum LOCAL_ALL = 3; + */ + const LOCAL_ALL = 3; + /** + * All symbols local by default. Nested types cannot be exported. + * With special case caveat for message { enum {} reserved 1 to max; } + * This is the recommended setting for new protos. + * + * Generated from protobuf enum STRICT = 4; + */ + const STRICT = 4; + private static $valueToName = [self::DEFAULT_SYMBOL_VISIBILITY_UNKNOWN => 'DEFAULT_SYMBOL_VISIBILITY_UNKNOWN', self::EXPORT_ALL => 'EXPORT_ALL', self::EXPORT_TOP_LEVEL => 'EXPORT_TOP_LEVEL', self::LOCAL_ALL => 'LOCAL_ALL', self::STRICT => 'STRICT']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSetDefaults.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSetDefaults.php new file mode 100644 index 000000000..bb92569f2 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSetDefaults.php @@ -0,0 +1,146 @@ +google.protobuf.FeatureSetDefaults + */ +class FeatureSetDefaults extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1; + */ + private $defaults; + /** + * The minimum supported edition (inclusive) when this was constructed. + * Editions before this will not have defaults. + * + * Generated from protobuf field optional .google.protobuf.Edition minimum_edition = 4; + */ + protected $minimum_edition = null; + /** + * The maximum known edition (inclusive) when this was constructed. Editions + * after this will not have reliable defaults. + * + * Generated from protobuf field optional .google.protobuf.Edition maximum_edition = 5; + */ + protected $maximum_edition = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Protobuf\Internal\FeatureSetDefaults\FeatureSetEditionDefault[] $defaults + * @type int $minimum_edition + * The minimum supported edition (inclusive) when this was constructed. + * Editions before this will not have defaults. + * @type int $maximum_edition + * The maximum known edition (inclusive) when this was constructed. Editions + * after this will not have reliable defaults. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); + parent::__construct($data); + } + /** + * Generated from protobuf field repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1; + * @return RepeatedField<\Google\Protobuf\Internal\FeatureSetDefaults\FeatureSetEditionDefault> + */ + public function getDefaults() + { + return $this->defaults; + } + /** + * Generated from protobuf field repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1; + * @param \Google\Protobuf\Internal\FeatureSetDefaults\FeatureSetEditionDefault[] $var + * @return $this + */ + public function setDefaults($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSetDefaults\FeatureSetEditionDefault::class); + $this->defaults = $arr; + return $this; + } + /** + * The minimum supported edition (inclusive) when this was constructed. + * Editions before this will not have defaults. + * + * Generated from protobuf field optional .google.protobuf.Edition minimum_edition = 4; + * @return int + */ + public function getMinimumEdition() + { + return isset($this->minimum_edition) ? $this->minimum_edition : 0; + } + public function hasMinimumEdition() + { + return isset($this->minimum_edition); + } + public function clearMinimumEdition() + { + unset($this->minimum_edition); + } + /** + * The minimum supported edition (inclusive) when this was constructed. + * Editions before this will not have defaults. + * + * Generated from protobuf field optional .google.protobuf.Edition minimum_edition = 4; + * @param int $var + * @return $this + */ + public function setMinimumEdition($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Edition::class); + $this->minimum_edition = $var; + return $this; + } + /** + * The maximum known edition (inclusive) when this was constructed. Editions + * after this will not have reliable defaults. + * + * Generated from protobuf field optional .google.protobuf.Edition maximum_edition = 5; + * @return int + */ + public function getMaximumEdition() + { + return isset($this->maximum_edition) ? $this->maximum_edition : 0; + } + public function hasMaximumEdition() + { + return isset($this->maximum_edition); + } + public function clearMaximumEdition() + { + unset($this->maximum_edition); + } + /** + * The maximum known edition (inclusive) when this was constructed. Editions + * after this will not have reliable defaults. + * + * Generated from protobuf field optional .google.protobuf.Edition maximum_edition = 5; + * @param int $var + * @return $this + */ + public function setMaximumEdition($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Edition::class); + $this->maximum_edition = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSetDefaults/FeatureSetEditionDefault.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSetDefaults/FeatureSetEditionDefault.php new file mode 100644 index 000000000..79dd2c23d --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FeatureSetDefaults/FeatureSetEditionDefault.php @@ -0,0 +1,146 @@ +google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault + */ +class FeatureSetEditionDefault extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field optional .google.protobuf.Edition edition = 3; + */ + protected $edition = null; + /** + * Defaults of features that can be overridden in this edition. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet overridable_features = 4; + */ + protected $overridable_features = null; + /** + * Defaults of features that can't be overridden in this edition. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet fixed_features = 5; + */ + protected $fixed_features = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $edition + * @type \Google\Protobuf\Internal\FeatureSet $overridable_features + * Defaults of features that can be overridden in this edition. + * @type \Google\Protobuf\Internal\FeatureSet $fixed_features + * Defaults of features that can't be overridden in this edition. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); + parent::__construct($data); + } + /** + * Generated from protobuf field optional .google.protobuf.Edition edition = 3; + * @return int + */ + public function getEdition() + { + return isset($this->edition) ? $this->edition : 0; + } + public function hasEdition() + { + return isset($this->edition); + } + public function clearEdition() + { + unset($this->edition); + } + /** + * Generated from protobuf field optional .google.protobuf.Edition edition = 3; + * @param int $var + * @return $this + */ + public function setEdition($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Edition::class); + $this->edition = $var; + return $this; + } + /** + * Defaults of features that can be overridden in this edition. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet overridable_features = 4; + * @return \Google\Protobuf\Internal\FeatureSet|null + */ + public function getOverridableFeatures() + { + return $this->overridable_features; + } + public function hasOverridableFeatures() + { + return isset($this->overridable_features); + } + public function clearOverridableFeatures() + { + unset($this->overridable_features); + } + /** + * Defaults of features that can be overridden in this edition. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet overridable_features = 4; + * @param \Google\Protobuf\Internal\FeatureSet $var + * @return $this + */ + public function setOverridableFeatures($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet::class); + $this->overridable_features = $var; + return $this; + } + /** + * Defaults of features that can't be overridden in this edition. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet fixed_features = 5; + * @return \Google\Protobuf\Internal\FeatureSet|null + */ + public function getFixedFeatures() + { + return $this->fixed_features; + } + public function hasFixedFeatures() + { + return isset($this->fixed_features); + } + public function clearFixedFeatures() + { + unset($this->fixed_features); + } + /** + * Defaults of features that can't be overridden in this edition. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet fixed_features = 5; + * @param \Google\Protobuf\Internal\FeatureSet $var + * @return $this + */ + public function setFixedFeatures($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet::class); + $this->fixed_features = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php index decc2d64d..584183b66 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php @@ -85,6 +85,10 @@ public function getLabel() { return $this->label; } + public function isRequired() + { + return $this->label === GPBLabel::REQUIRED; + } public function isRepeated() { return $this->label === GPBLabel::REPEATED; diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php index 91ce93220..0f5ffead1 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php @@ -1,14 +1,15 @@ LABEL_OPTIONAL = 1; */ const LABEL_OPTIONAL = 1; - /** - * Generated from protobuf enum LABEL_REQUIRED = 2; - */ - const LABEL_REQUIRED = 2; /** * Generated from protobuf enum LABEL_REPEATED = 3; */ const LABEL_REPEATED = 3; - private static $valueToName = [self::LABEL_OPTIONAL => 'LABEL_OPTIONAL', self::LABEL_REQUIRED => 'LABEL_REQUIRED', self::LABEL_REPEATED => 'LABEL_REPEATED']; + /** + * The required label is only allowed in google.protobuf. In proto3 and Editions + * it's explicitly prohibited. In Editions, the `field_presence` feature + * can be used to get this behavior. + * + * Generated from protobuf enum LABEL_REQUIRED = 2; + */ + const LABEL_REQUIRED = 2; + private static $valueToName = [self::LABEL_OPTIONAL => 'LABEL_OPTIONAL', self::LABEL_REPEATED => 'LABEL_REPEATED', self::LABEL_REQUIRED => 'LABEL_REQUIRED']; public static function name($value) { if (!isset(self::$valueToName[$value])) { @@ -41,5 +46,3 @@ public static function value($name) return constant($const); } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Label::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldDescriptorProto_Label::class); diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Type.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Type.php index f18733284..cd1e74666 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Type.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Type.php @@ -1,6 +1,7 @@ TYPE_GROUP = 10; */ @@ -121,5 +123,3 @@ public static function value($name) return constant($const); } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Type::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldDescriptorProto_Type::class); diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php deleted file mode 100644 index 7d4c29d85..000000000 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php +++ /dev/null @@ -1,17 +0,0 @@ -google.protobuf.FieldOptions */ class FieldOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** + * NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead. * The ctype option instructs the C++ code generator to use a different * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! + * options below. This option is only implemented to support use of + * [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of + * type "bytes" in the open source release. + * TODO: make ctype actually deprecated. * * Generated from protobuf field optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; */ @@ -28,7 +32,9 @@ class FieldOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * a more efficient representation on the wire. Rather than repeatedly * writing the tag and type for each element, the entire array is encoded as * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. + * false will avoid using packed encoding. This option is prohibited in + * Editions, but the `repeated_field_encoding` feature can be used to control + * the behavior. * * Generated from protobuf field optional bool packed = 2; */ @@ -63,18 +69,11 @@ class FieldOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * interface is not affected by this option; const methods remain safe to * call from multiple threads concurrently, while non-const methods continue * to require exclusive access. - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - * As of May 2022, lazy verifies the contents of the byte stream during - * parsing. An invalid byte stream will cause the overall parsing to fail. + * Note that lazy message fields are still eagerly verified to check + * ill-formed wireformat or missing required fields. Calling IsInitialized() + * on the outer message would fail if the inner message has missing required + * fields. Failed verification would result in parsing failure (except when + * uninitialized messages are acceptable). * * Generated from protobuf field optional bool lazy = 5 [default = false]; */ @@ -97,11 +96,45 @@ class FieldOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P */ protected $deprecated = null; /** + * DEPRECATED. DO NOT USE! * For Google-internal migration only. Do not use. * - * Generated from protobuf field optional bool weak = 10 [default = false]; + * Generated from protobuf field optional bool weak = 10 [default = false, deprecated = true]; + * @deprecated */ protected $weak = null; + /** + * Indicate that the field value should not be printed out when using debug + * formats, e.g. when the field contains sensitive credentials. + * + * Generated from protobuf field optional bool debug_redact = 16 [default = false]; + */ + protected $debug_redact = null; + /** + * Generated from protobuf field optional .google.protobuf.FieldOptions.OptionRetention retention = 17; + */ + protected $retention = null; + /** + * Generated from protobuf field repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19; + */ + private $targets; + /** + * Generated from protobuf field repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; + */ + private $edition_defaults; + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 21; + */ + protected $features = null; + /** + * Generated from protobuf field optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22; + */ + protected $feature_support = null; /** * The parser stores options it doesn't recognize here. See above. * @@ -115,16 +148,21 @@ class FieldOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * Optional. Data for populating the Message object. * * @type int $ctype + * NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead. * The ctype option instructs the C++ code generator to use a different * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! + * options below. This option is only implemented to support use of + * [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of + * type "bytes" in the open source release. + * TODO: make ctype actually deprecated. * @type bool $packed * The packed option can be enabled for repeated primitive fields to enable * a more efficient representation on the wire. Rather than repeatedly * writing the tag and type for each element, the entire array is encoded as * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. + * false will avoid using packed encoding. This option is prohibited in + * Editions, but the `repeated_field_encoding` feature can be used to control + * the behavior. * @type int $jstype * The jstype option determines the JavaScript type used for values of the * field. The option is permitted only for 64 bit integral and fixed types @@ -151,18 +189,11 @@ class FieldOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * interface is not affected by this option; const methods remain safe to * call from multiple threads concurrently, while non-const methods continue * to require exclusive access. - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - * As of May 2022, lazy verifies the contents of the byte stream during - * parsing. An invalid byte stream will cause the overall parsing to fail. + * Note that lazy message fields are still eagerly verified to check + * ill-formed wireformat or missing required fields. Calling IsInitialized() + * on the outer message would fail if the inner message has missing required + * fields. Failed verification would result in parsing failure (except when + * uninitialized messages are acceptable). * @type bool $unverified_lazy * unverified_lazy does no correctness checks on the byte stream. This should * only be used where lazy with verification is prohibitive for performance @@ -173,8 +204,21 @@ class FieldOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * for accessors, or it will be completely ignored; in the very least, this * is a formalization for deprecating fields. * @type bool $weak + * DEPRECATED. DO NOT USE! * For Google-internal migration only. Do not use. - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option + * @type bool $debug_redact + * Indicate that the field value should not be printed out when using debug + * formats, e.g. when the field contains sensitive credentials. + * @type int $retention + * @type int[] $targets + * @type \Google\Protobuf\Internal\FieldOptions\EditionDefault[] $edition_defaults + * @type \Google\Protobuf\Internal\FeatureSet $features + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * @type \Google\Protobuf\Internal\FieldOptions\FeatureSupport $feature_support + * @type \Google\Protobuf\Internal\UninterpretedOption[] $uninterpreted_option * The parser stores options it doesn't recognize here. See above. * } */ @@ -184,10 +228,13 @@ public function __construct($data = NULL) parent::__construct($data); } /** + * NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead. * The ctype option instructs the C++ code generator to use a different * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! + * options below. This option is only implemented to support use of + * [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of + * type "bytes" in the open source release. + * TODO: make ctype actually deprecated. * * Generated from protobuf field optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; * @return int @@ -205,10 +252,13 @@ public function clearCtype() unset($this->ctype); } /** + * NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead. * The ctype option instructs the C++ code generator to use a different * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! + * options below. This option is only implemented to support use of + * [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of + * type "bytes" in the open source release. + * TODO: make ctype actually deprecated. * * Generated from protobuf field optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; * @param int $var @@ -225,7 +275,9 @@ public function setCtype($var) * a more efficient representation on the wire. Rather than repeatedly * writing the tag and type for each element, the entire array is encoded as * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. + * false will avoid using packed encoding. This option is prohibited in + * Editions, but the `repeated_field_encoding` feature can be used to control + * the behavior. * * Generated from protobuf field optional bool packed = 2; * @return bool @@ -247,7 +299,9 @@ public function clearPacked() * a more efficient representation on the wire. Rather than repeatedly * writing the tag and type for each element, the entire array is encoded as * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. + * false will avoid using packed encoding. This option is prohibited in + * Editions, but the `repeated_field_encoding` feature can be used to control + * the behavior. * * Generated from protobuf field optional bool packed = 2; * @param bool $var @@ -323,18 +377,11 @@ public function setJstype($var) * interface is not affected by this option; const methods remain safe to * call from multiple threads concurrently, while non-const methods continue * to require exclusive access. - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - * As of May 2022, lazy verifies the contents of the byte stream during - * parsing. An invalid byte stream will cause the overall parsing to fail. + * Note that lazy message fields are still eagerly verified to check + * ill-formed wireformat or missing required fields. Calling IsInitialized() + * on the outer message would fail if the inner message has missing required + * fields. Failed verification would result in parsing failure (except when + * uninitialized messages are acceptable). * * Generated from protobuf field optional bool lazy = 5 [default = false]; * @return bool @@ -366,18 +413,11 @@ public function clearLazy() * interface is not affected by this option; const methods remain safe to * call from multiple threads concurrently, while non-const methods continue * to require exclusive access. - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - * As of May 2022, lazy verifies the contents of the byte stream during - * parsing. An invalid byte stream will cause the overall parsing to fail. + * Note that lazy message fields are still eagerly verified to check + * ill-formed wireformat or missing required fields. Calling IsInitialized() + * on the outer message would fail if the inner message has missing required + * fields. Failed verification would result in parsing failure (except when + * uninitialized messages are acceptable). * * Generated from protobuf field optional bool lazy = 5 [default = false]; * @param bool $var @@ -462,41 +502,215 @@ public function setDeprecated($var) return $this; } /** + * DEPRECATED. DO NOT USE! * For Google-internal migration only. Do not use. * - * Generated from protobuf field optional bool weak = 10 [default = false]; + * Generated from protobuf field optional bool weak = 10 [default = false, deprecated = true]; * @return bool + * @deprecated */ public function getWeak() { + if (isset($this->weak)) { + @trigger_error('weak is deprecated.', \E_USER_DEPRECATED); + } return isset($this->weak) ? $this->weak : \false; } public function hasWeak() { + if (isset($this->weak)) { + @trigger_error('weak is deprecated.', \E_USER_DEPRECATED); + } return isset($this->weak); } public function clearWeak() { + @trigger_error('weak is deprecated.', \E_USER_DEPRECATED); unset($this->weak); } /** + * DEPRECATED. DO NOT USE! * For Google-internal migration only. Do not use. * - * Generated from protobuf field optional bool weak = 10 [default = false]; + * Generated from protobuf field optional bool weak = 10 [default = false, deprecated = true]; * @param bool $var * @return $this + * @deprecated */ public function setWeak($var) { + @trigger_error('weak is deprecated.', \E_USER_DEPRECATED); GPBUtil::checkBool($var); $this->weak = $var; return $this; } + /** + * Indicate that the field value should not be printed out when using debug + * formats, e.g. when the field contains sensitive credentials. + * + * Generated from protobuf field optional bool debug_redact = 16 [default = false]; + * @return bool + */ + public function getDebugRedact() + { + return isset($this->debug_redact) ? $this->debug_redact : \false; + } + public function hasDebugRedact() + { + return isset($this->debug_redact); + } + public function clearDebugRedact() + { + unset($this->debug_redact); + } + /** + * Indicate that the field value should not be printed out when using debug + * formats, e.g. when the field contains sensitive credentials. + * + * Generated from protobuf field optional bool debug_redact = 16 [default = false]; + * @param bool $var + * @return $this + */ + public function setDebugRedact($var) + { + GPBUtil::checkBool($var); + $this->debug_redact = $var; + return $this; + } + /** + * Generated from protobuf field optional .google.protobuf.FieldOptions.OptionRetention retention = 17; + * @return int + */ + public function getRetention() + { + return isset($this->retention) ? $this->retention : 0; + } + public function hasRetention() + { + return isset($this->retention); + } + public function clearRetention() + { + unset($this->retention); + } + /** + * Generated from protobuf field optional .google.protobuf.FieldOptions.OptionRetention retention = 17; + * @param int $var + * @return $this + */ + public function setRetention($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldOptions\OptionRetention::class); + $this->retention = $var; + return $this; + } + /** + * Generated from protobuf field repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19; + * @return RepeatedField + */ + public function getTargets() + { + return $this->targets; + } + /** + * Generated from protobuf field repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19; + * @param int[] $var + * @return $this + */ + public function setTargets($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldOptions\OptionTargetType::class); + $this->targets = $arr; + return $this; + } + /** + * Generated from protobuf field repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; + * @return RepeatedField<\Google\Protobuf\Internal\FieldOptions\EditionDefault> + */ + public function getEditionDefaults() + { + return $this->edition_defaults; + } + /** + * Generated from protobuf field repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; + * @param \Google\Protobuf\Internal\FieldOptions\EditionDefault[] $var + * @return $this + */ + public function setEditionDefaults($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldOptions\EditionDefault::class); + $this->edition_defaults = $arr; + return $this; + } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 21; + * @return \Google\Protobuf\Internal\FeatureSet|null + */ + public function getFeatures() + { + return $this->features; + } + public function hasFeatures() + { + return isset($this->features); + } + public function clearFeatures() + { + unset($this->features); + } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 21; + * @param \Google\Protobuf\Internal\FeatureSet $var + * @return $this + */ + public function setFeatures($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet::class); + $this->features = $var; + return $this; + } + /** + * Generated from protobuf field optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22; + * @return \Google\Protobuf\Internal\FieldOptions\FeatureSupport|null + */ + public function getFeatureSupport() + { + return $this->feature_support; + } + public function hasFeatureSupport() + { + return isset($this->feature_support); + } + public function clearFeatureSupport() + { + unset($this->feature_support); + } + /** + * Generated from protobuf field optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22; + * @param \Google\Protobuf\Internal\FieldOptions\FeatureSupport $var + * @return $this + */ + public function setFeatureSupport($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldOptions\FeatureSupport::class); + $this->feature_support = $var; + return $this; + } /** * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\UninterpretedOption> */ public function getUninterpretedOption() { @@ -506,7 +720,7 @@ public function getUninterpretedOption() * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\UninterpretedOption[] $var * @return $this */ public function setUninterpretedOption($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/CType.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/CType.php index 0bbc5c553..24e53d18a 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/CType.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/CType.php @@ -1,6 +1,7 @@ CORD = 1; */ const CORD = 1; @@ -41,5 +49,3 @@ public static function value($name) return constant($const); } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FieldOptions_CType::class); diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/EditionDefault.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/EditionDefault.php new file mode 100644 index 000000000..6ebde0ea6 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/EditionDefault.php @@ -0,0 +1,102 @@ +google.protobuf.FieldOptions.EditionDefault + */ +class EditionDefault extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field optional .google.protobuf.Edition edition = 3; + */ + protected $edition = null; + /** + * Textproto value. + * + * Generated from protobuf field optional string value = 2; + */ + protected $value = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $edition + * @type string $value + * Textproto value. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); + parent::__construct($data); + } + /** + * Generated from protobuf field optional .google.protobuf.Edition edition = 3; + * @return int + */ + public function getEdition() + { + return isset($this->edition) ? $this->edition : 0; + } + public function hasEdition() + { + return isset($this->edition); + } + public function clearEdition() + { + unset($this->edition); + } + /** + * Generated from protobuf field optional .google.protobuf.Edition edition = 3; + * @param int $var + * @return $this + */ + public function setEdition($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Edition::class); + $this->edition = $var; + return $this; + } + /** + * Textproto value. + * + * Generated from protobuf field optional string value = 2; + * @return string + */ + public function getValue() + { + return isset($this->value) ? $this->value : ''; + } + public function hasValue() + { + return isset($this->value); + } + public function clearValue() + { + unset($this->value); + } + /** + * Textproto value. + * + * Generated from protobuf field optional string value = 2; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->value = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/FeatureSupport.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/FeatureSupport.php new file mode 100644 index 000000000..9edc00a9e --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/FeatureSupport.php @@ -0,0 +1,213 @@ +google.protobuf.FieldOptions.FeatureSupport + */ +class FeatureSupport extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The edition that this feature was first available in. In editions + * earlier than this one, the default assigned to EDITION_LEGACY will be + * used, and proto files will not be able to override it. + * + * Generated from protobuf field optional .google.protobuf.Edition edition_introduced = 1; + */ + protected $edition_introduced = null; + /** + * The edition this feature becomes deprecated in. Using this after this + * edition may trigger warnings. + * + * Generated from protobuf field optional .google.protobuf.Edition edition_deprecated = 2; + */ + protected $edition_deprecated = null; + /** + * The deprecation warning text if this feature is used after the edition it + * was marked deprecated in. + * + * Generated from protobuf field optional string deprecation_warning = 3; + */ + protected $deprecation_warning = null; + /** + * The edition this feature is no longer available in. In editions after + * this one, the last default assigned will be used, and proto files will + * not be able to override it. + * + * Generated from protobuf field optional .google.protobuf.Edition edition_removed = 4; + */ + protected $edition_removed = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $edition_introduced + * The edition that this feature was first available in. In editions + * earlier than this one, the default assigned to EDITION_LEGACY will be + * used, and proto files will not be able to override it. + * @type int $edition_deprecated + * The edition this feature becomes deprecated in. Using this after this + * edition may trigger warnings. + * @type string $deprecation_warning + * The deprecation warning text if this feature is used after the edition it + * was marked deprecated in. + * @type int $edition_removed + * The edition this feature is no longer available in. In editions after + * this one, the last default assigned will be used, and proto files will + * not be able to override it. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); + parent::__construct($data); + } + /** + * The edition that this feature was first available in. In editions + * earlier than this one, the default assigned to EDITION_LEGACY will be + * used, and proto files will not be able to override it. + * + * Generated from protobuf field optional .google.protobuf.Edition edition_introduced = 1; + * @return int + */ + public function getEditionIntroduced() + { + return isset($this->edition_introduced) ? $this->edition_introduced : 0; + } + public function hasEditionIntroduced() + { + return isset($this->edition_introduced); + } + public function clearEditionIntroduced() + { + unset($this->edition_introduced); + } + /** + * The edition that this feature was first available in. In editions + * earlier than this one, the default assigned to EDITION_LEGACY will be + * used, and proto files will not be able to override it. + * + * Generated from protobuf field optional .google.protobuf.Edition edition_introduced = 1; + * @param int $var + * @return $this + */ + public function setEditionIntroduced($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Edition::class); + $this->edition_introduced = $var; + return $this; + } + /** + * The edition this feature becomes deprecated in. Using this after this + * edition may trigger warnings. + * + * Generated from protobuf field optional .google.protobuf.Edition edition_deprecated = 2; + * @return int + */ + public function getEditionDeprecated() + { + return isset($this->edition_deprecated) ? $this->edition_deprecated : 0; + } + public function hasEditionDeprecated() + { + return isset($this->edition_deprecated); + } + public function clearEditionDeprecated() + { + unset($this->edition_deprecated); + } + /** + * The edition this feature becomes deprecated in. Using this after this + * edition may trigger warnings. + * + * Generated from protobuf field optional .google.protobuf.Edition edition_deprecated = 2; + * @param int $var + * @return $this + */ + public function setEditionDeprecated($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Edition::class); + $this->edition_deprecated = $var; + return $this; + } + /** + * The deprecation warning text if this feature is used after the edition it + * was marked deprecated in. + * + * Generated from protobuf field optional string deprecation_warning = 3; + * @return string + */ + public function getDeprecationWarning() + { + return isset($this->deprecation_warning) ? $this->deprecation_warning : ''; + } + public function hasDeprecationWarning() + { + return isset($this->deprecation_warning); + } + public function clearDeprecationWarning() + { + unset($this->deprecation_warning); + } + /** + * The deprecation warning text if this feature is used after the edition it + * was marked deprecated in. + * + * Generated from protobuf field optional string deprecation_warning = 3; + * @param string $var + * @return $this + */ + public function setDeprecationWarning($var) + { + GPBUtil::checkString($var, True); + $this->deprecation_warning = $var; + return $this; + } + /** + * The edition this feature is no longer available in. In editions after + * this one, the last default assigned will be used, and proto files will + * not be able to override it. + * + * Generated from protobuf field optional .google.protobuf.Edition edition_removed = 4; + * @return int + */ + public function getEditionRemoved() + { + return isset($this->edition_removed) ? $this->edition_removed : 0; + } + public function hasEditionRemoved() + { + return isset($this->edition_removed); + } + public function clearEditionRemoved() + { + unset($this->edition_removed); + } + /** + * The edition this feature is no longer available in. In editions after + * this one, the last default assigned will be used, and proto files will + * not be able to override it. + * + * Generated from protobuf field optional .google.protobuf.Edition edition_removed = 4; + * @param int $var + * @return $this + */ + public function setEditionRemoved($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Edition::class); + $this->edition_removed = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/JSType.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/JSType.php index cd0a0b41e..5e9189bcd 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/JSType.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/JSType.php @@ -1,6 +1,7 @@ google.protobuf.FieldOptions.OptionRetention + */ +class OptionRetention +{ + /** + * Generated from protobuf enum RETENTION_UNKNOWN = 0; + */ + const RETENTION_UNKNOWN = 0; + /** + * Generated from protobuf enum RETENTION_RUNTIME = 1; + */ + const RETENTION_RUNTIME = 1; + /** + * Generated from protobuf enum RETENTION_SOURCE = 2; + */ + const RETENTION_SOURCE = 2; + private static $valueToName = [self::RETENTION_UNKNOWN => 'RETENTION_UNKNOWN', self::RETENTION_RUNTIME => 'RETENTION_RUNTIME', self::RETENTION_SOURCE => 'RETENTION_SOURCE']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/OptionTargetType.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/OptionTargetType.php new file mode 100644 index 000000000..5b33f48d5 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/OptionTargetType.php @@ -0,0 +1,74 @@ +google.protobuf.FieldOptions.OptionTargetType + */ +class OptionTargetType +{ + /** + * Generated from protobuf enum TARGET_TYPE_UNKNOWN = 0; + */ + const TARGET_TYPE_UNKNOWN = 0; + /** + * Generated from protobuf enum TARGET_TYPE_FILE = 1; + */ + const TARGET_TYPE_FILE = 1; + /** + * Generated from protobuf enum TARGET_TYPE_EXTENSION_RANGE = 2; + */ + const TARGET_TYPE_EXTENSION_RANGE = 2; + /** + * Generated from protobuf enum TARGET_TYPE_MESSAGE = 3; + */ + const TARGET_TYPE_MESSAGE = 3; + /** + * Generated from protobuf enum TARGET_TYPE_FIELD = 4; + */ + const TARGET_TYPE_FIELD = 4; + /** + * Generated from protobuf enum TARGET_TYPE_ONEOF = 5; + */ + const TARGET_TYPE_ONEOF = 5; + /** + * Generated from protobuf enum TARGET_TYPE_ENUM = 6; + */ + const TARGET_TYPE_ENUM = 6; + /** + * Generated from protobuf enum TARGET_TYPE_ENUM_ENTRY = 7; + */ + const TARGET_TYPE_ENUM_ENTRY = 7; + /** + * Generated from protobuf enum TARGET_TYPE_SERVICE = 8; + */ + const TARGET_TYPE_SERVICE = 8; + /** + * Generated from protobuf enum TARGET_TYPE_METHOD = 9; + */ + const TARGET_TYPE_METHOD = 9; + private static $valueToName = [self::TARGET_TYPE_UNKNOWN => 'TARGET_TYPE_UNKNOWN', self::TARGET_TYPE_FILE => 'TARGET_TYPE_FILE', self::TARGET_TYPE_EXTENSION_RANGE => 'TARGET_TYPE_EXTENSION_RANGE', self::TARGET_TYPE_MESSAGE => 'TARGET_TYPE_MESSAGE', self::TARGET_TYPE_FIELD => 'TARGET_TYPE_FIELD', self::TARGET_TYPE_ONEOF => 'TARGET_TYPE_ONEOF', self::TARGET_TYPE_ENUM => 'TARGET_TYPE_ENUM', self::TARGET_TYPE_ENUM_ENTRY => 'TARGET_TYPE_ENUM_ENTRY', self::TARGET_TYPE_SERVICE => 'TARGET_TYPE_SERVICE', self::TARGET_TYPE_METHOD => 'TARGET_TYPE_METHOD']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_CType.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_CType.php deleted file mode 100644 index 545fd6d8c..000000000 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_CType.php +++ /dev/null @@ -1,17 +0,0 @@ -repeated int32 weak_dependency = 11; */ private $weak_dependency; + /** + * Names of files imported by this file purely for the purpose of providing + * option extensions. These are excluded from the dependency list above. + * + * Generated from protobuf field repeated string option_dependency = 15; + */ + private $option_dependency; /** * All top-level definitions in this file. * @@ -82,14 +90,20 @@ class FileDescriptorProto extends \Matomo\Dependencies\GoogleAnalyticsImporter\G * The syntax of the proto file. * The supported values are "proto2", "proto3", and "editions". * If `edition` is present, this value must be "editions". + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. * * Generated from protobuf field optional string syntax = 12; */ protected $syntax = null; /** - * The edition of the proto file, which is an opaque string. + * The edition of the proto file. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. * - * Generated from protobuf field optional string edition = 13; + * Generated from protobuf field optional .google.protobuf.Edition edition = 14; */ protected $edition = null; /** @@ -102,18 +116,21 @@ class FileDescriptorProto extends \Matomo\Dependencies\GoogleAnalyticsImporter\G * file name, relative to root of source tree * @type string $package * e.g. "foo", "foo.bar", etc. - * @type array|\Google\Protobuf\Internal\RepeatedField $dependency + * @type string[] $dependency * Names of files imported by this file. - * @type array|\Google\Protobuf\Internal\RepeatedField $public_dependency + * @type int[] $public_dependency * Indexes of the public imported files in the dependency list above. - * @type array|\Google\Protobuf\Internal\RepeatedField $weak_dependency + * @type int[] $weak_dependency * Indexes of the weak imported files in the dependency list. * For Google-internal migration only. Do not use. - * @type array<\Google\Protobuf\Internal\DescriptorProto>|\Google\Protobuf\Internal\RepeatedField $message_type + * @type string[] $option_dependency + * Names of files imported by this file purely for the purpose of providing + * option extensions. These are excluded from the dependency list above. + * @type \Google\Protobuf\Internal\DescriptorProto[] $message_type * All top-level definitions in this file. - * @type array<\Google\Protobuf\Internal\EnumDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $enum_type - * @type array<\Google\Protobuf\Internal\ServiceDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $service - * @type array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $extension + * @type \Google\Protobuf\Internal\EnumDescriptorProto[] $enum_type + * @type \Google\Protobuf\Internal\ServiceDescriptorProto[] $service + * @type \Google\Protobuf\Internal\FieldDescriptorProto[] $extension * @type \Google\Protobuf\Internal\FileOptions $options * @type \Google\Protobuf\Internal\SourceCodeInfo $source_code_info * This field contains optional information about the original source code. @@ -124,8 +141,14 @@ class FileDescriptorProto extends \Matomo\Dependencies\GoogleAnalyticsImporter\G * The syntax of the proto file. * The supported values are "proto2", "proto3", and "editions". * If `edition` is present, this value must be "editions". - * @type string $edition - * The edition of the proto file, which is an opaque string. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * @type int $edition + * The edition of the proto file. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. * } */ public function __construct($data = NULL) @@ -199,7 +222,7 @@ public function setPackage($var) * Names of files imported by this file. * * Generated from protobuf field repeated string dependency = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDependency() { @@ -209,7 +232,7 @@ public function getDependency() * Names of files imported by this file. * * Generated from protobuf field repeated string dependency = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setDependency($var) @@ -222,7 +245,7 @@ public function setDependency($var) * Indexes of the public imported files in the dependency list above. * * Generated from protobuf field repeated int32 public_dependency = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPublicDependency() { @@ -232,7 +255,7 @@ public function getPublicDependency() * Indexes of the public imported files in the dependency list above. * * Generated from protobuf field repeated int32 public_dependency = 10; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setPublicDependency($var) @@ -246,7 +269,7 @@ public function setPublicDependency($var) * For Google-internal migration only. Do not use. * * Generated from protobuf field repeated int32 weak_dependency = 11; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getWeakDependency() { @@ -257,7 +280,7 @@ public function getWeakDependency() * For Google-internal migration only. Do not use. * * Generated from protobuf field repeated int32 weak_dependency = 11; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setWeakDependency($var) @@ -266,11 +289,36 @@ public function setWeakDependency($var) $this->weak_dependency = $arr; return $this; } + /** + * Names of files imported by this file purely for the purpose of providing + * option extensions. These are excluded from the dependency list above. + * + * Generated from protobuf field repeated string option_dependency = 15; + * @return RepeatedField + */ + public function getOptionDependency() + { + return $this->option_dependency; + } + /** + * Names of files imported by this file purely for the purpose of providing + * option extensions. These are excluded from the dependency list above. + * + * Generated from protobuf field repeated string option_dependency = 15; + * @param string[] $var + * @return $this + */ + public function setOptionDependency($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING); + $this->option_dependency = $arr; + return $this; + } /** * All top-level definitions in this file. * * Generated from protobuf field repeated .google.protobuf.DescriptorProto message_type = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\DescriptorProto> */ public function getMessageType() { @@ -280,7 +328,7 @@ public function getMessageType() * All top-level definitions in this file. * * Generated from protobuf field repeated .google.protobuf.DescriptorProto message_type = 4; - * @param array<\Google\Protobuf\Internal\DescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\DescriptorProto[] $var * @return $this */ public function setMessageType($var) @@ -291,7 +339,7 @@ public function setMessageType($var) } /** * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto enum_type = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\EnumDescriptorProto> */ public function getEnumType() { @@ -299,7 +347,7 @@ public function getEnumType() } /** * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto enum_type = 5; - * @param array<\Google\Protobuf\Internal\EnumDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\EnumDescriptorProto[] $var * @return $this */ public function setEnumType($var) @@ -310,7 +358,7 @@ public function setEnumType($var) } /** * Generated from protobuf field repeated .google.protobuf.ServiceDescriptorProto service = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\ServiceDescriptorProto> */ public function getService() { @@ -318,7 +366,7 @@ public function getService() } /** * Generated from protobuf field repeated .google.protobuf.ServiceDescriptorProto service = 6; - * @param array<\Google\Protobuf\Internal\ServiceDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\ServiceDescriptorProto[] $var * @return $this */ public function setService($var) @@ -329,7 +377,7 @@ public function setService($var) } /** * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto extension = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\FieldDescriptorProto> */ public function getExtension() { @@ -337,7 +385,7 @@ public function getExtension() } /** * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto extension = 7; - * @param array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\FieldDescriptorProto[] $var * @return $this */ public function setExtension($var) @@ -414,6 +462,9 @@ public function setSourceCodeInfo($var) * The syntax of the proto file. * The supported values are "proto2", "proto3", and "editions". * If `edition` is present, this value must be "editions". + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. * * Generated from protobuf field optional string syntax = 12; * @return string @@ -434,6 +485,9 @@ public function clearSyntax() * The syntax of the proto file. * The supported values are "proto2", "proto3", and "editions". * If `edition` is present, this value must be "editions". + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. * * Generated from protobuf field optional string syntax = 12; * @param string $var @@ -446,14 +500,17 @@ public function setSyntax($var) return $this; } /** - * The edition of the proto file, which is an opaque string. + * The edition of the proto file. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. * - * Generated from protobuf field optional string edition = 13; - * @return string + * Generated from protobuf field optional .google.protobuf.Edition edition = 14; + * @return int */ public function getEdition() { - return isset($this->edition) ? $this->edition : ''; + return isset($this->edition) ? $this->edition : 0; } public function hasEdition() { @@ -464,15 +521,18 @@ public function clearEdition() unset($this->edition); } /** - * The edition of the proto file, which is an opaque string. + * The edition of the proto file. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. * - * Generated from protobuf field optional string edition = 13; - * @param string $var + * Generated from protobuf field optional .google.protobuf.Edition edition = 14; + * @param int $var * @return $this */ public function setEdition($var) { - GPBUtil::checkString($var, True); + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Edition::class); $this->edition = $var; return $this; } diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorSet.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorSet.php index 600919235..536922366 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorSet.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorSet.php @@ -1,14 +1,15 @@ |\Google\Protobuf\Internal\RepeatedField $file + * @type \Google\Protobuf\Internal\FileDescriptorProto[] $file * } */ public function __construct($data = NULL) @@ -37,7 +38,7 @@ public function __construct($data = NULL) } /** * Generated from protobuf field repeated .google.protobuf.FileDescriptorProto file = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\FileDescriptorProto> */ public function getFile() { @@ -45,7 +46,7 @@ public function getFile() } /** * Generated from protobuf field repeated .google.protobuf.FileDescriptorProto file = 1; - * @param array<\Google\Protobuf\Internal\FileDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\FileDescriptorProto[] $var * @return $this */ public function setFile($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php index 7208dd9eb..b737d80d0 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php @@ -1,14 +1,15 @@ google.protobuf.FileOptions */ @@ -52,12 +53,14 @@ class FileOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr */ protected $java_generate_equals_and_hash = null; /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. + * A proto2 file can set this to true to opt in to UTF-8 checking for Java, + * which will throw an exception if invalid UTF-8 is parsed from the wire or + * assigned to a string field. + * TODO: clarify exactly what kinds of field types this option + * applies to, and update these docs accordingly. + * Proto3 files already perform these checks. Setting the option explicitly to + * false has no effect: it cannot be used to opt proto3 files out of UTF-8 + * checks. * * Generated from protobuf field optional bool java_string_check_utf8 = 27 [default = false]; */ @@ -98,10 +101,6 @@ class FileOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr * Generated from protobuf field optional bool py_generic_services = 18 [default = false]; */ protected $py_generic_services = null; - /** - * Generated from protobuf field optional bool php_generic_services = 42 [default = false]; - */ - protected $php_generic_services = null; /** * Is this file deprecated? * Depending on the target platform, this can emit Deprecated annotations @@ -171,6 +170,15 @@ class FileOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr * Generated from protobuf field optional string ruby_package = 45; */ protected $ruby_package = null; + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 50; + */ + protected $features = null; /** * The parser stores options it doesn't recognize here. * See the documentation for the "Options" section above. @@ -205,12 +213,14 @@ class FileOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr * @type bool $java_generate_equals_and_hash * This option does nothing. * @type bool $java_string_check_utf8 - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. + * A proto2 file can set this to true to opt in to UTF-8 checking for Java, + * which will throw an exception if invalid UTF-8 is parsed from the wire or + * assigned to a string field. + * TODO: clarify exactly what kinds of field types this option + * applies to, and update these docs accordingly. + * Proto3 files already perform these checks. Setting the option explicitly to + * false has no effect: it cannot be used to opt proto3 files out of UTF-8 + * checks. * @type int $optimize_for * @type string $go_package * Sets the Go package where structs generated from this .proto will be @@ -230,7 +240,6 @@ class FileOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr * explicitly set them to true. * @type bool $java_generic_services * @type bool $py_generic_services - * @type bool $php_generic_services * @type bool $deprecated * Is this file deprecated? * Depending on the target platform, this can emit Deprecated annotations @@ -264,7 +273,12 @@ class FileOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr * Use this option to change the package of ruby generated classes. Default * is empty. When this option is not set, the package name will be used for * determining the ruby package. - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option + * @type \Google\Protobuf\Internal\FeatureSet $features + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * @type \Google\Protobuf\Internal\UninterpretedOption[] $uninterpreted_option * The parser stores options it doesn't recognize here. * See the documentation for the "Options" section above. * } @@ -400,12 +414,16 @@ public function setJavaMultipleFiles($var) */ public function getJavaGenerateEqualsAndHash() { - @trigger_error('java_generate_equals_and_hash is deprecated.', \E_USER_DEPRECATED); + if (isset($this->java_generate_equals_and_hash)) { + @trigger_error('java_generate_equals_and_hash is deprecated.', \E_USER_DEPRECATED); + } return isset($this->java_generate_equals_and_hash) ? $this->java_generate_equals_and_hash : \false; } public function hasJavaGenerateEqualsAndHash() { - @trigger_error('java_generate_equals_and_hash is deprecated.', \E_USER_DEPRECATED); + if (isset($this->java_generate_equals_and_hash)) { + @trigger_error('java_generate_equals_and_hash is deprecated.', \E_USER_DEPRECATED); + } return isset($this->java_generate_equals_and_hash); } public function clearJavaGenerateEqualsAndHash() @@ -429,12 +447,14 @@ public function setJavaGenerateEqualsAndHash($var) return $this; } /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. + * A proto2 file can set this to true to opt in to UTF-8 checking for Java, + * which will throw an exception if invalid UTF-8 is parsed from the wire or + * assigned to a string field. + * TODO: clarify exactly what kinds of field types this option + * applies to, and update these docs accordingly. + * Proto3 files already perform these checks. Setting the option explicitly to + * false has no effect: it cannot be used to opt proto3 files out of UTF-8 + * checks. * * Generated from protobuf field optional bool java_string_check_utf8 = 27 [default = false]; * @return bool @@ -452,12 +472,14 @@ public function clearJavaStringCheckUtf8() unset($this->java_string_check_utf8); } /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. + * A proto2 file can set this to true to opt in to UTF-8 checking for Java, + * which will throw an exception if invalid UTF-8 is parsed from the wire or + * assigned to a string field. + * TODO: clarify exactly what kinds of field types this option + * applies to, and update these docs accordingly. + * Proto3 files already perform these checks. Setting the option explicitly to + * false has no effect: it cannot be used to opt proto3 files out of UTF-8 + * checks. * * Generated from protobuf field optional bool java_string_check_utf8 = 27 [default = false]; * @param bool $var @@ -636,33 +658,6 @@ public function setPyGenericServices($var) $this->py_generic_services = $var; return $this; } - /** - * Generated from protobuf field optional bool php_generic_services = 42 [default = false]; - * @return bool - */ - public function getPhpGenericServices() - { - return isset($this->php_generic_services) ? $this->php_generic_services : \false; - } - public function hasPhpGenericServices() - { - return isset($this->php_generic_services); - } - public function clearPhpGenericServices() - { - unset($this->php_generic_services); - } - /** - * Generated from protobuf field optional bool php_generic_services = 42 [default = false]; - * @param bool $var - * @return $this - */ - public function setPhpGenericServices($var) - { - GPBUtil::checkBool($var); - $this->php_generic_services = $var; - return $this; - } /** * Is this file deprecated? * Depending on the target platform, this can emit Deprecated annotations @@ -972,12 +967,49 @@ public function setRubyPackage($var) $this->ruby_package = $var; return $this; } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 50; + * @return \Google\Protobuf\Internal\FeatureSet|null + */ + public function getFeatures() + { + return $this->features; + } + public function hasFeatures() + { + return isset($this->features); + } + public function clearFeatures() + { + unset($this->features); + } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 50; + * @param \Google\Protobuf\Internal\FeatureSet $var + * @return $this + */ + public function setFeatures($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet::class); + $this->features = $var; + return $this; + } /** * The parser stores options it doesn't recognize here. * See the documentation for the "Options" section above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\UninterpretedOption> */ public function getUninterpretedOption() { @@ -988,7 +1020,7 @@ public function getUninterpretedOption() * See the documentation for the "Options" section above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\UninterpretedOption[] $var * @return $this */ public function setUninterpretedOption($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileOptions/OptimizeMode.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileOptions/OptimizeMode.php index 418f8bd13..434c74d4f 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileOptions/OptimizeMode.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileOptions/OptimizeMode.php @@ -1,6 +1,7 @@ writeRaw("\"", 1); - $field_name = GPBJsonWire::formatFieldName($field); + $field_name = GPBJsonWire::formatFieldName($field, $output->getOptions()); $output->writeRaw($field_name, strlen($field_name)); $output->writeRaw("\":", 2); } @@ -142,6 +143,11 @@ private static function serializeSingularFieldValueToStream($value, $field, &$ou $output->writeRaw("null", 4); break; } + if ($output->getOptions() & PrintOptions::ALWAYS_PRINT_ENUMS_AS_INTS) { + $str_value = strval($value); + $output->writeRaw($str_value, strlen($str_value)); + break; + } $enum_value_desc = $enum_desc->getValueByNumber($value); if (!is_null($enum_value_desc)) { $str_value = $enum_value_desc->getName(); @@ -183,8 +189,11 @@ private static function serializeSingularFieldValueToStream($value, $field, &$ou } return \true; } - private static function formatFieldName($field) + private static function formatFieldName($field, $options) { + if ($options & PrintOptions::PRESERVE_PROTO_FIELD_NAMES) { + return $field->getName(); + } return $field->getJsonName(); } // Used for escaping control chars in strings. diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php index 81efaba7c..c4defb76c 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php @@ -11,8 +11,8 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Duration; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\MapField; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\RepeatedField; use function bccomp; function camel2underscore($input) { diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php index 908e1156c..80b70def8 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php @@ -1,14 +1,15 @@ |\Google\Protobuf\Internal\RepeatedField $annotation + * @type \Google\Protobuf\Internal\GeneratedCodeInfo\Annotation[] $annotation * An Annotation connects some span of text in generated code to an element * of its generating .proto file. * } @@ -46,7 +47,7 @@ public function __construct($data = NULL) * of its generating .proto file. * * Generated from protobuf field repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\GeneratedCodeInfo\Annotation> */ public function getAnnotation() { @@ -57,7 +58,7 @@ public function getAnnotation() * of its generating .proto file. * * Generated from protobuf field repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; - * @param array<\Google\Protobuf\Internal\GeneratedCodeInfo\Annotation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\GeneratedCodeInfo\Annotation[] $var * @return $this */ public function setAnnotation($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php index 71bb852bb..82be8ca29 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php @@ -1,14 +1,15 @@ google.protobuf.GeneratedCodeInfo.Annotation */ @@ -52,7 +53,7 @@ class Annotation extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $path + * @type int[] $path * Identifies the element in the original source .proto file. This field * is formatted the same as SourceCodeInfo.Location.path. * @type string $source_file @@ -77,7 +78,7 @@ public function __construct($data = NULL) * is formatted the same as SourceCodeInfo.Location.path. * * Generated from protobuf field repeated int32 path = 1 [packed = true]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPath() { @@ -88,7 +89,7 @@ public function getPath() * is formatted the same as SourceCodeInfo.Location.path. * * Generated from protobuf field repeated int32 path = 1 [packed = true]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setPath($var) @@ -224,5 +225,3 @@ public function setSemantic($var) return $this; } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Annotation::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GeneratedCodeInfo_Annotation::class); diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation/Semantic.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation/Semantic.php new file mode 100644 index 000000000..517f40130 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation/Semantic.php @@ -0,0 +1,51 @@ +google.protobuf.GeneratedCodeInfo.Annotation.Semantic + */ +class Semantic +{ + /** + * There is no effect or the effect is indescribable. + * + * Generated from protobuf enum NONE = 0; + */ + const NONE = 0; + /** + * The element is set or otherwise mutated. + * + * Generated from protobuf enum SET = 1; + */ + const SET = 1; + /** + * An alias to the element is returned. + * + * Generated from protobuf enum ALIAS = 2; + */ + const ALIAS = 2; + private static $valueToName = [self::NONE => 'NONE', self::SET => 'SET', self::ALIAS => 'ALIAS']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo_Annotation.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo_Annotation.php deleted file mode 100644 index dcfd534ab..000000000 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo_Annotation.php +++ /dev/null @@ -1,17 +0,0 @@ -getLabel() === GPBLabel::REPEATED) { + if ($field->isRepeated()) { switch ($field->getType()) { case GPBType::MESSAGE: case GPBType::GROUP: @@ -111,7 +111,7 @@ private function initWithGeneratedPool() $oneof_name = $oneof->getName(); $this->{$oneof_name} = new OneofField($oneof); } else { - if ($field->getLabel() === GPBLabel::OPTIONAL && \PHP_INT_SIZE == 4) { + if (!$field->isRequired() && !$field->isRepeated() && \PHP_INT_SIZE == 4) { switch ($field->getType()) { case GPBType::INT64: case GPBType::UINT64: @@ -351,7 +351,8 @@ private static function parseFieldFromStreamNoTag($input, $field, &$value) } break; case GPBType::STRING: - // TODO: Add utf-8 check. + // We don't check UTF-8 here; that will be validated by the + // setter later. if (!GPBWire::readString($input, $value)) { throw new GPBDecodeException("Unexpected EOF inside string field."); } @@ -489,7 +490,7 @@ public function clear() break; } } else { - if ($field->getLabel() === GPBLabel::REPEATED) { + if ($field->isRepeated()) { switch ($field->getType()) { case GPBType::MESSAGE: case GPBType::GROUP: @@ -511,7 +512,7 @@ public function clear() $oneof_name = $oneof->getName(); $this->{$oneof_name} = new OneofField($oneof); } else { - if ($field->getLabel() === GPBLabel::OPTIONAL) { + if (!$field->isRequired() && !$field->isRepeated()) { switch ($field->getType()) { case GPBType::DOUBLE: case GPBType::FLOAT: @@ -585,14 +586,14 @@ public function discardUnknownFields() $value->discardUnknownFields(); } } else { - if ($field->getLabel() === GPBLabel::REPEATED) { + if ($field->isRepeated()) { $getter = $field->getGetter(); $arr = $this->{$getter}(); foreach ($arr as $sub) { $sub->discardUnknownFields(); } } else { - if ($field->getLabel() === GPBLabel::OPTIONAL) { + if (!$field->isRequired() && !$field->isRepeated()) { $getter = $field->getGetter(); $sub = $this->{$getter}(); if (!is_null($sub)) { @@ -640,7 +641,7 @@ public function mergeFrom($msg) } } } else { - if ($field->getLabel() === GPBLabel::REPEATED) { + if ($field->isRepeated()) { if (count($msg->{$getter}()) != 0) { foreach ($msg->{$getter}() as $tmp) { if ($field->getType() == GPBType::MESSAGE) { @@ -654,7 +655,7 @@ public function mergeFrom($msg) } } } else { - if ($field->getLabel() === GPBLabel::OPTIONAL) { + if (!$field->isRequired() && !$field->isRepeated()) { if ($msg->{$getter}() !== $this->defaultValue($field)) { $tmp = $msg->{$getter}(); if ($field->getType() == GPBType::MESSAGE) { @@ -1143,6 +1144,11 @@ private function mergeFromArrayJsonImpl($array, $ignore_unknown) } $proto_key = $this->convertJsonValueToProtoValue($tmp_key, $key_field, $ignore_unknown, \true); $proto_value = $this->convertJsonValueToProtoValue($tmp_value, $value_field, $ignore_unknown); + // Mapped unknown enum string values should be silently + // ignored if ignore_unknown is set. + if ($value_field->getType() == GPBType::ENUM && is_string($tmp_value) && is_null($value_field->getEnumType()->getValueByName($tmp_value)) && $ignore_unknown) { + continue; + } self::kvUpdateHelper($field, $proto_key, $proto_value); } } else { @@ -1155,6 +1161,11 @@ private function mergeFromArrayJsonImpl($array, $ignore_unknown) throw new \Exception("Repeated field elements cannot be null."); } $proto_value = $this->convertJsonValueToProtoValue($tmp, $field, $ignore_unknown); + // Repeated unknown enum string values should be silently + // ignored if ignore_unknown is set. + if ($field->getType() == GPBType::ENUM && is_string($tmp) && is_null($field->getEnumType()->getValueByName($tmp)) && $ignore_unknown) { + continue; + } self::appendHelper($field, $proto_value); } } else { @@ -1402,9 +1413,9 @@ public function serializeToString() * Serialize the message to json string. * @return string Serialized json protobuf data. */ - public function serializeToJsonString() + public function serializeToJsonString($options = 0) { - $output = new CodedOutputStream($this->jsonByteSize()); + $output = new CodedOutputStream($this->jsonByteSize($options), $options); $this->serializeToJsonStream($output); return $output->getData(); } @@ -1510,7 +1521,7 @@ private function fieldDataOnlyByteSize($field, $value) /** * @ignore */ - private function fieldDataOnlyJsonByteSize($field, $value) + private function fieldDataOnlyJsonByteSize($field, $value, $options = 0) { $size = 0; switch ($field->getType()) { @@ -1567,14 +1578,19 @@ private function fieldDataOnlyJsonByteSize($field, $value) $size += 4; break; } - $enum_value_desc = $enum_desc->getValueByNumber($value); - if (!is_null($enum_value_desc)) { - $size += 2; - // size for "" - $size += strlen($enum_value_desc->getName()); + if ($options & PrintOptions::ALWAYS_PRINT_ENUMS_AS_INTS) { + $size += strlen(strval($value)); + // size for integer length } else { - $str_value = strval($value); - $size += strlen($str_value); + $enum_value_desc = $enum_desc->getValueByNumber($value); + if (!is_null($enum_value_desc)) { + $size += 2; + // size for "" + $size += strlen($enum_value_desc->getName()); + } else { + $str_value = strval($value); + $size += strlen($str_value); + } } break; case GPBType::BOOL: @@ -1600,7 +1616,7 @@ private function fieldDataOnlyJsonByteSize($field, $value) // size for \"\" break; case GPBType::MESSAGE: - $size += $value->jsonByteSize(); + $size += $value->jsonByteSize($options); break; # case GPBType::GROUP: # // TODO: Add support. @@ -1671,7 +1687,7 @@ private function fieldByteSize($field) /** * @ignore */ - private function fieldJsonByteSize($field) + private function fieldJsonByteSize($field, $options = 0) { $size = 0; if ($field->isMap()) { @@ -1682,7 +1698,11 @@ private function fieldJsonByteSize($field) if (!GPBUtil::hasSpecialJsonMapping($this)) { $size += 3; // size for "\"\":". - $size += strlen($field->getJsonName()); + if ($options & PrintOptions::PRESERVE_PROTO_FIELD_NAMES) { + $size += strlen($field->getName()); + } else { + $size += strlen($field->getJsonName()); + } // size for field name } $size += 2; @@ -1710,8 +1730,8 @@ private function fieldJsonByteSize($field) $size += 2; // size for "" } - $size += $this->fieldDataOnlyJsonByteSize($key_field, $key); - $size += $this->fieldDataOnlyJsonByteSize($value_field, $value); + $size += $this->fieldDataOnlyJsonByteSize($key_field, $key, $options); + $size += $this->fieldDataOnlyJsonByteSize($value_field, $value, $options); $size += 1; // size for : } @@ -1724,7 +1744,11 @@ private function fieldJsonByteSize($field) if (!GPBUtil::hasSpecialJsonMapping($this)) { $size += 3; // size for "\"\":". - $size += strlen($field->getJsonName()); + if ($options & PrintOptions::PRESERVE_PROTO_FIELD_NAMES) { + $size += strlen($field->getName()); + } else { + $size += strlen($field->getJsonName()); + } // size for field name } $size += 2; @@ -1733,19 +1757,23 @@ private function fieldJsonByteSize($field) // size for commas $getter = $field->getGetter(); foreach ($values as $value) { - $size += $this->fieldDataOnlyJsonByteSize($field, $value); + $size += $this->fieldDataOnlyJsonByteSize($field, $value, $options); } } } elseif ($this->existField($field) || GPBUtil::hasJsonValue($this)) { if (!GPBUtil::hasSpecialJsonMapping($this)) { $size += 3; // size for "\"\":". - $size += strlen($field->getJsonName()); + if ($options & PrintOptions::PRESERVE_PROTO_FIELD_NAMES) { + $size += strlen($field->getName()); + } else { + $size += strlen($field->getJsonName()); + } // size for field name } $getter = $field->getGetter(); $value = $this->{$getter}(); - $size += $this->fieldDataOnlyJsonByteSize($field, $value); + $size += $this->fieldDataOnlyJsonByteSize($field, $value, $options); } return $size; } @@ -1785,7 +1813,7 @@ private function kvUpdateHelper($field, $update_key, $update_value) /** * @ignore */ - public function jsonByteSize() + public function jsonByteSize($options = 0) { $size = 0; if (is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Any')) { @@ -1799,9 +1827,9 @@ public function jsonByteSize() if (GPBUtil::hasSpecialJsonMapping($value_msg)) { // Size for "\",value\":". $size += 9; - $size += $value_msg->jsonByteSize(); + $size += $value_msg->jsonByteSize($options); } else { - $value_size = $value_msg->jsonByteSize(); + $value_size = $value_msg->jsonByteSize($options); // size === 2 it's empty message {} which is not serialized inside any if ($value_size !== 2) { // Size for value. +1 for comma, -2 for "{}". @@ -1823,7 +1851,7 @@ public function jsonByteSize() } elseif (get_class($this) === 'Google\\Protobuf\\ListValue') { $field = $this->desc->getField()[1]; if ($this->existField($field)) { - $field_size = $this->fieldJsonByteSize($field); + $field_size = $this->fieldJsonByteSize($field, $options); $size += $field_size; } else { // Size for "[]". @@ -1832,7 +1860,7 @@ public function jsonByteSize() } elseif (get_class($this) === 'Google\\Protobuf\\Struct') { $field = $this->desc->getField()[1]; if ($this->existField($field)) { - $field_size = $this->fieldJsonByteSize($field); + $field_size = $this->fieldJsonByteSize($field, $options); $size += $field_size; } else { // Size for "{}". @@ -1846,7 +1874,7 @@ public function jsonByteSize() $fields = $this->desc->getField(); $count = 0; foreach ($fields as $field) { - $field_size = $this->fieldJsonByteSize($field); + $field_size = $this->fieldJsonByteSize($field, $options); $size += $field_size; if ($field_size != 0) { $count++; diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php index a2f924ccc..a68619351 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php @@ -1,14 +1,15 @@ google.protobuf.MessageOptions */ @@ -52,9 +53,6 @@ class MessageOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google */ protected $deprecated = null; /** - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. * Whether the message is an automatically generated map entry type for the * maps field. * For maps fields: @@ -70,6 +68,9 @@ class MessageOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google * use a native map in the target language to hold the keys and values. * The reflection APIs in such implementations still need to work as * if the field is a repeated message field. + * NOTE: Do not set the option in .proto files. Always use the maps syntax + * instead. The option should only be implicitly set by the proto compiler + * parser. * * Generated from protobuf field optional bool map_entry = 7; */ @@ -88,6 +89,15 @@ class MessageOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google * @deprecated */ protected $deprecated_legacy_json_field_conflicts = null; + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 12; + */ + protected $features = null; /** * The parser stores options it doesn't recognize here. See above. * @@ -126,9 +136,6 @@ class MessageOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google * for the message, or it will be completely ignored; in the very least, * this is a formalization for deprecating messages. * @type bool $map_entry - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. * Whether the message is an automatically generated map entry type for the * maps field. * For maps fields: @@ -144,6 +151,9 @@ class MessageOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google * use a native map in the target language to hold the keys and values. * The reflection APIs in such implementations still need to work as * if the field is a repeated message field. + * NOTE: Do not set the option in .proto files. Always use the maps syntax + * instead. The option should only be implicitly set by the proto compiler + * parser. * @type bool $deprecated_legacy_json_field_conflicts * Enable the legacy handling of JSON field name conflicts. This lowercases * and strips underscored from the fields before comparison in proto3 only. @@ -153,7 +163,12 @@ class MessageOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google * to the change in behavior for JSON field name conflicts. * TODO This is legacy behavior we plan to remove once downstream * teams have had time to migrate. - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option + * @type \Google\Protobuf\Internal\FeatureSet $features + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * @type \Google\Protobuf\Internal\UninterpretedOption[] $uninterpreted_option * The parser stores options it doesn't recognize here. See above. * } */ @@ -294,9 +309,6 @@ public function setDeprecated($var) return $this; } /** - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. * Whether the message is an automatically generated map entry type for the * maps field. * For maps fields: @@ -312,6 +324,9 @@ public function setDeprecated($var) * use a native map in the target language to hold the keys and values. * The reflection APIs in such implementations still need to work as * if the field is a repeated message field. + * NOTE: Do not set the option in .proto files. Always use the maps syntax + * instead. The option should only be implicitly set by the proto compiler + * parser. * * Generated from protobuf field optional bool map_entry = 7; * @return bool @@ -329,9 +344,6 @@ public function clearMapEntry() unset($this->map_entry); } /** - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. * Whether the message is an automatically generated map entry type for the * maps field. * For maps fields: @@ -347,6 +359,9 @@ public function clearMapEntry() * use a native map in the target language to hold the keys and values. * The reflection APIs in such implementations still need to work as * if the field is a repeated message field. + * NOTE: Do not set the option in .proto files. Always use the maps syntax + * instead. The option should only be implicitly set by the proto compiler + * parser. * * Generated from protobuf field optional bool map_entry = 7; * @param bool $var @@ -374,12 +389,16 @@ public function setMapEntry($var) */ public function getDeprecatedLegacyJsonFieldConflicts() { - @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', \E_USER_DEPRECATED); + if (isset($this->deprecated_legacy_json_field_conflicts)) { + @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', \E_USER_DEPRECATED); + } return isset($this->deprecated_legacy_json_field_conflicts) ? $this->deprecated_legacy_json_field_conflicts : \false; } public function hasDeprecatedLegacyJsonFieldConflicts() { - @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', \E_USER_DEPRECATED); + if (isset($this->deprecated_legacy_json_field_conflicts)) { + @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', \E_USER_DEPRECATED); + } return isset($this->deprecated_legacy_json_field_conflicts); } public function clearDeprecatedLegacyJsonFieldConflicts() @@ -409,11 +428,48 @@ public function setDeprecatedLegacyJsonFieldConflicts($var) $this->deprecated_legacy_json_field_conflicts = $var; return $this; } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 12; + * @return \Google\Protobuf\Internal\FeatureSet|null + */ + public function getFeatures() + { + return $this->features; + } + public function hasFeatures() + { + return isset($this->features); + } + public function clearFeatures() + { + unset($this->features); + } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 12; + * @param \Google\Protobuf\Internal\FeatureSet $var + * @return $this + */ + public function setFeatures($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet::class); + $this->features = $var; + return $this; + } /** * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\UninterpretedOption> */ public function getUninterpretedOption() { @@ -423,7 +479,7 @@ public function getUninterpretedOption() * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\UninterpretedOption[] $var * @return $this */ public function setUninterpretedOption($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php index df113ab09..939fb81bd 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php @@ -1,14 +1,15 @@ google.protobuf.MethodOptions */ @@ -27,6 +28,15 @@ class MethodOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ * Generated from protobuf field optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; */ protected $idempotency_level = null; + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 35; + */ + protected $features = null; /** * The parser stores options it doesn't recognize here. See above. * @@ -45,7 +55,12 @@ class MethodOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ * for the method, or it will be completely ignored; in the very least, * this is a formalization for deprecating methods. * @type int $idempotency_level - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option + * @type \Google\Protobuf\Internal\FeatureSet $features + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * @type \Google\Protobuf\Internal\UninterpretedOption[] $uninterpreted_option * The parser stores options it doesn't recognize here. See above. * } */ @@ -118,11 +133,48 @@ public function setIdempotencyLevel($var) $this->idempotency_level = $var; return $this; } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 35; + * @return \Google\Protobuf\Internal\FeatureSet|null + */ + public function getFeatures() + { + return $this->features; + } + public function hasFeatures() + { + return isset($this->features); + } + public function clearFeatures() + { + unset($this->features); + } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 35; + * @param \Google\Protobuf\Internal\FeatureSet $var + * @return $this + */ + public function setFeatures($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet::class); + $this->features = $var; + return $this; + } /** * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\UninterpretedOption> */ public function getUninterpretedOption() { @@ -132,7 +184,7 @@ public function getUninterpretedOption() * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\UninterpretedOption[] $var * @return $this */ public function setUninterpretedOption($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MethodOptions/IdempotencyLevel.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MethodOptions/IdempotencyLevel.php index 477edcf18..111e1b31f 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MethodOptions/IdempotencyLevel.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MethodOptions/IdempotencyLevel.php @@ -1,6 +1,7 @@ google.protobuf.OneofOptions */ class OneofOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 1; + */ + protected $features = null; /** * The parser stores options it doesn't recognize here. See above. * @@ -26,7 +36,12 @@ class OneofOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option + * @type \Google\Protobuf\Internal\FeatureSet $features + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * @type \Google\Protobuf\Internal\UninterpretedOption[] $uninterpreted_option * The parser stores options it doesn't recognize here. See above. * } */ @@ -35,11 +50,48 @@ public function __construct($data = NULL) \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); parent::__construct($data); } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 1; + * @return \Google\Protobuf\Internal\FeatureSet|null + */ + public function getFeatures() + { + return $this->features; + } + public function hasFeatures() + { + return isset($this->features); + } + public function clearFeatures() + { + unset($this->features); + } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 1; + * @param \Google\Protobuf\Internal\FeatureSet $var + * @return $this + */ + public function setFeatures($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet::class); + $this->features = $var; + return $this; + } /** * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\UninterpretedOption> */ public function getUninterpretedOption() { @@ -49,7 +101,7 @@ public function getUninterpretedOption() * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\UninterpretedOption[] $var * @return $this */ public function setUninterpretedOption($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php index 95c5b4349..d2cd43757 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php @@ -1,233 +1,15 @@ container = []; - $this->type = $type; - if ($this->type == GPBType::MESSAGE) { - $pool = DescriptorPool::getGeneratedPool(); - $desc = $pool->getDescriptorByClassName($klass); - if ($desc == NULL) { - new $klass(); - // No msg class instance has been created before. - $desc = $pool->getDescriptorByClassName($klass); - } - $this->klass = $desc->getClass(); - $this->legacy_klass = $desc->getLegacyClass(); - } - } - /** - * @ignore - */ - public function getType() - { - return $this->type; - } - /** - * @ignore - */ - public function getClass() - { - return $this->klass; - } - /** - * @ignore - */ - public function getLegacyClass() - { - return $this->legacy_klass; - } - /** - * Return the element at the given index. - * - * This will also be called for: $ele = $arr[0] - * - * @param integer $offset The index of the element to be fetched. - * @return mixed The stored element at given index. - * @throws \ErrorException Invalid type for index. - * @throws \ErrorException Non-existing index. - * @todo need to add return type mixed (require update php version to 8.0) - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return $this->container[$offset]; - } - /** - * Assign the element at the given index. - * - * This will also be called for: $arr []= $ele and $arr[0] = ele - * - * @param int|null $offset The index of the element to be assigned. - * @param mixed $value The element to be assigned. - * @return void - * @throws \ErrorException Invalid type for index. - * @throws \ErrorException Non-existing index. - * @throws \ErrorException Incorrect type of the element. - * @todo need to add return type void (require update php version to 7.1) - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - switch ($this->type) { - case GPBType::SFIXED32: - case GPBType::SINT32: - case GPBType::INT32: - case GPBType::ENUM: - GPBUtil::checkInt32($value); - break; - case GPBType::FIXED32: - case GPBType::UINT32: - GPBUtil::checkUint32($value); - break; - case GPBType::SFIXED64: - case GPBType::SINT64: - case GPBType::INT64: - GPBUtil::checkInt64($value); - break; - case GPBType::FIXED64: - case GPBType::UINT64: - GPBUtil::checkUint64($value); - break; - case GPBType::FLOAT: - GPBUtil::checkFloat($value); - break; - case GPBType::DOUBLE: - GPBUtil::checkDouble($value); - break; - case GPBType::BOOL: - GPBUtil::checkBool($value); - break; - case GPBType::BYTES: - GPBUtil::checkString($value, \false); - break; - case GPBType::STRING: - GPBUtil::checkString($value, \true); - break; - case GPBType::MESSAGE: - if (is_null($value)) { - throw new \TypeError("RepeatedField element cannot be null."); - } - GPBUtil::checkMessage($value, $this->klass); - break; - default: - break; - } - if (is_null($offset)) { - $this->container[] = $value; - } else { - $count = count($this->container); - if (!is_numeric($offset) || $offset < 0 || $offset >= $count) { - trigger_error("Cannot modify element at the given index", \E_USER_ERROR); - return; - } - $this->container[$offset] = $value; - } - } - /** - * Remove the element at the given index. - * - * This will also be called for: unset($arr) - * - * @param integer $offset The index of the element to be removed. - * @return void - * @throws \ErrorException Invalid type for index. - * @throws \ErrorException The element to be removed is not at the end of the - * RepeatedField. - * @todo need to add return type void (require update php version to 7.1) - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - $count = count($this->container); - if (!is_numeric($offset) || $count === 0 || $offset < 0 || $offset >= $count) { - trigger_error("Cannot remove element at the given index", \E_USER_ERROR); - return; - } - array_splice($this->container, $offset, 1); - } - /** - * Check the existence of the element at the given index. - * - * This will also be called for: isset($arr) - * - * @param integer $offset The index of the element to be removed. - * @return bool True if the element at the given offset exists. - * @throws \ErrorException Invalid type for index. - */ - public function offsetExists($offset) : bool - { - return isset($this->container[$offset]); - } - /** - * @ignore - */ - public function getIterator() : Traversable - { - return new RepeatedFieldIter($this->container); - } - /** - * Return the number of stored elements. - * - * This will also be called for: count($arr) - * - * @return integer The number of stored elements. - */ - public function count() : int - { - return count($this->container); - } - public function __debugInfo() + class RepeatedField extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\RepeatedField { - return array_map(function ($item) { - if ($item instanceof Message || $item instanceof RepeatedField) { - return $item->__debugInfo(); - } - return $item; - }, iterator_to_array($this)); } } +class_exists(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\RepeatedField::class); +@trigger_error('Google\\Protobuf\\Internal\\RepeatedField is deprecated and will be removed in the next major release. Use Google\\Protobuf\\RepeatedField instead', \E_USER_DEPRECATED); diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ServiceDescriptorProto.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ServiceDescriptorProto.php index f2057889d..50060a934 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ServiceDescriptorProto.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ServiceDescriptorProto.php @@ -1,14 +1,15 @@ |\Google\Protobuf\Internal\RepeatedField $method + * @type \Google\Protobuf\Internal\MethodDescriptorProto[] $method * @type \Google\Protobuf\Internal\ServiceOptions $options * } */ @@ -73,7 +74,7 @@ public function setName($var) } /** * Generated from protobuf field repeated .google.protobuf.MethodDescriptorProto method = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\MethodDescriptorProto> */ public function getMethod() { @@ -81,7 +82,7 @@ public function getMethod() } /** * Generated from protobuf field repeated .google.protobuf.MethodDescriptorProto method = 2; - * @param array<\Google\Protobuf\Internal\MethodDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\MethodDescriptorProto[] $var * @return $this */ public function setMethod($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ServiceOptions.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ServiceOptions.php index d3ca26ea8..212b9822b 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ServiceOptions.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/ServiceOptions.php @@ -1,19 +1,29 @@ google.protobuf.ServiceOptions */ class ServiceOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 34; + */ + protected $features = null; /** * Is this service deprecated? * Depending on the target platform, this can emit Deprecated annotations @@ -35,12 +45,17 @@ class ServiceOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google * @param array $data { * Optional. Data for populating the Message object. * + * @type \Google\Protobuf\Internal\FeatureSet $features + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. * @type bool $deprecated * Is this service deprecated? * Depending on the target platform, this can emit Deprecated annotations * for the service, or it will be completely ignored; in the very least, * this is a formalization for deprecating services. - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option + * @type \Google\Protobuf\Internal\UninterpretedOption[] $uninterpreted_option * The parser stores options it doesn't recognize here. See above. * } */ @@ -49,6 +64,43 @@ public function __construct($data = NULL) \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); parent::__construct($data); } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 34; + * @return \Google\Protobuf\Internal\FeatureSet|null + */ + public function getFeatures() + { + return $this->features; + } + public function hasFeatures() + { + return isset($this->features); + } + public function clearFeatures() + { + unset($this->features); + } + /** + * Any features defined in the specific edition. + * WARNING: This field should only be used by protobuf plugins or special + * cases like the proto compiler. Other uses are discouraged and + * developers should rely on the protoreflect APIs for their client language. + * + * Generated from protobuf field optional .google.protobuf.FeatureSet features = 34; + * @param \Google\Protobuf\Internal\FeatureSet $var + * @return $this + */ + public function setFeatures($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\FeatureSet::class); + $this->features = $var; + return $this; + } /** * Is this service deprecated? * Depending on the target platform, this can emit Deprecated annotations @@ -90,7 +142,7 @@ public function setDeprecated($var) * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\UninterpretedOption> */ public function getUninterpretedOption() { @@ -100,7 +152,7 @@ public function getUninterpretedOption() * The parser stores options it doesn't recognize here. See above. * * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\UninterpretedOption[] $var * @return $this */ public function setUninterpretedOption($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo.php index bfc2f5c39..976365e07 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo.php @@ -1,14 +1,15 @@ |\Google\Protobuf\Internal\RepeatedField $location + * @type \Google\Protobuf\Internal\SourceCodeInfo\Location[] $location * A Location identifies a piece of source code in a .proto file which * corresponds to a particular definition. This information is intended * to be useful to IDEs, code indexers, documentation generators, and similar @@ -162,7 +163,7 @@ public function __construct($data = NULL) * be recorded in the future. * * Generated from protobuf field repeated .google.protobuf.SourceCodeInfo.Location location = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\SourceCodeInfo\Location> */ public function getLocation() { @@ -212,7 +213,7 @@ public function getLocation() * be recorded in the future. * * Generated from protobuf field repeated .google.protobuf.SourceCodeInfo.Location location = 1; - * @param array<\Google\Protobuf\Internal\SourceCodeInfo\Location>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\SourceCodeInfo\Location[] $var * @return $this */ public function setLocation($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php index 237a7fc0b..31c18f306 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php @@ -1,14 +1,15 @@ google.protobuf.SourceCodeInfo.Location */ @@ -18,7 +19,7 @@ class Location extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto * Identifies which part of the FileDescriptorProto was defined at this * location. * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition occurs. + * the root FileDescriptorProto to the place where the definition appears. * For example, this path: * [ 4, 3, 2, 7, 1 ] * refers to: @@ -80,11 +81,11 @@ class Location extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto * // both. * // Detached comment for corge paragraph 2. * optional string corge = 5; - * /* Block comment attached + * /* Block comment attached * * to corge. Leading asterisks - * * will be removed. */ - * /* Block comment attached to - * * grault. */ + * * will be removed. {@*} + * /* Block comment attached to + * * grault. {@*} * optional int32 grault = 6; * // ignored detached comments. * @@ -105,11 +106,11 @@ class Location extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $path + * @type int[] $path * Identifies which part of the FileDescriptorProto was defined at this * location. * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition occurs. + * the root FileDescriptorProto to the place where the definition appears. * For example, this path: * [ 4, 3, 2, 7, 1 ] * refers to: @@ -127,7 +128,7 @@ class Location extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto * [ 4, 3, 2, 7 ] * this path refers to the whole field declaration (from the beginning * of the label to the terminating semicolon). - * @type array|\Google\Protobuf\Internal\RepeatedField $span + * @type int[] $span * Always has exactly three or four elements: start line, start column, * end line (optional, otherwise assumed same as start line), end column. * These are packed into a single field for efficiency. Note that line @@ -163,15 +164,15 @@ class Location extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto * // both. * // Detached comment for corge paragraph 2. * optional string corge = 5; - * /* Block comment attached + * /* Block comment attached * * to corge. Leading asterisks - * * will be removed. */ - * /* Block comment attached to - * * grault. */ + * * will be removed. {@*} + * /* Block comment attached to + * * grault. {@*} * optional int32 grault = 6; * // ignored detached comments. * @type string $trailing_comments - * @type array|\Google\Protobuf\Internal\RepeatedField $leading_detached_comments + * @type string[] $leading_detached_comments * } */ public function __construct($data = NULL) @@ -183,7 +184,7 @@ public function __construct($data = NULL) * Identifies which part of the FileDescriptorProto was defined at this * location. * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition occurs. + * the root FileDescriptorProto to the place where the definition appears. * For example, this path: * [ 4, 3, 2, 7, 1 ] * refers to: @@ -203,7 +204,7 @@ public function __construct($data = NULL) * of the label to the terminating semicolon). * * Generated from protobuf field repeated int32 path = 1 [packed = true]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPath() { @@ -213,7 +214,7 @@ public function getPath() * Identifies which part of the FileDescriptorProto was defined at this * location. * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition occurs. + * the root FileDescriptorProto to the place where the definition appears. * For example, this path: * [ 4, 3, 2, 7, 1 ] * refers to: @@ -233,7 +234,7 @@ public function getPath() * of the label to the terminating semicolon). * * Generated from protobuf field repeated int32 path = 1 [packed = true]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setPath($var) @@ -250,7 +251,7 @@ public function setPath($var) * 1 to each before displaying to a user. * * Generated from protobuf field repeated int32 span = 2 [packed = true]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSpan() { @@ -264,7 +265,7 @@ public function getSpan() * 1 to each before displaying to a user. * * Generated from protobuf field repeated int32 span = 2 [packed = true]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setSpan($var) @@ -303,11 +304,11 @@ public function setSpan($var) * // both. * // Detached comment for corge paragraph 2. * optional string corge = 5; - * /* Block comment attached + * /* Block comment attached * * to corge. Leading asterisks - * * will be removed. */ - * /* Block comment attached to - * * grault. */ + * * will be removed. {@*} + * /* Block comment attached to + * * grault. {@*} * optional int32 grault = 6; * // ignored detached comments. * @@ -356,11 +357,11 @@ public function clearLeadingComments() * // both. * // Detached comment for corge paragraph 2. * optional string corge = 5; - * /* Block comment attached + * /* Block comment attached * * to corge. Leading asterisks - * * will be removed. */ - * /* Block comment attached to - * * grault. */ + * * will be removed. {@*} + * /* Block comment attached to + * * grault. {@*} * optional int32 grault = 6; * // ignored detached comments. * @@ -403,7 +404,7 @@ public function setTrailingComments($var) } /** * Generated from protobuf field repeated string leading_detached_comments = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getLeadingDetachedComments() { @@ -411,7 +412,7 @@ public function getLeadingDetachedComments() } /** * Generated from protobuf field repeated string leading_detached_comments = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setLeadingDetachedComments($var) @@ -421,5 +422,3 @@ public function setLeadingDetachedComments($var) return $this; } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Location::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\SourceCodeInfo_Location::class); diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo_Location.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo_Location.php deleted file mode 100644 index 33b4cf2d9..000000000 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo_Location.php +++ /dev/null @@ -1,17 +0,0 @@ -google.protobuf.SymbolVisibility + */ +class SymbolVisibility +{ + /** + * Generated from protobuf enum VISIBILITY_UNSET = 0; + */ + const VISIBILITY_UNSET = 0; + /** + * Generated from protobuf enum VISIBILITY_LOCAL = 1; + */ + const VISIBILITY_LOCAL = 1; + /** + * Generated from protobuf enum VISIBILITY_EXPORT = 2; + */ + const VISIBILITY_EXPORT = 2; + private static $valueToName = [self::VISIBILITY_UNSET => 'VISIBILITY_UNSET', self::VISIBILITY_LOCAL => 'VISIBILITY_LOCAL', self::VISIBILITY_EXPORT => 'VISIBILITY_EXPORT']; + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php index e128325ae..6cf2ef7ff 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php @@ -1,14 +1,15 @@ |\Google\Protobuf\Internal\RepeatedField $name + * @type \Google\Protobuf\Internal\UninterpretedOption\NamePart[] $name * @type string $identifier_value * The value of the uninterpreted option, in whatever type the tokenizer * identified it as during parsing. Exactly one of these should be set. @@ -76,7 +77,7 @@ public function __construct($data = NULL) } /** * Generated from protobuf field repeated .google.protobuf.UninterpretedOption.NamePart name = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Internal\UninterpretedOption\NamePart> */ public function getName() { @@ -84,7 +85,7 @@ public function getName() } /** * Generated from protobuf field repeated .google.protobuf.UninterpretedOption.NamePart name = 2; - * @param array<\Google\Protobuf\Internal\UninterpretedOption\NamePart>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Internal\UninterpretedOption\NamePart[] $var * @return $this */ public function setName($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php index fee89d38b..4a1a86bc3 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php @@ -1,14 +1,15 @@ |\Google\Protobuf\Internal\RepeatedField $values + * @type \Google\Protobuf\Value[] $values * Repeated field of dynamically typed values. * } */ @@ -40,7 +41,7 @@ public function __construct($data = NULL) * Repeated field of dynamically typed values. * * Generated from protobuf field repeated .google.protobuf.Value values = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Value> */ public function getValues() { @@ -50,7 +51,7 @@ public function getValues() * Repeated field of dynamically typed values. * * Generated from protobuf field repeated .google.protobuf.Value values = 1; - * @param array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Value[] $var * @return $this */ public function setValues($var) diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Method.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Method.php index 2798a3473..edacb35ab 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Method.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Method.php @@ -1,14 +1,19 @@ google.protobuf.Method */ @@ -52,10 +57,22 @@ class Method extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu private $options; /** * The source syntax of this method. + * This field should be ignored, instead the syntax should be inherited from + * Api. This is similar to Field and EnumValue. * - * Generated from protobuf field .google.protobuf.Syntax syntax = 7; + * Generated from protobuf field .google.protobuf.Syntax syntax = 7 [deprecated = true]; + * @deprecated */ protected $syntax = 0; + /** + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. + * This field should be ignored, instead the edition should be inherited from + * Api. This is similar to Field and EnumValue. + * + * Generated from protobuf field string edition = 8 [deprecated = true]; + * @deprecated + */ + protected $edition = ''; /** * Constructor. * @@ -72,10 +89,16 @@ class Method extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu * The URL of the output message type. * @type bool $response_streaming * If true, the response is streamed. - * @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options + * @type \Google\Protobuf\Option[] $options * Any metadata attached to the method. * @type int $syntax * The source syntax of this method. + * This field should be ignored, instead the syntax should be inherited from + * Api. This is similar to Field and EnumValue. + * @type string $edition + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. + * This field should be ignored, instead the edition should be inherited from + * Api. This is similar to Field and EnumValue. * } */ public function __construct($data = NULL) @@ -202,7 +225,7 @@ public function setResponseStreaming($var) * Any metadata attached to the method. * * Generated from protobuf field repeated .google.protobuf.Option options = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Option> */ public function getOptions() { @@ -212,7 +235,7 @@ public function getOptions() * Any metadata attached to the method. * * Generated from protobuf field repeated .google.protobuf.Option options = 6; - * @param array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Option[] $var * @return $this */ public function setOptions($var) @@ -223,25 +246,68 @@ public function setOptions($var) } /** * The source syntax of this method. + * This field should be ignored, instead the syntax should be inherited from + * Api. This is similar to Field and EnumValue. * - * Generated from protobuf field .google.protobuf.Syntax syntax = 7; + * Generated from protobuf field .google.protobuf.Syntax syntax = 7 [deprecated = true]; * @return int + * @deprecated */ public function getSyntax() { + if ($this->syntax !== 0) { + @trigger_error('syntax is deprecated.', \E_USER_DEPRECATED); + } return $this->syntax; } /** * The source syntax of this method. + * This field should be ignored, instead the syntax should be inherited from + * Api. This is similar to Field and EnumValue. * - * Generated from protobuf field .google.protobuf.Syntax syntax = 7; + * Generated from protobuf field .google.protobuf.Syntax syntax = 7 [deprecated = true]; * @param int $var * @return $this + * @deprecated */ public function setSyntax($var) { + @trigger_error('syntax is deprecated.', \E_USER_DEPRECATED); GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Syntax::class); $this->syntax = $var; return $this; } + /** + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. + * This field should be ignored, instead the edition should be inherited from + * Api. This is similar to Field and EnumValue. + * + * Generated from protobuf field string edition = 8 [deprecated = true]; + * @return string + * @deprecated + */ + public function getEdition() + { + if ($this->edition !== '') { + @trigger_error('edition is deprecated.', \E_USER_DEPRECATED); + } + return $this->edition; + } + /** + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. + * This field should be ignored, instead the edition should be inherited from + * Api. This is similar to Field and EnumValue. + * + * Generated from protobuf field string edition = 8 [deprecated = true]; + * @param string $var + * @return $this + * @deprecated + */ + public function setEdition($var) + { + @trigger_error('edition is deprecated.', \E_USER_DEPRECATED); + GPBUtil::checkString($var, True); + $this->edition = $var; + return $this; + } } diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Mixin.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Mixin.php index 59a257a58..2964f80b8 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Mixin.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Mixin.php @@ -1,12 +1,13 @@ google.protobuf.NullValue */ diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Option.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Option.php index 9f3a3de4f..e2da7128c 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Option.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Option.php @@ -1,15 +1,19 @@ google.protobuf.Option */ diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/PrintOptions.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/PrintOptions.php new file mode 100644 index 000000000..6b6a67115 --- /dev/null +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/PrintOptions.php @@ -0,0 +1,15 @@ + + * @implements \IteratorAggregate + */ +class RepeatedField implements \ArrayAccess, \IteratorAggregate, \Countable +{ + /** + * @ignore + */ + private $container; + /** + * @ignore + */ + private $type; + /** + * @ignore + * @var string|class-string + */ + private $klass; + /** + * Constructs an instance of RepeatedField. + * + * @param integer $type Type of the stored element. + * @param string|class-string $klass Message/Enum class name (message/enum fields only). + * @ignore + */ + public function __construct($type, $klass = null) + { + $this->container = []; + $this->type = $type; + if ($this->type == GPBType::MESSAGE) { + $pool = DescriptorPool::getGeneratedPool(); + $desc = $pool->getDescriptorByClassName($klass); + if ($desc == NULL) { + new $klass(); + // No msg class instance has been created before. + $desc = $pool->getDescriptorByClassName($klass); + } + $this->klass = $desc->getClass(); + } + } + /** + * @ignore + */ + public function getType() + { + return $this->type; + } + /** + * @ignore + * @return string|class-string + */ + public function getClass() + { + return $this->klass; + } + /** + * Return the element at the given index. + * + * This will also be called for: $ele = $arr[0] + * + * @param integer $offset The index of the element to be fetched. + * @return T The stored element at given index. + * @throws \ErrorException Invalid type for index. + * @throws \ErrorException Non-existing index. + * @todo need to add return type mixed (require update php version to 8.0) + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset]; + } + /** + * Assign the element at the given index. + * + * This will also be called for: $arr []= $ele and $arr[0] = ele + * + * @param int|null $offset The index of the element to be assigned. + * @param T $value The element to be assigned. + * @return void + * @throws \ErrorException Invalid type for index. + * @throws \ErrorException Non-existing index. + * @throws \ErrorException Incorrect type of the element. + * @todo need to add return type void (require update php version to 7.1) + */ + #[\ReturnTypeWillChange] + public function offsetSet($offset, $value) + { + switch ($this->type) { + case GPBType::SFIXED32: + case GPBType::SINT32: + case GPBType::INT32: + case GPBType::ENUM: + GPBUtil::checkInt32($value); + break; + case GPBType::FIXED32: + case GPBType::UINT32: + GPBUtil::checkUint32($value); + break; + case GPBType::SFIXED64: + case GPBType::SINT64: + case GPBType::INT64: + GPBUtil::checkInt64($value); + break; + case GPBType::FIXED64: + case GPBType::UINT64: + GPBUtil::checkUint64($value); + break; + case GPBType::FLOAT: + GPBUtil::checkFloat($value); + break; + case GPBType::DOUBLE: + GPBUtil::checkDouble($value); + break; + case GPBType::BOOL: + GPBUtil::checkBool($value); + break; + case GPBType::BYTES: + GPBUtil::checkString($value, \false); + break; + case GPBType::STRING: + GPBUtil::checkString($value, \true); + break; + case GPBType::MESSAGE: + if (is_null($value)) { + throw new \TypeError("RepeatedField element cannot be null."); + } + GPBUtil::checkMessage($value, $this->klass); + break; + default: + break; + } + if (is_null($offset)) { + $this->container[] = $value; + } else { + $count = count($this->container); + if (!is_numeric($offset) || $offset < 0 || $offset >= $count) { + trigger_error("Cannot modify element at the given index", \E_USER_ERROR); + return; + } + $this->container[$offset] = $value; + } + } + /** + * Remove the element at the given index. + * + * This will also be called for: unset($arr) + * + * @param integer $offset The index of the element to be removed. + * @return void + * @throws \ErrorException Invalid type for index. + * @throws \ErrorException The element to be removed is not at the end of the + * RepeatedField. + * @todo need to add return type void (require update php version to 7.1) + */ + #[\ReturnTypeWillChange] + public function offsetUnset($offset) + { + $count = count($this->container); + if (!is_numeric($offset) || $count === 0 || $offset < 0 || $offset >= $count) { + trigger_error("Cannot remove element at the given index", \E_USER_ERROR); + return; + } + array_splice($this->container, $offset, 1); + } + /** + * Check the existence of the element at the given index. + * + * This will also be called for: isset($arr) + * + * @param integer $offset The index of the element to be removed. + * @return bool True if the element at the given offset exists. + * @throws \ErrorException Invalid type for index. + */ + public function offsetExists($offset) : bool + { + return isset($this->container[$offset]); + } + /** + * @ignore + */ + public function getIterator() : Traversable + { + return new RepeatedFieldIter($this->container); + } + /** + * Return the number of stored elements. + * + * This will also be called for: count($arr) + * + * @return integer The number of stored elements. + */ + public function count() : int + { + return count($this->container); + } + public function __debugInfo() + { + return array_map(function ($item) { + if ($item instanceof Message || $item instanceof RepeatedField) { + return $item->__debugInfo(); + } + return $item; + }, iterator_to_array($this)); + } +} +class_alias(RepeatedField::class, Internal\RepeatedField::class); diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/SourceContext.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/SourceContext.php index 8facf693c..a8c20abb0 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/SourceContext.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/SourceContext.php @@ -1,12 +1,13 @@ google.protobuf.StringValue */ diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Struct.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Struct.php index acedfa691..6d1f39b86 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Struct.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Struct.php @@ -1,12 +1,13 @@ SYNTAX_PROTO3 = 1; */ const SYNTAX_PROTO3 = 1; - private static $valueToName = [self::SYNTAX_PROTO2 => 'SYNTAX_PROTO2', self::SYNTAX_PROTO3 => 'SYNTAX_PROTO3']; + /** + * Syntax `editions`. + * + * Generated from protobuf enum SYNTAX_EDITIONS = 2; + */ + const SYNTAX_EDITIONS = 2; + private static $valueToName = [self::SYNTAX_PROTO2 => 'SYNTAX_PROTO2', self::SYNTAX_PROTO3 => 'SYNTAX_PROTO3', self::SYNTAX_EDITIONS => 'SYNTAX_EDITIONS']; public static function name($value) { if (!isset(self::$valueToName[$value])) { diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Timestamp.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Timestamp.php index 07d621397..9de46154d 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Timestamp.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Timestamp.php @@ -1,12 +1,13 @@ google.protobuf.Timestamp @@ -80,17 +81,18 @@ class Timestamp extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\TimestampBase { /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. + * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must + * be between -315576000000 and 315576000000 inclusive (which corresponds to + * 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z). * * Generated from protobuf field int64 seconds = 1; */ protected $seconds = 0; /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 + * Non-negative fractions of a second at nanosecond resolution. This field is + * the nanosecond portion of the duration, not an alternative to seconds. + * Negative second values with fractions must still have non-negative nanos + * values that count forward in time. Must be between 0 and 999,999,999 * inclusive. * * Generated from protobuf field int32 nanos = 2; @@ -103,13 +105,14 @@ class Timestamp extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot * Optional. Data for populating the Message object. * * @type int|string $seconds - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. + * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must + * be between -315576000000 and 315576000000 inclusive (which corresponds to + * 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z). * @type int $nanos - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 + * Non-negative fractions of a second at nanosecond resolution. This field is + * the nanosecond portion of the duration, not an alternative to seconds. + * Negative second values with fractions must still have non-negative nanos + * values that count forward in time. Must be between 0 and 999,999,999 * inclusive. * } */ @@ -119,9 +122,9 @@ public function __construct($data = NULL) parent::__construct($data); } /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. + * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must + * be between -315576000000 and 315576000000 inclusive (which corresponds to + * 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z). * * Generated from protobuf field int64 seconds = 1; * @return int|string @@ -131,9 +134,9 @@ public function getSeconds() return $this->seconds; } /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. + * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must + * be between -315576000000 and 315576000000 inclusive (which corresponds to + * 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z). * * Generated from protobuf field int64 seconds = 1; * @param int|string $var @@ -146,9 +149,10 @@ public function setSeconds($var) return $this; } /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 + * Non-negative fractions of a second at nanosecond resolution. This field is + * the nanosecond portion of the duration, not an alternative to seconds. + * Negative second values with fractions must still have non-negative nanos + * values that count forward in time. Must be between 0 and 999,999,999 * inclusive. * * Generated from protobuf field int32 nanos = 2; @@ -159,9 +163,10 @@ public function getNanos() return $this->nanos; } /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 + * Non-negative fractions of a second at nanosecond resolution. This field is + * the nanosecond portion of the duration, not an alternative to seconds. + * Negative second values with fractions must still have non-negative nanos + * values that count forward in time. Must be between 0 and 999,999,999 * inclusive. * * Generated from protobuf field int32 nanos = 2; diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Type.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Type.php index 7ac834dd6..ef3abdae3 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Type.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Type.php @@ -1,14 +1,19 @@ google.protobuf.Type */ @@ -50,6 +55,12 @@ class Type extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\ * Generated from protobuf field .google.protobuf.Syntax syntax = 6; */ protected $syntax = 0; + /** + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. + * + * Generated from protobuf field string edition = 7; + */ + protected $edition = ''; /** * Constructor. * @@ -58,16 +69,18 @@ class Type extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\ * * @type string $name * The fully qualified message name. - * @type array<\Google\Protobuf\Field>|\Google\Protobuf\Internal\RepeatedField $fields + * @type \Google\Protobuf\Field[] $fields * The list of fields. - * @type array|\Google\Protobuf\Internal\RepeatedField $oneofs + * @type string[] $oneofs * The list of types appearing in `oneof` definitions in this type. - * @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options + * @type \Google\Protobuf\Option[] $options * The protocol buffer options. * @type \Google\Protobuf\SourceContext $source_context * The source context. * @type int $syntax * The source syntax. + * @type string $edition + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. * } */ public function __construct($data = NULL) @@ -102,7 +115,7 @@ public function setName($var) * The list of fields. * * Generated from protobuf field repeated .google.protobuf.Field fields = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Field> */ public function getFields() { @@ -112,7 +125,7 @@ public function getFields() * The list of fields. * * Generated from protobuf field repeated .google.protobuf.Field fields = 2; - * @param array<\Google\Protobuf\Field>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Field[] $var * @return $this */ public function setFields($var) @@ -125,7 +138,7 @@ public function setFields($var) * The list of types appearing in `oneof` definitions in this type. * * Generated from protobuf field repeated string oneofs = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getOneofs() { @@ -135,7 +148,7 @@ public function getOneofs() * The list of types appearing in `oneof` definitions in this type. * * Generated from protobuf field repeated string oneofs = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setOneofs($var) @@ -148,7 +161,7 @@ public function setOneofs($var) * The protocol buffer options. * * Generated from protobuf field repeated .google.protobuf.Option options = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Option> */ public function getOptions() { @@ -158,7 +171,7 @@ public function getOptions() * The protocol buffer options. * * Generated from protobuf field repeated .google.protobuf.Option options = 4; - * @param array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Option[] $var * @return $this */ public function setOptions($var) @@ -221,4 +234,27 @@ public function setSyntax($var) $this->syntax = $var; return $this; } + /** + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. + * + * Generated from protobuf field string edition = 7; + * @return string + */ + public function getEdition() + { + return $this->edition; + } + /** + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. + * + * Generated from protobuf field string edition = 7; + * @param string $var + * @return $this + */ + public function setEdition($var) + { + GPBUtil::checkString($var, True); + $this->edition = $var; + return $this; + } } diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/UInt32Value.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/UInt32Value.php index d25ca7a31..a244a1096 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/UInt32Value.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/UInt32Value.php @@ -1,15 +1,18 @@ google.protobuf.UInt32Value */ diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/UInt64Value.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/UInt64Value.php index ce1cc1aa7..0a839ef7a 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/UInt64Value.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/UInt64Value.php @@ -1,15 +1,18 @@ google.protobuf.UInt64Value */ diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Value.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Value.php index 3ec26514c..789948621 100644 --- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Value.php +++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Value.php @@ -1,12 +1,13 @@ $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\DescriptorProto\\ExtensionRange' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ExtensionRange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\DescriptorProto\\ReservedRange' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ReservedRange.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\DescriptorProto_ExtensionRange' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\DescriptorProto_ReservedRange' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ReservedRange.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\Edition' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/Edition.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumBuilderContext' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumDescriptor' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumDescriptorProto' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumDescriptorProto\\EnumReservedRange' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumDescriptorProto_EnumReservedRange' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto_EnumReservedRange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumOptions' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumValueDescriptorProto' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumValueDescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumValueOptions' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumValueOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\ExtensionRangeOptions' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\ExtensionRangeOptions\\Declaration' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions/Declaration.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\ExtensionRangeOptions\\VerificationState' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions/VerificationState.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSetDefaults' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSetDefaults.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSetDefaults\\FeatureSetEditionDefault' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSetDefaults/FeatureSetEditionDefault.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\EnforceNamingStyle' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/EnforceNamingStyle.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\EnumType' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/EnumType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\FieldPresence' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/FieldPresence.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\JsonFormat' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/JsonFormat.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\MessageEncoding' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/MessageEncoding.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\RepeatedFieldEncoding' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/RepeatedFieldEncoding.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\Utf8Validation' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/Utf8Validation.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\VisibilityFeature' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/VisibilityFeature.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\VisibilityFeature\\DefaultSymbolVisibility' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/VisibilityFeature/DefaultSymbolVisibility.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldDescriptor' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldDescriptorProto' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldDescriptorProto\\Label' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Label.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldDescriptorProto\\Type' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Type.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldDescriptorProto_Label' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldDescriptorProto_Type' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Type.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions\\CType' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/CType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions\\EditionDefault' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/EditionDefault.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions\\FeatureSupport' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/FeatureSupport.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions\\JSType' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/JSType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions_CType' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_CType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions_JSType' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_JSType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions\\OptionRetention' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/OptionRetention.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions\\OptionTargetType' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/OptionTargetType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FileDescriptor' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FileDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FileDescriptorProto' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FileDescriptorSet' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorSet.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FileOptions' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FileOptions\\OptimizeMode' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FileOptions/OptimizeMode.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FileOptions_OptimizeMode' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/FileOptions_OptimizeMode.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GPBDecodeException' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/GPBDecodeException.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GPBJsonWire' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GPBLabel' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/GPBLabel.php', @@ -1205,7 +1216,7 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GPBWireType' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/GPBWireType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GeneratedCodeInfo' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GeneratedCodeInfo\\Annotation' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GeneratedCodeInfo_Annotation' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo_Annotation.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GeneratedCodeInfo\\Annotation\\Semantic' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation/Semantic.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GetPublicDescriptorTrait' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\HasPublicDescriptorTrait' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/HasPublicDescriptorTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\MapEntry' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php', @@ -1217,7 +1228,6 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\MethodDescriptorProto' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\MethodOptions' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/MethodOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\MethodOptions\\IdempotencyLevel' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/MethodOptions/IdempotencyLevel.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\MethodOptions_IdempotencyLevel' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/MethodOptions_IdempotencyLevel.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\OneofDescriptor' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\OneofDescriptorProto' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\OneofField' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/OneofField.php', @@ -1229,17 +1239,18 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\ServiceOptions' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/ServiceOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\SourceCodeInfo' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\SourceCodeInfo\\Location' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\SourceCodeInfo_Location' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo_Location.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\SymbolVisibility' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/SymbolVisibility.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\TimestampBase' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/TimestampBase.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\UninterpretedOption' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\UninterpretedOption\\NamePart' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\UninterpretedOption_NamePart' => $baseDir . '/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption_NamePart.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\ListValue' => $baseDir . '/google/protobuf/src/Google/Protobuf/ListValue.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Method' => $baseDir . '/google/protobuf/src/Google/Protobuf/Method.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Mixin' => $baseDir . '/google/protobuf/src/Google/Protobuf/Mixin.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\NullValue' => $baseDir . '/google/protobuf/src/Google/Protobuf/NullValue.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\OneofDescriptor' => $baseDir . '/google/protobuf/src/Google/Protobuf/OneofDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Option' => $baseDir . '/google/protobuf/src/Google/Protobuf/Option.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\PrintOptions' => $baseDir . '/google/protobuf/src/Google/Protobuf/PrintOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\RepeatedField' => $baseDir . '/google/protobuf/src/Google/Protobuf/RepeatedField.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\SourceContext' => $baseDir . '/google/protobuf/src/Google/Protobuf/SourceContext.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\StringValue' => $baseDir . '/google/protobuf/src/Google/Protobuf/StringValue.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Struct' => $baseDir . '/google/protobuf/src/Google/Protobuf/Struct.php', diff --git a/vendor/prefixed/vendor/composer/autoload_real.php b/vendor/prefixed/vendor/composer/autoload_real.php index 68ca635b8..6dcedcaa5 100644 --- a/vendor/prefixed/vendor/composer/autoload_real.php +++ b/vendor/prefixed/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit492d6a2ce807be87c26276f742b9ba1b +class ComposerAutoloaderInit822a0d5ab1eaa1136de4dfece4da1859 { private static $loader; @@ -22,15 +22,15 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit492d6a2ce807be87c26276f742b9ba1b', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit822a0d5ab1eaa1136de4dfece4da1859', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); - spl_autoload_unregister(array('ComposerAutoloaderInit492d6a2ce807be87c26276f742b9ba1b', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit822a0d5ab1eaa1136de4dfece4da1859', 'loadClassLoader')); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); if ($useStaticLoader) { require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit492d6a2ce807be87c26276f742b9ba1b::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit822a0d5ab1eaa1136de4dfece4da1859::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -51,12 +51,12 @@ public static function getLoader() $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInit492d6a2ce807be87c26276f742b9ba1b::$files; + $includeFiles = Composer\Autoload\ComposerStaticInit822a0d5ab1eaa1136de4dfece4da1859::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire492d6a2ce807be87c26276f742b9ba1b($fileIdentifier, $file); + composerRequire822a0d5ab1eaa1136de4dfece4da1859($fileIdentifier, $file); } return $loader; @@ -68,7 +68,7 @@ public static function getLoader() * @param string $file * @return void */ -function composerRequire492d6a2ce807be87c26276f742b9ba1b($fileIdentifier, $file) +function composerRequire822a0d5ab1eaa1136de4dfece4da1859($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/prefixed/vendor/composer/autoload_static.php b/vendor/prefixed/vendor/composer/autoload_static.php index b4217bba2..d79d65134 100644 --- a/vendor/prefixed/vendor/composer/autoload_static.php +++ b/vendor/prefixed/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit492d6a2ce807be87c26276f742b9ba1b +class ComposerStaticInit822a0d5ab1eaa1136de4dfece4da1859 { public static $files = array ( '3b866681a14a27c0c8adec54ba7f6a5c' => __DIR__ . '/../..' . '/google/apiclient/src/aliases.php', @@ -1180,34 +1180,45 @@ class ComposerStaticInit492d6a2ce807be87c26276f742b9ba1b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\DescriptorProto' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\DescriptorProto\\ExtensionRange' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ExtensionRange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\DescriptorProto\\ReservedRange' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ReservedRange.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\DescriptorProto_ExtensionRange' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\DescriptorProto_ReservedRange' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ReservedRange.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\Edition' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/Edition.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumBuilderContext' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumDescriptor' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumDescriptorProto' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumDescriptorProto\\EnumReservedRange' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumDescriptorProto_EnumReservedRange' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto_EnumReservedRange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumOptions' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumValueDescriptorProto' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumValueDescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\EnumValueOptions' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumValueOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\ExtensionRangeOptions' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\ExtensionRangeOptions\\Declaration' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions/Declaration.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\ExtensionRangeOptions\\VerificationState' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions/VerificationState.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSetDefaults' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSetDefaults.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSetDefaults\\FeatureSetEditionDefault' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSetDefaults/FeatureSetEditionDefault.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\EnforceNamingStyle' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/EnforceNamingStyle.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\EnumType' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/EnumType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\FieldPresence' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/FieldPresence.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\JsonFormat' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/JsonFormat.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\MessageEncoding' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/MessageEncoding.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\RepeatedFieldEncoding' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/RepeatedFieldEncoding.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\Utf8Validation' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/Utf8Validation.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\VisibilityFeature' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/VisibilityFeature.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FeatureSet\\VisibilityFeature\\DefaultSymbolVisibility' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FeatureSet/VisibilityFeature/DefaultSymbolVisibility.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldDescriptor' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldDescriptorProto' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldDescriptorProto\\Label' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Label.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldDescriptorProto\\Type' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Type.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldDescriptorProto_Label' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldDescriptorProto_Type' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Type.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions\\CType' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/CType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions\\EditionDefault' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/EditionDefault.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions\\FeatureSupport' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/FeatureSupport.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions\\JSType' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/JSType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions_CType' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_CType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions_JSType' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_JSType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions\\OptionRetention' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/OptionRetention.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FieldOptions\\OptionTargetType' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/OptionTargetType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FileDescriptor' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FileDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FileDescriptorProto' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FileDescriptorSet' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorSet.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FileOptions' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FileOptions\\OptimizeMode' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FileOptions/OptimizeMode.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\FileOptions_OptimizeMode' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/FileOptions_OptimizeMode.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GPBDecodeException' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/GPBDecodeException.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GPBJsonWire' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GPBLabel' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/GPBLabel.php', @@ -1217,7 +1228,7 @@ class ComposerStaticInit492d6a2ce807be87c26276f742b9ba1b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GPBWireType' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/GPBWireType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GeneratedCodeInfo' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GeneratedCodeInfo\\Annotation' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GeneratedCodeInfo_Annotation' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo_Annotation.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GeneratedCodeInfo\\Annotation\\Semantic' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation/Semantic.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\GetPublicDescriptorTrait' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\HasPublicDescriptorTrait' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/HasPublicDescriptorTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\MapEntry' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php', @@ -1229,7 +1240,6 @@ class ComposerStaticInit492d6a2ce807be87c26276f742b9ba1b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\MethodDescriptorProto' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\MethodOptions' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/MethodOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\MethodOptions\\IdempotencyLevel' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/MethodOptions/IdempotencyLevel.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\MethodOptions_IdempotencyLevel' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/MethodOptions_IdempotencyLevel.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\OneofDescriptor' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\OneofDescriptorProto' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptorProto.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\OneofField' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/OneofField.php', @@ -1241,17 +1251,18 @@ class ComposerStaticInit492d6a2ce807be87c26276f742b9ba1b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\ServiceOptions' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/ServiceOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\SourceCodeInfo' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\SourceCodeInfo\\Location' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\SourceCodeInfo_Location' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo_Location.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\SymbolVisibility' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/SymbolVisibility.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\TimestampBase' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/TimestampBase.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\UninterpretedOption' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\UninterpretedOption\\NamePart' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Internal\\UninterpretedOption_NamePart' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption_NamePart.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\ListValue' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/ListValue.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Method' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Method.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Mixin' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Mixin.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\NullValue' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/NullValue.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\OneofDescriptor' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/OneofDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Option' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Option.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\PrintOptions' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/PrintOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\RepeatedField' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/RepeatedField.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\SourceContext' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/SourceContext.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\StringValue' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/StringValue.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Struct' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Struct.php', @@ -2165,7 +2176,7 @@ class ComposerStaticInit492d6a2ce807be87c26276f742b9ba1b public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->classMap = ComposerStaticInit492d6a2ce807be87c26276f742b9ba1b::$classMap; + $loader->classMap = ComposerStaticInit822a0d5ab1eaa1136de4dfece4da1859::$classMap; }, null, ClassLoader::class); }