aboutsummaryrefslogtreecommitdiff
path: root/php/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php
diff options
context:
space:
mode:
authorJisi Liu <jisi.liu@gmail.com>2017-07-18 15:44:24 -0700
committerJisi Liu <jisi.liu@gmail.com>2017-07-18 15:44:24 -0700
commit86975301f1876ce1934612777b8ca6c76520f5cc (patch)
tree73f1762f99bceec586eb1d539e5622d76e53f4f8 /php/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php
parent09354db1434859a31a3c81abebcc4018d42f2715 (diff)
downloadprotobuf-86975301f1876ce1934612777b8ca6c76520f5cc.tar.gz
protobuf-86975301f1876ce1934612777b8ca6c76520f5cc.tar.bz2
protobuf-86975301f1876ce1934612777b8ca6c76520f5cc.zip
Update csharp and php descriptor
Diffstat (limited to 'php/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php')
-rw-r--r--php/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/php/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php b/php/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php
index 738a1738..b68ded5d 100644
--- a/php/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php
+++ b/php/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php
@@ -26,6 +26,11 @@ class DescriptorProto_ExtensionRange extends \Google\Protobuf\Internal\Message
*/
private $end = 0;
private $has_end = false;
+ /**
+ * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code>
+ */
+ private $options = null;
+ private $has_options = false;
public function __construct() {
\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce();
@@ -78,5 +83,28 @@ class DescriptorProto_ExtensionRange extends \Google\Protobuf\Internal\Message
return $this->has_end;
}
+ /**
+ * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code>
+ */
+ public function getOptions()
+ {
+ return $this->options;
+ }
+
+ /**
+ * <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code>
+ */
+ public function setOptions(&$var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Internal\ExtensionRangeOptions::class);
+ $this->options = $var;
+ $this->has_options = true;
+ }
+
+ public function hasOptions()
+ {
+ return $this->has_options;
+ }
+
}