diff --git a/Makefile b/Makefile index d175539..ebfe773 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ COMPOSER ?= $(RUN) composer t: terminal terminal: var ## Start a terminal inside the php container @$(if $(INSIDE_CONTAINER),echo 'Already inside docker container.'; exit 1,) - $(DOCKER_COMPOSE) run --rm $(ARGS) php bash + $(DOCKER_COMPOSE) run --rm $(ARGS) php sh .PHONY: t terminal run: ## Run a command using the php container: `make run CMD='php --version'` diff --git a/composer.json b/composer.json index 2387b52..838e291 100644 --- a/composer.json +++ b/composer.json @@ -20,12 +20,12 @@ "require": { "php": "^8.4", "thesis/protobuf": "^0.2", - "thesis/protobuf-known-types": "^0.2", + "thesis/protobuf-known-types": "^0.3", "thesis/protoregistry": "^0.1.2" }, "autoload": { "psr-4": { - "Google\\Type\\": "src/" + "Thesis\\Google\\Type\\": "src/" }, "files": [ "src/autoload.metadata.php" diff --git a/src/CalendarPeriod.php b/src/CalendarPeriod.php index 4c11cb2..01ff79b 100644 --- a/src/CalendarPeriod.php +++ b/src/CalendarPeriod.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/calendar_period.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; /** * @api diff --git a/src/Color.php b/src/Color.php index 0a9883c..66426ef 100644 --- a/src/Color.php +++ b/src/Color.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/color.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; @@ -148,7 +148,7 @@ * @param float $red The amount of red in the color as a value in the interval [0, 1]. * @param float $green The amount of green in the color as a value in the interval [0, 1]. * @param float $blue The amount of blue in the color as a value in the interval [0, 1]. - * @param ?\Google\Protobuf\FloatValue $alpha The fraction of this color that should be applied to the pixel. That is, + * @param ?\Thesis\Google\Protobuf\FloatValue $alpha The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` @@ -167,7 +167,7 @@ public function __construct( public float $green = 0, #[Reflection\Field(3, Reflection\FloatT::T)] public float $blue = 0, - #[Reflection\Field(4, new Reflection\ObjectT(\Google\Protobuf\FloatValue::class))] - public ?\Google\Protobuf\FloatValue $alpha = null, + #[Reflection\Field(4, new Reflection\ObjectT(\Thesis\Google\Protobuf\FloatValue::class))] + public ?\Thesis\Google\Protobuf\FloatValue $alpha = null, ) {} } diff --git a/src/Date.php b/src/Date.php index 71b27f0..e260ad4 100644 --- a/src/Date.php +++ b/src/Date.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/date.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; diff --git a/src/DateTime.php b/src/DateTime.php index 3662b81..53e78ca 100644 --- a/src/DateTime.php +++ b/src/DateTime.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/datetime.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; @@ -74,7 +74,7 @@ public function __construct( public int $seconds = 0, #[Reflection\Field(7, Reflection\Int32T::T)] public int $nanos = 0, - #[Reflection\OneOf([\Google\Type\DateTime\TimeOffsetUtcOffset::class, \Google\Type\DateTime\TimeOffsetTimeZone::class])] - public ?\Google\Type\DateTime\TimeOffset $timeOffset = null, + #[Reflection\OneOf([\Thesis\Google\Type\DateTime\TimeOffsetUtcOffset::class, \Thesis\Google\Type\DateTime\TimeOffsetTimeZone::class])] + public ?\Thesis\Google\Type\DateTime\TimeOffset $timeOffset = null, ) {} } diff --git a/src/DateTime/TimeOffset.php b/src/DateTime/TimeOffset.php index 1b9d9d4..acc55b4 100644 --- a/src/DateTime/TimeOffset.php +++ b/src/DateTime/TimeOffset.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/datetime.proto */ declare(strict_types=1); -namespace Google\Type\DateTime; +namespace Thesis\Google\Type\DateTime; /** * @api diff --git a/src/DateTime/TimeOffsetTimeZone.php b/src/DateTime/TimeOffsetTimeZone.php index 6c106b5..ed97965 100644 --- a/src/DateTime/TimeOffsetTimeZone.php +++ b/src/DateTime/TimeOffsetTimeZone.php @@ -3,27 +3,27 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/datetime.proto */ declare(strict_types=1); -namespace Google\Type\DateTime; +namespace Thesis\Google\Type\DateTime; use Thesis\Protobuf\Reflection; /** * @api */ -final readonly class TimeOffsetTimeZone implements \Google\Type\DateTime\TimeOffset +final readonly class TimeOffsetTimeZone implements \Thesis\Google\Type\DateTime\TimeOffset { /** - * @param ?\Google\Type\TimeZone $timeZone Time zone. + * @param ?\Thesis\Google\Type\TimeZone $timeZone Time zone. */ public function __construct( - #[Reflection\Field(9, new Reflection\ObjectT(\Google\Type\TimeZone::class))] - public ?\Google\Type\TimeZone $timeZone = null, + #[Reflection\Field(9, new Reflection\ObjectT(\Thesis\Google\Type\TimeZone::class))] + public ?\Thesis\Google\Type\TimeZone $timeZone = null, ) {} } diff --git a/src/DateTime/TimeOffsetUtcOffset.php b/src/DateTime/TimeOffsetUtcOffset.php index 002cd1d..4d42faf 100644 --- a/src/DateTime/TimeOffsetUtcOffset.php +++ b/src/DateTime/TimeOffsetUtcOffset.php @@ -3,29 +3,29 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/datetime.proto */ declare(strict_types=1); -namespace Google\Type\DateTime; +namespace Thesis\Google\Type\DateTime; use Thesis\Protobuf\Reflection; /** * @api */ -final readonly class TimeOffsetUtcOffset implements \Google\Type\DateTime\TimeOffset +final readonly class TimeOffsetUtcOffset implements \Thesis\Google\Type\DateTime\TimeOffset { /** - * @param ?\Google\Protobuf\Duration $utcOffset UTC offset. Must be whole seconds, between -18 hours and +18 hours. + * @param ?\Thesis\Google\Protobuf\Duration $utcOffset UTC offset. Must be whole seconds, between -18 hours and +18 hours. * For example, a UTC offset of -4:00 would be represented as * { seconds: -14400 }. */ public function __construct( - #[Reflection\Field(8, new Reflection\ObjectT(\Google\Protobuf\Duration::class))] - public ?\Google\Protobuf\Duration $utcOffset = null, + #[Reflection\Field(8, new Reflection\ObjectT(\Thesis\Google\Protobuf\Duration::class))] + public ?\Thesis\Google\Protobuf\Duration $utcOffset = null, ) {} } diff --git a/src/DayOfWeek.php b/src/DayOfWeek.php index 3f6f123..8326f1b 100644 --- a/src/DayOfWeek.php +++ b/src/DayOfWeek.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/dayofweek.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; /** * @api diff --git a/src/Decimal.php b/src/Decimal.php index 4da767e..5d69060 100644 --- a/src/Decimal.php +++ b/src/Decimal.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/decimal.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; diff --git a/src/DescriptorRegistry.php b/src/DescriptorRegistry.php index 2c99d66..23f593c 100644 --- a/src/DescriptorRegistry.php +++ b/src/DescriptorRegistry.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/calendar_period.proto, google/type/color.proto, google/type/date.proto, google/type/datetime.proto, google/type/dayofweek.proto, google/type/decimal.proto, google/type/expr.proto, google/type/fraction.proto, google/type/interval.proto, google/type/latlng.proto, google/type/localized_text.proto, google/type/money.proto, google/type/month.proto, google/type/phone_number.proto, google/type/postal_address.proto, google/type/quaternion.proto, google/type/timeofday.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Override; use Thesis\Protobuf\Registry; @@ -45,7 +45,7 @@ public function register(Registry\Pool $pool): void $pool->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), + new File\EnumDescriptor('google.type.CalendarPeriod', \Thesis\Google\Type\CalendarPeriod::class), ], )); @@ -55,14 +55,14 @@ enums: [ 'google/protobuf/wrappers.proto', ], messages: [ - new File\MessageDescriptor('google.type.Color', \Google\Type\Color::class), + new File\MessageDescriptor('google.type.Color', \Thesis\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), + new File\MessageDescriptor('google.type.Date', \Thesis\Google\Type\Date::class), ], )); @@ -72,36 +72,36 @@ enums: [ '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), + new File\MessageDescriptor('google.type.DateTime', \Thesis\Google\Type\DateTime::class), + new File\MessageDescriptor('google.type.TimeZone', \Thesis\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), + new File\EnumDescriptor('google.type.DayOfWeek', \Thesis\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), + new File\MessageDescriptor('google.type.Decimal', \Thesis\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), + new File\MessageDescriptor('google.type.Expr', \Thesis\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), + new File\MessageDescriptor('google.type.Fraction', \Thesis\Google\Type\Fraction::class), ], )); @@ -111,64 +111,64 @@ enums: [ 'google/protobuf/timestamp.proto', ], messages: [ - new File\MessageDescriptor('google.type.Interval', \Google\Type\Interval::class), + new File\MessageDescriptor('google.type.Interval', \Thesis\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), + new File\MessageDescriptor('google.type.LatLng', \Thesis\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), + new File\MessageDescriptor('google.type.LocalizedText', \Thesis\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), + new File\MessageDescriptor('google.type.Money', \Thesis\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), + new File\EnumDescriptor('google.type.Month', \Thesis\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), + new File\MessageDescriptor('google.type.PhoneNumber', \Thesis\Google\Type\PhoneNumber::class), + new File\MessageDescriptor('google.type.PhoneNumber.ShortCode', \Thesis\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), + new File\MessageDescriptor('google.type.PostalAddress', \Thesis\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), + new File\MessageDescriptor('google.type.Quaternion', \Thesis\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), + new File\MessageDescriptor('google.type.TimeOfDay', \Thesis\Google\Type\TimeOfDay::class), ], )); } diff --git a/src/Expr.php b/src/Expr.php index 44c90e5..13e3ab6 100644 --- a/src/Expr.php +++ b/src/Expr.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/expr.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; diff --git a/src/Fraction.php b/src/Fraction.php index 0023b14..da5e1a0 100644 --- a/src/Fraction.php +++ b/src/Fraction.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/fraction.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; diff --git a/src/Interval.php b/src/Interval.php index ac60a14..42ff572 100644 --- a/src/Interval.php +++ b/src/Interval.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/interval.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; @@ -27,19 +27,19 @@ final readonly class Interval { /** - * @param ?\Google\Protobuf\Timestamp $startTime Optional. Inclusive start of the interval. + * @param ?\Thesis\Google\Protobuf\Timestamp $startTime Optional. Inclusive start of the interval. * * If specified, a Timestamp matching this interval will have to be the same * or after the start. - * @param ?\Google\Protobuf\Timestamp $endTime Optional. Exclusive end of the interval. + * @param ?\Thesis\Google\Protobuf\Timestamp $endTime Optional. Exclusive end of the interval. * * If specified, a Timestamp matching this interval will have to be before the * end. */ public function __construct( - #[Reflection\Field(1, new Reflection\ObjectT(\Google\Protobuf\Timestamp::class))] - public ?\Google\Protobuf\Timestamp $startTime = null, - #[Reflection\Field(2, new Reflection\ObjectT(\Google\Protobuf\Timestamp::class))] - public ?\Google\Protobuf\Timestamp $endTime = null, + #[Reflection\Field(1, new Reflection\ObjectT(\Thesis\Google\Protobuf\Timestamp::class))] + public ?\Thesis\Google\Protobuf\Timestamp $startTime = null, + #[Reflection\Field(2, new Reflection\ObjectT(\Thesis\Google\Protobuf\Timestamp::class))] + public ?\Thesis\Google\Protobuf\Timestamp $endTime = null, ) {} } diff --git a/src/LatLng.php b/src/LatLng.php index 38b6e39..e96c8ce 100644 --- a/src/LatLng.php +++ b/src/LatLng.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/latlng.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; diff --git a/src/LocalizedText.php b/src/LocalizedText.php index 2163311..b06f10d 100644 --- a/src/LocalizedText.php +++ b/src/LocalizedText.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/localized_text.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; diff --git a/src/Money.php b/src/Money.php index 23116cc..44ed6a5 100644 --- a/src/Money.php +++ b/src/Money.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/money.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; diff --git a/src/Month.php b/src/Month.php index e36428e..78f9464 100644 --- a/src/Month.php +++ b/src/Month.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/month.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; /** * @api diff --git a/src/PhoneNumber.php b/src/PhoneNumber.php index 0fc8198..c37455d 100644 --- a/src/PhoneNumber.php +++ b/src/PhoneNumber.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/phone_number.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; @@ -60,7 +60,7 @@ public function __construct( #[Reflection\Field(3, Reflection\StringT::T)] public string $extension = '', - #[Reflection\OneOf([\Google\Type\PhoneNumber\KindE164Number::class, \Google\Type\PhoneNumber\KindShortCode::class])] - public ?\Google\Type\PhoneNumber\Kind $kind = null, + #[Reflection\OneOf([\Thesis\Google\Type\PhoneNumber\KindE164Number::class, \Thesis\Google\Type\PhoneNumber\KindShortCode::class])] + public ?\Thesis\Google\Type\PhoneNumber\Kind $kind = null, ) {} } diff --git a/src/PhoneNumber/Kind.php b/src/PhoneNumber/Kind.php index 380db30..7df1dfb 100644 --- a/src/PhoneNumber/Kind.php +++ b/src/PhoneNumber/Kind.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/phone_number.proto */ declare(strict_types=1); -namespace Google\Type\PhoneNumber; +namespace Thesis\Google\Type\PhoneNumber; /** * @api diff --git a/src/PhoneNumber/KindE164Number.php b/src/PhoneNumber/KindE164Number.php index b216070..87ab645 100644 --- a/src/PhoneNumber/KindE164Number.php +++ b/src/PhoneNumber/KindE164Number.php @@ -3,21 +3,21 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/phone_number.proto */ declare(strict_types=1); -namespace Google\Type\PhoneNumber; +namespace Thesis\Google\Type\PhoneNumber; use Thesis\Protobuf\Reflection; /** * @api */ -final readonly class KindE164Number implements \Google\Type\PhoneNumber\Kind +final readonly class KindE164Number implements \Thesis\Google\Type\PhoneNumber\Kind { /** * @param string $e164Number The phone number, represented as a leading plus sign ('+'), followed by a diff --git a/src/PhoneNumber/KindShortCode.php b/src/PhoneNumber/KindShortCode.php index 822d4f0..e486736 100644 --- a/src/PhoneNumber/KindShortCode.php +++ b/src/PhoneNumber/KindShortCode.php @@ -3,30 +3,30 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/phone_number.proto */ declare(strict_types=1); -namespace Google\Type\PhoneNumber; +namespace Thesis\Google\Type\PhoneNumber; use Thesis\Protobuf\Reflection; /** * @api */ -final readonly class KindShortCode implements \Google\Type\PhoneNumber\Kind +final readonly class KindShortCode implements \Thesis\Google\Type\PhoneNumber\Kind { /** - * @param ?\Google\Type\PhoneNumber\ShortCode $shortCode A short code. + * @param ?\Thesis\Google\Type\PhoneNumber\ShortCode $shortCode A short code. * * Reference(s): * - https://en.wikipedia.org/wiki/Short_code */ public function __construct( - #[Reflection\Field(2, new Reflection\ObjectT(\Google\Type\PhoneNumber\ShortCode::class))] - public ?\Google\Type\PhoneNumber\ShortCode $shortCode = null, + #[Reflection\Field(2, new Reflection\ObjectT(\Thesis\Google\Type\PhoneNumber\ShortCode::class))] + public ?\Thesis\Google\Type\PhoneNumber\ShortCode $shortCode = null, ) {} } diff --git a/src/PhoneNumber/ShortCode.php b/src/PhoneNumber/ShortCode.php index 03e2535..5657243 100644 --- a/src/PhoneNumber/ShortCode.php +++ b/src/PhoneNumber/ShortCode.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/phone_number.proto */ declare(strict_types=1); -namespace Google\Type\PhoneNumber; +namespace Thesis\Google\Type\PhoneNumber; use Thesis\Protobuf\Reflection; diff --git a/src/PostalAddress.php b/src/PostalAddress.php index a282e27..e4b2306 100644 --- a/src/PostalAddress.php +++ b/src/PostalAddress.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/postal_address.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; diff --git a/src/Quaternion.php b/src/Quaternion.php index 322dc0b..2016ddc 100644 --- a/src/Quaternion.php +++ b/src/Quaternion.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/quaternion.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; diff --git a/src/TimeOfDay.php b/src/TimeOfDay.php index f3c23c5..fdd1240 100644 --- a/src/TimeOfDay.php +++ b/src/TimeOfDay.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/timeofday.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; diff --git a/src/TimeZone.php b/src/TimeZone.php index 5a5d90f..72ea706 100644 --- a/src/TimeZone.php +++ b/src/TimeZone.php @@ -3,14 +3,14 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 * Source: google/type/datetime.proto */ declare(strict_types=1); -namespace Google\Type; +namespace Thesis\Google\Type; use Thesis\Protobuf\Reflection; diff --git a/src/autoload.metadata.php b/src/autoload.metadata.php index 0ab87d4..b75e5ae 100644 --- a/src/autoload.metadata.php +++ b/src/autoload.metadata.php @@ -3,12 +3,12 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.4.3 + * thesis/protoc-plugin — v0.6.0 * protoc — v6.33.5 */ declare(strict_types=1); \Thesis\Protobuf\Registry\Pool::get()->register( - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Type\DescriptorRegistry()), + new \Thesis\Protobuf\Registry\OnceRegistrar(new \Thesis\Google\Type\DescriptorRegistry()), );