diff options
author | Bo Yang <teboring@google.com> | 2017-03-13 17:49:26 -0700 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2017-03-14 11:31:30 -0700 |
commit | 969ba5ef86a951cb262929cb8a3fa31df6014517 (patch) | |
tree | 40078b87840fff89e5c9e40d5986a9d1649eaa32 /upb/descriptor/descriptor.proto | |
parent | 5a8467842acfbd117ec9231f8231fc33c3304035 (diff) |
Add new file option php_class_prefix.
This option will be prepended to all php generated classes. The PHP
runtime needs to know this option to figure out the class name for
specific message.
Diffstat (limited to 'upb/descriptor/descriptor.proto')
-rw-r--r-- | upb/descriptor/descriptor.proto | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/upb/descriptor/descriptor.proto b/upb/descriptor/descriptor.proto index c59a602..cf3d837 100644 --- a/upb/descriptor/descriptor.proto +++ b/upb/descriptor/descriptor.proto @@ -381,6 +381,10 @@ message FileOptions { // suffixed package. optional bool javanano_use_deprecated_package = 38; + // Sets the php class prefix which is prepended to all php generated classes + // from this .proto. Default is empty. + optional string php_class_prefix = 40; + // The parser stores options it doesn't recognize here. See above. repeated UninterpretedOption uninterpreted_option = 999; |