public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
- public interface ServerIssueOrBuilder extends
- // @@protoc_insertion_point(interface_extends:ServerIssue)
- com.google.protobuf.MessageOrBuilder {
+ public interface ServerIssueOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+ // optional string key = 1;
/**
* <code>optional string key = 1;</code>
*/
com.google.protobuf.ByteString
getKeyBytes();
+ // optional string module_key = 2;
/**
* <code>optional string module_key = 2;</code>
*/
com.google.protobuf.ByteString
getModuleKeyBytes();
+ // optional string path = 3;
/**
* <code>optional string path = 3;</code>
*/
com.google.protobuf.ByteString
getPathBytes();
+ // optional string rule_repository = 4;
/**
* <code>optional string rule_repository = 4;</code>
*/
com.google.protobuf.ByteString
getRuleRepositoryBytes();
+ // optional string rule_key = 5;
/**
* <code>optional string rule_key = 5;</code>
*/
com.google.protobuf.ByteString
getRuleKeyBytes();
+ // optional int32 line = 6;
/**
* <code>optional int32 line = 6;</code>
*/
*/
int getLine();
+ // optional string msg = 7;
/**
* <code>optional string msg = 7;</code>
*/
com.google.protobuf.ByteString
getMsgBytes();
+ // optional .Severity severity = 8;
/**
* <code>optional .Severity severity = 8;</code>
*/
*/
org.sonar.batch.protocol.Constants.Severity getSeverity();
+ // optional bool manual_severity = 9;
/**
* <code>optional bool manual_severity = 9;</code>
*/
*/
boolean getManualSeverity();
+ // optional string resolution = 10;
/**
* <code>optional string resolution = 10;</code>
*/
com.google.protobuf.ByteString
getResolutionBytes();
+ // optional string status = 11;
/**
* <code>optional string status = 11;</code>
*/
com.google.protobuf.ByteString
getStatusBytes();
+ // optional string checksum = 12;
/**
* <code>optional string checksum = 12;</code>
*/
com.google.protobuf.ByteString
getChecksumBytes();
+ // optional string assignee_login = 13;
/**
* <code>optional string assignee_login = 13;</code>
*/
com.google.protobuf.ByteString
getAssigneeLoginBytes();
+ // optional int64 creation_date = 14;
/**
* <code>optional int64 creation_date = 14;</code>
*/
* Protobuf type {@code ServerIssue}
*/
public static final class ServerIssue extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:ServerIssue)
- ServerIssueOrBuilder {
+ com.google.protobuf.GeneratedMessage
+ implements ServerIssueOrBuilder {
// Use ServerIssue.newBuilder() to construct.
private ServerIssue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 10: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
- key_ = bs;
+ key_ = input.readBytes();
break;
}
case 18: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- moduleKey_ = bs;
+ moduleKey_ = input.readBytes();
break;
}
case 26: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
- path_ = bs;
+ path_ = input.readBytes();
break;
}
case 34: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
- ruleRepository_ = bs;
+ ruleRepository_ = input.readBytes();
break;
}
case 42: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
- ruleKey_ = bs;
+ ruleKey_ = input.readBytes();
break;
}
case 48: {
break;
}
case 58: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000040;
- msg_ = bs;
+ msg_ = input.readBytes();
break;
}
case 64: {
break;
}
case 82: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000200;
- resolution_ = bs;
+ resolution_ = input.readBytes();
break;
}
case 90: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000400;
- status_ = bs;
+ status_ = input.readBytes();
break;
}
case 98: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000800;
- checksum_ = bs;
+ checksum_ = input.readBytes();
break;
}
case 106: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00001000;
- assigneeLogin_ = bs;
+ assigneeLogin_ = input.readBytes();
break;
}
case 112: {
}
private int bitField0_;
+ // optional string key = 1;
public static final int KEY_FIELD_NUMBER = 1;
private java.lang.Object key_;
/**
}
}
+ // optional string module_key = 2;
public static final int MODULE_KEY_FIELD_NUMBER = 2;
private java.lang.Object moduleKey_;
/**
}
}
+ // optional string path = 3;
public static final int PATH_FIELD_NUMBER = 3;
private java.lang.Object path_;
/**
}
}
+ // optional string rule_repository = 4;
public static final int RULE_REPOSITORY_FIELD_NUMBER = 4;
private java.lang.Object ruleRepository_;
/**
}
}
+ // optional string rule_key = 5;
public static final int RULE_KEY_FIELD_NUMBER = 5;
private java.lang.Object ruleKey_;
/**
}
}
+ // optional int32 line = 6;
public static final int LINE_FIELD_NUMBER = 6;
private int line_;
/**
return line_;
}
+ // optional string msg = 7;
public static final int MSG_FIELD_NUMBER = 7;
private java.lang.Object msg_;
/**
}
}
+ // optional .Severity severity = 8;
public static final int SEVERITY_FIELD_NUMBER = 8;
private org.sonar.batch.protocol.Constants.Severity severity_;
/**
return severity_;
}
+ // optional bool manual_severity = 9;
public static final int MANUAL_SEVERITY_FIELD_NUMBER = 9;
private boolean manualSeverity_;
/**
return manualSeverity_;
}
+ // optional string resolution = 10;
public static final int RESOLUTION_FIELD_NUMBER = 10;
private java.lang.Object resolution_;
/**
}
}
+ // optional string status = 11;
public static final int STATUS_FIELD_NUMBER = 11;
private java.lang.Object status_;
/**
}
}
+ // optional string checksum = 12;
public static final int CHECKSUM_FIELD_NUMBER = 12;
private java.lang.Object checksum_;
/**
}
}
+ // optional string assignee_login = 13;
public static final int ASSIGNEE_LOGIN_FIELD_NUMBER = 13;
private java.lang.Object assigneeLogin_;
/**
}
}
+ // optional int64 creation_date = 14;
public static final int CREATION_DATE_FIELD_NUMBER = 14;
private long creationDate_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code ServerIssue}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:ServerIssue)
- org.sonar.batch.protocol.input.BatchInput.ServerIssueOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder>
+ implements org.sonar.batch.protocol.input.BatchInput.ServerIssueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_descriptor;
}
private int bitField0_;
+ // optional string key = 1;
private java.lang.Object key_ = "";
/**
* <code>optional string key = 1;</code>
public java.lang.String getKey() {
java.lang.Object ref = key_;
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()) {
- key_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ key_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string module_key = 2;
private java.lang.Object moduleKey_ = "";
/**
* <code>optional string module_key = 2;</code>
public java.lang.String getModuleKey() {
java.lang.Object ref = moduleKey_;
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()) {
- moduleKey_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ moduleKey_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string path = 3;
private java.lang.Object path_ = "";
/**
* <code>optional string path = 3;</code>
public java.lang.String getPath() {
java.lang.Object ref = path_;
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()) {
- path_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ path_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string rule_repository = 4;
private java.lang.Object ruleRepository_ = "";
/**
* <code>optional string rule_repository = 4;</code>
public java.lang.String getRuleRepository() {
java.lang.Object ref = ruleRepository_;
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()) {
- ruleRepository_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ ruleRepository_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string rule_key = 5;
private java.lang.Object ruleKey_ = "";
/**
* <code>optional string rule_key = 5;</code>
public java.lang.String getRuleKey() {
java.lang.Object ref = ruleKey_;
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()) {
- ruleKey_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ ruleKey_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional int32 line = 6;
private int line_ ;
/**
* <code>optional int32 line = 6;</code>
return this;
}
+ // optional string msg = 7;
private java.lang.Object msg_ = "";
/**
* <code>optional string msg = 7;</code>
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()) {
- msg_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ msg_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional .Severity severity = 8;
private org.sonar.batch.protocol.Constants.Severity severity_ = org.sonar.batch.protocol.Constants.Severity.INFO;
/**
* <code>optional .Severity severity = 8;</code>
return this;
}
+ // optional bool manual_severity = 9;
private boolean manualSeverity_ ;
/**
* <code>optional bool manual_severity = 9;</code>
return this;
}
+ // optional string resolution = 10;
private java.lang.Object resolution_ = "";
/**
* <code>optional string resolution = 10;</code>
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;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ resolution_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string status = 11;
private java.lang.Object status_ = "";
/**
* <code>optional string status = 11;</code>
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;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ status_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string checksum = 12;
private java.lang.Object checksum_ = "";
/**
* <code>optional string checksum = 12;</code>
public java.lang.String getChecksum() {
java.lang.Object ref = checksum_;
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()) {
- checksum_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ checksum_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string assignee_login = 13;
private java.lang.Object assigneeLogin_ = "";
/**
* <code>optional string assignee_login = 13;</code>
public java.lang.String getAssigneeLogin() {
java.lang.Object ref = assigneeLogin_;
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()) {
- assigneeLogin_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ assigneeLogin_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional int64 creation_date = 14;
private long creationDate_ ;
/**
* <code>optional int64 creation_date = 14;</code>
// @@protoc_insertion_point(class_scope:ServerIssue)
}
- private static final com.google.protobuf.Descriptors.Descriptor
+ private static com.google.protobuf.Descriptors.Descriptor
internal_static_ServerIssue_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
" \001(\003B\"\n\036org.sonar.batch.protocol.inputH\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
+ new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
+ public com.google.protobuf.ExtensionRegistry assignDescriptors(
+ com.google.protobuf.Descriptors.FileDescriptor root) {
+ descriptor = root;
+ internal_static_ServerIssue_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_ServerIssue_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_ServerIssue_descriptor,
+ new java.lang.String[] { "Key", "ModuleKey", "Path", "RuleRepository", "RuleKey", "Line", "Msg", "Severity", "ManualSeverity", "Resolution", "Status", "Checksum", "AssigneeLogin", "CreationDate", });
+ return null;
+ }
+ };
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.sonar.batch.protocol.Constants.getDescriptor(),
}, assigner);
- internal_static_ServerIssue_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_ServerIssue_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_ServerIssue_descriptor,
- new java.lang.String[] { "Key", "ModuleKey", "Path", "RuleRepository", "RuleKey", "Line", "Msg", "Severity", "ManualSeverity", "Resolution", "Status", "Checksum", "AssigneeLogin", "CreationDate", });
- org.sonar.batch.protocol.Constants.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
- public interface MetadataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:Metadata)
- com.google.protobuf.MessageOrBuilder {
+ public interface MetadataOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+ // optional int64 analysis_date = 1;
/**
* <code>optional int64 analysis_date = 1;</code>
*/
*/
long getAnalysisDate();
+ // optional string project_key = 2;
/**
* <code>optional string project_key = 2;</code>
*/
com.google.protobuf.ByteString
getProjectKeyBytes();
+ // optional int32 root_component_ref = 3;
/**
* <code>optional int32 root_component_ref = 3;</code>
*/
*/
int getRootComponentRef();
+ // optional int64 snapshot_id = 4;
/**
* <code>optional int64 snapshot_id = 4;</code>
*
* <pre>
- * temporary field used during development of computation stack
+ * temporary fields used during development of computation stack
* </pre>
*/
boolean hasSnapshotId();
* <code>optional int64 snapshot_id = 4;</code>
*
* <pre>
- * temporary field used during development of computation stack
+ * temporary fields used during development of computation stack
* </pre>
*/
long getSnapshotId();
+
+ // optional int32 deleted_components_count = 5;
+ /**
+ * <code>optional int32 deleted_components_count = 5;</code>
+ */
+ boolean hasDeletedComponentsCount();
+ /**
+ * <code>optional int32 deleted_components_count = 5;</code>
+ */
+ int getDeletedComponentsCount();
}
/**
* Protobuf type {@code Metadata}
*/
public static final class Metadata extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:Metadata)
- MetadataOrBuilder {
+ com.google.protobuf.GeneratedMessage
+ implements MetadataOrBuilder {
// Use Metadata.newBuilder() to construct.
private Metadata(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 18: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- projectKey_ = bs;
+ projectKey_ = input.readBytes();
break;
}
case 24: {
snapshotId_ = input.readInt64();
break;
}
+ case 40: {
+ bitField0_ |= 0x00000010;
+ deletedComponentsCount_ = input.readInt32();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
}
private int bitField0_;
+ // optional int64 analysis_date = 1;
public static final int ANALYSIS_DATE_FIELD_NUMBER = 1;
private long analysisDate_;
/**
return analysisDate_;
}
+ // optional string project_key = 2;
public static final int PROJECT_KEY_FIELD_NUMBER = 2;
private java.lang.Object projectKey_;
/**
}
}
+ // optional int32 root_component_ref = 3;
public static final int ROOT_COMPONENT_REF_FIELD_NUMBER = 3;
private int rootComponentRef_;
/**
return rootComponentRef_;
}
+ // optional int64 snapshot_id = 4;
public static final int SNAPSHOT_ID_FIELD_NUMBER = 4;
private long snapshotId_;
/**
* <code>optional int64 snapshot_id = 4;</code>
*
* <pre>
- * temporary field used during development of computation stack
+ * temporary fields used during development of computation stack
* </pre>
*/
public boolean hasSnapshotId() {
* <code>optional int64 snapshot_id = 4;</code>
*
* <pre>
- * temporary field used during development of computation stack
+ * temporary fields used during development of computation stack
* </pre>
*/
public long getSnapshotId() {
return snapshotId_;
}
+ // optional int32 deleted_components_count = 5;
+ public static final int DELETED_COMPONENTS_COUNT_FIELD_NUMBER = 5;
+ private int deletedComponentsCount_;
+ /**
+ * <code>optional int32 deleted_components_count = 5;</code>
+ */
+ public boolean hasDeletedComponentsCount() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ /**
+ * <code>optional int32 deleted_components_count = 5;</code>
+ */
+ public int getDeletedComponentsCount() {
+ return deletedComponentsCount_;
+ }
+
private void initFields() {
analysisDate_ = 0L;
projectKey_ = "";
rootComponentRef_ = 0;
snapshotId_ = 0L;
+ deletedComponentsCount_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt64(4, snapshotId_);
}
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ output.writeInt32(5, deletedComponentsCount_);
+ }
getUnknownFields().writeTo(output);
}
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, snapshotId_);
}
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(5, deletedComponentsCount_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
* Protobuf type {@code Metadata}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:Metadata)
- org.sonar.batch.protocol.output.BatchReport.MetadataOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder>
+ implements org.sonar.batch.protocol.output.BatchReport.MetadataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Metadata_descriptor;
bitField0_ = (bitField0_ & ~0x00000004);
snapshotId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
+ deletedComponentsCount_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
to_bitField0_ |= 0x00000008;
}
result.snapshotId_ = snapshotId_;
+ if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+ to_bitField0_ |= 0x00000010;
+ }
+ result.deletedComponentsCount_ = deletedComponentsCount_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
if (other.hasSnapshotId()) {
setSnapshotId(other.getSnapshotId());
}
+ if (other.hasDeletedComponentsCount()) {
+ setDeletedComponentsCount(other.getDeletedComponentsCount());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
}
private int bitField0_;
+ // optional int64 analysis_date = 1;
private long analysisDate_ ;
/**
* <code>optional int64 analysis_date = 1;</code>
return this;
}
+ // optional string project_key = 2;
private java.lang.Object projectKey_ = "";
/**
* <code>optional string project_key = 2;</code>
public java.lang.String getProjectKey() {
java.lang.Object ref = projectKey_;
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()) {
- projectKey_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ projectKey_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional int32 root_component_ref = 3;
private int rootComponentRef_ ;
/**
* <code>optional int32 root_component_ref = 3;</code>
return this;
}
+ // optional int64 snapshot_id = 4;
private long snapshotId_ ;
/**
* <code>optional int64 snapshot_id = 4;</code>
*
* <pre>
- * temporary field used during development of computation stack
+ * temporary fields used during development of computation stack
* </pre>
*/
public boolean hasSnapshotId() {
* <code>optional int64 snapshot_id = 4;</code>
*
* <pre>
- * temporary field used during development of computation stack
+ * temporary fields used during development of computation stack
* </pre>
*/
public long getSnapshotId() {
* <code>optional int64 snapshot_id = 4;</code>
*
* <pre>
- * temporary field used during development of computation stack
+ * temporary fields used during development of computation stack
* </pre>
*/
public Builder setSnapshotId(long value) {
* <code>optional int64 snapshot_id = 4;</code>
*
* <pre>
- * temporary field used during development of computation stack
+ * temporary fields used during development of computation stack
* </pre>
*/
public Builder clearSnapshotId() {
return this;
}
+ // optional int32 deleted_components_count = 5;
+ private int deletedComponentsCount_ ;
+ /**
+ * <code>optional int32 deleted_components_count = 5;</code>
+ */
+ public boolean hasDeletedComponentsCount() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ /**
+ * <code>optional int32 deleted_components_count = 5;</code>
+ */
+ public int getDeletedComponentsCount() {
+ return deletedComponentsCount_;
+ }
+ /**
+ * <code>optional int32 deleted_components_count = 5;</code>
+ */
+ public Builder setDeletedComponentsCount(int value) {
+ bitField0_ |= 0x00000010;
+ deletedComponentsCount_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional int32 deleted_components_count = 5;</code>
+ */
+ public Builder clearDeletedComponentsCount() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ deletedComponentsCount_ = 0;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:Metadata)
}
// @@protoc_insertion_point(class_scope:Metadata)
}
- public interface ComponentOrBuilder extends
- // @@protoc_insertion_point(interface_extends:Component)
- com.google.protobuf.MessageOrBuilder {
+ public interface ComponentOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+ // optional int32 ref = 1;
/**
* <code>optional int32 ref = 1;</code>
*/
*/
int getRef();
+ // optional string path = 2;
/**
* <code>optional string path = 2;</code>
*/
com.google.protobuf.ByteString
getPathBytes();
+ // optional string name = 3;
/**
* <code>optional string name = 3;</code>
*/
com.google.protobuf.ByteString
getNameBytes();
+ // optional .ComponentType type = 4;
/**
* <code>optional .ComponentType type = 4;</code>
*/
*/
org.sonar.batch.protocol.Constants.ComponentType getType();
+ // optional bool is_test = 5;
/**
* <code>optional bool is_test = 5;</code>
*/
*/
boolean getIsTest();
+ // optional string language = 6;
/**
* <code>optional string language = 6;</code>
*/
com.google.protobuf.ByteString
getLanguageBytes();
+ // repeated int32 child_refs = 7 [packed = true];
/**
* <code>repeated int32 child_refs = 7 [packed = true];</code>
*/
*/
int getChildRefs(int index);
+ // optional int32 snapshot_id = 8;
/**
* <code>optional int32 snapshot_id = 8;</code>
*
*/
int getSnapshotId();
+ // optional string uuid = 9;
/**
* <code>optional string uuid = 9;</code>
*/
* Protobuf type {@code Component}
*/
public static final class Component extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:Component)
- ComponentOrBuilder {
+ com.google.protobuf.GeneratedMessage
+ implements ComponentOrBuilder {
// Use Component.newBuilder() to construct.
private Component(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 18: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- path_ = bs;
+ path_ = input.readBytes();
break;
}
case 26: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
- name_ = bs;
+ name_ = input.readBytes();
break;
}
case 32: {
break;
}
case 50: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
- language_ = bs;
+ language_ = input.readBytes();
break;
}
case 56: {
break;
}
case 74: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000080;
- uuid_ = bs;
+ uuid_ = input.readBytes();
break;
}
}
}
private int bitField0_;
+ // optional int32 ref = 1;
public static final int REF_FIELD_NUMBER = 1;
private int ref_;
/**
return ref_;
}
+ // optional string path = 2;
public static final int PATH_FIELD_NUMBER = 2;
private java.lang.Object path_;
/**
}
}
+ // optional string name = 3;
public static final int NAME_FIELD_NUMBER = 3;
private java.lang.Object name_;
/**
}
}
+ // optional .ComponentType type = 4;
public static final int TYPE_FIELD_NUMBER = 4;
private org.sonar.batch.protocol.Constants.ComponentType type_;
/**
return type_;
}
+ // optional bool is_test = 5;
public static final int IS_TEST_FIELD_NUMBER = 5;
private boolean isTest_;
/**
return isTest_;
}
+ // optional string language = 6;
public static final int LANGUAGE_FIELD_NUMBER = 6;
private java.lang.Object language_;
/**
}
}
+ // repeated int32 child_refs = 7 [packed = true];
public static final int CHILD_REFS_FIELD_NUMBER = 7;
private java.util.List<java.lang.Integer> childRefs_;
/**
}
private int childRefsMemoizedSerializedSize = -1;
+ // optional int32 snapshot_id = 8;
public static final int SNAPSHOT_ID_FIELD_NUMBER = 8;
private int snapshotId_;
/**
return snapshotId_;
}
+ // optional string uuid = 9;
public static final int UUID_FIELD_NUMBER = 9;
private java.lang.Object uuid_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Component}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:Component)
- org.sonar.batch.protocol.output.BatchReport.ComponentOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder>
+ implements org.sonar.batch.protocol.output.BatchReport.ComponentOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Component_descriptor;
}
private int bitField0_;
+ // optional int32 ref = 1;
private int ref_ ;
/**
* <code>optional int32 ref = 1;</code>
return this;
}
+ // optional string path = 2;
private java.lang.Object path_ = "";
/**
* <code>optional string path = 2;</code>
public java.lang.String getPath() {
java.lang.Object ref = path_;
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()) {
- path_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ path_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string name = 3;
private java.lang.Object name_ = "";
/**
* <code>optional string name = 3;</code>
public java.lang.String getName() {
java.lang.Object ref = name_;
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()) {
- name_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ name_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional .ComponentType type = 4;
private org.sonar.batch.protocol.Constants.ComponentType type_ = org.sonar.batch.protocol.Constants.ComponentType.PROJECT;
/**
* <code>optional .ComponentType type = 4;</code>
return this;
}
+ // optional bool is_test = 5;
private boolean isTest_ ;
/**
* <code>optional bool is_test = 5;</code>
return this;
}
+ // optional string language = 6;
private java.lang.Object language_ = "";
/**
* <code>optional string language = 6;</code>
public java.lang.String getLanguage() {
java.lang.Object ref = language_;
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()) {
- language_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ language_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // repeated int32 child_refs = 7 [packed = true];
private java.util.List<java.lang.Integer> childRefs_ = java.util.Collections.emptyList();
private void ensureChildRefsIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
public Builder addAllChildRefs(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureChildRefsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, childRefs_);
+ super.addAll(values, childRefs_);
onChanged();
return this;
}
return this;
}
+ // optional int32 snapshot_id = 8;
private int snapshotId_ ;
/**
* <code>optional int32 snapshot_id = 8;</code>
return this;
}
+ // optional string uuid = 9;
private java.lang.Object uuid_ = "";
/**
* <code>optional string uuid = 9;</code>
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
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()) {
- uuid_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ uuid_ = s;
return s;
} else {
return (java.lang.String) ref;
// @@protoc_insertion_point(class_scope:Component)
}
- public interface IssueOrBuilder extends
- // @@protoc_insertion_point(interface_extends:Issue)
- com.google.protobuf.MessageOrBuilder {
+ public interface IssueOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+ // optional string rule_repository = 1;
/**
* <code>optional string rule_repository = 1;</code>
*/
com.google.protobuf.ByteString
getRuleRepositoryBytes();
+ // optional string rule_key = 2;
/**
* <code>optional string rule_key = 2;</code>
*/
com.google.protobuf.ByteString
getRuleKeyBytes();
+ // optional int32 line = 3;
/**
* <code>optional int32 line = 3;</code>
*/
*/
int getLine();
+ // optional string msg = 4;
/**
* <code>optional string msg = 4;</code>
*/
com.google.protobuf.ByteString
getMsgBytes();
+ // optional .Severity severity = 5;
/**
* <code>optional .Severity severity = 5;</code>
*/
*/
org.sonar.batch.protocol.Constants.Severity getSeverity();
+ // repeated string tags = 6;
/**
* <code>repeated string tags = 6;</code>
*/
- com.google.protobuf.ProtocolStringList
- getTagsList();
+ java.util.List<java.lang.String>
+ getTagsList();
/**
* <code>repeated string tags = 6;</code>
*/
com.google.protobuf.ByteString
getTagsBytes(int index);
+ // optional double effort_to_fix = 7;
/**
* <code>optional double effort_to_fix = 7;</code>
*
*/
double getEffortToFix();
+ // optional bool is_new = 8;
/**
* <code>optional bool is_new = 8;</code>
*/
*/
boolean getIsNew();
+ // optional string uuid = 9;
/**
* <code>optional string uuid = 9;</code>
*/
com.google.protobuf.ByteString
getUuidBytes();
+ // optional int64 debt_in_minutes = 10;
/**
* <code>optional int64 debt_in_minutes = 10;</code>
*/
*/
long getDebtInMinutes();
+ // optional string resolution = 11;
/**
* <code>optional string resolution = 11;</code>
*/
com.google.protobuf.ByteString
getResolutionBytes();
+ // optional string status = 12;
/**
* <code>optional string status = 12;</code>
*/
com.google.protobuf.ByteString
getStatusBytes();
+ // optional string checksum = 13;
/**
* <code>optional string checksum = 13;</code>
*/
com.google.protobuf.ByteString
getChecksumBytes();
+ // optional bool manual_severity = 14;
/**
* <code>optional bool manual_severity = 14;</code>
*/
*/
boolean getManualSeverity();
+ // optional string reporter = 15;
/**
* <code>optional string reporter = 15;</code>
*/
com.google.protobuf.ByteString
getReporterBytes();
+ // optional string assignee = 16;
/**
* <code>optional string assignee = 16;</code>
*/
com.google.protobuf.ByteString
getAssigneeBytes();
+ // optional string action_plan_key = 17;
/**
* <code>optional string action_plan_key = 17;</code>
*/
com.google.protobuf.ByteString
getActionPlanKeyBytes();
+ // optional string attributes = 18;
/**
* <code>optional string attributes = 18;</code>
*/
com.google.protobuf.ByteString
getAttributesBytes();
+ // optional string author_login = 19;
/**
* <code>optional string author_login = 19;</code>
*/
com.google.protobuf.ByteString
getAuthorLoginBytes();
+ // optional int64 creation_date = 20;
/**
* <code>optional int64 creation_date = 20;</code>
*/
*/
long getCreationDate();
+ // optional int64 close_date = 21;
/**
* <code>optional int64 close_date = 21;</code>
*/
*/
long getCloseDate();
+ // optional int64 update_date = 22;
/**
* <code>optional int64 update_date = 22;</code>
*/
*/
long getUpdateDate();
+ // optional int64 selected_at = 23;
/**
* <code>optional int64 selected_at = 23;</code>
*/
*/
long getSelectedAt();
+ // optional string diff_fields = 24;
/**
* <code>optional string diff_fields = 24;</code>
*/
com.google.protobuf.ByteString
getDiffFieldsBytes();
+ // optional bool is_changed = 25;
/**
* <code>optional bool is_changed = 25;</code>
*/
*/
boolean getIsChanged();
+ // optional bool must_send_notification = 26;
/**
* <code>optional bool must_send_notification = 26;</code>
*/
* Protobuf type {@code Issue}
*/
public static final class Issue extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:Issue)
- IssueOrBuilder {
+ com.google.protobuf.GeneratedMessage
+ implements IssueOrBuilder {
// Use Issue.newBuilder() to construct.
private Issue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 10: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
- ruleRepository_ = bs;
+ ruleRepository_ = input.readBytes();
break;
}
case 18: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- ruleKey_ = bs;
+ ruleKey_ = input.readBytes();
break;
}
case 24: {
break;
}
case 34: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
- msg_ = bs;
+ msg_ = input.readBytes();
break;
}
case 40: {
break;
}
case 50: {
- com.google.protobuf.ByteString bs = input.readBytes();
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
tags_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000020;
}
- tags_.add(bs);
+ tags_.add(input.readBytes());
break;
}
case 57: {
break;
}
case 74: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000080;
- uuid_ = bs;
+ uuid_ = input.readBytes();
break;
}
case 80: {
break;
}
case 90: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000200;
- resolution_ = bs;
+ resolution_ = input.readBytes();
break;
}
case 98: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000400;
- status_ = bs;
+ status_ = input.readBytes();
break;
}
case 106: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000800;
- checksum_ = bs;
+ checksum_ = input.readBytes();
break;
}
case 112: {
break;
}
case 122: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00002000;
- reporter_ = bs;
+ reporter_ = input.readBytes();
break;
}
case 130: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00004000;
- assignee_ = bs;
+ assignee_ = input.readBytes();
break;
}
case 138: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00008000;
- actionPlanKey_ = bs;
+ actionPlanKey_ = input.readBytes();
break;
}
case 146: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00010000;
- attributes_ = bs;
+ attributes_ = input.readBytes();
break;
}
case 154: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00020000;
- authorLogin_ = bs;
+ authorLogin_ = input.readBytes();
break;
}
case 160: {
break;
}
case 194: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00400000;
- diffFields_ = bs;
+ diffFields_ = input.readBytes();
break;
}
case 200: {
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
- tags_ = tags_.getUnmodifiableView();
+ tags_ = new com.google.protobuf.UnmodifiableLazyStringList(tags_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
private int bitField0_;
+ // optional string rule_repository = 1;
public static final int RULE_REPOSITORY_FIELD_NUMBER = 1;
private java.lang.Object ruleRepository_;
/**
}
}
+ // optional string rule_key = 2;
public static final int RULE_KEY_FIELD_NUMBER = 2;
private java.lang.Object ruleKey_;
/**
}
}
+ // optional int32 line = 3;
public static final int LINE_FIELD_NUMBER = 3;
private int line_;
/**
return line_;
}
+ // optional string msg = 4;
public static final int MSG_FIELD_NUMBER = 4;
private java.lang.Object msg_;
/**
}
}
+ // optional .Severity severity = 5;
public static final int SEVERITY_FIELD_NUMBER = 5;
private org.sonar.batch.protocol.Constants.Severity severity_;
/**
return severity_;
}
+ // repeated string tags = 6;
public static final int TAGS_FIELD_NUMBER = 6;
private com.google.protobuf.LazyStringList tags_;
/**
* <code>repeated string tags = 6;</code>
*/
- public com.google.protobuf.ProtocolStringList
+ public java.util.List<java.lang.String>
getTagsList() {
return tags_;
}
return tags_.getByteString(index);
}
+ // optional double effort_to_fix = 7;
public static final int EFFORT_TO_FIX_FIELD_NUMBER = 7;
private double effortToFix_;
/**
return effortToFix_;
}
+ // optional bool is_new = 8;
public static final int IS_NEW_FIELD_NUMBER = 8;
private boolean isNew_;
/**
return isNew_;
}
+ // optional string uuid = 9;
public static final int UUID_FIELD_NUMBER = 9;
private java.lang.Object uuid_;
/**
}
}
+ // optional int64 debt_in_minutes = 10;
public static final int DEBT_IN_MINUTES_FIELD_NUMBER = 10;
private long debtInMinutes_;
/**
return debtInMinutes_;
}
+ // optional string resolution = 11;
public static final int RESOLUTION_FIELD_NUMBER = 11;
private java.lang.Object resolution_;
/**
}
}
+ // optional string status = 12;
public static final int STATUS_FIELD_NUMBER = 12;
private java.lang.Object status_;
/**
}
}
+ // optional string checksum = 13;
public static final int CHECKSUM_FIELD_NUMBER = 13;
private java.lang.Object checksum_;
/**
}
}
+ // optional bool manual_severity = 14;
public static final int MANUAL_SEVERITY_FIELD_NUMBER = 14;
private boolean manualSeverity_;
/**
return manualSeverity_;
}
+ // optional string reporter = 15;
public static final int REPORTER_FIELD_NUMBER = 15;
private java.lang.Object reporter_;
/**
}
}
+ // optional string assignee = 16;
public static final int ASSIGNEE_FIELD_NUMBER = 16;
private java.lang.Object assignee_;
/**
}
}
+ // optional string action_plan_key = 17;
public static final int ACTION_PLAN_KEY_FIELD_NUMBER = 17;
private java.lang.Object actionPlanKey_;
/**
}
}
+ // optional string attributes = 18;
public static final int ATTRIBUTES_FIELD_NUMBER = 18;
private java.lang.Object attributes_;
/**
}
}
+ // optional string author_login = 19;
public static final int AUTHOR_LOGIN_FIELD_NUMBER = 19;
private java.lang.Object authorLogin_;
/**
}
}
+ // optional int64 creation_date = 20;
public static final int CREATION_DATE_FIELD_NUMBER = 20;
private long creationDate_;
/**
return creationDate_;
}
+ // optional int64 close_date = 21;
public static final int CLOSE_DATE_FIELD_NUMBER = 21;
private long closeDate_;
/**
return closeDate_;
}
+ // optional int64 update_date = 22;
public static final int UPDATE_DATE_FIELD_NUMBER = 22;
private long updateDate_;
/**
return updateDate_;
}
+ // optional int64 selected_at = 23;
public static final int SELECTED_AT_FIELD_NUMBER = 23;
private long selectedAt_;
/**
return selectedAt_;
}
+ // optional string diff_fields = 24;
public static final int DIFF_FIELDS_FIELD_NUMBER = 24;
private java.lang.Object diffFields_;
/**
}
}
+ // optional bool is_changed = 25;
public static final int IS_CHANGED_FIELD_NUMBER = 25;
private boolean isChanged_;
/**
return isChanged_;
}
+ // optional bool must_send_notification = 26;
public static final int MUST_SEND_NOTIFICATION_FIELD_NUMBER = 26;
private boolean mustSendNotification_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Issue}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:Issue)
- org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder>
+ implements org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Issue_descriptor;
}
result.severity_ = severity_;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
- tags_ = tags_.getUnmodifiableView();
+ tags_ = new com.google.protobuf.UnmodifiableLazyStringList(
+ tags_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.tags_ = tags_;
}
private int bitField0_;
+ // optional string rule_repository = 1;
private java.lang.Object ruleRepository_ = "";
/**
* <code>optional string rule_repository = 1;</code>
public java.lang.String getRuleRepository() {
java.lang.Object ref = ruleRepository_;
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()) {
- ruleRepository_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ ruleRepository_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string rule_key = 2;
private java.lang.Object ruleKey_ = "";
/**
* <code>optional string rule_key = 2;</code>
public java.lang.String getRuleKey() {
java.lang.Object ref = ruleKey_;
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()) {
- ruleKey_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ ruleKey_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional int32 line = 3;
private int line_ ;
/**
* <code>optional int32 line = 3;</code>
return this;
}
+ // optional string msg = 4;
private java.lang.Object msg_ = "";
/**
* <code>optional string msg = 4;</code>
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()) {
- msg_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ msg_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional .Severity severity = 5;
private org.sonar.batch.protocol.Constants.Severity severity_ = org.sonar.batch.protocol.Constants.Severity.INFO;
/**
* <code>optional .Severity severity = 5;</code>
return this;
}
+ // repeated string tags = 6;
private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTagsIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
/**
* <code>repeated string tags = 6;</code>
*/
- public com.google.protobuf.ProtocolStringList
+ public java.util.List<java.lang.String>
getTagsList() {
- return tags_.getUnmodifiableView();
+ return java.util.Collections.unmodifiableList(tags_);
}
/**
* <code>repeated string tags = 6;</code>
public Builder addAllTags(
java.lang.Iterable<java.lang.String> values) {
ensureTagsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, tags_);
+ super.addAll(values, tags_);
onChanged();
return this;
}
return this;
}
+ // optional double effort_to_fix = 7;
private double effortToFix_ ;
/**
* <code>optional double effort_to_fix = 7;</code>
return this;
}
+ // optional bool is_new = 8;
private boolean isNew_ ;
/**
* <code>optional bool is_new = 8;</code>
return this;
}
+ // optional string uuid = 9;
private java.lang.Object uuid_ = "";
/**
* <code>optional string uuid = 9;</code>
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
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()) {
- uuid_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ uuid_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional int64 debt_in_minutes = 10;
private long debtInMinutes_ ;
/**
* <code>optional int64 debt_in_minutes = 10;</code>
return this;
}
+ // optional string resolution = 11;
private java.lang.Object resolution_ = "";
/**
* <code>optional string resolution = 11;</code>
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;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ resolution_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string status = 12;
private java.lang.Object status_ = "";
/**
* <code>optional string status = 12;</code>
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;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ status_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string checksum = 13;
private java.lang.Object checksum_ = "";
/**
* <code>optional string checksum = 13;</code>
public java.lang.String getChecksum() {
java.lang.Object ref = checksum_;
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()) {
- checksum_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ checksum_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional bool manual_severity = 14;
private boolean manualSeverity_ ;
/**
* <code>optional bool manual_severity = 14;</code>
return this;
}
+ // optional string reporter = 15;
private java.lang.Object reporter_ = "";
/**
* <code>optional string reporter = 15;</code>
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;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ reporter_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string assignee = 16;
private java.lang.Object assignee_ = "";
/**
* <code>optional string assignee = 16;</code>
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;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ assignee_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string action_plan_key = 17;
private java.lang.Object actionPlanKey_ = "";
/**
* <code>optional string action_plan_key = 17;</code>
public java.lang.String getActionPlanKey() {
java.lang.Object ref = actionPlanKey_;
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()) {
- actionPlanKey_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ actionPlanKey_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string attributes = 18;
private java.lang.Object attributes_ = "";
/**
* <code>optional string attributes = 18;</code>
public java.lang.String getAttributes() {
java.lang.Object ref = attributes_;
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()) {
- attributes_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ attributes_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string author_login = 19;
private java.lang.Object authorLogin_ = "";
/**
* <code>optional string author_login = 19;</code>
public java.lang.String getAuthorLogin() {
java.lang.Object ref = authorLogin_;
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()) {
- authorLogin_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ authorLogin_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional int64 creation_date = 20;
private long creationDate_ ;
/**
* <code>optional int64 creation_date = 20;</code>
return this;
}
+ // optional int64 close_date = 21;
private long closeDate_ ;
/**
* <code>optional int64 close_date = 21;</code>
return this;
}
+ // optional int64 update_date = 22;
private long updateDate_ ;
/**
* <code>optional int64 update_date = 22;</code>
return this;
}
+ // optional int64 selected_at = 23;
private long selectedAt_ ;
/**
* <code>optional int64 selected_at = 23;</code>
return this;
}
+ // optional string diff_fields = 24;
private java.lang.Object diffFields_ = "";
/**
* <code>optional string diff_fields = 24;</code>
public java.lang.String getDiffFields() {
java.lang.Object ref = diffFields_;
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()) {
- diffFields_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ diffFields_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional bool is_changed = 25;
private boolean isChanged_ ;
/**
* <code>optional bool is_changed = 25;</code>
return this;
}
+ // optional bool must_send_notification = 26;
private boolean mustSendNotification_ ;
/**
* <code>optional bool must_send_notification = 26;</code>
// @@protoc_insertion_point(class_scope:Issue)
}
- public interface IssuesOrBuilder extends
- // @@protoc_insertion_point(interface_extends:Issues)
- com.google.protobuf.MessageOrBuilder {
+ public interface IssuesOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+ // optional int32 component_ref = 1;
/**
* <code>optional int32 component_ref = 1;</code>
*/
*/
int getComponentRef();
+ // repeated .Issue list = 2;
/**
* <code>repeated .Issue list = 2;</code>
*/
*/
org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder getListOrBuilder(
int index);
+
+ // optional string component_uuid = 3;
+ /**
+ * <code>optional string component_uuid = 3;</code>
+ *
+ * <pre>
+ * Temporary field for issues on deleted components
+ * </pre>
+ */
+ boolean hasComponentUuid();
+ /**
+ * <code>optional string component_uuid = 3;</code>
+ *
+ * <pre>
+ * Temporary field for issues on deleted components
+ * </pre>
+ */
+ java.lang.String getComponentUuid();
+ /**
+ * <code>optional string component_uuid = 3;</code>
+ *
+ * <pre>
+ * Temporary field for issues on deleted components
+ * </pre>
+ */
+ com.google.protobuf.ByteString
+ getComponentUuidBytes();
}
/**
* Protobuf type {@code Issues}
*/
public static final class Issues extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:Issues)
- IssuesOrBuilder {
+ com.google.protobuf.GeneratedMessage
+ implements IssuesOrBuilder {
// Use Issues.newBuilder() to construct.
private Issues(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
list_.add(input.readMessage(org.sonar.batch.protocol.output.BatchReport.Issue.PARSER, extensionRegistry));
break;
}
+ case 26: {
+ bitField0_ |= 0x00000002;
+ componentUuid_ = input.readBytes();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
}
private int bitField0_;
+ // optional int32 component_ref = 1;
public static final int COMPONENT_REF_FIELD_NUMBER = 1;
private int componentRef_;
/**
return componentRef_;
}
+ // repeated .Issue list = 2;
public static final int LIST_FIELD_NUMBER = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Issue> list_;
/**
return list_.get(index);
}
+ // optional string component_uuid = 3;
+ public static final int COMPONENT_UUID_FIELD_NUMBER = 3;
+ private java.lang.Object componentUuid_;
+ /**
+ * <code>optional string component_uuid = 3;</code>
+ *
+ * <pre>
+ * Temporary field for issues on deleted components
+ * </pre>
+ */
+ public boolean hasComponentUuid() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>optional string component_uuid = 3;</code>
+ *
+ * <pre>
+ * Temporary field for issues on deleted components
+ * </pre>
+ */
+ public java.lang.String getComponentUuid() {
+ java.lang.Object ref = componentUuid_;
+ 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()) {
+ componentUuid_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * <code>optional string component_uuid = 3;</code>
+ *
+ * <pre>
+ * Temporary field for issues on deleted components
+ * </pre>
+ */
+ public com.google.protobuf.ByteString
+ getComponentUuidBytes() {
+ java.lang.Object ref = componentUuid_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ componentUuid_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private void initFields() {
componentRef_ = 0;
list_ = java.util.Collections.emptyList();
+ componentUuid_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
for (int i = 0; i < list_.size(); i++) {
output.writeMessage(2, list_.get(i));
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeBytes(3, getComponentUuidBytes());
+ }
getUnknownFields().writeTo(output);
}
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, list_.get(i));
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(3, getComponentUuidBytes());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
* Protobuf type {@code Issues}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:Issues)
- org.sonar.batch.protocol.output.BatchReport.IssuesOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder>
+ implements org.sonar.batch.protocol.output.BatchReport.IssuesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Issues_descriptor;
} else {
listBuilder_.clear();
}
+ componentUuid_ = "";
+ bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
} else {
result.list_ = listBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.componentUuid_ = componentUuid_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
}
}
+ if (other.hasComponentUuid()) {
+ bitField0_ |= 0x00000004;
+ componentUuid_ = other.componentUuid_;
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
}
private int bitField0_;
+ // optional int32 component_ref = 1;
private int componentRef_ ;
/**
* <code>optional int32 component_ref = 1;</code>
return this;
}
+ // repeated .Issue list = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Issue> list_ =
java.util.Collections.emptyList();
private void ensureListIsMutable() {
java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Issue> values) {
if (listBuilder_ == null) {
ensureListIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, list_);
+ super.addAll(values, list_);
onChanged();
} else {
listBuilder_.addAllMessages(values);
return listBuilder_;
}
+ // optional string component_uuid = 3;
+ private java.lang.Object componentUuid_ = "";
+ /**
+ * <code>optional string component_uuid = 3;</code>
+ *
+ * <pre>
+ * Temporary field for issues on deleted components
+ * </pre>
+ */
+ public boolean hasComponentUuid() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional string component_uuid = 3;</code>
+ *
+ * <pre>
+ * Temporary field for issues on deleted components
+ * </pre>
+ */
+ public java.lang.String getComponentUuid() {
+ java.lang.Object ref = componentUuid_;
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ componentUuid_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * <code>optional string component_uuid = 3;</code>
+ *
+ * <pre>
+ * Temporary field for issues on deleted components
+ * </pre>
+ */
+ public com.google.protobuf.ByteString
+ getComponentUuidBytes() {
+ java.lang.Object ref = componentUuid_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ componentUuid_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * <code>optional string component_uuid = 3;</code>
+ *
+ * <pre>
+ * Temporary field for issues on deleted components
+ * </pre>
+ */
+ public Builder setComponentUuid(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ componentUuid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string component_uuid = 3;</code>
+ *
+ * <pre>
+ * Temporary field for issues on deleted components
+ * </pre>
+ */
+ public Builder clearComponentUuid() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ componentUuid_ = getDefaultInstance().getComponentUuid();
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string component_uuid = 3;</code>
+ *
+ * <pre>
+ * Temporary field for issues on deleted components
+ * </pre>
+ */
+ public Builder setComponentUuidBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ componentUuid_ = value;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:Issues)
}
// @@protoc_insertion_point(class_scope:Issues)
}
- private static final com.google.protobuf.Descriptors.Descriptor
+ private static com.google.protobuf.Descriptors.Descriptor
internal_static_Metadata_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Metadata_fieldAccessorTable;
- private static final com.google.protobuf.Descriptors.Descriptor
+ private static com.google.protobuf.Descriptors.Descriptor
internal_static_Component_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Component_fieldAccessorTable;
- private static final com.google.protobuf.Descriptors.Descriptor
+ private static com.google.protobuf.Descriptors.Descriptor
internal_static_Issue_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Issue_fieldAccessorTable;
- private static final com.google.protobuf.Descriptors.Descriptor
+ private static com.google.protobuf.Descriptors.Descriptor
internal_static_Issues_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
descriptor;
static {
java.lang.String[] descriptorData = {
- "\n\022batch_report.proto\032\017constants.proto\"g\n" +
- "\010Metadata\022\025\n\ranalysis_date\030\001 \001(\003\022\023\n\013proj" +
- "ect_key\030\002 \001(\t\022\032\n\022root_component_ref\030\003 \001(" +
- "\005\022\023\n\013snapshot_id\030\004 \001(\003\"\260\001\n\tComponent\022\013\n\003" +
- "ref\030\001 \001(\005\022\014\n\004path\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022\034\n" +
- "\004type\030\004 \001(\0162\016.ComponentType\022\017\n\007is_test\030\005" +
- " \001(\010\022\020\n\010language\030\006 \001(\t\022\026\n\nchild_refs\030\007 \003" +
- "(\005B\002\020\001\022\023\n\013snapshot_id\030\010 \001(\005\022\014\n\004uuid\030\t \001(" +
- "\t\"\232\004\n\005Issue\022\027\n\017rule_repository\030\001 \001(\t\022\020\n\010" +
- "rule_key\030\002 \001(\t\022\014\n\004line\030\003 \001(\005\022\013\n\003msg\030\004 \001(",
- "\t\022\033\n\010severity\030\005 \001(\0162\t.Severity\022\014\n\004tags\030\006" +
- " \003(\t\022\025\n\reffort_to_fix\030\007 \001(\001\022\016\n\006is_new\030\010 " +
- "\001(\010\022\014\n\004uuid\030\t \001(\t\022\027\n\017debt_in_minutes\030\n \001" +
- "(\003\022\022\n\nresolution\030\013 \001(\t\022\016\n\006status\030\014 \001(\t\022\020" +
- "\n\010checksum\030\r \001(\t\022\027\n\017manual_severity\030\016 \001(" +
- "\010\022\020\n\010reporter\030\017 \001(\t\022\020\n\010assignee\030\020 \001(\t\022\027\n" +
- "\017action_plan_key\030\021 \001(\t\022\022\n\nattributes\030\022 \001" +
- "(\t\022\024\n\014author_login\030\023 \001(\t\022\025\n\rcreation_dat" +
- "e\030\024 \001(\003\022\022\n\nclose_date\030\025 \001(\003\022\023\n\013update_da" +
- "te\030\026 \001(\003\022\023\n\013selected_at\030\027 \001(\003\022\023\n\013diff_fi",
- "elds\030\030 \001(\t\022\022\n\nis_changed\030\031 \001(\010\022\036\n\026must_s" +
- "end_notification\030\032 \001(\010\"5\n\006Issues\022\025\n\rcomp" +
- "onent_ref\030\001 \001(\005\022\024\n\004list\030\002 \003(\0132\006.IssueB#\n" +
- "\037org.sonar.batch.protocol.outputH\001"
+ "\n\022batch_report.proto\032\017constants.proto\"\211\001" +
+ "\n\010Metadata\022\025\n\ranalysis_date\030\001 \001(\003\022\023\n\013pro" +
+ "ject_key\030\002 \001(\t\022\032\n\022root_component_ref\030\003 \001" +
+ "(\005\022\023\n\013snapshot_id\030\004 \001(\003\022 \n\030deleted_compo" +
+ "nents_count\030\005 \001(\005\"\260\001\n\tComponent\022\013\n\003ref\030\001" +
+ " \001(\005\022\014\n\004path\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022\034\n\004type" +
+ "\030\004 \001(\0162\016.ComponentType\022\017\n\007is_test\030\005 \001(\010\022" +
+ "\020\n\010language\030\006 \001(\t\022\026\n\nchild_refs\030\007 \003(\005B\002\020" +
+ "\001\022\023\n\013snapshot_id\030\010 \001(\005\022\014\n\004uuid\030\t \001(\t\"\232\004\n" +
+ "\005Issue\022\027\n\017rule_repository\030\001 \001(\t\022\020\n\010rule_",
+ "key\030\002 \001(\t\022\014\n\004line\030\003 \001(\005\022\013\n\003msg\030\004 \001(\t\022\033\n\010" +
+ "severity\030\005 \001(\0162\t.Severity\022\014\n\004tags\030\006 \003(\t\022" +
+ "\025\n\reffort_to_fix\030\007 \001(\001\022\016\n\006is_new\030\010 \001(\010\022\014" +
+ "\n\004uuid\030\t \001(\t\022\027\n\017debt_in_minutes\030\n \001(\003\022\022\n" +
+ "\nresolution\030\013 \001(\t\022\016\n\006status\030\014 \001(\t\022\020\n\010che" +
+ "cksum\030\r \001(\t\022\027\n\017manual_severity\030\016 \001(\010\022\020\n\010" +
+ "reporter\030\017 \001(\t\022\020\n\010assignee\030\020 \001(\t\022\027\n\017acti" +
+ "on_plan_key\030\021 \001(\t\022\022\n\nattributes\030\022 \001(\t\022\024\n" +
+ "\014author_login\030\023 \001(\t\022\025\n\rcreation_date\030\024 \001" +
+ "(\003\022\022\n\nclose_date\030\025 \001(\003\022\023\n\013update_date\030\026 ",
+ "\001(\003\022\023\n\013selected_at\030\027 \001(\003\022\023\n\013diff_fields\030" +
+ "\030 \001(\t\022\022\n\nis_changed\030\031 \001(\010\022\036\n\026must_send_n" +
+ "otification\030\032 \001(\010\"M\n\006Issues\022\025\n\rcomponent" +
+ "_ref\030\001 \001(\005\022\024\n\004list\030\002 \003(\0132\006.Issue\022\026\n\016comp" +
+ "onent_uuid\030\003 \001(\tB#\n\037org.sonar.batch.prot" +
+ "ocol.outputH\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
+ new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
+ public com.google.protobuf.ExtensionRegistry assignDescriptors(
+ com.google.protobuf.Descriptors.FileDescriptor root) {
+ descriptor = root;
+ internal_static_Metadata_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_Metadata_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Metadata_descriptor,
+ new java.lang.String[] { "AnalysisDate", "ProjectKey", "RootComponentRef", "SnapshotId", "DeletedComponentsCount", });
+ internal_static_Component_descriptor =
+ getDescriptor().getMessageTypes().get(1);
+ internal_static_Component_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Component_descriptor,
+ new java.lang.String[] { "Ref", "Path", "Name", "Type", "IsTest", "Language", "ChildRefs", "SnapshotId", "Uuid", });
+ internal_static_Issue_descriptor =
+ getDescriptor().getMessageTypes().get(2);
+ internal_static_Issue_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Issue_descriptor,
+ new java.lang.String[] { "RuleRepository", "RuleKey", "Line", "Msg", "Severity", "Tags", "EffortToFix", "IsNew", "Uuid", "DebtInMinutes", "Resolution", "Status", "Checksum", "ManualSeverity", "Reporter", "Assignee", "ActionPlanKey", "Attributes", "AuthorLogin", "CreationDate", "CloseDate", "UpdateDate", "SelectedAt", "DiffFields", "IsChanged", "MustSendNotification", });
+ internal_static_Issues_descriptor =
+ getDescriptor().getMessageTypes().get(3);
+ internal_static_Issues_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Issues_descriptor,
+ new java.lang.String[] { "ComponentRef", "List", "ComponentUuid", });
+ return null;
+ }
+ };
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.sonar.batch.protocol.Constants.getDescriptor(),
}, assigner);
- internal_static_Metadata_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_Metadata_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Metadata_descriptor,
- new java.lang.String[] { "AnalysisDate", "ProjectKey", "RootComponentRef", "SnapshotId", });
- internal_static_Component_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_Component_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Component_descriptor,
- new java.lang.String[] { "Ref", "Path", "Name", "Type", "IsTest", "Language", "ChildRefs", "SnapshotId", "Uuid", });
- internal_static_Issue_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_Issue_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Issue_descriptor,
- new java.lang.String[] { "RuleRepository", "RuleKey", "Line", "Msg", "Severity", "Tags", "EffortToFix", "IsNew", "Uuid", "DebtInMinutes", "Resolution", "Status", "Checksum", "ManualSeverity", "Reporter", "Assignee", "ActionPlanKey", "Attributes", "AuthorLogin", "CreationDate", "CloseDate", "UpdateDate", "SelectedAt", "DiffFields", "IsChanged", "MustSendNotification", });
- internal_static_Issues_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_Issues_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Issues_descriptor,
- new java.lang.String[] { "ComponentRef", "List", });
- org.sonar.batch.protocol.Constants.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
- public interface LineOrBuilder extends
- // @@protoc_insertion_point(interface_extends:org.sonar.server.source.db.Line)
- com.google.protobuf.MessageOrBuilder {
+ public interface LineOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+ // optional int32 line = 1;
/**
* <code>optional int32 line = 1;</code>
*/
*/
int getLine();
+ // optional string source = 2;
/**
* <code>optional string source = 2;</code>
*/
com.google.protobuf.ByteString
getSourceBytes();
+ // optional string scm_revision = 3;
/**
* <code>optional string scm_revision = 3;</code>
*
com.google.protobuf.ByteString
getScmRevisionBytes();
+ // optional string scm_author = 4;
/**
* <code>optional string scm_author = 4;</code>
*/
com.google.protobuf.ByteString
getScmAuthorBytes();
+ // optional int64 scm_date = 5;
/**
* <code>optional int64 scm_date = 5;</code>
*/
*/
long getScmDate();
+ // optional int32 ut_line_hits = 6;
/**
* <code>optional int32 ut_line_hits = 6;</code>
*
*/
int getUtLineHits();
+ // optional int32 ut_conditions = 7;
/**
* <code>optional int32 ut_conditions = 7;</code>
*/
*/
int getUtConditions();
+ // optional int32 ut_covered_conditions = 8;
/**
* <code>optional int32 ut_covered_conditions = 8;</code>
*/
*/
int getUtCoveredConditions();
+ // optional int32 it_line_hits = 9;
/**
* <code>optional int32 it_line_hits = 9;</code>
*
*/
int getItLineHits();
+ // optional int32 it_conditions = 10;
/**
* <code>optional int32 it_conditions = 10;</code>
*/
*/
int getItConditions();
+ // optional int32 it_covered_conditions = 11;
/**
* <code>optional int32 it_covered_conditions = 11;</code>
*/
*/
int getItCoveredConditions();
+ // optional int32 overall_line_hits = 12;
/**
* <code>optional int32 overall_line_hits = 12;</code>
*
*/
int getOverallLineHits();
+ // optional int32 overall_conditions = 13;
/**
* <code>optional int32 overall_conditions = 13;</code>
*/
*/
int getOverallConditions();
+ // optional int32 overall_covered_conditions = 14;
/**
* <code>optional int32 overall_covered_conditions = 14;</code>
*/
*/
int getOverallCoveredConditions();
+ // optional string highlighting = 15;
/**
* <code>optional string highlighting = 15;</code>
*/
com.google.protobuf.ByteString
getHighlightingBytes();
+ // optional string symbols = 16;
/**
* <code>optional string symbols = 16;</code>
*/
com.google.protobuf.ByteString
getSymbolsBytes();
+ // repeated int32 duplications = 17 [packed = true];
/**
* <code>repeated int32 duplications = 17 [packed = true];</code>
*/
* Protobuf type {@code org.sonar.server.source.db.Line}
*/
public static final class Line extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:org.sonar.server.source.db.Line)
- LineOrBuilder {
+ com.google.protobuf.GeneratedMessage
+ implements LineOrBuilder {
// Use Line.newBuilder() to construct.
private Line(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 18: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- source_ = bs;
+ source_ = input.readBytes();
break;
}
case 26: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
- scmRevision_ = bs;
+ scmRevision_ = input.readBytes();
break;
}
case 34: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
- scmAuthor_ = bs;
+ scmAuthor_ = input.readBytes();
break;
}
case 40: {
break;
}
case 122: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00004000;
- highlighting_ = bs;
+ highlighting_ = input.readBytes();
break;
}
case 130: {
- com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00008000;
- symbols_ = bs;
+ symbols_ = input.readBytes();
break;
}
case 136: {
}
private int bitField0_;
+ // optional int32 line = 1;
public static final int LINE_FIELD_NUMBER = 1;
private int line_;
/**
return line_;
}
+ // optional string source = 2;
public static final int SOURCE_FIELD_NUMBER = 2;
private java.lang.Object source_;
/**
}
}
+ // optional string scm_revision = 3;
public static final int SCM_REVISION_FIELD_NUMBER = 3;
private java.lang.Object scmRevision_;
/**
}
}
+ // optional string scm_author = 4;
public static final int SCM_AUTHOR_FIELD_NUMBER = 4;
private java.lang.Object scmAuthor_;
/**
}
}
+ // optional int64 scm_date = 5;
public static final int SCM_DATE_FIELD_NUMBER = 5;
private long scmDate_;
/**
return scmDate_;
}
+ // optional int32 ut_line_hits = 6;
public static final int UT_LINE_HITS_FIELD_NUMBER = 6;
private int utLineHits_;
/**
return utLineHits_;
}
+ // optional int32 ut_conditions = 7;
public static final int UT_CONDITIONS_FIELD_NUMBER = 7;
private int utConditions_;
/**
return utConditions_;
}
+ // optional int32 ut_covered_conditions = 8;
public static final int UT_COVERED_CONDITIONS_FIELD_NUMBER = 8;
private int utCoveredConditions_;
/**
return utCoveredConditions_;
}
+ // optional int32 it_line_hits = 9;
public static final int IT_LINE_HITS_FIELD_NUMBER = 9;
private int itLineHits_;
/**
return itLineHits_;
}
+ // optional int32 it_conditions = 10;
public static final int IT_CONDITIONS_FIELD_NUMBER = 10;
private int itConditions_;
/**
return itConditions_;
}
+ // optional int32 it_covered_conditions = 11;
public static final int IT_COVERED_CONDITIONS_FIELD_NUMBER = 11;
private int itCoveredConditions_;
/**
return itCoveredConditions_;
}
+ // optional int32 overall_line_hits = 12;
public static final int OVERALL_LINE_HITS_FIELD_NUMBER = 12;
private int overallLineHits_;
/**
return overallLineHits_;
}
+ // optional int32 overall_conditions = 13;
public static final int OVERALL_CONDITIONS_FIELD_NUMBER = 13;
private int overallConditions_;
/**
return overallConditions_;
}
+ // optional int32 overall_covered_conditions = 14;
public static final int OVERALL_COVERED_CONDITIONS_FIELD_NUMBER = 14;
private int overallCoveredConditions_;
/**
return overallCoveredConditions_;
}
+ // optional string highlighting = 15;
public static final int HIGHLIGHTING_FIELD_NUMBER = 15;
private java.lang.Object highlighting_;
/**
}
}
+ // optional string symbols = 16;
public static final int SYMBOLS_FIELD_NUMBER = 16;
private java.lang.Object symbols_;
/**
}
}
+ // repeated int32 duplications = 17 [packed = true];
public static final int DUPLICATIONS_FIELD_NUMBER = 17;
private java.util.List<java.lang.Integer> duplications_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code org.sonar.server.source.db.Line}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:org.sonar.server.source.db.Line)
- org.sonar.server.source.db.FileSourceDb.LineOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder>
+ implements org.sonar.server.source.db.FileSourceDb.LineOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.server.source.db.FileSourceDb.internal_static_org_sonar_server_source_db_Line_descriptor;
}
private int bitField0_;
+ // optional int32 line = 1;
private int line_ ;
/**
* <code>optional int32 line = 1;</code>
return this;
}
+ // optional string source = 2;
private java.lang.Object source_ = "";
/**
* <code>optional string source = 2;</code>
public java.lang.String getSource() {
java.lang.Object ref = source_;
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()) {
- source_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ source_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string scm_revision = 3;
private java.lang.Object scmRevision_ = "";
/**
* <code>optional string scm_revision = 3;</code>
public java.lang.String getScmRevision() {
java.lang.Object ref = scmRevision_;
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()) {
- scmRevision_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ scmRevision_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string scm_author = 4;
private java.lang.Object scmAuthor_ = "";
/**
* <code>optional string scm_author = 4;</code>
public java.lang.String getScmAuthor() {
java.lang.Object ref = scmAuthor_;
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()) {
- scmAuthor_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ scmAuthor_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional int64 scm_date = 5;
private long scmDate_ ;
/**
* <code>optional int64 scm_date = 5;</code>
return this;
}
+ // optional int32 ut_line_hits = 6;
private int utLineHits_ ;
/**
* <code>optional int32 ut_line_hits = 6;</code>
return this;
}
+ // optional int32 ut_conditions = 7;
private int utConditions_ ;
/**
* <code>optional int32 ut_conditions = 7;</code>
return this;
}
+ // optional int32 ut_covered_conditions = 8;
private int utCoveredConditions_ ;
/**
* <code>optional int32 ut_covered_conditions = 8;</code>
return this;
}
+ // optional int32 it_line_hits = 9;
private int itLineHits_ ;
/**
* <code>optional int32 it_line_hits = 9;</code>
return this;
}
+ // optional int32 it_conditions = 10;
private int itConditions_ ;
/**
* <code>optional int32 it_conditions = 10;</code>
return this;
}
+ // optional int32 it_covered_conditions = 11;
private int itCoveredConditions_ ;
/**
* <code>optional int32 it_covered_conditions = 11;</code>
return this;
}
+ // optional int32 overall_line_hits = 12;
private int overallLineHits_ ;
/**
* <code>optional int32 overall_line_hits = 12;</code>
return this;
}
+ // optional int32 overall_conditions = 13;
private int overallConditions_ ;
/**
* <code>optional int32 overall_conditions = 13;</code>
return this;
}
+ // optional int32 overall_covered_conditions = 14;
private int overallCoveredConditions_ ;
/**
* <code>optional int32 overall_covered_conditions = 14;</code>
return this;
}
+ // optional string highlighting = 15;
private java.lang.Object highlighting_ = "";
/**
* <code>optional string highlighting = 15;</code>
public java.lang.String getHighlighting() {
java.lang.Object ref = highlighting_;
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()) {
- highlighting_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ highlighting_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // optional string symbols = 16;
private java.lang.Object symbols_ = "";
/**
* <code>optional string symbols = 16;</code>
public java.lang.String getSymbols() {
java.lang.Object ref = symbols_;
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()) {
- symbols_ = s;
- }
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ symbols_ = s;
return s;
} else {
return (java.lang.String) ref;
return this;
}
+ // repeated int32 duplications = 17 [packed = true];
private java.util.List<java.lang.Integer> duplications_ = java.util.Collections.emptyList();
private void ensureDuplicationsIsMutable() {
if (!((bitField0_ & 0x00010000) == 0x00010000)) {
public Builder addAllDuplications(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureDuplicationsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, duplications_);
+ super.addAll(values, duplications_);
onChanged();
return this;
}
// @@protoc_insertion_point(class_scope:org.sonar.server.source.db.Line)
}
- public interface DataOrBuilder extends
- // @@protoc_insertion_point(interface_extends:org.sonar.server.source.db.Data)
- com.google.protobuf.MessageOrBuilder {
+ public interface DataOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+ // repeated .org.sonar.server.source.db.Line lines = 1;
/**
* <code>repeated .org.sonar.server.source.db.Line lines = 1;</code>
*/
* Protobuf type {@code org.sonar.server.source.db.Data}
*/
public static final class Data extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:org.sonar.server.source.db.Data)
- DataOrBuilder {
+ com.google.protobuf.GeneratedMessage
+ implements DataOrBuilder {
// Use Data.newBuilder() to construct.
private Data(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
return PARSER;
}
+ // repeated .org.sonar.server.source.db.Line lines = 1;
public static final int LINES_FIELD_NUMBER = 1;
private java.util.List<org.sonar.server.source.db.FileSourceDb.Line> lines_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code org.sonar.server.source.db.Data}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:org.sonar.server.source.db.Data)
- org.sonar.server.source.db.FileSourceDb.DataOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder>
+ implements org.sonar.server.source.db.FileSourceDb.DataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.server.source.db.FileSourceDb.internal_static_org_sonar_server_source_db_Data_descriptor;
}
private int bitField0_;
+ // repeated .org.sonar.server.source.db.Line lines = 1;
private java.util.List<org.sonar.server.source.db.FileSourceDb.Line> lines_ =
java.util.Collections.emptyList();
private void ensureLinesIsMutable() {
java.lang.Iterable<? extends org.sonar.server.source.db.FileSourceDb.Line> values) {
if (linesBuilder_ == null) {
ensureLinesIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, lines_);
+ super.addAll(values, lines_);
onChanged();
} else {
linesBuilder_.addAllMessages(values);
// @@protoc_insertion_point(class_scope:org.sonar.server.source.db.Data)
}
- private static final com.google.protobuf.Descriptors.Descriptor
+ private static com.google.protobuf.Descriptors.Descriptor
internal_static_org_sonar_server_source_db_Line_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_sonar_server_source_db_Line_fieldAccessorTable;
- private static final com.google.protobuf.Descriptors.Descriptor
+ private static com.google.protobuf.Descriptors.Descriptor
internal_static_org_sonar_server_source_db_Data_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
"2 .org.sonar.server.source.db.LineB\002H\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
+ new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
+ public com.google.protobuf.ExtensionRegistry assignDescriptors(
+ com.google.protobuf.Descriptors.FileDescriptor root) {
+ descriptor = root;
+ internal_static_org_sonar_server_source_db_Line_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_org_sonar_server_source_db_Line_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_sonar_server_source_db_Line_descriptor,
+ new java.lang.String[] { "Line", "Source", "ScmRevision", "ScmAuthor", "ScmDate", "UtLineHits", "UtConditions", "UtCoveredConditions", "ItLineHits", "ItConditions", "ItCoveredConditions", "OverallLineHits", "OverallConditions", "OverallCoveredConditions", "Highlighting", "Symbols", "Duplications", });
+ internal_static_org_sonar_server_source_db_Data_descriptor =
+ getDescriptor().getMessageTypes().get(1);
+ internal_static_org_sonar_server_source_db_Data_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_sonar_server_source_db_Data_descriptor,
+ new java.lang.String[] { "Lines", });
+ return null;
+ }
+ };
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
- internal_static_org_sonar_server_source_db_Line_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_org_sonar_server_source_db_Line_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_org_sonar_server_source_db_Line_descriptor,
- new java.lang.String[] { "Line", "Source", "ScmRevision", "ScmAuthor", "ScmDate", "UtLineHits", "UtConditions", "UtCoveredConditions", "ItLineHits", "ItConditions", "ItCoveredConditions", "OverallLineHits", "OverallConditions", "OverallCoveredConditions", "Highlighting", "Symbols", "Duplications", });
- internal_static_org_sonar_server_source_db_Data_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_org_sonar_server_source_db_Data_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_org_sonar_server_source_db_Data_descriptor,
- new java.lang.String[] { "Lines", });
}
// @@protoc_insertion_point(outer_class_scope)