edition = $edition; } /** * @return string */ public function getEdition() { return $this->edition; } /** * Enum value definitions. * * @param EnumValue[] $enumvalue */ public function setEnumvalue($enumvalue) { $this->enumvalue = $enumvalue; } /** * @return EnumValue[] */ public function getEnumvalue() { return $this->enumvalue; } /** * Enum type name. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Protocol buffer options. * * @param Option[] $options */ public function setOptions($options) { $this->options = $options; } /** * @return Option[] */ public function getOptions() { return $this->options; } /** * The source context. * * @param SourceContext $sourceContext */ public function setSourceContext(SourceContext $sourceContext) { $this->sourceContext = $sourceContext; } /** * @return SourceContext */ public function getSourceContext() { return $this->sourceContext; } /** * The source syntax. * * Accepted values: SYNTAX_PROTO2, SYNTAX_PROTO3, SYNTAX_EDITIONS * * @param self::SYNTAX_* $syntax */ public function setSyntax($syntax) { $this->syntax = $syntax; } /** * @return self::SYNTAX_* */ public function getSyntax() { return $this->syntax; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Enum::class, 'Google_Service_ServiceNetworking_Enum');