diff options
Diffstat (limited to 'php/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php')
-rw-r--r-- | php/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php | 28 |
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; + } + } |