aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/src/GPBMetadata
diff options
context:
space:
mode:
authorGravatar Paul Yang <TeBoring@users.noreply.github.com>2018-05-11 13:57:06 -0700
committerGravatar GitHub <noreply@github.com>2018-05-11 13:57:06 -0700
commitb61dd9d9a229c5a82788fdeefa344aa65affae09 (patch)
tree094efbee31fe6bda8d4aa6f47efd652c8576a990 /php/src/GPBMetadata
parent2213c1c1f6bae29513729b7285462b24df20d687 (diff)
Add file option php_metadata_namespace and ruby_package (#4609)
Diffstat (limited to 'php/src/GPBMetadata')
-rw-r--r--php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php b/php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php
index b0ca8da0..7057384b 100644
--- a/php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php
+++ b/php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php
@@ -159,6 +159,8 @@ class Descriptor
->optional('swift_prefix', \Google\Protobuf\Internal\GPBType::STRING, 39)
->optional('php_class_prefix', \Google\Protobuf\Internal\GPBType::STRING, 40)
->optional('php_namespace', \Google\Protobuf\Internal\GPBType::STRING, 41)
+ ->optional('php_metadata_namespace', \Google\Protobuf\Internal\GPBType::STRING, 44)
+ ->optional('ruby_package', \Google\Protobuf\Internal\GPBType::STRING, 45)
->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption')
->finalizeToPool();