You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

db-issues.proto 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // SonarQube, open source software quality management tool.
  2. // Copyright (C) 2008-2016 SonarSource
  3. // mailto:contact AT sonarsource DOT com
  4. //
  5. // SonarQube is free software; you can redistribute it and/or
  6. // modify it under the terms of the GNU Lesser General Public
  7. // License as published by the Free Software Foundation; either
  8. // version 3 of the License, or (at your option) any later version.
  9. //
  10. // SonarQube is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. // Lesser General Public License for more details.
  14. //
  15. // You should have received a copy of the GNU Lesser General Public License
  16. // along with this program; if not, write to the Free Software Foundation,
  17. // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  18. // Structure of table ISSUES
  19. syntax = "proto2";
  20. package sonarqube.db.issues;
  21. import "db-commons.proto";
  22. // The java package can be changed without breaking compatibility.
  23. // it impacts only the generated Java code.
  24. option java_package = "org.sonar.db.protobuf";
  25. option optimize_for = SPEED;
  26. message Locations {
  27. optional sonarqube.db.commons.TextRange text_range = 1;
  28. repeated Flow flow = 2;
  29. optional string checksum = 3;
  30. }
  31. message Flow {
  32. repeated Location location = 1;
  33. }
  34. message Location {
  35. optional string component_id = 1;
  36. // Only when component is a file. Can be empty for a file if this is an issue global to the file.
  37. optional sonarqube.db.commons.TextRange text_range = 2;
  38. optional string msg = 3;
  39. optional string checksum = 4;
  40. }