enumType = $enumType; } /** * @return Proto2EnumDescriptorProto[] */ public function getEnumType() { return $this->enumType; } /** * @param Proto2FieldDescriptorProto[] */ public function setField($field) { $this->field = $field; } /** * @return Proto2FieldDescriptorProto[] */ public function getField() { return $this->field; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param Proto2DescriptorProto[] */ public function setNestedType($nestedType) { $this->nestedType = $nestedType; } /** * @return Proto2DescriptorProto[] */ public function getNestedType() { return $this->nestedType; } /** * @param Proto2OneofDescriptorProto[] */ public function setOneofDecl($oneofDecl) { $this->oneofDecl = $oneofDecl; } /** * @return Proto2OneofDescriptorProto[] */ public function getOneofDecl() { return $this->oneofDecl; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Proto2DescriptorProto::class, 'Google_Service_ChromePolicy_Proto2DescriptorProto');