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>
*/
* <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>
*/
* </pre>
*/
boolean hasSnapshotId();
+
/**
* <code>optional int64 snapshot_id = 4;</code>
*
* <code>optional int32 deleted_components_count = 5;</code>
*/
boolean hasDeletedComponentsCount();
+
/**
* <code>optional int32 deleted_components_count = 5;</code>
*/
* 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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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() {
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>
*/
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>
*/
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;
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 {
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>
*/
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;
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 {
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>
*/
public static final int SNAPSHOT_ID_FIELD_NUMBER = 4;
private long snapshotId_;
+
/**
* <code>optional int64 snapshot_id = 4;</code>
*
public boolean hasSnapshotId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
+
/**
* <code>optional int64 snapshot_id = 4;</code>
*
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>
*/
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_);
}
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)) {
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Metadata_descriptor;
}
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;
}
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());
}
}
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);
}
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int64 analysis_date = 1;</code>
*/
}
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>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 root_component_ref = 3;</code>
*/
return this;
}
- private long snapshotId_ ;
+ private long snapshotId_;
+
/**
* <code>optional int64 snapshot_id = 4;</code>
*
public boolean hasSnapshotId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
+
/**
* <code>optional int64 snapshot_id = 4;</code>
*
public long getSnapshotId() {
return snapshotId_;
}
+
/**
* <code>optional int64 snapshot_id = 4;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional int64 snapshot_id = 4;</code>
*
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 deleted_components_count = 5;</code>
*/
}
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>
*/
* <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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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() {
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>
*/
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>
*/
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;
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 {
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());
}
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)) {
}
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); }
- @java.lang.Override
+ 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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_ComponentLink_descriptor;
}
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;
}
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());
}
}
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);
}
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional .ComponentLinkType type = 1;</code>
*/
}
private java.lang.Object href_ = "";
+
/**
* <code>optional string href = 2;</code>
*/
public boolean hasHref() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+
/**
* <code>optional string href = 2;</code>
*/
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;
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>
*/
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;
}
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>
*/
* <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>
*/
* <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}
* </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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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() {
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>
*/
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>
*/
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;
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 {
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>
*/
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;
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 {
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>
*/
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>
*/
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;
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 {
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_);
}
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)) {
}
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}
*
* </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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Event_descriptor;
}
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;
}
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());
}
}
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);
}
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 component_ref = 1;</code>
*/
}
private java.lang.Object name_ = "";
+
/**
* <code>optional string name = 2;</code>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+
/**
* <code>optional string name = 2;</code>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional .EventCategory category = 4;</code>
*/
}
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>
*/
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;
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>
*/
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;
}
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>
*/
* <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>
*/
* <code>optional bool is_test = 5;</code>
*/
boolean hasIsTest();
+
/**
* <code>optional bool is_test = 5;</code>
*/
* <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>
*/
/**
* <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>
* </pre>
*/
boolean hasVersion();
+
/**
* <code>optional string version = 12;</code>
*
* </pre>
*/
java.lang.String getVersion();
+
/**
* <code>optional string version = 12;</code>
*
* </pre>
*/
com.google.protobuf.ByteString
- getVersionBytes();
+ getVersionBytes();
/**
* <code>optional string key = 14;</code>
* </pre>
*/
boolean hasKey();
+
/**
* <code>optional string key = 14;</code>
*
* </pre>
*/
java.lang.String getKey();
+
/**
* <code>optional string key = 14;</code>
*
* </pre>
*/
com.google.protobuf.ByteString
- getKeyBytes();
+ getKeyBytes();
/**
* <code>optional int32 lines = 15;</code>
* </pre>
*/
boolean hasLines();
+
/**
* <code>optional int32 lines = 15;</code>
*
* </pre>
*/
boolean hasDescription();
+
/**
* <code>optional string description = 16;</code>
*
* </pre>
*/
java.lang.String getDescription();
+
/**
* <code>optional string description = 16;</code>
*
* </pre>
*/
com.google.protobuf.ByteString
- getDescriptionBytes();
+ getDescriptionBytes();
/**
* <code>optional int64 id = 13;</code>
* </pre>
*/
boolean hasId();
+
/**
* <code>optional int64 id = 13;</code>
*
* <code>optional int64 snapshot_id = 8;</code>
*/
boolean hasSnapshotId();
+
/**
* <code>optional int64 snapshot_id = 8;</code>
*/
* <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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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_);
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() {
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>
*/
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>
*/
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;
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 {
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>
*/
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;
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 {
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>
*/
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>
*/
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>
*/
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;
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 {
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>
*
public boolean hasVersion() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
+
/**
* <code>optional string version = 12;</code>
*
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;
return s;
}
}
+
/**
* <code>optional string version = 12;</code>
*
* </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 {
public static final int KEY_FIELD_NUMBER = 14;
private java.lang.Object key_;
+
/**
* <code>optional string key = 14;</code>
*
public boolean hasKey() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
+
/**
* <code>optional string key = 14;</code>
*
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;
return s;
}
}
+
/**
* <code>optional string key = 14;</code>
*
* </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 {
public static final int LINES_FIELD_NUMBER = 15;
private int lines_;
+
/**
* <code>optional int32 lines = 15;</code>
*
public boolean hasLines() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
+
/**
* <code>optional int32 lines = 15;</code>
*
public static final int DESCRIPTION_FIELD_NUMBER = 16;
private java.lang.Object description_;
+
/**
* <code>optional string description = 16;</code>
*
public boolean hasDescription() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
+
/**
* <code>optional string description = 16;</code>
*
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;
return s;
}
}
+
/**
* <code>optional string description = 16;</code>
*
* </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 {
public static final int ID_FIELD_NUMBER = 13;
private long id_;
+
/**
* <code>optional int64 id = 13;</code>
*
public boolean hasId() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
+
/**
* <code>optional int64 id = 13;</code>
*
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>
*/
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>
*/
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;
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 {
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);
}
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_);
}
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)) {
if (!getChildRefList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
- .computeInt32SizeNoTag(dataSize);
+ .computeInt32SizeNoTag(dataSize);
}
childRefMemoizedSerializedSize = dataSize;
}
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Component_descriptor;
}
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;
}
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());
}
linkBuilder_ = null;
link_ = other.link_;
bitField0_ = (bitField0_ & ~0x00000080);
- linkBuilder_ =
+ linkBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getLinkFieldBuilder() : null;
+ getLinkFieldBuilder() : null;
} else {
linkBuilder_.addAllMessages(other.link_);
}
eventBuilder_ = null;
event_ = other.event_;
bitField0_ = (bitField0_ & ~0x00008000);
- eventBuilder_ =
+ eventBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getEventFieldBuilder() : null;
+ getEventFieldBuilder() : null;
} else {
eventBuilder_.addAllMessages(other.event_);
}
}
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);
}
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 ref = 1;</code>
*/
}
private java.lang.Object path_ = "";
+
/**
* <code>optional string path = 2;</code>
*/
public boolean hasPath() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+
/**
* <code>optional string path = 2;</code>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional .ComponentType type = 4;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional bool is_test = 5;</code>
*/
}
private java.lang.Object language_ = "";
+
/**
* <code>optional string language = 6;</code>
*/
public boolean hasLanguage() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
+
/**
* <code>optional string language = 6;</code>
*/
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;
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>
*/
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>
*/
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>
*/
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>
return linkBuilder_.getMessageList();
}
}
+
/**
* <code>repeated .ComponentLink link = 10;</code>
*/
return linkBuilder_.getCount();
}
}
+
/**
* <code>repeated .ComponentLink link = 10;</code>
*/
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();
}
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());
}
return this;
}
+
/**
* <code>repeated .ComponentLink link = 10;</code>
*/
}
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();
}
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());
}
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());
}
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>
*/
}
return this;
}
+
/**
* <code>repeated .ComponentLink link = 10;</code>
*/
}
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>
*
public boolean hasVersion() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
+
/**
* <code>optional string version = 12;</code>
*
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;
return (java.lang.String) ref;
}
}
+
/**
* <code>optional string version = 12;</code>
*
* </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>
*
* </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>
*
onChanged();
return this;
}
+
/**
* <code>optional string version = 12;</code>
*
* </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>
*
public boolean hasKey() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
+
/**
* <code>optional string key = 14;</code>
*
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;
return (java.lang.String) ref;
}
}
+
/**
* <code>optional string key = 14;</code>
*
* </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>
*
* </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>
*
onChanged();
return this;
}
+
/**
* <code>optional string key = 14;</code>
*
* </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>
*
public boolean hasLines() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
+
/**
* <code>optional int32 lines = 15;</code>
*
public int getLines() {
return lines_;
}
+
/**
* <code>optional int32 lines = 15;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional int32 lines = 15;</code>
*
}
private java.lang.Object description_ = "";
+
/**
* <code>optional string description = 16;</code>
*
public boolean hasDescription() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
+
/**
* <code>optional string description = 16;</code>
*
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;
return (java.lang.String) ref;
}
}
+
/**
* <code>optional string description = 16;</code>
*
* </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>
*
* </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>
*
onChanged();
return this;
}
+
/**
* <code>optional string description = 16;</code>
*
* </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>
*
public boolean hasId() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
+
/**
* <code>optional int64 id = 13;</code>
*
public long getId() {
return id_;
}
+
/**
* <code>optional int64 id = 13;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional int64 id = 13;</code>
*
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int64 snapshot_id = 8;</code>
*/
}
private java.lang.Object uuid_ = "";
+
/**
* <code>optional string uuid = 9;</code>
*/
public boolean hasUuid() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
+
/**
* <code>optional string uuid = 9;</code>
*/
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;
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>
*/
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;
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>
return eventBuilder_.getMessageList();
}
}
+
/**
* <code>repeated .Event event = 11;</code>
*/
return eventBuilder_.getCount();
}
}
+
/**
* <code>repeated .Event event = 11;</code>
*/
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();
}
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());
}
return this;
}
+
/**
* <code>repeated .Event event = 11;</code>
*/
}
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();
}
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());
}
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());
}
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>
*/
}
return this;
}
+
/**
* <code>repeated .Event event = 11;</code>
*/
}
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_;
}
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>
*/
* </pre>
*/
boolean hasBooleanValue();
+
/**
* <code>optional bool boolean_value = 2;</code>
*
* <code>optional int32 int_value = 3;</code>
*/
boolean hasIntValue();
+
/**
* <code>optional int32 int_value = 3;</code>
*/
* <code>optional int64 long_value = 4;</code>
*/
boolean hasLongValue();
+
/**
* <code>optional int64 long_value = 4;</code>
*/
* <code>optional double double_value = 5;</code>
*/
boolean hasDoubleValue();
+
/**
* <code>optional double double_value = 5;</code>
*/
* <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>
* </pre>
*/
boolean hasDescription();
+
/**
* <code>optional string description = 9;</code>
*
* </pre>
*/
java.lang.String getDescription();
+
/**
* <code>optional string description = 9;</code>
*
* </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>
*/
* <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>
*/
* <code>optional double variation_value_2 = 15;</code>
*/
boolean hasVariationValue2();
+
/**
* <code>optional double variation_value_2 = 15;</code>
*/
* <code>optional double variation_value_3 = 16;</code>
*/
boolean hasVariationValue3();
+
/**
* <code>optional double variation_value_3 = 16;</code>
*/
* <code>optional double variation_value_4 = 17;</code>
*/
boolean hasVariationValue4();
+
/**
* <code>optional double variation_value_4 = 17;</code>
*/
* <code>optional double variation_value_5 = 18;</code>
*/
boolean hasVariationValue5();
+
/**
* <code>optional double variation_value_5 = 18;</code>
*/
* <code>optional int32 characteric_id = 19;</code>
*/
boolean hasCharactericId();
+
/**
* <code>optional int32 characteric_id = 19;</code>
*/
* <code>optional int32 person_id = 20;</code>
*/
boolean hasPersonId();
+
/**
* <code>optional int32 person_id = 20;</code>
*/
* 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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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() {
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>
*/
public static final int BOOLEAN_VALUE_FIELD_NUMBER = 2;
private boolean booleanValue_;
+
/**
* <code>optional bool boolean_value = 2;</code>
*
public boolean hasBooleanValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+
/**
* <code>optional bool boolean_value = 2;</code>
*
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>
*/
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>
*/
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>
*/
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>
*/
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;
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 {
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>
*/
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;
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 {
public static final int DESCRIPTION_FIELD_NUMBER = 9;
private java.lang.Object description_;
+
/**
* <code>optional string description = 9;</code>
*
public boolean hasDescription() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
+
/**
* <code>optional string description = 9;</code>
*
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;
return s;
}
}
+
/**
* <code>optional string description = 9;</code>
*
* </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 {
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>
*/
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;
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 {
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>
*/
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>
*/
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;
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 {
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>
*/
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;
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 {
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>
*/
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>
*/
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>
*/
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>
*/
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>
*/
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>
*/
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>
*/
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());
}
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)) {
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Measure_descriptor;
}
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;
}
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());
}
}
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);
}
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional .MeasureValueType value_type = 1;</code>
*/
return this;
}
- private boolean booleanValue_ ;
+ private boolean booleanValue_;
+
/**
* <code>optional bool boolean_value = 2;</code>
*
public boolean hasBooleanValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+
/**
* <code>optional bool boolean_value = 2;</code>
*
public boolean getBooleanValue() {
return booleanValue_;
}
+
/**
* <code>optional bool boolean_value = 2;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional bool boolean_value = 2;</code>
*
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 int_value = 3;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int64 long_value = 4;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional double double_value = 5;</code>
*/
}
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>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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>
*
public boolean hasDescription() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
+
/**
* <code>optional string description = 9;</code>
*
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;
return (java.lang.String) ref;
}
}
+
/**
* <code>optional string description = 9;</code>
*
* </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>
*
* </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>
*
onChanged();
return this;
}
+
/**
* <code>optional string description = 9;</code>
*
* </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>
*/
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;
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>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional .Severity severity = 11;</code>
*/
}
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>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional double variation_value_1 = 14;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional double variation_value_2 = 15;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional double variation_value_3 = 16;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional double variation_value_4 = 17;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional double variation_value_5 = 18;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 characteric_id = 19;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 person_id = 20;</code>
*/
}
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>
*/
/**
* <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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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_);
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() {
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>
*/
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);
}
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_);
}
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)) {
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Measures_descriptor;
}
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;
}
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());
}
measureBuilder_ = null;
measure_ = other.measure_;
bitField0_ = (bitField0_ & ~0x00000002);
- measureBuilder_ =
+ measureBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getMeasureFieldBuilder() : null;
+ getMeasureFieldBuilder() : null;
} else {
measureBuilder_.addAllMessages(other.measure_);
}
}
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);
}
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 component_ref = 1;</code>
*/
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>
return measureBuilder_.getMessageList();
}
}
+
/**
* <code>repeated .Measure measure = 2;</code>
*/
return measureBuilder_.getCount();
}
}
+
/**
* <code>repeated .Measure measure = 2;</code>
*/
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();
}
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());
}
return this;
}
+
/**
* <code>repeated .Measure measure = 2;</code>
*/
}
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();
}
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());
}
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());
}
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>
*/
}
return this;
}
+
/**
* <code>repeated .Measure measure = 2;</code>
*/
}
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_;
}
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>
*/
* <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>
*/
* <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>
* </pre>
*/
boolean hasEffortToFix();
+
/**
* <code>optional double effort_to_fix = 7;</code>
*
* <code>optional bool is_new = 8;</code>
*/
boolean hasIsNew();
+
/**
* <code>optional bool is_new = 8;</code>
*/
* <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>
*/
* <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>
*/
* <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>
*/
* <code>optional int64 close_date = 21;</code>
*/
boolean hasCloseDate();
+
/**
* <code>optional int64 close_date = 21;</code>
*/
* <code>optional int64 update_date = 22;</code>
*/
boolean hasUpdateDate();
+
/**
* <code>optional int64 update_date = 22;</code>
*/
* <code>optional int64 selected_at = 23;</code>
*/
boolean hasSelectedAt();
+
/**
* <code>optional int64 selected_at = 23;</code>
*/
* <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>
*/
* <code>optional bool must_send_notification = 26;</code>
*/
boolean hasMustSendNotification();
+
/**
* <code>optional bool must_send_notification = 26;</code>
*/
* Protobuf type {@code Issue}
*/
public static final class Issue extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:Issue)
- IssueOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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();
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() {
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>
*/
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;
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 {
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>
*/
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;
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 {
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>
*/
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>
*/
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;
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 {
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>
*/
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>
*
public boolean hasEffortToFix() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
+
/**
* <code>optional double effort_to_fix = 7;</code>
*
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>
*/
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>
*/
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;
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 {
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>
*/
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>
*/
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;
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 {
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>
*/
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;
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 {
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>
*/
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;
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 {
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>
*/
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>
*/
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;
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 {
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>
*/
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;
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 {
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>
*/
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;
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 {
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>
*/
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;
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 {
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>
*/
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;
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 {
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>
*/
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>
*/
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>
*/
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>
*/
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>
*/
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;
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 {
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>
*/
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>
*/
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());
}
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)) {
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Issue_descriptor;
}
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;
}
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_;
}
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);
}
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>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 line = 3;</code>
*/
}
private java.lang.Object msg_ = "";
+
/**
* <code>optional string msg = 4;</code>
*/
public boolean hasMsg() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+
/**
* <code>optional string msg = 4;</code>
*/
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;
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>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional .Severity severity = 5;</code>
*/
}
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>
*/
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>
*
public boolean hasEffortToFix() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
+
/**
* <code>optional double effort_to_fix = 7;</code>
*
public double getEffortToFix() {
return effortToFix_;
}
+
/**
* <code>optional double effort_to_fix = 7;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional double effort_to_fix = 7;</code>
*
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional bool is_new = 8;</code>
*/
}
private java.lang.Object uuid_ = "";
+
/**
* <code>optional string uuid = 9;</code>
*/
public boolean hasUuid() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
+
/**
* <code>optional string uuid = 9;</code>
*/
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;
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>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int64 debt_in_minutes = 10;</code>
*/
}
private java.lang.Object resolution_ = "";
+
/**
* <code>optional string resolution = 11;</code>
*/
public boolean hasResolution() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
+
/**
* <code>optional string resolution = 11;</code>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional bool manual_severity = 14;</code>
*/
}
private java.lang.Object reporter_ = "";
+
/**
* <code>optional string reporter = 15;</code>
*/
public boolean hasReporter() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
+
/**
* <code>optional string reporter = 15;</code>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int64 creation_date = 20;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int64 close_date = 21;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int64 update_date = 22;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int64 selected_at = 23;</code>
*/
}
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>
*/
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;
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>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional bool is_changed = 25;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional bool must_send_notification = 26;</code>
*/
}
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>
*/
/**
* <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>
* </pre>
*/
boolean hasComponentUuid();
+
/**
* <code>optional string component_uuid = 3;</code>
*
* </pre>
*/
java.lang.String getComponentUuid();
+
/**
* <code>optional string component_uuid = 3;</code>
*
* </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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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_);
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() {
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>
*/
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>
*
public boolean hasComponentUuid() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+
/**
* <code>optional string component_uuid = 3;</code>
*
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;
return s;
}
}
+
/**
* <code>optional string component_uuid = 3;</code>
*
* </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 {
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_);
}
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)) {
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Issues_descriptor;
}
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;
}
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());
}
issueBuilder_ = null;
issue_ = other.issue_;
bitField0_ = (bitField0_ & ~0x00000002);
- issueBuilder_ =
+ issueBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getIssueFieldBuilder() : null;
+ getIssueFieldBuilder() : null;
} else {
issueBuilder_.addAllMessages(other.issue_);
}
}
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);
}
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 component_ref = 1;</code>
*/
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>
return issueBuilder_.getMessageList();
}
}
+
/**
* <code>repeated .Issue issue = 2;</code>
*/
return issueBuilder_.getCount();
}
}
+
/**
* <code>repeated .Issue issue = 2;</code>
*/
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();
}
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());
}
return this;
}
+
/**
* <code>repeated .Issue issue = 2;</code>
*/
}
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();
}
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());
}
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());
}
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>
*/
}
return this;
}
+
/**
* <code>repeated .Issue issue = 2;</code>
*/
}
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>
*
public boolean hasComponentUuid() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+
/**
* <code>optional string component_uuid = 3;</code>
*
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;
return (java.lang.String) ref;
}
}
+
/**
* <code>optional string component_uuid = 3;</code>
*
* </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>
*
* </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>
*
onChanged();
return this;
}
+
/**
* <code>optional string component_uuid = 3;</code>
*
* </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;
}
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>
*/
/**
* <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>
* </pre>
*/
java.util.List<java.lang.Integer> getChangesetIndexByLineList();
+
/**
* <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code>
*
* </pre>
*/
int getChangesetIndexByLineCount();
+
/**
* <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code>
*
* 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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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_);
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() {
}
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>
*/
* 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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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() {
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>
*/
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;
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 {
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>
*/
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;
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 {
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>
*/
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());
}
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)) {
}
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 {
- return PARSER.parseFrom(input, extensionRegistry);
- }
+ 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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_Changeset_descriptor;
}
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;
}
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_;
}
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);
}
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>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int64 date = 3;</code>
*/
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>
*/
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>
*
* </pre>
*/
public java.util.List<java.lang.Integer>
- getChangesetIndexByLineList() {
+ getChangesetIndexByLineList() {
return changesetIndexByLine_;
}
+
/**
* <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code>
*
public int getChangesetIndexByLineCount() {
return changesetIndexByLine_.size();
}
+
/**
* <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code>
*
public int getChangesetIndexByLine(int index) {
return changesetIndexByLine_.get(index);
}
+
private int changesetIndexByLineMemoizedSerializedSize = -1;
private void initFields() {
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_);
}
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)) {
if (!getChangesetIndexByLineList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
- .computeInt32SizeNoTag(dataSize);
+ .computeInt32SizeNoTag(dataSize);
}
changesetIndexByLineMemoizedSerializedSize = dataSize;
}
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_descriptor;
}
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;
}
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());
}
changesetBuilder_ = null;
changeset_ = other.changeset_;
bitField0_ = (bitField0_ & ~0x00000002);
- changesetBuilder_ =
+ changesetBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getChangesetFieldBuilder() : null;
+ getChangesetFieldBuilder() : null;
} else {
changesetBuilder_.addAllMessages(other.changeset_);
}
}
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);
}
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 component_ref = 1;</code>
*/
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>
return changesetBuilder_.getMessageList();
}
}
+
/**
* <code>repeated .Changesets.Changeset changeset = 2;</code>
*/
return changesetBuilder_.getCount();
}
}
+
/**
* <code>repeated .Changesets.Changeset changeset = 2;</code>
*/
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();
}
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());
}
return this;
}
+
/**
* <code>repeated .Changesets.Changeset changeset = 2;</code>
*/
}
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();
}
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());
}
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());
}
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>
*/
}
return this;
}
+
/**
* <code>repeated .Changesets.Changeset changeset = 2;</code>
*/
}
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>
*
* </pre>
*/
public java.util.List<java.lang.Integer>
- getChangesetIndexByLineList() {
+ getChangesetIndexByLineList() {
return java.util.Collections.unmodifiableList(changesetIndexByLine_);
}
+
/**
* <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code>
*
public int getChangesetIndexByLineCount() {
return changesetIndexByLine_.size();
}
+
/**
* <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code>
*
public int getChangesetIndexByLine(int index) {
return changesetIndexByLine_.get(index);
}
+
/**
* <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code>
*
* </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>
*
onChanged();
return this;
}
+
/**
* <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code>
*
* </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>
*
}
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>
* </pre>
*/
boolean hasOtherFileRef();
+
/**
* <code>optional int32 other_file_ref = 1;</code>
*
* <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>
*/
* </pre>
*/
boolean hasOtherFileKey();
+
/**
* <code>optional string other_file_key = 3;</code>
*
* </pre>
*/
java.lang.String getOtherFileKey();
+
/**
* <code>optional string other_file_key = 3;</code>
*
* </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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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() {
private int bitField0_;
public static final int OTHER_FILE_REF_FIELD_NUMBER = 1;
private int otherFileRef_;
+
/**
* <code>optional int32 other_file_ref = 1;</code>
*
public boolean hasOtherFileRef() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+
/**
* <code>optional int32 other_file_ref = 1;</code>
*
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>
*/
public static final int OTHER_FILE_KEY_FIELD_NUMBER = 3;
private java.lang.Object otherFileKey_;
+
/**
* <code>optional string other_file_key = 3;</code>
*
public boolean hasOtherFileKey() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+
/**
* <code>optional string other_file_key = 3;</code>
*
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;
return s;
}
}
+
/**
* <code>optional string other_file_key = 3;</code>
*
* </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 {
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_);
}
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)) {
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplicate_descriptor;
}
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;
}
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());
}
}
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);
}
return this;
}
+
private int bitField0_;
- private int otherFileRef_ ;
+ private int otherFileRef_;
+
/**
* <code>optional int32 other_file_ref = 1;</code>
*
public boolean hasOtherFileRef() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+
/**
* <code>optional int32 other_file_ref = 1;</code>
*
public int getOtherFileRef() {
return otherFileRef_;
}
+
/**
* <code>optional int32 other_file_ref = 1;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional int32 other_file_ref = 1;</code>
*
}
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>
*/
return rangeBuilder_.getMessage();
}
}
+
/**
* <code>optional .Range range = 2;</code>
*/
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();
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 {
bitField0_ |= 0x00000002;
return this;
}
+
/**
* <code>optional .Range range = 2;</code>
*/
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
+
/**
* <code>optional .Range range = 2;</code>
*/
onChanged();
return getRangeFieldBuilder().getBuilder();
}
+
/**
* <code>optional .Range range = 2;</code>
*/
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>
*
public boolean hasOtherFileKey() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+
/**
* <code>optional string other_file_key = 3;</code>
*
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;
return (java.lang.String) ref;
}
}
+
/**
* <code>optional string other_file_key = 3;</code>
*
* </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>
*
* </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>
*
onChanged();
return this;
}
+
/**
* <code>optional string other_file_key = 3;</code>
*
* </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;
}
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>
* </pre>
*/
boolean hasOriginPosition();
+
/**
* <code>optional .Range origin_position = 1;</code>
*
* </pre>
*/
org.sonar.batch.protocol.output.BatchReport.Range getOriginPosition();
+
/**
* <code>optional .Range origin_position = 1;</code>
*
/**
* <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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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_);
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() {
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>
*
public boolean hasOriginPosition() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+
/**
* <code>optional .Range origin_position = 1;</code>
*
public org.sonar.batch.protocol.output.BatchReport.Range getOriginPosition() {
return originPosition_;
}
+
/**
* <code>optional .Range origin_position = 1;</code>
*
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);
}
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_);
}
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)) {
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplication_descriptor;
}
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;
}
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());
}
duplicateBuilder_ = null;
duplicate_ = other.duplicate_;
bitField0_ = (bitField0_ & ~0x00000002);
- duplicateBuilder_ =
+ duplicateBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getDuplicateFieldBuilder() : null;
+ getDuplicateFieldBuilder() : null;
} else {
duplicateBuilder_.addAllMessages(other.duplicate_);
}
}
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);
}
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>
*
public boolean hasOriginPosition() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+
/**
* <code>optional .Range origin_position = 1;</code>
*
return originPositionBuilder_.getMessage();
}
}
+
/**
* <code>optional .Range origin_position = 1;</code>
*
bitField0_ |= 0x00000001;
return this;
}
+
/**
* <code>optional .Range origin_position = 1;</code>
*
* </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();
bitField0_ |= 0x00000001;
return this;
}
+
/**
* <code>optional .Range origin_position = 1;</code>
*
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 {
bitField0_ |= 0x00000001;
return this;
}
+
/**
* <code>optional .Range origin_position = 1;</code>
*
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
+
/**
* <code>optional .Range origin_position = 1;</code>
*
onChanged();
return getOriginPositionFieldBuilder().getBuilder();
}
+
/**
* <code>optional .Range origin_position = 1;</code>
*
return originPosition_;
}
}
+
/**
* <code>optional .Range origin_position = 1;</code>
*
* </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_;
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>
return duplicateBuilder_.getMessageList();
}
}
+
/**
* <code>repeated .Duplicate duplicate = 2;</code>
*/
return duplicateBuilder_.getCount();
}
}
+
/**
* <code>repeated .Duplicate duplicate = 2;</code>
*/
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();
}
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());
}
return this;
}
+
/**
* <code>repeated .Duplicate duplicate = 2;</code>
*/
}
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();
}
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());
}
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());
}
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>
*/
}
return this;
}
+
/**
* <code>repeated .Duplicate duplicate = 2;</code>
*/
}
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_;
}
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>
*/
/**
* <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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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_);
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() {
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>
*/
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);
}
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_);
}
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)) {
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplications_descriptor;
}
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;
}
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());
}
duplicationBuilder_ = null;
duplication_ = other.duplication_;
bitField0_ = (bitField0_ & ~0x00000002);
- duplicationBuilder_ =
+ duplicationBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getDuplicationFieldBuilder() : null;
+ getDuplicationFieldBuilder() : null;
} else {
duplicationBuilder_.addAllMessages(other.duplication_);
}
}
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);
}
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 component_ref = 1;</code>
*/
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>
return duplicationBuilder_.getMessageList();
}
}
+
/**
* <code>repeated .Duplication duplication = 2;</code>
*/
return duplicationBuilder_.getCount();
}
}
+
/**
* <code>repeated .Duplication duplication = 2;</code>
*/
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();
}
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());
}
return this;
}
+
/**
* <code>repeated .Duplication duplication = 2;</code>
*/
}
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();
}
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());
}
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());
}
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>
*/
}
return this;
}
+
/**
* <code>repeated .Duplication duplication = 2;</code>
*/
}
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_;
}
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>
* </pre>
*/
boolean hasStartLine();
+
/**
* <code>optional int32 start_line = 1;</code>
*
* </pre>
*/
boolean hasEndLine();
+
/**
* <code>optional int32 end_line = 2;</code>
*
* </pre>
*/
boolean hasStartOffset();
+
/**
* <code>optional int32 start_offset = 3;</code>
*
* </pre>
*/
boolean hasEndOffset();
+
/**
* <code>optional int32 end_offset = 4;</code>
*
* </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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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() {
private int bitField0_;
public static final int START_LINE_FIELD_NUMBER = 1;
private int startLine_;
+
/**
* <code>optional int32 start_line = 1;</code>
*
public boolean hasStartLine() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+
/**
* <code>optional int32 start_line = 1;</code>
*
public static final int END_LINE_FIELD_NUMBER = 2;
private int endLine_;
+
/**
* <code>optional int32 end_line = 2;</code>
*
public boolean hasEndLine() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+
/**
* <code>optional int32 end_line = 2;</code>
*
public static final int START_OFFSET_FIELD_NUMBER = 3;
private int startOffset_;
+
/**
* <code>optional int32 start_offset = 3;</code>
*
public boolean hasStartOffset() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+
/**
* <code>optional int32 start_offset = 3;</code>
*
public static final int END_OFFSET_FIELD_NUMBER = 4;
private int endOffset_;
+
/**
* <code>optional int32 end_offset = 4;</code>
*
public boolean hasEndOffset() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+
/**
* <code>optional int32 end_offset = 4;</code>
*
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_);
}
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)) {
}
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}
*
* </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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Range_descriptor;
}
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;
}
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());
}
}
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);
}
return this;
}
+
private int bitField0_;
- private int startLine_ ;
+ private int startLine_;
+
/**
* <code>optional int32 start_line = 1;</code>
*
public boolean hasStartLine() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+
/**
* <code>optional int32 start_line = 1;</code>
*
public int getStartLine() {
return startLine_;
}
+
/**
* <code>optional int32 start_line = 1;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional int32 start_line = 1;</code>
*
return this;
}
- private int endLine_ ;
+ private int endLine_;
+
/**
* <code>optional int32 end_line = 2;</code>
*
public boolean hasEndLine() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+
/**
* <code>optional int32 end_line = 2;</code>
*
public int getEndLine() {
return endLine_;
}
+
/**
* <code>optional int32 end_line = 2;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional int32 end_line = 2;</code>
*
return this;
}
- private int startOffset_ ;
+ private int startOffset_;
+
/**
* <code>optional int32 start_offset = 3;</code>
*
public boolean hasStartOffset() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+
/**
* <code>optional int32 start_offset = 3;</code>
*
public int getStartOffset() {
return startOffset_;
}
+
/**
* <code>optional int32 start_offset = 3;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional int32 start_offset = 3;</code>
*
return this;
}
- private int endOffset_ ;
+ private int endOffset_;
+
/**
* <code>optional int32 end_offset = 4;</code>
*
public boolean hasEndOffset() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+
/**
* <code>optional int32 end_offset = 4;</code>
*
public int getEndOffset() {
return endOffset_;
}
+
/**
* <code>optional int32 end_offset = 4;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional int32 end_offset = 4;</code>
*
}
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>
*/
/**
* <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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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_);
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() {
}
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>
*/
/**
* <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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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_);
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() {
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>
*/
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);
}
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_);
}
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)) {
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_Symbol_descriptor;
}
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;
}
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());
}
referenceBuilder_ = null;
reference_ = other.reference_;
bitField0_ = (bitField0_ & ~0x00000002);
- referenceBuilder_ =
+ referenceBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getReferenceFieldBuilder() : null;
+ getReferenceFieldBuilder() : null;
} else {
referenceBuilder_.addAllMessages(other.reference_);
}
}
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);
}
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>
*/
return declarationBuilder_.getMessage();
}
}
+
/**
* <code>optional .Range declaration = 1;</code>
*/
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();
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 {
bitField0_ |= 0x00000001;
return this;
}
+
/**
* <code>optional .Range declaration = 1;</code>
*/
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
+
/**
* <code>optional .Range declaration = 1;</code>
*/
onChanged();
return getDeclarationFieldBuilder().getBuilder();
}
+
/**
* <code>optional .Range declaration = 1;</code>
*/
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_;
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>
return referenceBuilder_.getMessageList();
}
}
+
/**
* <code>repeated .Range reference = 2;</code>
*/
return referenceBuilder_.getCount();
}
}
+
/**
* <code>repeated .Range reference = 2;</code>
*/
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();
}
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());
}
return this;
}
+
/**
* <code>repeated .Range reference = 2;</code>
*/
}
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();
}
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());
}
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());
}
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>
*/
}
return this;
}
+
/**
* <code>repeated .Range reference = 2;</code>
*/
}
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_;
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>
*/
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);
}
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_);
}
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)) {
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_descriptor;
}
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;
}
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());
}
symbolBuilder_ = null;
symbol_ = other.symbol_;
bitField0_ = (bitField0_ & ~0x00000002);
- symbolBuilder_ =
+ symbolBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getSymbolFieldBuilder() : null;
+ getSymbolFieldBuilder() : null;
} else {
symbolBuilder_.addAllMessages(other.symbol_);
}
}
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);
}
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 file_ref = 1;</code>
*/
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>
return symbolBuilder_.getMessageList();
}
}
+
/**
* <code>repeated .Symbols.Symbol symbol = 2;</code>
*/
return symbolBuilder_.getCount();
}
}
+
/**
* <code>repeated .Symbols.Symbol symbol = 2;</code>
*/
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();
}
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());
}
return this;
}
+
/**
* <code>repeated .Symbols.Symbol symbol = 2;</code>
*/
}
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();
}
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());
}
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());
}
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>
*/
}
return this;
}
+
/**
* <code>repeated .Symbols.Symbol symbol = 2;</code>
*/
}
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_;
}
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>
*/
* </pre>
*/
boolean hasConditions();
+
/**
* <code>optional int32 conditions = 2;</code>
*
* </pre>
*/
boolean hasUtHits();
+
/**
* <code>optional bool ut_hits = 3;</code>
*
* </pre>
*/
boolean hasItHits();
+
/**
* <code>optional bool it_hits = 4;</code>
*
* </pre>
*/
boolean hasUtCoveredConditions();
+
/**
* <code>optional int32 ut_covered_conditions = 5;</code>
*
* </pre>
*/
boolean hasItCoveredConditions();
+
/**
* <code>optional int32 it_covered_conditions = 6;</code>
*
* </pre>
*/
boolean hasOverallCoveredConditions();
+
/**
* <code>optional int32 overall_covered_conditions = 7;</code>
*
* </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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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() {
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>
*/
public static final int CONDITIONS_FIELD_NUMBER = 2;
private int conditions_;
+
/**
* <code>optional int32 conditions = 2;</code>
*
public boolean hasConditions() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+
/**
* <code>optional int32 conditions = 2;</code>
*
public static final int UT_HITS_FIELD_NUMBER = 3;
private boolean utHits_;
+
/**
* <code>optional bool ut_hits = 3;</code>
*
public boolean hasUtHits() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+
/**
* <code>optional bool ut_hits = 3;</code>
*
public static final int IT_HITS_FIELD_NUMBER = 4;
private boolean itHits_;
+
/**
* <code>optional bool it_hits = 4;</code>
*
public boolean hasItHits() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+
/**
* <code>optional bool it_hits = 4;</code>
*
public static final int UT_COVERED_CONDITIONS_FIELD_NUMBER = 5;
private int utCoveredConditions_;
+
/**
* <code>optional int32 ut_covered_conditions = 5;</code>
*
public boolean hasUtCoveredConditions() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
+
/**
* <code>optional int32 ut_covered_conditions = 5;</code>
*
public static final int IT_COVERED_CONDITIONS_FIELD_NUMBER = 6;
private int itCoveredConditions_;
+
/**
* <code>optional int32 it_covered_conditions = 6;</code>
*
public boolean hasItCoveredConditions() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
+
/**
* <code>optional int32 it_covered_conditions = 6;</code>
*
public static final int OVERALL_COVERED_CONDITIONS_FIELD_NUMBER = 7;
private int overallCoveredConditions_;
+
/**
* <code>optional int32 overall_covered_conditions = 7;</code>
*
public boolean hasOverallCoveredConditions() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
+
/**
* <code>optional int32 overall_covered_conditions = 7;</code>
*
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_);
}
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)) {
}
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}
*
* </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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Coverage_descriptor;
}
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;
}
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());
}
}
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);
}
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 line = 1;</code>
*/
return this;
}
- private int conditions_ ;
+ private int conditions_;
+
/**
* <code>optional int32 conditions = 2;</code>
*
public boolean hasConditions() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+
/**
* <code>optional int32 conditions = 2;</code>
*
public int getConditions() {
return conditions_;
}
+
/**
* <code>optional int32 conditions = 2;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional int32 conditions = 2;</code>
*
return this;
}
- private boolean utHits_ ;
+ private boolean utHits_;
+
/**
* <code>optional bool ut_hits = 3;</code>
*
public boolean hasUtHits() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+
/**
* <code>optional bool ut_hits = 3;</code>
*
public boolean getUtHits() {
return utHits_;
}
+
/**
* <code>optional bool ut_hits = 3;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional bool ut_hits = 3;</code>
*
return this;
}
- private boolean itHits_ ;
+ private boolean itHits_;
+
/**
* <code>optional bool it_hits = 4;</code>
*
public boolean hasItHits() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+
/**
* <code>optional bool it_hits = 4;</code>
*
public boolean getItHits() {
return itHits_;
}
+
/**
* <code>optional bool it_hits = 4;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional bool it_hits = 4;</code>
*
return this;
}
- private int utCoveredConditions_ ;
+ private int utCoveredConditions_;
+
/**
* <code>optional int32 ut_covered_conditions = 5;</code>
*
public boolean hasUtCoveredConditions() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
+
/**
* <code>optional int32 ut_covered_conditions = 5;</code>
*
public int getUtCoveredConditions() {
return utCoveredConditions_;
}
+
/**
* <code>optional int32 ut_covered_conditions = 5;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional int32 ut_covered_conditions = 5;</code>
*
return this;
}
- private int itCoveredConditions_ ;
+ private int itCoveredConditions_;
+
/**
* <code>optional int32 it_covered_conditions = 6;</code>
*
public boolean hasItCoveredConditions() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
+
/**
* <code>optional int32 it_covered_conditions = 6;</code>
*
public int getItCoveredConditions() {
return itCoveredConditions_;
}
+
/**
* <code>optional int32 it_covered_conditions = 6;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional int32 it_covered_conditions = 6;</code>
*
return this;
}
- private int overallCoveredConditions_ ;
+ private int overallCoveredConditions_;
+
/**
* <code>optional int32 overall_covered_conditions = 7;</code>
*
public boolean hasOverallCoveredConditions() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
+
/**
* <code>optional int32 overall_covered_conditions = 7;</code>
*
public int getOverallCoveredConditions() {
return overallCoveredConditions_;
}
+
/**
* <code>optional int32 overall_covered_conditions = 7;</code>
*
onChanged();
return this;
}
+
/**
* <code>optional int32 overall_covered_conditions = 7;</code>
*
}
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>
*/
* <code>optional .HighlightingType type = 2;</code>
*/
boolean hasType();
+
/**
* <code>optional .HighlightingType type = 2;</code>
*/
* </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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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() {
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>
*/
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>
*/
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_);
}
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)) {
}
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}
*
* </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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_SyntaxHighlighting_descriptor;
}
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;
}
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());
}
}
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);
}
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>
*/
return rangeBuilder_.getMessage();
}
}
+
/**
* <code>optional .Range range = 1;</code>
*/
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();
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 {
bitField0_ |= 0x00000001;
return this;
}
+
/**
* <code>optional .Range range = 1;</code>
*/
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
+
/**
* <code>optional .Range range = 1;</code>
*/
onChanged();
return getRangeFieldBuilder().getBuilder();
}
+
/**
* <code>optional .Range range = 1;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional .HighlightingType type = 2;</code>
*/
}
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>
*/
* <code>optional int64 duration_in_ms = 3;</code>
*/
boolean hasDurationInMs();
+
/**
* <code>optional int64 duration_in_ms = 3;</code>
*/
* <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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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() {
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>
*/
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;
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 {
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>
*/
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>
*/
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>
*/
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;
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 {
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>
*/
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;
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 {
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());
}
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)) {
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Test_descriptor;
}
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;
}
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_;
}
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);
}
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>
*/
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;
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>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional .TestStatus status = 2;</code>
*/
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int64 duration_in_ms = 3;</code>
*/
}
private java.lang.Object stacktrace_ = "";
+
/**
* <code>optional string stacktrace = 4;</code>
*/
public boolean hasStacktrace() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+
/**
* <code>optional string stacktrace = 4;</code>
*/
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;
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>
*/
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>
*/
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;
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>
*/
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;
}
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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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_);
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() {
}
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>
*/
* <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>
*/
* 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;
}
}
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) {
break;
default: {
if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
+ extensionRegistry, tag)) {
done = true;
}
break;
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_);
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() {
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>
*/
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_);
}
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)) {
if (!getCoveredLineList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
- .computeInt32SizeNoTag(dataSize);
+ .computeInt32SizeNoTag(dataSize);
}
coveredLineMemoizedSerializedSize = dataSize;
}
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_CoveredFile_descriptor;
}
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;
}
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());
}
}
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);
}
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>
*/
onChanged();
return this;
}
+
/**
* <code>optional int32 file_ref = 1;</code>
*/
}
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>
*/
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>
*/
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>
*/
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;
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 {
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);
}
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());
}
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)) {
}
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()
}
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();
}
}
public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
+ getDescriptorForType() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_descriptor;
}
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;
}
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_;
coveredFileBuilder_ = null;
coveredFile_ = other.coveredFile_;
bitField0_ = (bitField0_ & ~0x00000002);
- coveredFileBuilder_ =
+ coveredFileBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getCoveredFileFieldBuilder() : null;
+ getCoveredFileFieldBuilder() : null;
} else {
coveredFileBuilder_.addAllMessages(other.coveredFile_);
}
}
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);
}
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>
*/
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;
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>
*/
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;
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>
return coveredFileBuilder_.getMessageList();
}
}
+
/**
* <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code>
*/
return coveredFileBuilder_.getCount();
}
}
+
/**
* <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code>
*/
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();
}
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());
}
return this;
}
+
/**
* <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code>
*/
}
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();
}
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());
}
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());
}
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>
*/
}
return this;
}
+
/**
* <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code>
*/
}
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) {
- return getCoveredFileFieldBuilder().addBuilder(
- 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() {
- 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() {
- 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());
- coveredFile_ = null;
- }
- return coveredFileBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:CoverageDetail)
- }
-
- static {
- defaultInstance = new CoverageDetail(true);
- defaultInstance.initFields();
- }
-
- // @@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>
+ * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</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());
+ public org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.Builder addCoveredFileBuilder(
+ int index) {
+ return getCoveredFileFieldBuilder().addBuilder(
+ index, org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile.getDefaultInstance());
}
+
/**
- * <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code>
+ * <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code>
*/
- public java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency.Builder>
- getDepBuilderList() {
- return getDepFieldBuilder().getBuilderList();
+ 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.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;
+ 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());
+ coveredFile_ = null;
}
- return depBuilder_;
+ return coveredFileBuilder_;
}
- // @@protoc_insertion_point(builder_scope:ModuleDependencies)
+ // @@protoc_insertion_point(builder_scope:CoverageDetail)
}
static {
- defaultInstance = new ModuleDependencies(true);
+ defaultInstance = new CoverageDetail(true);
defaultInstance.initFields();
}
- // @@protoc_insertion_point(class_scope:ModuleDependencies)
+ // @@protoc_insertion_point(class_scope:CoverageDetail)
}
- 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();
}