Auto-generate files after PR #25201

This commit is contained in:
Protobuf Team Bot 2026-05-05 15:31:24 +00:00
parent 19b6229f8a
commit 5dd43451ac
11 changed files with 22 additions and 22 deletions

View file

@ -7,9 +7,9 @@ namespace GPBMetadata\Google\Protobuf;
class Any class Any
{ {
public static $is_initialized = false; public static bool $is_initialized = false;
public static function initOnce() { public static function initOnce(): void {
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
if (static::$is_initialized == true) { if (static::$is_initialized == true) {

View file

@ -7,9 +7,9 @@ namespace GPBMetadata\Google\Protobuf;
class Api class Api
{ {
public static $is_initialized = false; public static bool $is_initialized = false;
public static function initOnce() { public static function initOnce(): void {
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
if (static::$is_initialized == true) { if (static::$is_initialized == true) {

View file

@ -7,9 +7,9 @@ namespace GPBMetadata\Google\Protobuf;
class Duration class Duration
{ {
public static $is_initialized = false; public static bool $is_initialized = false;
public static function initOnce() { public static function initOnce(): void {
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
if (static::$is_initialized == true) { if (static::$is_initialized == true) {

View file

@ -7,9 +7,9 @@ namespace GPBMetadata\Google\Protobuf;
class FieldMask class FieldMask
{ {
public static $is_initialized = false; public static bool $is_initialized = false;
public static function initOnce() { public static function initOnce(): void {
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
if (static::$is_initialized == true) { if (static::$is_initialized == true) {

View file

@ -7,9 +7,9 @@ namespace GPBMetadata\Google\Protobuf;
class GPBEmpty class GPBEmpty
{ {
public static $is_initialized = false; public static bool $is_initialized = false;
public static function initOnce() { public static function initOnce(): void {
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
if (static::$is_initialized == true) { if (static::$is_initialized == true) {

View file

@ -7,9 +7,9 @@ namespace GPBMetadata\Google\Protobuf\Internal;
class Descriptor class Descriptor
{ {
public static $is_initialized = false; public static bool $is_initialized = false;
public static function initOnce() { public static function initOnce(): void {
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
if (static::$is_initialized == true) { if (static::$is_initialized == true) {

View file

@ -7,9 +7,9 @@ namespace GPBMetadata\Google\Protobuf;
class SourceContext class SourceContext
{ {
public static $is_initialized = false; public static bool $is_initialized = false;
public static function initOnce() { public static function initOnce(): void {
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
if (static::$is_initialized == true) { if (static::$is_initialized == true) {

View file

@ -7,9 +7,9 @@ namespace GPBMetadata\Google\Protobuf;
class Struct class Struct
{ {
public static $is_initialized = false; public static bool $is_initialized = false;
public static function initOnce() { public static function initOnce(): void {
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
if (static::$is_initialized == true) { if (static::$is_initialized == true) {

View file

@ -7,9 +7,9 @@ namespace GPBMetadata\Google\Protobuf;
class Timestamp class Timestamp
{ {
public static $is_initialized = false; public static bool $is_initialized = false;
public static function initOnce() { public static function initOnce(): void {
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
if (static::$is_initialized == true) { if (static::$is_initialized == true) {

View file

@ -7,9 +7,9 @@ namespace GPBMetadata\Google\Protobuf;
class Type class Type
{ {
public static $is_initialized = false; public static bool $is_initialized = false;
public static function initOnce() { public static function initOnce(): void {
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
if (static::$is_initialized == true) { if (static::$is_initialized == true) {

View file

@ -7,9 +7,9 @@ namespace GPBMetadata\Google\Protobuf;
class Wrappers class Wrappers
{ {
public static $is_initialized = false; public static bool $is_initialized = false;
public static function initOnce() { public static function initOnce(): void {
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
if (static::$is_initialized == true) { if (static::$is_initialized == true) {