aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-09-28 14:14:35 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2015-09-30 16:28:08 +0200
commita23a7ec4f48244c193b48aec84127701618a31cc (patch)
tree60c76cbb7f6fc709c9ff98375f6f2c8c2d27928f /sonar-ws
parent80b9f52b80c5ae3fcc81b8b8cc3209000a886b7f (diff)
downloadsonarqube-a23a7ec4f48244c193b48aec84127701618a31cc.tar.gz
sonarqube-a23a7ec4f48244c193b48aec84127701618a31cc.zip
Revert "SONAR-6864 Rename WS batch/* to scanner/*"
This reverts commit a515be7cbe641e21805d9fa945bf13afc66c810c.
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/gen-java/org/sonarqube/ws/WsBatch.java (renamed from sonar-ws/src/main/gen-java/org/sonarqube/ws/WsScanner.java)456
-rw-r--r--sonar-ws/src/main/gen-java/org/sonarqube/ws/WsCe.java41
-rw-r--r--sonar-ws/src/main/protobuf/ws-batch.proto (renamed from sonar-ws/src/main/protobuf/ws-scanner.proto)4
3 files changed, 241 insertions, 260 deletions
diff --git a/sonar-ws/src/main/gen-java/org/sonarqube/ws/WsScanner.java b/sonar-ws/src/main/gen-java/org/sonarqube/ws/WsBatch.java
index e10798d639d..73a996bda27 100644
--- a/sonar-ws/src/main/gen-java/org/sonarqube/ws/WsScanner.java
+++ b/sonar-ws/src/main/gen-java/org/sonarqube/ws/WsBatch.java
@@ -1,10 +1,10 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: ws-scanner.proto
+// source: ws-batch.proto
package org.sonarqube.ws;
-public final class WsScanner {
- private WsScanner() {}
+public final class WsBatch {
+ private WsBatch() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
@@ -24,13 +24,13 @@ public final class WsScanner {
/**
* <code>map&lt;string, .sonarqube.ws.batch.WsProjectResponse.Settings&gt; settingsByModule = 2;</code>
*/
- java.util.Map<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings>
+ java.util.Map<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings>
getSettingsByModule();
/**
* <code>map&lt;string, .sonarqube.ws.batch.WsProjectResponse.FileDataByPath&gt; fileDataByModuleAndPath = 3;</code>
*/
- java.util.Map<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath>
+ java.util.Map<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath>
getFileDataByModuleAndPath();
/**
@@ -46,7 +46,7 @@ public final class WsScanner {
* Protobuf type {@code sonarqube.ws.batch.WsProjectResponse}
*
* <pre>
- * WS api/scanner/project
+ * WS api/batch/project
* </pre>
*/
public static final class WsProjectResponse extends
@@ -100,7 +100,7 @@ public final class WsScanner {
SettingsByModuleDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000002;
}
- com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings>
+ com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings>
settingsByModule = input.readMessage(
SettingsByModuleDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
settingsByModule_.getMutableMap().put(settingsByModule.getKey(), settingsByModule.getValue());
@@ -112,7 +112,7 @@ public final class WsScanner {
FileDataByModuleAndPathDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000004;
}
- com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath>
+ com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath>
fileDataByModuleAndPath = input.readMessage(
FileDataByModuleAndPathDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
fileDataByModuleAndPath_.getMutableMap().put(fileDataByModuleAndPath.getKey(), fileDataByModuleAndPath.getValue());
@@ -138,7 +138,7 @@ public final class WsScanner {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor;
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor;
}
@SuppressWarnings({"rawtypes"})
@@ -156,9 +156,9 @@ public final class WsScanner {
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_fieldAccessorTable
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- org.sonarqube.ws.WsScanner.WsProjectResponse.class, org.sonarqube.ws.WsScanner.WsProjectResponse.Builder.class);
+ org.sonarqube.ws.WsBatch.WsProjectResponse.class, org.sonarqube.ws.WsBatch.WsProjectResponse.Builder.class);
}
public interface SettingsOrBuilder extends
@@ -239,7 +239,7 @@ public final class WsScanner {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_descriptor;
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_descriptor;
}
@SuppressWarnings({"rawtypes"})
@@ -255,9 +255,9 @@ public final class WsScanner {
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_fieldAccessorTable
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- org.sonarqube.ws.WsScanner.WsProjectResponse.Settings.class, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings.Builder.class);
+ org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.class, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.Builder.class);
}
public static final int SETTINGS_FIELD_NUMBER = 1;
@@ -266,7 +266,7 @@ public final class WsScanner {
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, java.lang.String>newDefaultInstance(
- org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_SettingsEntry_descriptor,
+ org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_SettingsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
@@ -336,53 +336,53 @@ public final class WsScanner {
}
private static final long serialVersionUID = 0L;
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.Settings parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.Settings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.Settings parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.Settings parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.Settings parseFrom(byte[] data)
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.Settings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.Settings parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.Settings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.Settings parseFrom(java.io.InputStream input)
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.Settings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.Settings parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.Settings parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.Settings parseDelimitedFrom(java.io.InputStream input)
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.Settings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.Settings parseDelimitedFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.Settings parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.Settings parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.Settings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.Settings parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.Settings parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -393,7 +393,7 @@ public final class WsScanner {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(org.sonarqube.ws.WsScanner.WsProjectResponse.Settings prototype) {
+ public static Builder newBuilder(org.sonarqube.ws.WsBatch.WsProjectResponse.Settings prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
@@ -413,10 +413,10 @@ public final class WsScanner {
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.batch.WsProjectResponse.Settings)
- org.sonarqube.ws.WsScanner.WsProjectResponse.SettingsOrBuilder {
+ org.sonarqube.ws.WsBatch.WsProjectResponse.SettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_descriptor;
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_descriptor;
}
@SuppressWarnings({"rawtypes"})
@@ -443,12 +443,12 @@ public final class WsScanner {
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_fieldAccessorTable
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- org.sonarqube.ws.WsScanner.WsProjectResponse.Settings.class, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings.Builder.class);
+ org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.class, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.Builder.class);
}
- // Construct using org.sonarqube.ws.WsScanner.WsProjectResponse.Settings.newBuilder()
+ // Construct using org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -470,23 +470,23 @@ public final class WsScanner {
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_descriptor;
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_descriptor;
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse.Settings getDefaultInstanceForType() {
- return org.sonarqube.ws.WsScanner.WsProjectResponse.Settings.getDefaultInstance();
+ public org.sonarqube.ws.WsBatch.WsProjectResponse.Settings getDefaultInstanceForType() {
+ return org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.getDefaultInstance();
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse.Settings build() {
- org.sonarqube.ws.WsScanner.WsProjectResponse.Settings result = buildPartial();
+ public org.sonarqube.ws.WsBatch.WsProjectResponse.Settings build() {
+ org.sonarqube.ws.WsBatch.WsProjectResponse.Settings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse.Settings buildPartial() {
- org.sonarqube.ws.WsScanner.WsProjectResponse.Settings result = new org.sonarqube.ws.WsScanner.WsProjectResponse.Settings(this);
+ public org.sonarqube.ws.WsBatch.WsProjectResponse.Settings buildPartial() {
+ org.sonarqube.ws.WsBatch.WsProjectResponse.Settings result = new org.sonarqube.ws.WsBatch.WsProjectResponse.Settings(this);
int from_bitField0_ = bitField0_;
result.settings_ = internalGetSettings();
result.settings_.makeImmutable();
@@ -495,16 +495,16 @@ public final class WsScanner {
}
public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.sonarqube.ws.WsScanner.WsProjectResponse.Settings) {
- return mergeFrom((org.sonarqube.ws.WsScanner.WsProjectResponse.Settings)other);
+ if (other instanceof org.sonarqube.ws.WsBatch.WsProjectResponse.Settings) {
+ return mergeFrom((org.sonarqube.ws.WsBatch.WsProjectResponse.Settings)other);
} else {
super.mergeFrom(other);
return this;
}
}
- public Builder mergeFrom(org.sonarqube.ws.WsScanner.WsProjectResponse.Settings other) {
- if (other == org.sonarqube.ws.WsScanner.WsProjectResponse.Settings.getDefaultInstance()) return this;
+ public Builder mergeFrom(org.sonarqube.ws.WsBatch.WsProjectResponse.Settings other) {
+ if (other == org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.getDefaultInstance()) return this;
internalGetMutableSettings().mergeFrom(
other.internalGetSettings());
this.mergeUnknownFields(other.unknownFields);
@@ -520,11 +520,11 @@ public final class WsScanner {
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- org.sonarqube.ws.WsScanner.WsProjectResponse.Settings parsedMessage = null;
+ org.sonarqube.ws.WsBatch.WsProjectResponse.Settings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (org.sonarqube.ws.WsScanner.WsProjectResponse.Settings) e.getUnfinishedMessage();
+ parsedMessage = (org.sonarqube.ws.WsBatch.WsProjectResponse.Settings) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
@@ -575,12 +575,12 @@ public final class WsScanner {
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.batch.WsProjectResponse.Settings)
- private static final org.sonarqube.ws.WsScanner.WsProjectResponse.Settings DEFAULT_INSTANCE;
+ private static final org.sonarqube.ws.WsBatch.WsProjectResponse.Settings DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new org.sonarqube.ws.WsScanner.WsProjectResponse.Settings();
+ DEFAULT_INSTANCE = new org.sonarqube.ws.WsBatch.WsProjectResponse.Settings();
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.Settings getDefaultInstance() {
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.Settings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@@ -608,7 +608,7 @@ public final class WsScanner {
return PARSER;
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse.Settings getDefaultInstanceForType() {
+ public org.sonarqube.ws.WsBatch.WsProjectResponse.Settings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -621,7 +621,7 @@ public final class WsScanner {
/**
* <code>map&lt;string, .sonarqube.ws.batch.WsProjectResponse.FileData&gt; FileDataByPath = 1;</code>
*/
- java.util.Map<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData>
+ java.util.Map<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData>
getFileDataByPath();
}
/**
@@ -671,7 +671,7 @@ public final class WsScanner {
FileDataByPathDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000001;
}
- com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData>
+ com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData>
fileDataByPath = input.readMessage(
FileDataByPathDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
fileDataByPath_.getMutableMap().put(fileDataByPath.getKey(), fileDataByPath.getValue());
@@ -692,7 +692,7 @@ public final class WsScanner {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_descriptor;
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_descriptor;
}
@SuppressWarnings({"rawtypes"})
@@ -708,26 +708,26 @@ public final class WsScanner {
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_fieldAccessorTable
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath.class, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath.Builder.class);
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath.class, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath.Builder.class);
}
public static final int FILEDATABYPATH_FIELD_NUMBER = 1;
private static final class FileDataByPathDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
- java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData> defaultEntry =
+ java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData> defaultEntry =
com.google.protobuf.MapEntry
- .<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData>newDefaultInstance(
- org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_FileDataByPathEntry_descriptor,
+ .<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData>newDefaultInstance(
+ org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_FileDataByPathEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileData.getDefaultInstance());
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.getDefaultInstance());
}
private com.google.protobuf.MapField<
- java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData> fileDataByPath_;
- private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData>
+ java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData> fileDataByPath_;
+ private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData>
internalGetFileDataByPath() {
if (fileDataByPath_ == null) {
return com.google.protobuf.MapField.emptyMapField(
@@ -739,7 +739,7 @@ public final class WsScanner {
* <code>map&lt;string, .sonarqube.ws.batch.WsProjectResponse.FileData&gt; FileDataByPath = 1;</code>
*/
- public java.util.Map<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData> getFileDataByPath() {
+ public java.util.Map<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData> getFileDataByPath() {
return internalGetFileDataByPath().getMap();
}
@@ -755,9 +755,9 @@ public final class WsScanner {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- for (java.util.Map.Entry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData> entry
+ for (java.util.Map.Entry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData> entry
: internalGetFileDataByPath().getMap().entrySet()) {
- com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData>
+ com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData>
fileDataByPath = FileDataByPathDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
@@ -773,9 +773,9 @@ public final class WsScanner {
if (size != -1) return size;
size = 0;
- for (java.util.Map.Entry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData> entry
+ for (java.util.Map.Entry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData> entry
: internalGetFileDataByPath().getMap().entrySet()) {
- com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData>
+ com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData>
fileDataByPath = FileDataByPathDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
@@ -789,53 +789,53 @@ public final class WsScanner {
}
private static final long serialVersionUID = 0L;
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath parseFrom(byte[] data)
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath parseFrom(java.io.InputStream input)
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath parseDelimitedFrom(java.io.InputStream input)
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath parseDelimitedFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -846,7 +846,7 @@ public final class WsScanner {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath prototype) {
+ public static Builder newBuilder(org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
@@ -866,10 +866,10 @@ public final class WsScanner {
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.batch.WsProjectResponse.FileDataByPath)
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPathOrBuilder {
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPathOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_descriptor;
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_descriptor;
}
@SuppressWarnings({"rawtypes"})
@@ -896,12 +896,12 @@ public final class WsScanner {
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_fieldAccessorTable
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath.class, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath.Builder.class);
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath.class, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath.Builder.class);
}
- // Construct using org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath.newBuilder()
+ // Construct using org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -923,23 +923,23 @@ public final class WsScanner {
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_descriptor;
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_descriptor;
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath getDefaultInstanceForType() {
- return org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath.getDefaultInstance();
+ public org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath getDefaultInstanceForType() {
+ return org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath.getDefaultInstance();
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath build() {
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath result = buildPartial();
+ public org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath build() {
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath buildPartial() {
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath result = new org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath(this);
+ public org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath buildPartial() {
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath result = new org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath(this);
int from_bitField0_ = bitField0_;
result.fileDataByPath_ = internalGetFileDataByPath();
result.fileDataByPath_.makeImmutable();
@@ -948,16 +948,16 @@ public final class WsScanner {
}
public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath) {
- return mergeFrom((org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath)other);
+ if (other instanceof org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath) {
+ return mergeFrom((org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath)other);
} else {
super.mergeFrom(other);
return this;
}
}
- public Builder mergeFrom(org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath other) {
- if (other == org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath.getDefaultInstance()) return this;
+ public Builder mergeFrom(org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath other) {
+ if (other == org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath.getDefaultInstance()) return this;
internalGetMutableFileDataByPath().mergeFrom(
other.internalGetFileDataByPath());
this.mergeUnknownFields(other.unknownFields);
@@ -973,11 +973,11 @@ public final class WsScanner {
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath parsedMessage = null;
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath) e.getUnfinishedMessage();
+ parsedMessage = (org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
@@ -989,8 +989,8 @@ public final class WsScanner {
private int bitField0_;
private com.google.protobuf.MapField<
- java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData> fileDataByPath_;
- private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData>
+ java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData> fileDataByPath_;
+ private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData>
internalGetFileDataByPath() {
if (fileDataByPath_ == null) {
return com.google.protobuf.MapField.emptyMapField(
@@ -998,7 +998,7 @@ public final class WsScanner {
}
return fileDataByPath_;
}
- private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData>
+ private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData>
internalGetMutableFileDataByPath() {
onChanged();;
if (fileDataByPath_ == null) {
@@ -1013,13 +1013,13 @@ public final class WsScanner {
/**
* <code>map&lt;string, .sonarqube.ws.batch.WsProjectResponse.FileData&gt; FileDataByPath = 1;</code>
*/
- public java.util.Map<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData> getFileDataByPath() {
+ public java.util.Map<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData> getFileDataByPath() {
return internalGetFileDataByPath().getMap();
}
/**
* <code>map&lt;string, .sonarqube.ws.batch.WsProjectResponse.FileData&gt; FileDataByPath = 1;</code>
*/
- public java.util.Map<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData>
+ public java.util.Map<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData>
getMutableFileDataByPath() {
return internalGetMutableFileDataByPath().getMutableMap();
}
@@ -1028,12 +1028,12 @@ public final class WsScanner {
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.batch.WsProjectResponse.FileDataByPath)
- private static final org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath DEFAULT_INSTANCE;
+ private static final org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath();
+ DEFAULT_INSTANCE = new org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath();
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath getDefaultInstance() {
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@@ -1061,7 +1061,7 @@ public final class WsScanner {
return PARSER;
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath getDefaultInstanceForType() {
+ public org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -1169,14 +1169,14 @@ public final class WsScanner {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_descriptor;
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_fieldAccessorTable
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileData.class, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData.Builder.class);
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.class, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.Builder.class);
}
private int bitField0_;
@@ -1305,53 +1305,53 @@ public final class WsScanner {
}
private static final long serialVersionUID = 0L;
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileData parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileData parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileData parseFrom(byte[] data)
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileData parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileData parseFrom(java.io.InputStream input)
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileData parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileData parseDelimitedFrom(java.io.InputStream input)
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileData parseDelimitedFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileData parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileData parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileData parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -1362,7 +1362,7 @@ public final class WsScanner {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(org.sonarqube.ws.WsScanner.WsProjectResponse.FileData prototype) {
+ public static Builder newBuilder(org.sonarqube.ws.WsBatch.WsProjectResponse.FileData prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
@@ -1382,20 +1382,20 @@ public final class WsScanner {
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.batch.WsProjectResponse.FileData)
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataOrBuilder {
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_descriptor;
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_fieldAccessorTable
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileData.class, org.sonarqube.ws.WsScanner.WsProjectResponse.FileData.Builder.class);
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.class, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.Builder.class);
}
- // Construct using org.sonarqube.ws.WsScanner.WsProjectResponse.FileData.newBuilder()
+ // Construct using org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -1420,23 +1420,23 @@ public final class WsScanner {
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_descriptor;
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_descriptor;
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse.FileData getDefaultInstanceForType() {
- return org.sonarqube.ws.WsScanner.WsProjectResponse.FileData.getDefaultInstance();
+ public org.sonarqube.ws.WsBatch.WsProjectResponse.FileData getDefaultInstanceForType() {
+ return org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.getDefaultInstance();
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse.FileData build() {
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileData result = buildPartial();
+ public org.sonarqube.ws.WsBatch.WsProjectResponse.FileData build() {
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse.FileData buildPartial() {
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileData result = new org.sonarqube.ws.WsScanner.WsProjectResponse.FileData(this);
+ public org.sonarqube.ws.WsBatch.WsProjectResponse.FileData buildPartial() {
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileData result = new org.sonarqube.ws.WsBatch.WsProjectResponse.FileData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
@@ -1453,16 +1453,16 @@ public final class WsScanner {
}
public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.sonarqube.ws.WsScanner.WsProjectResponse.FileData) {
- return mergeFrom((org.sonarqube.ws.WsScanner.WsProjectResponse.FileData)other);
+ if (other instanceof org.sonarqube.ws.WsBatch.WsProjectResponse.FileData) {
+ return mergeFrom((org.sonarqube.ws.WsBatch.WsProjectResponse.FileData)other);
} else {
super.mergeFrom(other);
return this;
}
}
- public Builder mergeFrom(org.sonarqube.ws.WsScanner.WsProjectResponse.FileData other) {
- if (other == org.sonarqube.ws.WsScanner.WsProjectResponse.FileData.getDefaultInstance()) return this;
+ public Builder mergeFrom(org.sonarqube.ws.WsBatch.WsProjectResponse.FileData other) {
+ if (other == org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.getDefaultInstance()) return this;
if (other.hasHash()) {
bitField0_ |= 0x00000001;
hash_ = other.hash_;
@@ -1486,11 +1486,11 @@ public final class WsScanner {
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileData parsedMessage = null;
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (org.sonarqube.ws.WsScanner.WsProjectResponse.FileData) e.getUnfinishedMessage();
+ parsedMessage = (org.sonarqube.ws.WsBatch.WsProjectResponse.FileData) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
@@ -1657,12 +1657,12 @@ public final class WsScanner {
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.batch.WsProjectResponse.FileData)
- private static final org.sonarqube.ws.WsScanner.WsProjectResponse.FileData DEFAULT_INSTANCE;
+ private static final org.sonarqube.ws.WsBatch.WsProjectResponse.FileData DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new org.sonarqube.ws.WsScanner.WsProjectResponse.FileData();
+ DEFAULT_INSTANCE = new org.sonarqube.ws.WsBatch.WsProjectResponse.FileData();
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse.FileData getDefaultInstance() {
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@@ -1690,7 +1690,7 @@ public final class WsScanner {
return PARSER;
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse.FileData getDefaultInstanceForType() {
+ public org.sonarqube.ws.WsBatch.WsProjectResponse.FileData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -1715,18 +1715,18 @@ public final class WsScanner {
public static final int SETTINGSBYMODULE_FIELD_NUMBER = 2;
private static final class SettingsByModuleDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
- java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings> defaultEntry =
+ java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings> defaultEntry =
com.google.protobuf.MapEntry
- .<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings>newDefaultInstance(
- org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_SettingsByModuleEntry_descriptor,
+ .<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings>newDefaultInstance(
+ org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_SettingsByModuleEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
- org.sonarqube.ws.WsScanner.WsProjectResponse.Settings.getDefaultInstance());
+ org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.getDefaultInstance());
}
private com.google.protobuf.MapField<
- java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings> settingsByModule_;
- private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings>
+ java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings> settingsByModule_;
+ private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings>
internalGetSettingsByModule() {
if (settingsByModule_ == null) {
return com.google.protobuf.MapField.emptyMapField(
@@ -1738,25 +1738,25 @@ public final class WsScanner {
* <code>map&lt;string, .sonarqube.ws.batch.WsProjectResponse.Settings&gt; settingsByModule = 2;</code>
*/
- public java.util.Map<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings> getSettingsByModule() {
+ public java.util.Map<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings> getSettingsByModule() {
return internalGetSettingsByModule().getMap();
}
public static final int FILEDATABYMODULEANDPATH_FIELD_NUMBER = 3;
private static final class FileDataByModuleAndPathDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
- java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath> defaultEntry =
+ java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath> defaultEntry =
com.google.protobuf.MapEntry
- .<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath>newDefaultInstance(
- org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByModuleAndPathEntry_descriptor,
+ .<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath>newDefaultInstance(
+ org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByModuleAndPathEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
- org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath.getDefaultInstance());
+ org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath.getDefaultInstance());
}
private com.google.protobuf.MapField<
- java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath> fileDataByModuleAndPath_;
- private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath>
+ java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath> fileDataByModuleAndPath_;
+ private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath>
internalGetFileDataByModuleAndPath() {
if (fileDataByModuleAndPath_ == null) {
return com.google.protobuf.MapField.emptyMapField(
@@ -1768,7 +1768,7 @@ public final class WsScanner {
* <code>map&lt;string, .sonarqube.ws.batch.WsProjectResponse.FileDataByPath&gt; fileDataByModuleAndPath = 3;</code>
*/
- public java.util.Map<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath> getFileDataByModuleAndPath() {
+ public java.util.Map<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath> getFileDataByModuleAndPath() {
return internalGetFileDataByModuleAndPath().getMap();
}
@@ -1802,18 +1802,18 @@ public final class WsScanner {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, timestamp_);
}
- for (java.util.Map.Entry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings> entry
+ for (java.util.Map.Entry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings> entry
: internalGetSettingsByModule().getMap().entrySet()) {
- com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings>
+ com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings>
settingsByModule = SettingsByModuleDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
output.writeMessage(2, settingsByModule);
}
- for (java.util.Map.Entry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath> entry
+ for (java.util.Map.Entry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath> entry
: internalGetFileDataByModuleAndPath().getMap().entrySet()) {
- com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath>
+ com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath>
fileDataByModuleAndPath = FileDataByModuleAndPathDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
@@ -1836,9 +1836,9 @@ public final class WsScanner {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, timestamp_);
}
- for (java.util.Map.Entry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings> entry
+ for (java.util.Map.Entry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings> entry
: internalGetSettingsByModule().getMap().entrySet()) {
- com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings>
+ com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings>
settingsByModule = SettingsByModuleDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
@@ -1846,9 +1846,9 @@ public final class WsScanner {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, settingsByModule);
}
- for (java.util.Map.Entry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath> entry
+ for (java.util.Map.Entry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath> entry
: internalGetFileDataByModuleAndPath().getMap().entrySet()) {
- com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath>
+ com.google.protobuf.MapEntry<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath>
fileDataByModuleAndPath = FileDataByModuleAndPathDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
@@ -1866,53 +1866,53 @@ public final class WsScanner {
}
private static final long serialVersionUID = 0L;
- public static org.sonarqube.ws.WsScanner.WsProjectResponse parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse parseFrom(byte[] data)
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse parseFrom(java.io.InputStream input)
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse parseDelimitedFrom(java.io.InputStream input)
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse parseDelimitedFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse parseFrom(
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -1923,7 +1923,7 @@ public final class WsScanner {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(org.sonarqube.ws.WsScanner.WsProjectResponse prototype) {
+ public static Builder newBuilder(org.sonarqube.ws.WsBatch.WsProjectResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
@@ -1941,16 +1941,16 @@ public final class WsScanner {
* Protobuf type {@code sonarqube.ws.batch.WsProjectResponse}
*
* <pre>
- * WS api/scanner/project
+ * WS api/batch/project
* </pre>
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.batch.WsProjectResponse)
- org.sonarqube.ws.WsScanner.WsProjectResponseOrBuilder {
+ org.sonarqube.ws.WsBatch.WsProjectResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor;
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor;
}
@SuppressWarnings({"rawtypes"})
@@ -1981,12 +1981,12 @@ public final class WsScanner {
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_fieldAccessorTable
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- org.sonarqube.ws.WsScanner.WsProjectResponse.class, org.sonarqube.ws.WsScanner.WsProjectResponse.Builder.class);
+ org.sonarqube.ws.WsBatch.WsProjectResponse.class, org.sonarqube.ws.WsBatch.WsProjectResponse.Builder.class);
}
- // Construct using org.sonarqube.ws.WsScanner.WsProjectResponse.newBuilder()
+ // Construct using org.sonarqube.ws.WsBatch.WsProjectResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -2013,23 +2013,23 @@ public final class WsScanner {
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return org.sonarqube.ws.WsScanner.internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor;
+ return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor;
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse getDefaultInstanceForType() {
- return org.sonarqube.ws.WsScanner.WsProjectResponse.getDefaultInstance();
+ public org.sonarqube.ws.WsBatch.WsProjectResponse getDefaultInstanceForType() {
+ return org.sonarqube.ws.WsBatch.WsProjectResponse.getDefaultInstance();
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse build() {
- org.sonarqube.ws.WsScanner.WsProjectResponse result = buildPartial();
+ public org.sonarqube.ws.WsBatch.WsProjectResponse build() {
+ org.sonarqube.ws.WsBatch.WsProjectResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse buildPartial() {
- org.sonarqube.ws.WsScanner.WsProjectResponse result = new org.sonarqube.ws.WsScanner.WsProjectResponse(this);
+ public org.sonarqube.ws.WsBatch.WsProjectResponse buildPartial() {
+ org.sonarqube.ws.WsBatch.WsProjectResponse result = new org.sonarqube.ws.WsBatch.WsProjectResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
@@ -2050,16 +2050,16 @@ public final class WsScanner {
}
public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.sonarqube.ws.WsScanner.WsProjectResponse) {
- return mergeFrom((org.sonarqube.ws.WsScanner.WsProjectResponse)other);
+ if (other instanceof org.sonarqube.ws.WsBatch.WsProjectResponse) {
+ return mergeFrom((org.sonarqube.ws.WsBatch.WsProjectResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
- public Builder mergeFrom(org.sonarqube.ws.WsScanner.WsProjectResponse other) {
- if (other == org.sonarqube.ws.WsScanner.WsProjectResponse.getDefaultInstance()) return this;
+ public Builder mergeFrom(org.sonarqube.ws.WsBatch.WsProjectResponse other) {
+ if (other == org.sonarqube.ws.WsBatch.WsProjectResponse.getDefaultInstance()) return this;
if (other.hasTimestamp()) {
setTimestamp(other.getTimestamp());
}
@@ -2083,11 +2083,11 @@ public final class WsScanner {
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- org.sonarqube.ws.WsScanner.WsProjectResponse parsedMessage = null;
+ org.sonarqube.ws.WsBatch.WsProjectResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (org.sonarqube.ws.WsScanner.WsProjectResponse) e.getUnfinishedMessage();
+ parsedMessage = (org.sonarqube.ws.WsBatch.WsProjectResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
@@ -2131,8 +2131,8 @@ public final class WsScanner {
}
private com.google.protobuf.MapField<
- java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings> settingsByModule_;
- private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings>
+ java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings> settingsByModule_;
+ private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings>
internalGetSettingsByModule() {
if (settingsByModule_ == null) {
return com.google.protobuf.MapField.emptyMapField(
@@ -2140,7 +2140,7 @@ public final class WsScanner {
}
return settingsByModule_;
}
- private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings>
+ private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings>
internalGetMutableSettingsByModule() {
onChanged();;
if (settingsByModule_ == null) {
@@ -2155,20 +2155,20 @@ public final class WsScanner {
/**
* <code>map&lt;string, .sonarqube.ws.batch.WsProjectResponse.Settings&gt; settingsByModule = 2;</code>
*/
- public java.util.Map<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings> getSettingsByModule() {
+ public java.util.Map<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings> getSettingsByModule() {
return internalGetSettingsByModule().getMap();
}
/**
* <code>map&lt;string, .sonarqube.ws.batch.WsProjectResponse.Settings&gt; settingsByModule = 2;</code>
*/
- public java.util.Map<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.Settings>
+ public java.util.Map<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings>
getMutableSettingsByModule() {
return internalGetMutableSettingsByModule().getMutableMap();
}
private com.google.protobuf.MapField<
- java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath> fileDataByModuleAndPath_;
- private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath>
+ java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath> fileDataByModuleAndPath_;
+ private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath>
internalGetFileDataByModuleAndPath() {
if (fileDataByModuleAndPath_ == null) {
return com.google.protobuf.MapField.emptyMapField(
@@ -2176,7 +2176,7 @@ public final class WsScanner {
}
return fileDataByModuleAndPath_;
}
- private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath>
+ private com.google.protobuf.MapField<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath>
internalGetMutableFileDataByModuleAndPath() {
onChanged();;
if (fileDataByModuleAndPath_ == null) {
@@ -2191,13 +2191,13 @@ public final class WsScanner {
/**
* <code>map&lt;string, .sonarqube.ws.batch.WsProjectResponse.FileDataByPath&gt; fileDataByModuleAndPath = 3;</code>
*/
- public java.util.Map<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath> getFileDataByModuleAndPath() {
+ public java.util.Map<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath> getFileDataByModuleAndPath() {
return internalGetFileDataByModuleAndPath().getMap();
}
/**
* <code>map&lt;string, .sonarqube.ws.batch.WsProjectResponse.FileDataByPath&gt; fileDataByModuleAndPath = 3;</code>
*/
- public java.util.Map<java.lang.String, org.sonarqube.ws.WsScanner.WsProjectResponse.FileDataByPath>
+ public java.util.Map<java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath>
getMutableFileDataByModuleAndPath() {
return internalGetMutableFileDataByModuleAndPath().getMutableMap();
}
@@ -2238,12 +2238,12 @@ public final class WsScanner {
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.batch.WsProjectResponse)
- private static final org.sonarqube.ws.WsScanner.WsProjectResponse DEFAULT_INSTANCE;
+ private static final org.sonarqube.ws.WsBatch.WsProjectResponse DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new org.sonarqube.ws.WsScanner.WsProjectResponse();
+ DEFAULT_INSTANCE = new org.sonarqube.ws.WsBatch.WsProjectResponse();
}
- public static org.sonarqube.ws.WsScanner.WsProjectResponse getDefaultInstance() {
+ public static org.sonarqube.ws.WsBatch.WsProjectResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@@ -2271,7 +2271,7 @@ public final class WsScanner {
return PARSER;
}
- public org.sonarqube.ws.WsScanner.WsProjectResponse getDefaultInstanceForType() {
+ public org.sonarqube.ws.WsBatch.WsProjectResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -2326,30 +2326,30 @@ public final class WsScanner {
descriptor;
static {
java.lang.String[] descriptorData = {
- "\n\020ws-scanner.proto\022\022sonarqube.ws.batch\"\361" +
- "\006\n\021WsProjectResponse\022\021\n\ttimestamp\030\001 \001(\003\022" +
- "U\n\020settingsByModule\030\002 \003(\0132;.sonarqube.ws" +
- ".batch.WsProjectResponse.SettingsByModul" +
- "eEntry\022c\n\027fileDataByModuleAndPath\030\003 \003(\0132" +
- "B.sonarqube.ws.batch.WsProjectResponse.F" +
- "ileDataByModuleAndPathEntry\022\030\n\020lastAnaly" +
- "sisDate\030\004 \001(\003\032g\n\025SettingsByModuleEntry\022\013" +
- "\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001(\0132..sonarqube.w" +
- "s.batch.WsProjectResponse.Settings:\0028\001\032t",
- "\n\034FileDataByModuleAndPathEntry\022\013\n\003key\030\001 " +
- "\001(\t\022C\n\005value\030\002 \001(\01324.sonarqube.ws.batch." +
- "WsProjectResponse.FileDataByPath:\0028\001\032\213\001\n" +
- "\010Settings\022N\n\010settings\030\001 \003(\0132<.sonarqube." +
- "ws.batch.WsProjectResponse.Settings.Sett" +
- "ingsEntry\032/\n\rSettingsEntry\022\013\n\003key\030\001 \001(\t\022" +
- "\r\n\005value\030\002 \001(\t:\0028\001\032\331\001\n\016FileDataByPath\022`\n" +
- "\016FileDataByPath\030\001 \003(\0132H.sonarqube.ws.bat" +
- "ch.WsProjectResponse.FileDataByPath.File" +
- "DataByPathEntry\032e\n\023FileDataByPathEntry\022\013",
- "\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001(\0132..sonarqube.w" +
- "s.batch.WsProjectResponse.FileData:\0028\001\032*" +
- "\n\010FileData\022\014\n\004hash\030\001 \001(\t\022\020\n\010revision\030\002 \001" +
- "(\tB\037\n\020org.sonarqube.wsB\tWsScannerH\001"
+ "\n\016ws-batch.proto\022\022sonarqube.ws.batch\"\361\006\n" +
+ "\021WsProjectResponse\022\021\n\ttimestamp\030\001 \001(\003\022U\n" +
+ "\020settingsByModule\030\002 \003(\0132;.sonarqube.ws.b" +
+ "atch.WsProjectResponse.SettingsByModuleE" +
+ "ntry\022c\n\027fileDataByModuleAndPath\030\003 \003(\0132B." +
+ "sonarqube.ws.batch.WsProjectResponse.Fil" +
+ "eDataByModuleAndPathEntry\022\030\n\020lastAnalysi" +
+ "sDate\030\004 \001(\003\032g\n\025SettingsByModuleEntry\022\013\n\003" +
+ "key\030\001 \001(\t\022=\n\005value\030\002 \001(\0132..sonarqube.ws." +
+ "batch.WsProjectResponse.Settings:\0028\001\032t\n\034",
+ "FileDataByModuleAndPathEntry\022\013\n\003key\030\001 \001(" +
+ "\t\022C\n\005value\030\002 \001(\01324.sonarqube.ws.batch.Ws" +
+ "ProjectResponse.FileDataByPath:\0028\001\032\213\001\n\010S" +
+ "ettings\022N\n\010settings\030\001 \003(\0132<.sonarqube.ws" +
+ ".batch.WsProjectResponse.Settings.Settin" +
+ "gsEntry\032/\n\rSettingsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" +
+ "\005value\030\002 \001(\t:\0028\001\032\331\001\n\016FileDataByPath\022`\n\016F" +
+ "ileDataByPath\030\001 \003(\0132H.sonarqube.ws.batch" +
+ ".WsProjectResponse.FileDataByPath.FileDa" +
+ "taByPathEntry\032e\n\023FileDataByPathEntry\022\013\n\003",
+ "key\030\001 \001(\t\022=\n\005value\030\002 \001(\0132..sonarqube.ws." +
+ "batch.WsProjectResponse.FileData:\0028\001\032*\n\010" +
+ "FileData\022\014\n\004hash\030\001 \001(\t\022\020\n\010revision\030\002 \001(\t" +
+ "B\035\n\020org.sonarqube.wsB\007WsBatchH\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
diff --git a/sonar-ws/src/main/gen-java/org/sonarqube/ws/WsCe.java b/sonar-ws/src/main/gen-java/org/sonarqube/ws/WsCe.java
index 630ac930185..201805b6698 100644
--- a/sonar-ws/src/main/gen-java/org/sonarqube/ws/WsCe.java
+++ b/sonar-ws/src/main/gen-java/org/sonarqube/ws/WsCe.java
@@ -3824,23 +3824,20 @@ public final class WsCe {
* <code>optional string executedAt = 10;</code>
*/
boolean hasExecutedAt();
-
/**
* <code>optional string executedAt = 10;</code>
*/
java.lang.String getExecutedAt();
-
/**
* <code>optional string executedAt = 10;</code>
*/
com.google.protobuf.ByteString
- getExecutedAtBytes();
+ getExecutedAtBytes();
/**
* <code>optional bool isLastExecuted = 11;</code>
*/
boolean hasIsLastExecuted();
-
/**
* <code>optional bool isLastExecuted = 11;</code>
*/
@@ -4378,14 +4375,12 @@ public final class WsCe {
public static final int EXECUTEDAT_FIELD_NUMBER = 10;
private volatile java.lang.Object executedAt_;
-
/**
* <code>optional string executedAt = 10;</code>
*/
public boolean hasExecutedAt() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
-
/**
* <code>optional string executedAt = 10;</code>
*/
@@ -4403,12 +4398,11 @@ public final class WsCe {
return s;
}
}
-
/**
* <code>optional string executedAt = 10;</code>
*/
public com.google.protobuf.ByteString
- getExecutedAtBytes() {
+ getExecutedAtBytes() {
java.lang.Object ref = executedAt_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
@@ -4423,14 +4417,12 @@ public final class WsCe {
public static final int ISLASTEXECUTED_FIELD_NUMBER = 11;
private boolean isLastExecuted_;
-
/**
* <code>optional bool isLastExecuted = 11;</code>
*/
public boolean hasIsLastExecuted() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
-
/**
* <code>optional bool isLastExecuted = 11;</code>
*/
@@ -5540,14 +5532,12 @@ public final class WsCe {
}
private java.lang.Object executedAt_ = "";
-
/**
* <code>optional string executedAt = 10;</code>
*/
public boolean hasExecutedAt() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
-
/**
* <code>optional string executedAt = 10;</code>
*/
@@ -5565,12 +5555,11 @@ public final class WsCe {
return (java.lang.String) ref;
}
}
-
/**
* <code>optional string executedAt = 10;</code>
*/
public com.google.protobuf.ByteString
- getExecutedAtBytes() {
+ getExecutedAtBytes() {
java.lang.Object ref = executedAt_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
@@ -5582,7 +5571,6 @@ public final class WsCe {
return (com.google.protobuf.ByteString) ref;
}
}
-
/**
* <code>optional string executedAt = 10;</code>
*/
@@ -5596,7 +5584,6 @@ public final class WsCe {
onChanged();
return this;
}
-
/**
* <code>optional string executedAt = 10;</code>
*/
@@ -5606,7 +5593,6 @@ public final class WsCe {
onChanged();
return this;
}
-
/**
* <code>optional string executedAt = 10;</code>
*/
@@ -5621,22 +5607,19 @@ public final class WsCe {
return this;
}
- private boolean isLastExecuted_;
-
+ private boolean isLastExecuted_ ;
/**
* <code>optional bool isLastExecuted = 11;</code>
*/
public boolean hasIsLastExecuted() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
-
/**
* <code>optional bool isLastExecuted = 11;</code>
*/
public boolean getIsLastExecuted() {
return isLastExecuted_;
}
-
/**
* <code>optional bool isLastExecuted = 11;</code>
*/
@@ -5646,7 +5629,6 @@ public final class WsCe {
onChanged();
return this;
}
-
/**
* <code>optional bool isLastExecuted = 11;</code>
*/
@@ -5689,7 +5671,7 @@ public final class WsCe {
return this;
}
- private boolean logs_;
+ private boolean logs_ ;
/**
* <code>optional bool logs = 13;</code>
*/
@@ -5818,11 +5800,11 @@ public final class WsCe {
"ey\030\004 \001(\t\022\025\n\rcomponentName\030\005 \001(\t\022+\n\006statu" +
"s\030\006 \001(\0162\033.sonarqube.ws.ce.TaskStatus\022\023\n\013" +
"submittedAt\030\007 \001(\t\022\026\n\016submitterLogin\030\010 \001(" +
- "\t\022\021\n\tstartedAt\030\t \001(\t\022\022\n\nexecutedAt\030\n \001(\t" +
- "\022\026\n\016isLastExecuted\030\013 \001(\010\022\027\n\017executionTim" +
- "eMs\030\014 \001(\003\022\014\n\004logs\030\r \001(\010*Q\n\nTaskStatus\022\013\n" +
- "\007PENDING\020\000\022\017\n\013IN_PROGRESS\020\001\022\013\n\007SUCCESS\020\002" +
- "\022\n\n\006FAILED\020\003\022\014\n\010CANCELED\020\004B\032\n\020org.sonarq",
+ "\t\022\021\n\tstartedAt\030\t \001(\t\022\022\n\nexecutedAt\030\n \001(\t" +
+ "\022\026\n\016isLastExecuted\030\013 \001(\010\022\027\n\017executionTim" +
+ "eMs\030\014 \001(\003\022\014\n\004logs\030\r \001(\010*Q\n\nTaskStatus\022\013\n" +
+ "\007PENDING\020\000\022\017\n\013IN_PROGRESS\020\001\022\013\n\007SUCCESS\020\002" +
+ "\022\n\n\006FAILED\020\003\022\014\n\010CANCELED\020\004B\032\n\020org.sonarq",
"ube.wsB\004WsCeH\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
@@ -5873,8 +5855,7 @@ public final class WsCe {
internal_static_sonarqube_ws_ce_Task_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_ce_Task_descriptor,
- new java.lang.String[] {"Id", "Type", "ComponentId", "ComponentKey", "ComponentName", "Status", "SubmittedAt", "SubmitterLogin", "StartedAt", "ExecutedAt", "IsLastExecuted",
- "ExecutionTimeMs", "Logs",});
+ new java.lang.String[] { "Id", "Type", "ComponentId", "ComponentKey", "ComponentName", "Status", "SubmittedAt", "SubmitterLogin", "StartedAt", "ExecutedAt", "IsLastExecuted", "ExecutionTimeMs", "Logs", });
org.sonarqube.ws.Common.getDescriptor();
}
diff --git a/sonar-ws/src/main/protobuf/ws-scanner.proto b/sonar-ws/src/main/protobuf/ws-batch.proto
index 46679d0173f..d6d050668a0 100644
--- a/sonar-ws/src/main/protobuf/ws-scanner.proto
+++ b/sonar-ws/src/main/protobuf/ws-batch.proto
@@ -21,11 +21,11 @@ syntax = "proto2";
package sonarqube.ws.batch;
option java_package = "org.sonarqube.ws";
-option java_outer_classname = "WsScanner";
+option java_outer_classname = "WsBatch";
option optimize_for = SPEED;
-// WS api/scanner/project
+// WS api/batch/project
message WsProjectResponse {
optional int64 timestamp = 1;
map<string, Settings> settingsByModule = 2;