From 12324c45bafa466d77396fde284e941d08f44205 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 5 Aug 2015 10:49:17 +0200 Subject: [PATCH] Store issues locations in DB and return in WS --- .../computation/issue/BaseIssuesLoader.java | 5 +- .../issue/TrackerRawInputFactory.java | 47 +- .../server/issue/ws/SearchResponseFormat.java | 60 +- .../server/issue/ws/SearchResponseLoader.java | 27 +- .../org/sonar/db/protobuf/DbIssues.java | 650 +- .../java/org/sonar/db/issue/IssueDto.java | 5 +- .../java/org/sonar/db/issue/IssueMapper.java | 4 +- sonar-db/src/main/protobuf/db-issues.proto | 4 +- .../org/sonar/db/issue/IssueMapper.xml | 7 +- .../java/org/sonar/db/issue/IssueDaoTest.java | 4 +- .../gen-java/org/sonarqube/ws/Common.java | 1062 +++- .../gen-java/org/sonarqube/ws/Issues.java | 5428 ++++++++++++----- .../{ws-common.proto => ws-commons.proto} | 17 +- sonar-ws/src/main/protobuf/ws-issues.proto | 73 +- 14 files changed, 5294 insertions(+), 2099 deletions(-) rename sonar-ws/src/main/protobuf/{ws-common.proto => ws-commons.proto} (78%) diff --git a/server/sonar-server/src/main/java/org/sonar/server/computation/issue/BaseIssuesLoader.java b/server/sonar-server/src/main/java/org/sonar/server/computation/issue/BaseIssuesLoader.java index e04a79434d1..23baa16e17e 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/computation/issue/BaseIssuesLoader.java +++ b/server/sonar-server/src/main/java/org/sonar/server/computation/issue/BaseIssuesLoader.java @@ -19,10 +19,8 @@ */ package org.sonar.server.computation.issue; -import com.google.common.collect.ImmutableMap; import java.util.ArrayList; import java.util.List; -import java.util.Map; import java.util.Set; import org.apache.ibatis.session.ResultContext; import org.apache.ibatis.session.ResultHandler; @@ -60,8 +58,7 @@ public class BaseIssuesLoader { DbSession session = dbClient.openSession(false); final List result = new ArrayList<>(); try { - Map params = ImmutableMap.of("componentUuid", componentUuid); - session.select(IssueMapper.class.getName() + ".selectNonClosedByComponentUuid", params, new ResultHandler() { + session.getMapper(IssueMapper.class).selectNonClosedByComponentUuid(componentUuid, new ResultHandler() { @Override public void handleResult(ResultContext resultContext) { DefaultIssue issue = ((IssueDto) resultContext.getResultObject()).toDefaultIssue(); diff --git a/server/sonar-server/src/main/java/org/sonar/server/computation/issue/TrackerRawInputFactory.java b/server/sonar-server/src/main/java/org/sonar/server/computation/issue/TrackerRawInputFactory.java index b2af480a91f..f9ce138eea6 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/computation/issue/TrackerRawInputFactory.java +++ b/server/sonar-server/src/main/java/org/sonar/server/computation/issue/TrackerRawInputFactory.java @@ -20,7 +20,6 @@ package org.sonar.server.computation.issue; import com.google.common.collect.Lists; -import com.google.common.collect.Sets; import java.util.ArrayList; import java.util.Collections; import java.util.List; @@ -34,6 +33,8 @@ import org.sonar.core.issue.tracking.Input; import org.sonar.core.issue.tracking.LazyInput; import org.sonar.core.issue.tracking.LineHashSequence; import org.sonar.core.util.CloseableIterator; +import org.sonar.db.protobuf.DbCommons; +import org.sonar.db.protobuf.DbIssues; import org.sonar.server.computation.batch.BatchReportReader; import org.sonar.server.computation.component.Component; import org.sonar.server.computation.component.TreeRootHolder; @@ -127,6 +128,22 @@ public class TrackerRawInputFactory { if (reportIssue.hasAttributes()) { issue.setAttributes(KeyValueFormat.parse(reportIssue.getAttributes())); } + DbIssues.Locations.Builder dbLocationsBuilder = DbIssues.Locations.newBuilder(); + if (reportIssue.hasPrimaryLocation()) { + BatchReport.IssueLocation location = reportIssue.getPrimaryLocation(); + dbLocationsBuilder.setPrimary(convertLocation(location)); + } + for (BatchReport.IssueLocation location : reportIssue.getAdditionalLocationList()) { + dbLocationsBuilder.addSecondary(convertLocation(location)); + } + for (BatchReport.ExecutionFlow flow : reportIssue.getExecutionFlowList()) { + DbIssues.ExecutionFlow.Builder dbFlowBuilder = DbIssues.ExecutionFlow.newBuilder(); + for (BatchReport.IssueLocation location : flow.getLocationList()) { + dbFlowBuilder.addLocations(convertLocation(location)); + } + dbLocationsBuilder.addExecutionFlow(dbFlowBuilder); + } + issue.setLocations(dbLocationsBuilder.build()); return issue; } @@ -139,5 +156,33 @@ public class TrackerRawInputFactory { issue.setProjectKey(treeRootHolder.getRoot().getKey()); return issue; } + + private DbIssues.Location convertLocation(BatchReport.IssueLocation source) { + DbIssues.Location.Builder target = DbIssues.Location.newBuilder(); + if (source.hasComponentRef() && source.getComponentRef() != component.getRef()) { + target.setComponentId(treeRootHolder.getComponentByRef(source.getComponentRef()).getUuid()); + } + if (source.hasMsg()) { + target.setMsg(source.getMsg()); + } + if (source.hasTextRange()) { + BatchReport.TextRange sourceRange = source.getTextRange(); + DbCommons.TextRange.Builder targetRange = DbCommons.TextRange.newBuilder(); + if (sourceRange.hasStartLine()) { + targetRange.setStartLine(sourceRange.getStartLine()); + } + if (sourceRange.hasStartOffset()) { + targetRange.setStartOffset(sourceRange.getStartOffset()); + } + if (sourceRange.hasEndLine()) { + targetRange.setEndLine(sourceRange.getEndLine()); + } + if (sourceRange.hasEndOffset()) { + targetRange.setEndOffset(sourceRange.getEndOffset()); + } + target.setTextRange(targetRange); + } + return target.build(); + } } } diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseFormat.java b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseFormat.java index db0cfa65505..47b6c83616f 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseFormat.java +++ b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseFormat.java @@ -40,6 +40,8 @@ import org.sonar.db.component.ComponentDto; import org.sonar.db.issue.ActionPlanDto; import org.sonar.db.issue.IssueChangeDto; import org.sonar.db.issue.IssueDto; +import org.sonar.db.protobuf.DbCommons; +import org.sonar.db.protobuf.DbIssues; import org.sonar.db.rule.RuleDto; import org.sonar.db.user.UserDto; import org.sonar.markdown.Markdown; @@ -165,6 +167,7 @@ public class SearchResponseFormat { issueBuilder.setStatus(nullToEmpty(dto.getStatus())); issueBuilder.setActionPlan(nullToEmpty(dto.getActionPlanKey())); issueBuilder.setMessage(nullToEmpty(dto.getMessage())); + issueBuilder.setTagsPresentIfEmpty(true); issueBuilder.addAllTags(dto.getTags()); Long debt = dto.getDebt(); if (debt != null) { @@ -174,6 +177,7 @@ public class SearchResponseFormat { if (line != null) { issueBuilder.setLine(line); } + completeIssueLocations(dto, issueBuilder); issueBuilder.setAuthor(nullToEmpty(dto.getAuthorLogin())); Date date = dto.getIssueCreationDate(); if (date != null) { @@ -189,7 +193,55 @@ public class SearchResponseFormat { } } - private void formatIssueTransitions(SearchResponseData data, Issues.Issue.Builder issueBuilder, IssueDto dto) { + private void completeIssueLocations(IssueDto dto, Issues.Issue.Builder issueBuilder) { + DbIssues.Locations locations = dto.parseLocations(); + if (locations != null) { + if (locations.hasPrimary()) { + DbIssues.Location primary = locations.getPrimary(); + issueBuilder.setLocation(convertLocation(primary)); + } + for (DbIssues.Location secondary : locations.getSecondaryList()) { + issueBuilder.addSecondaryLocations(convertLocation(secondary)); + } + for (DbIssues.ExecutionFlow flow : locations.getExecutionFlowList()) { + Issues.ExecutionFlow.Builder targetFlow = Issues.ExecutionFlow.newBuilder(); + for (DbIssues.Location flowLocation : flow.getLocationsList()) { + targetFlow.addLocations(convertLocation(flowLocation)); + } + issueBuilder.addExecutionFlows(targetFlow); + } + } + } + + private static Issues.Location convertLocation(DbIssues.Location source) { + Issues.Location.Builder target = Issues.Location.newBuilder(); + if (source.hasComponentId()) { + target.setComponentId(source.getComponentId()); + } + if (source.hasMsg()) { + target.setMsg(source.getMsg()); + } + if (source.hasTextRange()) { + DbCommons.TextRange sourceRange = source.getTextRange(); + Common.TextRange.Builder targetRange = Common.TextRange.newBuilder(); + if (sourceRange.hasStartLine()) { + targetRange.setStartLine(sourceRange.getStartLine()); + } + if (sourceRange.hasStartOffset()) { + targetRange.setStartOffset(sourceRange.getStartOffset()); + } + if (sourceRange.hasEndLine()) { + targetRange.setEndLine(sourceRange.getEndLine()); + } + if (sourceRange.hasEndOffset()) { + targetRange.setEndOffset(sourceRange.getEndOffset()); + } + target.setTextRange(targetRange); + } + return target.build(); + } + + private static void formatIssueTransitions(SearchResponseData data, Issues.Issue.Builder issueBuilder, IssueDto dto) { issueBuilder.setTransitionsPresentIfEmpty(true); List transitions = data.getTransitionsForIssueKey(dto.getKey()); if (transitions != null) { @@ -199,7 +251,7 @@ public class SearchResponseFormat { } } - private void formatIssueActions(SearchResponseData data, Issues.Issue.Builder issueBuilder, IssueDto dto) { + private static void formatIssueActions(SearchResponseData data, Issues.Issue.Builder issueBuilder, IssueDto dto) { issueBuilder.setActionsPresentIfEmpty(true); List actions = data.getActionsForIssueKey(dto.getKey()); if (actions != null) { @@ -207,7 +259,7 @@ public class SearchResponseFormat { } } - private void formatIssueComments(SearchResponseData data, Issues.Issue.Builder issueBuilder, IssueDto dto) { + private static void formatIssueComments(SearchResponseData data, Issues.Issue.Builder issueBuilder, IssueDto dto) { issueBuilder.setCommentsPresentIfEmpty(true); List comments = data.getCommentsForIssueKey(dto.getKey()); if (comments != null) { @@ -241,7 +293,7 @@ public class SearchResponseFormat { return result; } - private List formatComponents(SearchResponseData data) { + private static List formatComponents(SearchResponseData data) { List result = new ArrayList<>(); Collection components = data.getComponents(); if (components != null) { diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseLoader.java b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseLoader.java index 1a4a9ac98a7..44fd5f1c7d3 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseLoader.java +++ b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseLoader.java @@ -35,6 +35,7 @@ import org.sonar.db.DbSession; import org.sonar.db.component.ComponentDto; import org.sonar.db.issue.IssueChangeDto; import org.sonar.db.issue.IssueDto; +import org.sonar.db.protobuf.DbIssues; import org.sonar.server.es.Facets; import org.sonar.server.issue.ActionService; import org.sonar.server.issue.IssueCommentService; @@ -181,6 +182,28 @@ public class SearchResponseLoader { add(RULES, issue.getRuleKey()); add(USERS, issue.getReporter()); add(USERS, issue.getAssignee()); + collectIssueLocations(issue); + } + } + + private void collectIssueLocations(IssueDto issue) { + DbIssues.Locations locations = issue.parseLocations(); + if (locations != null) { + if (locations.hasPrimary() && locations.getPrimary().hasComponentId()) { + componentUuids.add(locations.getPrimary().getComponentId()); + } + for (DbIssues.Location location : locations.getSecondaryList()) { + if (location.hasComponentId()) { + componentUuids.add(location.getComponentId()); + } + } + for (DbIssues.ExecutionFlow flow : locations.getExecutionFlowList()) { + for (DbIssues.Location location : flow.getLocationsList()) { + if (location.hasComponentId()) { + componentUuids.add(location.getComponentId()); + } + } + } } } @@ -190,10 +213,6 @@ public class SearchResponseLoader { } } - public void addComponentUuid(String uuid) { - this.componentUuids.add(uuid); - } - public void addComponentUuids(@Nullable Collection uuids) { if (uuids != null) { this.componentUuids.addAll(uuids); diff --git a/sonar-db/src/main/gen-java/org/sonar/db/protobuf/DbIssues.java b/sonar-db/src/main/gen-java/org/sonar/db/protobuf/DbIssues.java index 0ceb8f0ec7f..d2c2ba13aaa 100644 --- a/sonar-db/src/main/gen-java/org/sonar/db/protobuf/DbIssues.java +++ b/sonar-db/src/main/gen-java/org/sonar/db/protobuf/DbIssues.java @@ -26,51 +26,51 @@ public final class DbIssues { org.sonar.db.protobuf.DbIssues.LocationOrBuilder getPrimaryOrBuilder(); /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ java.util.List - getSecondariesList(); + getSecondaryList(); /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - org.sonar.db.protobuf.DbIssues.Location getSecondaries(int index); + org.sonar.db.protobuf.DbIssues.Location getSecondary(int index); /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - int getSecondariesCount(); + int getSecondaryCount(); /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ java.util.List - getSecondariesOrBuilderList(); + getSecondaryOrBuilderList(); /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - org.sonar.db.protobuf.DbIssues.LocationOrBuilder getSecondariesOrBuilder( + org.sonar.db.protobuf.DbIssues.LocationOrBuilder getSecondaryOrBuilder( int index); /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ java.util.List - getExecutionFlowsList(); + getExecutionFlowList(); /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - org.sonar.db.protobuf.DbIssues.ExecutionFlow getExecutionFlows(int index); + org.sonar.db.protobuf.DbIssues.ExecutionFlow getExecutionFlow(int index); /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - int getExecutionFlowsCount(); + int getExecutionFlowCount(); /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ java.util.List - getExecutionFlowsOrBuilderList(); + getExecutionFlowOrBuilderList(); /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - org.sonar.db.protobuf.DbIssues.ExecutionFlowOrBuilder getExecutionFlowsOrBuilder( + org.sonar.db.protobuf.DbIssues.ExecutionFlowOrBuilder getExecutionFlowOrBuilder( int index); } /** @@ -140,18 +140,18 @@ public final class DbIssues { } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - secondaries_ = new java.util.ArrayList(); + secondary_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } - secondaries_.add(input.readMessage(org.sonar.db.protobuf.DbIssues.Location.PARSER, extensionRegistry)); + secondary_.add(input.readMessage(org.sonar.db.protobuf.DbIssues.Location.PARSER, extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - executionFlows_ = new java.util.ArrayList(); + executionFlow_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } - executionFlows_.add(input.readMessage(org.sonar.db.protobuf.DbIssues.ExecutionFlow.PARSER, extensionRegistry)); + executionFlow_.add(input.readMessage(org.sonar.db.protobuf.DbIssues.ExecutionFlow.PARSER, extensionRegistry)); break; } } @@ -163,10 +163,10 @@ public final class DbIssues { e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - secondaries_ = java.util.Collections.unmodifiableList(secondaries_); + secondary_ = java.util.Collections.unmodifiableList(secondary_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - executionFlows_ = java.util.Collections.unmodifiableList(executionFlows_); + executionFlow_ = java.util.Collections.unmodifiableList(executionFlow_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -221,80 +221,80 @@ public final class DbIssues { return primary_; } - public static final int SECONDARIES_FIELD_NUMBER = 2; - private java.util.List secondaries_; + public static final int SECONDARY_FIELD_NUMBER = 2; + private java.util.List secondary_; /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public java.util.List getSecondariesList() { - return secondaries_; + public java.util.List getSecondaryList() { + return secondary_; } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ public java.util.List - getSecondariesOrBuilderList() { - return secondaries_; + getSecondaryOrBuilderList() { + return secondary_; } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public int getSecondariesCount() { - return secondaries_.size(); + public int getSecondaryCount() { + return secondary_.size(); } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public org.sonar.db.protobuf.DbIssues.Location getSecondaries(int index) { - return secondaries_.get(index); + public org.sonar.db.protobuf.DbIssues.Location getSecondary(int index) { + return secondary_.get(index); } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public org.sonar.db.protobuf.DbIssues.LocationOrBuilder getSecondariesOrBuilder( + public org.sonar.db.protobuf.DbIssues.LocationOrBuilder getSecondaryOrBuilder( int index) { - return secondaries_.get(index); + return secondary_.get(index); } - public static final int EXECUTION_FLOWS_FIELD_NUMBER = 3; - private java.util.List executionFlows_; + public static final int EXECUTION_FLOW_FIELD_NUMBER = 3; + private java.util.List executionFlow_; /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public java.util.List getExecutionFlowsList() { - return executionFlows_; + public java.util.List getExecutionFlowList() { + return executionFlow_; } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ public java.util.List - getExecutionFlowsOrBuilderList() { - return executionFlows_; + getExecutionFlowOrBuilderList() { + return executionFlow_; } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public int getExecutionFlowsCount() { - return executionFlows_.size(); + public int getExecutionFlowCount() { + return executionFlow_.size(); } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public org.sonar.db.protobuf.DbIssues.ExecutionFlow getExecutionFlows(int index) { - return executionFlows_.get(index); + public org.sonar.db.protobuf.DbIssues.ExecutionFlow getExecutionFlow(int index) { + return executionFlow_.get(index); } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public org.sonar.db.protobuf.DbIssues.ExecutionFlowOrBuilder getExecutionFlowsOrBuilder( + public org.sonar.db.protobuf.DbIssues.ExecutionFlowOrBuilder getExecutionFlowOrBuilder( int index) { - return executionFlows_.get(index); + return executionFlow_.get(index); } private void initFields() { primary_ = org.sonar.db.protobuf.DbIssues.Location.getDefaultInstance(); - secondaries_ = java.util.Collections.emptyList(); - executionFlows_ = java.util.Collections.emptyList(); + secondary_ = java.util.Collections.emptyList(); + executionFlow_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -312,11 +312,11 @@ public final class DbIssues { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, primary_); } - for (int i = 0; i < secondaries_.size(); i++) { - output.writeMessage(2, secondaries_.get(i)); + for (int i = 0; i < secondary_.size(); i++) { + output.writeMessage(2, secondary_.get(i)); } - for (int i = 0; i < executionFlows_.size(); i++) { - output.writeMessage(3, executionFlows_.get(i)); + for (int i = 0; i < executionFlow_.size(); i++) { + output.writeMessage(3, executionFlow_.get(i)); } getUnknownFields().writeTo(output); } @@ -331,13 +331,13 @@ public final class DbIssues { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, primary_); } - for (int i = 0; i < secondaries_.size(); i++) { + for (int i = 0; i < secondary_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, secondaries_.get(i)); + .computeMessageSize(2, secondary_.get(i)); } - for (int i = 0; i < executionFlows_.size(); i++) { + for (int i = 0; i < executionFlow_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, executionFlows_.get(i)); + .computeMessageSize(3, executionFlow_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; @@ -449,8 +449,8 @@ public final class DbIssues { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getPrimaryFieldBuilder(); - getSecondariesFieldBuilder(); - getExecutionFlowsFieldBuilder(); + getSecondaryFieldBuilder(); + getExecutionFlowFieldBuilder(); } } private static Builder create() { @@ -465,17 +465,17 @@ public final class DbIssues { primaryBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); - if (secondariesBuilder_ == null) { - secondaries_ = java.util.Collections.emptyList(); + if (secondaryBuilder_ == null) { + secondary_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { - secondariesBuilder_.clear(); + secondaryBuilder_.clear(); } - if (executionFlowsBuilder_ == null) { - executionFlows_ = java.util.Collections.emptyList(); + if (executionFlowBuilder_ == null) { + executionFlow_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { - executionFlowsBuilder_.clear(); + executionFlowBuilder_.clear(); } return this; } @@ -513,23 +513,23 @@ public final class DbIssues { } else { result.primary_ = primaryBuilder_.build(); } - if (secondariesBuilder_ == null) { + if (secondaryBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { - secondaries_ = java.util.Collections.unmodifiableList(secondaries_); + secondary_ = java.util.Collections.unmodifiableList(secondary_); bitField0_ = (bitField0_ & ~0x00000002); } - result.secondaries_ = secondaries_; + result.secondary_ = secondary_; } else { - result.secondaries_ = secondariesBuilder_.build(); + result.secondary_ = secondaryBuilder_.build(); } - if (executionFlowsBuilder_ == null) { + if (executionFlowBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { - executionFlows_ = java.util.Collections.unmodifiableList(executionFlows_); + executionFlow_ = java.util.Collections.unmodifiableList(executionFlow_); bitField0_ = (bitField0_ & ~0x00000004); } - result.executionFlows_ = executionFlows_; + result.executionFlow_ = executionFlow_; } else { - result.executionFlows_ = executionFlowsBuilder_.build(); + result.executionFlow_ = executionFlowBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); @@ -550,55 +550,55 @@ public final class DbIssues { if (other.hasPrimary()) { mergePrimary(other.getPrimary()); } - if (secondariesBuilder_ == null) { - if (!other.secondaries_.isEmpty()) { - if (secondaries_.isEmpty()) { - secondaries_ = other.secondaries_; + if (secondaryBuilder_ == null) { + if (!other.secondary_.isEmpty()) { + if (secondary_.isEmpty()) { + secondary_ = other.secondary_; bitField0_ = (bitField0_ & ~0x00000002); } else { - ensureSecondariesIsMutable(); - secondaries_.addAll(other.secondaries_); + ensureSecondaryIsMutable(); + secondary_.addAll(other.secondary_); } onChanged(); } } else { - if (!other.secondaries_.isEmpty()) { - if (secondariesBuilder_.isEmpty()) { - secondariesBuilder_.dispose(); - secondariesBuilder_ = null; - secondaries_ = other.secondaries_; + if (!other.secondary_.isEmpty()) { + if (secondaryBuilder_.isEmpty()) { + secondaryBuilder_.dispose(); + secondaryBuilder_ = null; + secondary_ = other.secondary_; bitField0_ = (bitField0_ & ~0x00000002); - secondariesBuilder_ = + secondaryBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getSecondariesFieldBuilder() : null; + getSecondaryFieldBuilder() : null; } else { - secondariesBuilder_.addAllMessages(other.secondaries_); + secondaryBuilder_.addAllMessages(other.secondary_); } } } - if (executionFlowsBuilder_ == null) { - if (!other.executionFlows_.isEmpty()) { - if (executionFlows_.isEmpty()) { - executionFlows_ = other.executionFlows_; + if (executionFlowBuilder_ == null) { + if (!other.executionFlow_.isEmpty()) { + if (executionFlow_.isEmpty()) { + executionFlow_ = other.executionFlow_; bitField0_ = (bitField0_ & ~0x00000004); } else { - ensureExecutionFlowsIsMutable(); - executionFlows_.addAll(other.executionFlows_); + ensureExecutionFlowIsMutable(); + executionFlow_.addAll(other.executionFlow_); } onChanged(); } } else { - if (!other.executionFlows_.isEmpty()) { - if (executionFlowsBuilder_.isEmpty()) { - executionFlowsBuilder_.dispose(); - executionFlowsBuilder_ = null; - executionFlows_ = other.executionFlows_; + if (!other.executionFlow_.isEmpty()) { + if (executionFlowBuilder_.isEmpty()) { + executionFlowBuilder_.dispose(); + executionFlowBuilder_ = null; + executionFlow_ = other.executionFlow_; bitField0_ = (bitField0_ & ~0x00000004); - executionFlowsBuilder_ = + executionFlowBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getExecutionFlowsFieldBuilder() : null; + getExecutionFlowFieldBuilder() : null; } else { - executionFlowsBuilder_.addAllMessages(other.executionFlows_); + executionFlowBuilder_.addAllMessages(other.executionFlow_); } } } @@ -745,484 +745,484 @@ public final class DbIssues { return primaryBuilder_; } - private java.util.List secondaries_ = + private java.util.List secondary_ = java.util.Collections.emptyList(); - private void ensureSecondariesIsMutable() { + private void ensureSecondaryIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { - secondaries_ = new java.util.ArrayList(secondaries_); + secondary_ = new java.util.ArrayList(secondary_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.db.protobuf.DbIssues.Location, org.sonar.db.protobuf.DbIssues.Location.Builder, org.sonar.db.protobuf.DbIssues.LocationOrBuilder> secondariesBuilder_; + org.sonar.db.protobuf.DbIssues.Location, org.sonar.db.protobuf.DbIssues.Location.Builder, org.sonar.db.protobuf.DbIssues.LocationOrBuilder> secondaryBuilder_; /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public java.util.List getSecondariesList() { - if (secondariesBuilder_ == null) { - return java.util.Collections.unmodifiableList(secondaries_); + public java.util.List getSecondaryList() { + if (secondaryBuilder_ == null) { + return java.util.Collections.unmodifiableList(secondary_); } else { - return secondariesBuilder_.getMessageList(); + return secondaryBuilder_.getMessageList(); } } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public int getSecondariesCount() { - if (secondariesBuilder_ == null) { - return secondaries_.size(); + public int getSecondaryCount() { + if (secondaryBuilder_ == null) { + return secondary_.size(); } else { - return secondariesBuilder_.getCount(); + return secondaryBuilder_.getCount(); } } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public org.sonar.db.protobuf.DbIssues.Location getSecondaries(int index) { - if (secondariesBuilder_ == null) { - return secondaries_.get(index); + public org.sonar.db.protobuf.DbIssues.Location getSecondary(int index) { + if (secondaryBuilder_ == null) { + return secondary_.get(index); } else { - return secondariesBuilder_.getMessage(index); + return secondaryBuilder_.getMessage(index); } } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public Builder setSecondaries( + public Builder setSecondary( int index, org.sonar.db.protobuf.DbIssues.Location value) { - if (secondariesBuilder_ == null) { + if (secondaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureSecondariesIsMutable(); - secondaries_.set(index, value); + ensureSecondaryIsMutable(); + secondary_.set(index, value); onChanged(); } else { - secondariesBuilder_.setMessage(index, value); + secondaryBuilder_.setMessage(index, value); } return this; } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public Builder setSecondaries( + public Builder setSecondary( int index, org.sonar.db.protobuf.DbIssues.Location.Builder builderForValue) { - if (secondariesBuilder_ == null) { - ensureSecondariesIsMutable(); - secondaries_.set(index, builderForValue.build()); + if (secondaryBuilder_ == null) { + ensureSecondaryIsMutable(); + secondary_.set(index, builderForValue.build()); onChanged(); } else { - secondariesBuilder_.setMessage(index, builderForValue.build()); + secondaryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public Builder addSecondaries(org.sonar.db.protobuf.DbIssues.Location value) { - if (secondariesBuilder_ == null) { + public Builder addSecondary(org.sonar.db.protobuf.DbIssues.Location value) { + if (secondaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureSecondariesIsMutable(); - secondaries_.add(value); + ensureSecondaryIsMutable(); + secondary_.add(value); onChanged(); } else { - secondariesBuilder_.addMessage(value); + secondaryBuilder_.addMessage(value); } return this; } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public Builder addSecondaries( + public Builder addSecondary( int index, org.sonar.db.protobuf.DbIssues.Location value) { - if (secondariesBuilder_ == null) { + if (secondaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureSecondariesIsMutable(); - secondaries_.add(index, value); + ensureSecondaryIsMutable(); + secondary_.add(index, value); onChanged(); } else { - secondariesBuilder_.addMessage(index, value); + secondaryBuilder_.addMessage(index, value); } return this; } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public Builder addSecondaries( + public Builder addSecondary( org.sonar.db.protobuf.DbIssues.Location.Builder builderForValue) { - if (secondariesBuilder_ == null) { - ensureSecondariesIsMutable(); - secondaries_.add(builderForValue.build()); + if (secondaryBuilder_ == null) { + ensureSecondaryIsMutable(); + secondary_.add(builderForValue.build()); onChanged(); } else { - secondariesBuilder_.addMessage(builderForValue.build()); + secondaryBuilder_.addMessage(builderForValue.build()); } return this; } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public Builder addSecondaries( + public Builder addSecondary( int index, org.sonar.db.protobuf.DbIssues.Location.Builder builderForValue) { - if (secondariesBuilder_ == null) { - ensureSecondariesIsMutable(); - secondaries_.add(index, builderForValue.build()); + if (secondaryBuilder_ == null) { + ensureSecondaryIsMutable(); + secondary_.add(index, builderForValue.build()); onChanged(); } else { - secondariesBuilder_.addMessage(index, builderForValue.build()); + secondaryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public Builder addAllSecondaries( + public Builder addAllSecondary( java.lang.Iterable values) { - if (secondariesBuilder_ == null) { - ensureSecondariesIsMutable(); + if (secondaryBuilder_ == null) { + ensureSecondaryIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, secondaries_); + values, secondary_); onChanged(); } else { - secondariesBuilder_.addAllMessages(values); + secondaryBuilder_.addAllMessages(values); } return this; } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public Builder clearSecondaries() { - if (secondariesBuilder_ == null) { - secondaries_ = java.util.Collections.emptyList(); + public Builder clearSecondary() { + if (secondaryBuilder_ == null) { + secondary_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { - secondariesBuilder_.clear(); + secondaryBuilder_.clear(); } return this; } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public Builder removeSecondaries(int index) { - if (secondariesBuilder_ == null) { - ensureSecondariesIsMutable(); - secondaries_.remove(index); + public Builder removeSecondary(int index) { + if (secondaryBuilder_ == null) { + ensureSecondaryIsMutable(); + secondary_.remove(index); onChanged(); } else { - secondariesBuilder_.remove(index); + secondaryBuilder_.remove(index); } return this; } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public org.sonar.db.protobuf.DbIssues.Location.Builder getSecondariesBuilder( + public org.sonar.db.protobuf.DbIssues.Location.Builder getSecondaryBuilder( int index) { - return getSecondariesFieldBuilder().getBuilder(index); + return getSecondaryFieldBuilder().getBuilder(index); } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public org.sonar.db.protobuf.DbIssues.LocationOrBuilder getSecondariesOrBuilder( + public org.sonar.db.protobuf.DbIssues.LocationOrBuilder getSecondaryOrBuilder( int index) { - if (secondariesBuilder_ == null) { - return secondaries_.get(index); } else { - return secondariesBuilder_.getMessageOrBuilder(index); + if (secondaryBuilder_ == null) { + return secondary_.get(index); } else { + return secondaryBuilder_.getMessageOrBuilder(index); } } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ public java.util.List - getSecondariesOrBuilderList() { - if (secondariesBuilder_ != null) { - return secondariesBuilder_.getMessageOrBuilderList(); + getSecondaryOrBuilderList() { + if (secondaryBuilder_ != null) { + return secondaryBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(secondaries_); + return java.util.Collections.unmodifiableList(secondary_); } } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public org.sonar.db.protobuf.DbIssues.Location.Builder addSecondariesBuilder() { - return getSecondariesFieldBuilder().addBuilder( + public org.sonar.db.protobuf.DbIssues.Location.Builder addSecondaryBuilder() { + return getSecondaryFieldBuilder().addBuilder( org.sonar.db.protobuf.DbIssues.Location.getDefaultInstance()); } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ - public org.sonar.db.protobuf.DbIssues.Location.Builder addSecondariesBuilder( + public org.sonar.db.protobuf.DbIssues.Location.Builder addSecondaryBuilder( int index) { - return getSecondariesFieldBuilder().addBuilder( + return getSecondaryFieldBuilder().addBuilder( index, org.sonar.db.protobuf.DbIssues.Location.getDefaultInstance()); } /** - * repeated .sonarqube.db.issues.Location secondaries = 2; + * repeated .sonarqube.db.issues.Location secondary = 2; */ public java.util.List - getSecondariesBuilderList() { - return getSecondariesFieldBuilder().getBuilderList(); + getSecondaryBuilderList() { + return getSecondaryFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonar.db.protobuf.DbIssues.Location, org.sonar.db.protobuf.DbIssues.Location.Builder, org.sonar.db.protobuf.DbIssues.LocationOrBuilder> - getSecondariesFieldBuilder() { - if (secondariesBuilder_ == null) { - secondariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + getSecondaryFieldBuilder() { + if (secondaryBuilder_ == null) { + secondaryBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonar.db.protobuf.DbIssues.Location, org.sonar.db.protobuf.DbIssues.Location.Builder, org.sonar.db.protobuf.DbIssues.LocationOrBuilder>( - secondaries_, + secondary_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); - secondaries_ = null; + secondary_ = null; } - return secondariesBuilder_; + return secondaryBuilder_; } - private java.util.List executionFlows_ = + private java.util.List executionFlow_ = java.util.Collections.emptyList(); - private void ensureExecutionFlowsIsMutable() { + private void ensureExecutionFlowIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { - executionFlows_ = new java.util.ArrayList(executionFlows_); + executionFlow_ = new java.util.ArrayList(executionFlow_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.db.protobuf.DbIssues.ExecutionFlow, org.sonar.db.protobuf.DbIssues.ExecutionFlow.Builder, org.sonar.db.protobuf.DbIssues.ExecutionFlowOrBuilder> executionFlowsBuilder_; + org.sonar.db.protobuf.DbIssues.ExecutionFlow, org.sonar.db.protobuf.DbIssues.ExecutionFlow.Builder, org.sonar.db.protobuf.DbIssues.ExecutionFlowOrBuilder> executionFlowBuilder_; /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public java.util.List getExecutionFlowsList() { - if (executionFlowsBuilder_ == null) { - return java.util.Collections.unmodifiableList(executionFlows_); + public java.util.List getExecutionFlowList() { + if (executionFlowBuilder_ == null) { + return java.util.Collections.unmodifiableList(executionFlow_); } else { - return executionFlowsBuilder_.getMessageList(); + return executionFlowBuilder_.getMessageList(); } } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public int getExecutionFlowsCount() { - if (executionFlowsBuilder_ == null) { - return executionFlows_.size(); + public int getExecutionFlowCount() { + if (executionFlowBuilder_ == null) { + return executionFlow_.size(); } else { - return executionFlowsBuilder_.getCount(); + return executionFlowBuilder_.getCount(); } } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public org.sonar.db.protobuf.DbIssues.ExecutionFlow getExecutionFlows(int index) { - if (executionFlowsBuilder_ == null) { - return executionFlows_.get(index); + public org.sonar.db.protobuf.DbIssues.ExecutionFlow getExecutionFlow(int index) { + if (executionFlowBuilder_ == null) { + return executionFlow_.get(index); } else { - return executionFlowsBuilder_.getMessage(index); + return executionFlowBuilder_.getMessage(index); } } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public Builder setExecutionFlows( + public Builder setExecutionFlow( int index, org.sonar.db.protobuf.DbIssues.ExecutionFlow value) { - if (executionFlowsBuilder_ == null) { + if (executionFlowBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureExecutionFlowsIsMutable(); - executionFlows_.set(index, value); + ensureExecutionFlowIsMutable(); + executionFlow_.set(index, value); onChanged(); } else { - executionFlowsBuilder_.setMessage(index, value); + executionFlowBuilder_.setMessage(index, value); } return this; } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public Builder setExecutionFlows( + public Builder setExecutionFlow( int index, org.sonar.db.protobuf.DbIssues.ExecutionFlow.Builder builderForValue) { - if (executionFlowsBuilder_ == null) { - ensureExecutionFlowsIsMutable(); - executionFlows_.set(index, builderForValue.build()); + if (executionFlowBuilder_ == null) { + ensureExecutionFlowIsMutable(); + executionFlow_.set(index, builderForValue.build()); onChanged(); } else { - executionFlowsBuilder_.setMessage(index, builderForValue.build()); + executionFlowBuilder_.setMessage(index, builderForValue.build()); } return this; } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public Builder addExecutionFlows(org.sonar.db.protobuf.DbIssues.ExecutionFlow value) { - if (executionFlowsBuilder_ == null) { + public Builder addExecutionFlow(org.sonar.db.protobuf.DbIssues.ExecutionFlow value) { + if (executionFlowBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureExecutionFlowsIsMutable(); - executionFlows_.add(value); + ensureExecutionFlowIsMutable(); + executionFlow_.add(value); onChanged(); } else { - executionFlowsBuilder_.addMessage(value); + executionFlowBuilder_.addMessage(value); } return this; } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public Builder addExecutionFlows( + public Builder addExecutionFlow( int index, org.sonar.db.protobuf.DbIssues.ExecutionFlow value) { - if (executionFlowsBuilder_ == null) { + if (executionFlowBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureExecutionFlowsIsMutable(); - executionFlows_.add(index, value); + ensureExecutionFlowIsMutable(); + executionFlow_.add(index, value); onChanged(); } else { - executionFlowsBuilder_.addMessage(index, value); + executionFlowBuilder_.addMessage(index, value); } return this; } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public Builder addExecutionFlows( + public Builder addExecutionFlow( org.sonar.db.protobuf.DbIssues.ExecutionFlow.Builder builderForValue) { - if (executionFlowsBuilder_ == null) { - ensureExecutionFlowsIsMutable(); - executionFlows_.add(builderForValue.build()); + if (executionFlowBuilder_ == null) { + ensureExecutionFlowIsMutable(); + executionFlow_.add(builderForValue.build()); onChanged(); } else { - executionFlowsBuilder_.addMessage(builderForValue.build()); + executionFlowBuilder_.addMessage(builderForValue.build()); } return this; } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public Builder addExecutionFlows( + public Builder addExecutionFlow( int index, org.sonar.db.protobuf.DbIssues.ExecutionFlow.Builder builderForValue) { - if (executionFlowsBuilder_ == null) { - ensureExecutionFlowsIsMutable(); - executionFlows_.add(index, builderForValue.build()); + if (executionFlowBuilder_ == null) { + ensureExecutionFlowIsMutable(); + executionFlow_.add(index, builderForValue.build()); onChanged(); } else { - executionFlowsBuilder_.addMessage(index, builderForValue.build()); + executionFlowBuilder_.addMessage(index, builderForValue.build()); } return this; } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public Builder addAllExecutionFlows( + public Builder addAllExecutionFlow( java.lang.Iterable values) { - if (executionFlowsBuilder_ == null) { - ensureExecutionFlowsIsMutable(); + if (executionFlowBuilder_ == null) { + ensureExecutionFlowIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, executionFlows_); + values, executionFlow_); onChanged(); } else { - executionFlowsBuilder_.addAllMessages(values); + executionFlowBuilder_.addAllMessages(values); } return this; } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public Builder clearExecutionFlows() { - if (executionFlowsBuilder_ == null) { - executionFlows_ = java.util.Collections.emptyList(); + public Builder clearExecutionFlow() { + if (executionFlowBuilder_ == null) { + executionFlow_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { - executionFlowsBuilder_.clear(); + executionFlowBuilder_.clear(); } return this; } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public Builder removeExecutionFlows(int index) { - if (executionFlowsBuilder_ == null) { - ensureExecutionFlowsIsMutable(); - executionFlows_.remove(index); + public Builder removeExecutionFlow(int index) { + if (executionFlowBuilder_ == null) { + ensureExecutionFlowIsMutable(); + executionFlow_.remove(index); onChanged(); } else { - executionFlowsBuilder_.remove(index); + executionFlowBuilder_.remove(index); } return this; } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public org.sonar.db.protobuf.DbIssues.ExecutionFlow.Builder getExecutionFlowsBuilder( + public org.sonar.db.protobuf.DbIssues.ExecutionFlow.Builder getExecutionFlowBuilder( int index) { - return getExecutionFlowsFieldBuilder().getBuilder(index); + return getExecutionFlowFieldBuilder().getBuilder(index); } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public org.sonar.db.protobuf.DbIssues.ExecutionFlowOrBuilder getExecutionFlowsOrBuilder( + public org.sonar.db.protobuf.DbIssues.ExecutionFlowOrBuilder getExecutionFlowOrBuilder( int index) { - if (executionFlowsBuilder_ == null) { - return executionFlows_.get(index); } else { - return executionFlowsBuilder_.getMessageOrBuilder(index); + if (executionFlowBuilder_ == null) { + return executionFlow_.get(index); } else { + return executionFlowBuilder_.getMessageOrBuilder(index); } } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ public java.util.List - getExecutionFlowsOrBuilderList() { - if (executionFlowsBuilder_ != null) { - return executionFlowsBuilder_.getMessageOrBuilderList(); + getExecutionFlowOrBuilderList() { + if (executionFlowBuilder_ != null) { + return executionFlowBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(executionFlows_); + return java.util.Collections.unmodifiableList(executionFlow_); } } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public org.sonar.db.protobuf.DbIssues.ExecutionFlow.Builder addExecutionFlowsBuilder() { - return getExecutionFlowsFieldBuilder().addBuilder( + public org.sonar.db.protobuf.DbIssues.ExecutionFlow.Builder addExecutionFlowBuilder() { + return getExecutionFlowFieldBuilder().addBuilder( org.sonar.db.protobuf.DbIssues.ExecutionFlow.getDefaultInstance()); } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ - public org.sonar.db.protobuf.DbIssues.ExecutionFlow.Builder addExecutionFlowsBuilder( + public org.sonar.db.protobuf.DbIssues.ExecutionFlow.Builder addExecutionFlowBuilder( int index) { - return getExecutionFlowsFieldBuilder().addBuilder( + return getExecutionFlowFieldBuilder().addBuilder( index, org.sonar.db.protobuf.DbIssues.ExecutionFlow.getDefaultInstance()); } /** - * repeated .sonarqube.db.issues.ExecutionFlow execution_flows = 3; + * repeated .sonarqube.db.issues.ExecutionFlow execution_flow = 3; */ public java.util.List - getExecutionFlowsBuilderList() { - return getExecutionFlowsFieldBuilder().getBuilderList(); + getExecutionFlowBuilderList() { + return getExecutionFlowFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonar.db.protobuf.DbIssues.ExecutionFlow, org.sonar.db.protobuf.DbIssues.ExecutionFlow.Builder, org.sonar.db.protobuf.DbIssues.ExecutionFlowOrBuilder> - getExecutionFlowsFieldBuilder() { - if (executionFlowsBuilder_ == null) { - executionFlowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + getExecutionFlowFieldBuilder() { + if (executionFlowBuilder_ == null) { + executionFlowBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonar.db.protobuf.DbIssues.ExecutionFlow, org.sonar.db.protobuf.DbIssues.ExecutionFlow.Builder, org.sonar.db.protobuf.DbIssues.ExecutionFlowOrBuilder>( - executionFlows_, + executionFlow_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); - executionFlows_ = null; + executionFlow_ = null; } - return executionFlowsBuilder_; + return executionFlowBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.db.issues.Locations) @@ -2819,16 +2819,16 @@ public final class DbIssues { static { java.lang.String[] descriptorData = { "\n\017db-issues.proto\022\023sonarqube.db.issues\032\020" + - "db-commons.proto\"\254\001\n\tLocations\022.\n\007primar" + - "y\030\001 \001(\0132\035.sonarqube.db.issues.Location\0222" + - "\n\013secondaries\030\002 \003(\0132\035.sonarqube.db.issue" + - "s.Location\022;\n\017execution_flows\030\003 \003(\0132\".so" + - "narqube.db.issues.ExecutionFlow\"A\n\rExecu" + - "tionFlow\0220\n\tlocations\030\001 \003(\0132\035.sonarqube." + - "db.issues.Location\"b\n\010Location\022\024\n\014compon" + - "ent_id\030\001 \001(\t\0223\n\ntext_range\030\002 \001(\0132\037.sonar" + - "qube.db.commons.TextRange\022\013\n\003msg\030\003 \001(\tB\031", - "\n\025org.sonar.db.protobufH\001" + "db-commons.proto\"\251\001\n\tLocations\022.\n\007primar" + + "y\030\001 \001(\0132\035.sonarqube.db.issues.Location\0220" + + "\n\tsecondary\030\002 \003(\0132\035.sonarqube.db.issues." + + "Location\022:\n\016execution_flow\030\003 \003(\0132\".sonar" + + "qube.db.issues.ExecutionFlow\"A\n\rExecutio" + + "nFlow\0220\n\tlocations\030\001 \003(\0132\035.sonarqube.db." + + "issues.Location\"b\n\010Location\022\024\n\014component" + + "_id\030\001 \001(\t\0223\n\ntext_range\030\002 \001(\0132\037.sonarqub" + + "e.db.commons.TextRange\022\013\n\003msg\030\003 \001(\tB\031\n\025o", + "rg.sonar.db.protobufH\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -2848,7 +2848,7 @@ public final class DbIssues { internal_static_sonarqube_db_issues_Locations_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_db_issues_Locations_descriptor, - new java.lang.String[] { "Primary", "Secondaries", "ExecutionFlows", }); + new java.lang.String[] { "Primary", "Secondary", "ExecutionFlow", }); internal_static_sonarqube_db_issues_ExecutionFlow_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_sonarqube_db_issues_ExecutionFlow_fieldAccessorTable = new diff --git a/sonar-db/src/main/java/org/sonar/db/issue/IssueDto.java b/sonar-db/src/main/java/org/sonar/db/issue/IssueDto.java index 008bf7f1ba9..bf1fe49aae1 100644 --- a/sonar-db/src/main/java/org/sonar/db/issue/IssueDto.java +++ b/sonar-db/src/main/java/org/sonar/db/issue/IssueDto.java @@ -103,6 +103,7 @@ public final class IssueDto implements Serializable { return new IssueDto() .setKee(issue.key()) .setLine(issue.line()) + .setLocations((DbIssues.Locations) issue.getLocations()) .setMessage(issue.message()) .setEffortToFix(issue.effortToFix()) .setDebt(issue.debtInMinutes()) @@ -150,6 +151,7 @@ public final class IssueDto implements Serializable { return new IssueDto() .setKee(issue.key()) .setLine(issue.line()) + .setLocations((DbIssues.Locations) issue.getLocations()) .setMessage(issue.message()) .setEffortToFix(issue.effortToFix()) .setDebt(issue.debtInMinutes()) @@ -665,7 +667,7 @@ public final class IssueDto implements Serializable { return null; } - public IssueDto setLocations(byte[] locations) { + public IssueDto setLocations(@Nullable byte[] locations) { this.locations = locations; return this; } @@ -715,6 +717,7 @@ public final class IssueDto implements Serializable { issue.setCloseDate(longToDate(issueCloseDate)); issue.setUpdateDate(longToDate(issueUpdateDate)); issue.setSelectedAt(selectedAt); + issue.setLocations(parseLocations()); return issue; } } diff --git a/sonar-db/src/main/java/org/sonar/db/issue/IssueMapper.java b/sonar-db/src/main/java/org/sonar/db/issue/IssueMapper.java index eda8b2ef7ba..d74665b8461 100644 --- a/sonar-db/src/main/java/org/sonar/db/issue/IssueMapper.java +++ b/sonar-db/src/main/java/org/sonar/db/issue/IssueMapper.java @@ -21,12 +21,14 @@ package org.sonar.db.issue; import java.util.List; import java.util.Set; +import org.apache.ibatis.annotations.Param; +import org.apache.ibatis.session.ResultHandler; public interface IssueMapper { IssueDto selectByKey(String key); - List selectNonClosedByComponentUuid(String componentUuid); + void selectNonClosedByComponentUuid(@Param("componentUuid") String componentUuid, ResultHandler resultHandler); Set selectComponentUuidsOfOpenIssuesForProjectUuid(String projectUuid); diff --git a/sonar-db/src/main/protobuf/db-issues.proto b/sonar-db/src/main/protobuf/db-issues.proto index 79cea64e2c4..f3f22012ecc 100644 --- a/sonar-db/src/main/protobuf/db-issues.proto +++ b/sonar-db/src/main/protobuf/db-issues.proto @@ -32,8 +32,8 @@ option optimize_for = SPEED; message Locations { optional Location primary = 1; - repeated Location secondaries = 2; - repeated ExecutionFlow execution_flows = 3; + repeated Location secondary = 2; + repeated ExecutionFlow execution_flow = 3; } message ExecutionFlow { diff --git a/sonar-db/src/main/resources/org/sonar/db/issue/IssueMapper.xml b/sonar-db/src/main/resources/org/sonar/db/issue/IssueMapper.xml index 790040bc6e3..37133139051 100644 --- a/sonar-db/src/main/resources/org/sonar/db/issue/IssueMapper.xml +++ b/sonar-db/src/main/resources/org/sonar/db/issue/IssueMapper.xml @@ -13,6 +13,7 @@ i.manual_severity as manualSeverity, i.message as message, i.line as line, + i.locations as locations, i.effort_to_fix as effortToFix, i.technical_debt as debt, i.status as status, @@ -67,12 +68,13 @@ INSERT INTO issues (kee, rule_id, action_plan_key, severity, manual_severity, - message, line, effort_to_fix, technical_debt, status, tags, + message, line, locations, effort_to_fix, technical_debt, status, tags, resolution, checksum, reporter, assignee, author_login, issue_attributes, issue_creation_date, issue_update_date, issue_close_date, created_at, updated_at, component_uuid, project_uuid) VALUES (#{kee,jdbcType=VARCHAR}, #{ruleId,jdbcType=INTEGER}, #{actionPlanKey,jdbcType=VARCHAR}, #{severity,jdbcType=VARCHAR}, #{manualSeverity,jdbcType=BOOLEAN}, #{message,jdbcType=VARCHAR}, #{line,jdbcType=INTEGER}, + #{locations,jdbcType=BLOB}, #{effortToFix,jdbcType=DOUBLE}, #{debt,jdbcType=INTEGER}, #{status,jdbcType=VARCHAR}, #{tagsString,jdbcType=VARCHAR}, #{resolution,jdbcType=VARCHAR}, #{checksum,jdbcType=VARCHAR}, #{reporter,jdbcType=VARCHAR}, #{assignee,jdbcType=VARCHAR}, #{authorLogin,jdbcType=VARCHAR}, @@ -92,6 +94,7 @@ manual_severity=#{manualSeverity,jdbcType=BOOLEAN}, message=#{message,jdbcType=VARCHAR}, line=#{line,jdbcType=INTEGER}, + locations=#{locations,jdbcType=BLOB}, effort_to_fix=#{effortToFix,jdbcType=DOUBLE}, technical_debt=#{debt,jdbcType=INTEGER}, status=#{status,jdbcType=VARCHAR}, @@ -120,6 +123,7 @@ manual_severity=#{manualSeverity,jdbcType=BOOLEAN}, message=#{message,jdbcType=VARCHAR}, line=#{line,jdbcType=INTEGER}, + locations=#{locations,jdbcType=BLOB}, effort_to_fix=#{effortToFix,jdbcType=DOUBLE}, technical_debt=#{debt,jdbcType=INTEGER}, status=#{status,jdbcType=VARCHAR}, @@ -172,6 +176,7 @@ i.manual_severity as manualSeverity, i.message as message, i.line as line, + i.locations as locations, i.effort_to_fix as effortToFix, i.technical_debt as debt, i.status as status, diff --git a/sonar-db/src/test/java/org/sonar/db/issue/IssueDaoTest.java b/sonar-db/src/test/java/org/sonar/db/issue/IssueDaoTest.java index f1fc842061a..e884f6a1b4e 100644 --- a/sonar-db/src/test/java/org/sonar/db/issue/IssueDaoTest.java +++ b/sonar-db/src/test/java/org/sonar/db/issue/IssueDaoTest.java @@ -29,9 +29,9 @@ import org.junit.rules.ExpectedException; import org.sonar.api.rule.RuleKey; import org.sonar.api.utils.System2; import org.sonar.db.DbTester; +import org.sonar.db.RowNotFoundException; import org.sonar.db.component.ComponentDto; import org.sonar.db.rule.RuleTesting; -import org.sonar.db.RowNotFoundException; import org.sonar.test.DbTests; import static java.util.Arrays.asList; @@ -126,6 +126,8 @@ public class IssueDaoTest { assertThat(issue.getRule()).isEqualTo("AvoidCycle"); assertThat(issue.getComponentKey()).isEqualTo("Action.java"); assertThat(issue.getProjectKey()).isEqualTo("struts"); + assertThat(issue.getLocations()).isNull(); + assertThat(issue.parseLocations()).isNull(); } @Test diff --git a/sonar-ws/src/main/gen-java/org/sonarqube/ws/Common.java b/sonar-ws/src/main/gen-java/org/sonarqube/ws/Common.java index dfd32c66107..e025d357445 100644 --- a/sonar-ws/src/main/gen-java/org/sonarqube/ws/Common.java +++ b/sonar-ws/src/main/gen-java/org/sonarqube/ws/Common.java @@ -1,5 +1,5 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ws-common.proto +// source: ws-commons.proto package org.sonarqube.ws; @@ -9,7 +9,7 @@ public final class Common { com.google.protobuf.ExtensionRegistry registry) { } /** - * Protobuf enum {@code sonarqube.ws.Severity} + * Protobuf enum {@code sonarqube.ws.commons.Severity} */ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { @@ -114,11 +114,11 @@ public final class Common { this.value = value; } - // @@protoc_insertion_point(enum_scope:sonarqube.ws.Severity) + // @@protoc_insertion_point(enum_scope:sonarqube.ws.commons.Severity) } /** - * Protobuf enum {@code sonarqube.ws.RuleStatus} + * Protobuf enum {@code sonarqube.ws.commons.RuleStatus} */ public enum RuleStatus implements com.google.protobuf.ProtocolMessageEnum { @@ -214,11 +214,11 @@ public final class Common { this.value = value; } - // @@protoc_insertion_point(enum_scope:sonarqube.ws.RuleStatus) + // @@protoc_insertion_point(enum_scope:sonarqube.ws.commons.RuleStatus) } public interface PagingOrBuilder extends - // @@protoc_insertion_point(interface_extends:sonarqube.ws.Paging) + // @@protoc_insertion_point(interface_extends:sonarqube.ws.commons.Paging) com.google.protobuf.MessageOrBuilder { /** @@ -258,11 +258,11 @@ public final class Common { int getPages(); } /** - * Protobuf type {@code sonarqube.ws.Paging} + * Protobuf type {@code sonarqube.ws.commons.Paging} */ public static final class Paging extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:sonarqube.ws.Paging) + // @@protoc_insertion_point(message_implements:sonarqube.ws.commons.Paging) PagingOrBuilder { // Use Paging.newBuilder() to construct. private Paging(com.google.protobuf.GeneratedMessage.Builder builder) { @@ -343,12 +343,12 @@ public final class Common { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Paging_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Paging_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Paging_fieldAccessorTable + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Paging_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Common.Paging.class, org.sonarqube.ws.Common.Paging.Builder.class); } @@ -564,20 +564,20 @@ public final class Common { return builder; } /** - * Protobuf type {@code sonarqube.ws.Paging} + * Protobuf type {@code sonarqube.ws.commons.Paging} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:sonarqube.ws.Paging) + // @@protoc_insertion_point(builder_implements:sonarqube.ws.commons.Paging) org.sonarqube.ws.Common.PagingOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Paging_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Paging_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Paging_fieldAccessorTable + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Paging_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Common.Paging.class, org.sonarqube.ws.Common.Paging.Builder.class); } @@ -619,7 +619,7 @@ public final class Common { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Paging_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Paging_descriptor; } public org.sonarqube.ws.Common.Paging getDefaultInstanceForType() { @@ -837,7 +837,7 @@ public final class Common { return this; } - // @@protoc_insertion_point(builder_scope:sonarqube.ws.Paging) + // @@protoc_insertion_point(builder_scope:sonarqube.ws.commons.Paging) } static { @@ -845,11 +845,11 @@ public final class Common { defaultInstance.initFields(); } - // @@protoc_insertion_point(class_scope:sonarqube.ws.Paging) + // @@protoc_insertion_point(class_scope:sonarqube.ws.commons.Paging) } public interface FacetOrBuilder extends - // @@protoc_insertion_point(interface_extends:sonarqube.ws.Facet) + // @@protoc_insertion_point(interface_extends:sonarqube.ws.commons.Facet) com.google.protobuf.MessageOrBuilder { /** @@ -879,35 +879,35 @@ public final class Common { getPropertyBytes(); /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ java.util.List getValuesList(); /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ org.sonarqube.ws.Common.FacetValue getValues(int index); /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ int getValuesCount(); /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ java.util.List getValuesOrBuilderList(); /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ org.sonarqube.ws.Common.FacetValueOrBuilder getValuesOrBuilder( int index); } /** - * Protobuf type {@code sonarqube.ws.Facet} + * Protobuf type {@code sonarqube.ws.commons.Facet} */ public static final class Facet extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:sonarqube.ws.Facet) + // @@protoc_insertion_point(message_implements:sonarqube.ws.commons.Facet) FacetOrBuilder { // Use Facet.newBuilder() to construct. private Facet(com.google.protobuf.GeneratedMessage.Builder builder) { @@ -985,12 +985,12 @@ public final class Common { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Facet_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Facet_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Facet_fieldAccessorTable + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Facet_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Common.Facet.class, org.sonarqube.ws.Common.Facet.Builder.class); } @@ -1068,32 +1068,32 @@ public final class Common { public static final int VALUES_FIELD_NUMBER = 2; private java.util.List values_; /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public java.util.List getValuesList() { return values_; } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public java.util.List getValuesOrBuilderList() { return values_; } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public int getValuesCount() { return values_.size(); } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public org.sonarqube.ws.Common.FacetValue getValues(int index) { return values_.get(index); } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public org.sonarqube.ws.Common.FacetValueOrBuilder getValuesOrBuilder( int index) { @@ -1219,20 +1219,20 @@ public final class Common { return builder; } /** - * Protobuf type {@code sonarqube.ws.Facet} + * Protobuf type {@code sonarqube.ws.commons.Facet} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:sonarqube.ws.Facet) + // @@protoc_insertion_point(builder_implements:sonarqube.ws.commons.Facet) org.sonarqube.ws.Common.FacetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Facet_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Facet_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Facet_fieldAccessorTable + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Facet_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Common.Facet.class, org.sonarqube.ws.Common.Facet.Builder.class); } @@ -1275,7 +1275,7 @@ public final class Common { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Facet_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Facet_descriptor; } public org.sonarqube.ws.Common.Facet getDefaultInstanceForType() { @@ -1494,7 +1494,7 @@ public final class Common { org.sonarqube.ws.Common.FacetValue, org.sonarqube.ws.Common.FacetValue.Builder, org.sonarqube.ws.Common.FacetValueOrBuilder> valuesBuilder_; /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public java.util.List getValuesList() { if (valuesBuilder_ == null) { @@ -1504,7 +1504,7 @@ public final class Common { } } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public int getValuesCount() { if (valuesBuilder_ == null) { @@ -1514,7 +1514,7 @@ public final class Common { } } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public org.sonarqube.ws.Common.FacetValue getValues(int index) { if (valuesBuilder_ == null) { @@ -1524,7 +1524,7 @@ public final class Common { } } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public Builder setValues( int index, org.sonarqube.ws.Common.FacetValue value) { @@ -1541,7 +1541,7 @@ public final class Common { return this; } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public Builder setValues( int index, org.sonarqube.ws.Common.FacetValue.Builder builderForValue) { @@ -1555,7 +1555,7 @@ public final class Common { return this; } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public Builder addValues(org.sonarqube.ws.Common.FacetValue value) { if (valuesBuilder_ == null) { @@ -1571,7 +1571,7 @@ public final class Common { return this; } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public Builder addValues( int index, org.sonarqube.ws.Common.FacetValue value) { @@ -1588,7 +1588,7 @@ public final class Common { return this; } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public Builder addValues( org.sonarqube.ws.Common.FacetValue.Builder builderForValue) { @@ -1602,7 +1602,7 @@ public final class Common { return this; } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public Builder addValues( int index, org.sonarqube.ws.Common.FacetValue.Builder builderForValue) { @@ -1616,7 +1616,7 @@ public final class Common { return this; } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public Builder addAllValues( java.lang.Iterable values) { @@ -1631,7 +1631,7 @@ public final class Common { return this; } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public Builder clearValues() { if (valuesBuilder_ == null) { @@ -1644,7 +1644,7 @@ public final class Common { return this; } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public Builder removeValues(int index) { if (valuesBuilder_ == null) { @@ -1657,14 +1657,14 @@ public final class Common { return this; } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public org.sonarqube.ws.Common.FacetValue.Builder getValuesBuilder( int index) { return getValuesFieldBuilder().getBuilder(index); } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public org.sonarqube.ws.Common.FacetValueOrBuilder getValuesOrBuilder( int index) { @@ -1674,7 +1674,7 @@ public final class Common { } } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public java.util.List getValuesOrBuilderList() { @@ -1685,14 +1685,14 @@ public final class Common { } } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public org.sonarqube.ws.Common.FacetValue.Builder addValuesBuilder() { return getValuesFieldBuilder().addBuilder( org.sonarqube.ws.Common.FacetValue.getDefaultInstance()); } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public org.sonarqube.ws.Common.FacetValue.Builder addValuesBuilder( int index) { @@ -1700,7 +1700,7 @@ public final class Common { index, org.sonarqube.ws.Common.FacetValue.getDefaultInstance()); } /** - * repeated .sonarqube.ws.FacetValue values = 2; + * repeated .sonarqube.ws.commons.FacetValue values = 2; */ public java.util.List getValuesBuilderList() { @@ -1721,7 +1721,7 @@ public final class Common { return valuesBuilder_; } - // @@protoc_insertion_point(builder_scope:sonarqube.ws.Facet) + // @@protoc_insertion_point(builder_scope:sonarqube.ws.commons.Facet) } static { @@ -1729,11 +1729,11 @@ public final class Common { defaultInstance.initFields(); } - // @@protoc_insertion_point(class_scope:sonarqube.ws.Facet) + // @@protoc_insertion_point(class_scope:sonarqube.ws.commons.Facet) } public interface FacetValueOrBuilder extends - // @@protoc_insertion_point(interface_extends:sonarqube.ws.FacetValue) + // @@protoc_insertion_point(interface_extends:sonarqube.ws.commons.FacetValue) com.google.protobuf.MessageOrBuilder { /** @@ -1760,11 +1760,11 @@ public final class Common { long getCount(); } /** - * Protobuf type {@code sonarqube.ws.FacetValue} + * Protobuf type {@code sonarqube.ws.commons.FacetValue} */ public static final class FacetValue extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:sonarqube.ws.FacetValue) + // @@protoc_insertion_point(message_implements:sonarqube.ws.commons.FacetValue) FacetValueOrBuilder { // Use FacetValue.newBuilder() to construct. private FacetValue(com.google.protobuf.GeneratedMessage.Builder builder) { @@ -1836,12 +1836,12 @@ public final class Common { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_FacetValue_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_FacetValue_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_FacetValue_fieldAccessorTable + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_FacetValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Common.FacetValue.class, org.sonarqube.ws.Common.FacetValue.Builder.class); } @@ -2038,20 +2038,20 @@ public final class Common { return builder; } /** - * Protobuf type {@code sonarqube.ws.FacetValue} + * Protobuf type {@code sonarqube.ws.commons.FacetValue} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:sonarqube.ws.FacetValue) + // @@protoc_insertion_point(builder_implements:sonarqube.ws.commons.FacetValue) org.sonarqube.ws.Common.FacetValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_FacetValue_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_FacetValue_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_FacetValue_fieldAccessorTable + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_FacetValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Common.FacetValue.class, org.sonarqube.ws.Common.FacetValue.Builder.class); } @@ -2089,7 +2089,7 @@ public final class Common { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_FacetValue_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_FacetValue_descriptor; } public org.sonarqube.ws.Common.FacetValue getDefaultInstanceForType() { @@ -2275,7 +2275,7 @@ public final class Common { return this; } - // @@protoc_insertion_point(builder_scope:sonarqube.ws.FacetValue) + // @@protoc_insertion_point(builder_scope:sonarqube.ws.commons.FacetValue) } static { @@ -2283,11 +2283,11 @@ public final class Common { defaultInstance.initFields(); } - // @@protoc_insertion_point(class_scope:sonarqube.ws.FacetValue) + // @@protoc_insertion_point(class_scope:sonarqube.ws.commons.FacetValue) } public interface RuleOrBuilder extends - // @@protoc_insertion_point(interface_extends:sonarqube.ws.Rule) + // @@protoc_insertion_point(interface_extends:sonarqube.ws.commons.Rule) com.google.protobuf.MessageOrBuilder { /** @@ -2333,11 +2333,11 @@ public final class Common { getLangBytes(); /** - * optional .sonarqube.ws.RuleStatus status = 4; + * optional .sonarqube.ws.commons.RuleStatus status = 4; */ boolean hasStatus(); /** - * optional .sonarqube.ws.RuleStatus status = 4; + * optional .sonarqube.ws.commons.RuleStatus status = 4; */ org.sonarqube.ws.Common.RuleStatus getStatus(); @@ -2356,11 +2356,11 @@ public final class Common { getLangNameBytes(); } /** - * Protobuf type {@code sonarqube.ws.Rule} + * Protobuf type {@code sonarqube.ws.commons.Rule} */ public static final class Rule extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:sonarqube.ws.Rule) + // @@protoc_insertion_point(message_implements:sonarqube.ws.commons.Rule) RuleOrBuilder { // Use Rule.newBuilder() to construct. private Rule(com.google.protobuf.GeneratedMessage.Builder builder) { @@ -2456,12 +2456,12 @@ public final class Common { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Rule_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Rule_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Rule_fieldAccessorTable + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Rule_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Common.Rule.class, org.sonarqube.ws.Common.Rule.Builder.class); } @@ -2611,13 +2611,13 @@ public final class Common { public static final int STATUS_FIELD_NUMBER = 4; private org.sonarqube.ws.Common.RuleStatus status_; /** - * optional .sonarqube.ws.RuleStatus status = 4; + * optional .sonarqube.ws.commons.RuleStatus status = 4; */ public boolean hasStatus() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * optional .sonarqube.ws.RuleStatus status = 4; + * optional .sonarqube.ws.commons.RuleStatus status = 4; */ public org.sonarqube.ws.Common.RuleStatus getStatus() { return status_; @@ -2808,20 +2808,20 @@ public final class Common { return builder; } /** - * Protobuf type {@code sonarqube.ws.Rule} + * Protobuf type {@code sonarqube.ws.commons.Rule} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:sonarqube.ws.Rule) + // @@protoc_insertion_point(builder_implements:sonarqube.ws.commons.Rule) org.sonarqube.ws.Common.RuleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Rule_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Rule_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Rule_fieldAccessorTable + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Rule_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Common.Rule.class, org.sonarqube.ws.Common.Rule.Builder.class); } @@ -2865,7 +2865,7 @@ public final class Common { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_Rule_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_Rule_descriptor; } public org.sonarqube.ws.Common.Rule getDefaultInstanceForType() { @@ -3200,19 +3200,19 @@ public final class Common { private org.sonarqube.ws.Common.RuleStatus status_ = org.sonarqube.ws.Common.RuleStatus.BETA; /** - * optional .sonarqube.ws.RuleStatus status = 4; + * optional .sonarqube.ws.commons.RuleStatus status = 4; */ public boolean hasStatus() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * optional .sonarqube.ws.RuleStatus status = 4; + * optional .sonarqube.ws.commons.RuleStatus status = 4; */ public org.sonarqube.ws.Common.RuleStatus getStatus() { return status_; } /** - * optional .sonarqube.ws.RuleStatus status = 4; + * optional .sonarqube.ws.commons.RuleStatus status = 4; */ public Builder setStatus(org.sonarqube.ws.Common.RuleStatus value) { if (value == null) { @@ -3224,7 +3224,7 @@ public final class Common { return this; } /** - * optional .sonarqube.ws.RuleStatus status = 4; + * optional .sonarqube.ws.commons.RuleStatus status = 4; */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3309,7 +3309,7 @@ public final class Common { return this; } - // @@protoc_insertion_point(builder_scope:sonarqube.ws.Rule) + // @@protoc_insertion_point(builder_scope:sonarqube.ws.commons.Rule) } static { @@ -3317,11 +3317,11 @@ public final class Common { defaultInstance.initFields(); } - // @@protoc_insertion_point(class_scope:sonarqube.ws.Rule) + // @@protoc_insertion_point(class_scope:sonarqube.ws.commons.Rule) } public interface UserOrBuilder extends - // @@protoc_insertion_point(interface_extends:sonarqube.ws.User) + // @@protoc_insertion_point(interface_extends:sonarqube.ws.commons.User) com.google.protobuf.MessageOrBuilder { /** @@ -3376,11 +3376,11 @@ public final class Common { boolean getActive(); } /** - * Protobuf type {@code sonarqube.ws.User} + * Protobuf type {@code sonarqube.ws.commons.User} */ public static final class User extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:sonarqube.ws.User) + // @@protoc_insertion_point(message_implements:sonarqube.ws.commons.User) UserOrBuilder { // Use User.newBuilder() to construct. private User(com.google.protobuf.GeneratedMessage.Builder builder) { @@ -3464,12 +3464,12 @@ public final class Common { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_User_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_User_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_User_fieldAccessorTable + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_User_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Common.User.class, org.sonarqube.ws.Common.User.Builder.class); } @@ -3766,20 +3766,20 @@ public final class Common { return builder; } /** - * Protobuf type {@code sonarqube.ws.User} + * Protobuf type {@code sonarqube.ws.commons.User} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:sonarqube.ws.User) + // @@protoc_insertion_point(builder_implements:sonarqube.ws.commons.User) org.sonarqube.ws.Common.UserOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_User_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_User_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_User_fieldAccessorTable + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_User_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Common.User.class, org.sonarqube.ws.Common.User.Builder.class); } @@ -3821,7 +3821,7 @@ public final class Common { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.sonarqube.ws.Common.internal_static_sonarqube_ws_User_descriptor; + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_User_descriptor; } public org.sonarqube.ws.Common.User getDefaultInstanceForType() { @@ -4177,7 +4177,7 @@ public final class Common { return this; } - // @@protoc_insertion_point(builder_scope:sonarqube.ws.User) + // @@protoc_insertion_point(builder_scope:sonarqube.ws.commons.User) } static { @@ -4185,34 +4185,806 @@ public final class Common { defaultInstance.initFields(); } - // @@protoc_insertion_point(class_scope:sonarqube.ws.User) + // @@protoc_insertion_point(class_scope:sonarqube.ws.commons.User) + } + + public interface TextRangeOrBuilder extends + // @@protoc_insertion_point(interface_extends:sonarqube.ws.commons.TextRange) + com.google.protobuf.MessageOrBuilder { + + /** + * optional int32 start_line = 1; + * + *
+     * Start line. Should never be absent
+     * 
+ */ + boolean hasStartLine(); + /** + * optional int32 start_line = 1; + * + *
+     * Start line. Should never be absent
+     * 
+ */ + int getStartLine(); + + /** + * optional int32 end_line = 2; + * + *
+     * End line (inclusive). Absent means it is same as start line
+     * 
+ */ + boolean hasEndLine(); + /** + * optional int32 end_line = 2; + * + *
+     * End line (inclusive). Absent means it is same as start line
+     * 
+ */ + int getEndLine(); + + /** + * optional int32 start_offset = 3; + * + *
+     * If absent it means range starts at the first offset of start line
+     * 
+ */ + boolean hasStartOffset(); + /** + * optional int32 start_offset = 3; + * + *
+     * If absent it means range starts at the first offset of start line
+     * 
+ */ + int getStartOffset(); + + /** + * optional int32 end_offset = 4; + * + *
+     * If absent it means range ends at the last offset of end line
+     * 
+ */ + boolean hasEndOffset(); + /** + * optional int32 end_offset = 4; + * + *
+     * If absent it means range ends at the last offset of end line
+     * 
+ */ + int getEndOffset(); + } + /** + * Protobuf type {@code sonarqube.ws.commons.TextRange} + * + *
+   * Lines start at 1 and line offsets start at 0
+   * 
+ */ + public static final class TextRange extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:sonarqube.ws.commons.TextRange) + TextRangeOrBuilder { + // Use TextRange.newBuilder() to construct. + private TextRange(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private TextRange(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final TextRange defaultInstance; + public static TextRange getDefaultInstance() { + return defaultInstance; + } + + public TextRange getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TextRange( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + startLine_ = input.readInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + endLine_ = input.readInt32(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + startOffset_ = input.readInt32(); + break; + } + case 32: { + bitField0_ |= 0x00000008; + endOffset_ = input.readInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_TextRange_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_TextRange_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.sonarqube.ws.Common.TextRange.class, org.sonarqube.ws.Common.TextRange.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public TextRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextRange(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + public static final int START_LINE_FIELD_NUMBER = 1; + private int startLine_; + /** + * optional int32 start_line = 1; + * + *
+     * Start line. Should never be absent
+     * 
+ */ + public boolean hasStartLine() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 start_line = 1; + * + *
+     * Start line. Should never be absent
+     * 
+ */ + public int getStartLine() { + return startLine_; + } + + public static final int END_LINE_FIELD_NUMBER = 2; + private int endLine_; + /** + * optional int32 end_line = 2; + * + *
+     * End line (inclusive). Absent means it is same as start line
+     * 
+ */ + public boolean hasEndLine() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 end_line = 2; + * + *
+     * End line (inclusive). Absent means it is same as start line
+     * 
+ */ + public int getEndLine() { + return endLine_; + } + + public static final int START_OFFSET_FIELD_NUMBER = 3; + private int startOffset_; + /** + * optional int32 start_offset = 3; + * + *
+     * If absent it means range starts at the first offset of start line
+     * 
+ */ + public boolean hasStartOffset() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional int32 start_offset = 3; + * + *
+     * If absent it means range starts at the first offset of start line
+     * 
+ */ + public int getStartOffset() { + return startOffset_; + } + + public static final int END_OFFSET_FIELD_NUMBER = 4; + private int endOffset_; + /** + * optional int32 end_offset = 4; + * + *
+     * If absent it means range ends at the last offset of end line
+     * 
+ */ + public boolean hasEndOffset() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional int32 end_offset = 4; + * + *
+     * If absent it means range ends at the last offset of end line
+     * 
+ */ + public int getEndOffset() { + return endOffset_; + } + + private void initFields() { + startLine_ = 0; + endLine_ = 0; + startOffset_ = 0; + endOffset_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, startLine_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(2, endLine_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeInt32(3, startOffset_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeInt32(4, endOffset_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, startLine_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, endLine_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, startOffset_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, endOffset_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static org.sonarqube.ws.Common.TextRange parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.sonarqube.ws.Common.TextRange parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.sonarqube.ws.Common.TextRange parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.sonarqube.ws.Common.TextRange parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.sonarqube.ws.Common.TextRange parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.sonarqube.ws.Common.TextRange parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static org.sonarqube.ws.Common.TextRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static org.sonarqube.ws.Common.TextRange parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static org.sonarqube.ws.Common.TextRange parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.sonarqube.ws.Common.TextRange parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(org.sonarqube.ws.Common.TextRange prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code sonarqube.ws.commons.TextRange} + * + *
+     * Lines start at 1 and line offsets start at 0
+     * 
+ */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:sonarqube.ws.commons.TextRange) + org.sonarqube.ws.Common.TextRangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_TextRange_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_TextRange_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.sonarqube.ws.Common.TextRange.class, org.sonarqube.ws.Common.TextRange.Builder.class); + } + + // Construct using org.sonarqube.ws.Common.TextRange.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + startLine_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + endLine_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + startOffset_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + endOffset_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.sonarqube.ws.Common.internal_static_sonarqube_ws_commons_TextRange_descriptor; + } + + public org.sonarqube.ws.Common.TextRange getDefaultInstanceForType() { + return org.sonarqube.ws.Common.TextRange.getDefaultInstance(); + } + + public org.sonarqube.ws.Common.TextRange build() { + org.sonarqube.ws.Common.TextRange result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public org.sonarqube.ws.Common.TextRange buildPartial() { + org.sonarqube.ws.Common.TextRange result = new org.sonarqube.ws.Common.TextRange(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.startLine_ = startLine_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.endLine_ = endLine_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.startOffset_ = startOffset_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.endOffset_ = endOffset_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.sonarqube.ws.Common.TextRange) { + return mergeFrom((org.sonarqube.ws.Common.TextRange)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.sonarqube.ws.Common.TextRange other) { + if (other == org.sonarqube.ws.Common.TextRange.getDefaultInstance()) return this; + if (other.hasStartLine()) { + setStartLine(other.getStartLine()); + } + if (other.hasEndLine()) { + setEndLine(other.getEndLine()); + } + if (other.hasStartOffset()) { + setStartOffset(other.getStartOffset()); + } + if (other.hasEndOffset()) { + setEndOffset(other.getEndOffset()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.sonarqube.ws.Common.TextRange parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.sonarqube.ws.Common.TextRange) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private int startLine_ ; + /** + * optional int32 start_line = 1; + * + *
+       * Start line. Should never be absent
+       * 
+ */ + public boolean hasStartLine() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 start_line = 1; + * + *
+       * Start line. Should never be absent
+       * 
+ */ + public int getStartLine() { + return startLine_; + } + /** + * optional int32 start_line = 1; + * + *
+       * Start line. Should never be absent
+       * 
+ */ + public Builder setStartLine(int value) { + bitField0_ |= 0x00000001; + startLine_ = value; + onChanged(); + return this; + } + /** + * optional int32 start_line = 1; + * + *
+       * Start line. Should never be absent
+       * 
+ */ + public Builder clearStartLine() { + bitField0_ = (bitField0_ & ~0x00000001); + startLine_ = 0; + onChanged(); + return this; + } + + private int endLine_ ; + /** + * optional int32 end_line = 2; + * + *
+       * End line (inclusive). Absent means it is same as start line
+       * 
+ */ + public boolean hasEndLine() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 end_line = 2; + * + *
+       * End line (inclusive). Absent means it is same as start line
+       * 
+ */ + public int getEndLine() { + return endLine_; + } + /** + * optional int32 end_line = 2; + * + *
+       * End line (inclusive). Absent means it is same as start line
+       * 
+ */ + public Builder setEndLine(int value) { + bitField0_ |= 0x00000002; + endLine_ = value; + onChanged(); + return this; + } + /** + * optional int32 end_line = 2; + * + *
+       * End line (inclusive). Absent means it is same as start line
+       * 
+ */ + public Builder clearEndLine() { + bitField0_ = (bitField0_ & ~0x00000002); + endLine_ = 0; + onChanged(); + return this; + } + + private int startOffset_ ; + /** + * optional int32 start_offset = 3; + * + *
+       * If absent it means range starts at the first offset of start line
+       * 
+ */ + public boolean hasStartOffset() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional int32 start_offset = 3; + * + *
+       * If absent it means range starts at the first offset of start line
+       * 
+ */ + public int getStartOffset() { + return startOffset_; + } + /** + * optional int32 start_offset = 3; + * + *
+       * If absent it means range starts at the first offset of start line
+       * 
+ */ + public Builder setStartOffset(int value) { + bitField0_ |= 0x00000004; + startOffset_ = value; + onChanged(); + return this; + } + /** + * optional int32 start_offset = 3; + * + *
+       * If absent it means range starts at the first offset of start line
+       * 
+ */ + public Builder clearStartOffset() { + bitField0_ = (bitField0_ & ~0x00000004); + startOffset_ = 0; + onChanged(); + return this; + } + + private int endOffset_ ; + /** + * optional int32 end_offset = 4; + * + *
+       * If absent it means range ends at the last offset of end line
+       * 
+ */ + public boolean hasEndOffset() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional int32 end_offset = 4; + * + *
+       * If absent it means range ends at the last offset of end line
+       * 
+ */ + public int getEndOffset() { + return endOffset_; + } + /** + * optional int32 end_offset = 4; + * + *
+       * If absent it means range ends at the last offset of end line
+       * 
+ */ + public Builder setEndOffset(int value) { + bitField0_ |= 0x00000008; + endOffset_ = value; + onChanged(); + return this; + } + /** + * optional int32 end_offset = 4; + * + *
+       * If absent it means range ends at the last offset of end line
+       * 
+ */ + public Builder clearEndOffset() { + bitField0_ = (bitField0_ & ~0x00000008); + endOffset_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:sonarqube.ws.commons.TextRange) + } + + static { + defaultInstance = new TextRange(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:sonarqube.ws.commons.TextRange) } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_sonarqube_ws_Paging_descriptor; + internal_static_sonarqube_ws_commons_Paging_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_sonarqube_ws_Paging_fieldAccessorTable; + internal_static_sonarqube_ws_commons_Paging_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_sonarqube_ws_Facet_descriptor; + internal_static_sonarqube_ws_commons_Facet_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_sonarqube_ws_Facet_fieldAccessorTable; + internal_static_sonarqube_ws_commons_Facet_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_sonarqube_ws_FacetValue_descriptor; + internal_static_sonarqube_ws_commons_FacetValue_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_sonarqube_ws_FacetValue_fieldAccessorTable; + internal_static_sonarqube_ws_commons_FacetValue_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_sonarqube_ws_Rule_descriptor; + internal_static_sonarqube_ws_commons_Rule_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_sonarqube_ws_Rule_fieldAccessorTable; + internal_static_sonarqube_ws_commons_Rule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_sonarqube_ws_User_descriptor; + internal_static_sonarqube_ws_commons_User_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_sonarqube_ws_User_fieldAccessorTable; + internal_static_sonarqube_ws_commons_User_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_sonarqube_ws_commons_TextRange_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_sonarqube_ws_commons_TextRange_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -4222,21 +4994,23 @@ public final class Common { descriptor; static { java.lang.String[] descriptorData = { - "\n\017ws-common.proto\022\014sonarqube.ws\"K\n\006Pagin" + - "g\022\021\n\tpageIndex\030\001 \001(\005\022\020\n\010pageSize\030\002 \001(\005\022\r" + - "\n\005total\030\003 \001(\005\022\r\n\005pages\030\004 \001(\005\"C\n\005Facet\022\020\n" + - "\010property\030\001 \001(\t\022(\n\006values\030\002 \003(\0132\030.sonarq" + - "ube.ws.FacetValue\"(\n\nFacetValue\022\013\n\003val\030\001" + - " \001(\t\022\r\n\005count\030\002 \001(\003\"k\n\004Rule\022\013\n\003key\030\001 \001(\t" + - "\022\014\n\004name\030\002 \001(\t\022\014\n\004lang\030\003 \001(\t\022(\n\006status\030\004" + - " \001(\0162\030.sonarqube.ws.RuleStatus\022\020\n\010langNa" + - "me\030\005 \001(\t\"B\n\004User\022\r\n\005login\030\001 \001(\t\022\014\n\004name\030" + - "\002 \001(\t\022\r\n\005email\030\003 \001(\t\022\016\n\006active\030\004 \001(\010*E\n\010", - "Severity\022\010\n\004INFO\020\000\022\t\n\005MINOR\020\001\022\t\n\005MAJOR\020\002" + - "\022\014\n\010CRITICAL\020\003\022\013\n\007BLOCKER\020\004*>\n\nRuleStatu" + - "s\022\010\n\004BETA\020\000\022\016\n\nDEPRECATED\020\001\022\t\n\005READY\020\002\022\013" + - "\n\007REMOVED\020\003B\034\n\020org.sonarqube.wsB\006CommonH" + - "\001" + "\n\020ws-commons.proto\022\024sonarqube.ws.commons" + + "\"K\n\006Paging\022\021\n\tpageIndex\030\001 \001(\005\022\020\n\010pageSiz" + + "e\030\002 \001(\005\022\r\n\005total\030\003 \001(\005\022\r\n\005pages\030\004 \001(\005\"K\n" + + "\005Facet\022\020\n\010property\030\001 \001(\t\0220\n\006values\030\002 \003(\013" + + "2 .sonarqube.ws.commons.FacetValue\"(\n\nFa" + + "cetValue\022\013\n\003val\030\001 \001(\t\022\r\n\005count\030\002 \001(\003\"s\n\004" + + "Rule\022\013\n\003key\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\014\n\004lang\030" + + "\003 \001(\t\0220\n\006status\030\004 \001(\0162 .sonarqube.ws.com" + + "mons.RuleStatus\022\020\n\010langName\030\005 \001(\t\"B\n\004Use" + + "r\022\r\n\005login\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\r\n\005email\030", + "\003 \001(\t\022\016\n\006active\030\004 \001(\010\"[\n\tTextRange\022\022\n\nst" + + "art_line\030\001 \001(\005\022\020\n\010end_line\030\002 \001(\005\022\024\n\014star" + + "t_offset\030\003 \001(\005\022\022\n\nend_offset\030\004 \001(\005*E\n\010Se" + + "verity\022\010\n\004INFO\020\000\022\t\n\005MINOR\020\001\022\t\n\005MAJOR\020\002\022\014" + + "\n\010CRITICAL\020\003\022\013\n\007BLOCKER\020\004*>\n\nRuleStatus\022" + + "\010\n\004BETA\020\000\022\016\n\nDEPRECATED\020\001\022\t\n\005READY\020\002\022\013\n\007" + + "REMOVED\020\003B\034\n\020org.sonarqube.wsB\006CommonH\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -4250,36 +5024,42 @@ public final class Common { .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); - internal_static_sonarqube_ws_Paging_descriptor = + internal_static_sonarqube_ws_commons_Paging_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_sonarqube_ws_Paging_fieldAccessorTable = new + internal_static_sonarqube_ws_commons_Paging_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_sonarqube_ws_Paging_descriptor, + internal_static_sonarqube_ws_commons_Paging_descriptor, new java.lang.String[] { "PageIndex", "PageSize", "Total", "Pages", }); - internal_static_sonarqube_ws_Facet_descriptor = + internal_static_sonarqube_ws_commons_Facet_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_sonarqube_ws_Facet_fieldAccessorTable = new + internal_static_sonarqube_ws_commons_Facet_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_sonarqube_ws_Facet_descriptor, + internal_static_sonarqube_ws_commons_Facet_descriptor, new java.lang.String[] { "Property", "Values", }); - internal_static_sonarqube_ws_FacetValue_descriptor = + internal_static_sonarqube_ws_commons_FacetValue_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_sonarqube_ws_FacetValue_fieldAccessorTable = new + internal_static_sonarqube_ws_commons_FacetValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_sonarqube_ws_FacetValue_descriptor, + internal_static_sonarqube_ws_commons_FacetValue_descriptor, new java.lang.String[] { "Val", "Count", }); - internal_static_sonarqube_ws_Rule_descriptor = + internal_static_sonarqube_ws_commons_Rule_descriptor = getDescriptor().getMessageTypes().get(3); - internal_static_sonarqube_ws_Rule_fieldAccessorTable = new + internal_static_sonarqube_ws_commons_Rule_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_sonarqube_ws_Rule_descriptor, + internal_static_sonarqube_ws_commons_Rule_descriptor, new java.lang.String[] { "Key", "Name", "Lang", "Status", "LangName", }); - internal_static_sonarqube_ws_User_descriptor = + internal_static_sonarqube_ws_commons_User_descriptor = getDescriptor().getMessageTypes().get(4); - internal_static_sonarqube_ws_User_fieldAccessorTable = new + internal_static_sonarqube_ws_commons_User_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_sonarqube_ws_User_descriptor, + internal_static_sonarqube_ws_commons_User_descriptor, new java.lang.String[] { "Login", "Name", "Email", "Active", }); + internal_static_sonarqube_ws_commons_TextRange_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_sonarqube_ws_commons_TextRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_sonarqube_ws_commons_TextRange_descriptor, + new java.lang.String[] { "StartLine", "EndLine", "StartOffset", "EndOffset", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/sonar-ws/src/main/gen-java/org/sonarqube/ws/Issues.java b/sonar-ws/src/main/gen-java/org/sonarqube/ws/Issues.java index 6f3e55cb6e2..5ed87caef8c 100644 --- a/sonar-ws/src/main/gen-java/org/sonarqube/ws/Issues.java +++ b/sonar-ws/src/main/gen-java/org/sonarqube/ws/Issues.java @@ -40,15 +40,15 @@ public final class Issues { int getPs(); /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ boolean hasPaging(); /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ org.sonarqube.ws.Common.Paging getPaging(); /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder(); @@ -127,25 +127,25 @@ public final class Issues { boolean getRulesPresentIfEmpty(); /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ java.util.List getRulesList(); /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ org.sonarqube.ws.Common.Rule getRules(int index); /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ int getRulesCount(); /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ java.util.List getRulesOrBuilderList(); /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ org.sonarqube.ws.Common.RuleOrBuilder getRulesOrBuilder( int index); @@ -160,25 +160,25 @@ public final class Issues { boolean getUsersPresentIfEmpty(); /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ java.util.List getUsersList(); /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ org.sonarqube.ws.Common.User getUsers(int index); /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ int getUsersCount(); /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ java.util.List getUsersOrBuilderList(); /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ org.sonarqube.ws.Common.UserOrBuilder getUsersOrBuilder( int index); @@ -259,25 +259,25 @@ public final class Issues { boolean getFacetsPresentIfEmpty(); /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ java.util.List getFacetsList(); /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ org.sonarqube.ws.Common.Facet getFacets(int index); /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ int getFacetsCount(); /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ java.util.List getFacetsOrBuilderList(); /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ org.sonarqube.ws.Common.FacetOrBuilder getFacetsOrBuilder( int index); @@ -561,19 +561,19 @@ public final class Issues { public static final int PAGING_FIELD_NUMBER = 4; private org.sonarqube.ws.Common.Paging paging_; /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ public boolean hasPaging() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ public org.sonarqube.ws.Common.Paging getPaging() { return paging_; } /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ public org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder() { return paging_; @@ -690,32 +690,32 @@ public final class Issues { public static final int RULES_FIELD_NUMBER = 9; private java.util.List rules_; /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public java.util.List getRulesList() { return rules_; } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public java.util.List getRulesOrBuilderList() { return rules_; } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public int getRulesCount() { return rules_.size(); } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public org.sonarqube.ws.Common.Rule getRules(int index) { return rules_.get(index); } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public org.sonarqube.ws.Common.RuleOrBuilder getRulesOrBuilder( int index) { @@ -740,32 +740,32 @@ public final class Issues { public static final int USERS_FIELD_NUMBER = 11; private java.util.List users_; /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public java.util.List getUsersList() { return users_; } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public java.util.List getUsersOrBuilderList() { return users_; } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public int getUsersCount() { return users_.size(); } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public org.sonarqube.ws.Common.User getUsers(int index) { return users_.get(index); } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public org.sonarqube.ws.Common.UserOrBuilder getUsersOrBuilder( int index) { @@ -890,32 +890,32 @@ public final class Issues { public static final int FACETS_FIELD_NUMBER = 17; private java.util.List facets_; /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public java.util.List getFacetsList() { return facets_; } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public java.util.List getFacetsOrBuilderList() { return facets_; } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public int getFacetsCount() { return facets_.size(); } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public org.sonarqube.ws.Common.Facet getFacets(int index) { return facets_.get(index); } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public org.sonarqube.ws.Common.FacetOrBuilder getFacetsOrBuilder( int index) { @@ -1767,13 +1767,13 @@ public final class Issues { private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder> pagingBuilder_; /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ public boolean hasPaging() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ public org.sonarqube.ws.Common.Paging getPaging() { if (pagingBuilder_ == null) { @@ -1783,7 +1783,7 @@ public final class Issues { } } /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ public Builder setPaging(org.sonarqube.ws.Common.Paging value) { if (pagingBuilder_ == null) { @@ -1799,7 +1799,7 @@ public final class Issues { return this; } /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ public Builder setPaging( org.sonarqube.ws.Common.Paging.Builder builderForValue) { @@ -1813,7 +1813,7 @@ public final class Issues { return this; } /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ public Builder mergePaging(org.sonarqube.ws.Common.Paging value) { if (pagingBuilder_ == null) { @@ -1832,7 +1832,7 @@ public final class Issues { return this; } /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ public Builder clearPaging() { if (pagingBuilder_ == null) { @@ -1845,7 +1845,7 @@ public final class Issues { return this; } /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ public org.sonarqube.ws.Common.Paging.Builder getPagingBuilder() { bitField0_ |= 0x00000008; @@ -1853,7 +1853,7 @@ public final class Issues { return getPagingFieldBuilder().getBuilder(); } /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ public org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder() { if (pagingBuilder_ != null) { @@ -1863,7 +1863,7 @@ public final class Issues { } } /** - * optional .sonarqube.ws.Paging paging = 4; + * optional .sonarqube.ws.commons.Paging paging = 4; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder> @@ -2452,7 +2452,7 @@ public final class Issues { org.sonarqube.ws.Common.Rule, org.sonarqube.ws.Common.Rule.Builder, org.sonarqube.ws.Common.RuleOrBuilder> rulesBuilder_; /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { @@ -2462,7 +2462,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public int getRulesCount() { if (rulesBuilder_ == null) { @@ -2472,7 +2472,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public org.sonarqube.ws.Common.Rule getRules(int index) { if (rulesBuilder_ == null) { @@ -2482,7 +2482,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public Builder setRules( int index, org.sonarqube.ws.Common.Rule value) { @@ -2499,7 +2499,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public Builder setRules( int index, org.sonarqube.ws.Common.Rule.Builder builderForValue) { @@ -2513,7 +2513,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public Builder addRules(org.sonarqube.ws.Common.Rule value) { if (rulesBuilder_ == null) { @@ -2529,7 +2529,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public Builder addRules( int index, org.sonarqube.ws.Common.Rule value) { @@ -2546,7 +2546,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public Builder addRules( org.sonarqube.ws.Common.Rule.Builder builderForValue) { @@ -2560,7 +2560,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public Builder addRules( int index, org.sonarqube.ws.Common.Rule.Builder builderForValue) { @@ -2574,7 +2574,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public Builder addAllRules( java.lang.Iterable values) { @@ -2589,7 +2589,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public Builder clearRules() { if (rulesBuilder_ == null) { @@ -2602,7 +2602,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { @@ -2615,14 +2615,14 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public org.sonarqube.ws.Common.Rule.Builder getRulesBuilder( int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public org.sonarqube.ws.Common.RuleOrBuilder getRulesOrBuilder( int index) { @@ -2632,7 +2632,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public java.util.List getRulesOrBuilderList() { @@ -2643,14 +2643,14 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public org.sonarqube.ws.Common.Rule.Builder addRulesBuilder() { return getRulesFieldBuilder().addBuilder( org.sonarqube.ws.Common.Rule.getDefaultInstance()); } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public org.sonarqube.ws.Common.Rule.Builder addRulesBuilder( int index) { @@ -2658,7 +2658,7 @@ public final class Issues { index, org.sonarqube.ws.Common.Rule.getDefaultInstance()); } /** - * repeated .sonarqube.ws.Rule rules = 9; + * repeated .sonarqube.ws.commons.Rule rules = 9; */ public java.util.List getRulesBuilderList() { @@ -2724,7 +2724,7 @@ public final class Issues { org.sonarqube.ws.Common.User, org.sonarqube.ws.Common.User.Builder, org.sonarqube.ws.Common.UserOrBuilder> usersBuilder_; /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public java.util.List getUsersList() { if (usersBuilder_ == null) { @@ -2734,7 +2734,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public int getUsersCount() { if (usersBuilder_ == null) { @@ -2744,7 +2744,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public org.sonarqube.ws.Common.User getUsers(int index) { if (usersBuilder_ == null) { @@ -2754,7 +2754,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public Builder setUsers( int index, org.sonarqube.ws.Common.User value) { @@ -2771,7 +2771,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public Builder setUsers( int index, org.sonarqube.ws.Common.User.Builder builderForValue) { @@ -2785,7 +2785,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public Builder addUsers(org.sonarqube.ws.Common.User value) { if (usersBuilder_ == null) { @@ -2801,7 +2801,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public Builder addUsers( int index, org.sonarqube.ws.Common.User value) { @@ -2818,7 +2818,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public Builder addUsers( org.sonarqube.ws.Common.User.Builder builderForValue) { @@ -2832,7 +2832,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public Builder addUsers( int index, org.sonarqube.ws.Common.User.Builder builderForValue) { @@ -2846,7 +2846,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public Builder addAllUsers( java.lang.Iterable values) { @@ -2861,7 +2861,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public Builder clearUsers() { if (usersBuilder_ == null) { @@ -2874,7 +2874,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public Builder removeUsers(int index) { if (usersBuilder_ == null) { @@ -2887,14 +2887,14 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public org.sonarqube.ws.Common.User.Builder getUsersBuilder( int index) { return getUsersFieldBuilder().getBuilder(index); } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public org.sonarqube.ws.Common.UserOrBuilder getUsersOrBuilder( int index) { @@ -2904,7 +2904,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public java.util.List getUsersOrBuilderList() { @@ -2915,14 +2915,14 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public org.sonarqube.ws.Common.User.Builder addUsersBuilder() { return getUsersFieldBuilder().addBuilder( org.sonarqube.ws.Common.User.getDefaultInstance()); } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public org.sonarqube.ws.Common.User.Builder addUsersBuilder( int index) { @@ -2930,7 +2930,7 @@ public final class Issues { index, org.sonarqube.ws.Common.User.getDefaultInstance()); } /** - * repeated .sonarqube.ws.User users = 11; + * repeated .sonarqube.ws.commons.User users = 11; */ public java.util.List getUsersBuilderList() { @@ -3540,7 +3540,7 @@ public final class Issues { org.sonarqube.ws.Common.Facet, org.sonarqube.ws.Common.Facet.Builder, org.sonarqube.ws.Common.FacetOrBuilder> facetsBuilder_; /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public java.util.List getFacetsList() { if (facetsBuilder_ == null) { @@ -3550,7 +3550,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public int getFacetsCount() { if (facetsBuilder_ == null) { @@ -3560,7 +3560,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public org.sonarqube.ws.Common.Facet getFacets(int index) { if (facetsBuilder_ == null) { @@ -3570,7 +3570,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public Builder setFacets( int index, org.sonarqube.ws.Common.Facet value) { @@ -3587,7 +3587,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public Builder setFacets( int index, org.sonarqube.ws.Common.Facet.Builder builderForValue) { @@ -3601,7 +3601,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public Builder addFacets(org.sonarqube.ws.Common.Facet value) { if (facetsBuilder_ == null) { @@ -3617,7 +3617,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public Builder addFacets( int index, org.sonarqube.ws.Common.Facet value) { @@ -3634,7 +3634,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public Builder addFacets( org.sonarqube.ws.Common.Facet.Builder builderForValue) { @@ -3648,7 +3648,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public Builder addFacets( int index, org.sonarqube.ws.Common.Facet.Builder builderForValue) { @@ -3662,7 +3662,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public Builder addAllFacets( java.lang.Iterable values) { @@ -3677,7 +3677,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public Builder clearFacets() { if (facetsBuilder_ == null) { @@ -3690,7 +3690,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public Builder removeFacets(int index) { if (facetsBuilder_ == null) { @@ -3703,14 +3703,14 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public org.sonarqube.ws.Common.Facet.Builder getFacetsBuilder( int index) { return getFacetsFieldBuilder().getBuilder(index); } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public org.sonarqube.ws.Common.FacetOrBuilder getFacetsOrBuilder( int index) { @@ -3720,7 +3720,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public java.util.List getFacetsOrBuilderList() { @@ -3731,14 +3731,14 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public org.sonarqube.ws.Common.Facet.Builder addFacetsBuilder() { return getFacetsFieldBuilder().addBuilder( org.sonarqube.ws.Common.Facet.getDefaultInstance()); } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public org.sonarqube.ws.Common.Facet.Builder addFacetsBuilder( int index) { @@ -3746,7 +3746,7 @@ public final class Issues { index, org.sonarqube.ws.Common.Facet.getDefaultInstance()); } /** - * repeated .sonarqube.ws.Facet facets = 17; + * repeated .sonarqube.ws.commons.Facet facets = 17; */ public java.util.List getFacetsBuilderList() { @@ -3820,49 +3820,49 @@ public final class Issues { int index); /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ java.util.List getRulesList(); /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ org.sonarqube.ws.Common.Rule getRules(int index); /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ int getRulesCount(); /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ java.util.List getRulesOrBuilderList(); /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ org.sonarqube.ws.Common.RuleOrBuilder getRulesOrBuilder( int index); /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ java.util.List getUsersList(); /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ org.sonarqube.ws.Common.User getUsers(int index); /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ int getUsersCount(); /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ java.util.List getUsersOrBuilderList(); /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ org.sonarqube.ws.Common.UserOrBuilder getUsersOrBuilder( int index); @@ -4103,32 +4103,32 @@ public final class Issues { public static final int RULES_FIELD_NUMBER = 3; private java.util.List rules_; /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public java.util.List getRulesList() { return rules_; } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public java.util.List getRulesOrBuilderList() { return rules_; } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public int getRulesCount() { return rules_.size(); } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.Rule getRules(int index) { return rules_.get(index); } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.RuleOrBuilder getRulesOrBuilder( int index) { @@ -4138,32 +4138,32 @@ public final class Issues { public static final int USERS_FIELD_NUMBER = 4; private java.util.List users_; /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public java.util.List getUsersList() { return users_; } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public java.util.List getUsersOrBuilderList() { return users_; } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public int getUsersCount() { return users_.size(); } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.User getUsers(int index) { return users_.get(index); } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.UserOrBuilder getUsersOrBuilder( int index) { @@ -5016,7 +5016,7 @@ public final class Issues { org.sonarqube.ws.Common.Rule, org.sonarqube.ws.Common.Rule.Builder, org.sonarqube.ws.Common.RuleOrBuilder> rulesBuilder_; /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { @@ -5026,7 +5026,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public int getRulesCount() { if (rulesBuilder_ == null) { @@ -5036,7 +5036,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.Rule getRules(int index) { if (rulesBuilder_ == null) { @@ -5046,7 +5046,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder setRules( int index, org.sonarqube.ws.Common.Rule value) { @@ -5063,7 +5063,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder setRules( int index, org.sonarqube.ws.Common.Rule.Builder builderForValue) { @@ -5077,7 +5077,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder addRules(org.sonarqube.ws.Common.Rule value) { if (rulesBuilder_ == null) { @@ -5093,7 +5093,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder addRules( int index, org.sonarqube.ws.Common.Rule value) { @@ -5110,7 +5110,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder addRules( org.sonarqube.ws.Common.Rule.Builder builderForValue) { @@ -5124,7 +5124,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder addRules( int index, org.sonarqube.ws.Common.Rule.Builder builderForValue) { @@ -5138,7 +5138,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder addAllRules( java.lang.Iterable values) { @@ -5153,7 +5153,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder clearRules() { if (rulesBuilder_ == null) { @@ -5166,7 +5166,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { @@ -5179,14 +5179,14 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.Rule.Builder getRulesBuilder( int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.RuleOrBuilder getRulesOrBuilder( int index) { @@ -5196,7 +5196,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public java.util.List getRulesOrBuilderList() { @@ -5207,14 +5207,14 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.Rule.Builder addRulesBuilder() { return getRulesFieldBuilder().addBuilder( org.sonarqube.ws.Common.Rule.getDefaultInstance()); } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.Rule.Builder addRulesBuilder( int index) { @@ -5222,7 +5222,7 @@ public final class Issues { index, org.sonarqube.ws.Common.Rule.getDefaultInstance()); } /** - * repeated .sonarqube.ws.Rule rules = 3; + * repeated .sonarqube.ws.commons.Rule rules = 3; */ public java.util.List getRulesBuilderList() { @@ -5256,7 +5256,7 @@ public final class Issues { org.sonarqube.ws.Common.User, org.sonarqube.ws.Common.User.Builder, org.sonarqube.ws.Common.UserOrBuilder> usersBuilder_; /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public java.util.List getUsersList() { if (usersBuilder_ == null) { @@ -5266,7 +5266,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public int getUsersCount() { if (usersBuilder_ == null) { @@ -5276,7 +5276,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.User getUsers(int index) { if (usersBuilder_ == null) { @@ -5286,7 +5286,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public Builder setUsers( int index, org.sonarqube.ws.Common.User value) { @@ -5303,7 +5303,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public Builder setUsers( int index, org.sonarqube.ws.Common.User.Builder builderForValue) { @@ -5317,7 +5317,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public Builder addUsers(org.sonarqube.ws.Common.User value) { if (usersBuilder_ == null) { @@ -5333,7 +5333,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public Builder addUsers( int index, org.sonarqube.ws.Common.User value) { @@ -5350,7 +5350,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public Builder addUsers( org.sonarqube.ws.Common.User.Builder builderForValue) { @@ -5364,7 +5364,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public Builder addUsers( int index, org.sonarqube.ws.Common.User.Builder builderForValue) { @@ -5378,7 +5378,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public Builder addAllUsers( java.lang.Iterable values) { @@ -5393,7 +5393,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public Builder clearUsers() { if (usersBuilder_ == null) { @@ -5406,7 +5406,7 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public Builder removeUsers(int index) { if (usersBuilder_ == null) { @@ -5419,14 +5419,14 @@ public final class Issues { return this; } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.User.Builder getUsersBuilder( int index) { return getUsersFieldBuilder().getBuilder(index); } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.UserOrBuilder getUsersOrBuilder( int index) { @@ -5436,7 +5436,7 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public java.util.List getUsersOrBuilderList() { @@ -5447,14 +5447,14 @@ public final class Issues { } } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.User.Builder addUsersBuilder() { return getUsersFieldBuilder().addBuilder( org.sonarqube.ws.Common.User.getDefaultInstance()); } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.User.Builder addUsersBuilder( int index) { @@ -5462,7 +5462,7 @@ public final class Issues { index, org.sonarqube.ws.Common.User.getDefaultInstance()); } /** - * repeated .sonarqube.ws.User users = 4; + * repeated .sonarqube.ws.commons.User users = 4; */ public java.util.List getUsersBuilderList() { @@ -5767,11 +5767,11 @@ public final class Issues { getRuleBytes(); /** - * optional .sonarqube.ws.Severity severity = 3; + * optional .sonarqube.ws.commons.Severity severity = 3; */ boolean hasSeverity(); /** - * optional .sonarqube.ws.Severity severity = 3; + * optional .sonarqube.ws.commons.Severity severity = 3; */ org.sonarqube.ws.Common.Severity getSeverity(); @@ -5836,91 +5836,152 @@ public final class Issues { int getLine(); /** - * optional string resolution = 9; + * optional .sonarqube.ws.issues.Location location = 9; + */ + boolean hasLocation(); + /** + * optional .sonarqube.ws.issues.Location location = 9; + */ + org.sonarqube.ws.Issues.Location getLocation(); + /** + * optional .sonarqube.ws.issues.Location location = 9; + */ + org.sonarqube.ws.Issues.LocationOrBuilder getLocationOrBuilder(); + + /** + * repeated .sonarqube.ws.issues.Location secondaryLocations = 10; + */ + java.util.List + getSecondaryLocationsList(); + /** + * repeated .sonarqube.ws.issues.Location secondaryLocations = 10; + */ + org.sonarqube.ws.Issues.Location getSecondaryLocations(int index); + /** + * repeated .sonarqube.ws.issues.Location secondaryLocations = 10; + */ + int getSecondaryLocationsCount(); + /** + * repeated .sonarqube.ws.issues.Location secondaryLocations = 10; + */ + java.util.List + getSecondaryLocationsOrBuilderList(); + /** + * repeated .sonarqube.ws.issues.Location secondaryLocations = 10; + */ + org.sonarqube.ws.Issues.LocationOrBuilder getSecondaryLocationsOrBuilder( + int index); + + /** + * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11; + */ + java.util.List + getExecutionFlowsList(); + /** + * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11; + */ + org.sonarqube.ws.Issues.ExecutionFlow getExecutionFlows(int index); + /** + * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11; + */ + int getExecutionFlowsCount(); + /** + * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11; + */ + java.util.List + getExecutionFlowsOrBuilderList(); + /** + * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11; + */ + org.sonarqube.ws.Issues.ExecutionFlowOrBuilder getExecutionFlowsOrBuilder( + int index); + + /** + * optional string resolution = 12; */ boolean hasResolution(); /** - * optional string resolution = 9; + * optional string resolution = 12; */ java.lang.String getResolution(); /** - * optional string resolution = 9; + * optional string resolution = 12; */ com.google.protobuf.ByteString getResolutionBytes(); /** - * optional string status = 10; + * optional string status = 13; */ boolean hasStatus(); /** - * optional string status = 10; + * optional string status = 13; */ java.lang.String getStatus(); /** - * optional string status = 10; + * optional string status = 13; */ com.google.protobuf.ByteString getStatusBytes(); /** - * optional string message = 11; + * optional string message = 14; */ boolean hasMessage(); /** - * optional string message = 11; + * optional string message = 14; */ java.lang.String getMessage(); /** - * optional string message = 11; + * optional string message = 14; */ com.google.protobuf.ByteString getMessageBytes(); /** - * optional string debt = 12; + * optional string debt = 15; */ boolean hasDebt(); /** - * optional string debt = 12; + * optional string debt = 15; */ java.lang.String getDebt(); /** - * optional string debt = 12; + * optional string debt = 15; */ com.google.protobuf.ByteString getDebtBytes(); /** - * optional string assignee = 13; + * optional string assignee = 16; */ boolean hasAssignee(); /** - * optional string assignee = 13; + * optional string assignee = 16; */ java.lang.String getAssignee(); /** - * optional string assignee = 13; + * optional string assignee = 16; */ com.google.protobuf.ByteString getAssigneeBytes(); /** - * optional string reporter = 14; + * optional string reporter = 17; */ boolean hasReporter(); /** - * optional string reporter = 14; + * optional string reporter = 17; */ java.lang.String getReporter(); /** - * optional string reporter = 14; + * optional string reporter = 17; */ com.google.protobuf.ByteString getReporterBytes(); /** - * optional string author = 15; + * optional string author = 18; * *
      * SCM login of the committer who introduced the issue
@@ -5928,7 +5989,7 @@ public final class Issues {
      */
     boolean hasAuthor();
     /**
-     * optional string author = 15;
+     * optional string author = 18;
      *
      * 
      * SCM login of the committer who introduced the issue
@@ -5936,7 +5997,7 @@ public final class Issues {
      */
     java.lang.String getAuthor();
     /**
-     * optional string author = 15;
+     * optional string author = 18;
      *
      * 
      * SCM login of the committer who introduced the issue
@@ -5946,68 +6007,49 @@ public final class Issues {
         getAuthorBytes();
 
     /**
-     * optional string actionPlan = 16;
+     * optional string actionPlan = 19;
      */
     boolean hasActionPlan();
     /**
-     * optional string actionPlan = 16;
+     * optional string actionPlan = 19;
      */
     java.lang.String getActionPlan();
     /**
-     * optional string actionPlan = 16;
+     * optional string actionPlan = 19;
      */
     com.google.protobuf.ByteString
         getActionPlanBytes();
 
     /**
-     * optional string actionPlanName = 17;
-     */
-    boolean hasActionPlanName();
-    /**
-     * optional string actionPlanName = 17;
-     */
-    java.lang.String getActionPlanName();
-    /**
-     * optional string actionPlanName = 17;
-     */
-    com.google.protobuf.ByteString
-        getActionPlanNameBytes();
-
-    /**
-     * optional string attr = 18;
-     */
-    boolean hasAttr();
-    /**
-     * optional string attr = 18;
+     * optional bool tagsPresentIfEmpty = 20;
      */
-    java.lang.String getAttr();
+    boolean hasTagsPresentIfEmpty();
     /**
-     * optional string attr = 18;
+     * optional bool tagsPresentIfEmpty = 20;
      */
-    com.google.protobuf.ByteString
-        getAttrBytes();
+    boolean getTagsPresentIfEmpty();
 
     /**
-     * repeated string tags = 19;
+     * repeated string tags = 21;
      */
     com.google.protobuf.ProtocolStringList
         getTagsList();
     /**
-     * repeated string tags = 19;
+     * repeated string tags = 21;
      */
     int getTagsCount();
     /**
-     * repeated string tags = 19;
+     * repeated string tags = 21;
      */
     java.lang.String getTags(int index);
     /**
-     * repeated string tags = 19;
+     * repeated string tags = 21;
      */
     com.google.protobuf.ByteString
         getTagsBytes(int index);
 
     /**
-     * optional bool transitionsPresentIfEmpty = 20;
+     * optional bool transitionsPresentIfEmpty = 22;
      *
      * 
      * the transitions allowed for the requesting user.
@@ -6015,7 +6057,7 @@ public final class Issues {
      */
     boolean hasTransitionsPresentIfEmpty();
     /**
-     * optional bool transitionsPresentIfEmpty = 20;
+     * optional bool transitionsPresentIfEmpty = 22;
      *
      * 
      * the transitions allowed for the requesting user.
@@ -6024,26 +6066,26 @@ public final class Issues {
     boolean getTransitionsPresentIfEmpty();
 
     /**
-     * repeated string transitions = 21;
+     * repeated string transitions = 23;
      */
     com.google.protobuf.ProtocolStringList
         getTransitionsList();
     /**
-     * repeated string transitions = 21;
+     * repeated string transitions = 23;
      */
     int getTransitionsCount();
     /**
-     * repeated string transitions = 21;
+     * repeated string transitions = 23;
      */
     java.lang.String getTransitions(int index);
     /**
-     * repeated string transitions = 21;
+     * repeated string transitions = 23;
      */
     com.google.protobuf.ByteString
         getTransitionsBytes(int index);
 
     /**
-     * optional bool actionsPresentIfEmpty = 22;
+     * optional bool actionsPresentIfEmpty = 24;
      *
      * 
      * the actions allowed for the requesting user.
@@ -6051,7 +6093,7 @@ public final class Issues {
      */
     boolean hasActionsPresentIfEmpty();
     /**
-     * optional bool actionsPresentIfEmpty = 22;
+     * optional bool actionsPresentIfEmpty = 24;
      *
      * 
      * the actions allowed for the requesting user.
@@ -6060,109 +6102,109 @@ public final class Issues {
     boolean getActionsPresentIfEmpty();
 
     /**
-     * repeated string actions = 23;
+     * repeated string actions = 25;
      */
     com.google.protobuf.ProtocolStringList
         getActionsList();
     /**
-     * repeated string actions = 23;
+     * repeated string actions = 25;
      */
     int getActionsCount();
     /**
-     * repeated string actions = 23;
+     * repeated string actions = 25;
      */
     java.lang.String getActions(int index);
     /**
-     * repeated string actions = 23;
+     * repeated string actions = 25;
      */
     com.google.protobuf.ByteString
         getActionsBytes(int index);
 
     /**
-     * optional bool commentsPresentIfEmpty = 24;
+     * optional bool commentsPresentIfEmpty = 26;
      */
     boolean hasCommentsPresentIfEmpty();
     /**
-     * optional bool commentsPresentIfEmpty = 24;
+     * optional bool commentsPresentIfEmpty = 26;
      */
     boolean getCommentsPresentIfEmpty();
 
     /**
-     * repeated .sonarqube.ws.issues.Comment comments = 25;
+     * repeated .sonarqube.ws.issues.Comment comments = 27;
      */
     java.util.List 
         getCommentsList();
     /**
-     * repeated .sonarqube.ws.issues.Comment comments = 25;
+     * repeated .sonarqube.ws.issues.Comment comments = 27;
      */
     org.sonarqube.ws.Issues.Comment getComments(int index);
     /**
-     * repeated .sonarqube.ws.issues.Comment comments = 25;
+     * repeated .sonarqube.ws.issues.Comment comments = 27;
      */
     int getCommentsCount();
     /**
-     * repeated .sonarqube.ws.issues.Comment comments = 25;
+     * repeated .sonarqube.ws.issues.Comment comments = 27;
      */
     java.util.List 
         getCommentsOrBuilderList();
     /**
-     * repeated .sonarqube.ws.issues.Comment comments = 25;
+     * repeated .sonarqube.ws.issues.Comment comments = 27;
      */
     org.sonarqube.ws.Issues.CommentOrBuilder getCommentsOrBuilder(
         int index);
 
     /**
-     * optional string creationDate = 26;
+     * optional string creationDate = 28;
      */
     boolean hasCreationDate();
     /**
-     * optional string creationDate = 26;
+     * optional string creationDate = 28;
      */
     java.lang.String getCreationDate();
     /**
-     * optional string creationDate = 26;
+     * optional string creationDate = 28;
      */
     com.google.protobuf.ByteString
         getCreationDateBytes();
 
     /**
-     * optional string updateDate = 27;
+     * optional string updateDate = 29;
      */
     boolean hasUpdateDate();
     /**
-     * optional string updateDate = 27;
+     * optional string updateDate = 29;
      */
     java.lang.String getUpdateDate();
     /**
-     * optional string updateDate = 27;
+     * optional string updateDate = 29;
      */
     com.google.protobuf.ByteString
         getUpdateDateBytes();
 
     /**
-     * optional string fUpdateAge = 28;
+     * optional string fUpdateAge = 30;
      */
     boolean hasFUpdateAge();
     /**
-     * optional string fUpdateAge = 28;
+     * optional string fUpdateAge = 30;
      */
     java.lang.String getFUpdateAge();
     /**
-     * optional string fUpdateAge = 28;
+     * optional string fUpdateAge = 30;
      */
     com.google.protobuf.ByteString
         getFUpdateAgeBytes();
 
     /**
-     * optional string closeDate = 29;
+     * optional string closeDate = 31;
      */
     boolean hasCloseDate();
     /**
-     * optional string closeDate = 29;
+     * optional string closeDate = 31;
      */
     java.lang.String getCloseDate();
     /**
-     * optional string closeDate = 29;
+     * optional string closeDate = 31;
      */
     com.google.protobuf.ByteString
         getCloseDateBytes();
@@ -6271,134 +6313,156 @@ public final class Issues {
               break;
             }
             case 74: {
-              com.google.protobuf.ByteString bs = input.readBytes();
+              org.sonarqube.ws.Issues.Location.Builder subBuilder = null;
+              if (((bitField0_ & 0x00000100) == 0x00000100)) {
+                subBuilder = location_.toBuilder();
+              }
+              location_ = input.readMessage(org.sonarqube.ws.Issues.Location.PARSER, extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(location_);
+                location_ = subBuilder.buildPartial();
+              }
               bitField0_ |= 0x00000100;
-              resolution_ = bs;
               break;
             }
             case 82: {
+              if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
+                secondaryLocations_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000200;
+              }
+              secondaryLocations_.add(input.readMessage(org.sonarqube.ws.Issues.Location.PARSER, extensionRegistry));
+              break;
+            }
+            case 90: {
+              if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
+                executionFlows_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000400;
+              }
+              executionFlows_.add(input.readMessage(org.sonarqube.ws.Issues.ExecutionFlow.PARSER, extensionRegistry));
+              break;
+            }
+            case 98: {
               com.google.protobuf.ByteString bs = input.readBytes();
               bitField0_ |= 0x00000200;
-              status_ = bs;
+              resolution_ = bs;
               break;
             }
-            case 90: {
+            case 106: {
               com.google.protobuf.ByteString bs = input.readBytes();
               bitField0_ |= 0x00000400;
-              message_ = bs;
+              status_ = bs;
               break;
             }
-            case 98: {
+            case 114: {
               com.google.protobuf.ByteString bs = input.readBytes();
               bitField0_ |= 0x00000800;
-              debt_ = bs;
+              message_ = bs;
               break;
             }
-            case 106: {
+            case 122: {
               com.google.protobuf.ByteString bs = input.readBytes();
               bitField0_ |= 0x00001000;
-              assignee_ = bs;
+              debt_ = bs;
               break;
             }
-            case 114: {
+            case 130: {
               com.google.protobuf.ByteString bs = input.readBytes();
               bitField0_ |= 0x00002000;
-              reporter_ = bs;
+              assignee_ = bs;
               break;
             }
-            case 122: {
+            case 138: {
               com.google.protobuf.ByteString bs = input.readBytes();
               bitField0_ |= 0x00004000;
-              author_ = bs;
+              reporter_ = bs;
               break;
             }
-            case 130: {
+            case 146: {
               com.google.protobuf.ByteString bs = input.readBytes();
               bitField0_ |= 0x00008000;
-              actionPlan_ = bs;
+              author_ = bs;
               break;
             }
-            case 138: {
+            case 154: {
               com.google.protobuf.ByteString bs = input.readBytes();
               bitField0_ |= 0x00010000;
-              actionPlanName_ = bs;
+              actionPlan_ = bs;
               break;
             }
-            case 146: {
-              com.google.protobuf.ByteString bs = input.readBytes();
+            case 160: {
               bitField0_ |= 0x00020000;
-              attr_ = bs;
+              tagsPresentIfEmpty_ = input.readBool();
               break;
             }
-            case 154: {
+            case 170: {
               com.google.protobuf.ByteString bs = input.readBytes();
-              if (!((mutable_bitField0_ & 0x00040000) == 0x00040000)) {
+              if (!((mutable_bitField0_ & 0x00100000) == 0x00100000)) {
                 tags_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00040000;
+                mutable_bitField0_ |= 0x00100000;
               }
               tags_.add(bs);
               break;
             }
-            case 160: {
+            case 176: {
               bitField0_ |= 0x00040000;
               transitionsPresentIfEmpty_ = input.readBool();
               break;
             }
-            case 170: {
+            case 186: {
               com.google.protobuf.ByteString bs = input.readBytes();
-              if (!((mutable_bitField0_ & 0x00100000) == 0x00100000)) {
+              if (!((mutable_bitField0_ & 0x00400000) == 0x00400000)) {
                 transitions_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00100000;
+                mutable_bitField0_ |= 0x00400000;
               }
               transitions_.add(bs);
               break;
             }
-            case 176: {
+            case 192: {
               bitField0_ |= 0x00080000;
               actionsPresentIfEmpty_ = input.readBool();
               break;
             }
-            case 186: {
+            case 202: {
               com.google.protobuf.ByteString bs = input.readBytes();
-              if (!((mutable_bitField0_ & 0x00400000) == 0x00400000)) {
+              if (!((mutable_bitField0_ & 0x01000000) == 0x01000000)) {
                 actions_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00400000;
+                mutable_bitField0_ |= 0x01000000;
               }
               actions_.add(bs);
               break;
             }
-            case 192: {
+            case 208: {
               bitField0_ |= 0x00100000;
               commentsPresentIfEmpty_ = input.readBool();
               break;
             }
-            case 202: {
-              if (!((mutable_bitField0_ & 0x01000000) == 0x01000000)) {
+            case 218: {
+              if (!((mutable_bitField0_ & 0x04000000) == 0x04000000)) {
                 comments_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x01000000;
+                mutable_bitField0_ |= 0x04000000;
               }
               comments_.add(input.readMessage(org.sonarqube.ws.Issues.Comment.PARSER, extensionRegistry));
               break;
             }
-            case 210: {
+            case 226: {
               com.google.protobuf.ByteString bs = input.readBytes();
               bitField0_ |= 0x00200000;
               creationDate_ = bs;
               break;
             }
-            case 218: {
+            case 234: {
               com.google.protobuf.ByteString bs = input.readBytes();
               bitField0_ |= 0x00400000;
               updateDate_ = bs;
               break;
             }
-            case 226: {
+            case 242: {
               com.google.protobuf.ByteString bs = input.readBytes();
               bitField0_ |= 0x00800000;
               fUpdateAge_ = bs;
               break;
             }
-            case 234: {
+            case 250: {
               com.google.protobuf.ByteString bs = input.readBytes();
               bitField0_ |= 0x01000000;
               closeDate_ = bs;
@@ -6412,16 +6476,22 @@ public final class Issues {
         throw new com.google.protobuf.InvalidProtocolBufferException(
             e.getMessage()).setUnfinishedMessage(this);
       } finally {
-        if (((mutable_bitField0_ & 0x00040000) == 0x00040000)) {
-          tags_ = tags_.getUnmodifiableView();
+        if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
+          secondaryLocations_ = java.util.Collections.unmodifiableList(secondaryLocations_);
+        }
+        if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
+          executionFlows_ = java.util.Collections.unmodifiableList(executionFlows_);
         }
         if (((mutable_bitField0_ & 0x00100000) == 0x00100000)) {
-          transitions_ = transitions_.getUnmodifiableView();
+          tags_ = tags_.getUnmodifiableView();
         }
         if (((mutable_bitField0_ & 0x00400000) == 0x00400000)) {
-          actions_ = actions_.getUnmodifiableView();
+          transitions_ = transitions_.getUnmodifiableView();
         }
         if (((mutable_bitField0_ & 0x01000000) == 0x01000000)) {
+          actions_ = actions_.getUnmodifiableView();
+        }
+        if (((mutable_bitField0_ & 0x04000000) == 0x04000000)) {
           comments_ = java.util.Collections.unmodifiableList(comments_);
         }
         this.unknownFields = unknownFields.build();
@@ -6543,13 +6613,13 @@ public final class Issues {
     public static final int SEVERITY_FIELD_NUMBER = 3;
     private org.sonarqube.ws.Common.Severity severity_;
     /**
-     * optional .sonarqube.ws.Severity severity = 3;
+     * optional .sonarqube.ws.commons.Severity severity = 3;
      */
     public boolean hasSeverity() {
       return ((bitField0_ & 0x00000004) == 0x00000004);
     }
     /**
-     * optional .sonarqube.ws.Severity severity = 3;
+     * optional .sonarqube.ws.commons.Severity severity = 3;
      */
     public org.sonarqube.ws.Common.Severity getSeverity() {
       return severity_;
@@ -6711,16 +6781,107 @@ public final class Issues {
       return line_;
     }
 
-    public static final int RESOLUTION_FIELD_NUMBER = 9;
+    public static final int LOCATION_FIELD_NUMBER = 9;
+    private org.sonarqube.ws.Issues.Location location_;
+    /**
+     * optional .sonarqube.ws.issues.Location location = 9;
+     */
+    public boolean hasLocation() {
+      return ((bitField0_ & 0x00000100) == 0x00000100);
+    }
+    /**
+     * optional .sonarqube.ws.issues.Location location = 9;
+     */
+    public org.sonarqube.ws.Issues.Location getLocation() {
+      return location_;
+    }
+    /**
+     * optional .sonarqube.ws.issues.Location location = 9;
+     */
+    public org.sonarqube.ws.Issues.LocationOrBuilder getLocationOrBuilder() {
+      return location_;
+    }
+
+    public static final int SECONDARYLOCATIONS_FIELD_NUMBER = 10;
+    private java.util.List secondaryLocations_;
+    /**
+     * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
+     */
+    public java.util.List getSecondaryLocationsList() {
+      return secondaryLocations_;
+    }
+    /**
+     * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
+     */
+    public java.util.List 
+        getSecondaryLocationsOrBuilderList() {
+      return secondaryLocations_;
+    }
+    /**
+     * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
+     */
+    public int getSecondaryLocationsCount() {
+      return secondaryLocations_.size();
+    }
+    /**
+     * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
+     */
+    public org.sonarqube.ws.Issues.Location getSecondaryLocations(int index) {
+      return secondaryLocations_.get(index);
+    }
+    /**
+     * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
+     */
+    public org.sonarqube.ws.Issues.LocationOrBuilder getSecondaryLocationsOrBuilder(
+        int index) {
+      return secondaryLocations_.get(index);
+    }
+
+    public static final int EXECUTIONFLOWS_FIELD_NUMBER = 11;
+    private java.util.List executionFlows_;
+    /**
+     * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+     */
+    public java.util.List getExecutionFlowsList() {
+      return executionFlows_;
+    }
+    /**
+     * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+     */
+    public java.util.List 
+        getExecutionFlowsOrBuilderList() {
+      return executionFlows_;
+    }
+    /**
+     * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+     */
+    public int getExecutionFlowsCount() {
+      return executionFlows_.size();
+    }
+    /**
+     * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+     */
+    public org.sonarqube.ws.Issues.ExecutionFlow getExecutionFlows(int index) {
+      return executionFlows_.get(index);
+    }
+    /**
+     * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+     */
+    public org.sonarqube.ws.Issues.ExecutionFlowOrBuilder getExecutionFlowsOrBuilder(
+        int index) {
+      return executionFlows_.get(index);
+    }
+
+    public static final int RESOLUTION_FIELD_NUMBER = 12;
     private java.lang.Object resolution_;
     /**
-     * optional string resolution = 9;
+     * optional string resolution = 12;
      */
     public boolean hasResolution() {
-      return ((bitField0_ & 0x00000100) == 0x00000100);
+      return ((bitField0_ & 0x00000200) == 0x00000200);
     }
     /**
-     * optional string resolution = 9;
+     * optional string resolution = 12;
      */
     public java.lang.String getResolution() {
       java.lang.Object ref = resolution_;
@@ -6737,7 +6898,7 @@ public final class Issues {
       }
     }
     /**
-     * optional string resolution = 9;
+     * optional string resolution = 12;
      */
     public com.google.protobuf.ByteString
         getResolutionBytes() {
@@ -6753,16 +6914,16 @@ public final class Issues {
       }
     }
 
-    public static final int STATUS_FIELD_NUMBER = 10;
+    public static final int STATUS_FIELD_NUMBER = 13;
     private java.lang.Object status_;
     /**
-     * optional string status = 10;
+     * optional string status = 13;
      */
     public boolean hasStatus() {
-      return ((bitField0_ & 0x00000200) == 0x00000200);
+      return ((bitField0_ & 0x00000400) == 0x00000400);
     }
     /**
-     * optional string status = 10;
+     * optional string status = 13;
      */
     public java.lang.String getStatus() {
       java.lang.Object ref = status_;
@@ -6779,7 +6940,7 @@ public final class Issues {
       }
     }
     /**
-     * optional string status = 10;
+     * optional string status = 13;
      */
     public com.google.protobuf.ByteString
         getStatusBytes() {
@@ -6795,16 +6956,16 @@ public final class Issues {
       }
     }
 
-    public static final int MESSAGE_FIELD_NUMBER = 11;
+    public static final int MESSAGE_FIELD_NUMBER = 14;
     private java.lang.Object message_;
     /**
-     * optional string message = 11;
+     * optional string message = 14;
      */
     public boolean hasMessage() {
-      return ((bitField0_ & 0x00000400) == 0x00000400);
+      return ((bitField0_ & 0x00000800) == 0x00000800);
     }
     /**
-     * optional string message = 11;
+     * optional string message = 14;
      */
     public java.lang.String getMessage() {
       java.lang.Object ref = message_;
@@ -6821,7 +6982,7 @@ public final class Issues {
       }
     }
     /**
-     * optional string message = 11;
+     * optional string message = 14;
      */
     public com.google.protobuf.ByteString
         getMessageBytes() {
@@ -6837,16 +6998,16 @@ public final class Issues {
       }
     }
 
-    public static final int DEBT_FIELD_NUMBER = 12;
+    public static final int DEBT_FIELD_NUMBER = 15;
     private java.lang.Object debt_;
     /**
-     * optional string debt = 12;
+     * optional string debt = 15;
      */
     public boolean hasDebt() {
-      return ((bitField0_ & 0x00000800) == 0x00000800);
+      return ((bitField0_ & 0x00001000) == 0x00001000);
     }
     /**
-     * optional string debt = 12;
+     * optional string debt = 15;
      */
     public java.lang.String getDebt() {
       java.lang.Object ref = debt_;
@@ -6863,7 +7024,7 @@ public final class Issues {
       }
     }
     /**
-     * optional string debt = 12;
+     * optional string debt = 15;
      */
     public com.google.protobuf.ByteString
         getDebtBytes() {
@@ -6879,16 +7040,16 @@ public final class Issues {
       }
     }
 
-    public static final int ASSIGNEE_FIELD_NUMBER = 13;
+    public static final int ASSIGNEE_FIELD_NUMBER = 16;
     private java.lang.Object assignee_;
     /**
-     * optional string assignee = 13;
+     * optional string assignee = 16;
      */
     public boolean hasAssignee() {
-      return ((bitField0_ & 0x00001000) == 0x00001000);
+      return ((bitField0_ & 0x00002000) == 0x00002000);
     }
     /**
-     * optional string assignee = 13;
+     * optional string assignee = 16;
      */
     public java.lang.String getAssignee() {
       java.lang.Object ref = assignee_;
@@ -6905,7 +7066,7 @@ public final class Issues {
       }
     }
     /**
-     * optional string assignee = 13;
+     * optional string assignee = 16;
      */
     public com.google.protobuf.ByteString
         getAssigneeBytes() {
@@ -6921,16 +7082,16 @@ public final class Issues {
       }
     }
 
-    public static final int REPORTER_FIELD_NUMBER = 14;
+    public static final int REPORTER_FIELD_NUMBER = 17;
     private java.lang.Object reporter_;
     /**
-     * optional string reporter = 14;
+     * optional string reporter = 17;
      */
     public boolean hasReporter() {
-      return ((bitField0_ & 0x00002000) == 0x00002000);
+      return ((bitField0_ & 0x00004000) == 0x00004000);
     }
     /**
-     * optional string reporter = 14;
+     * optional string reporter = 17;
      */
     public java.lang.String getReporter() {
       java.lang.Object ref = reporter_;
@@ -6947,7 +7108,7 @@ public final class Issues {
       }
     }
     /**
-     * optional string reporter = 14;
+     * optional string reporter = 17;
      */
     public com.google.protobuf.ByteString
         getReporterBytes() {
@@ -6963,20 +7124,20 @@ public final class Issues {
       }
     }
 
-    public static final int AUTHOR_FIELD_NUMBER = 15;
+    public static final int AUTHOR_FIELD_NUMBER = 18;
     private java.lang.Object author_;
     /**
-     * optional string author = 15;
+     * optional string author = 18;
      *
      * 
      * SCM login of the committer who introduced the issue
      * 
*/ public boolean hasAuthor() { - return ((bitField0_ & 0x00004000) == 0x00004000); + return ((bitField0_ & 0x00008000) == 0x00008000); } /** - * optional string author = 15; + * optional string author = 18; * *
      * SCM login of the committer who introduced the issue
@@ -6997,7 +7158,7 @@ public final class Issues {
       }
     }
     /**
-     * optional string author = 15;
+     * optional string author = 18;
      *
      * 
      * SCM login of the committer who introduced the issue
@@ -7017,16 +7178,16 @@ public final class Issues {
       }
     }
 
-    public static final int ACTIONPLAN_FIELD_NUMBER = 16;
+    public static final int ACTIONPLAN_FIELD_NUMBER = 19;
     private java.lang.Object actionPlan_;
     /**
-     * optional string actionPlan = 16;
+     * optional string actionPlan = 19;
      */
     public boolean hasActionPlan() {
-      return ((bitField0_ & 0x00008000) == 0x00008000);
+      return ((bitField0_ & 0x00010000) == 0x00010000);
     }
     /**
-     * optional string actionPlan = 16;
+     * optional string actionPlan = 19;
      */
     public java.lang.String getActionPlan() {
       java.lang.Object ref = actionPlan_;
@@ -7043,7 +7204,7 @@ public final class Issues {
       }
     }
     /**
-     * optional string actionPlan = 16;
+     * optional string actionPlan = 19;
      */
     public com.google.protobuf.ByteString
         getActionPlanBytes() {
@@ -7059,123 +7220,54 @@ public final class Issues {
       }
     }
 
-    public static final int ACTIONPLANNAME_FIELD_NUMBER = 17;
-    private java.lang.Object actionPlanName_;
-    /**
-     * optional string actionPlanName = 17;
-     */
-    public boolean hasActionPlanName() {
-      return ((bitField0_ & 0x00010000) == 0x00010000);
-    }
-    /**
-     * optional string actionPlanName = 17;
-     */
-    public java.lang.String getActionPlanName() {
-      java.lang.Object ref = actionPlanName_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs = 
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          actionPlanName_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * optional string actionPlanName = 17;
-     */
-    public com.google.protobuf.ByteString
-        getActionPlanNameBytes() {
-      java.lang.Object ref = actionPlanName_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b = 
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        actionPlanName_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    public static final int ATTR_FIELD_NUMBER = 18;
-    private java.lang.Object attr_;
+    public static final int TAGSPRESENTIFEMPTY_FIELD_NUMBER = 20;
+    private boolean tagsPresentIfEmpty_;
     /**
-     * optional string attr = 18;
+     * optional bool tagsPresentIfEmpty = 20;
      */
-    public boolean hasAttr() {
+    public boolean hasTagsPresentIfEmpty() {
       return ((bitField0_ & 0x00020000) == 0x00020000);
     }
     /**
-     * optional string attr = 18;
-     */
-    public java.lang.String getAttr() {
-      java.lang.Object ref = attr_;
-      if (ref instanceof java.lang.String) {
-        return (java.lang.String) ref;
-      } else {
-        com.google.protobuf.ByteString bs = 
-            (com.google.protobuf.ByteString) ref;
-        java.lang.String s = bs.toStringUtf8();
-        if (bs.isValidUtf8()) {
-          attr_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * optional string attr = 18;
+     * optional bool tagsPresentIfEmpty = 20;
      */
-    public com.google.protobuf.ByteString
-        getAttrBytes() {
-      java.lang.Object ref = attr_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b = 
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        attr_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
+    public boolean getTagsPresentIfEmpty() {
+      return tagsPresentIfEmpty_;
     }
 
-    public static final int TAGS_FIELD_NUMBER = 19;
+    public static final int TAGS_FIELD_NUMBER = 21;
     private com.google.protobuf.LazyStringList tags_;
     /**
-     * repeated string tags = 19;
+     * repeated string tags = 21;
      */
     public com.google.protobuf.ProtocolStringList
         getTagsList() {
       return tags_;
     }
     /**
-     * repeated string tags = 19;
+     * repeated string tags = 21;
      */
     public int getTagsCount() {
       return tags_.size();
     }
     /**
-     * repeated string tags = 19;
+     * repeated string tags = 21;
      */
     public java.lang.String getTags(int index) {
       return tags_.get(index);
     }
     /**
-     * repeated string tags = 19;
+     * repeated string tags = 21;
      */
     public com.google.protobuf.ByteString
         getTagsBytes(int index) {
       return tags_.getByteString(index);
     }
 
-    public static final int TRANSITIONSPRESENTIFEMPTY_FIELD_NUMBER = 20;
+    public static final int TRANSITIONSPRESENTIFEMPTY_FIELD_NUMBER = 22;
     private boolean transitionsPresentIfEmpty_;
     /**
-     * optional bool transitionsPresentIfEmpty = 20;
+     * optional bool transitionsPresentIfEmpty = 22;
      *
      * 
      * the transitions allowed for the requesting user.
@@ -7185,7 +7277,7 @@ public final class Issues {
       return ((bitField0_ & 0x00040000) == 0x00040000);
     }
     /**
-     * optional bool transitionsPresentIfEmpty = 20;
+     * optional bool transitionsPresentIfEmpty = 22;
      *
      * 
      * the transitions allowed for the requesting user.
@@ -7195,39 +7287,39 @@ public final class Issues {
       return transitionsPresentIfEmpty_;
     }
 
-    public static final int TRANSITIONS_FIELD_NUMBER = 21;
+    public static final int TRANSITIONS_FIELD_NUMBER = 23;
     private com.google.protobuf.LazyStringList transitions_;
     /**
-     * repeated string transitions = 21;
+     * repeated string transitions = 23;
      */
     public com.google.protobuf.ProtocolStringList
         getTransitionsList() {
       return transitions_;
     }
     /**
-     * repeated string transitions = 21;
+     * repeated string transitions = 23;
      */
     public int getTransitionsCount() {
       return transitions_.size();
     }
     /**
-     * repeated string transitions = 21;
+     * repeated string transitions = 23;
      */
     public java.lang.String getTransitions(int index) {
       return transitions_.get(index);
     }
     /**
-     * repeated string transitions = 21;
+     * repeated string transitions = 23;
      */
     public com.google.protobuf.ByteString
         getTransitionsBytes(int index) {
       return transitions_.getByteString(index);
     }
 
-    public static final int ACTIONSPRESENTIFEMPTY_FIELD_NUMBER = 22;
+    public static final int ACTIONSPRESENTIFEMPTY_FIELD_NUMBER = 24;
     private boolean actionsPresentIfEmpty_;
     /**
-     * optional bool actionsPresentIfEmpty = 22;
+     * optional bool actionsPresentIfEmpty = 24;
      *
      * 
      * the actions allowed for the requesting user.
@@ -7237,7 +7329,7 @@ public final class Issues {
       return ((bitField0_ & 0x00080000) == 0x00080000);
     }
     /**
-     * optional bool actionsPresentIfEmpty = 22;
+     * optional bool actionsPresentIfEmpty = 24;
      *
      * 
      * the actions allowed for the requesting user.
@@ -7247,95 +7339,95 @@ public final class Issues {
       return actionsPresentIfEmpty_;
     }
 
-    public static final int ACTIONS_FIELD_NUMBER = 23;
+    public static final int ACTIONS_FIELD_NUMBER = 25;
     private com.google.protobuf.LazyStringList actions_;
     /**
-     * repeated string actions = 23;
+     * repeated string actions = 25;
      */
     public com.google.protobuf.ProtocolStringList
         getActionsList() {
       return actions_;
     }
     /**
-     * repeated string actions = 23;
+     * repeated string actions = 25;
      */
     public int getActionsCount() {
       return actions_.size();
     }
     /**
-     * repeated string actions = 23;
+     * repeated string actions = 25;
      */
     public java.lang.String getActions(int index) {
       return actions_.get(index);
     }
     /**
-     * repeated string actions = 23;
+     * repeated string actions = 25;
      */
     public com.google.protobuf.ByteString
         getActionsBytes(int index) {
       return actions_.getByteString(index);
     }
 
-    public static final int COMMENTSPRESENTIFEMPTY_FIELD_NUMBER = 24;
+    public static final int COMMENTSPRESENTIFEMPTY_FIELD_NUMBER = 26;
     private boolean commentsPresentIfEmpty_;
     /**
-     * optional bool commentsPresentIfEmpty = 24;
+     * optional bool commentsPresentIfEmpty = 26;
      */
     public boolean hasCommentsPresentIfEmpty() {
       return ((bitField0_ & 0x00100000) == 0x00100000);
     }
     /**
-     * optional bool commentsPresentIfEmpty = 24;
+     * optional bool commentsPresentIfEmpty = 26;
      */
     public boolean getCommentsPresentIfEmpty() {
       return commentsPresentIfEmpty_;
     }
 
-    public static final int COMMENTS_FIELD_NUMBER = 25;
+    public static final int COMMENTS_FIELD_NUMBER = 27;
     private java.util.List comments_;
     /**
-     * repeated .sonarqube.ws.issues.Comment comments = 25;
+     * repeated .sonarqube.ws.issues.Comment comments = 27;
      */
     public java.util.List getCommentsList() {
       return comments_;
     }
     /**
-     * repeated .sonarqube.ws.issues.Comment comments = 25;
+     * repeated .sonarqube.ws.issues.Comment comments = 27;
      */
     public java.util.List 
         getCommentsOrBuilderList() {
       return comments_;
     }
     /**
-     * repeated .sonarqube.ws.issues.Comment comments = 25;
+     * repeated .sonarqube.ws.issues.Comment comments = 27;
      */
     public int getCommentsCount() {
       return comments_.size();
     }
     /**
-     * repeated .sonarqube.ws.issues.Comment comments = 25;
+     * repeated .sonarqube.ws.issues.Comment comments = 27;
      */
     public org.sonarqube.ws.Issues.Comment getComments(int index) {
       return comments_.get(index);
     }
     /**
-     * repeated .sonarqube.ws.issues.Comment comments = 25;
+     * repeated .sonarqube.ws.issues.Comment comments = 27;
      */
     public org.sonarqube.ws.Issues.CommentOrBuilder getCommentsOrBuilder(
         int index) {
       return comments_.get(index);
     }
 
-    public static final int CREATIONDATE_FIELD_NUMBER = 26;
+    public static final int CREATIONDATE_FIELD_NUMBER = 28;
     private java.lang.Object creationDate_;
     /**
-     * optional string creationDate = 26;
+     * optional string creationDate = 28;
      */
     public boolean hasCreationDate() {
       return ((bitField0_ & 0x00200000) == 0x00200000);
     }
     /**
-     * optional string creationDate = 26;
+     * optional string creationDate = 28;
      */
     public java.lang.String getCreationDate() {
       java.lang.Object ref = creationDate_;
@@ -7352,7 +7444,7 @@ public final class Issues {
       }
     }
     /**
-     * optional string creationDate = 26;
+     * optional string creationDate = 28;
      */
     public com.google.protobuf.ByteString
         getCreationDateBytes() {
@@ -7368,16 +7460,16 @@ public final class Issues {
       }
     }
 
-    public static final int UPDATEDATE_FIELD_NUMBER = 27;
+    public static final int UPDATEDATE_FIELD_NUMBER = 29;
     private java.lang.Object updateDate_;
     /**
-     * optional string updateDate = 27;
+     * optional string updateDate = 29;
      */
     public boolean hasUpdateDate() {
       return ((bitField0_ & 0x00400000) == 0x00400000);
     }
     /**
-     * optional string updateDate = 27;
+     * optional string updateDate = 29;
      */
     public java.lang.String getUpdateDate() {
       java.lang.Object ref = updateDate_;
@@ -7394,7 +7486,7 @@ public final class Issues {
       }
     }
     /**
-     * optional string updateDate = 27;
+     * optional string updateDate = 29;
      */
     public com.google.protobuf.ByteString
         getUpdateDateBytes() {
@@ -7410,16 +7502,16 @@ public final class Issues {
       }
     }
 
-    public static final int FUPDATEAGE_FIELD_NUMBER = 28;
+    public static final int FUPDATEAGE_FIELD_NUMBER = 30;
     private java.lang.Object fUpdateAge_;
     /**
-     * optional string fUpdateAge = 28;
+     * optional string fUpdateAge = 30;
      */
     public boolean hasFUpdateAge() {
       return ((bitField0_ & 0x00800000) == 0x00800000);
     }
     /**
-     * optional string fUpdateAge = 28;
+     * optional string fUpdateAge = 30;
      */
     public java.lang.String getFUpdateAge() {
       java.lang.Object ref = fUpdateAge_;
@@ -7436,7 +7528,7 @@ public final class Issues {
       }
     }
     /**
-     * optional string fUpdateAge = 28;
+     * optional string fUpdateAge = 30;
      */
     public com.google.protobuf.ByteString
         getFUpdateAgeBytes() {
@@ -7452,16 +7544,16 @@ public final class Issues {
       }
     }
 
-    public static final int CLOSEDATE_FIELD_NUMBER = 29;
+    public static final int CLOSEDATE_FIELD_NUMBER = 31;
     private java.lang.Object closeDate_;
     /**
-     * optional string closeDate = 29;
+     * optional string closeDate = 31;
      */
     public boolean hasCloseDate() {
       return ((bitField0_ & 0x01000000) == 0x01000000);
     }
     /**
-     * optional string closeDate = 29;
+     * optional string closeDate = 31;
      */
     public java.lang.String getCloseDate() {
       java.lang.Object ref = closeDate_;
@@ -7478,7 +7570,7 @@ public final class Issues {
       }
     }
     /**
-     * optional string closeDate = 29;
+     * optional string closeDate = 31;
      */
     public com.google.protobuf.ByteString
         getCloseDateBytes() {
@@ -7503,6 +7595,9 @@ public final class Issues {
       project_ = "";
       subProject_ = "";
       line_ = 0;
+      location_ = org.sonarqube.ws.Issues.Location.getDefaultInstance();
+      secondaryLocations_ = java.util.Collections.emptyList();
+      executionFlows_ = java.util.Collections.emptyList();
       resolution_ = "";
       status_ = "";
       message_ = "";
@@ -7511,8 +7606,7 @@ public final class Issues {
       reporter_ = "";
       author_ = "";
       actionPlan_ = "";
-      actionPlanName_ = "";
-      attr_ = "";
+      tagsPresentIfEmpty_ = false;
       tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       transitionsPresentIfEmpty_ = false;
       transitions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -7563,67 +7657,73 @@ public final class Issues {
         output.writeInt32(8, line_);
       }
       if (((bitField0_ & 0x00000100) == 0x00000100)) {
-        output.writeBytes(9, getResolutionBytes());
+        output.writeMessage(9, location_);
+      }
+      for (int i = 0; i < secondaryLocations_.size(); i++) {
+        output.writeMessage(10, secondaryLocations_.get(i));
+      }
+      for (int i = 0; i < executionFlows_.size(); i++) {
+        output.writeMessage(11, executionFlows_.get(i));
       }
       if (((bitField0_ & 0x00000200) == 0x00000200)) {
-        output.writeBytes(10, getStatusBytes());
+        output.writeBytes(12, getResolutionBytes());
       }
       if (((bitField0_ & 0x00000400) == 0x00000400)) {
-        output.writeBytes(11, getMessageBytes());
+        output.writeBytes(13, getStatusBytes());
       }
       if (((bitField0_ & 0x00000800) == 0x00000800)) {
-        output.writeBytes(12, getDebtBytes());
+        output.writeBytes(14, getMessageBytes());
       }
       if (((bitField0_ & 0x00001000) == 0x00001000)) {
-        output.writeBytes(13, getAssigneeBytes());
+        output.writeBytes(15, getDebtBytes());
       }
       if (((bitField0_ & 0x00002000) == 0x00002000)) {
-        output.writeBytes(14, getReporterBytes());
+        output.writeBytes(16, getAssigneeBytes());
       }
       if (((bitField0_ & 0x00004000) == 0x00004000)) {
-        output.writeBytes(15, getAuthorBytes());
+        output.writeBytes(17, getReporterBytes());
       }
       if (((bitField0_ & 0x00008000) == 0x00008000)) {
-        output.writeBytes(16, getActionPlanBytes());
+        output.writeBytes(18, getAuthorBytes());
       }
       if (((bitField0_ & 0x00010000) == 0x00010000)) {
-        output.writeBytes(17, getActionPlanNameBytes());
+        output.writeBytes(19, getActionPlanBytes());
       }
       if (((bitField0_ & 0x00020000) == 0x00020000)) {
-        output.writeBytes(18, getAttrBytes());
+        output.writeBool(20, tagsPresentIfEmpty_);
       }
       for (int i = 0; i < tags_.size(); i++) {
-        output.writeBytes(19, tags_.getByteString(i));
+        output.writeBytes(21, tags_.getByteString(i));
       }
       if (((bitField0_ & 0x00040000) == 0x00040000)) {
-        output.writeBool(20, transitionsPresentIfEmpty_);
+        output.writeBool(22, transitionsPresentIfEmpty_);
       }
       for (int i = 0; i < transitions_.size(); i++) {
-        output.writeBytes(21, transitions_.getByteString(i));
+        output.writeBytes(23, transitions_.getByteString(i));
       }
       if (((bitField0_ & 0x00080000) == 0x00080000)) {
-        output.writeBool(22, actionsPresentIfEmpty_);
+        output.writeBool(24, actionsPresentIfEmpty_);
       }
       for (int i = 0; i < actions_.size(); i++) {
-        output.writeBytes(23, actions_.getByteString(i));
+        output.writeBytes(25, actions_.getByteString(i));
       }
       if (((bitField0_ & 0x00100000) == 0x00100000)) {
-        output.writeBool(24, commentsPresentIfEmpty_);
+        output.writeBool(26, commentsPresentIfEmpty_);
       }
       for (int i = 0; i < comments_.size(); i++) {
-        output.writeMessage(25, comments_.get(i));
+        output.writeMessage(27, comments_.get(i));
       }
       if (((bitField0_ & 0x00200000) == 0x00200000)) {
-        output.writeBytes(26, getCreationDateBytes());
+        output.writeBytes(28, getCreationDateBytes());
       }
       if (((bitField0_ & 0x00400000) == 0x00400000)) {
-        output.writeBytes(27, getUpdateDateBytes());
+        output.writeBytes(29, getUpdateDateBytes());
       }
       if (((bitField0_ & 0x00800000) == 0x00800000)) {
-        output.writeBytes(28, getFUpdateAgeBytes());
+        output.writeBytes(30, getFUpdateAgeBytes());
       }
       if (((bitField0_ & 0x01000000) == 0x01000000)) {
-        output.writeBytes(29, getCloseDateBytes());
+        output.writeBytes(31, getCloseDateBytes());
       }
       getUnknownFields().writeTo(output);
     }
@@ -7668,43 +7768,51 @@ public final class Issues {
       }
       if (((bitField0_ & 0x00000100) == 0x00000100)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(9, getResolutionBytes());
+          .computeMessageSize(9, location_);
+      }
+      for (int i = 0; i < secondaryLocations_.size(); i++) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(10, secondaryLocations_.get(i));
+      }
+      for (int i = 0; i < executionFlows_.size(); i++) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(11, executionFlows_.get(i));
       }
       if (((bitField0_ & 0x00000200) == 0x00000200)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(10, getStatusBytes());
+          .computeBytesSize(12, getResolutionBytes());
       }
       if (((bitField0_ & 0x00000400) == 0x00000400)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(11, getMessageBytes());
+          .computeBytesSize(13, getStatusBytes());
       }
       if (((bitField0_ & 0x00000800) == 0x00000800)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(12, getDebtBytes());
+          .computeBytesSize(14, getMessageBytes());
       }
       if (((bitField0_ & 0x00001000) == 0x00001000)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(13, getAssigneeBytes());
+          .computeBytesSize(15, getDebtBytes());
       }
       if (((bitField0_ & 0x00002000) == 0x00002000)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(14, getReporterBytes());
+          .computeBytesSize(16, getAssigneeBytes());
       }
       if (((bitField0_ & 0x00004000) == 0x00004000)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(15, getAuthorBytes());
+          .computeBytesSize(17, getReporterBytes());
       }
       if (((bitField0_ & 0x00008000) == 0x00008000)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(16, getActionPlanBytes());
+          .computeBytesSize(18, getAuthorBytes());
       }
       if (((bitField0_ & 0x00010000) == 0x00010000)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(17, getActionPlanNameBytes());
+          .computeBytesSize(19, getActionPlanBytes());
       }
       if (((bitField0_ & 0x00020000) == 0x00020000)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(18, getAttrBytes());
+          .computeBoolSize(20, tagsPresentIfEmpty_);
       }
       {
         int dataSize = 0;
@@ -7717,7 +7825,7 @@ public final class Issues {
       }
       if (((bitField0_ & 0x00040000) == 0x00040000)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(20, transitionsPresentIfEmpty_);
+          .computeBoolSize(22, transitionsPresentIfEmpty_);
       }
       {
         int dataSize = 0;
@@ -7730,7 +7838,7 @@ public final class Issues {
       }
       if (((bitField0_ & 0x00080000) == 0x00080000)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(22, actionsPresentIfEmpty_);
+          .computeBoolSize(24, actionsPresentIfEmpty_);
       }
       {
         int dataSize = 0;
@@ -7743,27 +7851,27 @@ public final class Issues {
       }
       if (((bitField0_ & 0x00100000) == 0x00100000)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(24, commentsPresentIfEmpty_);
+          .computeBoolSize(26, commentsPresentIfEmpty_);
       }
       for (int i = 0; i < comments_.size(); i++) {
         size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(25, comments_.get(i));
+          .computeMessageSize(27, comments_.get(i));
       }
       if (((bitField0_ & 0x00200000) == 0x00200000)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(26, getCreationDateBytes());
+          .computeBytesSize(28, getCreationDateBytes());
       }
       if (((bitField0_ & 0x00400000) == 0x00400000)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(27, getUpdateDateBytes());
+          .computeBytesSize(29, getUpdateDateBytes());
       }
       if (((bitField0_ & 0x00800000) == 0x00800000)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(28, getFUpdateAgeBytes());
+          .computeBytesSize(30, getFUpdateAgeBytes());
       }
       if (((bitField0_ & 0x01000000) == 0x01000000)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(29, getCloseDateBytes());
+          .computeBytesSize(31, getCloseDateBytes());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSerializedSize = size;
@@ -7874,6 +7982,9 @@ public final class Issues {
       }
       private void maybeForceBuilderInitialization() {
         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+          getLocationFieldBuilder();
+          getSecondaryLocationsFieldBuilder();
+          getExecutionFlowsFieldBuilder();
           getCommentsFieldBuilder();
         }
       }
@@ -7899,52 +8010,68 @@ public final class Issues {
         bitField0_ = (bitField0_ & ~0x00000040);
         line_ = 0;
         bitField0_ = (bitField0_ & ~0x00000080);
-        resolution_ = "";
+        if (locationBuilder_ == null) {
+          location_ = org.sonarqube.ws.Issues.Location.getDefaultInstance();
+        } else {
+          locationBuilder_.clear();
+        }
         bitField0_ = (bitField0_ & ~0x00000100);
-        status_ = "";
-        bitField0_ = (bitField0_ & ~0x00000200);
-        message_ = "";
-        bitField0_ = (bitField0_ & ~0x00000400);
-        debt_ = "";
-        bitField0_ = (bitField0_ & ~0x00000800);
-        assignee_ = "";
+        if (secondaryLocationsBuilder_ == null) {
+          secondaryLocations_ = java.util.Collections.emptyList();
+          bitField0_ = (bitField0_ & ~0x00000200);
+        } else {
+          secondaryLocationsBuilder_.clear();
+        }
+        if (executionFlowsBuilder_ == null) {
+          executionFlows_ = java.util.Collections.emptyList();
+          bitField0_ = (bitField0_ & ~0x00000400);
+        } else {
+          executionFlowsBuilder_.clear();
+        }
+        resolution_ = "";
+        bitField0_ = (bitField0_ & ~0x00000800);
+        status_ = "";
         bitField0_ = (bitField0_ & ~0x00001000);
-        reporter_ = "";
+        message_ = "";
         bitField0_ = (bitField0_ & ~0x00002000);
-        author_ = "";
+        debt_ = "";
         bitField0_ = (bitField0_ & ~0x00004000);
-        actionPlan_ = "";
+        assignee_ = "";
         bitField0_ = (bitField0_ & ~0x00008000);
-        actionPlanName_ = "";
+        reporter_ = "";
         bitField0_ = (bitField0_ & ~0x00010000);
-        attr_ = "";
+        author_ = "";
         bitField0_ = (bitField0_ & ~0x00020000);
-        tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+        actionPlan_ = "";
         bitField0_ = (bitField0_ & ~0x00040000);
-        transitionsPresentIfEmpty_ = false;
+        tagsPresentIfEmpty_ = false;
         bitField0_ = (bitField0_ & ~0x00080000);
-        transitions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+        tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
         bitField0_ = (bitField0_ & ~0x00100000);
-        actionsPresentIfEmpty_ = false;
+        transitionsPresentIfEmpty_ = false;
         bitField0_ = (bitField0_ & ~0x00200000);
-        actions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+        transitions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
         bitField0_ = (bitField0_ & ~0x00400000);
-        commentsPresentIfEmpty_ = false;
+        actionsPresentIfEmpty_ = false;
         bitField0_ = (bitField0_ & ~0x00800000);
+        actions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+        bitField0_ = (bitField0_ & ~0x01000000);
+        commentsPresentIfEmpty_ = false;
+        bitField0_ = (bitField0_ & ~0x02000000);
         if (commentsBuilder_ == null) {
           comments_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x01000000);
+          bitField0_ = (bitField0_ & ~0x04000000);
         } else {
           commentsBuilder_.clear();
         }
         creationDate_ = "";
-        bitField0_ = (bitField0_ & ~0x02000000);
+        bitField0_ = (bitField0_ & ~0x08000000);
         updateDate_ = "";
-        bitField0_ = (bitField0_ & ~0x04000000);
+        bitField0_ = (bitField0_ & ~0x10000000);
         fUpdateAge_ = "";
-        bitField0_ = (bitField0_ & ~0x08000000);
+        bitField0_ = (bitField0_ & ~0x20000000);
         closeDate_ = "";
-        bitField0_ = (bitField0_ & ~0x10000000);
+        bitField0_ = (bitField0_ & ~0x40000000);
         return this;
       }
 
@@ -8008,92 +8135,114 @@ public final class Issues {
         if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
           to_bitField0_ |= 0x00000100;
         }
-        result.resolution_ = resolution_;
-        if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
+        if (locationBuilder_ == null) {
+          result.location_ = location_;
+        } else {
+          result.location_ = locationBuilder_.build();
+        }
+        if (secondaryLocationsBuilder_ == null) {
+          if (((bitField0_ & 0x00000200) == 0x00000200)) {
+            secondaryLocations_ = java.util.Collections.unmodifiableList(secondaryLocations_);
+            bitField0_ = (bitField0_ & ~0x00000200);
+          }
+          result.secondaryLocations_ = secondaryLocations_;
+        } else {
+          result.secondaryLocations_ = secondaryLocationsBuilder_.build();
+        }
+        if (executionFlowsBuilder_ == null) {
+          if (((bitField0_ & 0x00000400) == 0x00000400)) {
+            executionFlows_ = java.util.Collections.unmodifiableList(executionFlows_);
+            bitField0_ = (bitField0_ & ~0x00000400);
+          }
+          result.executionFlows_ = executionFlows_;
+        } else {
+          result.executionFlows_ = executionFlowsBuilder_.build();
+        }
+        if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
           to_bitField0_ |= 0x00000200;
         }
-        result.status_ = status_;
-        if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
+        result.resolution_ = resolution_;
+        if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
           to_bitField0_ |= 0x00000400;
         }
-        result.message_ = message_;
-        if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
+        result.status_ = status_;
+        if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
           to_bitField0_ |= 0x00000800;
         }
-        result.debt_ = debt_;
-        if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
+        result.message_ = message_;
+        if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
           to_bitField0_ |= 0x00001000;
         }
-        result.assignee_ = assignee_;
-        if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
+        result.debt_ = debt_;
+        if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
           to_bitField0_ |= 0x00002000;
         }
-        result.reporter_ = reporter_;
-        if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
+        result.assignee_ = assignee_;
+        if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
           to_bitField0_ |= 0x00004000;
         }
-        result.author_ = author_;
-        if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
+        result.reporter_ = reporter_;
+        if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
           to_bitField0_ |= 0x00008000;
         }
-        result.actionPlan_ = actionPlan_;
-        if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
+        result.author_ = author_;
+        if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
           to_bitField0_ |= 0x00010000;
         }
-        result.actionPlanName_ = actionPlanName_;
-        if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
+        result.actionPlan_ = actionPlan_;
+        if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
           to_bitField0_ |= 0x00020000;
         }
-        result.attr_ = attr_;
-        if (((bitField0_ & 0x00040000) == 0x00040000)) {
+        result.tagsPresentIfEmpty_ = tagsPresentIfEmpty_;
+        if (((bitField0_ & 0x00100000) == 0x00100000)) {
           tags_ = tags_.getUnmodifiableView();
-          bitField0_ = (bitField0_ & ~0x00040000);
+          bitField0_ = (bitField0_ & ~0x00100000);
         }
         result.tags_ = tags_;
-        if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
+        if (((from_bitField0_ & 0x00200000) == 0x00200000)) {
           to_bitField0_ |= 0x00040000;
         }
         result.transitionsPresentIfEmpty_ = transitionsPresentIfEmpty_;
-        if (((bitField0_ & 0x00100000) == 0x00100000)) {
+        if (((bitField0_ & 0x00400000) == 0x00400000)) {
           transitions_ = transitions_.getUnmodifiableView();
-          bitField0_ = (bitField0_ & ~0x00100000);
+          bitField0_ = (bitField0_ & ~0x00400000);
         }
         result.transitions_ = transitions_;
-        if (((from_bitField0_ & 0x00200000) == 0x00200000)) {
+        if (((from_bitField0_ & 0x00800000) == 0x00800000)) {
           to_bitField0_ |= 0x00080000;
         }
         result.actionsPresentIfEmpty_ = actionsPresentIfEmpty_;
-        if (((bitField0_ & 0x00400000) == 0x00400000)) {
+        if (((bitField0_ & 0x01000000) == 0x01000000)) {
           actions_ = actions_.getUnmodifiableView();
-          bitField0_ = (bitField0_ & ~0x00400000);
+          bitField0_ = (bitField0_ & ~0x01000000);
         }
         result.actions_ = actions_;
-        if (((from_bitField0_ & 0x00800000) == 0x00800000)) {
+        if (((from_bitField0_ & 0x02000000) == 0x02000000)) {
           to_bitField0_ |= 0x00100000;
         }
         result.commentsPresentIfEmpty_ = commentsPresentIfEmpty_;
         if (commentsBuilder_ == null) {
-          if (((bitField0_ & 0x01000000) == 0x01000000)) {
+          if (((bitField0_ & 0x04000000) == 0x04000000)) {
             comments_ = java.util.Collections.unmodifiableList(comments_);
-            bitField0_ = (bitField0_ & ~0x01000000);
+            bitField0_ = (bitField0_ & ~0x04000000);
           }
           result.comments_ = comments_;
         } else {
           result.comments_ = commentsBuilder_.build();
         }
-        if (((from_bitField0_ & 0x02000000) == 0x02000000)) {
+        if (((from_bitField0_ & 0x08000000) == 0x08000000)) {
           to_bitField0_ |= 0x00200000;
         }
         result.creationDate_ = creationDate_;
-        if (((from_bitField0_ & 0x04000000) == 0x04000000)) {
+        if (((from_bitField0_ & 0x10000000) == 0x10000000)) {
           to_bitField0_ |= 0x00400000;
         }
         result.updateDate_ = updateDate_;
-        if (((from_bitField0_ & 0x08000000) == 0x08000000)) {
+        if (((from_bitField0_ & 0x20000000) == 0x20000000)) {
           to_bitField0_ |= 0x00800000;
         }
         result.fUpdateAge_ = fUpdateAge_;
-        if (((from_bitField0_ & 0x10000000) == 0x10000000)) {
+        if (((from_bitField0_ & 0x40000000) == 0x40000000)) {
           to_bitField0_ |= 0x01000000;
         }
         result.closeDate_ = closeDate_;
@@ -8147,60 +8296,108 @@ public final class Issues {
         if (other.hasLine()) {
           setLine(other.getLine());
         }
+        if (other.hasLocation()) {
+          mergeLocation(other.getLocation());
+        }
+        if (secondaryLocationsBuilder_ == null) {
+          if (!other.secondaryLocations_.isEmpty()) {
+            if (secondaryLocations_.isEmpty()) {
+              secondaryLocations_ = other.secondaryLocations_;
+              bitField0_ = (bitField0_ & ~0x00000200);
+            } else {
+              ensureSecondaryLocationsIsMutable();
+              secondaryLocations_.addAll(other.secondaryLocations_);
+            }
+            onChanged();
+          }
+        } else {
+          if (!other.secondaryLocations_.isEmpty()) {
+            if (secondaryLocationsBuilder_.isEmpty()) {
+              secondaryLocationsBuilder_.dispose();
+              secondaryLocationsBuilder_ = null;
+              secondaryLocations_ = other.secondaryLocations_;
+              bitField0_ = (bitField0_ & ~0x00000200);
+              secondaryLocationsBuilder_ = 
+                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+                   getSecondaryLocationsFieldBuilder() : null;
+            } else {
+              secondaryLocationsBuilder_.addAllMessages(other.secondaryLocations_);
+            }
+          }
+        }
+        if (executionFlowsBuilder_ == null) {
+          if (!other.executionFlows_.isEmpty()) {
+            if (executionFlows_.isEmpty()) {
+              executionFlows_ = other.executionFlows_;
+              bitField0_ = (bitField0_ & ~0x00000400);
+            } else {
+              ensureExecutionFlowsIsMutable();
+              executionFlows_.addAll(other.executionFlows_);
+            }
+            onChanged();
+          }
+        } else {
+          if (!other.executionFlows_.isEmpty()) {
+            if (executionFlowsBuilder_.isEmpty()) {
+              executionFlowsBuilder_.dispose();
+              executionFlowsBuilder_ = null;
+              executionFlows_ = other.executionFlows_;
+              bitField0_ = (bitField0_ & ~0x00000400);
+              executionFlowsBuilder_ = 
+                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+                   getExecutionFlowsFieldBuilder() : null;
+            } else {
+              executionFlowsBuilder_.addAllMessages(other.executionFlows_);
+            }
+          }
+        }
         if (other.hasResolution()) {
-          bitField0_ |= 0x00000100;
+          bitField0_ |= 0x00000800;
           resolution_ = other.resolution_;
           onChanged();
         }
         if (other.hasStatus()) {
-          bitField0_ |= 0x00000200;
+          bitField0_ |= 0x00001000;
           status_ = other.status_;
           onChanged();
         }
         if (other.hasMessage()) {
-          bitField0_ |= 0x00000400;
+          bitField0_ |= 0x00002000;
           message_ = other.message_;
           onChanged();
         }
         if (other.hasDebt()) {
-          bitField0_ |= 0x00000800;
+          bitField0_ |= 0x00004000;
           debt_ = other.debt_;
           onChanged();
         }
         if (other.hasAssignee()) {
-          bitField0_ |= 0x00001000;
+          bitField0_ |= 0x00008000;
           assignee_ = other.assignee_;
           onChanged();
         }
         if (other.hasReporter()) {
-          bitField0_ |= 0x00002000;
+          bitField0_ |= 0x00010000;
           reporter_ = other.reporter_;
           onChanged();
         }
         if (other.hasAuthor()) {
-          bitField0_ |= 0x00004000;
+          bitField0_ |= 0x00020000;
           author_ = other.author_;
           onChanged();
         }
         if (other.hasActionPlan()) {
-          bitField0_ |= 0x00008000;
+          bitField0_ |= 0x00040000;
           actionPlan_ = other.actionPlan_;
           onChanged();
         }
-        if (other.hasActionPlanName()) {
-          bitField0_ |= 0x00010000;
-          actionPlanName_ = other.actionPlanName_;
-          onChanged();
-        }
-        if (other.hasAttr()) {
-          bitField0_ |= 0x00020000;
-          attr_ = other.attr_;
-          onChanged();
+        if (other.hasTagsPresentIfEmpty()) {
+          setTagsPresentIfEmpty(other.getTagsPresentIfEmpty());
         }
         if (!other.tags_.isEmpty()) {
           if (tags_.isEmpty()) {
             tags_ = other.tags_;
-            bitField0_ = (bitField0_ & ~0x00040000);
+            bitField0_ = (bitField0_ & ~0x00100000);
           } else {
             ensureTagsIsMutable();
             tags_.addAll(other.tags_);
@@ -8213,7 +8410,7 @@ public final class Issues {
         if (!other.transitions_.isEmpty()) {
           if (transitions_.isEmpty()) {
             transitions_ = other.transitions_;
-            bitField0_ = (bitField0_ & ~0x00100000);
+            bitField0_ = (bitField0_ & ~0x00400000);
           } else {
             ensureTransitionsIsMutable();
             transitions_.addAll(other.transitions_);
@@ -8226,7 +8423,7 @@ public final class Issues {
         if (!other.actions_.isEmpty()) {
           if (actions_.isEmpty()) {
             actions_ = other.actions_;
-            bitField0_ = (bitField0_ & ~0x00400000);
+            bitField0_ = (bitField0_ & ~0x01000000);
           } else {
             ensureActionsIsMutable();
             actions_.addAll(other.actions_);
@@ -8240,7 +8437,7 @@ public final class Issues {
           if (!other.comments_.isEmpty()) {
             if (comments_.isEmpty()) {
               comments_ = other.comments_;
-              bitField0_ = (bitField0_ & ~0x01000000);
+              bitField0_ = (bitField0_ & ~0x04000000);
             } else {
               ensureCommentsIsMutable();
               comments_.addAll(other.comments_);
@@ -8253,7 +8450,7 @@ public final class Issues {
               commentsBuilder_.dispose();
               commentsBuilder_ = null;
               comments_ = other.comments_;
-              bitField0_ = (bitField0_ & ~0x01000000);
+              bitField0_ = (bitField0_ & ~0x04000000);
               commentsBuilder_ = 
                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                    getCommentsFieldBuilder() : null;
@@ -8263,22 +8460,22 @@ public final class Issues {
           }
         }
         if (other.hasCreationDate()) {
-          bitField0_ |= 0x02000000;
+          bitField0_ |= 0x08000000;
           creationDate_ = other.creationDate_;
           onChanged();
         }
         if (other.hasUpdateDate()) {
-          bitField0_ |= 0x04000000;
+          bitField0_ |= 0x10000000;
           updateDate_ = other.updateDate_;
           onChanged();
         }
         if (other.hasFUpdateAge()) {
-          bitField0_ |= 0x08000000;
+          bitField0_ |= 0x20000000;
           fUpdateAge_ = other.fUpdateAge_;
           onChanged();
         }
         if (other.hasCloseDate()) {
-          bitField0_ |= 0x10000000;
+          bitField0_ |= 0x40000000;
           closeDate_ = other.closeDate_;
           onChanged();
         }
@@ -8463,19 +8660,19 @@ public final class Issues {
 
       private org.sonarqube.ws.Common.Severity severity_ = org.sonarqube.ws.Common.Severity.INFO;
       /**
-       * optional .sonarqube.ws.Severity severity = 3;
+       * optional .sonarqube.ws.commons.Severity severity = 3;
        */
       public boolean hasSeverity() {
         return ((bitField0_ & 0x00000004) == 0x00000004);
       }
       /**
-       * optional .sonarqube.ws.Severity severity = 3;
+       * optional .sonarqube.ws.commons.Severity severity = 3;
        */
       public org.sonarqube.ws.Common.Severity getSeverity() {
         return severity_;
       }
       /**
-       * optional .sonarqube.ws.Severity severity = 3;
+       * optional .sonarqube.ws.commons.Severity severity = 3;
        */
       public Builder setSeverity(org.sonarqube.ws.Common.Severity value) {
         if (value == null) {
@@ -8487,7 +8684,7 @@ public final class Issues {
         return this;
       }
       /**
-       * optional .sonarqube.ws.Severity severity = 3;
+       * optional .sonarqube.ws.commons.Severity severity = 3;
        */
       public Builder clearSeverity() {
         bitField0_ = (bitField0_ & ~0x00000004);
@@ -8788,488 +8985,696 @@ public final class Issues {
         return this;
       }
 
-      private java.lang.Object resolution_ = "";
+      private org.sonarqube.ws.Issues.Location location_ = org.sonarqube.ws.Issues.Location.getDefaultInstance();
+      private com.google.protobuf.SingleFieldBuilder<
+          org.sonarqube.ws.Issues.Location, org.sonarqube.ws.Issues.Location.Builder, org.sonarqube.ws.Issues.LocationOrBuilder> locationBuilder_;
       /**
-       * optional string resolution = 9;
+       * optional .sonarqube.ws.issues.Location location = 9;
        */
-      public boolean hasResolution() {
+      public boolean hasLocation() {
         return ((bitField0_ & 0x00000100) == 0x00000100);
       }
       /**
-       * optional string resolution = 9;
+       * optional .sonarqube.ws.issues.Location location = 9;
        */
-      public java.lang.String getResolution() {
-        java.lang.Object ref = resolution_;
-        if (!(ref instanceof java.lang.String)) {
-          com.google.protobuf.ByteString bs =
-              (com.google.protobuf.ByteString) ref;
-          java.lang.String s = bs.toStringUtf8();
-          if (bs.isValidUtf8()) {
-            resolution_ = s;
+      public org.sonarqube.ws.Issues.Location getLocation() {
+        if (locationBuilder_ == null) {
+          return location_;
+        } else {
+          return locationBuilder_.getMessage();
+        }
+      }
+      /**
+       * optional .sonarqube.ws.issues.Location location = 9;
+       */
+      public Builder setLocation(org.sonarqube.ws.Issues.Location value) {
+        if (locationBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
           }
-          return s;
+          location_ = value;
+          onChanged();
         } else {
-          return (java.lang.String) ref;
+          locationBuilder_.setMessage(value);
         }
+        bitField0_ |= 0x00000100;
+        return this;
       }
       /**
-       * optional string resolution = 9;
+       * optional .sonarqube.ws.issues.Location location = 9;
        */
-      public com.google.protobuf.ByteString
-          getResolutionBytes() {
-        java.lang.Object ref = resolution_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b = 
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          resolution_ = b;
-          return b;
+      public Builder setLocation(
+          org.sonarqube.ws.Issues.Location.Builder builderForValue) {
+        if (locationBuilder_ == null) {
+          location_ = builderForValue.build();
+          onChanged();
         } else {
-          return (com.google.protobuf.ByteString) ref;
+          locationBuilder_.setMessage(builderForValue.build());
         }
+        bitField0_ |= 0x00000100;
+        return this;
       }
       /**
-       * optional string resolution = 9;
+       * optional .sonarqube.ws.issues.Location location = 9;
        */
-      public Builder setResolution(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000100;
-        resolution_ = value;
-        onChanged();
+      public Builder mergeLocation(org.sonarqube.ws.Issues.Location value) {
+        if (locationBuilder_ == null) {
+          if (((bitField0_ & 0x00000100) == 0x00000100) &&
+              location_ != org.sonarqube.ws.Issues.Location.getDefaultInstance()) {
+            location_ =
+              org.sonarqube.ws.Issues.Location.newBuilder(location_).mergeFrom(value).buildPartial();
+          } else {
+            location_ = value;
+          }
+          onChanged();
+        } else {
+          locationBuilder_.mergeFrom(value);
+        }
+        bitField0_ |= 0x00000100;
         return this;
       }
       /**
-       * optional string resolution = 9;
+       * optional .sonarqube.ws.issues.Location location = 9;
        */
-      public Builder clearResolution() {
+      public Builder clearLocation() {
+        if (locationBuilder_ == null) {
+          location_ = org.sonarqube.ws.Issues.Location.getDefaultInstance();
+          onChanged();
+        } else {
+          locationBuilder_.clear();
+        }
         bitField0_ = (bitField0_ & ~0x00000100);
-        resolution_ = getDefaultInstance().getResolution();
-        onChanged();
         return this;
       }
       /**
-       * optional string resolution = 9;
+       * optional .sonarqube.ws.issues.Location location = 9;
        */
-      public Builder setResolutionBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000100;
-        resolution_ = value;
+      public org.sonarqube.ws.Issues.Location.Builder getLocationBuilder() {
+        bitField0_ |= 0x00000100;
         onChanged();
-        return this;
+        return getLocationFieldBuilder().getBuilder();
       }
-
-      private java.lang.Object status_ = "";
       /**
-       * optional string status = 10;
+       * optional .sonarqube.ws.issues.Location location = 9;
        */
-      public boolean hasStatus() {
-        return ((bitField0_ & 0x00000200) == 0x00000200);
+      public org.sonarqube.ws.Issues.LocationOrBuilder getLocationOrBuilder() {
+        if (locationBuilder_ != null) {
+          return locationBuilder_.getMessageOrBuilder();
+        } else {
+          return location_;
+        }
       }
       /**
-       * optional string status = 10;
+       * optional .sonarqube.ws.issues.Location location = 9;
        */
-      public java.lang.String getStatus() {
-        java.lang.Object ref = status_;
-        if (!(ref instanceof java.lang.String)) {
-          com.google.protobuf.ByteString bs =
-              (com.google.protobuf.ByteString) ref;
-          java.lang.String s = bs.toStringUtf8();
-          if (bs.isValidUtf8()) {
-            status_ = s;
-          }
-          return s;
-        } else {
-          return (java.lang.String) ref;
+      private com.google.protobuf.SingleFieldBuilder<
+          org.sonarqube.ws.Issues.Location, org.sonarqube.ws.Issues.Location.Builder, org.sonarqube.ws.Issues.LocationOrBuilder> 
+          getLocationFieldBuilder() {
+        if (locationBuilder_ == null) {
+          locationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+              org.sonarqube.ws.Issues.Location, org.sonarqube.ws.Issues.Location.Builder, org.sonarqube.ws.Issues.LocationOrBuilder>(
+                  getLocation(),
+                  getParentForChildren(),
+                  isClean());
+          location_ = null;
         }
+        return locationBuilder_;
+      }
+
+      private java.util.List secondaryLocations_ =
+        java.util.Collections.emptyList();
+      private void ensureSecondaryLocationsIsMutable() {
+        if (!((bitField0_ & 0x00000200) == 0x00000200)) {
+          secondaryLocations_ = new java.util.ArrayList(secondaryLocations_);
+          bitField0_ |= 0x00000200;
+         }
       }
+
+      private com.google.protobuf.RepeatedFieldBuilder<
+          org.sonarqube.ws.Issues.Location, org.sonarqube.ws.Issues.Location.Builder, org.sonarqube.ws.Issues.LocationOrBuilder> secondaryLocationsBuilder_;
+
       /**
-       * optional string status = 10;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public com.google.protobuf.ByteString
-          getStatusBytes() {
-        java.lang.Object ref = status_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b = 
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          status_ = b;
-          return b;
+      public java.util.List getSecondaryLocationsList() {
+        if (secondaryLocationsBuilder_ == null) {
+          return java.util.Collections.unmodifiableList(secondaryLocations_);
         } else {
-          return (com.google.protobuf.ByteString) ref;
+          return secondaryLocationsBuilder_.getMessageList();
         }
       }
       /**
-       * optional string status = 10;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public Builder setStatus(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000200;
-        status_ = value;
-        onChanged();
-        return this;
+      public int getSecondaryLocationsCount() {
+        if (secondaryLocationsBuilder_ == null) {
+          return secondaryLocations_.size();
+        } else {
+          return secondaryLocationsBuilder_.getCount();
+        }
       }
       /**
-       * optional string status = 10;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public Builder clearStatus() {
-        bitField0_ = (bitField0_ & ~0x00000200);
-        status_ = getDefaultInstance().getStatus();
-        onChanged();
-        return this;
+      public org.sonarqube.ws.Issues.Location getSecondaryLocations(int index) {
+        if (secondaryLocationsBuilder_ == null) {
+          return secondaryLocations_.get(index);
+        } else {
+          return secondaryLocationsBuilder_.getMessage(index);
+        }
       }
       /**
-       * optional string status = 10;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public Builder setStatusBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000200;
-        status_ = value;
-        onChanged();
+      public Builder setSecondaryLocations(
+          int index, org.sonarqube.ws.Issues.Location value) {
+        if (secondaryLocationsBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          ensureSecondaryLocationsIsMutable();
+          secondaryLocations_.set(index, value);
+          onChanged();
+        } else {
+          secondaryLocationsBuilder_.setMessage(index, value);
+        }
         return this;
       }
-
-      private java.lang.Object message_ = "";
       /**
-       * optional string message = 11;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public boolean hasMessage() {
-        return ((bitField0_ & 0x00000400) == 0x00000400);
+      public Builder setSecondaryLocations(
+          int index, org.sonarqube.ws.Issues.Location.Builder builderForValue) {
+        if (secondaryLocationsBuilder_ == null) {
+          ensureSecondaryLocationsIsMutable();
+          secondaryLocations_.set(index, builderForValue.build());
+          onChanged();
+        } else {
+          secondaryLocationsBuilder_.setMessage(index, builderForValue.build());
+        }
+        return this;
       }
       /**
-       * optional string message = 11;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public java.lang.String getMessage() {
-        java.lang.Object ref = message_;
-        if (!(ref instanceof java.lang.String)) {
-          com.google.protobuf.ByteString bs =
-              (com.google.protobuf.ByteString) ref;
-          java.lang.String s = bs.toStringUtf8();
-          if (bs.isValidUtf8()) {
-            message_ = s;
+      public Builder addSecondaryLocations(org.sonarqube.ws.Issues.Location value) {
+        if (secondaryLocationsBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
           }
-          return s;
+          ensureSecondaryLocationsIsMutable();
+          secondaryLocations_.add(value);
+          onChanged();
         } else {
-          return (java.lang.String) ref;
+          secondaryLocationsBuilder_.addMessage(value);
         }
+        return this;
       }
       /**
-       * optional string message = 11;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public com.google.protobuf.ByteString
-          getMessageBytes() {
-        java.lang.Object ref = message_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b = 
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          message_ = b;
-          return b;
+      public Builder addSecondaryLocations(
+          int index, org.sonarqube.ws.Issues.Location value) {
+        if (secondaryLocationsBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          ensureSecondaryLocationsIsMutable();
+          secondaryLocations_.add(index, value);
+          onChanged();
         } else {
-          return (com.google.protobuf.ByteString) ref;
+          secondaryLocationsBuilder_.addMessage(index, value);
         }
+        return this;
       }
       /**
-       * optional string message = 11;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public Builder setMessage(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000400;
-        message_ = value;
-        onChanged();
+      public Builder addSecondaryLocations(
+          org.sonarqube.ws.Issues.Location.Builder builderForValue) {
+        if (secondaryLocationsBuilder_ == null) {
+          ensureSecondaryLocationsIsMutable();
+          secondaryLocations_.add(builderForValue.build());
+          onChanged();
+        } else {
+          secondaryLocationsBuilder_.addMessage(builderForValue.build());
+        }
         return this;
       }
       /**
-       * optional string message = 11;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public Builder clearMessage() {
-        bitField0_ = (bitField0_ & ~0x00000400);
-        message_ = getDefaultInstance().getMessage();
-        onChanged();
+      public Builder addSecondaryLocations(
+          int index, org.sonarqube.ws.Issues.Location.Builder builderForValue) {
+        if (secondaryLocationsBuilder_ == null) {
+          ensureSecondaryLocationsIsMutable();
+          secondaryLocations_.add(index, builderForValue.build());
+          onChanged();
+        } else {
+          secondaryLocationsBuilder_.addMessage(index, builderForValue.build());
+        }
         return this;
       }
       /**
-       * optional string message = 11;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public Builder setMessageBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000400;
-        message_ = value;
-        onChanged();
+      public Builder addAllSecondaryLocations(
+          java.lang.Iterable values) {
+        if (secondaryLocationsBuilder_ == null) {
+          ensureSecondaryLocationsIsMutable();
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, secondaryLocations_);
+          onChanged();
+        } else {
+          secondaryLocationsBuilder_.addAllMessages(values);
+        }
         return this;
       }
-
-      private java.lang.Object debt_ = "";
       /**
-       * optional string debt = 12;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public boolean hasDebt() {
-        return ((bitField0_ & 0x00000800) == 0x00000800);
+      public Builder clearSecondaryLocations() {
+        if (secondaryLocationsBuilder_ == null) {
+          secondaryLocations_ = java.util.Collections.emptyList();
+          bitField0_ = (bitField0_ & ~0x00000200);
+          onChanged();
+        } else {
+          secondaryLocationsBuilder_.clear();
+        }
+        return this;
       }
       /**
-       * optional string debt = 12;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public java.lang.String getDebt() {
-        java.lang.Object ref = debt_;
-        if (!(ref instanceof java.lang.String)) {
-          com.google.protobuf.ByteString bs =
-              (com.google.protobuf.ByteString) ref;
-          java.lang.String s = bs.toStringUtf8();
-          if (bs.isValidUtf8()) {
-            debt_ = s;
-          }
-          return s;
+      public Builder removeSecondaryLocations(int index) {
+        if (secondaryLocationsBuilder_ == null) {
+          ensureSecondaryLocationsIsMutable();
+          secondaryLocations_.remove(index);
+          onChanged();
         } else {
-          return (java.lang.String) ref;
+          secondaryLocationsBuilder_.remove(index);
         }
+        return this;
       }
       /**
-       * optional string debt = 12;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public com.google.protobuf.ByteString
-          getDebtBytes() {
-        java.lang.Object ref = debt_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b = 
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          debt_ = b;
-          return b;
+      public org.sonarqube.ws.Issues.Location.Builder getSecondaryLocationsBuilder(
+          int index) {
+        return getSecondaryLocationsFieldBuilder().getBuilder(index);
+      }
+      /**
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
+       */
+      public org.sonarqube.ws.Issues.LocationOrBuilder getSecondaryLocationsOrBuilder(
+          int index) {
+        if (secondaryLocationsBuilder_ == null) {
+          return secondaryLocations_.get(index);  } else {
+          return secondaryLocationsBuilder_.getMessageOrBuilder(index);
+        }
+      }
+      /**
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
+       */
+      public java.util.List 
+           getSecondaryLocationsOrBuilderList() {
+        if (secondaryLocationsBuilder_ != null) {
+          return secondaryLocationsBuilder_.getMessageOrBuilderList();
         } else {
-          return (com.google.protobuf.ByteString) ref;
+          return java.util.Collections.unmodifiableList(secondaryLocations_);
         }
       }
       /**
-       * optional string debt = 12;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public Builder setDebt(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000800;
-        debt_ = value;
-        onChanged();
-        return this;
+      public org.sonarqube.ws.Issues.Location.Builder addSecondaryLocationsBuilder() {
+        return getSecondaryLocationsFieldBuilder().addBuilder(
+            org.sonarqube.ws.Issues.Location.getDefaultInstance());
       }
       /**
-       * optional string debt = 12;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public Builder clearDebt() {
-        bitField0_ = (bitField0_ & ~0x00000800);
-        debt_ = getDefaultInstance().getDebt();
-        onChanged();
-        return this;
+      public org.sonarqube.ws.Issues.Location.Builder addSecondaryLocationsBuilder(
+          int index) {
+        return getSecondaryLocationsFieldBuilder().addBuilder(
+            index, org.sonarqube.ws.Issues.Location.getDefaultInstance());
       }
       /**
-       * optional string debt = 12;
+       * repeated .sonarqube.ws.issues.Location secondaryLocations = 10;
        */
-      public Builder setDebtBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000800;
-        debt_ = value;
-        onChanged();
-        return this;
+      public java.util.List 
+           getSecondaryLocationsBuilderList() {
+        return getSecondaryLocationsFieldBuilder().getBuilderList();
+      }
+      private com.google.protobuf.RepeatedFieldBuilder<
+          org.sonarqube.ws.Issues.Location, org.sonarqube.ws.Issues.Location.Builder, org.sonarqube.ws.Issues.LocationOrBuilder> 
+          getSecondaryLocationsFieldBuilder() {
+        if (secondaryLocationsBuilder_ == null) {
+          secondaryLocationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+              org.sonarqube.ws.Issues.Location, org.sonarqube.ws.Issues.Location.Builder, org.sonarqube.ws.Issues.LocationOrBuilder>(
+                  secondaryLocations_,
+                  ((bitField0_ & 0x00000200) == 0x00000200),
+                  getParentForChildren(),
+                  isClean());
+          secondaryLocations_ = null;
+        }
+        return secondaryLocationsBuilder_;
       }
 
-      private java.lang.Object assignee_ = "";
+      private java.util.List executionFlows_ =
+        java.util.Collections.emptyList();
+      private void ensureExecutionFlowsIsMutable() {
+        if (!((bitField0_ & 0x00000400) == 0x00000400)) {
+          executionFlows_ = new java.util.ArrayList(executionFlows_);
+          bitField0_ |= 0x00000400;
+         }
+      }
+
+      private com.google.protobuf.RepeatedFieldBuilder<
+          org.sonarqube.ws.Issues.ExecutionFlow, org.sonarqube.ws.Issues.ExecutionFlow.Builder, org.sonarqube.ws.Issues.ExecutionFlowOrBuilder> executionFlowsBuilder_;
+
       /**
-       * optional string assignee = 13;
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
        */
-      public boolean hasAssignee() {
-        return ((bitField0_ & 0x00001000) == 0x00001000);
+      public java.util.List getExecutionFlowsList() {
+        if (executionFlowsBuilder_ == null) {
+          return java.util.Collections.unmodifiableList(executionFlows_);
+        } else {
+          return executionFlowsBuilder_.getMessageList();
+        }
       }
       /**
-       * optional string assignee = 13;
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
        */
-      public java.lang.String getAssignee() {
-        java.lang.Object ref = assignee_;
-        if (!(ref instanceof java.lang.String)) {
-          com.google.protobuf.ByteString bs =
-              (com.google.protobuf.ByteString) ref;
-          java.lang.String s = bs.toStringUtf8();
-          if (bs.isValidUtf8()) {
-            assignee_ = s;
-          }
-          return s;
+      public int getExecutionFlowsCount() {
+        if (executionFlowsBuilder_ == null) {
+          return executionFlows_.size();
         } else {
-          return (java.lang.String) ref;
+          return executionFlowsBuilder_.getCount();
         }
       }
       /**
-       * optional string assignee = 13;
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
        */
-      public com.google.protobuf.ByteString
-          getAssigneeBytes() {
-        java.lang.Object ref = assignee_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b = 
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          assignee_ = b;
-          return b;
+      public org.sonarqube.ws.Issues.ExecutionFlow getExecutionFlows(int index) {
+        if (executionFlowsBuilder_ == null) {
+          return executionFlows_.get(index);
         } else {
-          return (com.google.protobuf.ByteString) ref;
+          return executionFlowsBuilder_.getMessage(index);
         }
       }
       /**
-       * optional string assignee = 13;
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
        */
-      public Builder setAssignee(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00001000;
-        assignee_ = value;
-        onChanged();
+      public Builder setExecutionFlows(
+          int index, org.sonarqube.ws.Issues.ExecutionFlow value) {
+        if (executionFlowsBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          ensureExecutionFlowsIsMutable();
+          executionFlows_.set(index, value);
+          onChanged();
+        } else {
+          executionFlowsBuilder_.setMessage(index, value);
+        }
         return this;
       }
       /**
-       * optional string assignee = 13;
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
        */
-      public Builder clearAssignee() {
-        bitField0_ = (bitField0_ & ~0x00001000);
-        assignee_ = getDefaultInstance().getAssignee();
-        onChanged();
+      public Builder setExecutionFlows(
+          int index, org.sonarqube.ws.Issues.ExecutionFlow.Builder builderForValue) {
+        if (executionFlowsBuilder_ == null) {
+          ensureExecutionFlowsIsMutable();
+          executionFlows_.set(index, builderForValue.build());
+          onChanged();
+        } else {
+          executionFlowsBuilder_.setMessage(index, builderForValue.build());
+        }
         return this;
       }
       /**
-       * optional string assignee = 13;
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
        */
-      public Builder setAssigneeBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00001000;
-        assignee_ = value;
-        onChanged();
+      public Builder addExecutionFlows(org.sonarqube.ws.Issues.ExecutionFlow value) {
+        if (executionFlowsBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          ensureExecutionFlowsIsMutable();
+          executionFlows_.add(value);
+          onChanged();
+        } else {
+          executionFlowsBuilder_.addMessage(value);
+        }
         return this;
       }
-
-      private java.lang.Object reporter_ = "";
       /**
-       * optional string reporter = 14;
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
        */
-      public boolean hasReporter() {
-        return ((bitField0_ & 0x00002000) == 0x00002000);
+      public Builder addExecutionFlows(
+          int index, org.sonarqube.ws.Issues.ExecutionFlow value) {
+        if (executionFlowsBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          ensureExecutionFlowsIsMutable();
+          executionFlows_.add(index, value);
+          onChanged();
+        } else {
+          executionFlowsBuilder_.addMessage(index, value);
+        }
+        return this;
       }
       /**
-       * optional string reporter = 14;
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
        */
-      public java.lang.String getReporter() {
-        java.lang.Object ref = reporter_;
-        if (!(ref instanceof java.lang.String)) {
-          com.google.protobuf.ByteString bs =
-              (com.google.protobuf.ByteString) ref;
-          java.lang.String s = bs.toStringUtf8();
-          if (bs.isValidUtf8()) {
-            reporter_ = s;
-          }
-          return s;
+      public Builder addExecutionFlows(
+          org.sonarqube.ws.Issues.ExecutionFlow.Builder builderForValue) {
+        if (executionFlowsBuilder_ == null) {
+          ensureExecutionFlowsIsMutable();
+          executionFlows_.add(builderForValue.build());
+          onChanged();
         } else {
-          return (java.lang.String) ref;
+          executionFlowsBuilder_.addMessage(builderForValue.build());
         }
+        return this;
       }
       /**
-       * optional string reporter = 14;
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
        */
-      public com.google.protobuf.ByteString
-          getReporterBytes() {
-        java.lang.Object ref = reporter_;
+      public Builder addExecutionFlows(
+          int index, org.sonarqube.ws.Issues.ExecutionFlow.Builder builderForValue) {
+        if (executionFlowsBuilder_ == null) {
+          ensureExecutionFlowsIsMutable();
+          executionFlows_.add(index, builderForValue.build());
+          onChanged();
+        } else {
+          executionFlowsBuilder_.addMessage(index, builderForValue.build());
+        }
+        return this;
+      }
+      /**
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+       */
+      public Builder addAllExecutionFlows(
+          java.lang.Iterable values) {
+        if (executionFlowsBuilder_ == null) {
+          ensureExecutionFlowsIsMutable();
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, executionFlows_);
+          onChanged();
+        } else {
+          executionFlowsBuilder_.addAllMessages(values);
+        }
+        return this;
+      }
+      /**
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+       */
+      public Builder clearExecutionFlows() {
+        if (executionFlowsBuilder_ == null) {
+          executionFlows_ = java.util.Collections.emptyList();
+          bitField0_ = (bitField0_ & ~0x00000400);
+          onChanged();
+        } else {
+          executionFlowsBuilder_.clear();
+        }
+        return this;
+      }
+      /**
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+       */
+      public Builder removeExecutionFlows(int index) {
+        if (executionFlowsBuilder_ == null) {
+          ensureExecutionFlowsIsMutable();
+          executionFlows_.remove(index);
+          onChanged();
+        } else {
+          executionFlowsBuilder_.remove(index);
+        }
+        return this;
+      }
+      /**
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+       */
+      public org.sonarqube.ws.Issues.ExecutionFlow.Builder getExecutionFlowsBuilder(
+          int index) {
+        return getExecutionFlowsFieldBuilder().getBuilder(index);
+      }
+      /**
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+       */
+      public org.sonarqube.ws.Issues.ExecutionFlowOrBuilder getExecutionFlowsOrBuilder(
+          int index) {
+        if (executionFlowsBuilder_ == null) {
+          return executionFlows_.get(index);  } else {
+          return executionFlowsBuilder_.getMessageOrBuilder(index);
+        }
+      }
+      /**
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+       */
+      public java.util.List 
+           getExecutionFlowsOrBuilderList() {
+        if (executionFlowsBuilder_ != null) {
+          return executionFlowsBuilder_.getMessageOrBuilderList();
+        } else {
+          return java.util.Collections.unmodifiableList(executionFlows_);
+        }
+      }
+      /**
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+       */
+      public org.sonarqube.ws.Issues.ExecutionFlow.Builder addExecutionFlowsBuilder() {
+        return getExecutionFlowsFieldBuilder().addBuilder(
+            org.sonarqube.ws.Issues.ExecutionFlow.getDefaultInstance());
+      }
+      /**
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+       */
+      public org.sonarqube.ws.Issues.ExecutionFlow.Builder addExecutionFlowsBuilder(
+          int index) {
+        return getExecutionFlowsFieldBuilder().addBuilder(
+            index, org.sonarqube.ws.Issues.ExecutionFlow.getDefaultInstance());
+      }
+      /**
+       * repeated .sonarqube.ws.issues.ExecutionFlow executionFlows = 11;
+       */
+      public java.util.List 
+           getExecutionFlowsBuilderList() {
+        return getExecutionFlowsFieldBuilder().getBuilderList();
+      }
+      private com.google.protobuf.RepeatedFieldBuilder<
+          org.sonarqube.ws.Issues.ExecutionFlow, org.sonarqube.ws.Issues.ExecutionFlow.Builder, org.sonarqube.ws.Issues.ExecutionFlowOrBuilder> 
+          getExecutionFlowsFieldBuilder() {
+        if (executionFlowsBuilder_ == null) {
+          executionFlowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+              org.sonarqube.ws.Issues.ExecutionFlow, org.sonarqube.ws.Issues.ExecutionFlow.Builder, org.sonarqube.ws.Issues.ExecutionFlowOrBuilder>(
+                  executionFlows_,
+                  ((bitField0_ & 0x00000400) == 0x00000400),
+                  getParentForChildren(),
+                  isClean());
+          executionFlows_ = null;
+        }
+        return executionFlowsBuilder_;
+      }
+
+      private java.lang.Object resolution_ = "";
+      /**
+       * optional string resolution = 12;
+       */
+      public boolean hasResolution() {
+        return ((bitField0_ & 0x00000800) == 0x00000800);
+      }
+      /**
+       * optional string resolution = 12;
+       */
+      public java.lang.String getResolution() {
+        java.lang.Object ref = resolution_;
+        if (!(ref instanceof java.lang.String)) {
+          com.google.protobuf.ByteString bs =
+              (com.google.protobuf.ByteString) ref;
+          java.lang.String s = bs.toStringUtf8();
+          if (bs.isValidUtf8()) {
+            resolution_ = s;
+          }
+          return s;
+        } else {
+          return (java.lang.String) ref;
+        }
+      }
+      /**
+       * optional string resolution = 12;
+       */
+      public com.google.protobuf.ByteString
+          getResolutionBytes() {
+        java.lang.Object ref = resolution_;
         if (ref instanceof String) {
           com.google.protobuf.ByteString b = 
               com.google.protobuf.ByteString.copyFromUtf8(
                   (java.lang.String) ref);
-          reporter_ = b;
+          resolution_ = b;
           return b;
         } else {
           return (com.google.protobuf.ByteString) ref;
         }
       }
       /**
-       * optional string reporter = 14;
+       * optional string resolution = 12;
        */
-      public Builder setReporter(
+      public Builder setResolution(
           java.lang.String value) {
         if (value == null) {
     throw new NullPointerException();
   }
-  bitField0_ |= 0x00002000;
-        reporter_ = value;
+  bitField0_ |= 0x00000800;
+        resolution_ = value;
         onChanged();
         return this;
       }
       /**
-       * optional string reporter = 14;
+       * optional string resolution = 12;
        */
-      public Builder clearReporter() {
-        bitField0_ = (bitField0_ & ~0x00002000);
-        reporter_ = getDefaultInstance().getReporter();
+      public Builder clearResolution() {
+        bitField0_ = (bitField0_ & ~0x00000800);
+        resolution_ = getDefaultInstance().getResolution();
         onChanged();
         return this;
       }
       /**
-       * optional string reporter = 14;
+       * optional string resolution = 12;
        */
-      public Builder setReporterBytes(
+      public Builder setResolutionBytes(
           com.google.protobuf.ByteString value) {
         if (value == null) {
     throw new NullPointerException();
   }
-  bitField0_ |= 0x00002000;
-        reporter_ = value;
+  bitField0_ |= 0x00000800;
+        resolution_ = value;
         onChanged();
         return this;
       }
 
-      private java.lang.Object author_ = "";
+      private java.lang.Object status_ = "";
       /**
-       * optional string author = 15;
-       *
-       * 
-       * SCM login of the committer who introduced the issue
-       * 
+ * optional string status = 13; */ - public boolean hasAuthor() { - return ((bitField0_ & 0x00004000) == 0x00004000); + public boolean hasStatus() { + return ((bitField0_ & 0x00001000) == 0x00001000); } /** - * optional string author = 15; - * - *
-       * SCM login of the committer who introduced the issue
-       * 
+ * optional string status = 13; */ - public java.lang.String getAuthor() { - java.lang.Object ref = author_; + public java.lang.String getStatus() { + java.lang.Object ref = status_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - author_ = s; + status_ = s; } return s; } else { @@ -9277,91 +9682,75 @@ public final class Issues { } } /** - * optional string author = 15; - * - *
-       * SCM login of the committer who introduced the issue
-       * 
+ * optional string status = 13; */ public com.google.protobuf.ByteString - getAuthorBytes() { - java.lang.Object ref = author_; + getStatusBytes() { + java.lang.Object ref = status_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - author_ = b; + status_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - * optional string author = 15; - * - *
-       * SCM login of the committer who introduced the issue
-       * 
+ * optional string status = 13; */ - public Builder setAuthor( + public Builder setStatus( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00004000; - author_ = value; + bitField0_ |= 0x00001000; + status_ = value; onChanged(); return this; } /** - * optional string author = 15; - * - *
-       * SCM login of the committer who introduced the issue
-       * 
+ * optional string status = 13; */ - public Builder clearAuthor() { - bitField0_ = (bitField0_ & ~0x00004000); - author_ = getDefaultInstance().getAuthor(); + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00001000); + status_ = getDefaultInstance().getStatus(); onChanged(); return this; } /** - * optional string author = 15; - * - *
-       * SCM login of the committer who introduced the issue
-       * 
+ * optional string status = 13; */ - public Builder setAuthorBytes( + public Builder setStatusBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00004000; - author_ = value; + bitField0_ |= 0x00001000; + status_ = value; onChanged(); return this; } - private java.lang.Object actionPlan_ = ""; + private java.lang.Object message_ = ""; /** - * optional string actionPlan = 16; + * optional string message = 14; */ - public boolean hasActionPlan() { - return ((bitField0_ & 0x00008000) == 0x00008000); + public boolean hasMessage() { + return ((bitField0_ & 0x00002000) == 0x00002000); } /** - * optional string actionPlan = 16; + * optional string message = 14; */ - public java.lang.String getActionPlan() { - java.lang.Object ref = actionPlan_; + public java.lang.String getMessage() { + java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - actionPlan_ = s; + message_ = s; } return s; } else { @@ -9369,75 +9758,75 @@ public final class Issues { } } /** - * optional string actionPlan = 16; + * optional string message = 14; */ public com.google.protobuf.ByteString - getActionPlanBytes() { - java.lang.Object ref = actionPlan_; + getMessageBytes() { + java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - actionPlan_ = b; + message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - * optional string actionPlan = 16; + * optional string message = 14; */ - public Builder setActionPlan( + public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00008000; - actionPlan_ = value; + bitField0_ |= 0x00002000; + message_ = value; onChanged(); return this; } /** - * optional string actionPlan = 16; + * optional string message = 14; */ - public Builder clearActionPlan() { - bitField0_ = (bitField0_ & ~0x00008000); - actionPlan_ = getDefaultInstance().getActionPlan(); + public Builder clearMessage() { + bitField0_ = (bitField0_ & ~0x00002000); + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** - * optional string actionPlan = 16; + * optional string message = 14; */ - public Builder setActionPlanBytes( + public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00008000; - actionPlan_ = value; + bitField0_ |= 0x00002000; + message_ = value; onChanged(); return this; } - private java.lang.Object actionPlanName_ = ""; + private java.lang.Object debt_ = ""; /** - * optional string actionPlanName = 17; + * optional string debt = 15; */ - public boolean hasActionPlanName() { - return ((bitField0_ & 0x00010000) == 0x00010000); + public boolean hasDebt() { + return ((bitField0_ & 0x00004000) == 0x00004000); } /** - * optional string actionPlanName = 17; + * optional string debt = 15; */ - public java.lang.String getActionPlanName() { - java.lang.Object ref = actionPlanName_; + public java.lang.String getDebt() { + java.lang.Object ref = debt_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - actionPlanName_ = s; + debt_ = s; } return s; } else { @@ -9445,75 +9834,75 @@ public final class Issues { } } /** - * optional string actionPlanName = 17; + * optional string debt = 15; */ public com.google.protobuf.ByteString - getActionPlanNameBytes() { - java.lang.Object ref = actionPlanName_; + getDebtBytes() { + java.lang.Object ref = debt_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - actionPlanName_ = b; + debt_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - * optional string actionPlanName = 17; + * optional string debt = 15; */ - public Builder setActionPlanName( + public Builder setDebt( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00010000; - actionPlanName_ = value; + bitField0_ |= 0x00004000; + debt_ = value; onChanged(); return this; } /** - * optional string actionPlanName = 17; + * optional string debt = 15; */ - public Builder clearActionPlanName() { - bitField0_ = (bitField0_ & ~0x00010000); - actionPlanName_ = getDefaultInstance().getActionPlanName(); + public Builder clearDebt() { + bitField0_ = (bitField0_ & ~0x00004000); + debt_ = getDefaultInstance().getDebt(); onChanged(); return this; } /** - * optional string actionPlanName = 17; + * optional string debt = 15; */ - public Builder setActionPlanNameBytes( + public Builder setDebtBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00010000; - actionPlanName_ = value; + bitField0_ |= 0x00004000; + debt_ = value; onChanged(); return this; } - private java.lang.Object attr_ = ""; + private java.lang.Object assignee_ = ""; /** - * optional string attr = 18; + * optional string assignee = 16; */ - public boolean hasAttr() { - return ((bitField0_ & 0x00020000) == 0x00020000); + public boolean hasAssignee() { + return ((bitField0_ & 0x00008000) == 0x00008000); } /** - * optional string attr = 18; + * optional string assignee = 16; */ - public java.lang.String getAttr() { - java.lang.Object ref = attr_; + public java.lang.String getAssignee() { + java.lang.Object ref = assignee_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - attr_ = s; + assignee_ = s; } return s; } else { @@ -9521,722 +9910,2564 @@ public final class Issues { } } /** - * optional string attr = 18; + * optional string assignee = 16; */ public com.google.protobuf.ByteString - getAttrBytes() { - java.lang.Object ref = attr_; + getAssigneeBytes() { + java.lang.Object ref = assignee_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - attr_ = b; + assignee_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - * optional string attr = 18; + * optional string assignee = 16; */ - public Builder setAttr( + public Builder setAssignee( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00020000; - attr_ = value; + bitField0_ |= 0x00008000; + assignee_ = value; onChanged(); return this; } /** - * optional string attr = 18; + * optional string assignee = 16; */ - public Builder clearAttr() { - bitField0_ = (bitField0_ & ~0x00020000); - attr_ = getDefaultInstance().getAttr(); + public Builder clearAssignee() { + bitField0_ = (bitField0_ & ~0x00008000); + assignee_ = getDefaultInstance().getAssignee(); onChanged(); return this; } /** - * optional string attr = 18; + * optional string assignee = 16; */ - public Builder setAttrBytes( + public Builder setAssigneeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00020000; - attr_ = value; + bitField0_ |= 0x00008000; + assignee_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTagsIsMutable() { - if (!((bitField0_ & 0x00040000) == 0x00040000)) { - tags_ = new com.google.protobuf.LazyStringArrayList(tags_); - bitField0_ |= 0x00040000; - } - } + private java.lang.Object reporter_ = ""; /** - * repeated string tags = 19; + * optional string reporter = 17; */ - public com.google.protobuf.ProtocolStringList - getTagsList() { - return tags_.getUnmodifiableView(); - } - /** - * repeated string tags = 19; - */ - public int getTagsCount() { - return tags_.size(); + public boolean hasReporter() { + return ((bitField0_ & 0x00010000) == 0x00010000); } /** - * repeated string tags = 19; + * optional string reporter = 17; */ - public java.lang.String getTags(int index) { - return tags_.get(index); + public java.lang.String getReporter() { + java.lang.Object ref = reporter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + reporter_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } } /** - * repeated string tags = 19; + * optional string reporter = 17; */ public com.google.protobuf.ByteString - getTagsBytes(int index) { - return tags_.getByteString(index); - } - /** - * repeated string tags = 19; - */ - public Builder setTags( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.set(index, value); - onChanged(); - return this; + getReporterBytes() { + java.lang.Object ref = reporter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + reporter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } /** - * repeated string tags = 19; + * optional string reporter = 17; */ - public Builder addTags( + public Builder setReporter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureTagsIsMutable(); - tags_.add(value); - onChanged(); - return this; - } - /** - * repeated string tags = 19; - */ - public Builder addAllTags( - java.lang.Iterable values) { - ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + bitField0_ |= 0x00010000; + reporter_ = value; onChanged(); return this; } /** - * repeated string tags = 19; + * optional string reporter = 17; */ - public Builder clearTags() { - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00040000); + public Builder clearReporter() { + bitField0_ = (bitField0_ & ~0x00010000); + reporter_ = getDefaultInstance().getReporter(); onChanged(); return this; } /** - * repeated string tags = 19; + * optional string reporter = 17; */ - public Builder addTagsBytes( + public Builder setReporterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - ensureTagsIsMutable(); - tags_.add(value); + bitField0_ |= 0x00010000; + reporter_ = value; onChanged(); return this; } - private boolean transitionsPresentIfEmpty_ ; + private java.lang.Object author_ = ""; /** - * optional bool transitionsPresentIfEmpty = 20; + * optional string author = 18; * *
-       * the transitions allowed for the requesting user.
+       * SCM login of the committer who introduced the issue
        * 
*/ - public boolean hasTransitionsPresentIfEmpty() { - return ((bitField0_ & 0x00080000) == 0x00080000); + public boolean hasAuthor() { + return ((bitField0_ & 0x00020000) == 0x00020000); } /** - * optional bool transitionsPresentIfEmpty = 20; + * optional string author = 18; * *
-       * the transitions allowed for the requesting user.
+       * SCM login of the committer who introduced the issue
        * 
*/ - public boolean getTransitionsPresentIfEmpty() { - return transitionsPresentIfEmpty_; + public java.lang.String getAuthor() { + java.lang.Object ref = author_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + author_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } } /** - * optional bool transitionsPresentIfEmpty = 20; + * optional string author = 18; * *
-       * the transitions allowed for the requesting user.
+       * SCM login of the committer who introduced the issue
        * 
*/ - public Builder setTransitionsPresentIfEmpty(boolean value) { - bitField0_ |= 0x00080000; - transitionsPresentIfEmpty_ = value; - onChanged(); - return this; + public com.google.protobuf.ByteString + getAuthorBytes() { + java.lang.Object ref = author_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + author_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } /** - * optional bool transitionsPresentIfEmpty = 20; + * optional string author = 18; * *
-       * the transitions allowed for the requesting user.
+       * SCM login of the committer who introduced the issue
        * 
*/ - public Builder clearTransitionsPresentIfEmpty() { - bitField0_ = (bitField0_ & ~0x00080000); - transitionsPresentIfEmpty_ = false; + public Builder setAuthor( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00020000; + author_ = value; onChanged(); return this; } - - private com.google.protobuf.LazyStringList transitions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTransitionsIsMutable() { - if (!((bitField0_ & 0x00100000) == 0x00100000)) { - transitions_ = new com.google.protobuf.LazyStringArrayList(transitions_); - bitField0_ |= 0x00100000; - } - } /** - * repeated string transitions = 21; + * optional string author = 18; + * + *
+       * SCM login of the committer who introduced the issue
+       * 
*/ - public com.google.protobuf.ProtocolStringList - getTransitionsList() { - return transitions_.getUnmodifiableView(); + public Builder clearAuthor() { + bitField0_ = (bitField0_ & ~0x00020000); + author_ = getDefaultInstance().getAuthor(); + onChanged(); + return this; } /** - * repeated string transitions = 21; + * optional string author = 18; + * + *
+       * SCM login of the committer who introduced the issue
+       * 
*/ - public int getTransitionsCount() { - return transitions_.size(); + public Builder setAuthorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00020000; + author_ = value; + onChanged(); + return this; } + + private java.lang.Object actionPlan_ = ""; /** - * repeated string transitions = 21; + * optional string actionPlan = 19; */ - public java.lang.String getTransitions(int index) { - return transitions_.get(index); + public boolean hasActionPlan() { + return ((bitField0_ & 0x00040000) == 0x00040000); } /** - * repeated string transitions = 21; + * optional string actionPlan = 19; */ - public com.google.protobuf.ByteString - getTransitionsBytes(int index) { - return transitions_.getByteString(index); + public java.lang.String getActionPlan() { + java.lang.Object ref = actionPlan_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + actionPlan_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } } /** - * repeated string transitions = 21; + * optional string actionPlan = 19; */ - public Builder setTransitions( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTransitionsIsMutable(); - transitions_.set(index, value); - onChanged(); - return this; + public com.google.protobuf.ByteString + getActionPlanBytes() { + java.lang.Object ref = actionPlan_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + actionPlan_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } /** - * repeated string transitions = 21; + * optional string actionPlan = 19; */ - public Builder addTransitions( + public Builder setActionPlan( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureTransitionsIsMutable(); - transitions_.add(value); - onChanged(); - return this; - } - /** - * repeated string transitions = 21; - */ - public Builder addAllTransitions( - java.lang.Iterable values) { - ensureTransitionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, transitions_); + bitField0_ |= 0x00040000; + actionPlan_ = value; onChanged(); return this; } /** - * repeated string transitions = 21; + * optional string actionPlan = 19; */ - public Builder clearTransitions() { - transitions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00100000); + public Builder clearActionPlan() { + bitField0_ = (bitField0_ & ~0x00040000); + actionPlan_ = getDefaultInstance().getActionPlan(); onChanged(); return this; } /** - * repeated string transitions = 21; + * optional string actionPlan = 19; */ - public Builder addTransitionsBytes( + public Builder setActionPlanBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - ensureTransitionsIsMutable(); - transitions_.add(value); + bitField0_ |= 0x00040000; + actionPlan_ = value; onChanged(); return this; } - private boolean actionsPresentIfEmpty_ ; + private boolean tagsPresentIfEmpty_ ; /** - * optional bool actionsPresentIfEmpty = 22; - * - *
-       * the actions allowed for the requesting user.
-       * 
+ * optional bool tagsPresentIfEmpty = 20; */ - public boolean hasActionsPresentIfEmpty() { - return ((bitField0_ & 0x00200000) == 0x00200000); + public boolean hasTagsPresentIfEmpty() { + return ((bitField0_ & 0x00080000) == 0x00080000); } /** - * optional bool actionsPresentIfEmpty = 22; - * - *
-       * the actions allowed for the requesting user.
-       * 
+ * optional bool tagsPresentIfEmpty = 20; */ - public boolean getActionsPresentIfEmpty() { - return actionsPresentIfEmpty_; + public boolean getTagsPresentIfEmpty() { + return tagsPresentIfEmpty_; } /** - * optional bool actionsPresentIfEmpty = 22; - * - *
-       * the actions allowed for the requesting user.
-       * 
+ * optional bool tagsPresentIfEmpty = 20; */ - public Builder setActionsPresentIfEmpty(boolean value) { - bitField0_ |= 0x00200000; - actionsPresentIfEmpty_ = value; + public Builder setTagsPresentIfEmpty(boolean value) { + bitField0_ |= 0x00080000; + tagsPresentIfEmpty_ = value; onChanged(); return this; } /** - * optional bool actionsPresentIfEmpty = 22; - * - *
-       * the actions allowed for the requesting user.
-       * 
+ * optional bool tagsPresentIfEmpty = 20; */ - public Builder clearActionsPresentIfEmpty() { - bitField0_ = (bitField0_ & ~0x00200000); - actionsPresentIfEmpty_ = false; + public Builder clearTagsPresentIfEmpty() { + bitField0_ = (bitField0_ & ~0x00080000); + tagsPresentIfEmpty_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList actions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureActionsIsMutable() { - if (!((bitField0_ & 0x00400000) == 0x00400000)) { - actions_ = new com.google.protobuf.LazyStringArrayList(actions_); - bitField0_ |= 0x00400000; + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { + if (!((bitField0_ & 0x00100000) == 0x00100000)) { + tags_ = new com.google.protobuf.LazyStringArrayList(tags_); + bitField0_ |= 0x00100000; } } /** - * repeated string actions = 23; + * repeated string tags = 21; */ public com.google.protobuf.ProtocolStringList - getActionsList() { - return actions_.getUnmodifiableView(); + getTagsList() { + return tags_.getUnmodifiableView(); } /** - * repeated string actions = 23; + * repeated string tags = 21; */ - public int getActionsCount() { - return actions_.size(); + public int getTagsCount() { + return tags_.size(); } /** - * repeated string actions = 23; + * repeated string tags = 21; */ - public java.lang.String getActions(int index) { - return actions_.get(index); + public java.lang.String getTags(int index) { + return tags_.get(index); } /** - * repeated string actions = 23; + * repeated string tags = 21; */ public com.google.protobuf.ByteString - getActionsBytes(int index) { - return actions_.getByteString(index); + getTagsBytes(int index) { + return tags_.getByteString(index); } /** - * repeated string actions = 23; + * repeated string tags = 21; */ - public Builder setActions( + public Builder setTags( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureActionsIsMutable(); - actions_.set(index, value); + ensureTagsIsMutable(); + tags_.set(index, value); onChanged(); return this; } /** - * repeated string actions = 23; + * repeated string tags = 21; */ - public Builder addActions( + public Builder addTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureActionsIsMutable(); - actions_.add(value); + ensureTagsIsMutable(); + tags_.add(value); onChanged(); return this; } /** - * repeated string actions = 23; + * repeated string tags = 21; */ - public Builder addAllActions( + public Builder addAllTags( java.lang.Iterable values) { - ensureActionsIsMutable(); + ensureTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, actions_); + values, tags_); onChanged(); return this; } /** - * repeated string actions = 23; + * repeated string tags = 21; */ - public Builder clearActions() { - actions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00400000); + public Builder clearTags() { + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00100000); onChanged(); return this; } /** - * repeated string actions = 23; + * repeated string tags = 21; */ - public Builder addActionsBytes( + public Builder addTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - ensureActionsIsMutable(); - actions_.add(value); + ensureTagsIsMutable(); + tags_.add(value); onChanged(); return this; } - private boolean commentsPresentIfEmpty_ ; + private boolean transitionsPresentIfEmpty_ ; /** - * optional bool commentsPresentIfEmpty = 24; + * optional bool transitionsPresentIfEmpty = 22; + * + *
+       * the transitions allowed for the requesting user.
+       * 
*/ - public boolean hasCommentsPresentIfEmpty() { - return ((bitField0_ & 0x00800000) == 0x00800000); + public boolean hasTransitionsPresentIfEmpty() { + return ((bitField0_ & 0x00200000) == 0x00200000); } /** - * optional bool commentsPresentIfEmpty = 24; + * optional bool transitionsPresentIfEmpty = 22; + * + *
+       * the transitions allowed for the requesting user.
+       * 
*/ - public boolean getCommentsPresentIfEmpty() { - return commentsPresentIfEmpty_; + public boolean getTransitionsPresentIfEmpty() { + return transitionsPresentIfEmpty_; } /** - * optional bool commentsPresentIfEmpty = 24; + * optional bool transitionsPresentIfEmpty = 22; + * + *
+       * the transitions allowed for the requesting user.
+       * 
*/ - public Builder setCommentsPresentIfEmpty(boolean value) { - bitField0_ |= 0x00800000; - commentsPresentIfEmpty_ = value; + public Builder setTransitionsPresentIfEmpty(boolean value) { + bitField0_ |= 0x00200000; + transitionsPresentIfEmpty_ = value; onChanged(); return this; } /** - * optional bool commentsPresentIfEmpty = 24; + * optional bool transitionsPresentIfEmpty = 22; + * + *
+       * the transitions allowed for the requesting user.
+       * 
*/ - public Builder clearCommentsPresentIfEmpty() { - bitField0_ = (bitField0_ & ~0x00800000); - commentsPresentIfEmpty_ = false; + public Builder clearTransitionsPresentIfEmpty() { + bitField0_ = (bitField0_ & ~0x00200000); + transitionsPresentIfEmpty_ = false; onChanged(); return this; } - private java.util.List comments_ = - java.util.Collections.emptyList(); - private void ensureCommentsIsMutable() { - if (!((bitField0_ & 0x01000000) == 0x01000000)) { - comments_ = new java.util.ArrayList(comments_); - bitField0_ |= 0x01000000; + private com.google.protobuf.LazyStringList transitions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTransitionsIsMutable() { + if (!((bitField0_ & 0x00400000) == 0x00400000)) { + transitions_ = new com.google.protobuf.LazyStringArrayList(transitions_); + bitField0_ |= 0x00400000; } } - - private com.google.protobuf.RepeatedFieldBuilder< - org.sonarqube.ws.Issues.Comment, org.sonarqube.ws.Issues.Comment.Builder, org.sonarqube.ws.Issues.CommentOrBuilder> commentsBuilder_; - /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated string transitions = 23; */ - public java.util.List getCommentsList() { - if (commentsBuilder_ == null) { - return java.util.Collections.unmodifiableList(comments_); - } else { - return commentsBuilder_.getMessageList(); - } + public com.google.protobuf.ProtocolStringList + getTransitionsList() { + return transitions_.getUnmodifiableView(); } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated string transitions = 23; */ - public int getCommentsCount() { - if (commentsBuilder_ == null) { - return comments_.size(); - } else { - return commentsBuilder_.getCount(); - } + public int getTransitionsCount() { + return transitions_.size(); } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated string transitions = 23; */ - public org.sonarqube.ws.Issues.Comment getComments(int index) { - if (commentsBuilder_ == null) { - return comments_.get(index); - } else { - return commentsBuilder_.getMessage(index); - } + public java.lang.String getTransitions(int index) { + return transitions_.get(index); } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated string transitions = 23; */ - public Builder setComments( - int index, org.sonarqube.ws.Issues.Comment value) { - if (commentsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureCommentsIsMutable(); - comments_.set(index, value); - onChanged(); - } else { - commentsBuilder_.setMessage(index, value); - } - return this; + public com.google.protobuf.ByteString + getTransitionsBytes(int index) { + return transitions_.getByteString(index); } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated string transitions = 23; */ - public Builder setComments( - int index, org.sonarqube.ws.Issues.Comment.Builder builderForValue) { - if (commentsBuilder_ == null) { - ensureCommentsIsMutable(); - comments_.set(index, builderForValue.build()); - onChanged(); - } else { - commentsBuilder_.setMessage(index, builderForValue.build()); - } + public Builder setTransitions( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransitionsIsMutable(); + transitions_.set(index, value); + onChanged(); return this; } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated string transitions = 23; */ - public Builder addComments(org.sonarqube.ws.Issues.Comment value) { - if (commentsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureCommentsIsMutable(); - comments_.add(value); - onChanged(); - } else { - commentsBuilder_.addMessage(value); - } + public Builder addTransitions( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransitionsIsMutable(); + transitions_.add(value); + onChanged(); return this; } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated string transitions = 23; */ - public Builder addComments( - int index, org.sonarqube.ws.Issues.Comment value) { - if (commentsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureCommentsIsMutable(); - comments_.add(index, value); - onChanged(); - } else { - commentsBuilder_.addMessage(index, value); - } + public Builder addAllTransitions( + java.lang.Iterable values) { + ensureTransitionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transitions_); + onChanged(); return this; } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated string transitions = 23; */ - public Builder addComments( - org.sonarqube.ws.Issues.Comment.Builder builderForValue) { - if (commentsBuilder_ == null) { - ensureCommentsIsMutable(); - comments_.add(builderForValue.build()); - onChanged(); - } else { - commentsBuilder_.addMessage(builderForValue.build()); - } + public Builder clearTransitions() { + transitions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00400000); + onChanged(); return this; } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated string transitions = 23; */ - public Builder addComments( - int index, org.sonarqube.ws.Issues.Comment.Builder builderForValue) { - if (commentsBuilder_ == null) { - ensureCommentsIsMutable(); - comments_.add(index, builderForValue.build()); - onChanged(); - } else { - commentsBuilder_.addMessage(index, builderForValue.build()); - } + public Builder addTransitionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransitionsIsMutable(); + transitions_.add(value); + onChanged(); return this; } + + private boolean actionsPresentIfEmpty_ ; /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * optional bool actionsPresentIfEmpty = 24; + * + *
+       * the actions allowed for the requesting user.
+       * 
*/ - public Builder addAllComments( - java.lang.Iterable values) { - if (commentsBuilder_ == null) { - ensureCommentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, comments_); - onChanged(); + public boolean hasActionsPresentIfEmpty() { + return ((bitField0_ & 0x00800000) == 0x00800000); + } + /** + * optional bool actionsPresentIfEmpty = 24; + * + *
+       * the actions allowed for the requesting user.
+       * 
+ */ + public boolean getActionsPresentIfEmpty() { + return actionsPresentIfEmpty_; + } + /** + * optional bool actionsPresentIfEmpty = 24; + * + *
+       * the actions allowed for the requesting user.
+       * 
+ */ + public Builder setActionsPresentIfEmpty(boolean value) { + bitField0_ |= 0x00800000; + actionsPresentIfEmpty_ = value; + onChanged(); + return this; + } + /** + * optional bool actionsPresentIfEmpty = 24; + * + *
+       * the actions allowed for the requesting user.
+       * 
+ */ + public Builder clearActionsPresentIfEmpty() { + bitField0_ = (bitField0_ & ~0x00800000); + actionsPresentIfEmpty_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList actions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureActionsIsMutable() { + if (!((bitField0_ & 0x01000000) == 0x01000000)) { + actions_ = new com.google.protobuf.LazyStringArrayList(actions_); + bitField0_ |= 0x01000000; + } + } + /** + * repeated string actions = 25; + */ + public com.google.protobuf.ProtocolStringList + getActionsList() { + return actions_.getUnmodifiableView(); + } + /** + * repeated string actions = 25; + */ + public int getActionsCount() { + return actions_.size(); + } + /** + * repeated string actions = 25; + */ + public java.lang.String getActions(int index) { + return actions_.get(index); + } + /** + * repeated string actions = 25; + */ + public com.google.protobuf.ByteString + getActionsBytes(int index) { + return actions_.getByteString(index); + } + /** + * repeated string actions = 25; + */ + public Builder setActions( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureActionsIsMutable(); + actions_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string actions = 25; + */ + public Builder addActions( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureActionsIsMutable(); + actions_.add(value); + onChanged(); + return this; + } + /** + * repeated string actions = 25; + */ + public Builder addAllActions( + java.lang.Iterable values) { + ensureActionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, actions_); + onChanged(); + return this; + } + /** + * repeated string actions = 25; + */ + public Builder clearActions() { + actions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x01000000); + onChanged(); + return this; + } + /** + * repeated string actions = 25; + */ + public Builder addActionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureActionsIsMutable(); + actions_.add(value); + onChanged(); + return this; + } + + private boolean commentsPresentIfEmpty_ ; + /** + * optional bool commentsPresentIfEmpty = 26; + */ + public boolean hasCommentsPresentIfEmpty() { + return ((bitField0_ & 0x02000000) == 0x02000000); + } + /** + * optional bool commentsPresentIfEmpty = 26; + */ + public boolean getCommentsPresentIfEmpty() { + return commentsPresentIfEmpty_; + } + /** + * optional bool commentsPresentIfEmpty = 26; + */ + public Builder setCommentsPresentIfEmpty(boolean value) { + bitField0_ |= 0x02000000; + commentsPresentIfEmpty_ = value; + onChanged(); + return this; + } + /** + * optional bool commentsPresentIfEmpty = 26; + */ + public Builder clearCommentsPresentIfEmpty() { + bitField0_ = (bitField0_ & ~0x02000000); + commentsPresentIfEmpty_ = false; + onChanged(); + return this; + } + + private java.util.List comments_ = + java.util.Collections.emptyList(); + private void ensureCommentsIsMutable() { + if (!((bitField0_ & 0x04000000) == 0x04000000)) { + comments_ = new java.util.ArrayList(comments_); + bitField0_ |= 0x04000000; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + org.sonarqube.ws.Issues.Comment, org.sonarqube.ws.Issues.Comment.Builder, org.sonarqube.ws.Issues.CommentOrBuilder> commentsBuilder_; + + /** + * repeated .sonarqube.ws.issues.Comment comments = 27; + */ + public java.util.List getCommentsList() { + if (commentsBuilder_ == null) { + return java.util.Collections.unmodifiableList(comments_); } else { - commentsBuilder_.addAllMessages(values); + return commentsBuilder_.getMessageList(); } - return this; } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated .sonarqube.ws.issues.Comment comments = 27; */ - public Builder clearComments() { + public int getCommentsCount() { if (commentsBuilder_ == null) { - comments_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x01000000); - onChanged(); + return comments_.size(); } else { - commentsBuilder_.clear(); + return commentsBuilder_.getCount(); } - return this; } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated .sonarqube.ws.issues.Comment comments = 27; */ - public Builder removeComments(int index) { + public org.sonarqube.ws.Issues.Comment getComments(int index) { + if (commentsBuilder_ == null) { + return comments_.get(index); + } else { + return commentsBuilder_.getMessage(index); + } + } + /** + * repeated .sonarqube.ws.issues.Comment comments = 27; + */ + public Builder setComments( + int index, org.sonarqube.ws.Issues.Comment value) { if (commentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } ensureCommentsIsMutable(); - comments_.remove(index); + comments_.set(index, value); onChanged(); } else { - commentsBuilder_.remove(index); + commentsBuilder_.setMessage(index, value); } return this; } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated .sonarqube.ws.issues.Comment comments = 27; */ - public org.sonarqube.ws.Issues.Comment.Builder getCommentsBuilder( - int index) { - return getCommentsFieldBuilder().getBuilder(index); + public Builder setComments( + int index, org.sonarqube.ws.Issues.Comment.Builder builderForValue) { + if (commentsBuilder_ == null) { + ensureCommentsIsMutable(); + comments_.set(index, builderForValue.build()); + onChanged(); + } else { + commentsBuilder_.setMessage(index, builderForValue.build()); + } + return this; } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated .sonarqube.ws.issues.Comment comments = 27; */ - public org.sonarqube.ws.Issues.CommentOrBuilder getCommentsOrBuilder( - int index) { + public Builder addComments(org.sonarqube.ws.Issues.Comment value) { if (commentsBuilder_ == null) { - return comments_.get(index); } else { - return commentsBuilder_.getMessageOrBuilder(index); + if (value == null) { + throw new NullPointerException(); + } + ensureCommentsIsMutable(); + comments_.add(value); + onChanged(); + } else { + commentsBuilder_.addMessage(value); } + return this; } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated .sonarqube.ws.issues.Comment comments = 27; */ - public java.util.List - getCommentsOrBuilderList() { - if (commentsBuilder_ != null) { - return commentsBuilder_.getMessageOrBuilderList(); + public Builder addComments( + int index, org.sonarqube.ws.Issues.Comment value) { + if (commentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCommentsIsMutable(); + comments_.add(index, value); + onChanged(); } else { - return java.util.Collections.unmodifiableList(comments_); + commentsBuilder_.addMessage(index, value); } + return this; } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated .sonarqube.ws.issues.Comment comments = 27; */ - public org.sonarqube.ws.Issues.Comment.Builder addCommentsBuilder() { - return getCommentsFieldBuilder().addBuilder( - org.sonarqube.ws.Issues.Comment.getDefaultInstance()); + public Builder addComments( + org.sonarqube.ws.Issues.Comment.Builder builderForValue) { + if (commentsBuilder_ == null) { + ensureCommentsIsMutable(); + comments_.add(builderForValue.build()); + onChanged(); + } else { + commentsBuilder_.addMessage(builderForValue.build()); + } + return this; } /** - * repeated .sonarqube.ws.issues.Comment comments = 25; + * repeated .sonarqube.ws.issues.Comment comments = 27; */ - public org.sonarqube.ws.Issues.Comment.Builder addCommentsBuilder( - int index) { - return getCommentsFieldBuilder().addBuilder( - index, org.sonarqube.ws.Issues.Comment.getDefaultInstance()); + public Builder addComments( + int index, org.sonarqube.ws.Issues.Comment.Builder builderForValue) { + if (commentsBuilder_ == null) { + ensureCommentsIsMutable(); + comments_.add(index, builderForValue.build()); + onChanged(); + } else { + commentsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .sonarqube.ws.issues.Comment comments = 27; + */ + public Builder addAllComments( + java.lang.Iterable values) { + if (commentsBuilder_ == null) { + ensureCommentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, comments_); + onChanged(); + } else { + commentsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .sonarqube.ws.issues.Comment comments = 27; + */ + public Builder clearComments() { + if (commentsBuilder_ == null) { + comments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x04000000); + onChanged(); + } else { + commentsBuilder_.clear(); + } + return this; + } + /** + * repeated .sonarqube.ws.issues.Comment comments = 27; + */ + public Builder removeComments(int index) { + if (commentsBuilder_ == null) { + ensureCommentsIsMutable(); + comments_.remove(index); + onChanged(); + } else { + commentsBuilder_.remove(index); + } + return this; + } + /** + * repeated .sonarqube.ws.issues.Comment comments = 27; + */ + public org.sonarqube.ws.Issues.Comment.Builder getCommentsBuilder( + int index) { + return getCommentsFieldBuilder().getBuilder(index); + } + /** + * repeated .sonarqube.ws.issues.Comment comments = 27; + */ + public org.sonarqube.ws.Issues.CommentOrBuilder getCommentsOrBuilder( + int index) { + if (commentsBuilder_ == null) { + return comments_.get(index); } else { + return commentsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .sonarqube.ws.issues.Comment comments = 27; + */ + public java.util.List + getCommentsOrBuilderList() { + if (commentsBuilder_ != null) { + return commentsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(comments_); + } + } + /** + * repeated .sonarqube.ws.issues.Comment comments = 27; + */ + public org.sonarqube.ws.Issues.Comment.Builder addCommentsBuilder() { + return getCommentsFieldBuilder().addBuilder( + org.sonarqube.ws.Issues.Comment.getDefaultInstance()); + } + /** + * repeated .sonarqube.ws.issues.Comment comments = 27; + */ + public org.sonarqube.ws.Issues.Comment.Builder addCommentsBuilder( + int index) { + return getCommentsFieldBuilder().addBuilder( + index, org.sonarqube.ws.Issues.Comment.getDefaultInstance()); + } + /** + * repeated .sonarqube.ws.issues.Comment comments = 27; + */ + public java.util.List + getCommentsBuilderList() { + return getCommentsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + org.sonarqube.ws.Issues.Comment, org.sonarqube.ws.Issues.Comment.Builder, org.sonarqube.ws.Issues.CommentOrBuilder> + getCommentsFieldBuilder() { + if (commentsBuilder_ == null) { + commentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + org.sonarqube.ws.Issues.Comment, org.sonarqube.ws.Issues.Comment.Builder, org.sonarqube.ws.Issues.CommentOrBuilder>( + comments_, + ((bitField0_ & 0x04000000) == 0x04000000), + getParentForChildren(), + isClean()); + comments_ = null; + } + return commentsBuilder_; + } + + private java.lang.Object creationDate_ = ""; + /** + * optional string creationDate = 28; + */ + public boolean hasCreationDate() { + return ((bitField0_ & 0x08000000) == 0x08000000); + } + /** + * optional string creationDate = 28; + */ + public java.lang.String getCreationDate() { + java.lang.Object ref = creationDate_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + creationDate_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string creationDate = 28; + */ + public com.google.protobuf.ByteString + getCreationDateBytes() { + java.lang.Object ref = creationDate_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + creationDate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string creationDate = 28; + */ + public Builder setCreationDate( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x08000000; + creationDate_ = value; + onChanged(); + return this; + } + /** + * optional string creationDate = 28; + */ + public Builder clearCreationDate() { + bitField0_ = (bitField0_ & ~0x08000000); + creationDate_ = getDefaultInstance().getCreationDate(); + onChanged(); + return this; + } + /** + * optional string creationDate = 28; + */ + public Builder setCreationDateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x08000000; + creationDate_ = value; + onChanged(); + return this; + } + + private java.lang.Object updateDate_ = ""; + /** + * optional string updateDate = 29; + */ + public boolean hasUpdateDate() { + return ((bitField0_ & 0x10000000) == 0x10000000); + } + /** + * optional string updateDate = 29; + */ + public java.lang.String getUpdateDate() { + java.lang.Object ref = updateDate_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + updateDate_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string updateDate = 29; + */ + public com.google.protobuf.ByteString + getUpdateDateBytes() { + java.lang.Object ref = updateDate_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + updateDate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string updateDate = 29; + */ + public Builder setUpdateDate( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x10000000; + updateDate_ = value; + onChanged(); + return this; + } + /** + * optional string updateDate = 29; + */ + public Builder clearUpdateDate() { + bitField0_ = (bitField0_ & ~0x10000000); + updateDate_ = getDefaultInstance().getUpdateDate(); + onChanged(); + return this; + } + /** + * optional string updateDate = 29; + */ + public Builder setUpdateDateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x10000000; + updateDate_ = value; + onChanged(); + return this; + } + + private java.lang.Object fUpdateAge_ = ""; + /** + * optional string fUpdateAge = 30; + */ + public boolean hasFUpdateAge() { + return ((bitField0_ & 0x20000000) == 0x20000000); + } + /** + * optional string fUpdateAge = 30; + */ + public java.lang.String getFUpdateAge() { + java.lang.Object ref = fUpdateAge_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + fUpdateAge_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string fUpdateAge = 30; + */ + public com.google.protobuf.ByteString + getFUpdateAgeBytes() { + java.lang.Object ref = fUpdateAge_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fUpdateAge_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string fUpdateAge = 30; + */ + public Builder setFUpdateAge( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x20000000; + fUpdateAge_ = value; + onChanged(); + return this; + } + /** + * optional string fUpdateAge = 30; + */ + public Builder clearFUpdateAge() { + bitField0_ = (bitField0_ & ~0x20000000); + fUpdateAge_ = getDefaultInstance().getFUpdateAge(); + onChanged(); + return this; + } + /** + * optional string fUpdateAge = 30; + */ + public Builder setFUpdateAgeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x20000000; + fUpdateAge_ = value; + onChanged(); + return this; + } + + private java.lang.Object closeDate_ = ""; + /** + * optional string closeDate = 31; + */ + public boolean hasCloseDate() { + return ((bitField0_ & 0x40000000) == 0x40000000); + } + /** + * optional string closeDate = 31; + */ + public java.lang.String getCloseDate() { + java.lang.Object ref = closeDate_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + closeDate_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string closeDate = 31; + */ + public com.google.protobuf.ByteString + getCloseDateBytes() { + java.lang.Object ref = closeDate_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + closeDate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string closeDate = 31; + */ + public Builder setCloseDate( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x40000000; + closeDate_ = value; + onChanged(); + return this; + } + /** + * optional string closeDate = 31; + */ + public Builder clearCloseDate() { + bitField0_ = (bitField0_ & ~0x40000000); + closeDate_ = getDefaultInstance().getCloseDate(); + onChanged(); + return this; + } + /** + * optional string closeDate = 31; + */ + public Builder setCloseDateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x40000000; + closeDate_ = value; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.Issue) + } + + static { + defaultInstance = new Issue(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Issue) + } + + public interface ExecutionFlowOrBuilder extends + // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.ExecutionFlow) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + java.util.List + getLocationsList(); + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + org.sonarqube.ws.Issues.Location getLocations(int index); + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + int getLocationsCount(); + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + java.util.List + getLocationsOrBuilderList(); + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + org.sonarqube.ws.Issues.LocationOrBuilder getLocationsOrBuilder( + int index); + } + /** + * Protobuf type {@code sonarqube.ws.issues.ExecutionFlow} + */ + public static final class ExecutionFlow extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.ExecutionFlow) + ExecutionFlowOrBuilder { + // Use ExecutionFlow.newBuilder() to construct. + private ExecutionFlow(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private ExecutionFlow(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final ExecutionFlow defaultInstance; + public static ExecutionFlow getDefaultInstance() { + return defaultInstance; + } + + public ExecutionFlow getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExecutionFlow( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + locations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + locations_.add(input.readMessage(org.sonarqube.ws.Issues.Location.PARSER, extensionRegistry)); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + locations_ = java.util.Collections.unmodifiableList(locations_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ExecutionFlow_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ExecutionFlow_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.sonarqube.ws.Issues.ExecutionFlow.class, org.sonarqube.ws.Issues.ExecutionFlow.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ExecutionFlow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecutionFlow(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + public static final int LOCATIONS_FIELD_NUMBER = 1; + private java.util.List locations_; + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public java.util.List getLocationsList() { + return locations_; + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public java.util.List + getLocationsOrBuilderList() { + return locations_; + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public int getLocationsCount() { + return locations_.size(); + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public org.sonarqube.ws.Issues.Location getLocations(int index) { + return locations_.get(index); + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public org.sonarqube.ws.Issues.LocationOrBuilder getLocationsOrBuilder( + int index) { + return locations_.get(index); + } + + private void initFields() { + locations_ = java.util.Collections.emptyList(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + for (int i = 0; i < locations_.size(); i++) { + output.writeMessage(1, locations_.get(i)); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < locations_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, locations_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static org.sonarqube.ws.Issues.ExecutionFlow parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.sonarqube.ws.Issues.ExecutionFlow parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.sonarqube.ws.Issues.ExecutionFlow parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.sonarqube.ws.Issues.ExecutionFlow parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.sonarqube.ws.Issues.ExecutionFlow parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.sonarqube.ws.Issues.ExecutionFlow parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static org.sonarqube.ws.Issues.ExecutionFlow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static org.sonarqube.ws.Issues.ExecutionFlow parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static org.sonarqube.ws.Issues.ExecutionFlow parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.sonarqube.ws.Issues.ExecutionFlow parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(org.sonarqube.ws.Issues.ExecutionFlow prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code sonarqube.ws.issues.ExecutionFlow} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.ExecutionFlow) + org.sonarqube.ws.Issues.ExecutionFlowOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ExecutionFlow_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ExecutionFlow_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.sonarqube.ws.Issues.ExecutionFlow.class, org.sonarqube.ws.Issues.ExecutionFlow.Builder.class); + } + + // Construct using org.sonarqube.ws.Issues.ExecutionFlow.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + getLocationsFieldBuilder(); + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + if (locationsBuilder_ == null) { + locations_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + locationsBuilder_.clear(); + } + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ExecutionFlow_descriptor; + } + + public org.sonarqube.ws.Issues.ExecutionFlow getDefaultInstanceForType() { + return org.sonarqube.ws.Issues.ExecutionFlow.getDefaultInstance(); + } + + public org.sonarqube.ws.Issues.ExecutionFlow build() { + org.sonarqube.ws.Issues.ExecutionFlow result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public org.sonarqube.ws.Issues.ExecutionFlow buildPartial() { + org.sonarqube.ws.Issues.ExecutionFlow result = new org.sonarqube.ws.Issues.ExecutionFlow(this); + int from_bitField0_ = bitField0_; + if (locationsBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + locations_ = java.util.Collections.unmodifiableList(locations_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.locations_ = locations_; + } else { + result.locations_ = locationsBuilder_.build(); + } + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.sonarqube.ws.Issues.ExecutionFlow) { + return mergeFrom((org.sonarqube.ws.Issues.ExecutionFlow)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.sonarqube.ws.Issues.ExecutionFlow other) { + if (other == org.sonarqube.ws.Issues.ExecutionFlow.getDefaultInstance()) return this; + if (locationsBuilder_ == null) { + if (!other.locations_.isEmpty()) { + if (locations_.isEmpty()) { + locations_ = other.locations_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureLocationsIsMutable(); + locations_.addAll(other.locations_); + } + onChanged(); + } + } else { + if (!other.locations_.isEmpty()) { + if (locationsBuilder_.isEmpty()) { + locationsBuilder_.dispose(); + locationsBuilder_ = null; + locations_ = other.locations_; + bitField0_ = (bitField0_ & ~0x00000001); + locationsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + getLocationsFieldBuilder() : null; + } else { + locationsBuilder_.addAllMessages(other.locations_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.sonarqube.ws.Issues.ExecutionFlow parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.sonarqube.ws.Issues.ExecutionFlow) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List locations_ = + java.util.Collections.emptyList(); + private void ensureLocationsIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + locations_ = new java.util.ArrayList(locations_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + org.sonarqube.ws.Issues.Location, org.sonarqube.ws.Issues.Location.Builder, org.sonarqube.ws.Issues.LocationOrBuilder> locationsBuilder_; + + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public java.util.List getLocationsList() { + if (locationsBuilder_ == null) { + return java.util.Collections.unmodifiableList(locations_); + } else { + return locationsBuilder_.getMessageList(); + } + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public int getLocationsCount() { + if (locationsBuilder_ == null) { + return locations_.size(); + } else { + return locationsBuilder_.getCount(); + } + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public org.sonarqube.ws.Issues.Location getLocations(int index) { + if (locationsBuilder_ == null) { + return locations_.get(index); + } else { + return locationsBuilder_.getMessage(index); + } + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public Builder setLocations( + int index, org.sonarqube.ws.Issues.Location value) { + if (locationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLocationsIsMutable(); + locations_.set(index, value); + onChanged(); + } else { + locationsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public Builder setLocations( + int index, org.sonarqube.ws.Issues.Location.Builder builderForValue) { + if (locationsBuilder_ == null) { + ensureLocationsIsMutable(); + locations_.set(index, builderForValue.build()); + onChanged(); + } else { + locationsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public Builder addLocations(org.sonarqube.ws.Issues.Location value) { + if (locationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLocationsIsMutable(); + locations_.add(value); + onChanged(); + } else { + locationsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public Builder addLocations( + int index, org.sonarqube.ws.Issues.Location value) { + if (locationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLocationsIsMutable(); + locations_.add(index, value); + onChanged(); + } else { + locationsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public Builder addLocations( + org.sonarqube.ws.Issues.Location.Builder builderForValue) { + if (locationsBuilder_ == null) { + ensureLocationsIsMutable(); + locations_.add(builderForValue.build()); + onChanged(); + } else { + locationsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public Builder addLocations( + int index, org.sonarqube.ws.Issues.Location.Builder builderForValue) { + if (locationsBuilder_ == null) { + ensureLocationsIsMutable(); + locations_.add(index, builderForValue.build()); + onChanged(); + } else { + locationsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public Builder addAllLocations( + java.lang.Iterable values) { + if (locationsBuilder_ == null) { + ensureLocationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, locations_); + onChanged(); + } else { + locationsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public Builder clearLocations() { + if (locationsBuilder_ == null) { + locations_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + locationsBuilder_.clear(); + } + return this; + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public Builder removeLocations(int index) { + if (locationsBuilder_ == null) { + ensureLocationsIsMutable(); + locations_.remove(index); + onChanged(); + } else { + locationsBuilder_.remove(index); + } + return this; + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public org.sonarqube.ws.Issues.Location.Builder getLocationsBuilder( + int index) { + return getLocationsFieldBuilder().getBuilder(index); + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public org.sonarqube.ws.Issues.LocationOrBuilder getLocationsOrBuilder( + int index) { + if (locationsBuilder_ == null) { + return locations_.get(index); } else { + return locationsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public java.util.List + getLocationsOrBuilderList() { + if (locationsBuilder_ != null) { + return locationsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(locations_); + } + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public org.sonarqube.ws.Issues.Location.Builder addLocationsBuilder() { + return getLocationsFieldBuilder().addBuilder( + org.sonarqube.ws.Issues.Location.getDefaultInstance()); + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public org.sonarqube.ws.Issues.Location.Builder addLocationsBuilder( + int index) { + return getLocationsFieldBuilder().addBuilder( + index, org.sonarqube.ws.Issues.Location.getDefaultInstance()); + } + /** + * repeated .sonarqube.ws.issues.Location locations = 1; + */ + public java.util.List + getLocationsBuilderList() { + return getLocationsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + org.sonarqube.ws.Issues.Location, org.sonarqube.ws.Issues.Location.Builder, org.sonarqube.ws.Issues.LocationOrBuilder> + getLocationsFieldBuilder() { + if (locationsBuilder_ == null) { + locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + org.sonarqube.ws.Issues.Location, org.sonarqube.ws.Issues.Location.Builder, org.sonarqube.ws.Issues.LocationOrBuilder>( + locations_, + ((bitField0_ & 0x00000001) == 0x00000001), + getParentForChildren(), + isClean()); + locations_ = null; + } + return locationsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.ExecutionFlow) + } + + static { + defaultInstance = new ExecutionFlow(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.ExecutionFlow) + } + + public interface LocationOrBuilder extends + // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.Location) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string component_id = 1; + */ + boolean hasComponentId(); + /** + * optional string component_id = 1; + */ + java.lang.String getComponentId(); + /** + * optional string component_id = 1; + */ + com.google.protobuf.ByteString + getComponentIdBytes(); + + /** + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+     * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+     * 
+ */ + boolean hasTextRange(); + /** + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+     * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+     * 
+ */ + org.sonarqube.ws.Common.TextRange getTextRange(); + /** + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+     * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+     * 
+ */ + org.sonarqube.ws.Common.TextRangeOrBuilder getTextRangeOrBuilder(); + + /** + * optional string msg = 3; + */ + boolean hasMsg(); + /** + * optional string msg = 3; + */ + java.lang.String getMsg(); + /** + * optional string msg = 3; + */ + com.google.protobuf.ByteString + getMsgBytes(); + } + /** + * Protobuf type {@code sonarqube.ws.issues.Location} + */ + public static final class Location extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.Location) + LocationOrBuilder { + // Use Location.newBuilder() to construct. + private Location(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private Location(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final Location defaultInstance; + public static Location getDefaultInstance() { + return defaultInstance; + } + + public Location getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Location( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + componentId_ = bs; + break; + } + case 18: { + org.sonarqube.ws.Common.TextRange.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = textRange_.toBuilder(); + } + textRange_ = input.readMessage(org.sonarqube.ws.Common.TextRange.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(textRange_); + textRange_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000004; + msg_ = bs; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Location_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Location_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.sonarqube.ws.Issues.Location.class, org.sonarqube.ws.Issues.Location.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public Location parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Location(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + public static final int COMPONENT_ID_FIELD_NUMBER = 1; + private java.lang.Object componentId_; + /** + * optional string component_id = 1; + */ + public boolean hasComponentId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional string component_id = 1; + */ + public java.lang.String getComponentId() { + java.lang.Object ref = componentId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + componentId_ = s; + } + return s; + } + } + /** + * optional string component_id = 1; + */ + public com.google.protobuf.ByteString + getComponentIdBytes() { + java.lang.Object ref = componentId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + componentId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TEXT_RANGE_FIELD_NUMBER = 2; + private org.sonarqube.ws.Common.TextRange textRange_; + /** + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+     * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+     * 
+ */ + public boolean hasTextRange() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+     * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+     * 
+ */ + public org.sonarqube.ws.Common.TextRange getTextRange() { + return textRange_; + } + /** + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+     * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+     * 
+ */ + public org.sonarqube.ws.Common.TextRangeOrBuilder getTextRangeOrBuilder() { + return textRange_; + } + + public static final int MSG_FIELD_NUMBER = 3; + private java.lang.Object msg_; + /** + * optional string msg = 3; + */ + public boolean hasMsg() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional string msg = 3; + */ + public java.lang.String getMsg() { + java.lang.Object ref = msg_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + msg_ = s; + } + return s; + } + } + /** + * optional string msg = 3; + */ + public com.google.protobuf.ByteString + getMsgBytes() { + java.lang.Object ref = msg_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + msg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private void initFields() { + componentId_ = ""; + textRange_ = org.sonarqube.ws.Common.TextRange.getDefaultInstance(); + msg_ = ""; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeBytes(1, getComponentIdBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeMessage(2, textRange_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBytes(3, getMsgBytes()); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, getComponentIdBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, textRange_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, getMsgBytes()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static org.sonarqube.ws.Issues.Location parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.sonarqube.ws.Issues.Location parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.sonarqube.ws.Issues.Location parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.sonarqube.ws.Issues.Location parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.sonarqube.ws.Issues.Location parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.sonarqube.ws.Issues.Location parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static org.sonarqube.ws.Issues.Location parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static org.sonarqube.ws.Issues.Location parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static org.sonarqube.ws.Issues.Location parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.sonarqube.ws.Issues.Location parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(org.sonarqube.ws.Issues.Location prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code sonarqube.ws.issues.Location} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.Location) + org.sonarqube.ws.Issues.LocationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Location_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Location_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.sonarqube.ws.Issues.Location.class, org.sonarqube.ws.Issues.Location.Builder.class); + } + + // Construct using org.sonarqube.ws.Issues.Location.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + getTextRangeFieldBuilder(); + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + componentId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + if (textRangeBuilder_ == null) { + textRange_ = org.sonarqube.ws.Common.TextRange.getDefaultInstance(); + } else { + textRangeBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + msg_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Location_descriptor; + } + + public org.sonarqube.ws.Issues.Location getDefaultInstanceForType() { + return org.sonarqube.ws.Issues.Location.getDefaultInstance(); + } + + public org.sonarqube.ws.Issues.Location build() { + org.sonarqube.ws.Issues.Location result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public org.sonarqube.ws.Issues.Location buildPartial() { + org.sonarqube.ws.Issues.Location result = new org.sonarqube.ws.Issues.Location(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.componentId_ = componentId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + if (textRangeBuilder_ == null) { + result.textRange_ = textRange_; + } else { + result.textRange_ = textRangeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.msg_ = msg_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.sonarqube.ws.Issues.Location) { + return mergeFrom((org.sonarqube.ws.Issues.Location)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.sonarqube.ws.Issues.Location other) { + if (other == org.sonarqube.ws.Issues.Location.getDefaultInstance()) return this; + if (other.hasComponentId()) { + bitField0_ |= 0x00000001; + componentId_ = other.componentId_; + onChanged(); + } + if (other.hasTextRange()) { + mergeTextRange(other.getTextRange()); + } + if (other.hasMsg()) { + bitField0_ |= 0x00000004; + msg_ = other.msg_; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; } - /** - * repeated .sonarqube.ws.issues.Comment comments = 25; - */ - public java.util.List - getCommentsBuilderList() { - return getCommentsFieldBuilder().getBuilderList(); + + public final boolean isInitialized() { + return true; } - private com.google.protobuf.RepeatedFieldBuilder< - org.sonarqube.ws.Issues.Comment, org.sonarqube.ws.Issues.Comment.Builder, org.sonarqube.ws.Issues.CommentOrBuilder> - getCommentsFieldBuilder() { - if (commentsBuilder_ == null) { - commentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.sonarqube.ws.Issues.Comment, org.sonarqube.ws.Issues.Comment.Builder, org.sonarqube.ws.Issues.CommentOrBuilder>( - comments_, - ((bitField0_ & 0x01000000) == 0x01000000), - getParentForChildren(), - isClean()); - comments_ = null; + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.sonarqube.ws.Issues.Location parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.sonarqube.ws.Issues.Location) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } } - return commentsBuilder_; + return this; } + private int bitField0_; - private java.lang.Object creationDate_ = ""; + private java.lang.Object componentId_ = ""; /** - * optional string creationDate = 26; + * optional string component_id = 1; */ - public boolean hasCreationDate() { - return ((bitField0_ & 0x02000000) == 0x02000000); + public boolean hasComponentId() { + return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * optional string creationDate = 26; + * optional string component_id = 1; */ - public java.lang.String getCreationDate() { - java.lang.Object ref = creationDate_; + public java.lang.String getComponentId() { + java.lang.Object ref = componentId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - creationDate_ = s; + componentId_ = s; } return s; } else { @@ -10244,227 +12475,227 @@ public final class Issues { } } /** - * optional string creationDate = 26; + * optional string component_id = 1; */ public com.google.protobuf.ByteString - getCreationDateBytes() { - java.lang.Object ref = creationDate_; + getComponentIdBytes() { + java.lang.Object ref = componentId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - creationDate_ = b; + componentId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - * optional string creationDate = 26; + * optional string component_id = 1; */ - public Builder setCreationDate( + public Builder setComponentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x02000000; - creationDate_ = value; + bitField0_ |= 0x00000001; + componentId_ = value; onChanged(); return this; } /** - * optional string creationDate = 26; + * optional string component_id = 1; */ - public Builder clearCreationDate() { - bitField0_ = (bitField0_ & ~0x02000000); - creationDate_ = getDefaultInstance().getCreationDate(); + public Builder clearComponentId() { + bitField0_ = (bitField0_ & ~0x00000001); + componentId_ = getDefaultInstance().getComponentId(); onChanged(); return this; } /** - * optional string creationDate = 26; + * optional string component_id = 1; */ - public Builder setCreationDateBytes( + public Builder setComponentIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x02000000; - creationDate_ = value; + bitField0_ |= 0x00000001; + componentId_ = value; onChanged(); return this; } - private java.lang.Object updateDate_ = ""; + private org.sonarqube.ws.Common.TextRange textRange_ = org.sonarqube.ws.Common.TextRange.getDefaultInstance(); + private com.google.protobuf.SingleFieldBuilder< + org.sonarqube.ws.Common.TextRange, org.sonarqube.ws.Common.TextRange.Builder, org.sonarqube.ws.Common.TextRangeOrBuilder> textRangeBuilder_; /** - * optional string updateDate = 27; + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+       * 
*/ - public boolean hasUpdateDate() { - return ((bitField0_ & 0x04000000) == 0x04000000); + public boolean hasTextRange() { + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional string updateDate = 27; + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+       * 
*/ - public java.lang.String getUpdateDate() { - java.lang.Object ref = updateDate_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - updateDate_ = s; - } - return s; + public org.sonarqube.ws.Common.TextRange getTextRange() { + if (textRangeBuilder_ == null) { + return textRange_; } else { - return (java.lang.String) ref; + return textRangeBuilder_.getMessage(); } } /** - * optional string updateDate = 27; + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+       * 
*/ - public com.google.protobuf.ByteString - getUpdateDateBytes() { - java.lang.Object ref = updateDate_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - updateDate_ = b; - return b; + public Builder setTextRange(org.sonarqube.ws.Common.TextRange value) { + if (textRangeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + textRange_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + textRangeBuilder_.setMessage(value); } - } - /** - * optional string updateDate = 27; - */ - public Builder setUpdateDate( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x04000000; - updateDate_ = value; - onChanged(); - return this; - } - /** - * optional string updateDate = 27; - */ - public Builder clearUpdateDate() { - bitField0_ = (bitField0_ & ~0x04000000); - updateDate_ = getDefaultInstance().getUpdateDate(); - onChanged(); + bitField0_ |= 0x00000002; return this; } /** - * optional string updateDate = 27; + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+       * 
*/ - public Builder setUpdateDateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x04000000; - updateDate_ = value; - onChanged(); + public Builder setTextRange( + org.sonarqube.ws.Common.TextRange.Builder builderForValue) { + if (textRangeBuilder_ == null) { + textRange_ = builderForValue.build(); + onChanged(); + } else { + textRangeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; return this; } - - private java.lang.Object fUpdateAge_ = ""; - /** - * optional string fUpdateAge = 28; - */ - public boolean hasFUpdateAge() { - return ((bitField0_ & 0x08000000) == 0x08000000); - } /** - * optional string fUpdateAge = 28; + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+       * 
*/ - public java.lang.String getFUpdateAge() { - java.lang.Object ref = fUpdateAge_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - fUpdateAge_ = s; + public Builder mergeTextRange(org.sonarqube.ws.Common.TextRange value) { + if (textRangeBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002) && + textRange_ != org.sonarqube.ws.Common.TextRange.getDefaultInstance()) { + textRange_ = + org.sonarqube.ws.Common.TextRange.newBuilder(textRange_).mergeFrom(value).buildPartial(); + } else { + textRange_ = value; } - return s; + onChanged(); } else { - return (java.lang.String) ref; + textRangeBuilder_.mergeFrom(value); } + bitField0_ |= 0x00000002; + return this; } /** - * optional string fUpdateAge = 28; + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+       * 
*/ - public com.google.protobuf.ByteString - getFUpdateAgeBytes() { - java.lang.Object ref = fUpdateAge_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - fUpdateAge_ = b; - return b; + public Builder clearTextRange() { + if (textRangeBuilder_ == null) { + textRange_ = org.sonarqube.ws.Common.TextRange.getDefaultInstance(); + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + textRangeBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000002); + return this; } /** - * optional string fUpdateAge = 28; + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+       * 
*/ - public Builder setFUpdateAge( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x08000000; - fUpdateAge_ = value; + public org.sonarqube.ws.Common.TextRange.Builder getTextRangeBuilder() { + bitField0_ |= 0x00000002; onChanged(); - return this; + return getTextRangeFieldBuilder().getBuilder(); } /** - * optional string fUpdateAge = 28; + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+       * 
*/ - public Builder clearFUpdateAge() { - bitField0_ = (bitField0_ & ~0x08000000); - fUpdateAge_ = getDefaultInstance().getFUpdateAge(); - onChanged(); - return this; + public org.sonarqube.ws.Common.TextRangeOrBuilder getTextRangeOrBuilder() { + if (textRangeBuilder_ != null) { + return textRangeBuilder_.getMessageOrBuilder(); + } else { + return textRange_; + } } /** - * optional string fUpdateAge = 28; + * optional .sonarqube.ws.commons.TextRange text_range = 2; + * + *
+       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
+       * 
*/ - public Builder setFUpdateAgeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x08000000; - fUpdateAge_ = value; - onChanged(); - return this; + private com.google.protobuf.SingleFieldBuilder< + org.sonarqube.ws.Common.TextRange, org.sonarqube.ws.Common.TextRange.Builder, org.sonarqube.ws.Common.TextRangeOrBuilder> + getTextRangeFieldBuilder() { + if (textRangeBuilder_ == null) { + textRangeBuilder_ = new com.google.protobuf.SingleFieldBuilder< + org.sonarqube.ws.Common.TextRange, org.sonarqube.ws.Common.TextRange.Builder, org.sonarqube.ws.Common.TextRangeOrBuilder>( + getTextRange(), + getParentForChildren(), + isClean()); + textRange_ = null; + } + return textRangeBuilder_; } - private java.lang.Object closeDate_ = ""; + private java.lang.Object msg_ = ""; /** - * optional string closeDate = 29; + * optional string msg = 3; */ - public boolean hasCloseDate() { - return ((bitField0_ & 0x10000000) == 0x10000000); + public boolean hasMsg() { + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - * optional string closeDate = 29; + * optional string msg = 3; */ - public java.lang.String getCloseDate() { - java.lang.Object ref = closeDate_; + public java.lang.String getMsg() { + java.lang.Object ref = msg_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - closeDate_ = s; + msg_ = s; } return s; } else { @@ -10472,66 +12703,66 @@ public final class Issues { } } /** - * optional string closeDate = 29; + * optional string msg = 3; */ public com.google.protobuf.ByteString - getCloseDateBytes() { - java.lang.Object ref = closeDate_; + getMsgBytes() { + java.lang.Object ref = msg_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - closeDate_ = b; + msg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - * optional string closeDate = 29; + * optional string msg = 3; */ - public Builder setCloseDate( + public Builder setMsg( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x10000000; - closeDate_ = value; + bitField0_ |= 0x00000004; + msg_ = value; onChanged(); return this; } /** - * optional string closeDate = 29; + * optional string msg = 3; */ - public Builder clearCloseDate() { - bitField0_ = (bitField0_ & ~0x10000000); - closeDate_ = getDefaultInstance().getCloseDate(); + public Builder clearMsg() { + bitField0_ = (bitField0_ & ~0x00000004); + msg_ = getDefaultInstance().getMsg(); onChanged(); return this; } /** - * optional string closeDate = 29; + * optional string msg = 3; */ - public Builder setCloseDateBytes( + public Builder setMsgBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x10000000; - closeDate_ = value; + bitField0_ |= 0x00000004; + msg_ = value; onChanged(); return this; } - // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.Issue) + // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.Location) } static { - defaultInstance = new Issue(true); + defaultInstance = new Location(true); defaultInstance.initFields(); } - // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Issue) + // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Location) } public interface CommentOrBuilder extends @@ -15595,6 +17826,16 @@ public final class Issues { private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_Issue_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_sonarqube_ws_issues_ExecutionFlow_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_sonarqube_ws_issues_ExecutionFlow_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_sonarqube_ws_issues_Location_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_sonarqube_ws_issues_Location_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_Comment_descriptor; private static @@ -15624,56 +17865,65 @@ public final class Issues { descriptor; static { java.lang.String[] descriptorData = { - "\n\017ws-issues.proto\022\023sonarqube.ws.issues\032\017" + - "ws-common.proto\"\266\004\n\006Search\022\r\n\005total\030\001 \001(" + - "\003\022\t\n\001p\030\002 \001(\003\022\n\n\002ps\030\003 \001(\005\022$\n\006paging\030\004 \001(\013" + - "2\024.sonarqube.ws.Paging\022\021\n\tdebtTotal\030\005 \001(" + - "\003\022*\n\006issues\030\006 \003(\0132\032.sonarqube.ws.issues." + - "Issue\0222\n\ncomponents\030\007 \003(\0132\036.sonarqube.ws" + - ".issues.Component\022\033\n\023rulesPresentIfEmpty" + - "\030\010 \001(\010\022!\n\005rules\030\t \003(\0132\022.sonarqube.ws.Rul" + - "e\022\033\n\023usersPresentIfEmpty\030\n \001(\010\022!\n\005users\030" + - "\013 \003(\0132\022.sonarqube.ws.User\022!\n\031actionPlans", - "PresentIfEmpty\030\014 \001(\010\0224\n\013actionPlans\030\r \003(" + - "\0132\037.sonarqube.ws.issues.ActionPlan\022\037\n\027la" + - "nguagesPresentIfEmpty\030\016 \001(\010\0220\n\tlanguages" + - "\030\017 \003(\0132\035.sonarqube.ws.issues.Language\022\034\n" + - "\024facetsPresentIfEmpty\030\020 \001(\010\022#\n\006facets\030\021 " + - "\003(\0132\023.sonarqube.ws.Facet\"\346\001\n\tOperation\022)" + - "\n\005issue\030\001 \001(\0132\032.sonarqube.ws.issues.Issu" + - "e\0222\n\ncomponents\030\002 \003(\0132\036.sonarqube.ws.iss" + - "ues.Component\022!\n\005rules\030\003 \003(\0132\022.sonarqube" + - ".ws.Rule\022!\n\005users\030\004 \003(\0132\022.sonarqube.ws.U", - "ser\0224\n\013actionPlans\030\005 \003(\0132\037.sonarqube.ws." + - "issues.ActionPlan\"\357\004\n\005Issue\022\013\n\003key\030\001 \001(\t" + - "\022\014\n\004rule\030\002 \001(\t\022(\n\010severity\030\003 \001(\0162\026.sonar" + - "qube.ws.Severity\022\021\n\tcomponent\030\004 \001(\t\022\023\n\013c" + - "omponentId\030\005 \001(\003\022\017\n\007project\030\006 \001(\t\022\022\n\nsub" + - "Project\030\007 \001(\t\022\014\n\004line\030\010 \001(\005\022\022\n\nresolutio" + - "n\030\t \001(\t\022\016\n\006status\030\n \001(\t\022\017\n\007message\030\013 \001(\t" + - "\022\014\n\004debt\030\014 \001(\t\022\020\n\010assignee\030\r \001(\t\022\020\n\010repo" + - "rter\030\016 \001(\t\022\016\n\006author\030\017 \001(\t\022\022\n\nactionPlan" + - "\030\020 \001(\t\022\026\n\016actionPlanName\030\021 \001(\t\022\014\n\004attr\030\022", - " \001(\t\022\014\n\004tags\030\023 \003(\t\022!\n\031transitionsPresent" + - "IfEmpty\030\024 \001(\010\022\023\n\013transitions\030\025 \003(\t\022\035\n\025ac" + - "tionsPresentIfEmpty\030\026 \001(\010\022\017\n\007actions\030\027 \003" + - "(\t\022\036\n\026commentsPresentIfEmpty\030\030 \001(\010\022.\n\010co" + - "mments\030\031 \003(\0132\034.sonarqube.ws.issues.Comme" + - "nt\022\024\n\014creationDate\030\032 \001(\t\022\022\n\nupdateDate\030\033" + - " \001(\t\022\022\n\nfUpdateAge\030\034 \001(\t\022\021\n\tcloseDate\030\035 " + - "\001(\t\"\220\001\n\007Comment\022\013\n\003key\030\001 \001(\t\022\r\n\005login\030\002 " + - "\001(\t\022\r\n\005email\030\003 \001(\t\022\020\n\010userName\030\004 \001(\t\022\020\n\010" + - "htmlText\030\005 \001(\t\022\020\n\010markdown\030\006 \001(\t\022\021\n\tupda", - "table\030\007 \001(\010\022\021\n\tcreatedAt\030\010 \001(\t\"Z\n\nAction" + - "Plan\022\013\n\003key\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\016\n\006statu" + - "s\030\003 \001(\t\022\020\n\010deadLine\030\004 \001(\t\022\017\n\007project\030\005 \001" + - "(\t\"%\n\010Language\022\013\n\003key\030\001 \001(\t\022\014\n\004name\030\002 \001(" + - "\t\"\255\001\n\tComponent\022\n\n\002id\030\001 \001(\003\022\013\n\003key\030\002 \001(\t" + - "\022\014\n\004uuid\030\003 \001(\t\022\017\n\007enabled\030\004 \001(\010\022\021\n\tquali" + - "fier\030\005 \001(\t\022\014\n\004name\030\006 \001(\t\022\020\n\010longName\030\007 \001" + - "(\t\022\014\n\004path\030\010 \001(\t\022\021\n\tprojectId\030\t \001(\003\022\024\n\014s" + - "ubProjectId\030\n \001(\003B\034\n\020org.sonarqube.wsB\006I" + - "ssuesH\001" + "\n\017ws-issues.proto\022\023sonarqube.ws.issues\032\020" + + "ws-commons.proto\"\326\004\n\006Search\022\r\n\005total\030\001 \001" + + "(\003\022\t\n\001p\030\002 \001(\003\022\n\n\002ps\030\003 \001(\005\022,\n\006paging\030\004 \001(" + + "\0132\034.sonarqube.ws.commons.Paging\022\021\n\tdebtT" + + "otal\030\005 \001(\003\022*\n\006issues\030\006 \003(\0132\032.sonarqube.w" + + "s.issues.Issue\0222\n\ncomponents\030\007 \003(\0132\036.son" + + "arqube.ws.issues.Component\022\033\n\023rulesPrese" + + "ntIfEmpty\030\010 \001(\010\022)\n\005rules\030\t \003(\0132\032.sonarqu" + + "be.ws.commons.Rule\022\033\n\023usersPresentIfEmpt" + + "y\030\n \001(\010\022)\n\005users\030\013 \003(\0132\032.sonarqube.ws.co", + "mmons.User\022!\n\031actionPlansPresentIfEmpty\030" + + "\014 \001(\010\0224\n\013actionPlans\030\r \003(\0132\037.sonarqube.w" + + "s.issues.ActionPlan\022\037\n\027languagesPresentI" + + "fEmpty\030\016 \001(\010\0220\n\tlanguages\030\017 \003(\0132\035.sonarq" + + "ube.ws.issues.Language\022\034\n\024facetsPresentI" + + "fEmpty\030\020 \001(\010\022+\n\006facets\030\021 \003(\0132\033.sonarqube" + + ".ws.commons.Facet\"\366\001\n\tOperation\022)\n\005issue" + + "\030\001 \001(\0132\032.sonarqube.ws.issues.Issue\0222\n\nco" + + "mponents\030\002 \003(\0132\036.sonarqube.ws.issues.Com" + + "ponent\022)\n\005rules\030\003 \003(\0132\032.sonarqube.ws.com", + "mons.Rule\022)\n\005users\030\004 \003(\0132\032.sonarqube.ws." + + "commons.User\0224\n\013actionPlans\030\005 \003(\0132\037.sona" + + "rqube.ws.issues.ActionPlan\"\225\006\n\005Issue\022\013\n\003" + + "key\030\001 \001(\t\022\014\n\004rule\030\002 \001(\t\0220\n\010severity\030\003 \001(" + + "\0162\036.sonarqube.ws.commons.Severity\022\021\n\tcom" + + "ponent\030\004 \001(\t\022\023\n\013componentId\030\005 \001(\003\022\017\n\007pro" + + "ject\030\006 \001(\t\022\022\n\nsubProject\030\007 \001(\t\022\014\n\004line\030\010" + + " \001(\005\022/\n\010location\030\t \001(\0132\035.sonarqube.ws.is" + + "sues.Location\0229\n\022secondaryLocations\030\n \003(" + + "\0132\035.sonarqube.ws.issues.Location\022:\n\016exec", + "utionFlows\030\013 \003(\0132\".sonarqube.ws.issues.E" + + "xecutionFlow\022\022\n\nresolution\030\014 \001(\t\022\016\n\006stat" + + "us\030\r \001(\t\022\017\n\007message\030\016 \001(\t\022\014\n\004debt\030\017 \001(\t\022" + + "\020\n\010assignee\030\020 \001(\t\022\020\n\010reporter\030\021 \001(\t\022\016\n\006a" + + "uthor\030\022 \001(\t\022\022\n\nactionPlan\030\023 \001(\t\022\032\n\022tagsP" + + "resentIfEmpty\030\024 \001(\010\022\014\n\004tags\030\025 \003(\t\022!\n\031tra" + + "nsitionsPresentIfEmpty\030\026 \001(\010\022\023\n\013transiti" + + "ons\030\027 \003(\t\022\035\n\025actionsPresentIfEmpty\030\030 \001(\010" + + "\022\017\n\007actions\030\031 \003(\t\022\036\n\026commentsPresentIfEm" + + "pty\030\032 \001(\010\022.\n\010comments\030\033 \003(\0132\034.sonarqube.", + "ws.issues.Comment\022\024\n\014creationDate\030\034 \001(\t\022" + + "\022\n\nupdateDate\030\035 \001(\t\022\022\n\nfUpdateAge\030\036 \001(\t\022" + + "\021\n\tcloseDate\030\037 \001(\t\"A\n\rExecutionFlow\0220\n\tl" + + "ocations\030\001 \003(\0132\035.sonarqube.ws.issues.Loc" + + "ation\"b\n\010Location\022\024\n\014component_id\030\001 \001(\t\022" + + "3\n\ntext_range\030\002 \001(\0132\037.sonarqube.ws.commo" + + "ns.TextRange\022\013\n\003msg\030\003 \001(\t\"\220\001\n\007Comment\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005login\030\002 \001(\t\022\r\n\005email\030\003 \001(\t" + + "\022\020\n\010userName\030\004 \001(\t\022\020\n\010htmlText\030\005 \001(\t\022\020\n\010" + + "markdown\030\006 \001(\t\022\021\n\tupdatable\030\007 \001(\010\022\021\n\tcre", + "atedAt\030\010 \001(\t\"Z\n\nActionPlan\022\013\n\003key\030\001 \001(\t\022" + + "\014\n\004name\030\002 \001(\t\022\016\n\006status\030\003 \001(\t\022\020\n\010deadLin" + + "e\030\004 \001(\t\022\017\n\007project\030\005 \001(\t\"%\n\010Language\022\013\n\003" + + "key\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\"\255\001\n\tComponent\022\n\n" + + "\002id\030\001 \001(\003\022\013\n\003key\030\002 \001(\t\022\014\n\004uuid\030\003 \001(\t\022\017\n\007" + + "enabled\030\004 \001(\010\022\021\n\tqualifier\030\005 \001(\t\022\014\n\004name" + + "\030\006 \001(\t\022\020\n\010longName\030\007 \001(\t\022\014\n\004path\030\010 \001(\t\022\021" + + "\n\tprojectId\030\t \001(\003\022\024\n\014subProjectId\030\n \001(\003B" + + "\034\n\020org.sonarqube.wsB\006IssuesH\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -15705,27 +17955,39 @@ public final class Issues { internal_static_sonarqube_ws_issues_Issue_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Issue_descriptor, - new java.lang.String[] { "Key", "Rule", "Severity", "Component", "ComponentId", "Project", "SubProject", "Line", "Resolution", "Status", "Message", "Debt", "Assignee", "Reporter", "Author", "ActionPlan", "ActionPlanName", "Attr", "Tags", "TransitionsPresentIfEmpty", "Transitions", "ActionsPresentIfEmpty", "Actions", "CommentsPresentIfEmpty", "Comments", "CreationDate", "UpdateDate", "FUpdateAge", "CloseDate", }); - internal_static_sonarqube_ws_issues_Comment_descriptor = + new java.lang.String[] { "Key", "Rule", "Severity", "Component", "ComponentId", "Project", "SubProject", "Line", "Location", "SecondaryLocations", "ExecutionFlows", "Resolution", "Status", "Message", "Debt", "Assignee", "Reporter", "Author", "ActionPlan", "TagsPresentIfEmpty", "Tags", "TransitionsPresentIfEmpty", "Transitions", "ActionsPresentIfEmpty", "Actions", "CommentsPresentIfEmpty", "Comments", "CreationDate", "UpdateDate", "FUpdateAge", "CloseDate", }); + internal_static_sonarqube_ws_issues_ExecutionFlow_descriptor = getDescriptor().getMessageTypes().get(3); + internal_static_sonarqube_ws_issues_ExecutionFlow_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_sonarqube_ws_issues_ExecutionFlow_descriptor, + new java.lang.String[] { "Locations", }); + internal_static_sonarqube_ws_issues_Location_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_sonarqube_ws_issues_Location_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_sonarqube_ws_issues_Location_descriptor, + new java.lang.String[] { "ComponentId", "TextRange", "Msg", }); + internal_static_sonarqube_ws_issues_Comment_descriptor = + getDescriptor().getMessageTypes().get(5); internal_static_sonarqube_ws_issues_Comment_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Comment_descriptor, new java.lang.String[] { "Key", "Login", "Email", "UserName", "HtmlText", "Markdown", "Updatable", "CreatedAt", }); internal_static_sonarqube_ws_issues_ActionPlan_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(6); internal_static_sonarqube_ws_issues_ActionPlan_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_ActionPlan_descriptor, new java.lang.String[] { "Key", "Name", "Status", "DeadLine", "Project", }); internal_static_sonarqube_ws_issues_Language_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageTypes().get(7); internal_static_sonarqube_ws_issues_Language_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Language_descriptor, new java.lang.String[] { "Key", "Name", }); internal_static_sonarqube_ws_issues_Component_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(8); internal_static_sonarqube_ws_issues_Component_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Component_descriptor, diff --git a/sonar-ws/src/main/protobuf/ws-common.proto b/sonar-ws/src/main/protobuf/ws-commons.proto similarity index 78% rename from sonar-ws/src/main/protobuf/ws-common.proto rename to sonar-ws/src/main/protobuf/ws-commons.proto index 24c5a276cde..6a0aa87bfe0 100644 --- a/sonar-ws/src/main/protobuf/ws-common.proto +++ b/sonar-ws/src/main/protobuf/ws-commons.proto @@ -18,7 +18,7 @@ syntax = "proto2"; -package sonarqube.ws; +package sonarqube.ws.commons; option java_package = "org.sonarqube.ws"; option java_outer_classname = "Common"; @@ -71,3 +71,18 @@ message User { optional string email = 3; optional bool active = 4; } + +// Lines start at 1 and line offsets start at 0 +message TextRange { + // Start line. Should never be absent + optional int32 start_line = 1; + + // End line (inclusive). Absent means it is same as start line + optional int32 end_line = 2; + + // If absent it means range starts at the first offset of start line + optional int32 start_offset = 3; + + // If absent it means range ends at the last offset of end line + optional int32 end_offset = 4; +} diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto index ef0fa5a0c8e..e7a385c7d52 100644 --- a/sonar-ws/src/main/protobuf/ws-issues.proto +++ b/sonar-ws/src/main/protobuf/ws-issues.proto @@ -20,7 +20,7 @@ syntax = "proto2"; package sonarqube.ws.issues; -import "ws-common.proto"; +import "ws-commons.proto"; option java_package = "org.sonarqube.ws"; option java_outer_classname = "Issues"; @@ -31,7 +31,7 @@ message Search { optional int64 total = 1; optional int64 p = 2; optional int32 ps = 3; - optional Paging paging = 4; + optional sonarqube.ws.commons.Paging paging = 4; // Total amount of debt, only when the facet "total" is enabled optional int64 debtTotal = 5; @@ -39,23 +39,23 @@ message Search { repeated Issue issues = 6; repeated Component components = 7; optional bool rulesPresentIfEmpty = 8; - repeated Rule rules = 9; + repeated sonarqube.ws.commons.Rule rules = 9; optional bool usersPresentIfEmpty = 10; - repeated User users = 11; + repeated sonarqube.ws.commons.User users = 11; optional bool actionPlansPresentIfEmpty = 12; repeated ActionPlan actionPlans = 13; optional bool languagesPresentIfEmpty = 14; repeated Language languages = 15; optional bool facetsPresentIfEmpty = 16; - repeated Facet facets = 17; + repeated sonarqube.ws.commons.Facet facets = 17; } // Response of most of POST/issues/{operation}, for instance assign, add_comment and set_severity message Operation { optional Issue issue = 1; repeated Component components = 2; - repeated Rule rules = 3; - repeated User users = 4; + repeated sonarqube.ws.commons.Rule rules = 3; + repeated sonarqube.ws.commons.User users = 4; repeated ActionPlan actionPlans = 5; } @@ -63,41 +63,54 @@ message Operation { message Issue { optional string key = 1; optional string rule = 2; - optional Severity severity = 3; + optional sonarqube.ws.commons.Severity severity = 3; optional string component = 4; optional int64 componentId = 5; optional string project = 6; optional string subProject = 7; optional int32 line = 8; - optional string resolution = 9; - optional string status = 10; - optional string message = 11; - optional string debt = 12; - optional string assignee = 13; - optional string reporter = 14; + optional Location location = 9; + repeated Location secondaryLocations = 10; + repeated ExecutionFlow executionFlows = 11; + optional string resolution = 12; + optional string status = 13; + optional string message = 14; + optional string debt = 15; + optional string assignee = 16; + optional string reporter = 17; // SCM login of the committer who introduced the issue - optional string author = 15; + optional string author = 18; - optional string actionPlan = 16; - optional string actionPlanName = 17; - optional string attr = 18; - repeated string tags = 19; + optional string actionPlan = 19; + optional bool tagsPresentIfEmpty = 20; + repeated string tags = 21; // the transitions allowed for the requesting user. - optional bool transitionsPresentIfEmpty = 20; - repeated string transitions = 21; + optional bool transitionsPresentIfEmpty = 22; + repeated string transitions = 23; // the actions allowed for the requesting user. - optional bool actionsPresentIfEmpty = 22; - repeated string actions = 23; - - optional bool commentsPresentIfEmpty = 24; - repeated Comment comments = 25; - optional string creationDate = 26; - optional string updateDate = 27; - optional string fUpdateAge = 28; - optional string closeDate = 29; + optional bool actionsPresentIfEmpty = 24; + repeated string actions = 25; + + optional bool commentsPresentIfEmpty = 26; + repeated Comment comments = 27; + optional string creationDate = 28; + optional string updateDate = 29; + optional string fUpdateAge = 30; + optional string closeDate = 31; +} + +message ExecutionFlow { + repeated Location locations = 1; +} + +message Location { + optional string component_id = 1; + // Only when component is a file. Can be empty for a file if this is an issue global to the file. + optional sonarqube.ws.commons.TextRange text_range = 2; + optional string msg = 3; } message Comment { -- 2.39.5