From 251122bedc909985552ebcae27d5ef19c483dfa0 Mon Sep 17 00:00:00 2001 From: kafkiansky <37590388+kafkiansky@users.noreply.github.com> Date: Fri, 7 Aug 2026 08:29:28 +0000 Subject: [PATCH] chore: regenerate code for protoc-plugin 0.4.2 --- src/CalendarPeriod.php | 2 +- src/Color.php | 2 +- src/Date.php | 2 +- src/DateTime.php | 2 +- src/DateTime/TimeOffset.php | 2 +- src/DateTime/TimeOffsetTimeZone.php | 2 +- src/DateTime/TimeOffsetUtcOffset.php | 2 +- src/DayOfWeek.php | 2 +- src/Decimal.php | 2 +- src/DescriptorRegistry.php | 175 +++++++++++++++++++++++++++ src/Expr.php | 2 +- src/Fraction.php | 2 +- src/Interval.php | 2 +- src/LatLng.php | 2 +- src/LocalizedText.php | 2 +- src/Money.php | 2 +- src/Month.php | 2 +- src/PhoneNumber.php | 2 +- src/PhoneNumber/Kind.php | 2 +- src/PhoneNumber/KindE164Number.php | 2 +- src/PhoneNumber/KindShortCode.php | 2 +- src/PhoneNumber/ShortCode.php | 2 +- src/PostalAddress.php | 2 +- src/Quaternion.php | 2 +- src/TimeOfDay.php | 2 +- src/TimeZone.php | 2 +- src/autoload.metadata.php | 20 +-- 27 files changed, 202 insertions(+), 43 deletions(-) create mode 100644 src/DescriptorRegistry.php diff --git a/src/CalendarPeriod.php b/src/CalendarPeriod.php index f70c7e5..081aae9 100644 --- a/src/CalendarPeriod.php +++ b/src/CalendarPeriod.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/calendar_period.proto */ diff --git a/src/Color.php b/src/Color.php index d58998e..04ee3ff 100644 --- a/src/Color.php +++ b/src/Color.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/color.proto */ diff --git a/src/Date.php b/src/Date.php index 8cfaf52..d8fb087 100644 --- a/src/Date.php +++ b/src/Date.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/date.proto */ diff --git a/src/DateTime.php b/src/DateTime.php index 519627c..7558519 100644 --- a/src/DateTime.php +++ b/src/DateTime.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/datetime.proto */ diff --git a/src/DateTime/TimeOffset.php b/src/DateTime/TimeOffset.php index ecffae1..e097092 100644 --- a/src/DateTime/TimeOffset.php +++ b/src/DateTime/TimeOffset.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/datetime.proto */ diff --git a/src/DateTime/TimeOffsetTimeZone.php b/src/DateTime/TimeOffsetTimeZone.php index ed91751..34640f1 100644 --- a/src/DateTime/TimeOffsetTimeZone.php +++ b/src/DateTime/TimeOffsetTimeZone.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/datetime.proto */ diff --git a/src/DateTime/TimeOffsetUtcOffset.php b/src/DateTime/TimeOffsetUtcOffset.php index e9b2a70..4a8d430 100644 --- a/src/DateTime/TimeOffsetUtcOffset.php +++ b/src/DateTime/TimeOffsetUtcOffset.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/datetime.proto */ diff --git a/src/DayOfWeek.php b/src/DayOfWeek.php index 7abfa6b..897b703 100644 --- a/src/DayOfWeek.php +++ b/src/DayOfWeek.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/dayofweek.proto */ diff --git a/src/Decimal.php b/src/Decimal.php index c2d29c5..61d12cb 100644 --- a/src/Decimal.php +++ b/src/Decimal.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/decimal.proto */ diff --git a/src/DescriptorRegistry.php b/src/DescriptorRegistry.php new file mode 100644 index 0000000..b352a17 --- /dev/null +++ b/src/DescriptorRegistry.php @@ -0,0 +1,175 @@ +add(Registry\Descriptor::base64(self::CALENDAR_PERIOD_DESCRIPTOR_BUFFER), new File( + name: 'google/type/calendar_period.proto', + enums: [ + new File\EnumDescriptor('google.type.CalendarPeriod', \Google\Type\CalendarPeriod::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::COLOR_DESCRIPTOR_BUFFER), new File( + name: 'google/type/color.proto', + dependencies: [ + 'google/protobuf/wrappers.proto', + ], + messages: [ + new File\MessageDescriptor('google.type.Color', \Google\Type\Color::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::DATE_DESCRIPTOR_BUFFER), new File( + name: 'google/type/date.proto', + messages: [ + new File\MessageDescriptor('google.type.Date', \Google\Type\Date::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::DATETIME_DESCRIPTOR_BUFFER), new File( + name: 'google/type/datetime.proto', + dependencies: [ + 'google/protobuf/duration.proto', + ], + messages: [ + new File\MessageDescriptor('google.type.DateTime', \Google\Type\DateTime::class), + new File\MessageDescriptor('google.type.TimeZone', \Google\Type\TimeZone::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::DAYOFWEEK_DESCRIPTOR_BUFFER), new File( + name: 'google/type/dayofweek.proto', + enums: [ + new File\EnumDescriptor('google.type.DayOfWeek', \Google\Type\DayOfWeek::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::DECIMAL_DESCRIPTOR_BUFFER), new File( + name: 'google/type/decimal.proto', + messages: [ + new File\MessageDescriptor('google.type.Decimal', \Google\Type\Decimal::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::EXPR_DESCRIPTOR_BUFFER), new File( + name: 'google/type/expr.proto', + messages: [ + new File\MessageDescriptor('google.type.Expr', \Google\Type\Expr::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::FRACTION_DESCRIPTOR_BUFFER), new File( + name: 'google/type/fraction.proto', + messages: [ + new File\MessageDescriptor('google.type.Fraction', \Google\Type\Fraction::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::INTERVAL_DESCRIPTOR_BUFFER), new File( + name: 'google/type/interval.proto', + dependencies: [ + 'google/protobuf/timestamp.proto', + ], + messages: [ + new File\MessageDescriptor('google.type.Interval', \Google\Type\Interval::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::LATLNG_DESCRIPTOR_BUFFER), new File( + name: 'google/type/latlng.proto', + messages: [ + new File\MessageDescriptor('google.type.LatLng', \Google\Type\LatLng::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::LOCALIZED_TEXT_DESCRIPTOR_BUFFER), new File( + name: 'google/type/localized_text.proto', + messages: [ + new File\MessageDescriptor('google.type.LocalizedText', \Google\Type\LocalizedText::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::MONEY_DESCRIPTOR_BUFFER), new File( + name: 'google/type/money.proto', + messages: [ + new File\MessageDescriptor('google.type.Money', \Google\Type\Money::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::MONTH_DESCRIPTOR_BUFFER), new File( + name: 'google/type/month.proto', + enums: [ + new File\EnumDescriptor('google.type.Month', \Google\Type\Month::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::PHONE_NUMBER_DESCRIPTOR_BUFFER), new File( + name: 'google/type/phone_number.proto', + messages: [ + new File\MessageDescriptor('google.type.PhoneNumber', \Google\Type\PhoneNumber::class), + new File\MessageDescriptor('google.type.PhoneNumber.ShortCode', \Google\Type\PhoneNumber\ShortCode::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::POSTAL_ADDRESS_DESCRIPTOR_BUFFER), new File( + name: 'google/type/postal_address.proto', + messages: [ + new File\MessageDescriptor('google.type.PostalAddress', \Google\Type\PostalAddress::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::QUATERNION_DESCRIPTOR_BUFFER), new File( + name: 'google/type/quaternion.proto', + messages: [ + new File\MessageDescriptor('google.type.Quaternion', \Google\Type\Quaternion::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::TIMEOFDAY_DESCRIPTOR_BUFFER), new File( + name: 'google/type/timeofday.proto', + messages: [ + new File\MessageDescriptor('google.type.TimeOfDay', \Google\Type\TimeOfDay::class), + ], + )); + } +} diff --git a/src/Expr.php b/src/Expr.php index 9cd3e04..4e5a094 100644 --- a/src/Expr.php +++ b/src/Expr.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/expr.proto */ diff --git a/src/Fraction.php b/src/Fraction.php index 0abdfaf..46dbabc 100644 --- a/src/Fraction.php +++ b/src/Fraction.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/fraction.proto */ diff --git a/src/Interval.php b/src/Interval.php index 2fa942e..b300670 100644 --- a/src/Interval.php +++ b/src/Interval.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/interval.proto */ diff --git a/src/LatLng.php b/src/LatLng.php index bb29fba..60dfcf2 100644 --- a/src/LatLng.php +++ b/src/LatLng.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/latlng.proto */ diff --git a/src/LocalizedText.php b/src/LocalizedText.php index 8eac238..78f1c73 100644 --- a/src/LocalizedText.php +++ b/src/LocalizedText.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/localized_text.proto */ diff --git a/src/Money.php b/src/Money.php index f7dde3d..f96b957 100644 --- a/src/Money.php +++ b/src/Money.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/money.proto */ diff --git a/src/Month.php b/src/Month.php index a00072b..4b87382 100644 --- a/src/Month.php +++ b/src/Month.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/month.proto */ diff --git a/src/PhoneNumber.php b/src/PhoneNumber.php index e8aa2ed..866fdc0 100644 --- a/src/PhoneNumber.php +++ b/src/PhoneNumber.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/phone_number.proto */ diff --git a/src/PhoneNumber/Kind.php b/src/PhoneNumber/Kind.php index 05f3739..6d41d4c 100644 --- a/src/PhoneNumber/Kind.php +++ b/src/PhoneNumber/Kind.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/phone_number.proto */ diff --git a/src/PhoneNumber/KindE164Number.php b/src/PhoneNumber/KindE164Number.php index 98e56e0..6f7cf8d 100644 --- a/src/PhoneNumber/KindE164Number.php +++ b/src/PhoneNumber/KindE164Number.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/phone_number.proto */ diff --git a/src/PhoneNumber/KindShortCode.php b/src/PhoneNumber/KindShortCode.php index d093451..a5fd603 100644 --- a/src/PhoneNumber/KindShortCode.php +++ b/src/PhoneNumber/KindShortCode.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/phone_number.proto */ diff --git a/src/PhoneNumber/ShortCode.php b/src/PhoneNumber/ShortCode.php index 9d878b6..c985d77 100644 --- a/src/PhoneNumber/ShortCode.php +++ b/src/PhoneNumber/ShortCode.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/phone_number.proto */ diff --git a/src/PostalAddress.php b/src/PostalAddress.php index 59fac03..d20eb20 100644 --- a/src/PostalAddress.php +++ b/src/PostalAddress.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/postal_address.proto */ diff --git a/src/Quaternion.php b/src/Quaternion.php index 1e03950..ac58f3f 100644 --- a/src/Quaternion.php +++ b/src/Quaternion.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/quaternion.proto */ diff --git a/src/TimeOfDay.php b/src/TimeOfDay.php index ee79247..2ebbb4e 100644 --- a/src/TimeOfDay.php +++ b/src/TimeOfDay.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/timeofday.proto */ diff --git a/src/TimeZone.php b/src/TimeZone.php index 110d5e2..d357310 100644 --- a/src/TimeZone.php +++ b/src/TimeZone.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 * Source: google/type/datetime.proto */ diff --git a/src/autoload.metadata.php b/src/autoload.metadata.php index 948e759..a71f361 100644 --- a/src/autoload.metadata.php +++ b/src/autoload.metadata.php @@ -3,28 +3,12 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.2 * protoc — v6.33.5 */ declare(strict_types=1); \Thesis\Protobuf\Registry\Pool::get()->register( - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeCalendarPeriodDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeColorDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeDateDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeDatetimeDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeDayofweekDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeDecimalDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeExprDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeFractionDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeIntervalDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeLatlngDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeLocalizedTextDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeMoneyDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeMonthDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypePhoneNumberDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypePostalAddressDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeQuaternionDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\GoogleTypeTimeofdayDescriptorRegistry()), + new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\DescriptorRegistry()), );