From f4d95316f58a6ffadd0d8f57a7473daf97832534 Mon Sep 17 00:00:00 2001 From: kafkiansky <37590388+kafkiansky@users.noreply.github.com> Date: Fri, 7 Aug 2026 10:53:19 +0000 Subject: [PATCH] chore: regenerate code for protoc-plugin 0.4.3 --- src/BadRequest.php | 2 +- src/BadRequest/FieldViolation.php | 2 +- src/Code.php | 2 +- src/DebugInfo.php | 2 +- src/DescriptorRegistry.php | 71 +++++++++++++++++++++++++++ src/ErrorInfo.php | 2 +- src/Help.php | 2 +- src/Help/Link.php | 2 +- src/LocalizedMessage.php | 2 +- src/PreconditionFailure.php | 2 +- src/PreconditionFailure/Violation.php | 2 +- src/QuotaFailure.php | 2 +- src/QuotaFailure/Violation.php | 2 +- src/RequestInfo.php | 2 +- src/ResourceInfo.php | 2 +- src/RetryInfo.php | 2 +- src/Status.php | 2 +- src/autoload.metadata.php | 6 +-- 18 files changed, 89 insertions(+), 20 deletions(-) create mode 100644 src/DescriptorRegistry.php diff --git a/src/BadRequest.php b/src/BadRequest.php index 97ccc0d..80eb722 100644 --- a/src/BadRequest.php +++ b/src/BadRequest.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/BadRequest/FieldViolation.php b/src/BadRequest/FieldViolation.php index 4102c0e..af21511 100644 --- a/src/BadRequest/FieldViolation.php +++ b/src/BadRequest/FieldViolation.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/Code.php b/src/Code.php index 1ba2a2a..a129013 100644 --- a/src/Code.php +++ b/src/Code.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.3 * protoc — v6.33.5 * Source: google/rpc/code.proto */ diff --git a/src/DebugInfo.php b/src/DebugInfo.php index e4b054e..13d7cb9 100644 --- a/src/DebugInfo.php +++ b/src/DebugInfo.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/DescriptorRegistry.php b/src/DescriptorRegistry.php new file mode 100644 index 0000000..06a093e --- /dev/null +++ b/src/DescriptorRegistry.php @@ -0,0 +1,71 @@ +add(Registry\Descriptor::base64(self::STATUS_DESCRIPTOR_BUFFER), new File( + name: 'google/rpc/status.proto', + dependencies: [ + 'google/protobuf/any.proto', + ], + messages: [ + new File\MessageDescriptor('google.rpc.Status', \Google\Rpc\Status::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::ERROR_DETAILS_DESCRIPTOR_BUFFER), new File( + name: 'google/rpc/error_details.proto', + dependencies: [ + 'google/protobuf/duration.proto', + ], + messages: [ + new File\MessageDescriptor('google.rpc.ErrorInfo', \Google\Rpc\ErrorInfo::class), + new File\MessageDescriptor('google.rpc.RetryInfo', \Google\Rpc\RetryInfo::class), + new File\MessageDescriptor('google.rpc.DebugInfo', \Google\Rpc\DebugInfo::class), + new File\MessageDescriptor('google.rpc.QuotaFailure', \Google\Rpc\QuotaFailure::class), + new File\MessageDescriptor('google.rpc.QuotaFailure.Violation', \Google\Rpc\QuotaFailure\Violation::class), + new File\MessageDescriptor('google.rpc.PreconditionFailure', \Google\Rpc\PreconditionFailure::class), + new File\MessageDescriptor('google.rpc.PreconditionFailure.Violation', \Google\Rpc\PreconditionFailure\Violation::class), + new File\MessageDescriptor('google.rpc.BadRequest', \Google\Rpc\BadRequest::class), + new File\MessageDescriptor('google.rpc.BadRequest.FieldViolation', \Google\Rpc\BadRequest\FieldViolation::class), + new File\MessageDescriptor('google.rpc.RequestInfo', \Google\Rpc\RequestInfo::class), + new File\MessageDescriptor('google.rpc.ResourceInfo', \Google\Rpc\ResourceInfo::class), + new File\MessageDescriptor('google.rpc.Help', \Google\Rpc\Help::class), + new File\MessageDescriptor('google.rpc.Help.Link', \Google\Rpc\Help\Link::class), + new File\MessageDescriptor('google.rpc.LocalizedMessage', \Google\Rpc\LocalizedMessage::class), + ], + )); + + $pool->add(Registry\Descriptor::base64(self::CODE_DESCRIPTOR_BUFFER), new File( + name: 'google/rpc/code.proto', + enums: [ + new File\EnumDescriptor('google.rpc.Code', \Google\Rpc\Code::class), + ], + )); + } +} diff --git a/src/ErrorInfo.php b/src/ErrorInfo.php index 046f199..c57a3db 100644 --- a/src/ErrorInfo.php +++ b/src/ErrorInfo.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/Help.php b/src/Help.php index d780604..b7fed72 100644 --- a/src/Help.php +++ b/src/Help.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/Help/Link.php b/src/Help/Link.php index 46f851b..cdec915 100644 --- a/src/Help/Link.php +++ b/src/Help/Link.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/LocalizedMessage.php b/src/LocalizedMessage.php index afab209..6e339ed 100644 --- a/src/LocalizedMessage.php +++ b/src/LocalizedMessage.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/PreconditionFailure.php b/src/PreconditionFailure.php index 5a03245..7bb4681 100644 --- a/src/PreconditionFailure.php +++ b/src/PreconditionFailure.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/PreconditionFailure/Violation.php b/src/PreconditionFailure/Violation.php index fba0a3f..da32b00 100644 --- a/src/PreconditionFailure/Violation.php +++ b/src/PreconditionFailure/Violation.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/QuotaFailure.php b/src/QuotaFailure.php index dcba451..be80da1 100644 --- a/src/QuotaFailure.php +++ b/src/QuotaFailure.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/QuotaFailure/Violation.php b/src/QuotaFailure/Violation.php index dbd3bf5..c77d5a2 100644 --- a/src/QuotaFailure/Violation.php +++ b/src/QuotaFailure/Violation.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/RequestInfo.php b/src/RequestInfo.php index c30174d..2c098f9 100644 --- a/src/RequestInfo.php +++ b/src/RequestInfo.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/ResourceInfo.php b/src/ResourceInfo.php index 1984600..fa1f08e 100644 --- a/src/ResourceInfo.php +++ b/src/ResourceInfo.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/RetryInfo.php b/src/RetryInfo.php index a07b02a..3d059dd 100644 --- a/src/RetryInfo.php +++ b/src/RetryInfo.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.3 * protoc — v6.33.5 * Source: google/rpc/error_details.proto */ diff --git a/src/Status.php b/src/Status.php index b7f934a..df8bfcb 100644 --- a/src/Status.php +++ b/src/Status.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.3 * protoc — v6.33.5 * Source: google/rpc/status.proto */ diff --git a/src/autoload.metadata.php b/src/autoload.metadata.php index 336b8ca..0773f8b 100644 --- a/src/autoload.metadata.php +++ b/src/autoload.metadata.php @@ -3,14 +3,12 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.3.0 + * thesis/protoc-plugin — v0.4.3 * protoc — v6.33.5 */ declare(strict_types=1); \Thesis\Protobuf\Registry\Pool::get()->register( - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Rpc\GoogleRpcStatusDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Rpc\GoogleRpcErrorDetailsDescriptorRegistry()), - new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Rpc\GoogleRpcCodeDescriptorRegistry()), + new \Thesis\Protobuf\Registry\OnceRegistrar(new \Google\Rpc\DescriptorRegistry()), );