diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-05-20 11:02:55 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-05-20 11:13:10 +0200 |
commit | bb1e4774ac1cac50ba758c82ed6715b1abfe01a8 (patch) | |
tree | 8d83fda2f218aed96e1f1d2ecf5e812c52962de6 /sonar-batch-protocol | |
parent | aac5b47155d3f4de3191951f8c2edb6eb415d385 (diff) | |
download | sonarqube-bb1e4774ac1cac50ba758c82ed6715b1abfe01a8.tar.gz sonarqube-bb1e4774ac1cac50ba758c82ed6715b1abfe01a8.zip |
SONAR-6553 Remove Java design WS and File dependencies persistence in Compute Engine
Diffstat (limited to 'sonar-batch-protocol')
6 files changed, 4894 insertions, 5381 deletions
diff --git a/sonar-batch-protocol/src/main/gen-java/org/sonar/batch/protocol/output/BatchReport.java b/sonar-batch-protocol/src/main/gen-java/org/sonar/batch/protocol/output/BatchReport.java index ee07aa76ba6..2baa63e0aa6 100644 --- a/sonar-batch-protocol/src/main/gen-java/org/sonar/batch/protocol/output/BatchReport.java +++ b/sonar-batch-protocol/src/main/gen-java/org/sonar/batch/protocol/output/BatchReport.java @@ -4,18 +4,22 @@ package org.sonar.batch.protocol.output; public final class BatchReport { - private BatchReport() {} + private BatchReport() { + } + public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { + com.google.protobuf.ExtensionRegistry registry) { } + public interface MetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:Metadata) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Metadata) + com.google.protobuf.MessageOrBuilder { /** * <code>optional int64 analysis_date = 1;</code> */ boolean hasAnalysisDate(); + /** * <code>optional int64 analysis_date = 1;</code> */ @@ -25,34 +29,39 @@ public final class BatchReport { * <code>optional string project_key = 2;</code> */ boolean hasProjectKey(); + /** * <code>optional string project_key = 2;</code> */ java.lang.String getProjectKey(); + /** * <code>optional string project_key = 2;</code> */ com.google.protobuf.ByteString - getProjectKeyBytes(); + getProjectKeyBytes(); /** * <code>optional string branch = 6;</code> */ boolean hasBranch(); + /** * <code>optional string branch = 6;</code> */ java.lang.String getBranch(); + /** * <code>optional string branch = 6;</code> */ com.google.protobuf.ByteString - getBranchBytes(); + getBranchBytes(); /** * <code>optional int32 root_component_ref = 3;</code> */ boolean hasRootComponentRef(); + /** * <code>optional int32 root_component_ref = 3;</code> */ @@ -66,6 +75,7 @@ public final class BatchReport { * </pre> */ boolean hasSnapshotId(); + /** * <code>optional int64 snapshot_id = 4;</code> * @@ -79,6 +89,7 @@ public final class BatchReport { * <code>optional int32 deleted_components_count = 5;</code> */ boolean hasDeletedComponentsCount(); + /** * <code>optional int32 deleted_components_count = 5;</code> */ @@ -88,17 +99,21 @@ public final class BatchReport { * 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 + // @@protoc_insertion_point(message_implements:Metadata) + MetadataOrBuilder { // Use Metadata.newBuilder() to construct. private Metadata(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Metadata(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Metadata(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Metadata defaultInstance; + public static Metadata getDefaultInstance() { return defaultInstance; } @@ -108,19 +123,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Metadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -131,7 +148,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -174,33 +191,34 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Metadata_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Metadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Metadata.class, org.sonar.batch.protocol.output.BatchReport.Metadata.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Metadata.class, org.sonar.batch.protocol.output.BatchReport.Metadata.Builder.class); } public static com.google.protobuf.Parser<Metadata> PARSER = - new com.google.protobuf.AbstractParser<Metadata>() { - public Metadata parsePartialFrom( + new com.google.protobuf.AbstractParser<Metadata>() { + public Metadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Metadata(input, extensionRegistry); - } - }; + return new Metadata(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Metadata> getParserForType() { @@ -210,12 +228,14 @@ public final class BatchReport { private int bitField0_; public static final int ANALYSIS_DATE_FIELD_NUMBER = 1; private long analysisDate_; + /** * <code>optional int64 analysis_date = 1;</code> */ public boolean hasAnalysisDate() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int64 analysis_date = 1;</code> */ @@ -225,12 +245,14 @@ public final class BatchReport { public static final int PROJECT_KEY_FIELD_NUMBER = 2; private java.lang.Object projectKey_; + /** * <code>optional string project_key = 2;</code> */ public boolean hasProjectKey() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional string project_key = 2;</code> */ @@ -239,8 +261,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { projectKey_ = s; @@ -248,16 +270,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string project_key = 2;</code> */ public com.google.protobuf.ByteString - getProjectKeyBytes() { + getProjectKeyBytes() { java.lang.Object ref = projectKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectKey_ = b; return b; } else { @@ -267,12 +290,14 @@ public final class BatchReport { public static final int BRANCH_FIELD_NUMBER = 6; private java.lang.Object branch_; + /** * <code>optional string branch = 6;</code> */ public boolean hasBranch() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional string branch = 6;</code> */ @@ -281,8 +306,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { branch_ = s; @@ -290,16 +315,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string branch = 6;</code> */ public com.google.protobuf.ByteString - getBranchBytes() { + getBranchBytes() { java.lang.Object ref = branch_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); branch_ = b; return b; } else { @@ -309,12 +335,14 @@ public final class BatchReport { public static final int ROOT_COMPONENT_REF_FIELD_NUMBER = 3; private int rootComponentRef_; + /** * <code>optional int32 root_component_ref = 3;</code> */ public boolean hasRootComponentRef() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional int32 root_component_ref = 3;</code> */ @@ -324,6 +352,7 @@ public final class BatchReport { public static final int SNAPSHOT_ID_FIELD_NUMBER = 4; private long snapshotId_; + /** * <code>optional int64 snapshot_id = 4;</code> * @@ -334,6 +363,7 @@ public final class BatchReport { public boolean hasSnapshotId() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional int64 snapshot_id = 4;</code> * @@ -347,12 +377,14 @@ public final class BatchReport { 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_ & 0x00000020) == 0x00000020); } + /** * <code>optional int32 deleted_components_count = 5;</code> */ @@ -368,18 +400,22 @@ public final class BatchReport { 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 true; + if (isInitialized == 0) + return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, analysisDate_); @@ -403,9 +439,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -438,95 +476,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Metadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Metadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Metadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Metadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Metadata parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Metadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Metadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Metadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Metadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Metadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Metadata prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * 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 + // @@protoc_insertion_point(builder_implements:Metadata) + org.sonar.batch.protocol.output.BatchReport.MetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Metadata_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Metadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Metadata.class, org.sonar.batch.protocol.output.BatchReport.Metadata.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Metadata.class, org.sonar.batch.protocol.output.BatchReport.Metadata.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Metadata.newBuilder() @@ -535,14 +593,16 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + 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(); } @@ -569,7 +629,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Metadata_descriptor; } @@ -620,7 +680,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Metadata) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Metadata)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Metadata) other); } else { super.mergeFrom(other); return this; @@ -628,7 +688,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Metadata other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Metadata.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Metadata.getDefaultInstance()) + return this; if (other.hasAnalysisDate()) { setAnalysisDate(other.getAnalysisDate()); } @@ -660,9 +721,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Metadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -676,21 +737,25 @@ public final class BatchReport { } return this; } + private int bitField0_; - private long analysisDate_ ; + private long analysisDate_; + /** * <code>optional int64 analysis_date = 1;</code> */ public boolean hasAnalysisDate() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int64 analysis_date = 1;</code> */ public long getAnalysisDate() { return analysisDate_; } + /** * <code>optional int64 analysis_date = 1;</code> */ @@ -700,6 +765,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int64 analysis_date = 1;</code> */ @@ -711,12 +777,14 @@ public final class BatchReport { } private java.lang.Object projectKey_ = ""; + /** * <code>optional string project_key = 2;</code> */ public boolean hasProjectKey() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional string project_key = 2;</code> */ @@ -724,7 +792,7 @@ public final class BatchReport { java.lang.Object ref = projectKey_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { projectKey_ = s; @@ -734,35 +802,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string project_key = 2;</code> */ public com.google.protobuf.ByteString - getProjectKeyBytes() { + getProjectKeyBytes() { java.lang.Object ref = projectKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string project_key = 2;</code> */ public Builder setProjectKey( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; projectKey_ = value; onChanged(); return this; } + /** * <code>optional string project_key = 2;</code> */ @@ -772,27 +843,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string project_key = 2;</code> */ public Builder setProjectKeyBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; projectKey_ = value; onChanged(); return this; } private java.lang.Object branch_ = ""; + /** * <code>optional string branch = 6;</code> */ public boolean hasBranch() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional string branch = 6;</code> */ @@ -800,7 +874,7 @@ public final class BatchReport { java.lang.Object ref = branch_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { branch_ = s; @@ -810,35 +884,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string branch = 6;</code> */ public com.google.protobuf.ByteString - getBranchBytes() { + getBranchBytes() { java.lang.Object ref = branch_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); branch_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string branch = 6;</code> */ public Builder setBranch( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; branch_ = value; onChanged(); return this; } + /** * <code>optional string branch = 6;</code> */ @@ -848,33 +925,37 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string branch = 6;</code> */ public Builder setBranchBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; branch_ = value; onChanged(); return this; } - private int rootComponentRef_ ; + private int rootComponentRef_; + /** * <code>optional int32 root_component_ref = 3;</code> */ public boolean hasRootComponentRef() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional int32 root_component_ref = 3;</code> */ public int getRootComponentRef() { return rootComponentRef_; } + /** * <code>optional int32 root_component_ref = 3;</code> */ @@ -884,6 +965,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 root_component_ref = 3;</code> */ @@ -894,7 +976,8 @@ public final class BatchReport { return this; } - private long snapshotId_ ; + private long snapshotId_; + /** * <code>optional int64 snapshot_id = 4;</code> * @@ -905,6 +988,7 @@ public final class BatchReport { public boolean hasSnapshotId() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional int64 snapshot_id = 4;</code> * @@ -915,6 +999,7 @@ public final class BatchReport { public long getSnapshotId() { return snapshotId_; } + /** * <code>optional int64 snapshot_id = 4;</code> * @@ -928,6 +1013,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int64 snapshot_id = 4;</code> * @@ -942,19 +1028,22 @@ public final class BatchReport { return this; } - private int deletedComponentsCount_ ; + private int deletedComponentsCount_; + /** * <code>optional int32 deleted_components_count = 5;</code> */ public boolean hasDeletedComponentsCount() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** * <code>optional int32 deleted_components_count = 5;</code> */ public int getDeletedComponentsCount() { return deletedComponentsCount_; } + /** * <code>optional int32 deleted_components_count = 5;</code> */ @@ -964,6 +1053,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 deleted_components_count = 5;</code> */ @@ -986,13 +1076,14 @@ public final class BatchReport { } public interface ComponentLinkOrBuilder extends - // @@protoc_insertion_point(interface_extends:ComponentLink) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:ComponentLink) + com.google.protobuf.MessageOrBuilder { /** * <code>optional .ComponentLinkType type = 1;</code> */ boolean hasType(); + /** * <code>optional .ComponentLinkType type = 1;</code> */ @@ -1002,31 +1093,37 @@ public final class BatchReport { * <code>optional string href = 2;</code> */ boolean hasHref(); + /** * <code>optional string href = 2;</code> */ java.lang.String getHref(); + /** * <code>optional string href = 2;</code> */ com.google.protobuf.ByteString - getHrefBytes(); + getHrefBytes(); } /** * Protobuf type {@code ComponentLink} */ public static final class ComponentLink extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:ComponentLink) - ComponentLinkOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:ComponentLink) + ComponentLinkOrBuilder { // Use ComponentLink.newBuilder() to construct. private ComponentLink(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private ComponentLink(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private ComponentLink(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final ComponentLink defaultInstance; + public static ComponentLink getDefaultInstance() { return defaultInstance; } @@ -1036,19 +1133,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private ComponentLink( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -1059,7 +1158,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -1087,33 +1186,34 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_ComponentLink_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_ComponentLink_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.ComponentLink.class, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.ComponentLink.class, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder.class); } public static com.google.protobuf.Parser<ComponentLink> PARSER = - new com.google.protobuf.AbstractParser<ComponentLink>() { - public ComponentLink parsePartialFrom( + new com.google.protobuf.AbstractParser<ComponentLink>() { + public ComponentLink parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ComponentLink(input, extensionRegistry); - } - }; + return new ComponentLink(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<ComponentLink> getParserForType() { @@ -1123,12 +1223,14 @@ public final class BatchReport { private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private org.sonar.batch.protocol.Constants.ComponentLinkType type_; + /** * <code>optional .ComponentLinkType type = 1;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional .ComponentLinkType type = 1;</code> */ @@ -1138,12 +1240,14 @@ public final class BatchReport { public static final int HREF_FIELD_NUMBER = 2; private java.lang.Object href_; + /** * <code>optional string href = 2;</code> */ public boolean hasHref() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional string href = 2;</code> */ @@ -1152,8 +1256,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { href_ = s; @@ -1161,16 +1265,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string href = 2;</code> */ public com.google.protobuf.ByteString - getHrefBytes() { + getHrefBytes() { java.lang.Object ref = href_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); href_ = b; return b; } else { @@ -1182,18 +1287,22 @@ public final class BatchReport { type_ = org.sonar.batch.protocol.Constants.ComponentLinkType.HOME; href_ = ""; } + 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 true; + if (isInitialized == 0) + return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, type_.getNumber()); @@ -1205,9 +1314,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -1224,95 +1335,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.ComponentLink parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.ComponentLink parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.ComponentLink parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.ComponentLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.ComponentLink parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.ComponentLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.ComponentLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.ComponentLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.ComponentLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.ComponentLink parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.ComponentLink prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code ComponentLink} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:ComponentLink) - org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:ComponentLink) + org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_ComponentLink_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_ComponentLink_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.ComponentLink.class, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.ComponentLink.class, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.ComponentLink.newBuilder() @@ -1321,14 +1452,16 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + 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(); } @@ -1347,7 +1480,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_ComponentLink_descriptor; } @@ -1382,7 +1515,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.ComponentLink) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.ComponentLink)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.ComponentLink) other); } else { super.mergeFrom(other); return this; @@ -1390,7 +1523,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.ComponentLink other) { - if (other == org.sonar.batch.protocol.output.BatchReport.ComponentLink.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.ComponentLink.getDefaultInstance()) + return this; if (other.hasType()) { setType(other.getType()); } @@ -1408,9 +1542,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.ComponentLink parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -1424,21 +1558,25 @@ public final class BatchReport { } return this; } + private int bitField0_; private org.sonar.batch.protocol.Constants.ComponentLinkType type_ = org.sonar.batch.protocol.Constants.ComponentLinkType.HOME; + /** * <code>optional .ComponentLinkType type = 1;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional .ComponentLinkType type = 1;</code> */ public org.sonar.batch.protocol.Constants.ComponentLinkType getType() { return type_; } + /** * <code>optional .ComponentLinkType type = 1;</code> */ @@ -1451,6 +1589,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional .ComponentLinkType type = 1;</code> */ @@ -1462,12 +1601,14 @@ public final class BatchReport { } private java.lang.Object href_ = ""; + /** * <code>optional string href = 2;</code> */ public boolean hasHref() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional string href = 2;</code> */ @@ -1475,7 +1616,7 @@ public final class BatchReport { java.lang.Object ref = href_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { href_ = s; @@ -1485,35 +1626,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string href = 2;</code> */ public com.google.protobuf.ByteString - getHrefBytes() { + getHrefBytes() { java.lang.Object ref = href_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); href_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string href = 2;</code> */ public Builder setHref( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; href_ = value; onChanged(); return this; } + /** * <code>optional string href = 2;</code> */ @@ -1523,15 +1667,16 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string href = 2;</code> */ public Builder setHrefBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; href_ = value; onChanged(); return this; @@ -1549,13 +1694,14 @@ public final class BatchReport { } public interface EventOrBuilder extends - // @@protoc_insertion_point(interface_extends:Event) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Event) + com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 component_ref = 1;</code> */ boolean hasComponentRef(); + /** * <code>optional int32 component_ref = 1;</code> */ @@ -1565,34 +1711,39 @@ public final class BatchReport { * <code>optional string name = 2;</code> */ boolean hasName(); + /** * <code>optional string name = 2;</code> */ java.lang.String getName(); + /** * <code>optional string name = 2;</code> */ com.google.protobuf.ByteString - getNameBytes(); + getNameBytes(); /** * <code>optional string description = 3;</code> */ boolean hasDescription(); + /** * <code>optional string description = 3;</code> */ java.lang.String getDescription(); + /** * <code>optional string description = 3;</code> */ com.google.protobuf.ByteString - getDescriptionBytes(); + getDescriptionBytes(); /** * <code>optional .EventCategory category = 4;</code> */ boolean hasCategory(); + /** * <code>optional .EventCategory category = 4;</code> */ @@ -1602,15 +1753,17 @@ public final class BatchReport { * <code>optional string event_data = 5;</code> */ boolean hasEventData(); + /** * <code>optional string event_data = 5;</code> */ java.lang.String getEventData(); + /** * <code>optional string event_data = 5;</code> */ com.google.protobuf.ByteString - getEventDataBytes(); + getEventDataBytes(); } /** * Protobuf type {@code Event} @@ -1620,17 +1773,21 @@ public final class BatchReport { * </pre> */ public static final class Event extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Event) - EventOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Event) + EventOrBuilder { // Use Event.newBuilder() to construct. private Event(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Event(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Event(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Event defaultInstance; + public static Event getDefaultInstance() { return defaultInstance; } @@ -1640,19 +1797,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Event( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -1663,7 +1822,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -1708,33 +1867,34 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Event_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Event_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Event.class, org.sonar.batch.protocol.output.BatchReport.Event.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Event.class, org.sonar.batch.protocol.output.BatchReport.Event.Builder.class); } public static com.google.protobuf.Parser<Event> PARSER = - new com.google.protobuf.AbstractParser<Event>() { - public Event parsePartialFrom( + new com.google.protobuf.AbstractParser<Event>() { + public Event parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Event(input, extensionRegistry); - } - }; + return new Event(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Event> getParserForType() { @@ -1744,12 +1904,14 @@ public final class BatchReport { private int bitField0_; public static final int COMPONENT_REF_FIELD_NUMBER = 1; private int componentRef_; + /** * <code>optional int32 component_ref = 1;</code> */ public boolean hasComponentRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -1759,12 +1921,14 @@ public final class BatchReport { public static final int NAME_FIELD_NUMBER = 2; private java.lang.Object name_; + /** * <code>optional string name = 2;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional string name = 2;</code> */ @@ -1773,8 +1937,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; @@ -1782,16 +1946,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string name = 2;</code> */ public com.google.protobuf.ByteString - getNameBytes() { + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1801,12 +1966,14 @@ public final class BatchReport { public static final int DESCRIPTION_FIELD_NUMBER = 3; private java.lang.Object description_; + /** * <code>optional string description = 3;</code> */ public boolean hasDescription() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional string description = 3;</code> */ @@ -1815,8 +1982,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { description_ = s; @@ -1824,16 +1991,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string description = 3;</code> */ public com.google.protobuf.ByteString - getDescriptionBytes() { + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1843,12 +2011,14 @@ public final class BatchReport { public static final int CATEGORY_FIELD_NUMBER = 4; private org.sonar.batch.protocol.Constants.EventCategory category_; + /** * <code>optional .EventCategory category = 4;</code> */ public boolean hasCategory() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional .EventCategory category = 4;</code> */ @@ -1858,12 +2028,14 @@ public final class BatchReport { public static final int EVENT_DATA_FIELD_NUMBER = 5; private java.lang.Object eventData_; + /** * <code>optional string event_data = 5;</code> */ public boolean hasEventData() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional string event_data = 5;</code> */ @@ -1872,8 +2044,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { eventData_ = s; @@ -1881,16 +2053,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string event_data = 5;</code> */ public com.google.protobuf.ByteString - getEventDataBytes() { + getEventDataBytes() { java.lang.Object ref = eventData_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventData_ = b; return b; } else { @@ -1905,18 +2078,22 @@ public final class BatchReport { category_ = org.sonar.batch.protocol.Constants.EventCategory.ALERT; eventData_ = ""; } + 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 true; + if (isInitialized == 0) + return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, componentRef_); @@ -1937,9 +2114,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -1968,78 +2147,98 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Event parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Event parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Event parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Event parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Event parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Event parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Event parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Event parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Event parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Event parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Event prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code Event} * @@ -2048,19 +2247,19 @@ public final class BatchReport { * </pre> */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:Event) - org.sonar.batch.protocol.output.BatchReport.EventOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Event) + org.sonar.batch.protocol.output.BatchReport.EventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Event_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Event_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Event.class, org.sonar.batch.protocol.output.BatchReport.Event.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Event.class, org.sonar.batch.protocol.output.BatchReport.Event.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Event.newBuilder() @@ -2069,14 +2268,16 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + 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(); } @@ -2101,7 +2302,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Event_descriptor; } @@ -2148,7 +2349,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Event) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Event)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Event) other); } else { super.mergeFrom(other); return this; @@ -2156,7 +2357,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Event other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Event.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Event.getDefaultInstance()) + return this; if (other.hasComponentRef()) { setComponentRef(other.getComponentRef()); } @@ -2187,9 +2389,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Event parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -2203,21 +2405,25 @@ public final class BatchReport { } return this; } + private int bitField0_; - private int componentRef_ ; + private int componentRef_; + /** * <code>optional int32 component_ref = 1;</code> */ public boolean hasComponentRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 component_ref = 1;</code> */ public int getComponentRef() { return componentRef_; } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -2227,6 +2433,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -2238,12 +2445,14 @@ public final class BatchReport { } private java.lang.Object name_ = ""; + /** * <code>optional string name = 2;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional string name = 2;</code> */ @@ -2251,7 +2460,7 @@ public final class BatchReport { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; @@ -2261,35 +2470,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string name = 2;</code> */ public com.google.protobuf.ByteString - getNameBytes() { + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string name = 2;</code> */ public Builder setName( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } + /** * <code>optional string name = 2;</code> */ @@ -2299,27 +2511,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string name = 2;</code> */ public Builder setNameBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; + /** * <code>optional string description = 3;</code> */ public boolean hasDescription() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional string description = 3;</code> */ @@ -2327,7 +2542,7 @@ public final class BatchReport { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { description_ = s; @@ -2337,35 +2552,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string description = 3;</code> */ public com.google.protobuf.ByteString - getDescriptionBytes() { + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string description = 3;</code> */ public Builder setDescription( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; description_ = value; onChanged(); return this; } + /** * <code>optional string description = 3;</code> */ @@ -2375,33 +2593,37 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string description = 3;</code> */ public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; description_ = value; onChanged(); return this; } private org.sonar.batch.protocol.Constants.EventCategory category_ = org.sonar.batch.protocol.Constants.EventCategory.ALERT; + /** * <code>optional .EventCategory category = 4;</code> */ public boolean hasCategory() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional .EventCategory category = 4;</code> */ public org.sonar.batch.protocol.Constants.EventCategory getCategory() { return category_; } + /** * <code>optional .EventCategory category = 4;</code> */ @@ -2414,6 +2636,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional .EventCategory category = 4;</code> */ @@ -2425,12 +2648,14 @@ public final class BatchReport { } private java.lang.Object eventData_ = ""; + /** * <code>optional string event_data = 5;</code> */ public boolean hasEventData() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional string event_data = 5;</code> */ @@ -2438,7 +2663,7 @@ public final class BatchReport { java.lang.Object ref = eventData_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { eventData_ = s; @@ -2448,35 +2673,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string event_data = 5;</code> */ public com.google.protobuf.ByteString - getEventDataBytes() { + getEventDataBytes() { java.lang.Object ref = eventData_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventData_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string event_data = 5;</code> */ public Builder setEventData( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; eventData_ = value; onChanged(); return this; } + /** * <code>optional string event_data = 5;</code> */ @@ -2486,15 +2714,16 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string event_data = 5;</code> */ public Builder setEventDataBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; eventData_ = value; onChanged(); return this; @@ -2512,13 +2741,14 @@ public final class BatchReport { } public interface ComponentOrBuilder extends - // @@protoc_insertion_point(interface_extends:Component) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Component) + com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 ref = 1;</code> */ boolean hasRef(); + /** * <code>optional int32 ref = 1;</code> */ @@ -2528,34 +2758,39 @@ public final class BatchReport { * <code>optional string path = 2;</code> */ boolean hasPath(); + /** * <code>optional string path = 2;</code> */ java.lang.String getPath(); + /** * <code>optional string path = 2;</code> */ com.google.protobuf.ByteString - getPathBytes(); + getPathBytes(); /** * <code>optional string name = 3;</code> */ boolean hasName(); + /** * <code>optional string name = 3;</code> */ java.lang.String getName(); + /** * <code>optional string name = 3;</code> */ com.google.protobuf.ByteString - getNameBytes(); + getNameBytes(); /** * <code>optional .ComponentType type = 4;</code> */ boolean hasType(); + /** * <code>optional .ComponentType type = 4;</code> */ @@ -2565,6 +2800,7 @@ public final class BatchReport { * <code>optional bool is_test = 5;</code> */ boolean hasIsTest(); + /** * <code>optional bool is_test = 5;</code> */ @@ -2574,24 +2810,28 @@ public final class BatchReport { * <code>optional string language = 6;</code> */ boolean hasLanguage(); + /** * <code>optional string language = 6;</code> */ java.lang.String getLanguage(); + /** * <code>optional string language = 6;</code> */ com.google.protobuf.ByteString - getLanguageBytes(); + getLanguageBytes(); /** * <code>repeated int32 child_ref = 7 [packed = true];</code> */ java.util.List<java.lang.Integer> getChildRefList(); + /** * <code>repeated int32 child_ref = 7 [packed = true];</code> */ int getChildRefCount(); + /** * <code>repeated int32 child_ref = 7 [packed = true];</code> */ @@ -2600,26 +2840,30 @@ public final class BatchReport { /** * <code>repeated .ComponentLink link = 10;</code> */ - java.util.List<org.sonar.batch.protocol.output.BatchReport.ComponentLink> - getLinkList(); + java.util.List<org.sonar.batch.protocol.output.BatchReport.ComponentLink> + getLinkList(); + /** * <code>repeated .ComponentLink link = 10;</code> */ org.sonar.batch.protocol.output.BatchReport.ComponentLink getLink(int index); + /** * <code>repeated .ComponentLink link = 10;</code> */ int getLinkCount(); + /** * <code>repeated .ComponentLink link = 10;</code> */ - java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder> - getLinkOrBuilderList(); + java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder> + getLinkOrBuilderList(); + /** * <code>repeated .ComponentLink link = 10;</code> */ org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder getLinkOrBuilder( - int index); + int index); /** * <code>optional string version = 12;</code> @@ -2629,6 +2873,7 @@ public final class BatchReport { * </pre> */ boolean hasVersion(); + /** * <code>optional string version = 12;</code> * @@ -2637,6 +2882,7 @@ public final class BatchReport { * </pre> */ java.lang.String getVersion(); + /** * <code>optional string version = 12;</code> * @@ -2645,7 +2891,7 @@ public final class BatchReport { * </pre> */ com.google.protobuf.ByteString - getVersionBytes(); + getVersionBytes(); /** * <code>optional string key = 14;</code> @@ -2655,6 +2901,7 @@ public final class BatchReport { * </pre> */ boolean hasKey(); + /** * <code>optional string key = 14;</code> * @@ -2663,6 +2910,7 @@ public final class BatchReport { * </pre> */ java.lang.String getKey(); + /** * <code>optional string key = 14;</code> * @@ -2671,7 +2919,7 @@ public final class BatchReport { * </pre> */ com.google.protobuf.ByteString - getKeyBytes(); + getKeyBytes(); /** * <code>optional int32 lines = 15;</code> @@ -2681,6 +2929,7 @@ public final class BatchReport { * </pre> */ boolean hasLines(); + /** * <code>optional int32 lines = 15;</code> * @@ -2698,6 +2947,7 @@ public final class BatchReport { * </pre> */ boolean hasDescription(); + /** * <code>optional string description = 16;</code> * @@ -2706,6 +2956,7 @@ public final class BatchReport { * </pre> */ java.lang.String getDescription(); + /** * <code>optional string description = 16;</code> * @@ -2714,7 +2965,7 @@ public final class BatchReport { * </pre> */ com.google.protobuf.ByteString - getDescriptionBytes(); + getDescriptionBytes(); /** * <code>optional int64 id = 13;</code> @@ -2724,6 +2975,7 @@ public final class BatchReport { * </pre> */ boolean hasId(); + /** * <code>optional int64 id = 13;</code> * @@ -2737,6 +2989,7 @@ public final class BatchReport { * <code>optional int64 snapshot_id = 8;</code> */ boolean hasSnapshotId(); + /** * <code>optional int64 snapshot_id = 8;</code> */ @@ -2746,55 +2999,65 @@ public final class BatchReport { * <code>optional string uuid = 9;</code> */ boolean hasUuid(); + /** * <code>optional string uuid = 9;</code> */ java.lang.String getUuid(); + /** * <code>optional string uuid = 9;</code> */ com.google.protobuf.ByteString - getUuidBytes(); + getUuidBytes(); /** * <code>repeated .Event event = 11;</code> */ - java.util.List<org.sonar.batch.protocol.output.BatchReport.Event> - getEventList(); + java.util.List<org.sonar.batch.protocol.output.BatchReport.Event> + getEventList(); + /** * <code>repeated .Event event = 11;</code> */ org.sonar.batch.protocol.output.BatchReport.Event getEvent(int index); + /** * <code>repeated .Event event = 11;</code> */ int getEventCount(); + /** * <code>repeated .Event event = 11;</code> */ - java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.EventOrBuilder> - getEventOrBuilderList(); + java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.EventOrBuilder> + getEventOrBuilderList(); + /** * <code>repeated .Event event = 11;</code> */ org.sonar.batch.protocol.output.BatchReport.EventOrBuilder getEventOrBuilder( - int index); + int index); } /** * 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 + // @@protoc_insertion_point(message_implements:Component) + ComponentOrBuilder { // Use Component.newBuilder() to construct. private Component(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Component(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Component(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Component defaultInstance; + public static Component getDefaultInstance() { return defaultInstance; } @@ -2804,19 +3067,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Component( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -2827,7 +3092,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -2953,7 +3218,7 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { childRef_ = java.util.Collections.unmodifiableList(childRef_); @@ -2968,27 +3233,28 @@ public final class BatchReport { makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Component_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Component_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Component.class, org.sonar.batch.protocol.output.BatchReport.Component.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Component.class, org.sonar.batch.protocol.output.BatchReport.Component.Builder.class); } public static com.google.protobuf.Parser<Component> PARSER = - new com.google.protobuf.AbstractParser<Component>() { - public Component parsePartialFrom( + new com.google.protobuf.AbstractParser<Component>() { + public Component parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Component(input, extensionRegistry); - } - }; + return new Component(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Component> getParserForType() { @@ -2998,12 +3264,14 @@ public final class BatchReport { private int bitField0_; public static final int REF_FIELD_NUMBER = 1; private int ref_; + /** * <code>optional int32 ref = 1;</code> */ public boolean hasRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 ref = 1;</code> */ @@ -3013,12 +3281,14 @@ public final class BatchReport { public static final int PATH_FIELD_NUMBER = 2; private java.lang.Object path_; + /** * <code>optional string path = 2;</code> */ public boolean hasPath() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional string path = 2;</code> */ @@ -3027,8 +3297,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { path_ = s; @@ -3036,16 +3306,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string path = 2;</code> */ public com.google.protobuf.ByteString - getPathBytes() { + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -3055,12 +3326,14 @@ public final class BatchReport { public static final int NAME_FIELD_NUMBER = 3; private java.lang.Object name_; + /** * <code>optional string name = 3;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional string name = 3;</code> */ @@ -3069,8 +3342,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; @@ -3078,16 +3351,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string name = 3;</code> */ public com.google.protobuf.ByteString - getNameBytes() { + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3097,12 +3371,14 @@ public final class BatchReport { public static final int TYPE_FIELD_NUMBER = 4; private org.sonar.batch.protocol.Constants.ComponentType type_; + /** * <code>optional .ComponentType type = 4;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional .ComponentType type = 4;</code> */ @@ -3112,12 +3388,14 @@ public final class BatchReport { public static final int IS_TEST_FIELD_NUMBER = 5; private boolean isTest_; + /** * <code>optional bool is_test = 5;</code> */ public boolean hasIsTest() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional bool is_test = 5;</code> */ @@ -3127,12 +3405,14 @@ public final class BatchReport { public static final int LANGUAGE_FIELD_NUMBER = 6; private java.lang.Object language_; + /** * <code>optional string language = 6;</code> */ public boolean hasLanguage() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** * <code>optional string language = 6;</code> */ @@ -3141,8 +3421,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { language_ = s; @@ -3150,16 +3430,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string language = 6;</code> */ public com.google.protobuf.ByteString - getLanguageBytes() { + getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); language_ = b; return b; } else { @@ -3169,64 +3450,74 @@ public final class BatchReport { public static final int CHILD_REF_FIELD_NUMBER = 7; private java.util.List<java.lang.Integer> childRef_; + /** * <code>repeated int32 child_ref = 7 [packed = true];</code> */ public java.util.List<java.lang.Integer> - getChildRefList() { + getChildRefList() { return childRef_; } + /** * <code>repeated int32 child_ref = 7 [packed = true];</code> */ public int getChildRefCount() { return childRef_.size(); } + /** * <code>repeated int32 child_ref = 7 [packed = true];</code> */ public int getChildRef(int index) { return childRef_.get(index); } + private int childRefMemoizedSerializedSize = -1; public static final int LINK_FIELD_NUMBER = 10; private java.util.List<org.sonar.batch.protocol.output.BatchReport.ComponentLink> link_; + /** * <code>repeated .ComponentLink link = 10;</code> */ public java.util.List<org.sonar.batch.protocol.output.BatchReport.ComponentLink> getLinkList() { return link_; } + /** * <code>repeated .ComponentLink link = 10;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder> - getLinkOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder> + getLinkOrBuilderList() { return link_; } + /** * <code>repeated .ComponentLink link = 10;</code> */ public int getLinkCount() { return link_.size(); } + /** * <code>repeated .ComponentLink link = 10;</code> */ public org.sonar.batch.protocol.output.BatchReport.ComponentLink getLink(int index) { return link_.get(index); } + /** * <code>repeated .ComponentLink link = 10;</code> */ public org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder getLinkOrBuilder( - int index) { + int index) { return link_.get(index); } public static final int VERSION_FIELD_NUMBER = 12; private java.lang.Object version_; + /** * <code>optional string version = 12;</code> * @@ -3237,6 +3528,7 @@ public final class BatchReport { public boolean hasVersion() { return ((bitField0_ & 0x00000040) == 0x00000040); } + /** * <code>optional string version = 12;</code> * @@ -3249,8 +3541,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { version_ = s; @@ -3258,6 +3550,7 @@ public final class BatchReport { return s; } } + /** * <code>optional string version = 12;</code> * @@ -3266,12 +3559,12 @@ public final class BatchReport { * </pre> */ public com.google.protobuf.ByteString - getVersionBytes() { + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -3281,6 +3574,7 @@ public final class BatchReport { public static final int KEY_FIELD_NUMBER = 14; private java.lang.Object key_; + /** * <code>optional string key = 14;</code> * @@ -3291,6 +3585,7 @@ public final class BatchReport { public boolean hasKey() { return ((bitField0_ & 0x00000080) == 0x00000080); } + /** * <code>optional string key = 14;</code> * @@ -3303,8 +3598,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { key_ = s; @@ -3312,6 +3607,7 @@ public final class BatchReport { return s; } } + /** * <code>optional string key = 14;</code> * @@ -3320,12 +3616,12 @@ public final class BatchReport { * </pre> */ public com.google.protobuf.ByteString - getKeyBytes() { + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -3335,6 +3631,7 @@ public final class BatchReport { public static final int LINES_FIELD_NUMBER = 15; private int lines_; + /** * <code>optional int32 lines = 15;</code> * @@ -3345,6 +3642,7 @@ public final class BatchReport { public boolean hasLines() { return ((bitField0_ & 0x00000100) == 0x00000100); } + /** * <code>optional int32 lines = 15;</code> * @@ -3358,6 +3656,7 @@ public final class BatchReport { public static final int DESCRIPTION_FIELD_NUMBER = 16; private java.lang.Object description_; + /** * <code>optional string description = 16;</code> * @@ -3368,6 +3667,7 @@ public final class BatchReport { public boolean hasDescription() { return ((bitField0_ & 0x00000200) == 0x00000200); } + /** * <code>optional string description = 16;</code> * @@ -3380,8 +3680,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { description_ = s; @@ -3389,6 +3689,7 @@ public final class BatchReport { return s; } } + /** * <code>optional string description = 16;</code> * @@ -3397,12 +3698,12 @@ public final class BatchReport { * </pre> */ public com.google.protobuf.ByteString - getDescriptionBytes() { + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -3412,6 +3713,7 @@ public final class BatchReport { public static final int ID_FIELD_NUMBER = 13; private long id_; + /** * <code>optional int64 id = 13;</code> * @@ -3422,6 +3724,7 @@ public final class BatchReport { public boolean hasId() { return ((bitField0_ & 0x00000400) == 0x00000400); } + /** * <code>optional int64 id = 13;</code> * @@ -3435,12 +3738,14 @@ public final class BatchReport { public static final int SNAPSHOT_ID_FIELD_NUMBER = 8; private long snapshotId_; + /** * <code>optional int64 snapshot_id = 8;</code> */ public boolean hasSnapshotId() { return ((bitField0_ & 0x00000800) == 0x00000800); } + /** * <code>optional int64 snapshot_id = 8;</code> */ @@ -3450,12 +3755,14 @@ public final class BatchReport { public static final int UUID_FIELD_NUMBER = 9; private java.lang.Object uuid_; + /** * <code>optional string uuid = 9;</code> */ public boolean hasUuid() { return ((bitField0_ & 0x00001000) == 0x00001000); } + /** * <code>optional string uuid = 9;</code> */ @@ -3464,8 +3771,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { uuid_ = s; @@ -3473,16 +3780,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string uuid = 9;</code> */ public com.google.protobuf.ByteString - getUuidBytes() { + getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uuid_ = b; return b; } else { @@ -3492,36 +3800,41 @@ public final class BatchReport { public static final int EVENT_FIELD_NUMBER = 11; private java.util.List<org.sonar.batch.protocol.output.BatchReport.Event> event_; + /** * <code>repeated .Event event = 11;</code> */ public java.util.List<org.sonar.batch.protocol.output.BatchReport.Event> getEventList() { return event_; } + /** * <code>repeated .Event event = 11;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.EventOrBuilder> - getEventOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.EventOrBuilder> + getEventOrBuilderList() { return event_; } + /** * <code>repeated .Event event = 11;</code> */ public int getEventCount() { return event_.size(); } + /** * <code>repeated .Event event = 11;</code> */ public org.sonar.batch.protocol.output.BatchReport.Event getEvent(int index) { return event_.get(index); } + /** * <code>repeated .Event event = 11;</code> */ public org.sonar.batch.protocol.output.BatchReport.EventOrBuilder getEventOrBuilder( - int index) { + int index) { return event_.get(index); } @@ -3543,18 +3856,22 @@ public final class BatchReport { uuid_ = ""; event_ = 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; + 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 { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, ref_); @@ -3612,9 +3929,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -3651,7 +3970,7 @@ public final class BatchReport { if (!getChildRefList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + .computeInt32SizeNoTag(dataSize); } childRefMemoizedSerializedSize = dataSize; } @@ -3697,95 +4016,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Component parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Component parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Component parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Component parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Component parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Component parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Component parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Component parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Component parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Component parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Component prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * 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 + // @@protoc_insertion_point(builder_implements:Component) + org.sonar.batch.protocol.output.BatchReport.ComponentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Component_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Component_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Component.class, org.sonar.batch.protocol.output.BatchReport.Component.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Component.class, org.sonar.batch.protocol.output.BatchReport.Component.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Component.newBuilder() @@ -3794,16 +4133,18 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getLinkFieldBuilder(); getEventFieldBuilder(); } } + private static Builder create() { return new Builder(); } @@ -3858,7 +4199,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Component_descriptor; } @@ -3960,7 +4301,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Component) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Component)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Component) other); } else { super.mergeFrom(other); return this; @@ -3968,7 +4309,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Component other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Component.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Component.getDefaultInstance()) + return this; if (other.hasRef()) { setRef(other.getRef()); } @@ -4021,9 +4363,9 @@ public final class BatchReport { linkBuilder_ = null; link_ = other.link_; bitField0_ = (bitField0_ & ~0x00000080); - linkBuilder_ = + linkBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getLinkFieldBuilder() : null; + getLinkFieldBuilder() : null; } else { linkBuilder_.addAllMessages(other.link_); } @@ -4076,9 +4418,9 @@ public final class BatchReport { eventBuilder_ = null; event_ = other.event_; bitField0_ = (bitField0_ & ~0x00008000); - eventBuilder_ = + eventBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getEventFieldBuilder() : null; + getEventFieldBuilder() : null; } else { eventBuilder_.addAllMessages(other.event_); } @@ -4093,9 +4435,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Component parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -4109,21 +4451,25 @@ public final class BatchReport { } return this; } + private int bitField0_; - private int ref_ ; + private int ref_; + /** * <code>optional int32 ref = 1;</code> */ public boolean hasRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 ref = 1;</code> */ public int getRef() { return ref_; } + /** * <code>optional int32 ref = 1;</code> */ @@ -4133,6 +4479,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 ref = 1;</code> */ @@ -4144,12 +4491,14 @@ public final class BatchReport { } private java.lang.Object path_ = ""; + /** * <code>optional string path = 2;</code> */ public boolean hasPath() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional string path = 2;</code> */ @@ -4157,7 +4506,7 @@ public final class BatchReport { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { path_ = s; @@ -4167,35 +4516,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string path = 2;</code> */ public com.google.protobuf.ByteString - getPathBytes() { + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string path = 2;</code> */ public Builder setPath( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; path_ = value; onChanged(); return this; } + /** * <code>optional string path = 2;</code> */ @@ -4205,27 +4557,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string path = 2;</code> */ public Builder setPathBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; path_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; + /** * <code>optional string name = 3;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional string name = 3;</code> */ @@ -4233,7 +4588,7 @@ public final class BatchReport { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; @@ -4243,35 +4598,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string name = 3;</code> */ public com.google.protobuf.ByteString - getNameBytes() { + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string name = 3;</code> */ public Builder setName( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; name_ = value; onChanged(); return this; } + /** * <code>optional string name = 3;</code> */ @@ -4281,33 +4639,37 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string name = 3;</code> */ public Builder setNameBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; name_ = value; onChanged(); return this; } private org.sonar.batch.protocol.Constants.ComponentType type_ = org.sonar.batch.protocol.Constants.ComponentType.PROJECT; + /** * <code>optional .ComponentType type = 4;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional .ComponentType type = 4;</code> */ public org.sonar.batch.protocol.Constants.ComponentType getType() { return type_; } + /** * <code>optional .ComponentType type = 4;</code> */ @@ -4320,6 +4682,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional .ComponentType type = 4;</code> */ @@ -4330,19 +4693,22 @@ public final class BatchReport { return this; } - private boolean isTest_ ; + private boolean isTest_; + /** * <code>optional bool is_test = 5;</code> */ public boolean hasIsTest() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional bool is_test = 5;</code> */ public boolean getIsTest() { return isTest_; } + /** * <code>optional bool is_test = 5;</code> */ @@ -4352,6 +4718,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional bool is_test = 5;</code> */ @@ -4363,12 +4730,14 @@ public final class BatchReport { } private java.lang.Object language_ = ""; + /** * <code>optional string language = 6;</code> */ public boolean hasLanguage() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** * <code>optional string language = 6;</code> */ @@ -4376,7 +4745,7 @@ public final class BatchReport { java.lang.Object ref = language_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { language_ = s; @@ -4386,35 +4755,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string language = 6;</code> */ public com.google.protobuf.ByteString - getLanguageBytes() { + getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); language_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string language = 6;</code> */ public Builder setLanguage( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; language_ = value; onChanged(); return this; } + /** * <code>optional string language = 6;</code> */ @@ -4424,56 +4796,63 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string language = 6;</code> */ public Builder setLanguageBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; language_ = value; onChanged(); return this; } private java.util.List<java.lang.Integer> childRef_ = java.util.Collections.emptyList(); + private void ensureChildRefIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { childRef_ = new java.util.ArrayList<java.lang.Integer>(childRef_); bitField0_ |= 0x00000040; - } + } } + /** * <code>repeated int32 child_ref = 7 [packed = true];</code> */ public java.util.List<java.lang.Integer> - getChildRefList() { + getChildRefList() { return java.util.Collections.unmodifiableList(childRef_); } + /** * <code>repeated int32 child_ref = 7 [packed = true];</code> */ public int getChildRefCount() { return childRef_.size(); } + /** * <code>repeated int32 child_ref = 7 [packed = true];</code> */ public int getChildRef(int index) { return childRef_.get(index); } + /** * <code>repeated int32 child_ref = 7 [packed = true];</code> */ public Builder setChildRef( - int index, int value) { + int index, int value) { ensureChildRefIsMutable(); childRef_.set(index, value); onChanged(); return this; } + /** * <code>repeated int32 child_ref = 7 [packed = true];</code> */ @@ -4483,17 +4862,19 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>repeated int32 child_ref = 7 [packed = true];</code> */ public Builder addAllChildRef( - java.lang.Iterable<? extends java.lang.Integer> values) { + java.lang.Iterable<? extends java.lang.Integer> values) { ensureChildRefIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, childRef_); + values, childRef_); onChanged(); return this; } + /** * <code>repeated int32 child_ref = 7 [packed = true];</code> */ @@ -4506,15 +4887,15 @@ public final class BatchReport { private java.util.List<org.sonar.batch.protocol.output.BatchReport.ComponentLink> link_ = java.util.Collections.emptyList(); + private void ensureLinkIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { link_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.ComponentLink>(link_); bitField0_ |= 0x00000080; - } + } } - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.ComponentLink, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder, org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder> linkBuilder_; + private com.google.protobuf.RepeatedFieldBuilder<org.sonar.batch.protocol.output.BatchReport.ComponentLink, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder, org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder> linkBuilder_; /** * <code>repeated .ComponentLink link = 10;</code> @@ -4526,6 +4907,7 @@ public final class BatchReport { return linkBuilder_.getMessageList(); } } + /** * <code>repeated .ComponentLink link = 10;</code> */ @@ -4536,6 +4918,7 @@ public final class BatchReport { return linkBuilder_.getCount(); } } + /** * <code>repeated .ComponentLink link = 10;</code> */ @@ -4546,11 +4929,12 @@ public final class BatchReport { return linkBuilder_.getMessage(index); } } + /** * <code>repeated .ComponentLink link = 10;</code> */ public Builder setLink( - int index, org.sonar.batch.protocol.output.BatchReport.ComponentLink value) { + int index, org.sonar.batch.protocol.output.BatchReport.ComponentLink value) { if (linkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4563,11 +4947,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .ComponentLink link = 10;</code> */ public Builder setLink( - int index, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder builderForValue) { if (linkBuilder_ == null) { ensureLinkIsMutable(); link_.set(index, builderForValue.build()); @@ -4577,6 +4962,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .ComponentLink link = 10;</code> */ @@ -4593,11 +4979,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .ComponentLink link = 10;</code> */ public Builder addLink( - int index, org.sonar.batch.protocol.output.BatchReport.ComponentLink value) { + int index, org.sonar.batch.protocol.output.BatchReport.ComponentLink value) { if (linkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4610,11 +4997,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .ComponentLink link = 10;</code> */ public Builder addLink( - org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder builderForValue) { if (linkBuilder_ == null) { ensureLinkIsMutable(); link_.add(builderForValue.build()); @@ -4624,11 +5012,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .ComponentLink link = 10;</code> */ public Builder addLink( - int index, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder builderForValue) { if (linkBuilder_ == null) { ensureLinkIsMutable(); link_.add(index, builderForValue.build()); @@ -4638,21 +5027,23 @@ public final class BatchReport { } return this; } + /** * <code>repeated .ComponentLink link = 10;</code> */ public Builder addAllLink( - java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.ComponentLink> values) { + java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.ComponentLink> values) { if (linkBuilder_ == null) { ensureLinkIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, link_); + values, link_); onChanged(); } else { linkBuilder_.addAllMessages(values); } return this; } + /** * <code>repeated .ComponentLink link = 10;</code> */ @@ -4666,6 +5057,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .ComponentLink link = 10;</code> */ @@ -4679,72 +5071,81 @@ public final class BatchReport { } return this; } + /** * <code>repeated .ComponentLink link = 10;</code> */ public org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder getLinkBuilder( - int index) { + int index) { return getLinkFieldBuilder().getBuilder(index); } + /** * <code>repeated .ComponentLink link = 10;</code> */ public org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder getLinkOrBuilder( - int index) { + int index) { if (linkBuilder_ == null) { - return link_.get(index); } else { + return link_.get(index); + } else { return linkBuilder_.getMessageOrBuilder(index); } } + /** * <code>repeated .ComponentLink link = 10;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder> - getLinkOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder> + getLinkOrBuilderList() { if (linkBuilder_ != null) { return linkBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(link_); } } + /** * <code>repeated .ComponentLink link = 10;</code> */ public org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder addLinkBuilder() { return getLinkFieldBuilder().addBuilder( - org.sonar.batch.protocol.output.BatchReport.ComponentLink.getDefaultInstance()); + org.sonar.batch.protocol.output.BatchReport.ComponentLink.getDefaultInstance()); } + /** * <code>repeated .ComponentLink link = 10;</code> */ public org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder addLinkBuilder( - int index) { + int index) { return getLinkFieldBuilder().addBuilder( - index, org.sonar.batch.protocol.output.BatchReport.ComponentLink.getDefaultInstance()); + index, org.sonar.batch.protocol.output.BatchReport.ComponentLink.getDefaultInstance()); } + /** * <code>repeated .ComponentLink link = 10;</code> */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder> - getLinkBuilderList() { + public java.util.List<org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder> + getLinkBuilderList() { return getLinkFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.ComponentLink, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder, org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder> - getLinkFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.ComponentLink, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder, org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder> + getLinkFieldBuilder() { if (linkBuilder_ == null) { linkBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.ComponentLink, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder, org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder>( - link_, - ((bitField0_ & 0x00000080) == 0x00000080), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.ComponentLink, org.sonar.batch.protocol.output.BatchReport.ComponentLink.Builder, org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder>( + link_, + ((bitField0_ & 0x00000080) == 0x00000080), + getParentForChildren(), + isClean()); link_ = null; } return linkBuilder_; } private java.lang.Object version_ = ""; + /** * <code>optional string version = 12;</code> * @@ -4755,6 +5156,7 @@ public final class BatchReport { public boolean hasVersion() { return ((bitField0_ & 0x00000100) == 0x00000100); } + /** * <code>optional string version = 12;</code> * @@ -4766,7 +5168,7 @@ public final class BatchReport { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { version_ = s; @@ -4776,6 +5178,7 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string version = 12;</code> * @@ -4784,18 +5187,19 @@ public final class BatchReport { * </pre> */ public com.google.protobuf.ByteString - getVersionBytes() { + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string version = 12;</code> * @@ -4804,15 +5208,16 @@ public final class BatchReport { * </pre> */ public Builder setVersion( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; version_ = value; onChanged(); return this; } + /** * <code>optional string version = 12;</code> * @@ -4826,6 +5231,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string version = 12;</code> * @@ -4834,17 +5240,18 @@ public final class BatchReport { * </pre> */ public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; version_ = value; onChanged(); return this; } private java.lang.Object key_ = ""; + /** * <code>optional string key = 14;</code> * @@ -4855,6 +5262,7 @@ public final class BatchReport { public boolean hasKey() { return ((bitField0_ & 0x00000200) == 0x00000200); } + /** * <code>optional string key = 14;</code> * @@ -4866,7 +5274,7 @@ public final class BatchReport { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { key_ = s; @@ -4876,6 +5284,7 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string key = 14;</code> * @@ -4884,18 +5293,19 @@ public final class BatchReport { * </pre> */ public com.google.protobuf.ByteString - getKeyBytes() { + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string key = 14;</code> * @@ -4904,15 +5314,16 @@ public final class BatchReport { * </pre> */ public Builder setKey( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; key_ = value; onChanged(); return this; } + /** * <code>optional string key = 14;</code> * @@ -4926,6 +5337,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string key = 14;</code> * @@ -4934,17 +5346,18 @@ public final class BatchReport { * </pre> */ public Builder setKeyBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; key_ = value; onChanged(); return this; } - private int lines_ ; + private int lines_; + /** * <code>optional int32 lines = 15;</code> * @@ -4955,6 +5368,7 @@ public final class BatchReport { public boolean hasLines() { return ((bitField0_ & 0x00000400) == 0x00000400); } + /** * <code>optional int32 lines = 15;</code> * @@ -4965,6 +5379,7 @@ public final class BatchReport { public int getLines() { return lines_; } + /** * <code>optional int32 lines = 15;</code> * @@ -4978,6 +5393,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 lines = 15;</code> * @@ -4993,6 +5409,7 @@ public final class BatchReport { } private java.lang.Object description_ = ""; + /** * <code>optional string description = 16;</code> * @@ -5003,6 +5420,7 @@ public final class BatchReport { public boolean hasDescription() { return ((bitField0_ & 0x00000800) == 0x00000800); } + /** * <code>optional string description = 16;</code> * @@ -5014,7 +5432,7 @@ public final class BatchReport { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { description_ = s; @@ -5024,6 +5442,7 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string description = 16;</code> * @@ -5032,18 +5451,19 @@ public final class BatchReport { * </pre> */ public com.google.protobuf.ByteString - getDescriptionBytes() { + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string description = 16;</code> * @@ -5052,15 +5472,16 @@ public final class BatchReport { * </pre> */ public Builder setDescription( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000800; + throw new NullPointerException(); + } + bitField0_ |= 0x00000800; description_ = value; onChanged(); return this; } + /** * <code>optional string description = 16;</code> * @@ -5074,6 +5495,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string description = 16;</code> * @@ -5082,17 +5504,18 @@ public final class BatchReport { * </pre> */ public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000800; + throw new NullPointerException(); + } + bitField0_ |= 0x00000800; description_ = value; onChanged(); return this; } - private long id_ ; + private long id_; + /** * <code>optional int64 id = 13;</code> * @@ -5103,6 +5526,7 @@ public final class BatchReport { public boolean hasId() { return ((bitField0_ & 0x00001000) == 0x00001000); } + /** * <code>optional int64 id = 13;</code> * @@ -5113,6 +5537,7 @@ public final class BatchReport { public long getId() { return id_; } + /** * <code>optional int64 id = 13;</code> * @@ -5126,6 +5551,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int64 id = 13;</code> * @@ -5140,19 +5566,22 @@ public final class BatchReport { return this; } - private long snapshotId_ ; + private long snapshotId_; + /** * <code>optional int64 snapshot_id = 8;</code> */ public boolean hasSnapshotId() { return ((bitField0_ & 0x00002000) == 0x00002000); } + /** * <code>optional int64 snapshot_id = 8;</code> */ public long getSnapshotId() { return snapshotId_; } + /** * <code>optional int64 snapshot_id = 8;</code> */ @@ -5162,6 +5591,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int64 snapshot_id = 8;</code> */ @@ -5173,12 +5603,14 @@ public final class BatchReport { } private java.lang.Object uuid_ = ""; + /** * <code>optional string uuid = 9;</code> */ public boolean hasUuid() { return ((bitField0_ & 0x00004000) == 0x00004000); } + /** * <code>optional string uuid = 9;</code> */ @@ -5186,7 +5618,7 @@ public final class BatchReport { java.lang.Object ref = uuid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { uuid_ = s; @@ -5196,35 +5628,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string uuid = 9;</code> */ public com.google.protobuf.ByteString - getUuidBytes() { + getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uuid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string uuid = 9;</code> */ public Builder setUuid( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00004000; + throw new NullPointerException(); + } + bitField0_ |= 0x00004000; uuid_ = value; onChanged(); return this; } + /** * <code>optional string uuid = 9;</code> */ @@ -5234,15 +5669,16 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string uuid = 9;</code> */ public Builder setUuidBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00004000; + throw new NullPointerException(); + } + bitField0_ |= 0x00004000; uuid_ = value; onChanged(); return this; @@ -5250,15 +5686,15 @@ public final class BatchReport { private java.util.List<org.sonar.batch.protocol.output.BatchReport.Event> event_ = java.util.Collections.emptyList(); + private void ensureEventIsMutable() { if (!((bitField0_ & 0x00008000) == 0x00008000)) { event_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.Event>(event_); bitField0_ |= 0x00008000; - } + } } - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Event, org.sonar.batch.protocol.output.BatchReport.Event.Builder, org.sonar.batch.protocol.output.BatchReport.EventOrBuilder> eventBuilder_; + private com.google.protobuf.RepeatedFieldBuilder<org.sonar.batch.protocol.output.BatchReport.Event, org.sonar.batch.protocol.output.BatchReport.Event.Builder, org.sonar.batch.protocol.output.BatchReport.EventOrBuilder> eventBuilder_; /** * <code>repeated .Event event = 11;</code> @@ -5270,6 +5706,7 @@ public final class BatchReport { return eventBuilder_.getMessageList(); } } + /** * <code>repeated .Event event = 11;</code> */ @@ -5280,6 +5717,7 @@ public final class BatchReport { return eventBuilder_.getCount(); } } + /** * <code>repeated .Event event = 11;</code> */ @@ -5290,11 +5728,12 @@ public final class BatchReport { return eventBuilder_.getMessage(index); } } + /** * <code>repeated .Event event = 11;</code> */ public Builder setEvent( - int index, org.sonar.batch.protocol.output.BatchReport.Event value) { + int index, org.sonar.batch.protocol.output.BatchReport.Event value) { if (eventBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5307,11 +5746,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Event event = 11;</code> */ public Builder setEvent( - int index, org.sonar.batch.protocol.output.BatchReport.Event.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Event.Builder builderForValue) { if (eventBuilder_ == null) { ensureEventIsMutable(); event_.set(index, builderForValue.build()); @@ -5321,6 +5761,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Event event = 11;</code> */ @@ -5337,11 +5778,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Event event = 11;</code> */ public Builder addEvent( - int index, org.sonar.batch.protocol.output.BatchReport.Event value) { + int index, org.sonar.batch.protocol.output.BatchReport.Event value) { if (eventBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5354,11 +5796,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Event event = 11;</code> */ public Builder addEvent( - org.sonar.batch.protocol.output.BatchReport.Event.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.Event.Builder builderForValue) { if (eventBuilder_ == null) { ensureEventIsMutable(); event_.add(builderForValue.build()); @@ -5368,11 +5811,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Event event = 11;</code> */ public Builder addEvent( - int index, org.sonar.batch.protocol.output.BatchReport.Event.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Event.Builder builderForValue) { if (eventBuilder_ == null) { ensureEventIsMutable(); event_.add(index, builderForValue.build()); @@ -5382,21 +5826,23 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Event event = 11;</code> */ public Builder addAllEvent( - java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Event> values) { + java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Event> values) { if (eventBuilder_ == null) { ensureEventIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, event_); + values, event_); onChanged(); } else { eventBuilder_.addAllMessages(values); } return this; } + /** * <code>repeated .Event event = 11;</code> */ @@ -5410,6 +5856,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Event event = 11;</code> */ @@ -5423,66 +5870,74 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Event event = 11;</code> */ public org.sonar.batch.protocol.output.BatchReport.Event.Builder getEventBuilder( - int index) { + int index) { return getEventFieldBuilder().getBuilder(index); } + /** * <code>repeated .Event event = 11;</code> */ public org.sonar.batch.protocol.output.BatchReport.EventOrBuilder getEventOrBuilder( - int index) { + int index) { if (eventBuilder_ == null) { - return event_.get(index); } else { + return event_.get(index); + } else { return eventBuilder_.getMessageOrBuilder(index); } } + /** * <code>repeated .Event event = 11;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.EventOrBuilder> - getEventOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.EventOrBuilder> + getEventOrBuilderList() { if (eventBuilder_ != null) { return eventBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(event_); } } + /** * <code>repeated .Event event = 11;</code> */ public org.sonar.batch.protocol.output.BatchReport.Event.Builder addEventBuilder() { return getEventFieldBuilder().addBuilder( - org.sonar.batch.protocol.output.BatchReport.Event.getDefaultInstance()); + org.sonar.batch.protocol.output.BatchReport.Event.getDefaultInstance()); } + /** * <code>repeated .Event event = 11;</code> */ public org.sonar.batch.protocol.output.BatchReport.Event.Builder addEventBuilder( - int index) { + int index) { return getEventFieldBuilder().addBuilder( - index, org.sonar.batch.protocol.output.BatchReport.Event.getDefaultInstance()); + index, org.sonar.batch.protocol.output.BatchReport.Event.getDefaultInstance()); } + /** * <code>repeated .Event event = 11;</code> */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.Event.Builder> - getEventBuilderList() { + public java.util.List<org.sonar.batch.protocol.output.BatchReport.Event.Builder> + getEventBuilderList() { return getEventFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Event, org.sonar.batch.protocol.output.BatchReport.Event.Builder, org.sonar.batch.protocol.output.BatchReport.EventOrBuilder> - getEventFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.Event, org.sonar.batch.protocol.output.BatchReport.Event.Builder, org.sonar.batch.protocol.output.BatchReport.EventOrBuilder> + getEventFieldBuilder() { if (eventBuilder_ == null) { eventBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Event, org.sonar.batch.protocol.output.BatchReport.Event.Builder, org.sonar.batch.protocol.output.BatchReport.EventOrBuilder>( - event_, - ((bitField0_ & 0x00008000) == 0x00008000), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.Event, org.sonar.batch.protocol.output.BatchReport.Event.Builder, org.sonar.batch.protocol.output.BatchReport.EventOrBuilder>( + event_, + ((bitField0_ & 0x00008000) == 0x00008000), + getParentForChildren(), + isClean()); event_ = null; } return eventBuilder_; @@ -5500,13 +5955,14 @@ public final class BatchReport { } public interface MeasureOrBuilder extends - // @@protoc_insertion_point(interface_extends:Measure) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Measure) + com.google.protobuf.MessageOrBuilder { /** * <code>optional .MeasureValueType value_type = 1;</code> */ boolean hasValueType(); + /** * <code>optional .MeasureValueType value_type = 1;</code> */ @@ -5520,6 +5976,7 @@ public final class BatchReport { * </pre> */ boolean hasBooleanValue(); + /** * <code>optional bool boolean_value = 2;</code> * @@ -5533,6 +5990,7 @@ public final class BatchReport { * <code>optional int32 int_value = 3;</code> */ boolean hasIntValue(); + /** * <code>optional int32 int_value = 3;</code> */ @@ -5542,6 +6000,7 @@ public final class BatchReport { * <code>optional int64 long_value = 4;</code> */ boolean hasLongValue(); + /** * <code>optional int64 long_value = 4;</code> */ @@ -5551,6 +6010,7 @@ public final class BatchReport { * <code>optional double double_value = 5;</code> */ boolean hasDoubleValue(); + /** * <code>optional double double_value = 5;</code> */ @@ -5560,29 +6020,33 @@ public final class BatchReport { * <code>optional string string_value = 6;</code> */ boolean hasStringValue(); + /** * <code>optional string string_value = 6;</code> */ java.lang.String getStringValue(); + /** * <code>optional string string_value = 6;</code> */ com.google.protobuf.ByteString - getStringValueBytes(); + getStringValueBytes(); /** * <code>optional string metric_key = 7;</code> */ boolean hasMetricKey(); + /** * <code>optional string metric_key = 7;</code> */ java.lang.String getMetricKey(); + /** * <code>optional string metric_key = 7;</code> */ com.google.protobuf.ByteString - getMetricKeyBytes(); + getMetricKeyBytes(); /** * <code>optional string description = 9;</code> @@ -5592,6 +6056,7 @@ public final class BatchReport { * </pre> */ boolean hasDescription(); + /** * <code>optional string description = 9;</code> * @@ -5600,6 +6065,7 @@ public final class BatchReport { * </pre> */ java.lang.String getDescription(); + /** * <code>optional string description = 9;</code> * @@ -5608,26 +6074,29 @@ public final class BatchReport { * </pre> */ com.google.protobuf.ByteString - getDescriptionBytes(); + getDescriptionBytes(); /** * <code>optional string rule_key = 10;</code> */ boolean hasRuleKey(); + /** * <code>optional string rule_key = 10;</code> */ java.lang.String getRuleKey(); + /** * <code>optional string rule_key = 10;</code> */ com.google.protobuf.ByteString - getRuleKeyBytes(); + getRuleKeyBytes(); /** * <code>optional .Severity severity = 11;</code> */ boolean hasSeverity(); + /** * <code>optional .Severity severity = 11;</code> */ @@ -5637,34 +6106,39 @@ public final class BatchReport { * <code>optional string alert_status = 12;</code> */ boolean hasAlertStatus(); + /** * <code>optional string alert_status = 12;</code> */ java.lang.String getAlertStatus(); + /** * <code>optional string alert_status = 12;</code> */ com.google.protobuf.ByteString - getAlertStatusBytes(); + getAlertStatusBytes(); /** * <code>optional string alert_text = 13;</code> */ boolean hasAlertText(); + /** * <code>optional string alert_text = 13;</code> */ java.lang.String getAlertText(); + /** * <code>optional string alert_text = 13;</code> */ com.google.protobuf.ByteString - getAlertTextBytes(); + getAlertTextBytes(); /** * <code>optional double variation_value_1 = 14;</code> */ boolean hasVariationValue1(); + /** * <code>optional double variation_value_1 = 14;</code> */ @@ -5674,6 +6148,7 @@ public final class BatchReport { * <code>optional double variation_value_2 = 15;</code> */ boolean hasVariationValue2(); + /** * <code>optional double variation_value_2 = 15;</code> */ @@ -5683,6 +6158,7 @@ public final class BatchReport { * <code>optional double variation_value_3 = 16;</code> */ boolean hasVariationValue3(); + /** * <code>optional double variation_value_3 = 16;</code> */ @@ -5692,6 +6168,7 @@ public final class BatchReport { * <code>optional double variation_value_4 = 17;</code> */ boolean hasVariationValue4(); + /** * <code>optional double variation_value_4 = 17;</code> */ @@ -5701,6 +6178,7 @@ public final class BatchReport { * <code>optional double variation_value_5 = 18;</code> */ boolean hasVariationValue5(); + /** * <code>optional double variation_value_5 = 18;</code> */ @@ -5710,6 +6188,7 @@ public final class BatchReport { * <code>optional int32 characteric_id = 19;</code> */ boolean hasCharactericId(); + /** * <code>optional int32 characteric_id = 19;</code> */ @@ -5719,6 +6198,7 @@ public final class BatchReport { * <code>optional int32 person_id = 20;</code> */ boolean hasPersonId(); + /** * <code>optional int32 person_id = 20;</code> */ @@ -5728,17 +6208,21 @@ public final class BatchReport { * Protobuf type {@code Measure} */ public static final class Measure extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Measure) - MeasureOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Measure) + MeasureOrBuilder { // Use Measure.newBuilder() to construct. private Measure(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Measure(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Measure(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Measure defaultInstance; + public static Measure getDefaultInstance() { return defaultInstance; } @@ -5748,19 +6232,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Measure( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -5771,7 +6257,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -5895,33 +6381,34 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Measure_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Measure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Measure.class, org.sonar.batch.protocol.output.BatchReport.Measure.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Measure.class, org.sonar.batch.protocol.output.BatchReport.Measure.Builder.class); } public static com.google.protobuf.Parser<Measure> PARSER = - new com.google.protobuf.AbstractParser<Measure>() { - public Measure parsePartialFrom( + new com.google.protobuf.AbstractParser<Measure>() { + public Measure parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Measure(input, extensionRegistry); - } - }; + return new Measure(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Measure> getParserForType() { @@ -5931,12 +6418,14 @@ public final class BatchReport { private int bitField0_; public static final int VALUE_TYPE_FIELD_NUMBER = 1; private org.sonar.batch.protocol.Constants.MeasureValueType valueType_; + /** * <code>optional .MeasureValueType value_type = 1;</code> */ public boolean hasValueType() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional .MeasureValueType value_type = 1;</code> */ @@ -5946,6 +6435,7 @@ public final class BatchReport { public static final int BOOLEAN_VALUE_FIELD_NUMBER = 2; private boolean booleanValue_; + /** * <code>optional bool boolean_value = 2;</code> * @@ -5956,6 +6446,7 @@ public final class BatchReport { public boolean hasBooleanValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional bool boolean_value = 2;</code> * @@ -5969,12 +6460,14 @@ public final class BatchReport { public static final int INT_VALUE_FIELD_NUMBER = 3; private int intValue_; + /** * <code>optional int32 int_value = 3;</code> */ public boolean hasIntValue() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional int32 int_value = 3;</code> */ @@ -5984,12 +6477,14 @@ public final class BatchReport { public static final int LONG_VALUE_FIELD_NUMBER = 4; private long longValue_; + /** * <code>optional int64 long_value = 4;</code> */ public boolean hasLongValue() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional int64 long_value = 4;</code> */ @@ -5999,12 +6494,14 @@ public final class BatchReport { public static final int DOUBLE_VALUE_FIELD_NUMBER = 5; private double doubleValue_; + /** * <code>optional double double_value = 5;</code> */ public boolean hasDoubleValue() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional double double_value = 5;</code> */ @@ -6014,12 +6511,14 @@ public final class BatchReport { public static final int STRING_VALUE_FIELD_NUMBER = 6; private java.lang.Object stringValue_; + /** * <code>optional string string_value = 6;</code> */ public boolean hasStringValue() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** * <code>optional string string_value = 6;</code> */ @@ -6028,8 +6527,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stringValue_ = s; @@ -6037,16 +6536,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string string_value = 6;</code> */ public com.google.protobuf.ByteString - getStringValueBytes() { + getStringValueBytes() { java.lang.Object ref = stringValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stringValue_ = b; return b; } else { @@ -6056,12 +6556,14 @@ public final class BatchReport { public static final int METRIC_KEY_FIELD_NUMBER = 7; private java.lang.Object metricKey_; + /** * <code>optional string metric_key = 7;</code> */ public boolean hasMetricKey() { return ((bitField0_ & 0x00000040) == 0x00000040); } + /** * <code>optional string metric_key = 7;</code> */ @@ -6070,8 +6572,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { metricKey_ = s; @@ -6079,16 +6581,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string metric_key = 7;</code> */ public com.google.protobuf.ByteString - getMetricKeyBytes() { + getMetricKeyBytes() { java.lang.Object ref = metricKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metricKey_ = b; return b; } else { @@ -6098,6 +6601,7 @@ public final class BatchReport { public static final int DESCRIPTION_FIELD_NUMBER = 9; private java.lang.Object description_; + /** * <code>optional string description = 9;</code> * @@ -6108,6 +6612,7 @@ public final class BatchReport { public boolean hasDescription() { return ((bitField0_ & 0x00000080) == 0x00000080); } + /** * <code>optional string description = 9;</code> * @@ -6120,8 +6625,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { description_ = s; @@ -6129,6 +6634,7 @@ public final class BatchReport { return s; } } + /** * <code>optional string description = 9;</code> * @@ -6137,12 +6643,12 @@ public final class BatchReport { * </pre> */ public com.google.protobuf.ByteString - getDescriptionBytes() { + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -6152,12 +6658,14 @@ public final class BatchReport { public static final int RULE_KEY_FIELD_NUMBER = 10; private java.lang.Object ruleKey_; + /** * <code>optional string rule_key = 10;</code> */ public boolean hasRuleKey() { return ((bitField0_ & 0x00000100) == 0x00000100); } + /** * <code>optional string rule_key = 10;</code> */ @@ -6166,8 +6674,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { ruleKey_ = s; @@ -6175,16 +6683,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string rule_key = 10;</code> */ public com.google.protobuf.ByteString - getRuleKeyBytes() { + getRuleKeyBytes() { java.lang.Object ref = ruleKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ruleKey_ = b; return b; } else { @@ -6194,12 +6703,14 @@ public final class BatchReport { public static final int SEVERITY_FIELD_NUMBER = 11; private org.sonar.batch.protocol.Constants.Severity severity_; + /** * <code>optional .Severity severity = 11;</code> */ public boolean hasSeverity() { return ((bitField0_ & 0x00000200) == 0x00000200); } + /** * <code>optional .Severity severity = 11;</code> */ @@ -6209,12 +6720,14 @@ public final class BatchReport { public static final int ALERT_STATUS_FIELD_NUMBER = 12; private java.lang.Object alertStatus_; + /** * <code>optional string alert_status = 12;</code> */ public boolean hasAlertStatus() { return ((bitField0_ & 0x00000400) == 0x00000400); } + /** * <code>optional string alert_status = 12;</code> */ @@ -6223,8 +6736,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { alertStatus_ = s; @@ -6232,16 +6745,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string alert_status = 12;</code> */ public com.google.protobuf.ByteString - getAlertStatusBytes() { + getAlertStatusBytes() { java.lang.Object ref = alertStatus_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alertStatus_ = b; return b; } else { @@ -6251,12 +6765,14 @@ public final class BatchReport { public static final int ALERT_TEXT_FIELD_NUMBER = 13; private java.lang.Object alertText_; + /** * <code>optional string alert_text = 13;</code> */ public boolean hasAlertText() { return ((bitField0_ & 0x00000800) == 0x00000800); } + /** * <code>optional string alert_text = 13;</code> */ @@ -6265,8 +6781,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { alertText_ = s; @@ -6274,16 +6790,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string alert_text = 13;</code> */ public com.google.protobuf.ByteString - getAlertTextBytes() { + getAlertTextBytes() { java.lang.Object ref = alertText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alertText_ = b; return b; } else { @@ -6293,12 +6810,14 @@ public final class BatchReport { public static final int VARIATION_VALUE_1_FIELD_NUMBER = 14; private double variationValue1_; + /** * <code>optional double variation_value_1 = 14;</code> */ public boolean hasVariationValue1() { return ((bitField0_ & 0x00001000) == 0x00001000); } + /** * <code>optional double variation_value_1 = 14;</code> */ @@ -6308,12 +6827,14 @@ public final class BatchReport { public static final int VARIATION_VALUE_2_FIELD_NUMBER = 15; private double variationValue2_; + /** * <code>optional double variation_value_2 = 15;</code> */ public boolean hasVariationValue2() { return ((bitField0_ & 0x00002000) == 0x00002000); } + /** * <code>optional double variation_value_2 = 15;</code> */ @@ -6323,12 +6844,14 @@ public final class BatchReport { public static final int VARIATION_VALUE_3_FIELD_NUMBER = 16; private double variationValue3_; + /** * <code>optional double variation_value_3 = 16;</code> */ public boolean hasVariationValue3() { return ((bitField0_ & 0x00004000) == 0x00004000); } + /** * <code>optional double variation_value_3 = 16;</code> */ @@ -6338,12 +6861,14 @@ public final class BatchReport { public static final int VARIATION_VALUE_4_FIELD_NUMBER = 17; private double variationValue4_; + /** * <code>optional double variation_value_4 = 17;</code> */ public boolean hasVariationValue4() { return ((bitField0_ & 0x00008000) == 0x00008000); } + /** * <code>optional double variation_value_4 = 17;</code> */ @@ -6353,12 +6878,14 @@ public final class BatchReport { public static final int VARIATION_VALUE_5_FIELD_NUMBER = 18; private double variationValue5_; + /** * <code>optional double variation_value_5 = 18;</code> */ public boolean hasVariationValue5() { return ((bitField0_ & 0x00010000) == 0x00010000); } + /** * <code>optional double variation_value_5 = 18;</code> */ @@ -6368,12 +6895,14 @@ public final class BatchReport { public static final int CHARACTERIC_ID_FIELD_NUMBER = 19; private int charactericId_; + /** * <code>optional int32 characteric_id = 19;</code> */ public boolean hasCharactericId() { return ((bitField0_ & 0x00020000) == 0x00020000); } + /** * <code>optional int32 characteric_id = 19;</code> */ @@ -6383,12 +6912,14 @@ public final class BatchReport { public static final int PERSON_ID_FIELD_NUMBER = 20; private int personId_; + /** * <code>optional int32 person_id = 20;</code> */ public boolean hasPersonId() { return ((bitField0_ & 0x00040000) == 0x00040000); } + /** * <code>optional int32 person_id = 20;</code> */ @@ -6417,18 +6948,22 @@ public final class BatchReport { charactericId_ = 0; personId_ = 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 true; + if (isInitialized == 0) + return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, valueType_.getNumber()); @@ -6491,9 +7026,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -6578,95 +7115,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Measure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Measure parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Measure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Measure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Measure parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Measure parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Measure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Measure parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Measure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Measure parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Measure prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code Measure} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:Measure) - org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Measure) + org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Measure_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Measure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Measure.class, org.sonar.batch.protocol.output.BatchReport.Measure.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Measure.class, org.sonar.batch.protocol.output.BatchReport.Measure.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Measure.newBuilder() @@ -6675,14 +7232,16 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + 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(); } @@ -6735,7 +7294,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Measure_descriptor; } @@ -6838,7 +7397,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Measure) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Measure)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Measure) other); } else { super.mergeFrom(other); return this; @@ -6846,7 +7405,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Measure other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Measure.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Measure.getDefaultInstance()) + return this; if (other.hasValueType()) { setValueType(other.getValueType()); } @@ -6925,9 +7485,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Measure parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -6941,21 +7501,25 @@ public final class BatchReport { } return this; } + private int bitField0_; private org.sonar.batch.protocol.Constants.MeasureValueType valueType_ = org.sonar.batch.protocol.Constants.MeasureValueType.INT; + /** * <code>optional .MeasureValueType value_type = 1;</code> */ public boolean hasValueType() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional .MeasureValueType value_type = 1;</code> */ public org.sonar.batch.protocol.Constants.MeasureValueType getValueType() { return valueType_; } + /** * <code>optional .MeasureValueType value_type = 1;</code> */ @@ -6968,6 +7532,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional .MeasureValueType value_type = 1;</code> */ @@ -6978,7 +7543,8 @@ public final class BatchReport { return this; } - private boolean booleanValue_ ; + private boolean booleanValue_; + /** * <code>optional bool boolean_value = 2;</code> * @@ -6989,6 +7555,7 @@ public final class BatchReport { public boolean hasBooleanValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional bool boolean_value = 2;</code> * @@ -6999,6 +7566,7 @@ public final class BatchReport { public boolean getBooleanValue() { return booleanValue_; } + /** * <code>optional bool boolean_value = 2;</code> * @@ -7012,6 +7580,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional bool boolean_value = 2;</code> * @@ -7026,19 +7595,22 @@ public final class BatchReport { return this; } - private int intValue_ ; + private int intValue_; + /** * <code>optional int32 int_value = 3;</code> */ public boolean hasIntValue() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional int32 int_value = 3;</code> */ public int getIntValue() { return intValue_; } + /** * <code>optional int32 int_value = 3;</code> */ @@ -7048,6 +7620,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 int_value = 3;</code> */ @@ -7058,19 +7631,22 @@ public final class BatchReport { return this; } - private long longValue_ ; + private long longValue_; + /** * <code>optional int64 long_value = 4;</code> */ public boolean hasLongValue() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional int64 long_value = 4;</code> */ public long getLongValue() { return longValue_; } + /** * <code>optional int64 long_value = 4;</code> */ @@ -7080,6 +7656,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int64 long_value = 4;</code> */ @@ -7090,19 +7667,22 @@ public final class BatchReport { return this; } - private double doubleValue_ ; + private double doubleValue_; + /** * <code>optional double double_value = 5;</code> */ public boolean hasDoubleValue() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional double double_value = 5;</code> */ public double getDoubleValue() { return doubleValue_; } + /** * <code>optional double double_value = 5;</code> */ @@ -7112,6 +7692,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional double double_value = 5;</code> */ @@ -7123,12 +7704,14 @@ public final class BatchReport { } private java.lang.Object stringValue_ = ""; + /** * <code>optional string string_value = 6;</code> */ public boolean hasStringValue() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** * <code>optional string string_value = 6;</code> */ @@ -7136,7 +7719,7 @@ public final class BatchReport { java.lang.Object ref = stringValue_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stringValue_ = s; @@ -7146,35 +7729,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string string_value = 6;</code> */ public com.google.protobuf.ByteString - getStringValueBytes() { + getStringValueBytes() { java.lang.Object ref = stringValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string string_value = 6;</code> */ public Builder setStringValue( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; stringValue_ = value; onChanged(); return this; } + /** * <code>optional string string_value = 6;</code> */ @@ -7184,27 +7770,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string string_value = 6;</code> */ public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; stringValue_ = value; onChanged(); return this; } private java.lang.Object metricKey_ = ""; + /** * <code>optional string metric_key = 7;</code> */ public boolean hasMetricKey() { return ((bitField0_ & 0x00000040) == 0x00000040); } + /** * <code>optional string metric_key = 7;</code> */ @@ -7212,7 +7801,7 @@ public final class BatchReport { java.lang.Object ref = metricKey_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { metricKey_ = s; @@ -7222,35 +7811,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string metric_key = 7;</code> */ public com.google.protobuf.ByteString - getMetricKeyBytes() { + getMetricKeyBytes() { java.lang.Object ref = metricKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metricKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string metric_key = 7;</code> */ public Builder setMetricKey( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; metricKey_ = value; onChanged(); return this; } + /** * <code>optional string metric_key = 7;</code> */ @@ -7260,21 +7852,23 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string metric_key = 7;</code> */ public Builder setMetricKeyBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; metricKey_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; + /** * <code>optional string description = 9;</code> * @@ -7285,6 +7879,7 @@ public final class BatchReport { public boolean hasDescription() { return ((bitField0_ & 0x00000080) == 0x00000080); } + /** * <code>optional string description = 9;</code> * @@ -7296,7 +7891,7 @@ public final class BatchReport { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { description_ = s; @@ -7306,6 +7901,7 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string description = 9;</code> * @@ -7314,18 +7910,19 @@ public final class BatchReport { * </pre> */ public com.google.protobuf.ByteString - getDescriptionBytes() { + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string description = 9;</code> * @@ -7334,15 +7931,16 @@ public final class BatchReport { * </pre> */ public Builder setDescription( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; description_ = value; onChanged(); return this; } + /** * <code>optional string description = 9;</code> * @@ -7356,6 +7954,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string description = 9;</code> * @@ -7364,23 +7963,25 @@ public final class BatchReport { * </pre> */ public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; description_ = value; onChanged(); return this; } private java.lang.Object ruleKey_ = ""; + /** * <code>optional string rule_key = 10;</code> */ public boolean hasRuleKey() { return ((bitField0_ & 0x00000100) == 0x00000100); } + /** * <code>optional string rule_key = 10;</code> */ @@ -7388,7 +7989,7 @@ public final class BatchReport { java.lang.Object ref = ruleKey_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { ruleKey_ = s; @@ -7398,35 +7999,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string rule_key = 10;</code> */ public com.google.protobuf.ByteString - getRuleKeyBytes() { + getRuleKeyBytes() { java.lang.Object ref = ruleKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ruleKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string rule_key = 10;</code> */ public Builder setRuleKey( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; ruleKey_ = value; onChanged(); return this; } + /** * <code>optional string rule_key = 10;</code> */ @@ -7436,33 +8040,37 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string rule_key = 10;</code> */ public Builder setRuleKeyBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; ruleKey_ = value; onChanged(); return this; } private org.sonar.batch.protocol.Constants.Severity severity_ = org.sonar.batch.protocol.Constants.Severity.INFO; + /** * <code>optional .Severity severity = 11;</code> */ public boolean hasSeverity() { return ((bitField0_ & 0x00000200) == 0x00000200); } + /** * <code>optional .Severity severity = 11;</code> */ public org.sonar.batch.protocol.Constants.Severity getSeverity() { return severity_; } + /** * <code>optional .Severity severity = 11;</code> */ @@ -7475,6 +8083,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional .Severity severity = 11;</code> */ @@ -7486,12 +8095,14 @@ public final class BatchReport { } private java.lang.Object alertStatus_ = ""; + /** * <code>optional string alert_status = 12;</code> */ public boolean hasAlertStatus() { return ((bitField0_ & 0x00000400) == 0x00000400); } + /** * <code>optional string alert_status = 12;</code> */ @@ -7499,7 +8110,7 @@ public final class BatchReport { java.lang.Object ref = alertStatus_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { alertStatus_ = s; @@ -7509,35 +8120,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string alert_status = 12;</code> */ public com.google.protobuf.ByteString - getAlertStatusBytes() { + getAlertStatusBytes() { java.lang.Object ref = alertStatus_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alertStatus_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string alert_status = 12;</code> */ public Builder setAlertStatus( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; alertStatus_ = value; onChanged(); return this; } + /** * <code>optional string alert_status = 12;</code> */ @@ -7547,27 +8161,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string alert_status = 12;</code> */ public Builder setAlertStatusBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; alertStatus_ = value; onChanged(); return this; } private java.lang.Object alertText_ = ""; + /** * <code>optional string alert_text = 13;</code> */ public boolean hasAlertText() { return ((bitField0_ & 0x00000800) == 0x00000800); } + /** * <code>optional string alert_text = 13;</code> */ @@ -7575,7 +8192,7 @@ public final class BatchReport { java.lang.Object ref = alertText_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { alertText_ = s; @@ -7585,35 +8202,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string alert_text = 13;</code> */ public com.google.protobuf.ByteString - getAlertTextBytes() { + getAlertTextBytes() { java.lang.Object ref = alertText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alertText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string alert_text = 13;</code> */ public Builder setAlertText( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000800; + throw new NullPointerException(); + } + bitField0_ |= 0x00000800; alertText_ = value; onChanged(); return this; } + /** * <code>optional string alert_text = 13;</code> */ @@ -7623,33 +8243,37 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string alert_text = 13;</code> */ public Builder setAlertTextBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000800; + throw new NullPointerException(); + } + bitField0_ |= 0x00000800; alertText_ = value; onChanged(); return this; } - private double variationValue1_ ; + private double variationValue1_; + /** * <code>optional double variation_value_1 = 14;</code> */ public boolean hasVariationValue1() { return ((bitField0_ & 0x00001000) == 0x00001000); } + /** * <code>optional double variation_value_1 = 14;</code> */ public double getVariationValue1() { return variationValue1_; } + /** * <code>optional double variation_value_1 = 14;</code> */ @@ -7659,6 +8283,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional double variation_value_1 = 14;</code> */ @@ -7669,19 +8294,22 @@ public final class BatchReport { return this; } - private double variationValue2_ ; + private double variationValue2_; + /** * <code>optional double variation_value_2 = 15;</code> */ public boolean hasVariationValue2() { return ((bitField0_ & 0x00002000) == 0x00002000); } + /** * <code>optional double variation_value_2 = 15;</code> */ public double getVariationValue2() { return variationValue2_; } + /** * <code>optional double variation_value_2 = 15;</code> */ @@ -7691,6 +8319,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional double variation_value_2 = 15;</code> */ @@ -7701,19 +8330,22 @@ public final class BatchReport { return this; } - private double variationValue3_ ; + private double variationValue3_; + /** * <code>optional double variation_value_3 = 16;</code> */ public boolean hasVariationValue3() { return ((bitField0_ & 0x00004000) == 0x00004000); } + /** * <code>optional double variation_value_3 = 16;</code> */ public double getVariationValue3() { return variationValue3_; } + /** * <code>optional double variation_value_3 = 16;</code> */ @@ -7723,6 +8355,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional double variation_value_3 = 16;</code> */ @@ -7733,19 +8366,22 @@ public final class BatchReport { return this; } - private double variationValue4_ ; + private double variationValue4_; + /** * <code>optional double variation_value_4 = 17;</code> */ public boolean hasVariationValue4() { return ((bitField0_ & 0x00008000) == 0x00008000); } + /** * <code>optional double variation_value_4 = 17;</code> */ public double getVariationValue4() { return variationValue4_; } + /** * <code>optional double variation_value_4 = 17;</code> */ @@ -7755,6 +8391,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional double variation_value_4 = 17;</code> */ @@ -7765,19 +8402,22 @@ public final class BatchReport { return this; } - private double variationValue5_ ; + private double variationValue5_; + /** * <code>optional double variation_value_5 = 18;</code> */ public boolean hasVariationValue5() { return ((bitField0_ & 0x00010000) == 0x00010000); } + /** * <code>optional double variation_value_5 = 18;</code> */ public double getVariationValue5() { return variationValue5_; } + /** * <code>optional double variation_value_5 = 18;</code> */ @@ -7787,6 +8427,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional double variation_value_5 = 18;</code> */ @@ -7797,19 +8438,22 @@ public final class BatchReport { return this; } - private int charactericId_ ; + private int charactericId_; + /** * <code>optional int32 characteric_id = 19;</code> */ public boolean hasCharactericId() { return ((bitField0_ & 0x00020000) == 0x00020000); } + /** * <code>optional int32 characteric_id = 19;</code> */ public int getCharactericId() { return charactericId_; } + /** * <code>optional int32 characteric_id = 19;</code> */ @@ -7819,6 +8463,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 characteric_id = 19;</code> */ @@ -7829,19 +8474,22 @@ public final class BatchReport { return this; } - private int personId_ ; + private int personId_; + /** * <code>optional int32 person_id = 20;</code> */ public boolean hasPersonId() { return ((bitField0_ & 0x00040000) == 0x00040000); } + /** * <code>optional int32 person_id = 20;</code> */ public int getPersonId() { return personId_; } + /** * <code>optional int32 person_id = 20;</code> */ @@ -7851,6 +8499,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 person_id = 20;</code> */ @@ -7873,13 +8522,14 @@ public final class BatchReport { } public interface MeasuresOrBuilder extends - // @@protoc_insertion_point(interface_extends:Measures) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Measures) + com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 component_ref = 1;</code> */ boolean hasComponentRef(); + /** * <code>optional int32 component_ref = 1;</code> */ @@ -7888,42 +8538,50 @@ public final class BatchReport { /** * <code>repeated .Measure measure = 2;</code> */ - java.util.List<org.sonar.batch.protocol.output.BatchReport.Measure> - getMeasureList(); + java.util.List<org.sonar.batch.protocol.output.BatchReport.Measure> + getMeasureList(); + /** * <code>repeated .Measure measure = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.Measure getMeasure(int index); + /** * <code>repeated .Measure measure = 2;</code> */ int getMeasureCount(); + /** * <code>repeated .Measure measure = 2;</code> */ - java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder> - getMeasureOrBuilderList(); + java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder> + getMeasureOrBuilderList(); + /** * <code>repeated .Measure measure = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder getMeasureOrBuilder( - int index); + int index); } /** * Protobuf type {@code Measures} */ public static final class Measures extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Measures) - MeasuresOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Measures) + MeasuresOrBuilder { // Use Measures.newBuilder() to construct. private Measures(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Measures(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Measures(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Measures defaultInstance; + public static Measures getDefaultInstance() { return defaultInstance; } @@ -7933,19 +8591,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Measures( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -7956,7 +8616,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -7980,7 +8640,7 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { measure_ = java.util.Collections.unmodifiableList(measure_); @@ -7989,27 +8649,28 @@ public final class BatchReport { makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Measures_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Measures_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Measures.class, org.sonar.batch.protocol.output.BatchReport.Measures.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Measures.class, org.sonar.batch.protocol.output.BatchReport.Measures.Builder.class); } public static com.google.protobuf.Parser<Measures> PARSER = - new com.google.protobuf.AbstractParser<Measures>() { - public Measures parsePartialFrom( + new com.google.protobuf.AbstractParser<Measures>() { + public Measures parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Measures(input, extensionRegistry); - } - }; + return new Measures(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Measures> getParserForType() { @@ -8019,12 +8680,14 @@ public final class BatchReport { private int bitField0_; public static final int COMPONENT_REF_FIELD_NUMBER = 1; private int componentRef_; + /** * <code>optional int32 component_ref = 1;</code> */ public boolean hasComponentRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -8034,36 +8697,41 @@ public final class BatchReport { public static final int MEASURE_FIELD_NUMBER = 2; private java.util.List<org.sonar.batch.protocol.output.BatchReport.Measure> measure_; + /** * <code>repeated .Measure measure = 2;</code> */ public java.util.List<org.sonar.batch.protocol.output.BatchReport.Measure> getMeasureList() { return measure_; } + /** * <code>repeated .Measure measure = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder> - getMeasureOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder> + getMeasureOrBuilderList() { return measure_; } + /** * <code>repeated .Measure measure = 2;</code> */ public int getMeasureCount() { return measure_.size(); } + /** * <code>repeated .Measure measure = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Measure getMeasure(int index) { return measure_.get(index); } + /** * <code>repeated .Measure measure = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder getMeasureOrBuilder( - int index) { + int index) { return measure_.get(index); } @@ -8071,18 +8739,22 @@ public final class BatchReport { componentRef_ = 0; measure_ = 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; + 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 { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, componentRef_); @@ -8094,9 +8766,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -8113,95 +8787,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Measures parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Measures parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Measures parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Measures parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Measures parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Measures parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Measures parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Measures parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Measures parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Measures parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Measures prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code Measures} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:Measures) - org.sonar.batch.protocol.output.BatchReport.MeasuresOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Measures) + org.sonar.batch.protocol.output.BatchReport.MeasuresOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Measures_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Measures_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Measures.class, org.sonar.batch.protocol.output.BatchReport.Measures.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Measures.class, org.sonar.batch.protocol.output.BatchReport.Measures.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Measures.newBuilder() @@ -8210,15 +8904,17 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getMeasureFieldBuilder(); } } + private static Builder create() { return new Builder(); } @@ -8241,7 +8937,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Measures_descriptor; } @@ -8281,7 +8977,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Measures) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Measures)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Measures) other); } else { super.mergeFrom(other); return this; @@ -8289,7 +8985,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Measures other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Measures.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Measures.getDefaultInstance()) + return this; if (other.hasComponentRef()) { setComponentRef(other.getComponentRef()); } @@ -8311,9 +9008,9 @@ public final class BatchReport { measureBuilder_ = null; measure_ = other.measure_; bitField0_ = (bitField0_ & ~0x00000002); - measureBuilder_ = + measureBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getMeasureFieldBuilder() : null; + getMeasureFieldBuilder() : null; } else { measureBuilder_.addAllMessages(other.measure_); } @@ -8328,9 +9025,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Measures parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -8344,21 +9041,25 @@ public final class BatchReport { } return this; } + private int bitField0_; - private int componentRef_ ; + private int componentRef_; + /** * <code>optional int32 component_ref = 1;</code> */ public boolean hasComponentRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 component_ref = 1;</code> */ public int getComponentRef() { return componentRef_; } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -8368,6 +9069,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -8380,15 +9082,15 @@ public final class BatchReport { private java.util.List<org.sonar.batch.protocol.output.BatchReport.Measure> measure_ = java.util.Collections.emptyList(); + private void ensureMeasureIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { measure_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.Measure>(measure_); bitField0_ |= 0x00000002; - } + } } - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Measure, org.sonar.batch.protocol.output.BatchReport.Measure.Builder, org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder> measureBuilder_; + private com.google.protobuf.RepeatedFieldBuilder<org.sonar.batch.protocol.output.BatchReport.Measure, org.sonar.batch.protocol.output.BatchReport.Measure.Builder, org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder> measureBuilder_; /** * <code>repeated .Measure measure = 2;</code> @@ -8400,6 +9102,7 @@ public final class BatchReport { return measureBuilder_.getMessageList(); } } + /** * <code>repeated .Measure measure = 2;</code> */ @@ -8410,6 +9113,7 @@ public final class BatchReport { return measureBuilder_.getCount(); } } + /** * <code>repeated .Measure measure = 2;</code> */ @@ -8420,11 +9124,12 @@ public final class BatchReport { return measureBuilder_.getMessage(index); } } + /** * <code>repeated .Measure measure = 2;</code> */ public Builder setMeasure( - int index, org.sonar.batch.protocol.output.BatchReport.Measure value) { + int index, org.sonar.batch.protocol.output.BatchReport.Measure value) { if (measureBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8437,11 +9142,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Measure measure = 2;</code> */ public Builder setMeasure( - int index, org.sonar.batch.protocol.output.BatchReport.Measure.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Measure.Builder builderForValue) { if (measureBuilder_ == null) { ensureMeasureIsMutable(); measure_.set(index, builderForValue.build()); @@ -8451,6 +9157,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Measure measure = 2;</code> */ @@ -8467,11 +9174,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Measure measure = 2;</code> */ public Builder addMeasure( - int index, org.sonar.batch.protocol.output.BatchReport.Measure value) { + int index, org.sonar.batch.protocol.output.BatchReport.Measure value) { if (measureBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8484,11 +9192,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Measure measure = 2;</code> */ public Builder addMeasure( - org.sonar.batch.protocol.output.BatchReport.Measure.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.Measure.Builder builderForValue) { if (measureBuilder_ == null) { ensureMeasureIsMutable(); measure_.add(builderForValue.build()); @@ -8498,11 +9207,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Measure measure = 2;</code> */ public Builder addMeasure( - int index, org.sonar.batch.protocol.output.BatchReport.Measure.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Measure.Builder builderForValue) { if (measureBuilder_ == null) { ensureMeasureIsMutable(); measure_.add(index, builderForValue.build()); @@ -8512,21 +9222,23 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Measure measure = 2;</code> */ public Builder addAllMeasure( - java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Measure> values) { + java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Measure> values) { if (measureBuilder_ == null) { ensureMeasureIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, measure_); + values, measure_); onChanged(); } else { measureBuilder_.addAllMessages(values); } return this; } + /** * <code>repeated .Measure measure = 2;</code> */ @@ -8540,6 +9252,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Measure measure = 2;</code> */ @@ -8553,66 +9266,74 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Measure measure = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Measure.Builder getMeasureBuilder( - int index) { + int index) { return getMeasureFieldBuilder().getBuilder(index); } + /** * <code>repeated .Measure measure = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder getMeasureOrBuilder( - int index) { + int index) { if (measureBuilder_ == null) { - return measure_.get(index); } else { + return measure_.get(index); + } else { return measureBuilder_.getMessageOrBuilder(index); } } + /** * <code>repeated .Measure measure = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder> - getMeasureOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder> + getMeasureOrBuilderList() { if (measureBuilder_ != null) { return measureBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(measure_); } } + /** * <code>repeated .Measure measure = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Measure.Builder addMeasureBuilder() { return getMeasureFieldBuilder().addBuilder( - org.sonar.batch.protocol.output.BatchReport.Measure.getDefaultInstance()); + org.sonar.batch.protocol.output.BatchReport.Measure.getDefaultInstance()); } + /** * <code>repeated .Measure measure = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Measure.Builder addMeasureBuilder( - int index) { + int index) { return getMeasureFieldBuilder().addBuilder( - index, org.sonar.batch.protocol.output.BatchReport.Measure.getDefaultInstance()); + index, org.sonar.batch.protocol.output.BatchReport.Measure.getDefaultInstance()); } + /** * <code>repeated .Measure measure = 2;</code> */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.Measure.Builder> - getMeasureBuilderList() { + public java.util.List<org.sonar.batch.protocol.output.BatchReport.Measure.Builder> + getMeasureBuilderList() { return getMeasureFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Measure, org.sonar.batch.protocol.output.BatchReport.Measure.Builder, org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder> - getMeasureFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.Measure, org.sonar.batch.protocol.output.BatchReport.Measure.Builder, org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder> + getMeasureFieldBuilder() { if (measureBuilder_ == null) { measureBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Measure, org.sonar.batch.protocol.output.BatchReport.Measure.Builder, org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder>( - measure_, - ((bitField0_ & 0x00000002) == 0x00000002), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.Measure, org.sonar.batch.protocol.output.BatchReport.Measure.Builder, org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder>( + measure_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); measure_ = null; } return measureBuilder_; @@ -8630,41 +9351,46 @@ public final class BatchReport { } public interface IssueOrBuilder extends - // @@protoc_insertion_point(interface_extends:Issue) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Issue) + com.google.protobuf.MessageOrBuilder { /** * <code>optional string rule_repository = 1;</code> */ boolean hasRuleRepository(); + /** * <code>optional string rule_repository = 1;</code> */ java.lang.String getRuleRepository(); + /** * <code>optional string rule_repository = 1;</code> */ com.google.protobuf.ByteString - getRuleRepositoryBytes(); + getRuleRepositoryBytes(); /** * <code>optional string rule_key = 2;</code> */ boolean hasRuleKey(); + /** * <code>optional string rule_key = 2;</code> */ java.lang.String getRuleKey(); + /** * <code>optional string rule_key = 2;</code> */ com.google.protobuf.ByteString - getRuleKeyBytes(); + getRuleKeyBytes(); /** * <code>optional int32 line = 3;</code> */ boolean hasLine(); + /** * <code>optional int32 line = 3;</code> */ @@ -8674,20 +9400,23 @@ public final class BatchReport { * <code>optional string msg = 4;</code> */ boolean hasMsg(); + /** * <code>optional string msg = 4;</code> */ java.lang.String getMsg(); + /** * <code>optional string msg = 4;</code> */ com.google.protobuf.ByteString - getMsgBytes(); + getMsgBytes(); /** * <code>optional .Severity severity = 5;</code> */ boolean hasSeverity(); + /** * <code>optional .Severity severity = 5;</code> */ @@ -8697,20 +9426,23 @@ public final class BatchReport { * <code>repeated string tag = 6;</code> */ com.google.protobuf.ProtocolStringList - getTagList(); + getTagList(); + /** * <code>repeated string tag = 6;</code> */ int getTagCount(); + /** * <code>repeated string tag = 6;</code> */ java.lang.String getTag(int index); + /** * <code>repeated string tag = 6;</code> */ com.google.protobuf.ByteString - getTagBytes(int index); + getTagBytes(int index); /** * <code>optional double effort_to_fix = 7;</code> @@ -8720,6 +9452,7 @@ public final class BatchReport { * </pre> */ boolean hasEffortToFix(); + /** * <code>optional double effort_to_fix = 7;</code> * @@ -8733,6 +9466,7 @@ public final class BatchReport { * <code>optional bool is_new = 8;</code> */ boolean hasIsNew(); + /** * <code>optional bool is_new = 8;</code> */ @@ -8742,20 +9476,23 @@ public final class BatchReport { * <code>optional string uuid = 9;</code> */ boolean hasUuid(); + /** * <code>optional string uuid = 9;</code> */ java.lang.String getUuid(); + /** * <code>optional string uuid = 9;</code> */ com.google.protobuf.ByteString - getUuidBytes(); + getUuidBytes(); /** * <code>optional int64 debt_in_minutes = 10;</code> */ boolean hasDebtInMinutes(); + /** * <code>optional int64 debt_in_minutes = 10;</code> */ @@ -8765,48 +9502,55 @@ public final class BatchReport { * <code>optional string resolution = 11;</code> */ boolean hasResolution(); + /** * <code>optional string resolution = 11;</code> */ java.lang.String getResolution(); + /** * <code>optional string resolution = 11;</code> */ com.google.protobuf.ByteString - getResolutionBytes(); + getResolutionBytes(); /** * <code>optional string status = 12;</code> */ boolean hasStatus(); + /** * <code>optional string status = 12;</code> */ java.lang.String getStatus(); + /** * <code>optional string status = 12;</code> */ com.google.protobuf.ByteString - getStatusBytes(); + getStatusBytes(); /** * <code>optional string checksum = 13;</code> */ boolean hasChecksum(); + /** * <code>optional string checksum = 13;</code> */ java.lang.String getChecksum(); + /** * <code>optional string checksum = 13;</code> */ com.google.protobuf.ByteString - getChecksumBytes(); + getChecksumBytes(); /** * <code>optional bool manual_severity = 14;</code> */ boolean hasManualSeverity(); + /** * <code>optional bool manual_severity = 14;</code> */ @@ -8816,76 +9560,87 @@ public final class BatchReport { * <code>optional string reporter = 15;</code> */ boolean hasReporter(); + /** * <code>optional string reporter = 15;</code> */ java.lang.String getReporter(); + /** * <code>optional string reporter = 15;</code> */ com.google.protobuf.ByteString - getReporterBytes(); + getReporterBytes(); /** * <code>optional string assignee = 16;</code> */ boolean hasAssignee(); + /** * <code>optional string assignee = 16;</code> */ java.lang.String getAssignee(); + /** * <code>optional string assignee = 16;</code> */ com.google.protobuf.ByteString - getAssigneeBytes(); + getAssigneeBytes(); /** * <code>optional string action_plan_key = 17;</code> */ boolean hasActionPlanKey(); + /** * <code>optional string action_plan_key = 17;</code> */ java.lang.String getActionPlanKey(); + /** * <code>optional string action_plan_key = 17;</code> */ com.google.protobuf.ByteString - getActionPlanKeyBytes(); + getActionPlanKeyBytes(); /** * <code>optional string attributes = 18;</code> */ boolean hasAttributes(); + /** * <code>optional string attributes = 18;</code> */ java.lang.String getAttributes(); + /** * <code>optional string attributes = 18;</code> */ com.google.protobuf.ByteString - getAttributesBytes(); + getAttributesBytes(); /** * <code>optional string author_login = 19;</code> */ boolean hasAuthorLogin(); + /** * <code>optional string author_login = 19;</code> */ java.lang.String getAuthorLogin(); + /** * <code>optional string author_login = 19;</code> */ com.google.protobuf.ByteString - getAuthorLoginBytes(); + getAuthorLoginBytes(); /** * <code>optional int64 creation_date = 20;</code> */ boolean hasCreationDate(); + /** * <code>optional int64 creation_date = 20;</code> */ @@ -8895,6 +9650,7 @@ public final class BatchReport { * <code>optional int64 close_date = 21;</code> */ boolean hasCloseDate(); + /** * <code>optional int64 close_date = 21;</code> */ @@ -8904,6 +9660,7 @@ public final class BatchReport { * <code>optional int64 update_date = 22;</code> */ boolean hasUpdateDate(); + /** * <code>optional int64 update_date = 22;</code> */ @@ -8913,6 +9670,7 @@ public final class BatchReport { * <code>optional int64 selected_at = 23;</code> */ boolean hasSelectedAt(); + /** * <code>optional int64 selected_at = 23;</code> */ @@ -8922,20 +9680,23 @@ public final class BatchReport { * <code>optional string diff_fields = 24;</code> */ boolean hasDiffFields(); + /** * <code>optional string diff_fields = 24;</code> */ java.lang.String getDiffFields(); + /** * <code>optional string diff_fields = 24;</code> */ com.google.protobuf.ByteString - getDiffFieldsBytes(); + getDiffFieldsBytes(); /** * <code>optional bool is_changed = 25;</code> */ boolean hasIsChanged(); + /** * <code>optional bool is_changed = 25;</code> */ @@ -8945,6 +9706,7 @@ public final class BatchReport { * <code>optional bool must_send_notification = 26;</code> */ boolean hasMustSendNotification(); + /** * <code>optional bool must_send_notification = 26;</code> */ @@ -8954,17 +9716,21 @@ public final class BatchReport { * 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 + // @@protoc_insertion_point(message_implements:Issue) + IssueOrBuilder { // Use Issue.newBuilder() to construct. private Issue(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Issue(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Issue(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Issue defaultInstance; + public static Issue getDefaultInstance() { return defaultInstance; } @@ -8974,19 +9740,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Issue( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -8997,7 +9765,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -9161,7 +9929,7 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { tag_ = tag_.getUnmodifiableView(); @@ -9170,27 +9938,28 @@ public final class BatchReport { makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Issue_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Issue_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Issue.class, org.sonar.batch.protocol.output.BatchReport.Issue.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Issue.class, org.sonar.batch.protocol.output.BatchReport.Issue.Builder.class); } public static com.google.protobuf.Parser<Issue> PARSER = - new com.google.protobuf.AbstractParser<Issue>() { - public Issue parsePartialFrom( + new com.google.protobuf.AbstractParser<Issue>() { + public Issue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Issue(input, extensionRegistry); - } - }; + return new Issue(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Issue> getParserForType() { @@ -9200,12 +9969,14 @@ public final class BatchReport { private int bitField0_; public static final int RULE_REPOSITORY_FIELD_NUMBER = 1; private java.lang.Object ruleRepository_; + /** * <code>optional string rule_repository = 1;</code> */ public boolean hasRuleRepository() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional string rule_repository = 1;</code> */ @@ -9214,8 +9985,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { ruleRepository_ = s; @@ -9223,16 +9994,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string rule_repository = 1;</code> */ public com.google.protobuf.ByteString - getRuleRepositoryBytes() { + getRuleRepositoryBytes() { java.lang.Object ref = ruleRepository_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ruleRepository_ = b; return b; } else { @@ -9242,12 +10014,14 @@ public final class BatchReport { public static final int RULE_KEY_FIELD_NUMBER = 2; private java.lang.Object ruleKey_; + /** * <code>optional string rule_key = 2;</code> */ public boolean hasRuleKey() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional string rule_key = 2;</code> */ @@ -9256,8 +10030,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { ruleKey_ = s; @@ -9265,16 +10039,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string rule_key = 2;</code> */ public com.google.protobuf.ByteString - getRuleKeyBytes() { + getRuleKeyBytes() { java.lang.Object ref = ruleKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ruleKey_ = b; return b; } else { @@ -9284,12 +10059,14 @@ public final class BatchReport { public static final int LINE_FIELD_NUMBER = 3; private int line_; + /** * <code>optional int32 line = 3;</code> */ public boolean hasLine() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional int32 line = 3;</code> */ @@ -9299,12 +10076,14 @@ public final class BatchReport { public static final int MSG_FIELD_NUMBER = 4; private java.lang.Object msg_; + /** * <code>optional string msg = 4;</code> */ public boolean hasMsg() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional string msg = 4;</code> */ @@ -9313,8 +10092,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { msg_ = s; @@ -9322,16 +10101,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string msg = 4;</code> */ public com.google.protobuf.ByteString - getMsgBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); msg_ = b; return b; } else { @@ -9341,12 +10121,14 @@ public final class BatchReport { public static final int SEVERITY_FIELD_NUMBER = 5; private org.sonar.batch.protocol.Constants.Severity severity_; + /** * <code>optional .Severity severity = 5;</code> */ public boolean hasSeverity() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional .Severity severity = 5;</code> */ @@ -9356,35 +10138,40 @@ public final class BatchReport { public static final int TAG_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList tag_; + /** * <code>repeated string tag = 6;</code> */ public com.google.protobuf.ProtocolStringList - getTagList() { + getTagList() { return tag_; } + /** * <code>repeated string tag = 6;</code> */ public int getTagCount() { return tag_.size(); } + /** * <code>repeated string tag = 6;</code> */ public java.lang.String getTag(int index) { return tag_.get(index); } + /** * <code>repeated string tag = 6;</code> */ public com.google.protobuf.ByteString - getTagBytes(int index) { + getTagBytes(int index) { return tag_.getByteString(index); } public static final int EFFORT_TO_FIX_FIELD_NUMBER = 7; private double effortToFix_; + /** * <code>optional double effort_to_fix = 7;</code> * @@ -9395,6 +10182,7 @@ public final class BatchReport { public boolean hasEffortToFix() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** * <code>optional double effort_to_fix = 7;</code> * @@ -9408,12 +10196,14 @@ public final class BatchReport { public static final int IS_NEW_FIELD_NUMBER = 8; private boolean isNew_; + /** * <code>optional bool is_new = 8;</code> */ public boolean hasIsNew() { return ((bitField0_ & 0x00000040) == 0x00000040); } + /** * <code>optional bool is_new = 8;</code> */ @@ -9423,12 +10213,14 @@ public final class BatchReport { public static final int UUID_FIELD_NUMBER = 9; private java.lang.Object uuid_; + /** * <code>optional string uuid = 9;</code> */ public boolean hasUuid() { return ((bitField0_ & 0x00000080) == 0x00000080); } + /** * <code>optional string uuid = 9;</code> */ @@ -9437,8 +10229,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { uuid_ = s; @@ -9446,16 +10238,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string uuid = 9;</code> */ public com.google.protobuf.ByteString - getUuidBytes() { + getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uuid_ = b; return b; } else { @@ -9465,12 +10258,14 @@ public final class BatchReport { public static final int DEBT_IN_MINUTES_FIELD_NUMBER = 10; private long debtInMinutes_; + /** * <code>optional int64 debt_in_minutes = 10;</code> */ public boolean hasDebtInMinutes() { return ((bitField0_ & 0x00000100) == 0x00000100); } + /** * <code>optional int64 debt_in_minutes = 10;</code> */ @@ -9480,12 +10275,14 @@ public final class BatchReport { public static final int RESOLUTION_FIELD_NUMBER = 11; private java.lang.Object resolution_; + /** * <code>optional string resolution = 11;</code> */ public boolean hasResolution() { return ((bitField0_ & 0x00000200) == 0x00000200); } + /** * <code>optional string resolution = 11;</code> */ @@ -9494,8 +10291,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resolution_ = s; @@ -9503,16 +10300,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string resolution = 11;</code> */ public com.google.protobuf.ByteString - getResolutionBytes() { + getResolutionBytes() { java.lang.Object ref = resolution_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resolution_ = b; return b; } else { @@ -9522,12 +10320,14 @@ public final class BatchReport { public static final int STATUS_FIELD_NUMBER = 12; private java.lang.Object status_; + /** * <code>optional string status = 12;</code> */ public boolean hasStatus() { return ((bitField0_ & 0x00000400) == 0x00000400); } + /** * <code>optional string status = 12;</code> */ @@ -9536,8 +10336,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { status_ = s; @@ -9545,16 +10345,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string status = 12;</code> */ public com.google.protobuf.ByteString - getStatusBytes() { + getStatusBytes() { java.lang.Object ref = status_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); status_ = b; return b; } else { @@ -9564,12 +10365,14 @@ public final class BatchReport { public static final int CHECKSUM_FIELD_NUMBER = 13; private java.lang.Object checksum_; + /** * <code>optional string checksum = 13;</code> */ public boolean hasChecksum() { return ((bitField0_ & 0x00000800) == 0x00000800); } + /** * <code>optional string checksum = 13;</code> */ @@ -9578,8 +10381,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { checksum_ = s; @@ -9587,16 +10390,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string checksum = 13;</code> */ public com.google.protobuf.ByteString - getChecksumBytes() { + getChecksumBytes() { java.lang.Object ref = checksum_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checksum_ = b; return b; } else { @@ -9606,12 +10410,14 @@ public final class BatchReport { public static final int MANUAL_SEVERITY_FIELD_NUMBER = 14; private boolean manualSeverity_; + /** * <code>optional bool manual_severity = 14;</code> */ public boolean hasManualSeverity() { return ((bitField0_ & 0x00001000) == 0x00001000); } + /** * <code>optional bool manual_severity = 14;</code> */ @@ -9621,12 +10427,14 @@ public final class BatchReport { public static final int REPORTER_FIELD_NUMBER = 15; private java.lang.Object reporter_; + /** * <code>optional string reporter = 15;</code> */ public boolean hasReporter() { return ((bitField0_ & 0x00002000) == 0x00002000); } + /** * <code>optional string reporter = 15;</code> */ @@ -9635,8 +10443,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { reporter_ = s; @@ -9644,16 +10452,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string reporter = 15;</code> */ public com.google.protobuf.ByteString - getReporterBytes() { + getReporterBytes() { java.lang.Object ref = reporter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reporter_ = b; return b; } else { @@ -9663,12 +10472,14 @@ public final class BatchReport { public static final int ASSIGNEE_FIELD_NUMBER = 16; private java.lang.Object assignee_; + /** * <code>optional string assignee = 16;</code> */ public boolean hasAssignee() { return ((bitField0_ & 0x00004000) == 0x00004000); } + /** * <code>optional string assignee = 16;</code> */ @@ -9677,8 +10488,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { assignee_ = s; @@ -9686,16 +10497,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string assignee = 16;</code> */ public com.google.protobuf.ByteString - getAssigneeBytes() { + getAssigneeBytes() { java.lang.Object ref = assignee_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assignee_ = b; return b; } else { @@ -9705,12 +10517,14 @@ public final class BatchReport { public static final int ACTION_PLAN_KEY_FIELD_NUMBER = 17; private java.lang.Object actionPlanKey_; + /** * <code>optional string action_plan_key = 17;</code> */ public boolean hasActionPlanKey() { return ((bitField0_ & 0x00008000) == 0x00008000); } + /** * <code>optional string action_plan_key = 17;</code> */ @@ -9719,8 +10533,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { actionPlanKey_ = s; @@ -9728,16 +10542,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string action_plan_key = 17;</code> */ public com.google.protobuf.ByteString - getActionPlanKeyBytes() { + getActionPlanKeyBytes() { java.lang.Object ref = actionPlanKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); actionPlanKey_ = b; return b; } else { @@ -9747,12 +10562,14 @@ public final class BatchReport { public static final int ATTRIBUTES_FIELD_NUMBER = 18; private java.lang.Object attributes_; + /** * <code>optional string attributes = 18;</code> */ public boolean hasAttributes() { return ((bitField0_ & 0x00010000) == 0x00010000); } + /** * <code>optional string attributes = 18;</code> */ @@ -9761,8 +10578,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { attributes_ = s; @@ -9770,16 +10587,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string attributes = 18;</code> */ public com.google.protobuf.ByteString - getAttributesBytes() { + getAttributesBytes() { java.lang.Object ref = attributes_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attributes_ = b; return b; } else { @@ -9789,12 +10607,14 @@ public final class BatchReport { public static final int AUTHOR_LOGIN_FIELD_NUMBER = 19; private java.lang.Object authorLogin_; + /** * <code>optional string author_login = 19;</code> */ public boolean hasAuthorLogin() { return ((bitField0_ & 0x00020000) == 0x00020000); } + /** * <code>optional string author_login = 19;</code> */ @@ -9803,8 +10623,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { authorLogin_ = s; @@ -9812,16 +10632,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string author_login = 19;</code> */ public com.google.protobuf.ByteString - getAuthorLoginBytes() { + getAuthorLoginBytes() { java.lang.Object ref = authorLogin_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorLogin_ = b; return b; } else { @@ -9831,12 +10652,14 @@ public final class BatchReport { public static final int CREATION_DATE_FIELD_NUMBER = 20; private long creationDate_; + /** * <code>optional int64 creation_date = 20;</code> */ public boolean hasCreationDate() { return ((bitField0_ & 0x00040000) == 0x00040000); } + /** * <code>optional int64 creation_date = 20;</code> */ @@ -9846,12 +10669,14 @@ public final class BatchReport { public static final int CLOSE_DATE_FIELD_NUMBER = 21; private long closeDate_; + /** * <code>optional int64 close_date = 21;</code> */ public boolean hasCloseDate() { return ((bitField0_ & 0x00080000) == 0x00080000); } + /** * <code>optional int64 close_date = 21;</code> */ @@ -9861,12 +10686,14 @@ public final class BatchReport { public static final int UPDATE_DATE_FIELD_NUMBER = 22; private long updateDate_; + /** * <code>optional int64 update_date = 22;</code> */ public boolean hasUpdateDate() { return ((bitField0_ & 0x00100000) == 0x00100000); } + /** * <code>optional int64 update_date = 22;</code> */ @@ -9876,12 +10703,14 @@ public final class BatchReport { public static final int SELECTED_AT_FIELD_NUMBER = 23; private long selectedAt_; + /** * <code>optional int64 selected_at = 23;</code> */ public boolean hasSelectedAt() { return ((bitField0_ & 0x00200000) == 0x00200000); } + /** * <code>optional int64 selected_at = 23;</code> */ @@ -9891,12 +10720,14 @@ public final class BatchReport { public static final int DIFF_FIELDS_FIELD_NUMBER = 24; private java.lang.Object diffFields_; + /** * <code>optional string diff_fields = 24;</code> */ public boolean hasDiffFields() { return ((bitField0_ & 0x00400000) == 0x00400000); } + /** * <code>optional string diff_fields = 24;</code> */ @@ -9905,8 +10736,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { diffFields_ = s; @@ -9914,16 +10745,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string diff_fields = 24;</code> */ public com.google.protobuf.ByteString - getDiffFieldsBytes() { + getDiffFieldsBytes() { java.lang.Object ref = diffFields_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); diffFields_ = b; return b; } else { @@ -9933,12 +10765,14 @@ public final class BatchReport { public static final int IS_CHANGED_FIELD_NUMBER = 25; private boolean isChanged_; + /** * <code>optional bool is_changed = 25;</code> */ public boolean hasIsChanged() { return ((bitField0_ & 0x00800000) == 0x00800000); } + /** * <code>optional bool is_changed = 25;</code> */ @@ -9948,12 +10782,14 @@ public final class BatchReport { public static final int MUST_SEND_NOTIFICATION_FIELD_NUMBER = 26; private boolean mustSendNotification_; + /** * <code>optional bool must_send_notification = 26;</code> */ public boolean hasMustSendNotification() { return ((bitField0_ & 0x01000000) == 0x01000000); } + /** * <code>optional bool must_send_notification = 26;</code> */ @@ -9989,18 +10825,22 @@ public final class BatchReport { isChanged_ = false; mustSendNotification_ = false; } + 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 true; + if (isInitialized == 0) + return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getRuleRepositoryBytes()); @@ -10084,9 +10924,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -10204,95 +11046,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Issue parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Issue parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Issue parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Issue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Issue parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Issue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Issue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Issue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Issue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Issue parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Issue prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * 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 + // @@protoc_insertion_point(builder_implements:Issue) + org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Issue_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Issue_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Issue.class, org.sonar.batch.protocol.output.BatchReport.Issue.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Issue.class, org.sonar.batch.protocol.output.BatchReport.Issue.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Issue.newBuilder() @@ -10301,14 +11163,16 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + 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(); } @@ -10375,7 +11239,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Issue_descriptor; } @@ -10507,7 +11371,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Issue) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Issue)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Issue) other); } else { super.mergeFrom(other); return this; @@ -10515,7 +11379,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Issue other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Issue.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Issue.getDefaultInstance()) + return this; if (other.hasRuleRepository()) { bitField0_ |= 0x00000001; ruleRepository_ = other.ruleRepository_; @@ -10636,9 +11501,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Issue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -10652,15 +11517,18 @@ public final class BatchReport { } return this; } + private int bitField0_; private java.lang.Object ruleRepository_ = ""; + /** * <code>optional string rule_repository = 1;</code> */ public boolean hasRuleRepository() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional string rule_repository = 1;</code> */ @@ -10668,7 +11536,7 @@ public final class BatchReport { java.lang.Object ref = ruleRepository_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { ruleRepository_ = s; @@ -10678,35 +11546,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string rule_repository = 1;</code> */ public com.google.protobuf.ByteString - getRuleRepositoryBytes() { + getRuleRepositoryBytes() { java.lang.Object ref = ruleRepository_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ruleRepository_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string rule_repository = 1;</code> */ public Builder setRuleRepository( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; ruleRepository_ = value; onChanged(); return this; } + /** * <code>optional string rule_repository = 1;</code> */ @@ -10716,27 +11587,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string rule_repository = 1;</code> */ public Builder setRuleRepositoryBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; ruleRepository_ = value; onChanged(); return this; } private java.lang.Object ruleKey_ = ""; + /** * <code>optional string rule_key = 2;</code> */ public boolean hasRuleKey() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional string rule_key = 2;</code> */ @@ -10744,7 +11618,7 @@ public final class BatchReport { java.lang.Object ref = ruleKey_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { ruleKey_ = s; @@ -10754,35 +11628,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string rule_key = 2;</code> */ public com.google.protobuf.ByteString - getRuleKeyBytes() { + getRuleKeyBytes() { java.lang.Object ref = ruleKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ruleKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string rule_key = 2;</code> */ public Builder setRuleKey( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; ruleKey_ = value; onChanged(); return this; } + /** * <code>optional string rule_key = 2;</code> */ @@ -10792,33 +11669,37 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string rule_key = 2;</code> */ public Builder setRuleKeyBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; ruleKey_ = value; onChanged(); return this; } - private int line_ ; + private int line_; + /** * <code>optional int32 line = 3;</code> */ public boolean hasLine() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional int32 line = 3;</code> */ public int getLine() { return line_; } + /** * <code>optional int32 line = 3;</code> */ @@ -10828,6 +11709,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 line = 3;</code> */ @@ -10839,12 +11721,14 @@ public final class BatchReport { } private java.lang.Object msg_ = ""; + /** * <code>optional string msg = 4;</code> */ public boolean hasMsg() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional string msg = 4;</code> */ @@ -10852,7 +11736,7 @@ public final class BatchReport { java.lang.Object ref = msg_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { msg_ = s; @@ -10862,35 +11746,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string msg = 4;</code> */ public com.google.protobuf.ByteString - getMsgBytes() { + getMsgBytes() { java.lang.Object ref = msg_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + 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; } } + /** * <code>optional string msg = 4;</code> */ public Builder setMsg( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; msg_ = value; onChanged(); return this; } + /** * <code>optional string msg = 4;</code> */ @@ -10900,33 +11787,37 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string msg = 4;</code> */ public Builder setMsgBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; msg_ = value; onChanged(); return this; } private org.sonar.batch.protocol.Constants.Severity severity_ = org.sonar.batch.protocol.Constants.Severity.INFO; + /** * <code>optional .Severity severity = 5;</code> */ public boolean hasSeverity() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional .Severity severity = 5;</code> */ public org.sonar.batch.protocol.Constants.Severity getSeverity() { return severity_; } + /** * <code>optional .Severity severity = 5;</code> */ @@ -10939,6 +11830,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional .Severity severity = 5;</code> */ @@ -10950,75 +11842,84 @@ public final class BatchReport { } private com.google.protobuf.LazyStringList tag_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { tag_ = new com.google.protobuf.LazyStringArrayList(tag_); bitField0_ |= 0x00000020; - } + } } + /** * <code>repeated string tag = 6;</code> */ public com.google.protobuf.ProtocolStringList - getTagList() { + getTagList() { return tag_.getUnmodifiableView(); } + /** * <code>repeated string tag = 6;</code> */ public int getTagCount() { return tag_.size(); } + /** * <code>repeated string tag = 6;</code> */ public java.lang.String getTag(int index) { return tag_.get(index); } + /** * <code>repeated string tag = 6;</code> */ public com.google.protobuf.ByteString - getTagBytes(int index) { + getTagBytes(int index) { return tag_.getByteString(index); } + /** * <code>repeated string tag = 6;</code> */ public Builder setTag( - int index, java.lang.String value) { + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagIsMutable(); + throw new NullPointerException(); + } + ensureTagIsMutable(); tag_.set(index, value); onChanged(); return this; } + /** * <code>repeated string tag = 6;</code> */ public Builder addTag( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagIsMutable(); + throw new NullPointerException(); + } + ensureTagIsMutable(); tag_.add(value); onChanged(); return this; } + /** * <code>repeated string tag = 6;</code> */ public Builder addAllTag( - java.lang.Iterable<java.lang.String> values) { + java.lang.Iterable<java.lang.String> values) { ensureTagIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tag_); + values, tag_); onChanged(); return this; } + /** * <code>repeated string tag = 6;</code> */ @@ -11028,21 +11929,23 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>repeated string tag = 6;</code> */ public Builder addTagBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagIsMutable(); + throw new NullPointerException(); + } + ensureTagIsMutable(); tag_.add(value); onChanged(); return this; } - private double effortToFix_ ; + private double effortToFix_; + /** * <code>optional double effort_to_fix = 7;</code> * @@ -11053,6 +11956,7 @@ public final class BatchReport { public boolean hasEffortToFix() { return ((bitField0_ & 0x00000040) == 0x00000040); } + /** * <code>optional double effort_to_fix = 7;</code> * @@ -11063,6 +11967,7 @@ public final class BatchReport { public double getEffortToFix() { return effortToFix_; } + /** * <code>optional double effort_to_fix = 7;</code> * @@ -11076,6 +11981,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional double effort_to_fix = 7;</code> * @@ -11090,19 +11996,22 @@ public final class BatchReport { return this; } - private boolean isNew_ ; + private boolean isNew_; + /** * <code>optional bool is_new = 8;</code> */ public boolean hasIsNew() { return ((bitField0_ & 0x00000080) == 0x00000080); } + /** * <code>optional bool is_new = 8;</code> */ public boolean getIsNew() { return isNew_; } + /** * <code>optional bool is_new = 8;</code> */ @@ -11112,6 +12021,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional bool is_new = 8;</code> */ @@ -11123,12 +12033,14 @@ public final class BatchReport { } private java.lang.Object uuid_ = ""; + /** * <code>optional string uuid = 9;</code> */ public boolean hasUuid() { return ((bitField0_ & 0x00000100) == 0x00000100); } + /** * <code>optional string uuid = 9;</code> */ @@ -11136,7 +12048,7 @@ public final class BatchReport { java.lang.Object ref = uuid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { uuid_ = s; @@ -11146,35 +12058,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string uuid = 9;</code> */ public com.google.protobuf.ByteString - getUuidBytes() { + getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uuid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string uuid = 9;</code> */ public Builder setUuid( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; uuid_ = value; onChanged(); return this; } + /** * <code>optional string uuid = 9;</code> */ @@ -11184,33 +12099,37 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string uuid = 9;</code> */ public Builder setUuidBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; uuid_ = value; onChanged(); return this; } - private long debtInMinutes_ ; + private long debtInMinutes_; + /** * <code>optional int64 debt_in_minutes = 10;</code> */ public boolean hasDebtInMinutes() { return ((bitField0_ & 0x00000200) == 0x00000200); } + /** * <code>optional int64 debt_in_minutes = 10;</code> */ public long getDebtInMinutes() { return debtInMinutes_; } + /** * <code>optional int64 debt_in_minutes = 10;</code> */ @@ -11220,6 +12139,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int64 debt_in_minutes = 10;</code> */ @@ -11231,12 +12151,14 @@ public final class BatchReport { } private java.lang.Object resolution_ = ""; + /** * <code>optional string resolution = 11;</code> */ public boolean hasResolution() { return ((bitField0_ & 0x00000400) == 0x00000400); } + /** * <code>optional string resolution = 11;</code> */ @@ -11244,7 +12166,7 @@ public final class BatchReport { java.lang.Object ref = resolution_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resolution_ = s; @@ -11254,35 +12176,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string resolution = 11;</code> */ public com.google.protobuf.ByteString - getResolutionBytes() { + getResolutionBytes() { java.lang.Object ref = resolution_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resolution_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string resolution = 11;</code> */ public Builder setResolution( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; resolution_ = value; onChanged(); return this; } + /** * <code>optional string resolution = 11;</code> */ @@ -11292,27 +12217,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string resolution = 11;</code> */ public Builder setResolutionBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; resolution_ = value; onChanged(); return this; } private java.lang.Object status_ = ""; + /** * <code>optional string status = 12;</code> */ public boolean hasStatus() { return ((bitField0_ & 0x00000800) == 0x00000800); } + /** * <code>optional string status = 12;</code> */ @@ -11320,7 +12248,7 @@ public final class BatchReport { java.lang.Object ref = status_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { status_ = s; @@ -11330,35 +12258,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string status = 12;</code> */ public com.google.protobuf.ByteString - getStatusBytes() { + getStatusBytes() { java.lang.Object ref = status_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); status_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string status = 12;</code> */ public Builder setStatus( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000800; + throw new NullPointerException(); + } + bitField0_ |= 0x00000800; status_ = value; onChanged(); return this; } + /** * <code>optional string status = 12;</code> */ @@ -11368,27 +12299,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string status = 12;</code> */ public Builder setStatusBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000800; + throw new NullPointerException(); + } + bitField0_ |= 0x00000800; status_ = value; onChanged(); return this; } private java.lang.Object checksum_ = ""; + /** * <code>optional string checksum = 13;</code> */ public boolean hasChecksum() { return ((bitField0_ & 0x00001000) == 0x00001000); } + /** * <code>optional string checksum = 13;</code> */ @@ -11396,7 +12330,7 @@ public final class BatchReport { java.lang.Object ref = checksum_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { checksum_ = s; @@ -11406,35 +12340,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string checksum = 13;</code> */ public com.google.protobuf.ByteString - getChecksumBytes() { + getChecksumBytes() { java.lang.Object ref = checksum_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checksum_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string checksum = 13;</code> */ public Builder setChecksum( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00001000; + throw new NullPointerException(); + } + bitField0_ |= 0x00001000; checksum_ = value; onChanged(); return this; } + /** * <code>optional string checksum = 13;</code> */ @@ -11444,33 +12381,37 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string checksum = 13;</code> */ public Builder setChecksumBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00001000; + throw new NullPointerException(); + } + bitField0_ |= 0x00001000; checksum_ = value; onChanged(); return this; } - private boolean manualSeverity_ ; + private boolean manualSeverity_; + /** * <code>optional bool manual_severity = 14;</code> */ public boolean hasManualSeverity() { return ((bitField0_ & 0x00002000) == 0x00002000); } + /** * <code>optional bool manual_severity = 14;</code> */ public boolean getManualSeverity() { return manualSeverity_; } + /** * <code>optional bool manual_severity = 14;</code> */ @@ -11480,6 +12421,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional bool manual_severity = 14;</code> */ @@ -11491,12 +12433,14 @@ public final class BatchReport { } private java.lang.Object reporter_ = ""; + /** * <code>optional string reporter = 15;</code> */ public boolean hasReporter() { return ((bitField0_ & 0x00004000) == 0x00004000); } + /** * <code>optional string reporter = 15;</code> */ @@ -11504,7 +12448,7 @@ public final class BatchReport { java.lang.Object ref = reporter_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { reporter_ = s; @@ -11514,35 +12458,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string reporter = 15;</code> */ public com.google.protobuf.ByteString - getReporterBytes() { + getReporterBytes() { java.lang.Object ref = reporter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + 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; } } + /** * <code>optional string reporter = 15;</code> */ public Builder setReporter( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00004000; + throw new NullPointerException(); + } + bitField0_ |= 0x00004000; reporter_ = value; onChanged(); return this; } + /** * <code>optional string reporter = 15;</code> */ @@ -11552,27 +12499,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string reporter = 15;</code> */ public Builder setReporterBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00004000; + throw new NullPointerException(); + } + bitField0_ |= 0x00004000; reporter_ = value; onChanged(); return this; } private java.lang.Object assignee_ = ""; + /** * <code>optional string assignee = 16;</code> */ public boolean hasAssignee() { return ((bitField0_ & 0x00008000) == 0x00008000); } + /** * <code>optional string assignee = 16;</code> */ @@ -11580,7 +12530,7 @@ public final class BatchReport { java.lang.Object ref = assignee_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { assignee_ = s; @@ -11590,35 +12540,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string assignee = 16;</code> */ public com.google.protobuf.ByteString - getAssigneeBytes() { + getAssigneeBytes() { java.lang.Object ref = assignee_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assignee_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string assignee = 16;</code> */ public Builder setAssignee( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00008000; + throw new NullPointerException(); + } + bitField0_ |= 0x00008000; assignee_ = value; onChanged(); return this; } + /** * <code>optional string assignee = 16;</code> */ @@ -11628,27 +12581,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string assignee = 16;</code> */ public Builder setAssigneeBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00008000; + throw new NullPointerException(); + } + bitField0_ |= 0x00008000; assignee_ = value; onChanged(); return this; } private java.lang.Object actionPlanKey_ = ""; + /** * <code>optional string action_plan_key = 17;</code> */ public boolean hasActionPlanKey() { return ((bitField0_ & 0x00010000) == 0x00010000); } + /** * <code>optional string action_plan_key = 17;</code> */ @@ -11656,7 +12612,7 @@ public final class BatchReport { java.lang.Object ref = actionPlanKey_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { actionPlanKey_ = s; @@ -11666,35 +12622,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string action_plan_key = 17;</code> */ public com.google.protobuf.ByteString - getActionPlanKeyBytes() { + getActionPlanKeyBytes() { java.lang.Object ref = actionPlanKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); actionPlanKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string action_plan_key = 17;</code> */ public Builder setActionPlanKey( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00010000; + throw new NullPointerException(); + } + bitField0_ |= 0x00010000; actionPlanKey_ = value; onChanged(); return this; } + /** * <code>optional string action_plan_key = 17;</code> */ @@ -11704,27 +12663,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string action_plan_key = 17;</code> */ public Builder setActionPlanKeyBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00010000; + throw new NullPointerException(); + } + bitField0_ |= 0x00010000; actionPlanKey_ = value; onChanged(); return this; } private java.lang.Object attributes_ = ""; + /** * <code>optional string attributes = 18;</code> */ public boolean hasAttributes() { return ((bitField0_ & 0x00020000) == 0x00020000); } + /** * <code>optional string attributes = 18;</code> */ @@ -11732,7 +12694,7 @@ public final class BatchReport { java.lang.Object ref = attributes_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { attributes_ = s; @@ -11742,35 +12704,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string attributes = 18;</code> */ public com.google.protobuf.ByteString - getAttributesBytes() { + getAttributesBytes() { java.lang.Object ref = attributes_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attributes_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string attributes = 18;</code> */ public Builder setAttributes( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00020000; + throw new NullPointerException(); + } + bitField0_ |= 0x00020000; attributes_ = value; onChanged(); return this; } + /** * <code>optional string attributes = 18;</code> */ @@ -11780,27 +12745,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string attributes = 18;</code> */ public Builder setAttributesBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00020000; + throw new NullPointerException(); + } + bitField0_ |= 0x00020000; attributes_ = value; onChanged(); return this; } private java.lang.Object authorLogin_ = ""; + /** * <code>optional string author_login = 19;</code> */ public boolean hasAuthorLogin() { return ((bitField0_ & 0x00040000) == 0x00040000); } + /** * <code>optional string author_login = 19;</code> */ @@ -11808,7 +12776,7 @@ public final class BatchReport { java.lang.Object ref = authorLogin_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { authorLogin_ = s; @@ -11818,35 +12786,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string author_login = 19;</code> */ public com.google.protobuf.ByteString - getAuthorLoginBytes() { + getAuthorLoginBytes() { java.lang.Object ref = authorLogin_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorLogin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string author_login = 19;</code> */ public Builder setAuthorLogin( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00040000; + throw new NullPointerException(); + } + bitField0_ |= 0x00040000; authorLogin_ = value; onChanged(); return this; } + /** * <code>optional string author_login = 19;</code> */ @@ -11856,33 +12827,37 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string author_login = 19;</code> */ public Builder setAuthorLoginBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00040000; + throw new NullPointerException(); + } + bitField0_ |= 0x00040000; authorLogin_ = value; onChanged(); return this; } - private long creationDate_ ; + private long creationDate_; + /** * <code>optional int64 creation_date = 20;</code> */ public boolean hasCreationDate() { return ((bitField0_ & 0x00080000) == 0x00080000); } + /** * <code>optional int64 creation_date = 20;</code> */ public long getCreationDate() { return creationDate_; } + /** * <code>optional int64 creation_date = 20;</code> */ @@ -11892,6 +12867,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int64 creation_date = 20;</code> */ @@ -11902,19 +12878,22 @@ public final class BatchReport { return this; } - private long closeDate_ ; + private long closeDate_; + /** * <code>optional int64 close_date = 21;</code> */ public boolean hasCloseDate() { return ((bitField0_ & 0x00100000) == 0x00100000); } + /** * <code>optional int64 close_date = 21;</code> */ public long getCloseDate() { return closeDate_; } + /** * <code>optional int64 close_date = 21;</code> */ @@ -11924,6 +12903,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int64 close_date = 21;</code> */ @@ -11934,19 +12914,22 @@ public final class BatchReport { return this; } - private long updateDate_ ; + private long updateDate_; + /** * <code>optional int64 update_date = 22;</code> */ public boolean hasUpdateDate() { return ((bitField0_ & 0x00200000) == 0x00200000); } + /** * <code>optional int64 update_date = 22;</code> */ public long getUpdateDate() { return updateDate_; } + /** * <code>optional int64 update_date = 22;</code> */ @@ -11956,6 +12939,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int64 update_date = 22;</code> */ @@ -11966,19 +12950,22 @@ public final class BatchReport { return this; } - private long selectedAt_ ; + private long selectedAt_; + /** * <code>optional int64 selected_at = 23;</code> */ public boolean hasSelectedAt() { return ((bitField0_ & 0x00400000) == 0x00400000); } + /** * <code>optional int64 selected_at = 23;</code> */ public long getSelectedAt() { return selectedAt_; } + /** * <code>optional int64 selected_at = 23;</code> */ @@ -11988,6 +12975,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int64 selected_at = 23;</code> */ @@ -11999,12 +12987,14 @@ public final class BatchReport { } private java.lang.Object diffFields_ = ""; + /** * <code>optional string diff_fields = 24;</code> */ public boolean hasDiffFields() { return ((bitField0_ & 0x00800000) == 0x00800000); } + /** * <code>optional string diff_fields = 24;</code> */ @@ -12012,7 +13002,7 @@ public final class BatchReport { java.lang.Object ref = diffFields_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { diffFields_ = s; @@ -12022,35 +13012,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string diff_fields = 24;</code> */ public com.google.protobuf.ByteString - getDiffFieldsBytes() { + getDiffFieldsBytes() { java.lang.Object ref = diffFields_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); diffFields_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string diff_fields = 24;</code> */ public Builder setDiffFields( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00800000; + throw new NullPointerException(); + } + bitField0_ |= 0x00800000; diffFields_ = value; onChanged(); return this; } + /** * <code>optional string diff_fields = 24;</code> */ @@ -12060,33 +13053,37 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string diff_fields = 24;</code> */ public Builder setDiffFieldsBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00800000; + throw new NullPointerException(); + } + bitField0_ |= 0x00800000; diffFields_ = value; onChanged(); return this; } - private boolean isChanged_ ; + private boolean isChanged_; + /** * <code>optional bool is_changed = 25;</code> */ public boolean hasIsChanged() { return ((bitField0_ & 0x01000000) == 0x01000000); } + /** * <code>optional bool is_changed = 25;</code> */ public boolean getIsChanged() { return isChanged_; } + /** * <code>optional bool is_changed = 25;</code> */ @@ -12096,6 +13093,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional bool is_changed = 25;</code> */ @@ -12106,19 +13104,22 @@ public final class BatchReport { return this; } - private boolean mustSendNotification_ ; + private boolean mustSendNotification_; + /** * <code>optional bool must_send_notification = 26;</code> */ public boolean hasMustSendNotification() { return ((bitField0_ & 0x02000000) == 0x02000000); } + /** * <code>optional bool must_send_notification = 26;</code> */ public boolean getMustSendNotification() { return mustSendNotification_; } + /** * <code>optional bool must_send_notification = 26;</code> */ @@ -12128,6 +13129,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional bool must_send_notification = 26;</code> */ @@ -12150,13 +13152,14 @@ public final class BatchReport { } public interface IssuesOrBuilder extends - // @@protoc_insertion_point(interface_extends:Issues) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Issues) + com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 component_ref = 1;</code> */ boolean hasComponentRef(); + /** * <code>optional int32 component_ref = 1;</code> */ @@ -12165,26 +13168,30 @@ public final class BatchReport { /** * <code>repeated .Issue issue = 2;</code> */ - java.util.List<org.sonar.batch.protocol.output.BatchReport.Issue> - getIssueList(); + java.util.List<org.sonar.batch.protocol.output.BatchReport.Issue> + getIssueList(); + /** * <code>repeated .Issue issue = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.Issue getIssue(int index); + /** * <code>repeated .Issue issue = 2;</code> */ int getIssueCount(); + /** * <code>repeated .Issue issue = 2;</code> */ - java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder> - getIssueOrBuilderList(); + java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder> + getIssueOrBuilderList(); + /** * <code>repeated .Issue issue = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder getIssueOrBuilder( - int index); + int index); /** * <code>optional string component_uuid = 3;</code> @@ -12194,6 +13201,7 @@ public final class BatchReport { * </pre> */ boolean hasComponentUuid(); + /** * <code>optional string component_uuid = 3;</code> * @@ -12202,6 +13210,7 @@ public final class BatchReport { * </pre> */ java.lang.String getComponentUuid(); + /** * <code>optional string component_uuid = 3;</code> * @@ -12210,23 +13219,27 @@ public final class BatchReport { * </pre> */ com.google.protobuf.ByteString - getComponentUuidBytes(); + 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 + // @@protoc_insertion_point(message_implements:Issues) + IssuesOrBuilder { // Use Issues.newBuilder() to construct. private Issues(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Issues(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Issues(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Issues defaultInstance; + public static Issues getDefaultInstance() { return defaultInstance; } @@ -12236,19 +13249,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Issues( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -12259,7 +13274,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -12289,7 +13304,7 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { issue_ = java.util.Collections.unmodifiableList(issue_); @@ -12298,27 +13313,28 @@ public final class BatchReport { makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Issues_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Issues_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Issues.class, org.sonar.batch.protocol.output.BatchReport.Issues.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Issues.class, org.sonar.batch.protocol.output.BatchReport.Issues.Builder.class); } public static com.google.protobuf.Parser<Issues> PARSER = - new com.google.protobuf.AbstractParser<Issues>() { - public Issues parsePartialFrom( + new com.google.protobuf.AbstractParser<Issues>() { + public Issues parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Issues(input, extensionRegistry); - } - }; + return new Issues(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Issues> getParserForType() { @@ -12328,12 +13344,14 @@ public final class BatchReport { private int bitField0_; public static final int COMPONENT_REF_FIELD_NUMBER = 1; private int componentRef_; + /** * <code>optional int32 component_ref = 1;</code> */ public boolean hasComponentRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -12343,41 +13361,47 @@ public final class BatchReport { public static final int ISSUE_FIELD_NUMBER = 2; private java.util.List<org.sonar.batch.protocol.output.BatchReport.Issue> issue_; + /** * <code>repeated .Issue issue = 2;</code> */ public java.util.List<org.sonar.batch.protocol.output.BatchReport.Issue> getIssueList() { return issue_; } + /** * <code>repeated .Issue issue = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder> - getIssueOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder> + getIssueOrBuilderList() { return issue_; } + /** * <code>repeated .Issue issue = 2;</code> */ public int getIssueCount() { return issue_.size(); } + /** * <code>repeated .Issue issue = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Issue getIssue(int index) { return issue_.get(index); } + /** * <code>repeated .Issue issue = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder getIssueOrBuilder( - int index) { + int index) { return issue_.get(index); } public static final int COMPONENT_UUID_FIELD_NUMBER = 3; private java.lang.Object componentUuid_; + /** * <code>optional string component_uuid = 3;</code> * @@ -12388,6 +13412,7 @@ public final class BatchReport { public boolean hasComponentUuid() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional string component_uuid = 3;</code> * @@ -12400,8 +13425,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { componentUuid_ = s; @@ -12409,6 +13434,7 @@ public final class BatchReport { return s; } } + /** * <code>optional string component_uuid = 3;</code> * @@ -12417,12 +13443,12 @@ public final class BatchReport { * </pre> */ public com.google.protobuf.ByteString - getComponentUuidBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); componentUuid_ = b; return b; } else { @@ -12435,18 +13461,22 @@ public final class BatchReport { issue_ = 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 true; + if (isInitialized == 0) + return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, componentRef_); @@ -12461,9 +13491,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -12484,95 +13516,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Issues parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Issues parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Issues parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Issues parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Issues parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Issues parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Issues parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Issues parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Issues parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Issues parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Issues prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * 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 + // @@protoc_insertion_point(builder_implements:Issues) + org.sonar.batch.protocol.output.BatchReport.IssuesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Issues_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Issues_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Issues.class, org.sonar.batch.protocol.output.BatchReport.Issues.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Issues.class, org.sonar.batch.protocol.output.BatchReport.Issues.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Issues.newBuilder() @@ -12581,15 +13633,17 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getIssueFieldBuilder(); } } + private static Builder create() { return new Builder(); } @@ -12614,7 +13668,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Issues_descriptor; } @@ -12658,7 +13712,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Issues) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Issues)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Issues) other); } else { super.mergeFrom(other); return this; @@ -12666,7 +13720,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Issues other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Issues.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Issues.getDefaultInstance()) + return this; if (other.hasComponentRef()) { setComponentRef(other.getComponentRef()); } @@ -12688,9 +13743,9 @@ public final class BatchReport { issueBuilder_ = null; issue_ = other.issue_; bitField0_ = (bitField0_ & ~0x00000002); - issueBuilder_ = + issueBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getIssueFieldBuilder() : null; + getIssueFieldBuilder() : null; } else { issueBuilder_.addAllMessages(other.issue_); } @@ -12710,9 +13765,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Issues parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -12726,21 +13781,25 @@ public final class BatchReport { } return this; } + private int bitField0_; - private int componentRef_ ; + private int componentRef_; + /** * <code>optional int32 component_ref = 1;</code> */ public boolean hasComponentRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 component_ref = 1;</code> */ public int getComponentRef() { return componentRef_; } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -12750,6 +13809,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -12762,15 +13822,15 @@ public final class BatchReport { private java.util.List<org.sonar.batch.protocol.output.BatchReport.Issue> issue_ = java.util.Collections.emptyList(); + private void ensureIssueIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { issue_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.Issue>(issue_); bitField0_ |= 0x00000002; - } + } } - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Issue, org.sonar.batch.protocol.output.BatchReport.Issue.Builder, org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder> issueBuilder_; + private com.google.protobuf.RepeatedFieldBuilder<org.sonar.batch.protocol.output.BatchReport.Issue, org.sonar.batch.protocol.output.BatchReport.Issue.Builder, org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder> issueBuilder_; /** * <code>repeated .Issue issue = 2;</code> @@ -12782,6 +13842,7 @@ public final class BatchReport { return issueBuilder_.getMessageList(); } } + /** * <code>repeated .Issue issue = 2;</code> */ @@ -12792,6 +13853,7 @@ public final class BatchReport { return issueBuilder_.getCount(); } } + /** * <code>repeated .Issue issue = 2;</code> */ @@ -12802,11 +13864,12 @@ public final class BatchReport { return issueBuilder_.getMessage(index); } } + /** * <code>repeated .Issue issue = 2;</code> */ public Builder setIssue( - int index, org.sonar.batch.protocol.output.BatchReport.Issue value) { + int index, org.sonar.batch.protocol.output.BatchReport.Issue value) { if (issueBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12819,11 +13882,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Issue issue = 2;</code> */ public Builder setIssue( - int index, org.sonar.batch.protocol.output.BatchReport.Issue.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Issue.Builder builderForValue) { if (issueBuilder_ == null) { ensureIssueIsMutable(); issue_.set(index, builderForValue.build()); @@ -12833,6 +13897,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Issue issue = 2;</code> */ @@ -12849,11 +13914,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Issue issue = 2;</code> */ public Builder addIssue( - int index, org.sonar.batch.protocol.output.BatchReport.Issue value) { + int index, org.sonar.batch.protocol.output.BatchReport.Issue value) { if (issueBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12866,11 +13932,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Issue issue = 2;</code> */ public Builder addIssue( - org.sonar.batch.protocol.output.BatchReport.Issue.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.Issue.Builder builderForValue) { if (issueBuilder_ == null) { ensureIssueIsMutable(); issue_.add(builderForValue.build()); @@ -12880,11 +13947,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Issue issue = 2;</code> */ public Builder addIssue( - int index, org.sonar.batch.protocol.output.BatchReport.Issue.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Issue.Builder builderForValue) { if (issueBuilder_ == null) { ensureIssueIsMutable(); issue_.add(index, builderForValue.build()); @@ -12894,21 +13962,23 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Issue issue = 2;</code> */ public Builder addAllIssue( - java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Issue> values) { + java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Issue> values) { if (issueBuilder_ == null) { ensureIssueIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, issue_); + values, issue_); onChanged(); } else { issueBuilder_.addAllMessages(values); } return this; } + /** * <code>repeated .Issue issue = 2;</code> */ @@ -12922,6 +13992,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Issue issue = 2;</code> */ @@ -12935,72 +14006,81 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Issue issue = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Issue.Builder getIssueBuilder( - int index) { + int index) { return getIssueFieldBuilder().getBuilder(index); } + /** * <code>repeated .Issue issue = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder getIssueOrBuilder( - int index) { + int index) { if (issueBuilder_ == null) { - return issue_.get(index); } else { + return issue_.get(index); + } else { return issueBuilder_.getMessageOrBuilder(index); } } + /** * <code>repeated .Issue issue = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder> - getIssueOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder> + getIssueOrBuilderList() { if (issueBuilder_ != null) { return issueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(issue_); } } + /** * <code>repeated .Issue issue = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Issue.Builder addIssueBuilder() { return getIssueFieldBuilder().addBuilder( - org.sonar.batch.protocol.output.BatchReport.Issue.getDefaultInstance()); + org.sonar.batch.protocol.output.BatchReport.Issue.getDefaultInstance()); } + /** * <code>repeated .Issue issue = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Issue.Builder addIssueBuilder( - int index) { + int index) { return getIssueFieldBuilder().addBuilder( - index, org.sonar.batch.protocol.output.BatchReport.Issue.getDefaultInstance()); + index, org.sonar.batch.protocol.output.BatchReport.Issue.getDefaultInstance()); } + /** * <code>repeated .Issue issue = 2;</code> */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.Issue.Builder> - getIssueBuilderList() { + public java.util.List<org.sonar.batch.protocol.output.BatchReport.Issue.Builder> + getIssueBuilderList() { return getIssueFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Issue, org.sonar.batch.protocol.output.BatchReport.Issue.Builder, org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder> - getIssueFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.Issue, org.sonar.batch.protocol.output.BatchReport.Issue.Builder, org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder> + getIssueFieldBuilder() { if (issueBuilder_ == null) { issueBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Issue, org.sonar.batch.protocol.output.BatchReport.Issue.Builder, org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder>( - issue_, - ((bitField0_ & 0x00000002) == 0x00000002), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.Issue, org.sonar.batch.protocol.output.BatchReport.Issue.Builder, org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder>( + issue_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); issue_ = null; } return issueBuilder_; } private java.lang.Object componentUuid_ = ""; + /** * <code>optional string component_uuid = 3;</code> * @@ -13011,6 +14091,7 @@ public final class BatchReport { public boolean hasComponentUuid() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional string component_uuid = 3;</code> * @@ -13022,7 +14103,7 @@ public final class BatchReport { java.lang.Object ref = componentUuid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { componentUuid_ = s; @@ -13032,6 +14113,7 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string component_uuid = 3;</code> * @@ -13040,18 +14122,19 @@ public final class BatchReport { * </pre> */ public com.google.protobuf.ByteString - getComponentUuidBytes() { + getComponentUuidBytes() { java.lang.Object ref = componentUuid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + 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> * @@ -13060,15 +14143,16 @@ public final class BatchReport { * </pre> */ public Builder setComponentUuid( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; componentUuid_ = value; onChanged(); return this; } + /** * <code>optional string component_uuid = 3;</code> * @@ -13082,6 +14166,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string component_uuid = 3;</code> * @@ -13090,11 +14175,11 @@ public final class BatchReport { * </pre> */ public Builder setComponentUuidBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; componentUuid_ = value; onChanged(); return this; @@ -13112,13 +14197,14 @@ public final class BatchReport { } public interface ChangesetsOrBuilder extends - // @@protoc_insertion_point(interface_extends:Changesets) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Changesets) + com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 component_ref = 1;</code> */ boolean hasComponentRef(); + /** * <code>optional int32 component_ref = 1;</code> */ @@ -13127,26 +14213,30 @@ public final class BatchReport { /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ - java.util.List<org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset> - getChangesetList(); + java.util.List<org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset> + getChangesetList(); + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset getChangeset(int index); + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ int getChangesetCount(); + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ - java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder> - getChangesetOrBuilderList(); + java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder> + getChangesetOrBuilderList(); + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder getChangesetOrBuilder( - int index); + int index); /** * <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code> @@ -13156,6 +14246,7 @@ public final class BatchReport { * </pre> */ java.util.List<java.lang.Integer> getChangesetIndexByLineList(); + /** * <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code> * @@ -13164,6 +14255,7 @@ public final class BatchReport { * </pre> */ int getChangesetIndexByLineCount(); + /** * <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code> * @@ -13177,17 +14269,21 @@ public final class BatchReport { * Protobuf type {@code Changesets} */ public static final class Changesets extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Changesets) - ChangesetsOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Changesets) + ChangesetsOrBuilder { // Use Changesets.newBuilder() to construct. private Changesets(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Changesets(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Changesets(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Changesets defaultInstance; + public static Changesets getDefaultInstance() { return defaultInstance; } @@ -13197,19 +14293,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Changesets( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -13220,7 +14318,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -13265,7 +14363,7 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { changeset_ = java.util.Collections.unmodifiableList(changeset_); @@ -13277,27 +14375,28 @@ public final class BatchReport { makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Changesets.class, org.sonar.batch.protocol.output.BatchReport.Changesets.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Changesets.class, org.sonar.batch.protocol.output.BatchReport.Changesets.Builder.class); } public static com.google.protobuf.Parser<Changesets> PARSER = - new com.google.protobuf.AbstractParser<Changesets>() { - public Changesets parsePartialFrom( + new com.google.protobuf.AbstractParser<Changesets>() { + public Changesets parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Changesets(input, extensionRegistry); - } - }; + return new Changesets(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Changesets> getParserForType() { @@ -13305,41 +14404,46 @@ public final class BatchReport { } public interface ChangesetOrBuilder extends - // @@protoc_insertion_point(interface_extends:Changesets.Changeset) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Changesets.Changeset) + com.google.protobuf.MessageOrBuilder { /** * <code>optional string revision = 1;</code> */ boolean hasRevision(); + /** * <code>optional string revision = 1;</code> */ java.lang.String getRevision(); + /** * <code>optional string revision = 1;</code> */ com.google.protobuf.ByteString - getRevisionBytes(); + getRevisionBytes(); /** * <code>optional string author = 2;</code> */ boolean hasAuthor(); + /** * <code>optional string author = 2;</code> */ java.lang.String getAuthor(); + /** * <code>optional string author = 2;</code> */ com.google.protobuf.ByteString - getAuthorBytes(); + getAuthorBytes(); /** * <code>optional int64 date = 3;</code> */ boolean hasDate(); + /** * <code>optional int64 date = 3;</code> */ @@ -13349,17 +14453,21 @@ public final class BatchReport { * Protobuf type {@code Changesets.Changeset} */ public static final class Changeset extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Changesets.Changeset) - ChangesetOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Changesets.Changeset) + ChangesetOrBuilder { // Use Changeset.newBuilder() to construct. private Changeset(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Changeset(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Changeset(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Changeset defaultInstance; + public static Changeset getDefaultInstance() { return defaultInstance; } @@ -13369,19 +14477,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Changeset( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -13392,7 +14502,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -13420,33 +14530,34 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_Changeset_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_Changeset_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.class, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.class, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder.class); } public static com.google.protobuf.Parser<Changeset> PARSER = - new com.google.protobuf.AbstractParser<Changeset>() { - public Changeset parsePartialFrom( + new com.google.protobuf.AbstractParser<Changeset>() { + public Changeset parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Changeset(input, extensionRegistry); - } - }; + return new Changeset(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Changeset> getParserForType() { @@ -13456,12 +14567,14 @@ public final class BatchReport { private int bitField0_; public static final int REVISION_FIELD_NUMBER = 1; private java.lang.Object revision_; + /** * <code>optional string revision = 1;</code> */ public boolean hasRevision() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional string revision = 1;</code> */ @@ -13470,8 +14583,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { revision_ = s; @@ -13479,16 +14592,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string revision = 1;</code> */ public com.google.protobuf.ByteString - getRevisionBytes() { + getRevisionBytes() { java.lang.Object ref = revision_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revision_ = b; return b; } else { @@ -13498,12 +14612,14 @@ public final class BatchReport { public static final int AUTHOR_FIELD_NUMBER = 2; private java.lang.Object author_; + /** * <code>optional string author = 2;</code> */ public boolean hasAuthor() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional string author = 2;</code> */ @@ -13512,8 +14628,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { author_ = s; @@ -13521,16 +14637,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string author = 2;</code> */ public com.google.protobuf.ByteString - getAuthorBytes() { + getAuthorBytes() { java.lang.Object ref = author_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); author_ = b; return b; } else { @@ -13540,12 +14657,14 @@ public final class BatchReport { public static final int DATE_FIELD_NUMBER = 3; private long date_; + /** * <code>optional int64 date = 3;</code> */ public boolean hasDate() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional int64 date = 3;</code> */ @@ -13558,18 +14677,22 @@ public final class BatchReport { author_ = ""; date_ = 0L; } + 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 true; + if (isInitialized == 0) + return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getRevisionBytes()); @@ -13584,9 +14707,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -13607,95 +14732,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code Changesets.Changeset} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:Changesets.Changeset) - org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Changesets.Changeset) + org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_Changeset_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_Changeset_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.class, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.class, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.newBuilder() @@ -13704,14 +14849,16 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + 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(); } @@ -13732,7 +14879,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_Changeset_descriptor; } @@ -13771,7 +14918,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset) other); } else { super.mergeFrom(other); return this; @@ -13779,7 +14926,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.getDefaultInstance()) + return this; if (other.hasRevision()) { bitField0_ |= 0x00000001; revision_ = other.revision_; @@ -13802,9 +14950,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -13818,15 +14966,18 @@ public final class BatchReport { } return this; } + private int bitField0_; private java.lang.Object revision_ = ""; + /** * <code>optional string revision = 1;</code> */ public boolean hasRevision() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional string revision = 1;</code> */ @@ -13834,7 +14985,7 @@ public final class BatchReport { java.lang.Object ref = revision_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { revision_ = s; @@ -13844,35 +14995,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string revision = 1;</code> */ public com.google.protobuf.ByteString - getRevisionBytes() { + getRevisionBytes() { java.lang.Object ref = revision_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revision_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string revision = 1;</code> */ public Builder setRevision( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; revision_ = value; onChanged(); return this; } + /** * <code>optional string revision = 1;</code> */ @@ -13882,27 +15036,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string revision = 1;</code> */ public Builder setRevisionBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; revision_ = value; onChanged(); return this; } private java.lang.Object author_ = ""; + /** * <code>optional string author = 2;</code> */ public boolean hasAuthor() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional string author = 2;</code> */ @@ -13910,7 +15067,7 @@ public final class BatchReport { java.lang.Object ref = author_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { author_ = s; @@ -13920,35 +15077,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string author = 2;</code> */ public com.google.protobuf.ByteString - getAuthorBytes() { + getAuthorBytes() { java.lang.Object ref = author_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + 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; } } + /** * <code>optional string author = 2;</code> */ public Builder setAuthor( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; author_ = value; onChanged(); return this; } + /** * <code>optional string author = 2;</code> */ @@ -13958,33 +15118,37 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string author = 2;</code> */ public Builder setAuthorBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; author_ = value; onChanged(); return this; } - private long date_ ; + private long date_; + /** * <code>optional int64 date = 3;</code> */ public boolean hasDate() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional int64 date = 3;</code> */ public long getDate() { return date_; } + /** * <code>optional int64 date = 3;</code> */ @@ -13994,6 +15158,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int64 date = 3;</code> */ @@ -14018,12 +15183,14 @@ public final class BatchReport { private int bitField0_; public static final int COMPONENT_REF_FIELD_NUMBER = 1; private int componentRef_; + /** * <code>optional int32 component_ref = 1;</code> */ public boolean hasComponentRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -14033,41 +15200,47 @@ public final class BatchReport { public static final int CHANGESET_FIELD_NUMBER = 2; private java.util.List<org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset> changeset_; + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public java.util.List<org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset> getChangesetList() { return changeset_; } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder> - getChangesetOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder> + getChangesetOrBuilderList() { return changeset_; } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public int getChangesetCount() { return changeset_.size(); } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset getChangeset(int index) { return changeset_.get(index); } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder getChangesetOrBuilder( - int index) { + int index) { return changeset_.get(index); } public static final int CHANGESETINDEXBYLINE_FIELD_NUMBER = 3; private java.util.List<java.lang.Integer> changesetIndexByLine_; + /** * <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code> * @@ -14076,9 +15249,10 @@ public final class BatchReport { * </pre> */ public java.util.List<java.lang.Integer> - getChangesetIndexByLineList() { + getChangesetIndexByLineList() { return changesetIndexByLine_; } + /** * <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code> * @@ -14089,6 +15263,7 @@ public final class BatchReport { public int getChangesetIndexByLineCount() { return changesetIndexByLine_.size(); } + /** * <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code> * @@ -14099,6 +15274,7 @@ public final class BatchReport { public int getChangesetIndexByLine(int index) { return changesetIndexByLine_.get(index); } + private int changesetIndexByLineMemoizedSerializedSize = -1; private void initFields() { @@ -14106,18 +15282,22 @@ public final class BatchReport { changeset_ = java.util.Collections.emptyList(); changesetIndexByLine_ = 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; + 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 { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, componentRef_); @@ -14136,9 +15316,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -14159,7 +15341,7 @@ public final class BatchReport { if (!getChangesetIndexByLineList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + .computeInt32SizeNoTag(dataSize); } changesetIndexByLineMemoizedSerializedSize = dataSize; } @@ -14169,95 +15351,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Changesets parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Changesets parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Changesets prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code Changesets} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:Changesets) - org.sonar.batch.protocol.output.BatchReport.ChangesetsOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Changesets) + org.sonar.batch.protocol.output.BatchReport.ChangesetsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Changesets.class, org.sonar.batch.protocol.output.BatchReport.Changesets.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Changesets.class, org.sonar.batch.protocol.output.BatchReport.Changesets.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Changesets.newBuilder() @@ -14266,15 +15468,17 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getChangesetFieldBuilder(); } } + private static Builder create() { return new Builder(); } @@ -14299,7 +15503,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_descriptor; } @@ -14344,7 +15548,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Changesets) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Changesets)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Changesets) other); } else { super.mergeFrom(other); return this; @@ -14352,7 +15556,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Changesets other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Changesets.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Changesets.getDefaultInstance()) + return this; if (other.hasComponentRef()) { setComponentRef(other.getComponentRef()); } @@ -14374,9 +15579,9 @@ public final class BatchReport { changesetBuilder_ = null; changeset_ = other.changeset_; bitField0_ = (bitField0_ & ~0x00000002); - changesetBuilder_ = + changesetBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getChangesetFieldBuilder() : null; + getChangesetFieldBuilder() : null; } else { changesetBuilder_.addAllMessages(other.changeset_); } @@ -14401,9 +15606,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Changesets parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -14417,21 +15622,25 @@ public final class BatchReport { } return this; } + private int bitField0_; - private int componentRef_ ; + private int componentRef_; + /** * <code>optional int32 component_ref = 1;</code> */ public boolean hasComponentRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 component_ref = 1;</code> */ public int getComponentRef() { return componentRef_; } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -14441,6 +15650,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -14453,15 +15663,15 @@ public final class BatchReport { private java.util.List<org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset> changeset_ = java.util.Collections.emptyList(); + private void ensureChangesetIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { changeset_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset>(changeset_); bitField0_ |= 0x00000002; - } + } } - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder, org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder> changesetBuilder_; + private com.google.protobuf.RepeatedFieldBuilder<org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder, org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder> changesetBuilder_; /** * <code>repeated .Changesets.Changeset changeset = 2;</code> @@ -14473,6 +15683,7 @@ public final class BatchReport { return changesetBuilder_.getMessageList(); } } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ @@ -14483,6 +15694,7 @@ public final class BatchReport { return changesetBuilder_.getCount(); } } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ @@ -14493,11 +15705,12 @@ public final class BatchReport { return changesetBuilder_.getMessage(index); } } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public Builder setChangeset( - int index, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset value) { + int index, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset value) { if (changesetBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14510,11 +15723,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public Builder setChangeset( - int index, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder builderForValue) { if (changesetBuilder_ == null) { ensureChangesetIsMutable(); changeset_.set(index, builderForValue.build()); @@ -14524,6 +15738,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ @@ -14540,11 +15755,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public Builder addChangeset( - int index, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset value) { + int index, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset value) { if (changesetBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14557,11 +15773,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public Builder addChangeset( - org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder builderForValue) { if (changesetBuilder_ == null) { ensureChangesetIsMutable(); changeset_.add(builderForValue.build()); @@ -14571,11 +15788,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public Builder addChangeset( - int index, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder builderForValue) { if (changesetBuilder_ == null) { ensureChangesetIsMutable(); changeset_.add(index, builderForValue.build()); @@ -14585,21 +15803,23 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public Builder addAllChangeset( - java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset> values) { + java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset> values) { if (changesetBuilder_ == null) { ensureChangesetIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, changeset_); + values, changeset_); onChanged(); } else { changesetBuilder_.addAllMessages(values); } return this; } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ @@ -14613,6 +15833,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ @@ -14626,78 +15847,88 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder getChangesetBuilder( - int index) { + int index) { return getChangesetFieldBuilder().getBuilder(index); } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder getChangesetOrBuilder( - int index) { + int index) { if (changesetBuilder_ == null) { - return changeset_.get(index); } else { + return changeset_.get(index); + } else { return changesetBuilder_.getMessageOrBuilder(index); } } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder> - getChangesetOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder> + getChangesetOrBuilderList() { if (changesetBuilder_ != null) { return changesetBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(changeset_); } } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder addChangesetBuilder() { return getChangesetFieldBuilder().addBuilder( - org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.getDefaultInstance()); + org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.getDefaultInstance()); } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder addChangesetBuilder( - int index) { + int index) { return getChangesetFieldBuilder().addBuilder( - index, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.getDefaultInstance()); + index, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.getDefaultInstance()); } + /** * <code>repeated .Changesets.Changeset changeset = 2;</code> */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder> - getChangesetBuilderList() { + public java.util.List<org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder> + getChangesetBuilderList() { return getChangesetFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder, org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder> - getChangesetFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder, org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder> + getChangesetFieldBuilder() { if (changesetBuilder_ == null) { changesetBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder, org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder>( - changeset_, - ((bitField0_ & 0x00000002) == 0x00000002), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset, org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset.Builder, org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder>( + changeset_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); changeset_ = null; } return changesetBuilder_; } private java.util.List<java.lang.Integer> changesetIndexByLine_ = java.util.Collections.emptyList(); + private void ensureChangesetIndexByLineIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { changesetIndexByLine_ = new java.util.ArrayList<java.lang.Integer>(changesetIndexByLine_); bitField0_ |= 0x00000004; - } + } } + /** * <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code> * @@ -14706,9 +15937,10 @@ public final class BatchReport { * </pre> */ public java.util.List<java.lang.Integer> - getChangesetIndexByLineList() { + getChangesetIndexByLineList() { return java.util.Collections.unmodifiableList(changesetIndexByLine_); } + /** * <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code> * @@ -14719,6 +15951,7 @@ public final class BatchReport { public int getChangesetIndexByLineCount() { return changesetIndexByLine_.size(); } + /** * <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code> * @@ -14729,6 +15962,7 @@ public final class BatchReport { public int getChangesetIndexByLine(int index) { return changesetIndexByLine_.get(index); } + /** * <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code> * @@ -14737,12 +15971,13 @@ public final class BatchReport { * </pre> */ public Builder setChangesetIndexByLine( - int index, int value) { + int index, int value) { ensureChangesetIndexByLineIsMutable(); changesetIndexByLine_.set(index, value); onChanged(); return this; } + /** * <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code> * @@ -14756,6 +15991,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code> * @@ -14764,13 +16000,14 @@ public final class BatchReport { * </pre> */ public Builder addAllChangesetIndexByLine( - java.lang.Iterable<? extends java.lang.Integer> values) { + java.lang.Iterable<? extends java.lang.Integer> values) { ensureChangesetIndexByLineIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, changesetIndexByLine_); + values, changesetIndexByLine_); onChanged(); return this; } + /** * <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code> * @@ -14797,8 +16034,8 @@ public final class BatchReport { } public interface DuplicateOrBuilder extends - // @@protoc_insertion_point(interface_extends:Duplicate) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Duplicate) + com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 other_file_ref = 1;</code> @@ -14808,6 +16045,7 @@ public final class BatchReport { * </pre> */ boolean hasOtherFileRef(); + /** * <code>optional int32 other_file_ref = 1;</code> * @@ -14821,10 +16059,12 @@ public final class BatchReport { * <code>optional .Range range = 2;</code> */ boolean hasRange(); + /** * <code>optional .Range range = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.Range getRange(); + /** * <code>optional .Range range = 2;</code> */ @@ -14838,6 +16078,7 @@ public final class BatchReport { * </pre> */ boolean hasOtherFileKey(); + /** * <code>optional string other_file_key = 3;</code> * @@ -14846,6 +16087,7 @@ public final class BatchReport { * </pre> */ java.lang.String getOtherFileKey(); + /** * <code>optional string other_file_key = 3;</code> * @@ -14854,23 +16096,27 @@ public final class BatchReport { * </pre> */ com.google.protobuf.ByteString - getOtherFileKeyBytes(); + getOtherFileKeyBytes(); } /** * Protobuf type {@code Duplicate} */ public static final class Duplicate extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Duplicate) - DuplicateOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Duplicate) + DuplicateOrBuilder { // Use Duplicate.newBuilder() to construct. private Duplicate(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Duplicate(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Duplicate(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Duplicate defaultInstance; + public static Duplicate getDefaultInstance() { return defaultInstance; } @@ -14880,19 +16126,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Duplicate( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -14903,7 +16151,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -14938,33 +16186,34 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplicate_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplicate_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Duplicate.class, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Duplicate.class, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder.class); } public static com.google.protobuf.Parser<Duplicate> PARSER = - new com.google.protobuf.AbstractParser<Duplicate>() { - public Duplicate parsePartialFrom( + new com.google.protobuf.AbstractParser<Duplicate>() { + public Duplicate parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Duplicate(input, extensionRegistry); - } - }; + return new Duplicate(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Duplicate> getParserForType() { @@ -14974,6 +16223,7 @@ public final class BatchReport { private int bitField0_; public static final int OTHER_FILE_REF_FIELD_NUMBER = 1; private int otherFileRef_; + /** * <code>optional int32 other_file_ref = 1;</code> * @@ -14984,6 +16234,7 @@ public final class BatchReport { public boolean hasOtherFileRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 other_file_ref = 1;</code> * @@ -14997,18 +16248,21 @@ public final class BatchReport { public static final int RANGE_FIELD_NUMBER = 2; private org.sonar.batch.protocol.output.BatchReport.Range range_; + /** * <code>optional .Range range = 2;</code> */ public boolean hasRange() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional .Range range = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Range getRange() { return range_; } + /** * <code>optional .Range range = 2;</code> */ @@ -15018,6 +16272,7 @@ public final class BatchReport { public static final int OTHER_FILE_KEY_FIELD_NUMBER = 3; private java.lang.Object otherFileKey_; + /** * <code>optional string other_file_key = 3;</code> * @@ -15028,6 +16283,7 @@ public final class BatchReport { public boolean hasOtherFileKey() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional string other_file_key = 3;</code> * @@ -15040,8 +16296,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { otherFileKey_ = s; @@ -15049,6 +16305,7 @@ public final class BatchReport { return s; } } + /** * <code>optional string other_file_key = 3;</code> * @@ -15057,12 +16314,12 @@ public final class BatchReport { * </pre> */ public com.google.protobuf.ByteString - getOtherFileKeyBytes() { + getOtherFileKeyBytes() { java.lang.Object ref = otherFileKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); otherFileKey_ = b; return b; } else { @@ -15075,18 +16332,22 @@ public final class BatchReport { range_ = org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance(); otherFileKey_ = ""; } + 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 true; + if (isInitialized == 0) + return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, otherFileRef_); @@ -15101,9 +16362,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -15124,95 +16387,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Duplicate parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Duplicate parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Duplicate parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Duplicate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Duplicate parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Duplicate parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Duplicate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Duplicate parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Duplicate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Duplicate parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Duplicate prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code Duplicate} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:Duplicate) - org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Duplicate) + org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplicate_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplicate_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Duplicate.class, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Duplicate.class, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Duplicate.newBuilder() @@ -15221,15 +16504,17 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRangeFieldBuilder(); } } + private static Builder create() { return new Builder(); } @@ -15254,7 +16539,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplicate_descriptor; } @@ -15297,7 +16582,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Duplicate) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Duplicate)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Duplicate) other); } else { super.mergeFrom(other); return this; @@ -15305,7 +16590,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Duplicate other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Duplicate.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Duplicate.getDefaultInstance()) + return this; if (other.hasOtherFileRef()) { setOtherFileRef(other.getOtherFileRef()); } @@ -15326,9 +16612,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Duplicate parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -15342,9 +16628,11 @@ public final class BatchReport { } return this; } + private int bitField0_; - private int otherFileRef_ ; + private int otherFileRef_; + /** * <code>optional int32 other_file_ref = 1;</code> * @@ -15355,6 +16643,7 @@ public final class BatchReport { public boolean hasOtherFileRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 other_file_ref = 1;</code> * @@ -15365,6 +16654,7 @@ public final class BatchReport { public int getOtherFileRef() { return otherFileRef_; } + /** * <code>optional int32 other_file_ref = 1;</code> * @@ -15378,6 +16668,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 other_file_ref = 1;</code> * @@ -15393,14 +16684,15 @@ public final class BatchReport { } private org.sonar.batch.protocol.output.BatchReport.Range range_ = org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> rangeBuilder_; + private com.google.protobuf.SingleFieldBuilder<org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> rangeBuilder_; + /** * <code>optional .Range range = 2;</code> */ public boolean hasRange() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional .Range range = 2;</code> */ @@ -15411,6 +16703,7 @@ public final class BatchReport { return rangeBuilder_.getMessage(); } } + /** * <code>optional .Range range = 2;</code> */ @@ -15427,11 +16720,12 @@ public final class BatchReport { bitField0_ |= 0x00000002; return this; } + /** * <code>optional .Range range = 2;</code> */ public Builder setRange( - org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { if (rangeBuilder_ == null) { range_ = builderForValue.build(); onChanged(); @@ -15441,13 +16735,14 @@ public final class BatchReport { bitField0_ |= 0x00000002; return this; } + /** * <code>optional .Range range = 2;</code> */ public Builder mergeRange(org.sonar.batch.protocol.output.BatchReport.Range value) { if (rangeBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && - range_ != org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()) { + range_ != org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()) { range_ = org.sonar.batch.protocol.output.BatchReport.Range.newBuilder(range_).mergeFrom(value).buildPartial(); } else { @@ -15460,6 +16755,7 @@ public final class BatchReport { bitField0_ |= 0x00000002; return this; } + /** * <code>optional .Range range = 2;</code> */ @@ -15473,6 +16769,7 @@ public final class BatchReport { bitField0_ = (bitField0_ & ~0x00000002); return this; } + /** * <code>optional .Range range = 2;</code> */ @@ -15481,6 +16778,7 @@ public final class BatchReport { onChanged(); return getRangeFieldBuilder().getBuilder(); } + /** * <code>optional .Range range = 2;</code> */ @@ -15491,24 +16789,26 @@ public final class BatchReport { return range_; } } + /** * <code>optional .Range range = 2;</code> */ private com.google.protobuf.SingleFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> - getRangeFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> + getRangeFieldBuilder() { if (rangeBuilder_ == null) { rangeBuilder_ = new com.google.protobuf.SingleFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>( - getRange(), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>( + getRange(), + getParentForChildren(), + isClean()); range_ = null; } return rangeBuilder_; } private java.lang.Object otherFileKey_ = ""; + /** * <code>optional string other_file_key = 3;</code> * @@ -15519,6 +16819,7 @@ public final class BatchReport { public boolean hasOtherFileKey() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional string other_file_key = 3;</code> * @@ -15530,7 +16831,7 @@ public final class BatchReport { java.lang.Object ref = otherFileKey_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { otherFileKey_ = s; @@ -15540,6 +16841,7 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string other_file_key = 3;</code> * @@ -15548,18 +16850,19 @@ public final class BatchReport { * </pre> */ public com.google.protobuf.ByteString - getOtherFileKeyBytes() { + getOtherFileKeyBytes() { java.lang.Object ref = otherFileKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); otherFileKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string other_file_key = 3;</code> * @@ -15568,15 +16871,16 @@ public final class BatchReport { * </pre> */ public Builder setOtherFileKey( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; otherFileKey_ = value; onChanged(); return this; } + /** * <code>optional string other_file_key = 3;</code> * @@ -15590,6 +16894,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string other_file_key = 3;</code> * @@ -15598,11 +16903,11 @@ public final class BatchReport { * </pre> */ public Builder setOtherFileKeyBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; otherFileKey_ = value; onChanged(); return this; @@ -15620,8 +16925,8 @@ public final class BatchReport { } public interface DuplicationOrBuilder extends - // @@protoc_insertion_point(interface_extends:Duplication) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Duplication) + com.google.protobuf.MessageOrBuilder { /** * <code>optional .Range origin_position = 1;</code> @@ -15631,6 +16936,7 @@ public final class BatchReport { * </pre> */ boolean hasOriginPosition(); + /** * <code>optional .Range origin_position = 1;</code> * @@ -15639,6 +16945,7 @@ public final class BatchReport { * </pre> */ org.sonar.batch.protocol.output.BatchReport.Range getOriginPosition(); + /** * <code>optional .Range origin_position = 1;</code> * @@ -15651,42 +16958,50 @@ public final class BatchReport { /** * <code>repeated .Duplicate duplicate = 2;</code> */ - java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplicate> - getDuplicateList(); + java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplicate> + getDuplicateList(); + /** * <code>repeated .Duplicate duplicate = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.Duplicate getDuplicate(int index); + /** * <code>repeated .Duplicate duplicate = 2;</code> */ int getDuplicateCount(); + /** * <code>repeated .Duplicate duplicate = 2;</code> */ - java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder> - getDuplicateOrBuilderList(); + java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder> + getDuplicateOrBuilderList(); + /** * <code>repeated .Duplicate duplicate = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder getDuplicateOrBuilder( - int index); + int index); } /** * Protobuf type {@code Duplication} */ public static final class Duplication extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Duplication) - DuplicationOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Duplication) + DuplicationOrBuilder { // Use Duplication.newBuilder() to construct. private Duplication(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Duplication(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Duplication(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Duplication defaultInstance; + public static Duplication getDefaultInstance() { return defaultInstance; } @@ -15696,19 +17011,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Duplication( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -15719,7 +17036,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -15751,7 +17068,7 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { duplicate_ = java.util.Collections.unmodifiableList(duplicate_); @@ -15760,27 +17077,28 @@ public final class BatchReport { makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplication_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplication_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Duplication.class, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Duplication.class, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder.class); } public static com.google.protobuf.Parser<Duplication> PARSER = - new com.google.protobuf.AbstractParser<Duplication>() { - public Duplication parsePartialFrom( + new com.google.protobuf.AbstractParser<Duplication>() { + public Duplication parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Duplication(input, extensionRegistry); - } - }; + return new Duplication(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Duplication> getParserForType() { @@ -15790,6 +17108,7 @@ public final class BatchReport { private int bitField0_; public static final int ORIGIN_POSITION_FIELD_NUMBER = 1; private org.sonar.batch.protocol.output.BatchReport.Range originPosition_; + /** * <code>optional .Range origin_position = 1;</code> * @@ -15800,6 +17119,7 @@ public final class BatchReport { public boolean hasOriginPosition() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional .Range origin_position = 1;</code> * @@ -15810,6 +17130,7 @@ public final class BatchReport { public org.sonar.batch.protocol.output.BatchReport.Range getOriginPosition() { return originPosition_; } + /** * <code>optional .Range origin_position = 1;</code> * @@ -15823,36 +17144,41 @@ public final class BatchReport { public static final int DUPLICATE_FIELD_NUMBER = 2; private java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplicate> duplicate_; + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplicate> getDuplicateList() { return duplicate_; } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder> - getDuplicateOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder> + getDuplicateOrBuilderList() { return duplicate_; } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public int getDuplicateCount() { return duplicate_.size(); } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Duplicate getDuplicate(int index) { return duplicate_.get(index); } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder getDuplicateOrBuilder( - int index) { + int index) { return duplicate_.get(index); } @@ -15860,18 +17186,22 @@ public final class BatchReport { originPosition_ = org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance(); duplicate_ = 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; + 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 { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, originPosition_); @@ -15883,9 +17213,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -15902,95 +17234,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Duplication parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Duplication parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Duplication parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Duplication parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Duplication parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Duplication parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Duplication parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Duplication parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Duplication parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Duplication parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Duplication prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code Duplication} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:Duplication) - org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Duplication) + org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplication_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplication_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Duplication.class, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Duplication.class, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Duplication.newBuilder() @@ -15999,16 +17351,18 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getOriginPositionFieldBuilder(); getDuplicateFieldBuilder(); } } + private static Builder create() { return new Builder(); } @@ -16035,7 +17389,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplication_descriptor; } @@ -16079,7 +17433,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Duplication) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Duplication)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Duplication) other); } else { super.mergeFrom(other); return this; @@ -16087,7 +17441,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Duplication other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Duplication.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Duplication.getDefaultInstance()) + return this; if (other.hasOriginPosition()) { mergeOriginPosition(other.getOriginPosition()); } @@ -16109,9 +17464,9 @@ public final class BatchReport { duplicateBuilder_ = null; duplicate_ = other.duplicate_; bitField0_ = (bitField0_ & ~0x00000002); - duplicateBuilder_ = + duplicateBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getDuplicateFieldBuilder() : null; + getDuplicateFieldBuilder() : null; } else { duplicateBuilder_.addAllMessages(other.duplicate_); } @@ -16126,9 +17481,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Duplication parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -16142,11 +17497,12 @@ public final class BatchReport { } return this; } + private int bitField0_; private org.sonar.batch.protocol.output.BatchReport.Range originPosition_ = org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> originPositionBuilder_; + private com.google.protobuf.SingleFieldBuilder<org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> originPositionBuilder_; + /** * <code>optional .Range origin_position = 1;</code> * @@ -16157,6 +17513,7 @@ public final class BatchReport { public boolean hasOriginPosition() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional .Range origin_position = 1;</code> * @@ -16171,6 +17528,7 @@ public final class BatchReport { return originPositionBuilder_.getMessage(); } } + /** * <code>optional .Range origin_position = 1;</code> * @@ -16191,6 +17549,7 @@ public final class BatchReport { bitField0_ |= 0x00000001; return this; } + /** * <code>optional .Range origin_position = 1;</code> * @@ -16199,7 +17558,7 @@ public final class BatchReport { * </pre> */ public Builder setOriginPosition( - org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { if (originPositionBuilder_ == null) { originPosition_ = builderForValue.build(); onChanged(); @@ -16209,6 +17568,7 @@ public final class BatchReport { bitField0_ |= 0x00000001; return this; } + /** * <code>optional .Range origin_position = 1;</code> * @@ -16219,7 +17579,7 @@ public final class BatchReport { public Builder mergeOriginPosition(org.sonar.batch.protocol.output.BatchReport.Range value) { if (originPositionBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && - originPosition_ != org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()) { + originPosition_ != org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()) { originPosition_ = org.sonar.batch.protocol.output.BatchReport.Range.newBuilder(originPosition_).mergeFrom(value).buildPartial(); } else { @@ -16232,6 +17592,7 @@ public final class BatchReport { bitField0_ |= 0x00000001; return this; } + /** * <code>optional .Range origin_position = 1;</code> * @@ -16249,6 +17610,7 @@ public final class BatchReport { bitField0_ = (bitField0_ & ~0x00000001); return this; } + /** * <code>optional .Range origin_position = 1;</code> * @@ -16261,6 +17623,7 @@ public final class BatchReport { onChanged(); return getOriginPositionFieldBuilder().getBuilder(); } + /** * <code>optional .Range origin_position = 1;</code> * @@ -16275,6 +17638,7 @@ public final class BatchReport { return originPosition_; } } + /** * <code>optional .Range origin_position = 1;</code> * @@ -16283,14 +17647,14 @@ public final class BatchReport { * </pre> */ private com.google.protobuf.SingleFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> - getOriginPositionFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> + getOriginPositionFieldBuilder() { if (originPositionBuilder_ == null) { originPositionBuilder_ = new com.google.protobuf.SingleFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>( - getOriginPosition(), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>( + getOriginPosition(), + getParentForChildren(), + isClean()); originPosition_ = null; } return originPositionBuilder_; @@ -16298,15 +17662,15 @@ public final class BatchReport { private java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplicate> duplicate_ = java.util.Collections.emptyList(); + private void ensureDuplicateIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { duplicate_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.Duplicate>(duplicate_); bitField0_ |= 0x00000002; - } + } } - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Duplicate, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder, org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder> duplicateBuilder_; + private com.google.protobuf.RepeatedFieldBuilder<org.sonar.batch.protocol.output.BatchReport.Duplicate, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder, org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder> duplicateBuilder_; /** * <code>repeated .Duplicate duplicate = 2;</code> @@ -16318,6 +17682,7 @@ public final class BatchReport { return duplicateBuilder_.getMessageList(); } } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ @@ -16328,6 +17693,7 @@ public final class BatchReport { return duplicateBuilder_.getCount(); } } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ @@ -16338,11 +17704,12 @@ public final class BatchReport { return duplicateBuilder_.getMessage(index); } } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public Builder setDuplicate( - int index, org.sonar.batch.protocol.output.BatchReport.Duplicate value) { + int index, org.sonar.batch.protocol.output.BatchReport.Duplicate value) { if (duplicateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16355,11 +17722,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public Builder setDuplicate( - int index, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder builderForValue) { if (duplicateBuilder_ == null) { ensureDuplicateIsMutable(); duplicate_.set(index, builderForValue.build()); @@ -16369,6 +17737,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ @@ -16385,11 +17754,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public Builder addDuplicate( - int index, org.sonar.batch.protocol.output.BatchReport.Duplicate value) { + int index, org.sonar.batch.protocol.output.BatchReport.Duplicate value) { if (duplicateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16402,11 +17772,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public Builder addDuplicate( - org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder builderForValue) { if (duplicateBuilder_ == null) { ensureDuplicateIsMutable(); duplicate_.add(builderForValue.build()); @@ -16416,11 +17787,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public Builder addDuplicate( - int index, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder builderForValue) { if (duplicateBuilder_ == null) { ensureDuplicateIsMutable(); duplicate_.add(index, builderForValue.build()); @@ -16430,21 +17802,23 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public Builder addAllDuplicate( - java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Duplicate> values) { + java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Duplicate> values) { if (duplicateBuilder_ == null) { ensureDuplicateIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, duplicate_); + values, duplicate_); onChanged(); } else { duplicateBuilder_.addAllMessages(values); } return this; } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ @@ -16458,6 +17832,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ @@ -16471,66 +17846,74 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder getDuplicateBuilder( - int index) { + int index) { return getDuplicateFieldBuilder().getBuilder(index); } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder getDuplicateOrBuilder( - int index) { + int index) { if (duplicateBuilder_ == null) { - return duplicate_.get(index); } else { + return duplicate_.get(index); + } else { return duplicateBuilder_.getMessageOrBuilder(index); } } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder> - getDuplicateOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder> + getDuplicateOrBuilderList() { if (duplicateBuilder_ != null) { return duplicateBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(duplicate_); } } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder addDuplicateBuilder() { return getDuplicateFieldBuilder().addBuilder( - org.sonar.batch.protocol.output.BatchReport.Duplicate.getDefaultInstance()); + org.sonar.batch.protocol.output.BatchReport.Duplicate.getDefaultInstance()); } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder addDuplicateBuilder( - int index) { + int index) { return getDuplicateFieldBuilder().addBuilder( - index, org.sonar.batch.protocol.output.BatchReport.Duplicate.getDefaultInstance()); + index, org.sonar.batch.protocol.output.BatchReport.Duplicate.getDefaultInstance()); } + /** * <code>repeated .Duplicate duplicate = 2;</code> */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder> - getDuplicateBuilderList() { + public java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder> + getDuplicateBuilderList() { return getDuplicateFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Duplicate, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder, org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder> - getDuplicateFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.Duplicate, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder, org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder> + getDuplicateFieldBuilder() { if (duplicateBuilder_ == null) { duplicateBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Duplicate, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder, org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder>( - duplicate_, - ((bitField0_ & 0x00000002) == 0x00000002), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.Duplicate, org.sonar.batch.protocol.output.BatchReport.Duplicate.Builder, org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder>( + duplicate_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); duplicate_ = null; } return duplicateBuilder_; @@ -16548,13 +17931,14 @@ public final class BatchReport { } public interface DuplicationsOrBuilder extends - // @@protoc_insertion_point(interface_extends:Duplications) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Duplications) + com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 component_ref = 1;</code> */ boolean hasComponentRef(); + /** * <code>optional int32 component_ref = 1;</code> */ @@ -16563,42 +17947,50 @@ public final class BatchReport { /** * <code>repeated .Duplication duplication = 2;</code> */ - java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplication> - getDuplicationList(); + java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplication> + getDuplicationList(); + /** * <code>repeated .Duplication duplication = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.Duplication getDuplication(int index); + /** * <code>repeated .Duplication duplication = 2;</code> */ int getDuplicationCount(); + /** * <code>repeated .Duplication duplication = 2;</code> */ - java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder> - getDuplicationOrBuilderList(); + java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder> + getDuplicationOrBuilderList(); + /** * <code>repeated .Duplication duplication = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder getDuplicationOrBuilder( - int index); + int index); } /** * Protobuf type {@code Duplications} */ public static final class Duplications extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Duplications) - DuplicationsOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Duplications) + DuplicationsOrBuilder { // Use Duplications.newBuilder() to construct. private Duplications(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Duplications(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Duplications(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Duplications defaultInstance; + public static Duplications getDefaultInstance() { return defaultInstance; } @@ -16608,19 +18000,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Duplications( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -16631,7 +18025,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -16655,7 +18049,7 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { duplication_ = java.util.Collections.unmodifiableList(duplication_); @@ -16664,27 +18058,28 @@ public final class BatchReport { makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplications_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplications_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Duplications.class, org.sonar.batch.protocol.output.BatchReport.Duplications.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Duplications.class, org.sonar.batch.protocol.output.BatchReport.Duplications.Builder.class); } public static com.google.protobuf.Parser<Duplications> PARSER = - new com.google.protobuf.AbstractParser<Duplications>() { - public Duplications parsePartialFrom( + new com.google.protobuf.AbstractParser<Duplications>() { + public Duplications parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Duplications(input, extensionRegistry); - } - }; + return new Duplications(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Duplications> getParserForType() { @@ -16694,12 +18089,14 @@ public final class BatchReport { private int bitField0_; public static final int COMPONENT_REF_FIELD_NUMBER = 1; private int componentRef_; + /** * <code>optional int32 component_ref = 1;</code> */ public boolean hasComponentRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -16709,36 +18106,41 @@ public final class BatchReport { public static final int DUPLICATION_FIELD_NUMBER = 2; private java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplication> duplication_; + /** * <code>repeated .Duplication duplication = 2;</code> */ public java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplication> getDuplicationList() { return duplication_; } + /** * <code>repeated .Duplication duplication = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder> - getDuplicationOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder> + getDuplicationOrBuilderList() { return duplication_; } + /** * <code>repeated .Duplication duplication = 2;</code> */ public int getDuplicationCount() { return duplication_.size(); } + /** * <code>repeated .Duplication duplication = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Duplication getDuplication(int index) { return duplication_.get(index); } + /** * <code>repeated .Duplication duplication = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder getDuplicationOrBuilder( - int index) { + int index) { return duplication_.get(index); } @@ -16746,18 +18148,22 @@ public final class BatchReport { componentRef_ = 0; duplication_ = 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; + 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 { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, componentRef_); @@ -16769,9 +18175,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -16788,95 +18196,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Duplications parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Duplications parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Duplications parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Duplications parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Duplications parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Duplications parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Duplications parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Duplications parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Duplications parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Duplications parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Duplications prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code Duplications} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:Duplications) - org.sonar.batch.protocol.output.BatchReport.DuplicationsOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Duplications) + org.sonar.batch.protocol.output.BatchReport.DuplicationsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplications_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplications_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Duplications.class, org.sonar.batch.protocol.output.BatchReport.Duplications.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Duplications.class, org.sonar.batch.protocol.output.BatchReport.Duplications.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Duplications.newBuilder() @@ -16885,15 +18313,17 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getDuplicationFieldBuilder(); } } + private static Builder create() { return new Builder(); } @@ -16916,7 +18346,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplications_descriptor; } @@ -16956,7 +18386,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Duplications) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Duplications)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Duplications) other); } else { super.mergeFrom(other); return this; @@ -16964,7 +18394,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Duplications other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Duplications.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Duplications.getDefaultInstance()) + return this; if (other.hasComponentRef()) { setComponentRef(other.getComponentRef()); } @@ -16986,9 +18417,9 @@ public final class BatchReport { duplicationBuilder_ = null; duplication_ = other.duplication_; bitField0_ = (bitField0_ & ~0x00000002); - duplicationBuilder_ = + duplicationBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getDuplicationFieldBuilder() : null; + getDuplicationFieldBuilder() : null; } else { duplicationBuilder_.addAllMessages(other.duplication_); } @@ -17003,9 +18434,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Duplications parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -17019,21 +18450,25 @@ public final class BatchReport { } return this; } + private int bitField0_; - private int componentRef_ ; + private int componentRef_; + /** * <code>optional int32 component_ref = 1;</code> */ public boolean hasComponentRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 component_ref = 1;</code> */ public int getComponentRef() { return componentRef_; } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -17043,6 +18478,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 component_ref = 1;</code> */ @@ -17055,15 +18491,15 @@ public final class BatchReport { private java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplication> duplication_ = java.util.Collections.emptyList(); + private void ensureDuplicationIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { duplication_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.Duplication>(duplication_); bitField0_ |= 0x00000002; - } + } } - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Duplication, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder, org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder> duplicationBuilder_; + private com.google.protobuf.RepeatedFieldBuilder<org.sonar.batch.protocol.output.BatchReport.Duplication, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder, org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder> duplicationBuilder_; /** * <code>repeated .Duplication duplication = 2;</code> @@ -17075,6 +18511,7 @@ public final class BatchReport { return duplicationBuilder_.getMessageList(); } } + /** * <code>repeated .Duplication duplication = 2;</code> */ @@ -17085,6 +18522,7 @@ public final class BatchReport { return duplicationBuilder_.getCount(); } } + /** * <code>repeated .Duplication duplication = 2;</code> */ @@ -17095,11 +18533,12 @@ public final class BatchReport { return duplicationBuilder_.getMessage(index); } } + /** * <code>repeated .Duplication duplication = 2;</code> */ public Builder setDuplication( - int index, org.sonar.batch.protocol.output.BatchReport.Duplication value) { + int index, org.sonar.batch.protocol.output.BatchReport.Duplication value) { if (duplicationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -17112,11 +18551,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplication duplication = 2;</code> */ public Builder setDuplication( - int index, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder builderForValue) { if (duplicationBuilder_ == null) { ensureDuplicationIsMutable(); duplication_.set(index, builderForValue.build()); @@ -17126,6 +18566,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplication duplication = 2;</code> */ @@ -17142,11 +18583,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplication duplication = 2;</code> */ public Builder addDuplication( - int index, org.sonar.batch.protocol.output.BatchReport.Duplication value) { + int index, org.sonar.batch.protocol.output.BatchReport.Duplication value) { if (duplicationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -17159,11 +18601,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplication duplication = 2;</code> */ public Builder addDuplication( - org.sonar.batch.protocol.output.BatchReport.Duplication.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.Duplication.Builder builderForValue) { if (duplicationBuilder_ == null) { ensureDuplicationIsMutable(); duplication_.add(builderForValue.build()); @@ -17173,11 +18616,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplication duplication = 2;</code> */ public Builder addDuplication( - int index, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder builderForValue) { if (duplicationBuilder_ == null) { ensureDuplicationIsMutable(); duplication_.add(index, builderForValue.build()); @@ -17187,21 +18631,23 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplication duplication = 2;</code> */ public Builder addAllDuplication( - java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Duplication> values) { + java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Duplication> values) { if (duplicationBuilder_ == null) { ensureDuplicationIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, duplication_); + values, duplication_); onChanged(); } else { duplicationBuilder_.addAllMessages(values); } return this; } + /** * <code>repeated .Duplication duplication = 2;</code> */ @@ -17215,6 +18661,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplication duplication = 2;</code> */ @@ -17228,66 +18675,74 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Duplication duplication = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Duplication.Builder getDuplicationBuilder( - int index) { + int index) { return getDuplicationFieldBuilder().getBuilder(index); } + /** * <code>repeated .Duplication duplication = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder getDuplicationOrBuilder( - int index) { + int index) { if (duplicationBuilder_ == null) { - return duplication_.get(index); } else { + return duplication_.get(index); + } else { return duplicationBuilder_.getMessageOrBuilder(index); } } + /** * <code>repeated .Duplication duplication = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder> - getDuplicationOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder> + getDuplicationOrBuilderList() { if (duplicationBuilder_ != null) { return duplicationBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(duplication_); } } + /** * <code>repeated .Duplication duplication = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Duplication.Builder addDuplicationBuilder() { return getDuplicationFieldBuilder().addBuilder( - org.sonar.batch.protocol.output.BatchReport.Duplication.getDefaultInstance()); + org.sonar.batch.protocol.output.BatchReport.Duplication.getDefaultInstance()); } + /** * <code>repeated .Duplication duplication = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Duplication.Builder addDuplicationBuilder( - int index) { + int index) { return getDuplicationFieldBuilder().addBuilder( - index, org.sonar.batch.protocol.output.BatchReport.Duplication.getDefaultInstance()); + index, org.sonar.batch.protocol.output.BatchReport.Duplication.getDefaultInstance()); } + /** * <code>repeated .Duplication duplication = 2;</code> */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplication.Builder> - getDuplicationBuilderList() { + public java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplication.Builder> + getDuplicationBuilderList() { return getDuplicationFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Duplication, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder, org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder> - getDuplicationFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.Duplication, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder, org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder> + getDuplicationFieldBuilder() { if (duplicationBuilder_ == null) { duplicationBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Duplication, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder, org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder>( - duplication_, - ((bitField0_ & 0x00000002) == 0x00000002), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.Duplication, org.sonar.batch.protocol.output.BatchReport.Duplication.Builder, org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder>( + duplication_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); duplication_ = null; } return duplicationBuilder_; @@ -17305,8 +18760,8 @@ public final class BatchReport { } public interface RangeOrBuilder extends - // @@protoc_insertion_point(interface_extends:Range) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Range) + com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 start_line = 1;</code> @@ -17316,6 +18771,7 @@ public final class BatchReport { * </pre> */ boolean hasStartLine(); + /** * <code>optional int32 start_line = 1;</code> * @@ -17333,6 +18789,7 @@ public final class BatchReport { * </pre> */ boolean hasEndLine(); + /** * <code>optional int32 end_line = 2;</code> * @@ -17350,6 +18807,7 @@ public final class BatchReport { * </pre> */ boolean hasStartOffset(); + /** * <code>optional int32 start_offset = 3;</code> * @@ -17367,6 +18825,7 @@ public final class BatchReport { * </pre> */ boolean hasEndOffset(); + /** * <code>optional int32 end_offset = 4;</code> * @@ -17384,17 +18843,21 @@ public final class BatchReport { * </pre> */ public static final class Range extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Range) - RangeOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Range) + RangeOrBuilder { // Use Range.newBuilder() to construct. private Range(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Range(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Range(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Range defaultInstance; + public static Range getDefaultInstance() { return defaultInstance; } @@ -17404,19 +18867,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Range( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -17427,7 +18892,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -17458,33 +18923,34 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Range_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Range_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Range.class, org.sonar.batch.protocol.output.BatchReport.Range.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Range.class, org.sonar.batch.protocol.output.BatchReport.Range.Builder.class); } public static com.google.protobuf.Parser<Range> PARSER = - new com.google.protobuf.AbstractParser<Range>() { - public Range parsePartialFrom( + new com.google.protobuf.AbstractParser<Range>() { + public Range parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Range(input, extensionRegistry); - } - }; + return new Range(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Range> getParserForType() { @@ -17494,6 +18960,7 @@ public final class BatchReport { private int bitField0_; public static final int START_LINE_FIELD_NUMBER = 1; private int startLine_; + /** * <code>optional int32 start_line = 1;</code> * @@ -17504,6 +18971,7 @@ public final class BatchReport { public boolean hasStartLine() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 start_line = 1;</code> * @@ -17517,6 +18985,7 @@ public final class BatchReport { public static final int END_LINE_FIELD_NUMBER = 2; private int endLine_; + /** * <code>optional int32 end_line = 2;</code> * @@ -17527,6 +18996,7 @@ public final class BatchReport { public boolean hasEndLine() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional int32 end_line = 2;</code> * @@ -17540,6 +19010,7 @@ public final class BatchReport { public static final int START_OFFSET_FIELD_NUMBER = 3; private int startOffset_; + /** * <code>optional int32 start_offset = 3;</code> * @@ -17550,6 +19021,7 @@ public final class BatchReport { public boolean hasStartOffset() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional int32 start_offset = 3;</code> * @@ -17563,6 +19035,7 @@ public final class BatchReport { public static final int END_OFFSET_FIELD_NUMBER = 4; private int endOffset_; + /** * <code>optional int32 end_offset = 4;</code> * @@ -17573,6 +19046,7 @@ public final class BatchReport { public boolean hasEndOffset() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional int32 end_offset = 4;</code> * @@ -17590,18 +19064,22 @@ public final class BatchReport { 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; + 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 { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, startLine_); @@ -17619,9 +19097,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -17646,78 +19126,98 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Range parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Range parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Range parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Range parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Range parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Range parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Range parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Range parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Range parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Range parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Range prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code Range} * @@ -17726,19 +19226,19 @@ public final class BatchReport { * </pre> */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:Range) - org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Range) + org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Range_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Range_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Range.class, org.sonar.batch.protocol.output.BatchReport.Range.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Range.class, org.sonar.batch.protocol.output.BatchReport.Range.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Range.newBuilder() @@ -17747,14 +19247,16 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + 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(); } @@ -17777,7 +19279,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Range_descriptor; } @@ -17820,7 +19322,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Range) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Range)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Range) other); } else { super.mergeFrom(other); return this; @@ -17828,7 +19330,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Range other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()) + return this; if (other.hasStartLine()) { setStartLine(other.getStartLine()); } @@ -17850,9 +19353,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Range parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -17866,9 +19369,11 @@ public final class BatchReport { } return this; } + private int bitField0_; - private int startLine_ ; + private int startLine_; + /** * <code>optional int32 start_line = 1;</code> * @@ -17879,6 +19384,7 @@ public final class BatchReport { public boolean hasStartLine() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 start_line = 1;</code> * @@ -17889,6 +19395,7 @@ public final class BatchReport { public int getStartLine() { return startLine_; } + /** * <code>optional int32 start_line = 1;</code> * @@ -17902,6 +19409,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 start_line = 1;</code> * @@ -17916,7 +19424,8 @@ public final class BatchReport { return this; } - private int endLine_ ; + private int endLine_; + /** * <code>optional int32 end_line = 2;</code> * @@ -17927,6 +19436,7 @@ public final class BatchReport { public boolean hasEndLine() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional int32 end_line = 2;</code> * @@ -17937,6 +19447,7 @@ public final class BatchReport { public int getEndLine() { return endLine_; } + /** * <code>optional int32 end_line = 2;</code> * @@ -17950,6 +19461,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 end_line = 2;</code> * @@ -17964,7 +19476,8 @@ public final class BatchReport { return this; } - private int startOffset_ ; + private int startOffset_; + /** * <code>optional int32 start_offset = 3;</code> * @@ -17975,6 +19488,7 @@ public final class BatchReport { public boolean hasStartOffset() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional int32 start_offset = 3;</code> * @@ -17985,6 +19499,7 @@ public final class BatchReport { public int getStartOffset() { return startOffset_; } + /** * <code>optional int32 start_offset = 3;</code> * @@ -17998,6 +19513,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 start_offset = 3;</code> * @@ -18012,7 +19528,8 @@ public final class BatchReport { return this; } - private int endOffset_ ; + private int endOffset_; + /** * <code>optional int32 end_offset = 4;</code> * @@ -18023,6 +19540,7 @@ public final class BatchReport { public boolean hasEndOffset() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional int32 end_offset = 4;</code> * @@ -18033,6 +19551,7 @@ public final class BatchReport { public int getEndOffset() { return endOffset_; } + /** * <code>optional int32 end_offset = 4;</code> * @@ -18046,6 +19565,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 end_offset = 4;</code> * @@ -18072,13 +19592,14 @@ public final class BatchReport { } public interface SymbolsOrBuilder extends - // @@protoc_insertion_point(interface_extends:Symbols) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Symbols) + com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 file_ref = 1;</code> */ boolean hasFileRef(); + /** * <code>optional int32 file_ref = 1;</code> */ @@ -18087,42 +19608,50 @@ public final class BatchReport { /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ - java.util.List<org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol> - getSymbolList(); + java.util.List<org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol> + getSymbolList(); + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol getSymbol(int index); + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ int getSymbolCount(); + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ - java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder> - getSymbolOrBuilderList(); + java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder> + getSymbolOrBuilderList(); + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder getSymbolOrBuilder( - int index); + int index); } /** * Protobuf type {@code Symbols} */ public static final class Symbols extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Symbols) - SymbolsOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Symbols) + SymbolsOrBuilder { // Use Symbols.newBuilder() to construct. private Symbols(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Symbols(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Symbols(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Symbols defaultInstance; + public static Symbols getDefaultInstance() { return defaultInstance; } @@ -18132,19 +19661,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Symbols( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -18155,7 +19686,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -18179,7 +19710,7 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { symbol_ = java.util.Collections.unmodifiableList(symbol_); @@ -18188,27 +19719,28 @@ public final class BatchReport { makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Symbols.class, org.sonar.batch.protocol.output.BatchReport.Symbols.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Symbols.class, org.sonar.batch.protocol.output.BatchReport.Symbols.Builder.class); } public static com.google.protobuf.Parser<Symbols> PARSER = - new com.google.protobuf.AbstractParser<Symbols>() { - public Symbols parsePartialFrom( + new com.google.protobuf.AbstractParser<Symbols>() { + public Symbols parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Symbols(input, extensionRegistry); - } - }; + return new Symbols(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Symbols> getParserForType() { @@ -18216,17 +19748,19 @@ public final class BatchReport { } public interface SymbolOrBuilder extends - // @@protoc_insertion_point(interface_extends:Symbols.Symbol) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Symbols.Symbol) + com.google.protobuf.MessageOrBuilder { /** * <code>optional .Range declaration = 1;</code> */ boolean hasDeclaration(); + /** * <code>optional .Range declaration = 1;</code> */ org.sonar.batch.protocol.output.BatchReport.Range getDeclaration(); + /** * <code>optional .Range declaration = 1;</code> */ @@ -18235,42 +19769,50 @@ public final class BatchReport { /** * <code>repeated .Range reference = 2;</code> */ - java.util.List<org.sonar.batch.protocol.output.BatchReport.Range> - getReferenceList(); + java.util.List<org.sonar.batch.protocol.output.BatchReport.Range> + getReferenceList(); + /** * <code>repeated .Range reference = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.Range getReference(int index); + /** * <code>repeated .Range reference = 2;</code> */ int getReferenceCount(); + /** * <code>repeated .Range reference = 2;</code> */ - java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> - getReferenceOrBuilderList(); + java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> + getReferenceOrBuilderList(); + /** * <code>repeated .Range reference = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder getReferenceOrBuilder( - int index); + int index); } /** * Protobuf type {@code Symbols.Symbol} */ public static final class Symbol extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Symbols.Symbol) - SymbolOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Symbols.Symbol) + SymbolOrBuilder { // Use Symbol.newBuilder() to construct. private Symbol(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Symbol(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Symbol(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Symbol defaultInstance; + public static Symbol getDefaultInstance() { return defaultInstance; } @@ -18280,19 +19822,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Symbol( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -18303,7 +19847,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -18335,7 +19879,7 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { reference_ = java.util.Collections.unmodifiableList(reference_); @@ -18344,27 +19888,28 @@ public final class BatchReport { makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_Symbol_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_Symbol_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.class, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.class, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder.class); } public static com.google.protobuf.Parser<Symbol> PARSER = - new com.google.protobuf.AbstractParser<Symbol>() { - public Symbol parsePartialFrom( + new com.google.protobuf.AbstractParser<Symbol>() { + public Symbol parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Symbol(input, extensionRegistry); - } - }; + return new Symbol(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Symbol> getParserForType() { @@ -18374,18 +19919,21 @@ public final class BatchReport { private int bitField0_; public static final int DECLARATION_FIELD_NUMBER = 1; private org.sonar.batch.protocol.output.BatchReport.Range declaration_; + /** * <code>optional .Range declaration = 1;</code> */ public boolean hasDeclaration() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional .Range declaration = 1;</code> */ public org.sonar.batch.protocol.output.BatchReport.Range getDeclaration() { return declaration_; } + /** * <code>optional .Range declaration = 1;</code> */ @@ -18395,36 +19943,41 @@ public final class BatchReport { public static final int REFERENCE_FIELD_NUMBER = 2; private java.util.List<org.sonar.batch.protocol.output.BatchReport.Range> reference_; + /** * <code>repeated .Range reference = 2;</code> */ public java.util.List<org.sonar.batch.protocol.output.BatchReport.Range> getReferenceList() { return reference_; } + /** * <code>repeated .Range reference = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> - getReferenceOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> + getReferenceOrBuilderList() { return reference_; } + /** * <code>repeated .Range reference = 2;</code> */ public int getReferenceCount() { return reference_.size(); } + /** * <code>repeated .Range reference = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Range getReference(int index) { return reference_.get(index); } + /** * <code>repeated .Range reference = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder getReferenceOrBuilder( - int index) { + int index) { return reference_.get(index); } @@ -18432,18 +19985,22 @@ public final class BatchReport { declaration_ = org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance(); reference_ = 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; + 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 { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, declaration_); @@ -18455,9 +20012,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -18474,95 +20033,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code Symbols.Symbol} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:Symbols.Symbol) - org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Symbols.Symbol) + org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_Symbol_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_Symbol_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.class, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.class, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.newBuilder() @@ -18571,16 +20150,18 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getDeclarationFieldBuilder(); getReferenceFieldBuilder(); } } + private static Builder create() { return new Builder(); } @@ -18607,7 +20188,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_Symbol_descriptor; } @@ -18651,7 +20232,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol) other); } else { super.mergeFrom(other); return this; @@ -18659,7 +20240,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.getDefaultInstance()) + return this; if (other.hasDeclaration()) { mergeDeclaration(other.getDeclaration()); } @@ -18681,9 +20263,9 @@ public final class BatchReport { referenceBuilder_ = null; reference_ = other.reference_; bitField0_ = (bitField0_ & ~0x00000002); - referenceBuilder_ = + referenceBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getReferenceFieldBuilder() : null; + getReferenceFieldBuilder() : null; } else { referenceBuilder_.addAllMessages(other.reference_); } @@ -18698,9 +20280,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -18714,17 +20296,19 @@ public final class BatchReport { } return this; } + private int bitField0_; private org.sonar.batch.protocol.output.BatchReport.Range declaration_ = org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> declarationBuilder_; + private com.google.protobuf.SingleFieldBuilder<org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> declarationBuilder_; + /** * <code>optional .Range declaration = 1;</code> */ public boolean hasDeclaration() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional .Range declaration = 1;</code> */ @@ -18735,6 +20319,7 @@ public final class BatchReport { return declarationBuilder_.getMessage(); } } + /** * <code>optional .Range declaration = 1;</code> */ @@ -18751,11 +20336,12 @@ public final class BatchReport { bitField0_ |= 0x00000001; return this; } + /** * <code>optional .Range declaration = 1;</code> */ public Builder setDeclaration( - org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { if (declarationBuilder_ == null) { declaration_ = builderForValue.build(); onChanged(); @@ -18765,13 +20351,14 @@ public final class BatchReport { bitField0_ |= 0x00000001; return this; } + /** * <code>optional .Range declaration = 1;</code> */ public Builder mergeDeclaration(org.sonar.batch.protocol.output.BatchReport.Range value) { if (declarationBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && - declaration_ != org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()) { + declaration_ != org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()) { declaration_ = org.sonar.batch.protocol.output.BatchReport.Range.newBuilder(declaration_).mergeFrom(value).buildPartial(); } else { @@ -18784,6 +20371,7 @@ public final class BatchReport { bitField0_ |= 0x00000001; return this; } + /** * <code>optional .Range declaration = 1;</code> */ @@ -18797,6 +20385,7 @@ public final class BatchReport { bitField0_ = (bitField0_ & ~0x00000001); return this; } + /** * <code>optional .Range declaration = 1;</code> */ @@ -18805,6 +20394,7 @@ public final class BatchReport { onChanged(); return getDeclarationFieldBuilder().getBuilder(); } + /** * <code>optional .Range declaration = 1;</code> */ @@ -18815,18 +20405,19 @@ public final class BatchReport { return declaration_; } } + /** * <code>optional .Range declaration = 1;</code> */ private com.google.protobuf.SingleFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> - getDeclarationFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> + getDeclarationFieldBuilder() { if (declarationBuilder_ == null) { declarationBuilder_ = new com.google.protobuf.SingleFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>( - getDeclaration(), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>( + getDeclaration(), + getParentForChildren(), + isClean()); declaration_ = null; } return declarationBuilder_; @@ -18834,15 +20425,15 @@ public final class BatchReport { private java.util.List<org.sonar.batch.protocol.output.BatchReport.Range> reference_ = java.util.Collections.emptyList(); + private void ensureReferenceIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { reference_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.Range>(reference_); bitField0_ |= 0x00000002; - } + } } - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> referenceBuilder_; + private com.google.protobuf.RepeatedFieldBuilder<org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> referenceBuilder_; /** * <code>repeated .Range reference = 2;</code> @@ -18854,6 +20445,7 @@ public final class BatchReport { return referenceBuilder_.getMessageList(); } } + /** * <code>repeated .Range reference = 2;</code> */ @@ -18864,6 +20456,7 @@ public final class BatchReport { return referenceBuilder_.getCount(); } } + /** * <code>repeated .Range reference = 2;</code> */ @@ -18874,11 +20467,12 @@ public final class BatchReport { return referenceBuilder_.getMessage(index); } } + /** * <code>repeated .Range reference = 2;</code> */ public Builder setReference( - int index, org.sonar.batch.protocol.output.BatchReport.Range value) { + int index, org.sonar.batch.protocol.output.BatchReport.Range value) { if (referenceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18891,11 +20485,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Range reference = 2;</code> */ public Builder setReference( - int index, org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { if (referenceBuilder_ == null) { ensureReferenceIsMutable(); reference_.set(index, builderForValue.build()); @@ -18905,6 +20500,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Range reference = 2;</code> */ @@ -18921,11 +20517,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Range reference = 2;</code> */ public Builder addReference( - int index, org.sonar.batch.protocol.output.BatchReport.Range value) { + int index, org.sonar.batch.protocol.output.BatchReport.Range value) { if (referenceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18938,11 +20535,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Range reference = 2;</code> */ public Builder addReference( - org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { if (referenceBuilder_ == null) { ensureReferenceIsMutable(); reference_.add(builderForValue.build()); @@ -18952,11 +20550,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Range reference = 2;</code> */ public Builder addReference( - int index, org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { if (referenceBuilder_ == null) { ensureReferenceIsMutable(); reference_.add(index, builderForValue.build()); @@ -18966,21 +20565,23 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Range reference = 2;</code> */ public Builder addAllReference( - java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Range> values) { + java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Range> values) { if (referenceBuilder_ == null) { ensureReferenceIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, reference_); + values, reference_); onChanged(); } else { referenceBuilder_.addAllMessages(values); } return this; } + /** * <code>repeated .Range reference = 2;</code> */ @@ -18994,6 +20595,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Range reference = 2;</code> */ @@ -19007,66 +20609,74 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Range reference = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Range.Builder getReferenceBuilder( - int index) { + int index) { return getReferenceFieldBuilder().getBuilder(index); } + /** * <code>repeated .Range reference = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder getReferenceOrBuilder( - int index) { + int index) { if (referenceBuilder_ == null) { - return reference_.get(index); } else { + return reference_.get(index); + } else { return referenceBuilder_.getMessageOrBuilder(index); } } + /** * <code>repeated .Range reference = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> - getReferenceOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> + getReferenceOrBuilderList() { if (referenceBuilder_ != null) { return referenceBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(reference_); } } + /** * <code>repeated .Range reference = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Range.Builder addReferenceBuilder() { return getReferenceFieldBuilder().addBuilder( - org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()); + org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()); } + /** * <code>repeated .Range reference = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Range.Builder addReferenceBuilder( - int index) { + int index) { return getReferenceFieldBuilder().addBuilder( - index, org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()); + index, org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()); } + /** * <code>repeated .Range reference = 2;</code> */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.Range.Builder> - getReferenceBuilderList() { + public java.util.List<org.sonar.batch.protocol.output.BatchReport.Range.Builder> + getReferenceBuilderList() { return getReferenceFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> - getReferenceFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> + getReferenceFieldBuilder() { if (referenceBuilder_ == null) { referenceBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>( - reference_, - ((bitField0_ & 0x00000002) == 0x00000002), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>( + reference_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); reference_ = null; } return referenceBuilder_; @@ -19086,12 +20696,14 @@ public final class BatchReport { private int bitField0_; public static final int FILE_REF_FIELD_NUMBER = 1; private int fileRef_; + /** * <code>optional int32 file_ref = 1;</code> */ public boolean hasFileRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 file_ref = 1;</code> */ @@ -19101,36 +20713,41 @@ public final class BatchReport { public static final int SYMBOL_FIELD_NUMBER = 2; private java.util.List<org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol> symbol_; + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public java.util.List<org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol> getSymbolList() { return symbol_; } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder> - getSymbolOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder> + getSymbolOrBuilderList() { return symbol_; } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public int getSymbolCount() { return symbol_.size(); } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol getSymbol(int index) { return symbol_.get(index); } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder getSymbolOrBuilder( - int index) { + int index) { return symbol_.get(index); } @@ -19138,18 +20755,22 @@ public final class BatchReport { fileRef_ = 0; symbol_ = 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; + 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 { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, fileRef_); @@ -19161,9 +20782,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -19180,95 +20803,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Symbols parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Symbols parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Symbols prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code Symbols} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:Symbols) - org.sonar.batch.protocol.output.BatchReport.SymbolsOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Symbols) + org.sonar.batch.protocol.output.BatchReport.SymbolsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Symbols.class, org.sonar.batch.protocol.output.BatchReport.Symbols.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Symbols.class, org.sonar.batch.protocol.output.BatchReport.Symbols.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Symbols.newBuilder() @@ -19277,15 +20920,17 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getSymbolFieldBuilder(); } } + private static Builder create() { return new Builder(); } @@ -19308,7 +20953,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_descriptor; } @@ -19348,7 +20993,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Symbols) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Symbols)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Symbols) other); } else { super.mergeFrom(other); return this; @@ -19356,7 +21001,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Symbols other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Symbols.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Symbols.getDefaultInstance()) + return this; if (other.hasFileRef()) { setFileRef(other.getFileRef()); } @@ -19378,9 +21024,9 @@ public final class BatchReport { symbolBuilder_ = null; symbol_ = other.symbol_; bitField0_ = (bitField0_ & ~0x00000002); - symbolBuilder_ = + symbolBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getSymbolFieldBuilder() : null; + getSymbolFieldBuilder() : null; } else { symbolBuilder_.addAllMessages(other.symbol_); } @@ -19395,9 +21041,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Symbols parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -19411,21 +21057,25 @@ public final class BatchReport { } return this; } + private int bitField0_; - private int fileRef_ ; + private int fileRef_; + /** * <code>optional int32 file_ref = 1;</code> */ public boolean hasFileRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 file_ref = 1;</code> */ public int getFileRef() { return fileRef_; } + /** * <code>optional int32 file_ref = 1;</code> */ @@ -19435,6 +21085,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 file_ref = 1;</code> */ @@ -19447,15 +21098,15 @@ public final class BatchReport { private java.util.List<org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol> symbol_ = java.util.Collections.emptyList(); + private void ensureSymbolIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { symbol_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol>(symbol_); bitField0_ |= 0x00000002; - } + } } - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder, org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder> symbolBuilder_; + private com.google.protobuf.RepeatedFieldBuilder<org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder, org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder> symbolBuilder_; /** * <code>repeated .Symbols.Symbol symbol = 2;</code> @@ -19467,6 +21118,7 @@ public final class BatchReport { return symbolBuilder_.getMessageList(); } } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ @@ -19477,6 +21129,7 @@ public final class BatchReport { return symbolBuilder_.getCount(); } } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ @@ -19487,11 +21140,12 @@ public final class BatchReport { return symbolBuilder_.getMessage(index); } } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public Builder setSymbol( - int index, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol value) { + int index, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol value) { if (symbolBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19504,11 +21158,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public Builder setSymbol( - int index, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder builderForValue) { if (symbolBuilder_ == null) { ensureSymbolIsMutable(); symbol_.set(index, builderForValue.build()); @@ -19518,6 +21173,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ @@ -19534,11 +21190,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public Builder addSymbol( - int index, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol value) { + int index, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol value) { if (symbolBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19551,11 +21208,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public Builder addSymbol( - org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder builderForValue) { if (symbolBuilder_ == null) { ensureSymbolIsMutable(); symbol_.add(builderForValue.build()); @@ -19565,11 +21223,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public Builder addSymbol( - int index, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder builderForValue) { if (symbolBuilder_ == null) { ensureSymbolIsMutable(); symbol_.add(index, builderForValue.build()); @@ -19579,21 +21238,23 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public Builder addAllSymbol( - java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol> values) { + java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol> values) { if (symbolBuilder_ == null) { ensureSymbolIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, symbol_); + values, symbol_); onChanged(); } else { symbolBuilder_.addAllMessages(values); } return this; } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ @@ -19607,6 +21268,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ @@ -19620,66 +21282,74 @@ public final class BatchReport { } return this; } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder getSymbolBuilder( - int index) { + int index) { return getSymbolFieldBuilder().getBuilder(index); } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder getSymbolOrBuilder( - int index) { + int index) { if (symbolBuilder_ == null) { - return symbol_.get(index); } else { + return symbol_.get(index); + } else { return symbolBuilder_.getMessageOrBuilder(index); } } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder> - getSymbolOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder> + getSymbolOrBuilderList() { if (symbolBuilder_ != null) { return symbolBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(symbol_); } } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder addSymbolBuilder() { return getSymbolFieldBuilder().addBuilder( - org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.getDefaultInstance()); + org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.getDefaultInstance()); } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder addSymbolBuilder( - int index) { + int index) { return getSymbolFieldBuilder().addBuilder( - index, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.getDefaultInstance()); + index, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.getDefaultInstance()); } + /** * <code>repeated .Symbols.Symbol symbol = 2;</code> */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder> - getSymbolBuilderList() { + public java.util.List<org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder> + getSymbolBuilderList() { return getSymbolFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder, org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder> - getSymbolFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder, org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder> + getSymbolFieldBuilder() { if (symbolBuilder_ == null) { symbolBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder, org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder>( - symbol_, - ((bitField0_ & 0x00000002) == 0x00000002), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol, org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol.Builder, org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder>( + symbol_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); symbol_ = null; } return symbolBuilder_; @@ -19697,13 +21367,14 @@ public final class BatchReport { } public interface CoverageOrBuilder extends - // @@protoc_insertion_point(interface_extends:Coverage) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Coverage) + com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 line = 1;</code> */ boolean hasLine(); + /** * <code>optional int32 line = 1;</code> */ @@ -19717,6 +21388,7 @@ public final class BatchReport { * </pre> */ boolean hasConditions(); + /** * <code>optional int32 conditions = 2;</code> * @@ -19734,6 +21406,7 @@ public final class BatchReport { * </pre> */ boolean hasUtHits(); + /** * <code>optional bool ut_hits = 3;</code> * @@ -19751,6 +21424,7 @@ public final class BatchReport { * </pre> */ boolean hasItHits(); + /** * <code>optional bool it_hits = 4;</code> * @@ -19768,6 +21442,7 @@ public final class BatchReport { * </pre> */ boolean hasUtCoveredConditions(); + /** * <code>optional int32 ut_covered_conditions = 5;</code> * @@ -19785,6 +21460,7 @@ public final class BatchReport { * </pre> */ boolean hasItCoveredConditions(); + /** * <code>optional int32 it_covered_conditions = 6;</code> * @@ -19802,6 +21478,7 @@ public final class BatchReport { * </pre> */ boolean hasOverallCoveredConditions(); + /** * <code>optional int32 overall_covered_conditions = 7;</code> * @@ -19820,17 +21497,21 @@ public final class BatchReport { * </pre> */ public static final class Coverage extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Coverage) - CoverageOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Coverage) + CoverageOrBuilder { // Use Coverage.newBuilder() to construct. private Coverage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Coverage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Coverage(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Coverage defaultInstance; + public static Coverage getDefaultInstance() { return defaultInstance; } @@ -19840,19 +21521,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Coverage( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -19863,7 +21546,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -19909,33 +21592,34 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Coverage_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Coverage_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Coverage.class, org.sonar.batch.protocol.output.BatchReport.Coverage.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Coverage.class, org.sonar.batch.protocol.output.BatchReport.Coverage.Builder.class); } public static com.google.protobuf.Parser<Coverage> PARSER = - new com.google.protobuf.AbstractParser<Coverage>() { - public Coverage parsePartialFrom( + new com.google.protobuf.AbstractParser<Coverage>() { + public Coverage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Coverage(input, extensionRegistry); - } - }; + return new Coverage(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Coverage> getParserForType() { @@ -19945,12 +21629,14 @@ public final class BatchReport { private int bitField0_; public static final int LINE_FIELD_NUMBER = 1; private int line_; + /** * <code>optional int32 line = 1;</code> */ public boolean hasLine() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 line = 1;</code> */ @@ -19960,6 +21646,7 @@ public final class BatchReport { public static final int CONDITIONS_FIELD_NUMBER = 2; private int conditions_; + /** * <code>optional int32 conditions = 2;</code> * @@ -19970,6 +21657,7 @@ public final class BatchReport { public boolean hasConditions() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional int32 conditions = 2;</code> * @@ -19983,6 +21671,7 @@ public final class BatchReport { public static final int UT_HITS_FIELD_NUMBER = 3; private boolean utHits_; + /** * <code>optional bool ut_hits = 3;</code> * @@ -19993,6 +21682,7 @@ public final class BatchReport { public boolean hasUtHits() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional bool ut_hits = 3;</code> * @@ -20006,6 +21696,7 @@ public final class BatchReport { public static final int IT_HITS_FIELD_NUMBER = 4; private boolean itHits_; + /** * <code>optional bool it_hits = 4;</code> * @@ -20016,6 +21707,7 @@ public final class BatchReport { public boolean hasItHits() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional bool it_hits = 4;</code> * @@ -20029,6 +21721,7 @@ public final class BatchReport { public static final int UT_COVERED_CONDITIONS_FIELD_NUMBER = 5; private int utCoveredConditions_; + /** * <code>optional int32 ut_covered_conditions = 5;</code> * @@ -20039,6 +21732,7 @@ public final class BatchReport { public boolean hasUtCoveredConditions() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional int32 ut_covered_conditions = 5;</code> * @@ -20052,6 +21746,7 @@ public final class BatchReport { public static final int IT_COVERED_CONDITIONS_FIELD_NUMBER = 6; private int itCoveredConditions_; + /** * <code>optional int32 it_covered_conditions = 6;</code> * @@ -20062,6 +21757,7 @@ public final class BatchReport { public boolean hasItCoveredConditions() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** * <code>optional int32 it_covered_conditions = 6;</code> * @@ -20075,6 +21771,7 @@ public final class BatchReport { public static final int OVERALL_COVERED_CONDITIONS_FIELD_NUMBER = 7; private int overallCoveredConditions_; + /** * <code>optional int32 overall_covered_conditions = 7;</code> * @@ -20085,6 +21782,7 @@ public final class BatchReport { public boolean hasOverallCoveredConditions() { return ((bitField0_ & 0x00000040) == 0x00000040); } + /** * <code>optional int32 overall_covered_conditions = 7;</code> * @@ -20105,18 +21803,22 @@ public final class BatchReport { itCoveredConditions_ = 0; overallCoveredConditions_ = 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 true; + if (isInitialized == 0) + return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, line_); @@ -20143,9 +21845,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -20182,78 +21886,98 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Coverage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Coverage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Coverage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Coverage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Coverage parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Coverage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Coverage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Coverage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Coverage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Coverage parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Coverage prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code Coverage} * @@ -20263,19 +21987,19 @@ public final class BatchReport { * </pre> */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:Coverage) - org.sonar.batch.protocol.output.BatchReport.CoverageOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Coverage) + org.sonar.batch.protocol.output.BatchReport.CoverageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Coverage_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Coverage_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Coverage.class, org.sonar.batch.protocol.output.BatchReport.Coverage.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Coverage.class, org.sonar.batch.protocol.output.BatchReport.Coverage.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Coverage.newBuilder() @@ -20284,14 +22008,16 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + 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(); } @@ -20320,7 +22046,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Coverage_descriptor; } @@ -20375,7 +22101,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Coverage) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Coverage)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Coverage) other); } else { super.mergeFrom(other); return this; @@ -20383,7 +22109,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Coverage other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Coverage.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Coverage.getDefaultInstance()) + return this; if (other.hasLine()) { setLine(other.getLine()); } @@ -20414,9 +22141,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Coverage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -20430,21 +22157,25 @@ public final class BatchReport { } return this; } + private int bitField0_; - private int line_ ; + private int line_; + /** * <code>optional int32 line = 1;</code> */ public boolean hasLine() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 line = 1;</code> */ public int getLine() { return line_; } + /** * <code>optional int32 line = 1;</code> */ @@ -20454,6 +22185,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 line = 1;</code> */ @@ -20464,7 +22196,8 @@ public final class BatchReport { return this; } - private int conditions_ ; + private int conditions_; + /** * <code>optional int32 conditions = 2;</code> * @@ -20475,6 +22208,7 @@ public final class BatchReport { public boolean hasConditions() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional int32 conditions = 2;</code> * @@ -20485,6 +22219,7 @@ public final class BatchReport { public int getConditions() { return conditions_; } + /** * <code>optional int32 conditions = 2;</code> * @@ -20498,6 +22233,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 conditions = 2;</code> * @@ -20512,7 +22248,8 @@ public final class BatchReport { return this; } - private boolean utHits_ ; + private boolean utHits_; + /** * <code>optional bool ut_hits = 3;</code> * @@ -20523,6 +22260,7 @@ public final class BatchReport { public boolean hasUtHits() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional bool ut_hits = 3;</code> * @@ -20533,6 +22271,7 @@ public final class BatchReport { public boolean getUtHits() { return utHits_; } + /** * <code>optional bool ut_hits = 3;</code> * @@ -20546,6 +22285,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional bool ut_hits = 3;</code> * @@ -20560,7 +22300,8 @@ public final class BatchReport { return this; } - private boolean itHits_ ; + private boolean itHits_; + /** * <code>optional bool it_hits = 4;</code> * @@ -20571,6 +22312,7 @@ public final class BatchReport { public boolean hasItHits() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional bool it_hits = 4;</code> * @@ -20581,6 +22323,7 @@ public final class BatchReport { public boolean getItHits() { return itHits_; } + /** * <code>optional bool it_hits = 4;</code> * @@ -20594,6 +22337,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional bool it_hits = 4;</code> * @@ -20608,7 +22352,8 @@ public final class BatchReport { return this; } - private int utCoveredConditions_ ; + private int utCoveredConditions_; + /** * <code>optional int32 ut_covered_conditions = 5;</code> * @@ -20619,6 +22364,7 @@ public final class BatchReport { public boolean hasUtCoveredConditions() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional int32 ut_covered_conditions = 5;</code> * @@ -20629,6 +22375,7 @@ public final class BatchReport { public int getUtCoveredConditions() { return utCoveredConditions_; } + /** * <code>optional int32 ut_covered_conditions = 5;</code> * @@ -20642,6 +22389,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 ut_covered_conditions = 5;</code> * @@ -20656,7 +22404,8 @@ public final class BatchReport { return this; } - private int itCoveredConditions_ ; + private int itCoveredConditions_; + /** * <code>optional int32 it_covered_conditions = 6;</code> * @@ -20667,6 +22416,7 @@ public final class BatchReport { public boolean hasItCoveredConditions() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** * <code>optional int32 it_covered_conditions = 6;</code> * @@ -20677,6 +22427,7 @@ public final class BatchReport { public int getItCoveredConditions() { return itCoveredConditions_; } + /** * <code>optional int32 it_covered_conditions = 6;</code> * @@ -20690,6 +22441,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 it_covered_conditions = 6;</code> * @@ -20704,7 +22456,8 @@ public final class BatchReport { return this; } - private int overallCoveredConditions_ ; + private int overallCoveredConditions_; + /** * <code>optional int32 overall_covered_conditions = 7;</code> * @@ -20715,6 +22468,7 @@ public final class BatchReport { public boolean hasOverallCoveredConditions() { return ((bitField0_ & 0x00000040) == 0x00000040); } + /** * <code>optional int32 overall_covered_conditions = 7;</code> * @@ -20725,6 +22479,7 @@ public final class BatchReport { public int getOverallCoveredConditions() { return overallCoveredConditions_; } + /** * <code>optional int32 overall_covered_conditions = 7;</code> * @@ -20738,6 +22493,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 overall_covered_conditions = 7;</code> * @@ -20764,17 +22520,19 @@ public final class BatchReport { } public interface SyntaxHighlightingOrBuilder extends - // @@protoc_insertion_point(interface_extends:SyntaxHighlighting) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:SyntaxHighlighting) + com.google.protobuf.MessageOrBuilder { /** * <code>optional .Range range = 1;</code> */ boolean hasRange(); + /** * <code>optional .Range range = 1;</code> */ org.sonar.batch.protocol.output.BatchReport.Range getRange(); + /** * <code>optional .Range range = 1;</code> */ @@ -20784,6 +22542,7 @@ public final class BatchReport { * <code>optional .HighlightingType type = 2;</code> */ boolean hasType(); + /** * <code>optional .HighlightingType type = 2;</code> */ @@ -20798,17 +22557,21 @@ public final class BatchReport { * </pre> */ public static final class SyntaxHighlighting extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:SyntaxHighlighting) - SyntaxHighlightingOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:SyntaxHighlighting) + SyntaxHighlightingOrBuilder { // Use SyntaxHighlighting.newBuilder() to construct. private SyntaxHighlighting(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private SyntaxHighlighting(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private SyntaxHighlighting(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final SyntaxHighlighting defaultInstance; + public static SyntaxHighlighting getDefaultInstance() { return defaultInstance; } @@ -20818,19 +22581,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private SyntaxHighlighting( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -20841,7 +22606,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -20876,33 +22641,34 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_SyntaxHighlighting_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_SyntaxHighlighting_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting.class, org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting.class, org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting.Builder.class); } public static com.google.protobuf.Parser<SyntaxHighlighting> PARSER = - new com.google.protobuf.AbstractParser<SyntaxHighlighting>() { - public SyntaxHighlighting parsePartialFrom( + new com.google.protobuf.AbstractParser<SyntaxHighlighting>() { + public SyntaxHighlighting parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SyntaxHighlighting(input, extensionRegistry); - } - }; + return new SyntaxHighlighting(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<SyntaxHighlighting> getParserForType() { @@ -20912,18 +22678,21 @@ public final class BatchReport { private int bitField0_; public static final int RANGE_FIELD_NUMBER = 1; private org.sonar.batch.protocol.output.BatchReport.Range range_; + /** * <code>optional .Range range = 1;</code> */ public boolean hasRange() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional .Range range = 1;</code> */ public org.sonar.batch.protocol.output.BatchReport.Range getRange() { return range_; } + /** * <code>optional .Range range = 1;</code> */ @@ -20933,12 +22702,14 @@ public final class BatchReport { public static final int TYPE_FIELD_NUMBER = 2; private org.sonar.batch.protocol.Constants.HighlightingType type_; + /** * <code>optional .HighlightingType type = 2;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional .HighlightingType type = 2;</code> */ @@ -20950,18 +22721,22 @@ public final class BatchReport { range_ = org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance(); type_ = org.sonar.batch.protocol.Constants.HighlightingType.ANNOTATION; } + 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 true; + if (isInitialized == 0) + return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, range_); @@ -20973,9 +22748,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -20992,78 +22769,98 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code SyntaxHighlighting} * @@ -21073,19 +22870,19 @@ public final class BatchReport { * </pre> */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:SyntaxHighlighting) - org.sonar.batch.protocol.output.BatchReport.SyntaxHighlightingOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:SyntaxHighlighting) + org.sonar.batch.protocol.output.BatchReport.SyntaxHighlightingOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_SyntaxHighlighting_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_SyntaxHighlighting_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting.class, org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting.class, org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting.newBuilder() @@ -21094,15 +22891,17 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRangeFieldBuilder(); } } + private static Builder create() { return new Builder(); } @@ -21125,7 +22924,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_SyntaxHighlighting_descriptor; } @@ -21164,7 +22963,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting) other); } else { super.mergeFrom(other); return this; @@ -21172,7 +22971,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting other) { - if (other == org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting.getDefaultInstance()) + return this; if (other.hasRange()) { mergeRange(other.getRange()); } @@ -21188,9 +22988,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.SyntaxHighlighting parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -21204,17 +23004,19 @@ public final class BatchReport { } return this; } + private int bitField0_; private org.sonar.batch.protocol.output.BatchReport.Range range_ = org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> rangeBuilder_; + private com.google.protobuf.SingleFieldBuilder<org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> rangeBuilder_; + /** * <code>optional .Range range = 1;</code> */ public boolean hasRange() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional .Range range = 1;</code> */ @@ -21225,6 +23027,7 @@ public final class BatchReport { return rangeBuilder_.getMessage(); } } + /** * <code>optional .Range range = 1;</code> */ @@ -21241,11 +23044,12 @@ public final class BatchReport { bitField0_ |= 0x00000001; return this; } + /** * <code>optional .Range range = 1;</code> */ public Builder setRange( - org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.Range.Builder builderForValue) { if (rangeBuilder_ == null) { range_ = builderForValue.build(); onChanged(); @@ -21255,13 +23059,14 @@ public final class BatchReport { bitField0_ |= 0x00000001; return this; } + /** * <code>optional .Range range = 1;</code> */ public Builder mergeRange(org.sonar.batch.protocol.output.BatchReport.Range value) { if (rangeBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && - range_ != org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()) { + range_ != org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance()) { range_ = org.sonar.batch.protocol.output.BatchReport.Range.newBuilder(range_).mergeFrom(value).buildPartial(); } else { @@ -21274,6 +23079,7 @@ public final class BatchReport { bitField0_ |= 0x00000001; return this; } + /** * <code>optional .Range range = 1;</code> */ @@ -21287,6 +23093,7 @@ public final class BatchReport { bitField0_ = (bitField0_ & ~0x00000001); return this; } + /** * <code>optional .Range range = 1;</code> */ @@ -21295,6 +23102,7 @@ public final class BatchReport { onChanged(); return getRangeFieldBuilder().getBuilder(); } + /** * <code>optional .Range range = 1;</code> */ @@ -21305,36 +23113,40 @@ public final class BatchReport { return range_; } } + /** * <code>optional .Range range = 1;</code> */ private com.google.protobuf.SingleFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> - getRangeFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> + getRangeFieldBuilder() { if (rangeBuilder_ == null) { rangeBuilder_ = new com.google.protobuf.SingleFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>( - getRange(), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>( + getRange(), + getParentForChildren(), + isClean()); range_ = null; } return rangeBuilder_; } private org.sonar.batch.protocol.Constants.HighlightingType type_ = org.sonar.batch.protocol.Constants.HighlightingType.ANNOTATION; + /** * <code>optional .HighlightingType type = 2;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional .HighlightingType type = 2;</code> */ public org.sonar.batch.protocol.Constants.HighlightingType getType() { return type_; } + /** * <code>optional .HighlightingType type = 2;</code> */ @@ -21347,6 +23159,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional .HighlightingType type = 2;</code> */ @@ -21369,27 +23182,30 @@ public final class BatchReport { } public interface TestOrBuilder extends - // @@protoc_insertion_point(interface_extends:Test) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:Test) + com.google.protobuf.MessageOrBuilder { /** * <code>optional string name = 1;</code> */ boolean hasName(); + /** * <code>optional string name = 1;</code> */ java.lang.String getName(); + /** * <code>optional string name = 1;</code> */ com.google.protobuf.ByteString - getNameBytes(); + getNameBytes(); /** * <code>optional .TestStatus status = 2;</code> */ boolean hasStatus(); + /** * <code>optional .TestStatus status = 2;</code> */ @@ -21399,6 +23215,7 @@ public final class BatchReport { * <code>optional int64 duration_in_ms = 3;</code> */ boolean hasDurationInMs(); + /** * <code>optional int64 duration_in_ms = 3;</code> */ @@ -21408,45 +23225,53 @@ public final class BatchReport { * <code>optional string stacktrace = 4;</code> */ boolean hasStacktrace(); + /** * <code>optional string stacktrace = 4;</code> */ java.lang.String getStacktrace(); + /** * <code>optional string stacktrace = 4;</code> */ com.google.protobuf.ByteString - getStacktraceBytes(); + getStacktraceBytes(); /** * <code>optional string msg = 5;</code> */ boolean hasMsg(); + /** * <code>optional string msg = 5;</code> */ java.lang.String getMsg(); + /** * <code>optional string msg = 5;</code> */ com.google.protobuf.ByteString - getMsgBytes(); + getMsgBytes(); } /** * Protobuf type {@code Test} */ public static final class Test extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Test) - TestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Test) + TestOrBuilder { // Use Test.newBuilder() to construct. private Test(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private Test(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private Test(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final Test defaultInstance; + public static Test getDefaultInstance() { return defaultInstance; } @@ -21456,19 +23281,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private Test( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -21479,7 +23306,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -21524,33 +23351,34 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Test_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Test_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Test.class, org.sonar.batch.protocol.output.BatchReport.Test.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Test.class, org.sonar.batch.protocol.output.BatchReport.Test.Builder.class); } public static com.google.protobuf.Parser<Test> PARSER = - new com.google.protobuf.AbstractParser<Test>() { - public Test parsePartialFrom( + new com.google.protobuf.AbstractParser<Test>() { + public Test parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Test(input, extensionRegistry); - } - }; + return new Test(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<Test> getParserForType() { @@ -21560,12 +23388,14 @@ public final class BatchReport { private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; + /** * <code>optional string name = 1;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional string name = 1;</code> */ @@ -21574,8 +23404,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; @@ -21583,16 +23413,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string name = 1;</code> */ public com.google.protobuf.ByteString - getNameBytes() { + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -21602,12 +23433,14 @@ public final class BatchReport { public static final int STATUS_FIELD_NUMBER = 2; private org.sonar.batch.protocol.Constants.TestStatus status_; + /** * <code>optional .TestStatus status = 2;</code> */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional .TestStatus status = 2;</code> */ @@ -21617,12 +23450,14 @@ public final class BatchReport { public static final int DURATION_IN_MS_FIELD_NUMBER = 3; private long durationInMs_; + /** * <code>optional int64 duration_in_ms = 3;</code> */ public boolean hasDurationInMs() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional int64 duration_in_ms = 3;</code> */ @@ -21632,12 +23467,14 @@ public final class BatchReport { public static final int STACKTRACE_FIELD_NUMBER = 4; private java.lang.Object stacktrace_; + /** * <code>optional string stacktrace = 4;</code> */ public boolean hasStacktrace() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional string stacktrace = 4;</code> */ @@ -21646,8 +23483,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stacktrace_ = s; @@ -21655,16 +23492,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string stacktrace = 4;</code> */ public com.google.protobuf.ByteString - getStacktraceBytes() { + getStacktraceBytes() { java.lang.Object ref = stacktrace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stacktrace_ = b; return b; } else { @@ -21674,12 +23512,14 @@ public final class BatchReport { public static final int MSG_FIELD_NUMBER = 5; private java.lang.Object msg_; + /** * <code>optional string msg = 5;</code> */ public boolean hasMsg() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional string msg = 5;</code> */ @@ -21688,8 +23528,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { msg_ = s; @@ -21697,16 +23537,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string msg = 5;</code> */ public com.google.protobuf.ByteString - getMsgBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); msg_ = b; return b; } else { @@ -21721,18 +23562,22 @@ public final class BatchReport { stacktrace_ = ""; msg_ = ""; } + 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 true; + if (isInitialized == 0) + return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); @@ -21753,9 +23598,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -21784,95 +23631,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.Test parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Test parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Test parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.Test parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Test parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Test parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Test parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Test parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.Test parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.Test parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.Test prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code Test} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:Test) - org.sonar.batch.protocol.output.BatchReport.TestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Test) + org.sonar.batch.protocol.output.BatchReport.TestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Test_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Test_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.Test.class, org.sonar.batch.protocol.output.BatchReport.Test.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.Test.class, org.sonar.batch.protocol.output.BatchReport.Test.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.Test.newBuilder() @@ -21881,14 +23748,16 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + 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(); } @@ -21913,7 +23782,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_Test_descriptor; } @@ -21960,7 +23829,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.Test) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Test)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.Test) other); } else { super.mergeFrom(other); return this; @@ -21968,7 +23837,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.Test other) { - if (other == org.sonar.batch.protocol.output.BatchReport.Test.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.Test.getDefaultInstance()) + return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; @@ -21999,9 +23869,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.Test parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -22015,15 +23885,18 @@ public final class BatchReport { } return this; } + private int bitField0_; private java.lang.Object name_ = ""; + /** * <code>optional string name = 1;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional string name = 1;</code> */ @@ -22031,7 +23904,7 @@ public final class BatchReport { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; @@ -22041,35 +23914,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string name = 1;</code> */ public com.google.protobuf.ByteString - getNameBytes() { + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string name = 1;</code> */ public Builder setName( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } + /** * <code>optional string name = 1;</code> */ @@ -22079,33 +23955,37 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string name = 1;</code> */ public Builder setNameBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private org.sonar.batch.protocol.Constants.TestStatus status_ = org.sonar.batch.protocol.Constants.TestStatus.OK; + /** * <code>optional .TestStatus status = 2;</code> */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** * <code>optional .TestStatus status = 2;</code> */ public org.sonar.batch.protocol.Constants.TestStatus getStatus() { return status_; } + /** * <code>optional .TestStatus status = 2;</code> */ @@ -22118,6 +23998,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional .TestStatus status = 2;</code> */ @@ -22128,19 +24009,22 @@ public final class BatchReport { return this; } - private long durationInMs_ ; + private long durationInMs_; + /** * <code>optional int64 duration_in_ms = 3;</code> */ public boolean hasDurationInMs() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** * <code>optional int64 duration_in_ms = 3;</code> */ public long getDurationInMs() { return durationInMs_; } + /** * <code>optional int64 duration_in_ms = 3;</code> */ @@ -22150,6 +24034,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int64 duration_in_ms = 3;</code> */ @@ -22161,12 +24046,14 @@ public final class BatchReport { } private java.lang.Object stacktrace_ = ""; + /** * <code>optional string stacktrace = 4;</code> */ public boolean hasStacktrace() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** * <code>optional string stacktrace = 4;</code> */ @@ -22174,7 +24061,7 @@ public final class BatchReport { java.lang.Object ref = stacktrace_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stacktrace_ = s; @@ -22184,35 +24071,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string stacktrace = 4;</code> */ public com.google.protobuf.ByteString - getStacktraceBytes() { + getStacktraceBytes() { java.lang.Object ref = stacktrace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stacktrace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string stacktrace = 4;</code> */ public Builder setStacktrace( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; stacktrace_ = value; onChanged(); return this; } + /** * <code>optional string stacktrace = 4;</code> */ @@ -22222,27 +24112,30 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string stacktrace = 4;</code> */ public Builder setStacktraceBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; stacktrace_ = value; onChanged(); return this; } private java.lang.Object msg_ = ""; + /** * <code>optional string msg = 5;</code> */ public boolean hasMsg() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** * <code>optional string msg = 5;</code> */ @@ -22250,7 +24143,7 @@ public final class BatchReport { java.lang.Object ref = msg_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { msg_ = s; @@ -22260,35 +24153,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string msg = 5;</code> */ public com.google.protobuf.ByteString - getMsgBytes() { + getMsgBytes() { java.lang.Object ref = msg_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + 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; } } + /** * <code>optional string msg = 5;</code> */ public Builder setMsg( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; msg_ = value; onChanged(); return this; } + /** * <code>optional string msg = 5;</code> */ @@ -22298,15 +24194,16 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string msg = 5;</code> */ public Builder setMsgBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; msg_ = value; onChanged(); return this; @@ -22324,62 +24221,72 @@ public final class BatchReport { } public interface CoverageDetailOrBuilder extends - // @@protoc_insertion_point(interface_extends:CoverageDetail) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:CoverageDetail) + com.google.protobuf.MessageOrBuilder { /** * <code>optional string test_name = 1;</code> */ boolean hasTestName(); + /** * <code>optional string test_name = 1;</code> */ java.lang.String getTestName(); + /** * <code>optional string test_name = 1;</code> */ com.google.protobuf.ByteString - getTestNameBytes(); + getTestNameBytes(); /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ - java.util.List<org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile> - getCoveredFileList(); + java.util.List<org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile> + getCoveredFileList(); + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile getCoveredFile(int index); + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ int getCoveredFileCount(); + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ - java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder> - getCoveredFileOrBuilderList(); + java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder> + getCoveredFileOrBuilderList(); + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder getCoveredFileOrBuilder( - int index); + int index); } /** * Protobuf type {@code CoverageDetail} */ public static final class CoverageDetail extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:CoverageDetail) - CoverageDetailOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:CoverageDetail) + CoverageDetailOrBuilder { // Use CoverageDetail.newBuilder() to construct. private CoverageDetail(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private CoverageDetail(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private CoverageDetail(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final CoverageDetail defaultInstance; + public static CoverageDetail getDefaultInstance() { return defaultInstance; } @@ -22389,19 +24296,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private CoverageDetail( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -22412,7 +24321,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -22437,7 +24346,7 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { coveredFile_ = java.util.Collections.unmodifiableList(coveredFile_); @@ -22446,27 +24355,28 @@ public final class BatchReport { makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.CoverageDetail.class, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.CoverageDetail.class, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.Builder.class); } public static com.google.protobuf.Parser<CoverageDetail> PARSER = - new com.google.protobuf.AbstractParser<CoverageDetail>() { - public CoverageDetail parsePartialFrom( + new com.google.protobuf.AbstractParser<CoverageDetail>() { + public CoverageDetail parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CoverageDetail(input, extensionRegistry); - } - }; + return new CoverageDetail(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<CoverageDetail> getParserForType() { @@ -22474,13 +24384,14 @@ public final class BatchReport { } public interface CoveredFileOrBuilder extends - // @@protoc_insertion_point(interface_extends:CoverageDetail.CoveredFile) - com.google.protobuf.MessageOrBuilder { + // @@protoc_insertion_point(interface_extends:CoverageDetail.CoveredFile) + com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 file_ref = 1;</code> */ boolean hasFileRef(); + /** * <code>optional int32 file_ref = 1;</code> */ @@ -22490,10 +24401,12 @@ public final class BatchReport { * <code>repeated int32 covered_line = 2 [packed = true];</code> */ java.util.List<java.lang.Integer> getCoveredLineList(); + /** * <code>repeated int32 covered_line = 2 [packed = true];</code> */ int getCoveredLineCount(); + /** * <code>repeated int32 covered_line = 2 [packed = true];</code> */ @@ -22503,17 +24416,21 @@ public final class BatchReport { * Protobuf type {@code CoverageDetail.CoveredFile} */ public static final class CoveredFile extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:CoverageDetail.CoveredFile) - CoveredFileOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:CoverageDetail.CoveredFile) + CoveredFileOrBuilder { // Use CoveredFile.newBuilder() to construct. private CoveredFile(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } - private CoveredFile(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private CoveredFile(boolean noInit) { + this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } private static final CoveredFile defaultInstance; + public static CoveredFile getDefaultInstance() { return defaultInstance; } @@ -22523,19 +24440,21 @@ public final class BatchReport { } private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } + private CoveredFile( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + 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(); + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -22546,7 +24465,7 @@ public final class BatchReport { break; default: { if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { + extensionRegistry, tag)) { done = true; } break; @@ -22583,7 +24502,7 @@ public final class BatchReport { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { coveredLine_ = java.util.Collections.unmodifiableList(coveredLine_); @@ -22592,27 +24511,28 @@ public final class BatchReport { makeExtensionsImmutable(); } } + public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_CoveredFile_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_CoveredFile_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.class, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.class, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder.class); } public static com.google.protobuf.Parser<CoveredFile> PARSER = - new com.google.protobuf.AbstractParser<CoveredFile>() { - public CoveredFile parsePartialFrom( + new com.google.protobuf.AbstractParser<CoveredFile>() { + public CoveredFile parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CoveredFile(input, extensionRegistry); - } - }; + return new CoveredFile(input, extensionRegistry); + } + }; @java.lang.Override public com.google.protobuf.Parser<CoveredFile> getParserForType() { @@ -22622,12 +24542,14 @@ public final class BatchReport { private int bitField0_; public static final int FILE_REF_FIELD_NUMBER = 1; private int fileRef_; + /** * <code>optional int32 file_ref = 1;</code> */ public boolean hasFileRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 file_ref = 1;</code> */ @@ -22637,43 +24559,51 @@ public final class BatchReport { public static final int COVERED_LINE_FIELD_NUMBER = 2; private java.util.List<java.lang.Integer> coveredLine_; + /** * <code>repeated int32 covered_line = 2 [packed = true];</code> */ public java.util.List<java.lang.Integer> - getCoveredLineList() { + getCoveredLineList() { return coveredLine_; } + /** * <code>repeated int32 covered_line = 2 [packed = true];</code> */ public int getCoveredLineCount() { return coveredLine_.size(); } + /** * <code>repeated int32 covered_line = 2 [packed = true];</code> */ public int getCoveredLine(int index) { return coveredLine_.get(index); } + private int coveredLineMemoizedSerializedSize = -1; private void initFields() { fileRef_ = 0; coveredLine_ = 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; + 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 { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, fileRef_); @@ -22689,9 +24619,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -22708,7 +24640,7 @@ public final class BatchReport { if (!getCoveredLineList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + .computeInt32SizeNoTag(dataSize); } coveredLineMemoizedSerializedSize = dataSize; } @@ -22718,95 +24650,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code CoverageDetail.CoveredFile} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:CoverageDetail.CoveredFile) - org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:CoverageDetail.CoveredFile) + org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_CoveredFile_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_CoveredFile_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.class, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.class, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.newBuilder() @@ -22815,14 +24767,16 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + 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(); } @@ -22841,7 +24795,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_CoveredFile_descriptor; } @@ -22877,7 +24831,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile) other); } else { super.mergeFrom(other); return this; @@ -22885,7 +24839,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile other) { - if (other == org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.getDefaultInstance()) + return this; if (other.hasFileRef()) { setFileRef(other.getFileRef()); } @@ -22908,9 +24863,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -22924,21 +24879,25 @@ public final class BatchReport { } return this; } + private int bitField0_; - private int fileRef_ ; + private int fileRef_; + /** * <code>optional int32 file_ref = 1;</code> */ public boolean hasFileRef() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional int32 file_ref = 1;</code> */ public int getFileRef() { return fileRef_; } + /** * <code>optional int32 file_ref = 1;</code> */ @@ -22948,6 +24907,7 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional int32 file_ref = 1;</code> */ @@ -22959,41 +24919,47 @@ public final class BatchReport { } private java.util.List<java.lang.Integer> coveredLine_ = java.util.Collections.emptyList(); + private void ensureCoveredLineIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { coveredLine_ = new java.util.ArrayList<java.lang.Integer>(coveredLine_); bitField0_ |= 0x00000002; - } + } } + /** * <code>repeated int32 covered_line = 2 [packed = true];</code> */ public java.util.List<java.lang.Integer> - getCoveredLineList() { + getCoveredLineList() { return java.util.Collections.unmodifiableList(coveredLine_); } + /** * <code>repeated int32 covered_line = 2 [packed = true];</code> */ public int getCoveredLineCount() { return coveredLine_.size(); } + /** * <code>repeated int32 covered_line = 2 [packed = true];</code> */ public int getCoveredLine(int index) { return coveredLine_.get(index); } + /** * <code>repeated int32 covered_line = 2 [packed = true];</code> */ public Builder setCoveredLine( - int index, int value) { + int index, int value) { ensureCoveredLineIsMutable(); coveredLine_.set(index, value); onChanged(); return this; } + /** * <code>repeated int32 covered_line = 2 [packed = true];</code> */ @@ -23003,17 +24969,19 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>repeated int32 covered_line = 2 [packed = true];</code> */ public Builder addAllCoveredLine( - java.lang.Iterable<? extends java.lang.Integer> values) { + java.lang.Iterable<? extends java.lang.Integer> values) { ensureCoveredLineIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, coveredLine_); + values, coveredLine_); onChanged(); return this; } + /** * <code>repeated int32 covered_line = 2 [packed = true];</code> */ @@ -23038,12 +25006,14 @@ public final class BatchReport { private int bitField0_; public static final int TEST_NAME_FIELD_NUMBER = 1; private java.lang.Object testName_; + /** * <code>optional string test_name = 1;</code> */ public boolean hasTestName() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional string test_name = 1;</code> */ @@ -23052,8 +25022,8 @@ public final class BatchReport { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { testName_ = s; @@ -23061,16 +25031,17 @@ public final class BatchReport { return s; } } + /** * <code>optional string test_name = 1;</code> */ public com.google.protobuf.ByteString - getTestNameBytes() { + getTestNameBytes() { java.lang.Object ref = testName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); testName_ = b; return b; } else { @@ -23080,36 +25051,41 @@ public final class BatchReport { public static final int COVERED_FILE_FIELD_NUMBER = 2; private java.util.List<org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile> coveredFile_; + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public java.util.List<org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile> getCoveredFileList() { return coveredFile_; } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder> - getCoveredFileOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder> + getCoveredFileOrBuilderList() { return coveredFile_; } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public int getCoveredFileCount() { return coveredFile_.size(); } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile getCoveredFile(int index) { return coveredFile_.get(index); } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder getCoveredFileOrBuilder( - int index) { + int index) { return coveredFile_.get(index); } @@ -23117,18 +25093,22 @@ public final class BatchReport { testName_ = ""; coveredFile_ = 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; + 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 { + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getTestNameBytes()); @@ -23140,9 +25120,11 @@ public final class BatchReport { } private int memoizedSerializedSize = -1; + public int getSerializedSize() { int size = memoizedSerializedSize; - if (size != -1) return size; + if (size != -1) + return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -23159,95 +25141,115 @@ public final class BatchReport { } private static final long serialVersionUID = 0L; + @java.lang.Override protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { + throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail parseFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { + throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { return PARSER.parseFrom(input); } + public static org.sonar.batch.protocol.output.BatchReport.CoverageDetail parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + 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() { + return Builder.create(); + } + + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder(org.sonar.batch.protocol.output.BatchReport.CoverageDetail prototype) { return newBuilder().mergeFrom(prototype); } - public Builder toBuilder() { return newBuilder(this); } + + public Builder toBuilder() { + return newBuilder(this); + } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } + /** * Protobuf type {@code CoverageDetail} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:CoverageDetail) - org.sonar.batch.protocol.output.BatchReport.CoverageDetailOrBuilder { + com.google.protobuf.GeneratedMessage.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:CoverageDetail) + org.sonar.batch.protocol.output.BatchReport.CoverageDetailOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + getDescriptor() { return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { + internalGetFieldAccessorTable() { return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.CoverageDetail.class, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.Builder.class); + .ensureFieldAccessorsInitialized( + org.sonar.batch.protocol.output.BatchReport.CoverageDetail.class, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.Builder.class); } // Construct using org.sonar.batch.protocol.output.BatchReport.CoverageDetail.newBuilder() @@ -23256,15 +25258,17 @@ public final class BatchReport { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCoveredFileFieldBuilder(); } } + private static Builder create() { return new Builder(); } @@ -23287,7 +25291,7 @@ public final class BatchReport { } public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + getDescriptorForType() { return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_descriptor; } @@ -23327,7 +25331,7 @@ public final class BatchReport { public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonar.batch.protocol.output.BatchReport.CoverageDetail) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.CoverageDetail)other); + return mergeFrom((org.sonar.batch.protocol.output.BatchReport.CoverageDetail) other); } else { super.mergeFrom(other); return this; @@ -23335,7 +25339,8 @@ public final class BatchReport { } public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.CoverageDetail other) { - if (other == org.sonar.batch.protocol.output.BatchReport.CoverageDetail.getDefaultInstance()) return this; + if (other == org.sonar.batch.protocol.output.BatchReport.CoverageDetail.getDefaultInstance()) + return this; if (other.hasTestName()) { bitField0_ |= 0x00000001; testName_ = other.testName_; @@ -23359,9 +25364,9 @@ public final class BatchReport { coveredFileBuilder_ = null; coveredFile_ = other.coveredFile_; bitField0_ = (bitField0_ & ~0x00000002); - coveredFileBuilder_ = + coveredFileBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getCoveredFileFieldBuilder() : null; + getCoveredFileFieldBuilder() : null; } else { coveredFileBuilder_.addAllMessages(other.coveredFile_); } @@ -23376,9 +25381,9 @@ public final class BatchReport { } public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { org.sonar.batch.protocol.output.BatchReport.CoverageDetail parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); @@ -23392,15 +25397,18 @@ public final class BatchReport { } return this; } + private int bitField0_; private java.lang.Object testName_ = ""; + /** * <code>optional string test_name = 1;</code> */ public boolean hasTestName() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * <code>optional string test_name = 1;</code> */ @@ -23408,7 +25416,7 @@ public final class BatchReport { java.lang.Object ref = testName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { testName_ = s; @@ -23418,35 +25426,38 @@ public final class BatchReport { return (java.lang.String) ref; } } + /** * <code>optional string test_name = 1;</code> */ public com.google.protobuf.ByteString - getTestNameBytes() { + getTestNameBytes() { java.lang.Object ref = testName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); testName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } + /** * <code>optional string test_name = 1;</code> */ public Builder setTestName( - java.lang.String value) { + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; testName_ = value; onChanged(); return this; } + /** * <code>optional string test_name = 1;</code> */ @@ -23456,15 +25467,16 @@ public final class BatchReport { onChanged(); return this; } + /** * <code>optional string test_name = 1;</code> */ public Builder setTestNameBytes( - com.google.protobuf.ByteString value) { + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; testName_ = value; onChanged(); return this; @@ -23472,15 +25484,15 @@ public final class BatchReport { private java.util.List<org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile> coveredFile_ = java.util.Collections.emptyList(); + private void ensureCoveredFileIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { coveredFile_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile>(coveredFile_); bitField0_ |= 0x00000002; - } + } } - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder> coveredFileBuilder_; + private com.google.protobuf.RepeatedFieldBuilder<org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder> coveredFileBuilder_; /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> @@ -23492,6 +25504,7 @@ public final class BatchReport { return coveredFileBuilder_.getMessageList(); } } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ @@ -23502,6 +25515,7 @@ public final class BatchReport { return coveredFileBuilder_.getCount(); } } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ @@ -23512,11 +25526,12 @@ public final class BatchReport { return coveredFileBuilder_.getMessage(index); } } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public Builder setCoveredFile( - int index, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile value) { + int index, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile value) { if (coveredFileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -23529,11 +25544,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public Builder setCoveredFile( - int index, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder builderForValue) { if (coveredFileBuilder_ == null) { ensureCoveredFileIsMutable(); coveredFile_.set(index, builderForValue.build()); @@ -23543,6 +25559,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ @@ -23559,11 +25576,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public Builder addCoveredFile( - int index, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile value) { + int index, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile value) { if (coveredFileBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -23576,11 +25594,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public Builder addCoveredFile( - org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder builderForValue) { + org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder builderForValue) { if (coveredFileBuilder_ == null) { ensureCoveredFileIsMutable(); coveredFile_.add(builderForValue.build()); @@ -23590,11 +25609,12 @@ public final class BatchReport { } return this; } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public Builder addCoveredFile( - int index, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder builderForValue) { + int index, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder builderForValue) { if (coveredFileBuilder_ == null) { ensureCoveredFileIsMutable(); coveredFile_.add(index, builderForValue.build()); @@ -23604,21 +25624,23 @@ public final class BatchReport { } return this; } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public Builder addAllCoveredFile( - java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile> values) { + java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile> values) { if (coveredFileBuilder_ == null) { ensureCoveredFileIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, coveredFile_); + values, coveredFile_); onChanged(); } else { coveredFileBuilder_.addAllMessages(values); } return this; } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ @@ -23632,6 +25654,7 @@ public final class BatchReport { } return this; } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ @@ -23645,66 +25668,74 @@ public final class BatchReport { } return this; } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder getCoveredFileBuilder( - int index) { + int index) { return getCoveredFileFieldBuilder().getBuilder(index); } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder getCoveredFileOrBuilder( - int index) { + int index) { if (coveredFileBuilder_ == null) { - return coveredFile_.get(index); } else { + return coveredFile_.get(index); + } else { return coveredFileBuilder_.getMessageOrBuilder(index); } } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder> - getCoveredFileOrBuilderList() { + public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder> + getCoveredFileOrBuilderList() { if (coveredFileBuilder_ != null) { return coveredFileBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(coveredFile_); } } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder addCoveredFileBuilder() { return getCoveredFileFieldBuilder().addBuilder( - org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.getDefaultInstance()); + org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.getDefaultInstance()); } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ public org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder addCoveredFileBuilder( - int index) { + int index) { return getCoveredFileFieldBuilder().addBuilder( - index, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.getDefaultInstance()); + index, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.getDefaultInstance()); } + /** * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code> */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder> - getCoveredFileBuilderList() { + public java.util.List<org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder> + getCoveredFileBuilderList() { return getCoveredFileFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder> - getCoveredFileFieldBuilder() { + org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder> + getCoveredFileFieldBuilder() { if (coveredFileBuilder_ == null) { coveredFileBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder>( - coveredFile_, - ((bitField0_ & 0x00000002) == 0x00000002), - getParentForChildren(), - isClean()); + org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder>( + coveredFile_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); coveredFile_ = null; } return coveredFileBuilder_; @@ -23721,2676 +25752,277 @@ public final class BatchReport { // @@protoc_insertion_point(class_scope:CoverageDetail) } - public interface FileDependencyOrBuilder extends - // @@protoc_insertion_point(interface_extends:FileDependency) - com.google.protobuf.MessageOrBuilder { - - /** - * <code>optional int32 to_file_ref = 1;</code> - */ - boolean hasToFileRef(); - /** - * <code>optional int32 to_file_ref = 1;</code> - */ - int getToFileRef(); - - /** - * <code>optional int32 weight = 2;</code> - */ - boolean hasWeight(); - /** - * <code>optional int32 weight = 2;</code> - */ - int getWeight(); - } - /** - * Protobuf type {@code FileDependency} - */ - public static final class FileDependency extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:FileDependency) - FileDependencyOrBuilder { - // Use FileDependency.newBuilder() to construct. - private FileDependency(com.google.protobuf.GeneratedMessage.Builder<?> builder) { - super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private FileDependency(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final FileDependency defaultInstance; - public static FileDependency getDefaultInstance() { - return defaultInstance; - } - - public FileDependency getDefaultInstanceForType() { - return defaultInstance; - } - - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private FileDependency( - 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; - toFileRef_ = input.readInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - weight_ = 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.sonar.batch.protocol.output.BatchReport.internal_static_FileDependency_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_FileDependency_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.FileDependency.class, org.sonar.batch.protocol.output.BatchReport.FileDependency.Builder.class); - } - - public static com.google.protobuf.Parser<FileDependency> PARSER = - new com.google.protobuf.AbstractParser<FileDependency>() { - public FileDependency parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FileDependency(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<FileDependency> getParserForType() { - return PARSER; - } - - private int bitField0_; - public static final int TO_FILE_REF_FIELD_NUMBER = 1; - private int toFileRef_; - /** - * <code>optional int32 to_file_ref = 1;</code> - */ - public boolean hasToFileRef() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * <code>optional int32 to_file_ref = 1;</code> - */ - public int getToFileRef() { - return toFileRef_; - } - - public static final int WEIGHT_FIELD_NUMBER = 2; - private int weight_; - /** - * <code>optional int32 weight = 2;</code> - */ - public boolean hasWeight() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * <code>optional int32 weight = 2;</code> - */ - public int getWeight() { - return weight_; - } - - private void initFields() { - toFileRef_ = 0; - weight_ = 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, toFileRef_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeInt32(2, weight_); - } - 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, toFileRef_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, weight_); - } - 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.sonar.batch.protocol.output.BatchReport.FileDependency parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.sonar.batch.protocol.output.BatchReport.FileDependency parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.sonar.batch.protocol.output.BatchReport.FileDependency parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.sonar.batch.protocol.output.BatchReport.FileDependency parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.sonar.batch.protocol.output.BatchReport.FileDependency parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.sonar.batch.protocol.output.BatchReport.FileDependency parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static org.sonar.batch.protocol.output.BatchReport.FileDependency parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static org.sonar.batch.protocol.output.BatchReport.FileDependency parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static org.sonar.batch.protocol.output.BatchReport.FileDependency parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.sonar.batch.protocol.output.BatchReport.FileDependency 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.sonar.batch.protocol.output.BatchReport.FileDependency 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 FileDependency} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:FileDependency) - org.sonar.batch.protocol.output.BatchReport.FileDependencyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_FileDependency_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_FileDependency_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.FileDependency.class, org.sonar.batch.protocol.output.BatchReport.FileDependency.Builder.class); - } - - // Construct using org.sonar.batch.protocol.output.BatchReport.FileDependency.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(); - toFileRef_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - weight_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_FileDependency_descriptor; - } - - public org.sonar.batch.protocol.output.BatchReport.FileDependency getDefaultInstanceForType() { - return org.sonar.batch.protocol.output.BatchReport.FileDependency.getDefaultInstance(); - } - - public org.sonar.batch.protocol.output.BatchReport.FileDependency build() { - org.sonar.batch.protocol.output.BatchReport.FileDependency result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public org.sonar.batch.protocol.output.BatchReport.FileDependency buildPartial() { - org.sonar.batch.protocol.output.BatchReport.FileDependency result = new org.sonar.batch.protocol.output.BatchReport.FileDependency(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.toFileRef_ = toFileRef_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.weight_ = weight_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.sonar.batch.protocol.output.BatchReport.FileDependency) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.FileDependency)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.FileDependency other) { - if (other == org.sonar.batch.protocol.output.BatchReport.FileDependency.getDefaultInstance()) return this; - if (other.hasToFileRef()) { - setToFileRef(other.getToFileRef()); - } - if (other.hasWeight()) { - setWeight(other.getWeight()); - } - 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.sonar.batch.protocol.output.BatchReport.FileDependency parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.sonar.batch.protocol.output.BatchReport.FileDependency) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private int toFileRef_ ; - /** - * <code>optional int32 to_file_ref = 1;</code> - */ - public boolean hasToFileRef() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * <code>optional int32 to_file_ref = 1;</code> - */ - public int getToFileRef() { - return toFileRef_; - } - /** - * <code>optional int32 to_file_ref = 1;</code> - */ - public Builder setToFileRef(int value) { - bitField0_ |= 0x00000001; - toFileRef_ = value; - onChanged(); - return this; - } - /** - * <code>optional int32 to_file_ref = 1;</code> - */ - public Builder clearToFileRef() { - bitField0_ = (bitField0_ & ~0x00000001); - toFileRef_ = 0; - onChanged(); - return this; - } - - private int weight_ ; - /** - * <code>optional int32 weight = 2;</code> - */ - public boolean hasWeight() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * <code>optional int32 weight = 2;</code> - */ - public int getWeight() { - return weight_; - } - /** - * <code>optional int32 weight = 2;</code> - */ - public Builder setWeight(int value) { - bitField0_ |= 0x00000002; - weight_ = value; - onChanged(); - return this; - } - /** - * <code>optional int32 weight = 2;</code> - */ - public Builder clearWeight() { - bitField0_ = (bitField0_ & ~0x00000002); - weight_ = 0; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:FileDependency) - } - - static { - defaultInstance = new FileDependency(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:FileDependency) - } - - public interface ModuleDependenciesOrBuilder extends - // @@protoc_insertion_point(interface_extends:ModuleDependencies) - com.google.protobuf.MessageOrBuilder { - - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> - getDepList(); - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency getDep(int index); - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - int getDepCount(); - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder> - getDepOrBuilderList(); - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder getDepOrBuilder( - int index); - } - /** - * Protobuf type {@code ModuleDependencies} - */ - public static final class ModuleDependencies extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:ModuleDependencies) - ModuleDependenciesOrBuilder { - // Use ModuleDependencies.newBuilder() to construct. - private ModuleDependencies(com.google.protobuf.GeneratedMessage.Builder<?> builder) { - super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private ModuleDependencies(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final ModuleDependencies defaultInstance; - public static ModuleDependencies getDefaultInstance() { - return defaultInstance; - } - - public ModuleDependencies getDefaultInstanceForType() { - return defaultInstance; - } - - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ModuleDependencies( - 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)) { - dep_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency>(); - mutable_bitField0_ |= 0x00000001; - } - dep_.add(input.readMessage(org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.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)) { - dep_ = java.util.Collections.unmodifiableList(dep_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_ModuleDependencies_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_ModuleDependencies_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.class, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.Builder.class); - } - - public static com.google.protobuf.Parser<ModuleDependencies> PARSER = - new com.google.protobuf.AbstractParser<ModuleDependencies>() { - public ModuleDependencies parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ModuleDependencies(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<ModuleDependencies> getParserForType() { - return PARSER; - } - - public interface ModuleDependencyOrBuilder extends - // @@protoc_insertion_point(interface_extends:ModuleDependencies.ModuleDependency) - com.google.protobuf.MessageOrBuilder { - - /** - * <code>optional string key = 1;</code> - */ - boolean hasKey(); - /** - * <code>optional string key = 1;</code> - */ - java.lang.String getKey(); - /** - * <code>optional string key = 1;</code> - */ - com.google.protobuf.ByteString - getKeyBytes(); - - /** - * <code>optional string version = 2;</code> - */ - boolean hasVersion(); - /** - * <code>optional string version = 2;</code> - */ - java.lang.String getVersion(); - /** - * <code>optional string version = 2;</code> - */ - com.google.protobuf.ByteString - getVersionBytes(); - - /** - * <code>optional string scope = 3;</code> - */ - boolean hasScope(); - /** - * <code>optional string scope = 3;</code> - */ - java.lang.String getScope(); - /** - * <code>optional string scope = 3;</code> - */ - com.google.protobuf.ByteString - getScopeBytes(); - - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> - getChildList(); - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency getChild(int index); - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - int getChildCount(); - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder> - getChildOrBuilderList(); - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder getChildOrBuilder( - int index); - } - /** - * Protobuf type {@code ModuleDependencies.ModuleDependency} - */ - public static final class ModuleDependency extends - com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:ModuleDependencies.ModuleDependency) - ModuleDependencyOrBuilder { - // Use ModuleDependency.newBuilder() to construct. - private ModuleDependency(com.google.protobuf.GeneratedMessage.Builder<?> builder) { - super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private ModuleDependency(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final ModuleDependency defaultInstance; - public static ModuleDependency getDefaultInstance() { - return defaultInstance; - } - - public ModuleDependency getDefaultInstanceForType() { - return defaultInstance; - } - - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ModuleDependency( - 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; - key_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - version_ = bs; - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000004; - scope_ = bs; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - child_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency>(); - mutable_bitField0_ |= 0x00000008; - } - child_.add(input.readMessage(org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.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_ & 0x00000008) == 0x00000008)) { - child_ = java.util.Collections.unmodifiableList(child_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_ModuleDependencies_ModuleDependency_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_ModuleDependencies_ModuleDependency_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.class, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder.class); - } - - public static com.google.protobuf.Parser<ModuleDependency> PARSER = - new com.google.protobuf.AbstractParser<ModuleDependency>() { - public ModuleDependency parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ModuleDependency(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<ModuleDependency> getParserForType() { - return PARSER; - } - - private int bitField0_; - public static final int KEY_FIELD_NUMBER = 1; - private java.lang.Object key_; - /** - * <code>optional string key = 1;</code> - */ - public boolean hasKey() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * <code>optional string key = 1;</code> - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - 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()) { - key_ = s; - } - return s; - } - } - /** - * <code>optional string key = 1;</code> - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VERSION_FIELD_NUMBER = 2; - private java.lang.Object version_; - /** - * <code>optional string version = 2;</code> - */ - public boolean hasVersion() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * <code>optional string version = 2;</code> - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - 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()) { - version_ = s; - } - return s; - } - } - /** - * <code>optional string version = 2;</code> - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SCOPE_FIELD_NUMBER = 3; - private java.lang.Object scope_; - /** - * <code>optional string scope = 3;</code> - */ - public boolean hasScope() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * <code>optional string scope = 3;</code> - */ - public java.lang.String getScope() { - java.lang.Object ref = scope_; - 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()) { - scope_ = s; - } - return s; - } - } - /** - * <code>optional string scope = 3;</code> - */ - public com.google.protobuf.ByteString - getScopeBytes() { - java.lang.Object ref = scope_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - scope_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CHILD_FIELD_NUMBER = 4; - private java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> child_; - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> getChildList() { - return child_; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder> - getChildOrBuilderList() { - return child_; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public int getChildCount() { - return child_.size(); - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency getChild(int index) { - return child_.get(index); - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder getChildOrBuilder( - int index) { - return child_.get(index); - } - - private void initFields() { - key_ = ""; - version_ = ""; - scope_ = ""; - child_ = 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(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, getKeyBytes()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getVersionBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getScopeBytes()); - } - for (int i = 0; i < child_.size(); i++) { - output.writeMessage(4, child_.get(i)); - } - 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, getKeyBytes()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getVersionBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getScopeBytes()); - } - for (int i = 0; i < child_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, child_.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.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency 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.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency 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 ModuleDependencies.ModuleDependency} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:ModuleDependencies.ModuleDependency) - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_ModuleDependencies_ModuleDependency_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_ModuleDependencies_ModuleDependency_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.class, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder.class); - } - - // Construct using org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getChildFieldBuilder(); - } - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - key_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - version_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - scope_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - if (childBuilder_ == null) { - child_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - childBuilder_.clear(); - } - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_ModuleDependencies_ModuleDependency_descriptor; - } - - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency getDefaultInstanceForType() { - return org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.getDefaultInstance(); - } - - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency build() { - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency buildPartial() { - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency result = new org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.key_ = key_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.version_ = version_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.scope_ = scope_; - if (childBuilder_ == null) { - if (((bitField0_ & 0x00000008) == 0x00000008)) { - child_ = java.util.Collections.unmodifiableList(child_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.child_ = child_; - } else { - result.child_ = childBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency other) { - if (other == org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.getDefaultInstance()) return this; - if (other.hasKey()) { - bitField0_ |= 0x00000001; - key_ = other.key_; - onChanged(); - } - if (other.hasVersion()) { - bitField0_ |= 0x00000002; - version_ = other.version_; - onChanged(); - } - if (other.hasScope()) { - bitField0_ |= 0x00000004; - scope_ = other.scope_; - onChanged(); - } - if (childBuilder_ == null) { - if (!other.child_.isEmpty()) { - if (child_.isEmpty()) { - child_ = other.child_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureChildIsMutable(); - child_.addAll(other.child_); - } - onChanged(); - } - } else { - if (!other.child_.isEmpty()) { - if (childBuilder_.isEmpty()) { - childBuilder_.dispose(); - childBuilder_ = null; - child_ = other.child_; - bitField0_ = (bitField0_ & ~0x00000008); - childBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getChildFieldBuilder() : null; - } else { - childBuilder_.addAllMessages(other.child_); - } - } - } - 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.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object key_ = ""; - /** - * <code>optional string key = 1;</code> - */ - public boolean hasKey() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * <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; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * <code>optional string key = 1;</code> - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * <code>optional string key = 1;</code> - */ - public Builder setKey( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - key_ = value; - onChanged(); - return this; - } - /** - * <code>optional string key = 1;</code> - */ - public Builder clearKey() { - bitField0_ = (bitField0_ & ~0x00000001); - key_ = getDefaultInstance().getKey(); - onChanged(); - return this; - } - /** - * <code>optional string key = 1;</code> - */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - key_ = value; - onChanged(); - return this; - } - - private java.lang.Object version_ = ""; - /** - * <code>optional string version = 2;</code> - */ - public boolean hasVersion() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * <code>optional string version = 2;</code> - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - 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()) { - version_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * <code>optional string version = 2;</code> - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * <code>optional string version = 2;</code> - */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - version_ = value; - onChanged(); - return this; - } - /** - * <code>optional string version = 2;</code> - */ - public Builder clearVersion() { - bitField0_ = (bitField0_ & ~0x00000002); - version_ = getDefaultInstance().getVersion(); - onChanged(); - return this; - } - /** - * <code>optional string version = 2;</code> - */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - version_ = value; - onChanged(); - return this; - } - - private java.lang.Object scope_ = ""; - /** - * <code>optional string scope = 3;</code> - */ - public boolean hasScope() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * <code>optional string scope = 3;</code> - */ - public java.lang.String getScope() { - java.lang.Object ref = scope_; - 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()) { - scope_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * <code>optional string scope = 3;</code> - */ - public com.google.protobuf.ByteString - getScopeBytes() { - java.lang.Object ref = scope_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - scope_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * <code>optional string scope = 3;</code> - */ - public Builder setScope( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - scope_ = value; - onChanged(); - return this; - } - /** - * <code>optional string scope = 3;</code> - */ - public Builder clearScope() { - bitField0_ = (bitField0_ & ~0x00000004); - scope_ = getDefaultInstance().getScope(); - onChanged(); - return this; - } - /** - * <code>optional string scope = 3;</code> - */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - scope_ = value; - onChanged(); - return this; - } - - private java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> child_ = - java.util.Collections.emptyList(); - private void ensureChildIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { - child_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency>(child_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder> childBuilder_; - - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> getChildList() { - if (childBuilder_ == null) { - return java.util.Collections.unmodifiableList(child_); - } else { - return childBuilder_.getMessageList(); - } - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public int getChildCount() { - if (childBuilder_ == null) { - return child_.size(); - } else { - return childBuilder_.getCount(); - } - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency getChild(int index) { - if (childBuilder_ == null) { - return child_.get(index); - } else { - return childBuilder_.getMessage(index); - } - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public Builder setChild( - int index, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency value) { - if (childBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildIsMutable(); - child_.set(index, value); - onChanged(); - } else { - childBuilder_.setMessage(index, value); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public Builder setChild( - int index, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder builderForValue) { - if (childBuilder_ == null) { - ensureChildIsMutable(); - child_.set(index, builderForValue.build()); - onChanged(); - } else { - childBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public Builder addChild(org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency value) { - if (childBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildIsMutable(); - child_.add(value); - onChanged(); - } else { - childBuilder_.addMessage(value); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public Builder addChild( - int index, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency value) { - if (childBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildIsMutable(); - child_.add(index, value); - onChanged(); - } else { - childBuilder_.addMessage(index, value); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public Builder addChild( - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder builderForValue) { - if (childBuilder_ == null) { - ensureChildIsMutable(); - child_.add(builderForValue.build()); - onChanged(); - } else { - childBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public Builder addChild( - int index, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder builderForValue) { - if (childBuilder_ == null) { - ensureChildIsMutable(); - child_.add(index, builderForValue.build()); - onChanged(); - } else { - childBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public Builder addAllChild( - java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> values) { - if (childBuilder_ == null) { - ensureChildIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, child_); - onChanged(); - } else { - childBuilder_.addAllMessages(values); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public Builder clearChild() { - if (childBuilder_ == null) { - child_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - childBuilder_.clear(); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public Builder removeChild(int index) { - if (childBuilder_ == null) { - ensureChildIsMutable(); - child_.remove(index); - onChanged(); - } else { - childBuilder_.remove(index); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder getChildBuilder( - int index) { - return getChildFieldBuilder().getBuilder(index); - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder getChildOrBuilder( - int index) { - if (childBuilder_ == null) { - return child_.get(index); } else { - return childBuilder_.getMessageOrBuilder(index); - } - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder> - getChildOrBuilderList() { - if (childBuilder_ != null) { - return childBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(child_); - } - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder addChildBuilder() { - return getChildFieldBuilder().addBuilder( - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.getDefaultInstance()); - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder addChildBuilder( - int index) { - return getChildFieldBuilder().addBuilder( - index, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.getDefaultInstance()); - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code> - */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder> - getChildBuilderList() { - return getChildFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder> - getChildFieldBuilder() { - if (childBuilder_ == null) { - childBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder>( - child_, - ((bitField0_ & 0x00000008) == 0x00000008), - getParentForChildren(), - isClean()); - child_ = null; - } - return childBuilder_; - } - - // @@protoc_insertion_point(builder_scope:ModuleDependencies.ModuleDependency) - } - - static { - defaultInstance = new ModuleDependency(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:ModuleDependencies.ModuleDependency) - } - - public static final int DEP_FIELD_NUMBER = 1; - private java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> dep_; - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> getDepList() { - return dep_; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder> - getDepOrBuilderList() { - return dep_; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public int getDepCount() { - return dep_.size(); - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency getDep(int index) { - return dep_.get(index); - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder getDepOrBuilder( - int index) { - return dep_.get(index); - } - - private void initFields() { - dep_ = 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 < dep_.size(); i++) { - output.writeMessage(1, dep_.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 < dep_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dep_.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.sonar.batch.protocol.output.BatchReport.ModuleDependencies parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.sonar.batch.protocol.output.BatchReport.ModuleDependencies 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.sonar.batch.protocol.output.BatchReport.ModuleDependencies 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 ModuleDependencies} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> implements - // @@protoc_insertion_point(builder_implements:ModuleDependencies) - org.sonar.batch.protocol.output.BatchReport.ModuleDependenciesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_ModuleDependencies_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_ModuleDependencies_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.class, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.Builder.class); - } - - // Construct using org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getDepFieldBuilder(); - } - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - if (depBuilder_ == null) { - dep_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - depBuilder_.clear(); - } - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return org.sonar.batch.protocol.output.BatchReport.internal_static_ModuleDependencies_descriptor; - } - - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies getDefaultInstanceForType() { - return org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.getDefaultInstance(); - } - - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies build() { - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies buildPartial() { - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies result = new org.sonar.batch.protocol.output.BatchReport.ModuleDependencies(this); - int from_bitField0_ = bitField0_; - if (depBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - dep_ = java.util.Collections.unmodifiableList(dep_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.dep_ = dep_; - } else { - result.dep_ = depBuilder_.build(); - } - onBuilt(); - return result; - } - - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.sonar.batch.protocol.output.BatchReport.ModuleDependencies) { - return mergeFrom((org.sonar.batch.protocol.output.BatchReport.ModuleDependencies)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(org.sonar.batch.protocol.output.BatchReport.ModuleDependencies other) { - if (other == org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.getDefaultInstance()) return this; - if (depBuilder_ == null) { - if (!other.dep_.isEmpty()) { - if (dep_.isEmpty()) { - dep_ = other.dep_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDepIsMutable(); - dep_.addAll(other.dep_); - } - onChanged(); - } - } else { - if (!other.dep_.isEmpty()) { - if (depBuilder_.isEmpty()) { - depBuilder_.dispose(); - depBuilder_ = null; - dep_ = other.dep_; - bitField0_ = (bitField0_ & ~0x00000001); - depBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getDepFieldBuilder() : null; - } else { - depBuilder_.addAllMessages(other.dep_); - } - } - } - 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.sonar.batch.protocol.output.BatchReport.ModuleDependencies parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (org.sonar.batch.protocol.output.BatchReport.ModuleDependencies) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> dep_ = - java.util.Collections.emptyList(); - private void ensureDepIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { - dep_ = new java.util.ArrayList<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency>(dep_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder> depBuilder_; - - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> getDepList() { - if (depBuilder_ == null) { - return java.util.Collections.unmodifiableList(dep_); - } else { - return depBuilder_.getMessageList(); - } - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public int getDepCount() { - if (depBuilder_ == null) { - return dep_.size(); - } else { - return depBuilder_.getCount(); - } - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency getDep(int index) { - if (depBuilder_ == null) { - return dep_.get(index); - } else { - return depBuilder_.getMessage(index); - } - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public Builder setDep( - int index, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency value) { - if (depBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDepIsMutable(); - dep_.set(index, value); - onChanged(); - } else { - depBuilder_.setMessage(index, value); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public Builder setDep( - int index, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder builderForValue) { - if (depBuilder_ == null) { - ensureDepIsMutable(); - dep_.set(index, builderForValue.build()); - onChanged(); - } else { - depBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public Builder addDep(org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency value) { - if (depBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDepIsMutable(); - dep_.add(value); - onChanged(); - } else { - depBuilder_.addMessage(value); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public Builder addDep( - int index, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency value) { - if (depBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDepIsMutable(); - dep_.add(index, value); - onChanged(); - } else { - depBuilder_.addMessage(index, value); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public Builder addDep( - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder builderForValue) { - if (depBuilder_ == null) { - ensureDepIsMutable(); - dep_.add(builderForValue.build()); - onChanged(); - } else { - depBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public Builder addDep( - int index, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder builderForValue) { - if (depBuilder_ == null) { - ensureDepIsMutable(); - dep_.add(index, builderForValue.build()); - onChanged(); - } else { - depBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public Builder addAllDep( - java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> values) { - if (depBuilder_ == null) { - ensureDepIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dep_); - onChanged(); - } else { - depBuilder_.addAllMessages(values); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public Builder clearDep() { - if (depBuilder_ == null) { - dep_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - depBuilder_.clear(); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public Builder removeDep(int index) { - if (depBuilder_ == null) { - ensureDepIsMutable(); - dep_.remove(index); - onChanged(); - } else { - depBuilder_.remove(index); - } - return this; - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder getDepBuilder( - int index) { - return getDepFieldBuilder().getBuilder(index); - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder getDepOrBuilder( - int index) { - if (depBuilder_ == null) { - return dep_.get(index); } else { - return depBuilder_.getMessageOrBuilder(index); - } - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public java.util.List<? extends org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder> - getDepOrBuilderList() { - if (depBuilder_ != null) { - return depBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(dep_); - } - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder addDepBuilder() { - return getDepFieldBuilder().addBuilder( - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.getDefaultInstance()); - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder addDepBuilder( - int index) { - return getDepFieldBuilder().addBuilder( - index, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.getDefaultInstance()); - } - /** - * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code> - */ - public java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder> - getDepBuilderList() { - return getDepFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder> - getDepFieldBuilder() { - if (depBuilder_ == null) { - depBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder, org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder>( - dep_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); - dep_ = null; - } - return depBuilder_; - } - - // @@protoc_insertion_point(builder_scope:ModuleDependencies) - } - - static { - defaultInstance = new ModuleDependencies(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:ModuleDependencies) - } - - private static final 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 - internal_static_ComponentLink_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_ComponentLink_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Event_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Event_fieldAccessorTable; - private static final 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 - internal_static_Measure_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Measure_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Measures_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Measures_fieldAccessorTable; - private static final 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 - internal_static_Issues_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Issues_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Changesets_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Changesets_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Changesets_Changeset_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Changesets_Changeset_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Duplicate_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Duplicate_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Duplication_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Duplication_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Duplications_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Duplications_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Range_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Range_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Symbols_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Symbols_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Symbols_Symbol_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Symbols_Symbol_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Coverage_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Coverage_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_SyntaxHighlighting_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_SyntaxHighlighting_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Test_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Test_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_CoverageDetail_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_CoverageDetail_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_CoverageDetail_CoveredFile_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_CoverageDetail_CoveredFile_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_FileDependency_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_FileDependency_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ModuleDependencies_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_ModuleDependencies_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ModuleDependencies_ModuleDependency_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_ModuleDependencies_ModuleDependency_fieldAccessorTable; + private static final 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 internal_static_ComponentLink_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_ComponentLink_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_Event_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Event_fieldAccessorTable; + private static final 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 internal_static_Measure_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Measure_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_Measures_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Measures_fieldAccessorTable; + private static final 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 internal_static_Issues_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Issues_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_Changesets_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Changesets_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_Changesets_Changeset_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Changesets_Changeset_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_Duplicate_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Duplicate_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_Duplication_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Duplication_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_Duplications_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Duplications_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_Range_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Range_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_Symbols_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Symbols_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_Symbols_Symbol_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Symbols_Symbol_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_Coverage_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Coverage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_SyntaxHighlighting_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_SyntaxHighlighting_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_Test_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Test_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_CoverageDetail_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CoverageDetail_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_CoverageDetail_CoveredFile_descriptor; + private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CoverageDetail_CoveredFile_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\022batch_report.proto\032\017constants.proto\"\231\001" + - "\n\010Metadata\022\025\n\ranalysis_date\030\001 \001(\003\022\023\n\013pro" + - "ject_key\030\002 \001(\t\022\016\n\006branch\030\006 \001(\t\022\032\n\022root_c" + - "omponent_ref\030\003 \001(\005\022\023\n\013snapshot_id\030\004 \001(\003\022" + - " \n\030deleted_components_count\030\005 \001(\005\"?\n\rCom" + - "ponentLink\022 \n\004type\030\001 \001(\0162\022.ComponentLink" + - "Type\022\014\n\004href\030\002 \001(\t\"w\n\005Event\022\025\n\rcomponent" + - "_ref\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022\023\n\013description\030" + - "\003 \001(\t\022 \n\010category\030\004 \001(\0162\016.EventCategory\022" + - "\022\n\nevent_data\030\005 \001(\t\"\262\002\n\tComponent\022\013\n\003ref", + "\n\010Metadata\022\025\n\ranalysis_date\030\001 \001(\003\022\023\n\013pro" + + "ject_key\030\002 \001(\t\022\016\n\006branch\030\006 \001(\t\022\032\n\022root_c" + + "omponent_ref\030\003 \001(\005\022\023\n\013snapshot_id\030\004 \001(\003\022" + + " \n\030deleted_components_count\030\005 \001(\005\"?\n\rCom" + + "ponentLink\022 \n\004type\030\001 \001(\0162\022.ComponentLink" + + "Type\022\014\n\004href\030\002 \001(\t\"w\n\005Event\022\025\n\rcomponent" + + "_ref\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022\023\n\013description\030" + + "\003 \001(\t\022 \n\010category\030\004 \001(\0162\016.EventCategory\022" + + "\022\n\nevent_data\030\005 \001(\t\"\262\002\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\004ty" + - "pe\030\004 \001(\0162\016.ComponentType\022\017\n\007is_test\030\005 \001(" + - "\010\022\020\n\010language\030\006 \001(\t\022\025\n\tchild_ref\030\007 \003(\005B\002" + - "\020\001\022\034\n\004link\030\n \003(\0132\016.ComponentLink\022\017\n\007vers" + - "ion\030\014 \001(\t\022\013\n\003key\030\016 \001(\t\022\r\n\005lines\030\017 \001(\005\022\023\n" + - "\013description\030\020 \001(\t\022\n\n\002id\030\r \001(\003\022\023\n\013snapsh" + - "ot_id\030\010 \001(\003\022\014\n\004uuid\030\t \001(\t\022\025\n\005event\030\013 \003(\013" + - "2\006.Event\"\316\003\n\007Measure\022%\n\nvalue_type\030\001 \001(\016" + - "2\021.MeasureValueType\022\025\n\rboolean_value\030\002 \001" + - "(\010\022\021\n\tint_value\030\003 \001(\005\022\022\n\nlong_value\030\004 \001(", + "pe\030\004 \001(\0162\016.ComponentType\022\017\n\007is_test\030\005 \001(" + + "\010\022\020\n\010language\030\006 \001(\t\022\025\n\tchild_ref\030\007 \003(\005B\002" + + "\020\001\022\034\n\004link\030\n \003(\0132\016.ComponentLink\022\017\n\007vers" + + "ion\030\014 \001(\t\022\013\n\003key\030\016 \001(\t\022\r\n\005lines\030\017 \001(\005\022\023\n" + + "\013description\030\020 \001(\t\022\n\n\002id\030\r \001(\003\022\023\n\013snapsh" + + "ot_id\030\010 \001(\003\022\014\n\004uuid\030\t \001(\t\022\025\n\005event\030\013 \003(\013" + + "2\006.Event\"\316\003\n\007Measure\022%\n\nvalue_type\030\001 \001(\016" + + "2\021.MeasureValueType\022\025\n\rboolean_value\030\002 \001" + + "(\010\022\021\n\tint_value\030\003 \001(\005\022\022\n\nlong_value\030\004 \001(", "\003\022\024\n\014double_value\030\005 \001(\001\022\024\n\014string_value\030" + - "\006 \001(\t\022\022\n\nmetric_key\030\007 \001(\t\022\023\n\013description" + - "\030\t \001(\t\022\020\n\010rule_key\030\n \001(\t\022\033\n\010severity\030\013 \001" + - "(\0162\t.Severity\022\024\n\014alert_status\030\014 \001(\t\022\022\n\na" + - "lert_text\030\r \001(\t\022\031\n\021variation_value_1\030\016 \001" + - "(\001\022\031\n\021variation_value_2\030\017 \001(\001\022\031\n\021variati" + - "on_value_3\030\020 \001(\001\022\031\n\021variation_value_4\030\021 " + - "\001(\001\022\031\n\021variation_value_5\030\022 \001(\001\022\026\n\016charac" + - "teric_id\030\023 \001(\005\022\021\n\tperson_id\030\024 \001(\005\"<\n\010Mea" + - "sures\022\025\n\rcomponent_ref\030\001 \001(\005\022\031\n\007measure\030", + "\006 \001(\t\022\022\n\nmetric_key\030\007 \001(\t\022\023\n\013description" + + "\030\t \001(\t\022\020\n\010rule_key\030\n \001(\t\022\033\n\010severity\030\013 \001" + + "(\0162\t.Severity\022\024\n\014alert_status\030\014 \001(\t\022\022\n\na" + + "lert_text\030\r \001(\t\022\031\n\021variation_value_1\030\016 \001" + + "(\001\022\031\n\021variation_value_2\030\017 \001(\001\022\031\n\021variati" + + "on_value_3\030\020 \001(\001\022\031\n\021variation_value_4\030\021 " + + "\001(\001\022\031\n\021variation_value_5\030\022 \001(\001\022\026\n\016charac" + + "teric_id\030\023 \001(\005\022\021\n\tperson_id\030\024 \001(\005\"<\n\010Mea" + + "sures\022\025\n\rcomponent_ref\030\001 \001(\005\022\031\n\007measure\030", "\002 \003(\0132\010.Measure\"\231\004\n\005Issue\022\027\n\017rule_reposi" + - "tory\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\010severity\030\005 \001(\0162\t.Seve" + - "rity\022\013\n\003tag\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_i" + - "n_minutes\030\n \001(\003\022\022\n\nresolution\030\013 \001(\t\022\016\n\006s" + - "tatus\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\010assi" + - "gnee\030\020 \001(\t\022\027\n\017action_plan_key\030\021 \001(\t\022\022\n\na" + - "ttributes\030\022 \001(\t\022\024\n\014author_login\030\023 \001(\t\022\025\n", + "tory\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\010severity\030\005 \001(\0162\t.Seve" + + "rity\022\013\n\003tag\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_i" + + "n_minutes\030\n \001(\003\022\022\n\nresolution\030\013 \001(\t\022\016\n\006s" + + "tatus\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\010assi" + + "gnee\030\020 \001(\t\022\027\n\017action_plan_key\030\021 \001(\t\022\022\n\na" + + "ttributes\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_notification\030\032 \001(\010\"N\n\006I" + - "ssues\022\025\n\rcomponent_ref\030\001 \001(\005\022\025\n\005issue\030\002 " + - "\003(\0132\006.Issue\022\026\n\016component_uuid\030\003 \001(\t\"\254\001\n\n" + - "Changesets\022\025\n\rcomponent_ref\030\001 \001(\005\022(\n\tcha" + - "ngeset\030\002 \003(\0132\025.Changesets.Changeset\022 \n\024c" + - "hangesetIndexByLine\030\003 \003(\005B\002\020\001\032;\n\tChanges" + - "et\022\020\n\010revision\030\001 \001(\t\022\016\n\006author\030\002 \001(\t\022\014\n\004", + "\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_notification\030\032 \001(\010\"N\n\006I" + + "ssues\022\025\n\rcomponent_ref\030\001 \001(\005\022\025\n\005issue\030\002 " + + "\003(\0132\006.Issue\022\026\n\016component_uuid\030\003 \001(\t\"\254\001\n\n" + + "Changesets\022\025\n\rcomponent_ref\030\001 \001(\005\022(\n\tcha" + + "ngeset\030\002 \003(\0132\025.Changesets.Changeset\022 \n\024c" + + "hangesetIndexByLine\030\003 \003(\005B\002\020\001\032;\n\tChanges" + + "et\022\020\n\010revision\030\001 \001(\t\022\016\n\006author\030\002 \001(\t\022\014\n\004", "date\030\003 \001(\003\"R\n\tDuplicate\022\026\n\016other_file_re" + - "f\030\001 \001(\005\022\025\n\005range\030\002 \001(\0132\006.Range\022\026\n\016other_" + - "file_key\030\003 \001(\t\"M\n\013Duplication\022\037\n\017origin_" + - "position\030\001 \001(\0132\006.Range\022\035\n\tduplicate\030\002 \003(" + - "\0132\n.Duplicate\"H\n\014Duplications\022\025\n\rcompone" + - "nt_ref\030\001 \001(\005\022!\n\013duplication\030\002 \003(\0132\014.Dupl" + - "ication\"W\n\005Range\022\022\n\nstart_line\030\001 \001(\005\022\020\n\010" + - "end_line\030\002 \001(\005\022\024\n\014start_offset\030\003 \001(\005\022\022\n\n" + - "end_offset\030\004 \001(\005\"~\n\007Symbols\022\020\n\010file_ref\030" + - "\001 \001(\005\022\037\n\006symbol\030\002 \003(\0132\017.Symbols.Symbol\032@", + "f\030\001 \001(\005\022\025\n\005range\030\002 \001(\0132\006.Range\022\026\n\016other_" + + "file_key\030\003 \001(\t\"M\n\013Duplication\022\037\n\017origin_" + + "position\030\001 \001(\0132\006.Range\022\035\n\tduplicate\030\002 \003(" + + "\0132\n.Duplicate\"H\n\014Duplications\022\025\n\rcompone" + + "nt_ref\030\001 \001(\005\022!\n\013duplication\030\002 \003(\0132\014.Dupl" + + "ication\"W\n\005Range\022\022\n\nstart_line\030\001 \001(\005\022\020\n\010" + + "end_line\030\002 \001(\005\022\024\n\014start_offset\030\003 \001(\005\022\022\n\n" + + "end_offset\030\004 \001(\005\"~\n\007Symbols\022\020\n\010file_ref\030" + + "\001 \001(\005\022\037\n\006symbol\030\002 \003(\0132\017.Symbols.Symbol\032@", "\n\006Symbol\022\033\n\013declaration\030\001 \001(\0132\006.Range\022\031\n" + - "\treference\030\002 \003(\0132\006.Range\"\260\001\n\010Coverage\022\014\n" + - "\004line\030\001 \001(\005\022\022\n\nconditions\030\002 \001(\005\022\017\n\007ut_hi" + - "ts\030\003 \001(\010\022\017\n\007it_hits\030\004 \001(\010\022\035\n\025ut_covered_" + - "conditions\030\005 \001(\005\022\035\n\025it_covered_condition" + - "s\030\006 \001(\005\022\"\n\032overall_covered_conditions\030\007 " + - "\001(\005\"L\n\022SyntaxHighlighting\022\025\n\005range\030\001 \001(\013" + - "2\006.Range\022\037\n\004type\030\002 \001(\0162\021.HighlightingTyp" + - "e\"j\n\004Test\022\014\n\004name\030\001 \001(\t\022\033\n\006status\030\002 \001(\0162" + - "\013.TestStatus\022\026\n\016duration_in_ms\030\003 \001(\003\022\022\n\n", + "\treference\030\002 \003(\0132\006.Range\"\260\001\n\010Coverage\022\014\n" + + "\004line\030\001 \001(\005\022\022\n\nconditions\030\002 \001(\005\022\017\n\007ut_hi" + + "ts\030\003 \001(\010\022\017\n\007it_hits\030\004 \001(\010\022\035\n\025ut_covered_" + + "conditions\030\005 \001(\005\022\035\n\025it_covered_condition" + + "s\030\006 \001(\005\022\"\n\032overall_covered_conditions\030\007 " + + "\001(\005\"L\n\022SyntaxHighlighting\022\025\n\005range\030\001 \001(\013" + + "2\006.Range\022\037\n\004type\030\002 \001(\0162\021.HighlightingTyp" + + "e\"j\n\004Test\022\014\n\004name\030\001 \001(\t\022\033\n\006status\030\002 \001(\0162" + + "\013.TestStatus\022\026\n\016duration_in_ms\030\003 \001(\003\022\022\n\n", "stacktrace\030\004 \001(\t\022\013\n\003msg\030\005 \001(\t\"\221\001\n\016Covera" + - "geDetail\022\021\n\ttest_name\030\001 \001(\t\0221\n\014covered_f" + - "ile\030\002 \003(\0132\033.CoverageDetail.CoveredFile\0329" + - "\n\013CoveredFile\022\020\n\010file_ref\030\001 \001(\005\022\030\n\014cover" + - "ed_line\030\002 \003(\005B\002\020\001\"5\n\016FileDependency\022\023\n\013t" + - "o_file_ref\030\001 \001(\005\022\016\n\006weight\030\002 \001(\005\"\275\001\n\022Mod" + - "uleDependencies\0221\n\003dep\030\001 \003(\0132$.ModuleDep" + - "endencies.ModuleDependency\032t\n\020ModuleDepe" + - "ndency\022\013\n\003key\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\r\n\005" + - "scope\030\003 \001(\t\0223\n\005child\030\004 \003(\0132$.ModuleDepen", - "dencies.ModuleDependencyB#\n\037org.sonar.ba" + - "tch.protocol.outputH\001" + "geDetail\022\021\n\ttest_name\030\001 \001(\t\0221\n\014covered_f" + + "ile\030\002 \003(\0132\033.CoverageDetail.CoveredFile\0329" + + "\n\013CoveredFile\022\020\n\010file_ref\030\001 \001(\005\022\030\n\014cover" + + "ed_line\030\002 \003(\005B\002\020\001B#\n\037org.sonar.batch.pro" + + "tocol.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; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - org.sonar.batch.protocol.Constants.getDescriptor(), + 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", "Branch", "RootComponentRef", "SnapshotId", "DeletedComponentsCount", }); + new java.lang.String[] {"AnalysisDate", "ProjectKey", "Branch", "RootComponentRef", "SnapshotId", "DeletedComponentsCount",}); internal_static_ComponentLink_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_ComponentLink_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_ComponentLink_descriptor, - new java.lang.String[] { "Type", "Href", }); + new java.lang.String[] {"Type", "Href",}); internal_static_Event_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_Event_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Event_descriptor, - new java.lang.String[] { "ComponentRef", "Name", "Description", "Category", "EventData", }); + new java.lang.String[] {"ComponentRef", "Name", "Description", "Category", "EventData",}); internal_static_Component_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_Component_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Component_descriptor, - new java.lang.String[] { "Ref", "Path", "Name", "Type", "IsTest", "Language", "ChildRef", "Link", "Version", "Key", "Lines", "Description", "Id", "SnapshotId", "Uuid", "Event", }); + new java.lang.String[] {"Ref", "Path", "Name", "Type", "IsTest", "Language", "ChildRef", "Link", "Version", "Key", "Lines", "Description", "Id", "SnapshotId", "Uuid", + "Event",}); internal_static_Measure_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_Measure_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Measure_descriptor, - new java.lang.String[] { "ValueType", "BooleanValue", "IntValue", "LongValue", "DoubleValue", "StringValue", "MetricKey", "Description", "RuleKey", "Severity", "AlertStatus", "AlertText", "VariationValue1", "VariationValue2", "VariationValue3", "VariationValue4", "VariationValue5", "CharactericId", "PersonId", }); + new java.lang.String[] {"ValueType", "BooleanValue", "IntValue", "LongValue", "DoubleValue", "StringValue", "MetricKey", "Description", "RuleKey", "Severity", + "AlertStatus", "AlertText", "VariationValue1", "VariationValue2", "VariationValue3", "VariationValue4", "VariationValue5", "CharactericId", "PersonId",}); internal_static_Measures_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_Measures_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Measures_descriptor, - new java.lang.String[] { "ComponentRef", "Measure", }); + new java.lang.String[] {"ComponentRef", "Measure",}); internal_static_Issue_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_Issue_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Issue_descriptor, - new java.lang.String[] { "RuleRepository", "RuleKey", "Line", "Msg", "Severity", "Tag", "EffortToFix", "IsNew", "Uuid", "DebtInMinutes", "Resolution", "Status", "Checksum", "ManualSeverity", "Reporter", "Assignee", "ActionPlanKey", "Attributes", "AuthorLogin", "CreationDate", "CloseDate", "UpdateDate", "SelectedAt", "DiffFields", "IsChanged", "MustSendNotification", }); + new java.lang.String[] {"RuleRepository", "RuleKey", "Line", "Msg", "Severity", "Tag", "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(7); internal_static_Issues_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Issues_descriptor, - new java.lang.String[] { "ComponentRef", "Issue", "ComponentUuid", }); + new java.lang.String[] {"ComponentRef", "Issue", "ComponentUuid",}); internal_static_Changesets_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_Changesets_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Changesets_descriptor, - new java.lang.String[] { "ComponentRef", "Changeset", "ChangesetIndexByLine", }); + new java.lang.String[] {"ComponentRef", "Changeset", "ChangesetIndexByLine",}); internal_static_Changesets_Changeset_descriptor = internal_static_Changesets_descriptor.getNestedTypes().get(0); internal_static_Changesets_Changeset_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Changesets_Changeset_descriptor, - new java.lang.String[] { "Revision", "Author", "Date", }); + new java.lang.String[] {"Revision", "Author", "Date",}); internal_static_Duplicate_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_Duplicate_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Duplicate_descriptor, - new java.lang.String[] { "OtherFileRef", "Range", "OtherFileKey", }); + new java.lang.String[] {"OtherFileRef", "Range", "OtherFileKey",}); internal_static_Duplication_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_Duplication_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Duplication_descriptor, - new java.lang.String[] { "OriginPosition", "Duplicate", }); + new java.lang.String[] {"OriginPosition", "Duplicate",}); internal_static_Duplications_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_Duplications_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Duplications_descriptor, - new java.lang.String[] { "ComponentRef", "Duplication", }); + new java.lang.String[] {"ComponentRef", "Duplication",}); internal_static_Range_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_Range_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Range_descriptor, - new java.lang.String[] { "StartLine", "EndLine", "StartOffset", "EndOffset", }); + new java.lang.String[] {"StartLine", "EndLine", "StartOffset", "EndOffset",}); internal_static_Symbols_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_Symbols_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Symbols_descriptor, - new java.lang.String[] { "FileRef", "Symbol", }); + new java.lang.String[] {"FileRef", "Symbol",}); internal_static_Symbols_Symbol_descriptor = internal_static_Symbols_descriptor.getNestedTypes().get(0); internal_static_Symbols_Symbol_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Symbols_Symbol_descriptor, - new java.lang.String[] { "Declaration", "Reference", }); + new java.lang.String[] {"Declaration", "Reference",}); internal_static_Coverage_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_Coverage_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Coverage_descriptor, - new java.lang.String[] { "Line", "Conditions", "UtHits", "ItHits", "UtCoveredConditions", "ItCoveredConditions", "OverallCoveredConditions", }); + new java.lang.String[] {"Line", "Conditions", "UtHits", "ItHits", "UtCoveredConditions", "ItCoveredConditions", "OverallCoveredConditions",}); internal_static_SyntaxHighlighting_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_SyntaxHighlighting_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_SyntaxHighlighting_descriptor, - new java.lang.String[] { "Range", "Type", }); + new java.lang.String[] {"Range", "Type",}); internal_static_Test_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_Test_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Test_descriptor, - new java.lang.String[] { "Name", "Status", "DurationInMs", "Stacktrace", "Msg", }); + new java.lang.String[] {"Name", "Status", "DurationInMs", "Stacktrace", "Msg",}); internal_static_CoverageDetail_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_CoverageDetail_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CoverageDetail_descriptor, - new java.lang.String[] { "TestName", "CoveredFile", }); + new java.lang.String[] {"TestName", "CoveredFile",}); internal_static_CoverageDetail_CoveredFile_descriptor = internal_static_CoverageDetail_descriptor.getNestedTypes().get(0); internal_static_CoverageDetail_CoveredFile_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CoverageDetail_CoveredFile_descriptor, - new java.lang.String[] { "FileRef", "CoveredLine", }); - internal_static_FileDependency_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_FileDependency_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_FileDependency_descriptor, - new java.lang.String[] { "ToFileRef", "Weight", }); - internal_static_ModuleDependencies_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_ModuleDependencies_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_ModuleDependencies_descriptor, - new java.lang.String[] { "Dep", }); - internal_static_ModuleDependencies_ModuleDependency_descriptor = - internal_static_ModuleDependencies_descriptor.getNestedTypes().get(0); - internal_static_ModuleDependencies_ModuleDependency_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_ModuleDependencies_ModuleDependency_descriptor, - new java.lang.String[] { "Key", "Version", "Scope", "Child", }); + new java.lang.String[] {"FileRef", "CoveredLine",}); org.sonar.batch.protocol.Constants.getDescriptor(); } diff --git a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/BatchReportReader.java b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/BatchReportReader.java index 4b56dcc43eb..c41ce080065 100644 --- a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/BatchReportReader.java +++ b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/BatchReportReader.java @@ -161,25 +161,6 @@ public class BatchReportReader { return null; } - @CheckForNull - public File readFileDependencies(int fileRef) { - File file = fileStructure.fileFor(FileStructure.Domain.FILE_DEPENDENCIES, fileRef); - if (doesFileExists(file)) { - return file; - } - return null; - } - - public List<BatchReport.ModuleDependencies.ModuleDependency> readModuleDependencies(int componentRef) { - File file = fileStructure.fileFor(FileStructure.Domain.MODULE_DEPENDENCIES, componentRef); - if (doesFileExists(file)) { - // all the module dependencies are loaded in memory - BatchReport.ModuleDependencies dependencies = ProtobufUtil.readFile(file, BatchReport.ModuleDependencies.PARSER); - return dependencies.getDepList(); - } - return Collections.emptyList(); - } - private boolean doesFileExists(File file) { return file.exists() && file.isFile(); } diff --git a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/BatchReportWriter.java b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/BatchReportWriter.java index 9bfa1e5cad0..9a58c825c0b 100644 --- a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/BatchReportWriter.java +++ b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/BatchReportWriter.java @@ -125,23 +125,6 @@ public class BatchReportWriter { ProtobufUtil.writeMessagesToFile(tests, file); } - public void writeFileDependencies(int componentRef, Iterable<BatchReport.FileDependency> fileDependencies) { - File file = fileStructure.fileFor(FileStructure.Domain.FILE_DEPENDENCIES, componentRef); - ProtobufUtil.writeMessagesToFile(fileDependencies, file); - } - - public void appendFileDependency(int componentRef, BatchReport.FileDependency fileDependency) { - File file = fileStructure.fileFor(FileStructure.Domain.FILE_DEPENDENCIES, componentRef); - ProtobufUtil.appendToFile(fileDependency, file); - } - - public void writeModuleDependencies(int componentRef, Iterable<BatchReport.ModuleDependencies.ModuleDependency> dependencies) { - BatchReport.ModuleDependencies.Builder builder = BatchReport.ModuleDependencies.newBuilder(); - builder.addAllDep(dependencies); - File file = fileStructure.fileFor(FileStructure.Domain.MODULE_DEPENDENCIES, componentRef); - ProtobufUtil.writeToFile(builder.build(), file); - } - public File getSourceFile(int componentRef) { return fileStructure.fileFor(FileStructure.Domain.SOURCE, componentRef); } diff --git a/sonar-batch-protocol/src/main/protobuf/batch_report.proto b/sonar-batch-protocol/src/main/protobuf/batch_report.proto index 3cf17fc3031..bd07b9ac450 100644 --- a/sonar-batch-protocol/src/main/protobuf/batch_report.proto +++ b/sonar-batch-protocol/src/main/protobuf/batch_report.proto @@ -256,19 +256,3 @@ message CoverageDetail { repeated int32 covered_line = 2 [packed = true]; } } - -message FileDependency { - optional int32 to_file_ref = 1; - optional int32 weight = 2; -} - -message ModuleDependencies { - repeated ModuleDependency dep = 1; - message ModuleDependency { - optional string key = 1; - optional string version = 2; - optional string scope = 3; - repeated ModuleDependency child = 4; - } -} - diff --git a/sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/output/BatchReportReaderTest.java b/sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/output/BatchReportReaderTest.java index e01cc0d606c..2738f542088 100644 --- a/sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/output/BatchReportReaderTest.java +++ b/sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/output/BatchReportReaderTest.java @@ -370,53 +370,4 @@ public class BatchReportReaderTest { assertThat(sut.readCoverageDetails(UNKNOWN_COMPONENT_REF)).isNull(); } - @Test - public void read_file_dependencies() throws Exception { - BatchReportWriter writer = new BatchReportWriter(dir); - writer.writeFileDependencies(1, Arrays.asList( - BatchReport.FileDependency.newBuilder() - .setToFileRef(5) - .setWeight(20) - .build() - )); - - try (InputStream inputStream = FileUtils.openInputStream(sut.readFileDependencies(1))) { - BatchReport.FileDependency fileDependency = BatchReport.FileDependency.PARSER.parseDelimitedFrom(inputStream); - assertThat(fileDependency.getToFileRef()).isEqualTo(5); - assertThat(fileDependency.getWeight()).isEqualTo(20); - } - } - - @Test - public void null_if_no_file_dependencies_found() { - assertThat(sut.readFileDependencies(UNKNOWN_COMPONENT_REF)).isNull(); - } - - @Test - public void read_module_dependencies() { - BatchReportWriter writer = new BatchReportWriter(dir); - writer.writeModuleDependencies(1, Arrays.asList(BatchReport.ModuleDependencies.ModuleDependency.newBuilder() - .setKey("PROJECT_1") - .setScope("PRJ") - .setVersion("1.1") - .addChild(BatchReport.ModuleDependencies.ModuleDependency.newBuilder() - .setKey("PROJECT_2") - .setScope("PRJ") - .setVersion("2.2") - .build()) - .build())); - - assertThat(sut.readModuleDependencies(1)).hasSize(1); - BatchReport.ModuleDependencies.ModuleDependency dependency = sut.readModuleDependencies(1).get(0); - assertThat(dependency.getKey()).isEqualTo("PROJECT_1"); - assertThat(dependency.getScope()).isEqualTo("PRJ"); - assertThat(dependency.getVersion()).isEqualTo("1.1"); - assertThat(dependency.getChildList()).hasSize(1); - } - - @Test - public void empty_list_if_no_module_dependencies_found() { - assertThat(sut.readModuleDependencies(UNKNOWN_COMPONENT_REF)).isEmpty(); - } - } diff --git a/sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/output/BatchReportWriterTest.java b/sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/output/BatchReportWriterTest.java index b1d0b677efb..aea1e7d6f67 100644 --- a/sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/output/BatchReportWriterTest.java +++ b/sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/output/BatchReportWriterTest.java @@ -269,7 +269,7 @@ public class BatchReportWriterTest { .build()) .setType(Constants.HighlightingType.ANNOTATION) .build() - )); + )); assertThat(sut.hasComponentData(FileStructure.Domain.SYNTAX_HIGHLIGHTINGS, 1)).isTrue(); } @@ -289,7 +289,7 @@ public class BatchReportWriterTest { .setItCoveredConditions(1) .setOverallCoveredConditions(1) .build() - )); + )); assertThat(sut.hasComponentData(FileStructure.Domain.COVERAGES, 1)).isTrue(); } @@ -300,7 +300,7 @@ public class BatchReportWriterTest { sut.writeTests(1, Arrays.asList( BatchReport.Test.getDefaultInstance() - )); + )); assertThat(sut.hasComponentData(FileStructure.Domain.TESTS, 1)).isTrue(); @@ -312,26 +312,8 @@ public class BatchReportWriterTest { sut.writeCoverageDetails(1, Arrays.asList( BatchReport.CoverageDetail.getDefaultInstance() - )); + )); assertThat(sut.hasComponentData(FileStructure.Domain.COVERAGE_DETAILS, 1)).isTrue(); } - - @Test - public void write_file_dependencies() { - assertThat(sut.hasComponentData(FileStructure.Domain.FILE_DEPENDENCIES, 1)).isFalse(); - - sut.writeFileDependencies(1, Arrays.asList(BatchReport.FileDependency.getDefaultInstance())); - - assertThat(sut.hasComponentData(FileStructure.Domain.FILE_DEPENDENCIES, 1)).isTrue(); - } - - @Test - public void write_module_dependencies() { - assertThat(sut.hasComponentData(FileStructure.Domain.MODULE_DEPENDENCIES, 1)).isFalse(); - - sut.writeModuleDependencies(1, Arrays.asList(BatchReport.ModuleDependencies.ModuleDependency.getDefaultInstance())); - - assertThat(sut.hasComponentData(FileStructure.Domain.MODULE_DEPENDENCIES, 1)).isTrue(); - } } |