
org.sonarqube.ws.WsBatch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-ws Show documentation
Show all versions of sonar-ws Show documentation
Open source platform for continuous inspection of code quality
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ws-batch.proto
package org.sonarqube.ws;
public final class WsBatch {
private WsBatch() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface WsProjectResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:sonarqube.ws.batch.WsProjectResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional int64 timestamp = 1;
*/
boolean hasTimestamp();
/**
* optional int64 timestamp = 1;
*/
long getTimestamp();
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.Settings> settingsByModule = 2;
*/
java.util.Map
getSettingsByModule();
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.FileDataByPath> fileDataByModuleAndPath = 3;
*/
java.util.Map
getFileDataByModuleAndPath();
/**
* optional int64 lastAnalysisDate = 4;
*/
boolean hasLastAnalysisDate();
/**
* optional int64 lastAnalysisDate = 4;
*/
long getLastAnalysisDate();
}
/**
* Protobuf type {@code sonarqube.ws.batch.WsProjectResponse}
*
*
* WS batch/project
*
*/
public static final class WsProjectResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:sonarqube.ws.batch.WsProjectResponse)
WsProjectResponseOrBuilder {
// Use WsProjectResponse.newBuilder() to construct.
private WsProjectResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private WsProjectResponse() {
timestamp_ = 0L;
lastAnalysisDate_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WsProjectResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
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;
timestamp_ = input.readInt64();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
settingsByModule_ = com.google.protobuf.MapField.newMapField(
SettingsByModuleDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000002;
}
com.google.protobuf.MapEntry
settingsByModule = input.readMessage(
SettingsByModuleDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
settingsByModule_.getMutableMap().put(settingsByModule.getKey(), settingsByModule.getValue());
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
fileDataByModuleAndPath_ = com.google.protobuf.MapField.newMapField(
FileDataByModuleAndPathDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000004;
}
com.google.protobuf.MapEntry
fileDataByModuleAndPath = input.readMessage(
FileDataByModuleAndPathDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
fileDataByModuleAndPath_.getMutableMap().put(fileDataByModuleAndPath.getKey(), fileDataByModuleAndPath.getValue());
break;
}
case 32: {
bitField0_ |= 0x00000002;
lastAnalysisDate_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 2:
return internalGetSettingsByModule();
case 3:
return internalGetFileDataByModuleAndPath();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsBatch.WsProjectResponse.class, org.sonarqube.ws.WsBatch.WsProjectResponse.Builder.class);
}
public interface SettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:sonarqube.ws.batch.WsProjectResponse.Settings)
com.google.protobuf.MessageOrBuilder {
/**
* map<string, string> settings = 1;
*/
java.util.Map
getSettings();
}
/**
* Protobuf type {@code sonarqube.ws.batch.WsProjectResponse.Settings}
*/
public static final class Settings extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:sonarqube.ws.batch.WsProjectResponse.Settings)
SettingsOrBuilder {
// Use Settings.newBuilder() to construct.
private Settings(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private Settings() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Settings(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
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)) {
settings_ = com.google.protobuf.MapField.newMapField(
SettingsDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry
settings = input.readMessage(
SettingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
settings_.getMutableMap().put(settings.getKey(), settings.getValue());
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetSettings();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.class, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.Builder.class);
}
public static final int SETTINGS_FIELD_NUMBER = 1;
private static final class SettingsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
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,
"");
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> settings_;
private com.google.protobuf.MapField
internalGetSettings() {
if (settings_ == null) {
return com.google.protobuf.MapField.emptyMapField(
SettingsDefaultEntryHolder.defaultEntry);
}
return settings_;
}
/**
* map<string, string> settings = 1;
*/
public java.util.Map getSettings() {
return internalGetSettings().getMap();
}
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 {
for (java.util.Map.Entry entry
: internalGetSettings().getMap().entrySet()) {
com.google.protobuf.MapEntry
settings = SettingsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
output.writeMessage(1, settings);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry entry
: internalGetSettings().getMap().entrySet()) {
com.google.protobuf.MapEntry
settings = SettingsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, settings);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
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.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.WsBatch.WsProjectResponse.Settings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
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.WsBatch.WsProjectResponse.Settings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
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.WsBatch.WsProjectResponse.Settings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
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.WsBatch.WsProjectResponse.Settings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsBatch.WsProjectResponse.Settings parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.sonarqube.ws.WsBatch.WsProjectResponse.Settings prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code sonarqube.ws.batch.WsProjectResponse.Settings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.batch.WsProjectResponse.Settings)
org.sonarqube.ws.WsBatch.WsProjectResponse.SettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetSettings();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
return internalGetMutableSettings();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.class, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.Builder.class);
}
// Construct using org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
internalGetMutableSettings().clear();
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_descriptor;
}
public org.sonarqube.ws.WsBatch.WsProjectResponse.Settings getDefaultInstanceForType() {
return org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.getDefaultInstance();
}
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.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();
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message 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.WsBatch.WsProjectResponse.Settings other) {
if (other == org.sonarqube.ws.WsBatch.WsProjectResponse.Settings.getDefaultInstance()) return this;
internalGetMutableSettings().mergeFrom(
other.internalGetSettings());
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.sonarqube.ws.WsBatch.WsProjectResponse.Settings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonarqube.ws.WsBatch.WsProjectResponse.Settings) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> settings_;
private com.google.protobuf.MapField
internalGetSettings() {
if (settings_ == null) {
return com.google.protobuf.MapField.emptyMapField(
SettingsDefaultEntryHolder.defaultEntry);
}
return settings_;
}
private com.google.protobuf.MapField
internalGetMutableSettings() {
onChanged();;
if (settings_ == null) {
settings_ = com.google.protobuf.MapField.newMapField(
SettingsDefaultEntryHolder.defaultEntry);
}
if (!settings_.isMutable()) {
settings_ = settings_.copy();
}
return settings_;
}
/**
* map<string, string> settings = 1;
*/
public java.util.Map getSettings() {
return internalGetSettings().getMap();
}
/**
* map<string, string> settings = 1;
*/
public java.util.Map
getMutableSettings() {
return internalGetMutableSettings().getMutableMap();
}
/**
* map<string, string> settings = 1;
*/
public Builder putAllSettings(
java.util.Map values) {
getMutableSettings().putAll(values);
return this;
}
// @@protoc_insertion_point(builder_scope:sonarqube.ws.batch.WsProjectResponse.Settings)
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.batch.WsProjectResponse.Settings)
private static final org.sonarqube.ws.WsBatch.WsProjectResponse.Settings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonarqube.ws.WsBatch.WsProjectResponse.Settings();
}
public static org.sonarqube.ws.WsBatch.WsProjectResponse.Settings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Settings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new Settings(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
com.google.protobuf.InvalidProtocolBufferException) {
throw (com.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.sonarqube.ws.WsBatch.WsProjectResponse.Settings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FileDataByPathOrBuilder extends
// @@protoc_insertion_point(interface_extends:sonarqube.ws.batch.WsProjectResponse.FileDataByPath)
com.google.protobuf.MessageOrBuilder {
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.FileData> FileDataByPath = 1;
*/
java.util.Map
getFileDataByPath();
}
/**
* Protobuf type {@code sonarqube.ws.batch.WsProjectResponse.FileDataByPath}
*/
public static final class FileDataByPath extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:sonarqube.ws.batch.WsProjectResponse.FileDataByPath)
FileDataByPathOrBuilder {
// Use FileDataByPath.newBuilder() to construct.
private FileDataByPath(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private FileDataByPath() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FileDataByPath(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
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)) {
fileDataByPath_ = com.google.protobuf.MapField.newMapField(
FileDataByPathDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry
fileDataByPath = input.readMessage(
FileDataByPathDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
fileDataByPath_.getMutableMap().put(fileDataByPath.getKey(), fileDataByPath.getValue());
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetFileDataByPath();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_fieldAccessorTable
.ensureFieldAccessorsInitialized(
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.WsBatch.WsProjectResponse.FileData> defaultEntry =
com.google.protobuf.MapEntry
.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.WsBatch.WsProjectResponse.FileData.getDefaultInstance());
}
private com.google.protobuf.MapField<
java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData> fileDataByPath_;
private com.google.protobuf.MapField
internalGetFileDataByPath() {
if (fileDataByPath_ == null) {
return com.google.protobuf.MapField.emptyMapField(
FileDataByPathDefaultEntryHolder.defaultEntry);
}
return fileDataByPath_;
}
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.FileData> FileDataByPath = 1;
*/
public java.util.Map getFileDataByPath() {
return internalGetFileDataByPath().getMap();
}
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 {
for (java.util.Map.Entry entry
: internalGetFileDataByPath().getMap().entrySet()) {
com.google.protobuf.MapEntry
fileDataByPath = FileDataByPathDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
output.writeMessage(1, fileDataByPath);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry entry
: internalGetFileDataByPath().getMap().entrySet()) {
com.google.protobuf.MapEntry
fileDataByPath = FileDataByPathDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, fileDataByPath);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
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.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.WsBatch.WsProjectResponse.FileDataByPath parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
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.WsBatch.WsProjectResponse.FileDataByPath parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
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.WsBatch.WsProjectResponse.FileDataByPath parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
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.WsBatch.WsProjectResponse.FileDataByPath parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code sonarqube.ws.batch.WsProjectResponse.FileDataByPath}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.batch.WsProjectResponse.FileDataByPath)
org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPathOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetFileDataByPath();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
return internalGetMutableFileDataByPath();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath.class, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath.Builder.class);
}
// Construct using org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
internalGetMutableFileDataByPath().clear();
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_descriptor;
}
public org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath getDefaultInstanceForType() {
return org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath.getDefaultInstance();
}
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.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();
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message 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.WsBatch.WsProjectResponse.FileDataByPath other) {
if (other == org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath.getDefaultInstance()) return this;
internalGetMutableFileDataByPath().mergeFrom(
other.internalGetFileDataByPath());
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.MapField<
java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData> fileDataByPath_;
private com.google.protobuf.MapField
internalGetFileDataByPath() {
if (fileDataByPath_ == null) {
return com.google.protobuf.MapField.emptyMapField(
FileDataByPathDefaultEntryHolder.defaultEntry);
}
return fileDataByPath_;
}
private com.google.protobuf.MapField
internalGetMutableFileDataByPath() {
onChanged();;
if (fileDataByPath_ == null) {
fileDataByPath_ = com.google.protobuf.MapField.newMapField(
FileDataByPathDefaultEntryHolder.defaultEntry);
}
if (!fileDataByPath_.isMutable()) {
fileDataByPath_ = fileDataByPath_.copy();
}
return fileDataByPath_;
}
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.FileData> FileDataByPath = 1;
*/
public java.util.Map getFileDataByPath() {
return internalGetFileDataByPath().getMap();
}
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.FileData> FileDataByPath = 1;
*/
public java.util.Map
getMutableFileDataByPath() {
return internalGetMutableFileDataByPath().getMutableMap();
}
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.FileData> FileDataByPath = 1;
*/
public Builder putAllFileDataByPath(
java.util.Map values) {
getMutableFileDataByPath().putAll(values);
return this;
}
// @@protoc_insertion_point(builder_scope:sonarqube.ws.batch.WsProjectResponse.FileDataByPath)
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.batch.WsProjectResponse.FileDataByPath)
private static final org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath();
}
public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public FileDataByPath parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new FileDataByPath(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
com.google.protobuf.InvalidProtocolBufferException) {
throw (com.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FileDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:sonarqube.ws.batch.WsProjectResponse.FileData)
com.google.protobuf.MessageOrBuilder {
/**
* optional string hash = 1;
*/
boolean hasHash();
/**
* optional string hash = 1;
*/
java.lang.String getHash();
/**
* optional string hash = 1;
*/
com.google.protobuf.ByteString
getHashBytes();
/**
* optional string revision = 2;
*/
boolean hasRevision();
/**
* optional string revision = 2;
*/
java.lang.String getRevision();
/**
* optional string revision = 2;
*/
com.google.protobuf.ByteString
getRevisionBytes();
}
/**
* Protobuf type {@code sonarqube.ws.batch.WsProjectResponse.FileData}
*/
public static final class FileData extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:sonarqube.ws.batch.WsProjectResponse.FileData)
FileDataOrBuilder {
// Use FileData.newBuilder() to construct.
private FileData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private FileData() {
hash_ = "";
revision_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FileData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
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;
hash_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
revision_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.class, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.Builder.class);
}
private int bitField0_;
public static final int HASH_FIELD_NUMBER = 1;
private volatile java.lang.Object hash_;
/**
* optional string hash = 1;
*/
public boolean hasHash() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string hash = 1;
*/
public java.lang.String getHash() {
java.lang.Object ref = hash_;
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()) {
hash_ = s;
}
return s;
}
}
/**
* optional string hash = 1;
*/
public com.google.protobuf.ByteString
getHashBytes() {
java.lang.Object ref = hash_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hash_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REVISION_FIELD_NUMBER = 2;
private volatile java.lang.Object revision_;
/**
* optional string revision = 2;
*/
public boolean hasRevision() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string revision = 2;
*/
public java.lang.String getRevision() {
java.lang.Object ref = revision_;
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()) {
revision_ = s;
}
return s;
}
}
/**
* optional string revision = 2;
*/
public com.google.protobuf.ByteString
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);
revision_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, hash_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, revision_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, hash_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, revision_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
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.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.WsBatch.WsProjectResponse.FileData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
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.WsBatch.WsProjectResponse.FileData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
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.WsBatch.WsProjectResponse.FileData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
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.WsBatch.WsProjectResponse.FileData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileData parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.sonarqube.ws.WsBatch.WsProjectResponse.FileData prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code sonarqube.ws.batch.WsProjectResponse.FileData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.batch.WsProjectResponse.FileData)
org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.class, org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.Builder.class);
}
// Construct using org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
hash_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
revision_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_descriptor;
}
public org.sonarqube.ws.WsBatch.WsProjectResponse.FileData getDefaultInstanceForType() {
return org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.getDefaultInstance();
}
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.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)) {
to_bitField0_ |= 0x00000001;
}
result.hash_ = hash_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.revision_ = revision_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message 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.WsBatch.WsProjectResponse.FileData other) {
if (other == org.sonarqube.ws.WsBatch.WsProjectResponse.FileData.getDefaultInstance()) return this;
if (other.hasHash()) {
bitField0_ |= 0x00000001;
hash_ = other.hash_;
onChanged();
}
if (other.hasRevision()) {
bitField0_ |= 0x00000002;
revision_ = other.revision_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.sonarqube.ws.WsBatch.WsProjectResponse.FileData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonarqube.ws.WsBatch.WsProjectResponse.FileData) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object hash_ = "";
/**
* optional string hash = 1;
*/
public boolean hasHash() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string hash = 1;
*/
public java.lang.String getHash() {
java.lang.Object ref = hash_;
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()) {
hash_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string hash = 1;
*/
public com.google.protobuf.ByteString
getHashBytes() {
java.lang.Object ref = hash_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hash_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string hash = 1;
*/
public Builder setHash(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
hash_ = value;
onChanged();
return this;
}
/**
* optional string hash = 1;
*/
public Builder clearHash() {
bitField0_ = (bitField0_ & ~0x00000001);
hash_ = getDefaultInstance().getHash();
onChanged();
return this;
}
/**
* optional string hash = 1;
*/
public Builder setHashBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
hash_ = value;
onChanged();
return this;
}
private java.lang.Object revision_ = "";
/**
* optional string revision = 2;
*/
public boolean hasRevision() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string revision = 2;
*/
public java.lang.String getRevision() {
java.lang.Object ref = revision_;
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()) {
revision_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string revision = 2;
*/
public com.google.protobuf.ByteString
getRevisionBytes() {
java.lang.Object ref = revision_;
if (ref instanceof String) {
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;
}
}
/**
* optional string revision = 2;
*/
public Builder setRevision(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
revision_ = value;
onChanged();
return this;
}
/**
* optional string revision = 2;
*/
public Builder clearRevision() {
bitField0_ = (bitField0_ & ~0x00000002);
revision_ = getDefaultInstance().getRevision();
onChanged();
return this;
}
/**
* optional string revision = 2;
*/
public Builder setRevisionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
revision_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:sonarqube.ws.batch.WsProjectResponse.FileData)
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.batch.WsProjectResponse.FileData)
private static final org.sonarqube.ws.WsBatch.WsProjectResponse.FileData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonarqube.ws.WsBatch.WsProjectResponse.FileData();
}
public static org.sonarqube.ws.WsBatch.WsProjectResponse.FileData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public FileData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new FileData(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
com.google.protobuf.InvalidProtocolBufferException) {
throw (com.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.sonarqube.ws.WsBatch.WsProjectResponse.FileData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int TIMESTAMP_FIELD_NUMBER = 1;
private long timestamp_;
/**
* optional int64 timestamp = 1;
*/
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 timestamp = 1;
*/
public long getTimestamp() {
return timestamp_;
}
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.WsBatch.WsProjectResponse.Settings> defaultEntry =
com.google.protobuf.MapEntry
.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.WsBatch.WsProjectResponse.Settings.getDefaultInstance());
}
private com.google.protobuf.MapField<
java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings> settingsByModule_;
private com.google.protobuf.MapField
internalGetSettingsByModule() {
if (settingsByModule_ == null) {
return com.google.protobuf.MapField.emptyMapField(
SettingsByModuleDefaultEntryHolder.defaultEntry);
}
return settingsByModule_;
}
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.Settings> settingsByModule = 2;
*/
public java.util.Map 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.WsBatch.WsProjectResponse.FileDataByPath> defaultEntry =
com.google.protobuf.MapEntry
.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.WsBatch.WsProjectResponse.FileDataByPath.getDefaultInstance());
}
private com.google.protobuf.MapField<
java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath> fileDataByModuleAndPath_;
private com.google.protobuf.MapField
internalGetFileDataByModuleAndPath() {
if (fileDataByModuleAndPath_ == null) {
return com.google.protobuf.MapField.emptyMapField(
FileDataByModuleAndPathDefaultEntryHolder.defaultEntry);
}
return fileDataByModuleAndPath_;
}
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.FileDataByPath> fileDataByModuleAndPath = 3;
*/
public java.util.Map getFileDataByModuleAndPath() {
return internalGetFileDataByModuleAndPath().getMap();
}
public static final int LASTANALYSISDATE_FIELD_NUMBER = 4;
private long lastAnalysisDate_;
/**
* optional int64 lastAnalysisDate = 4;
*/
public boolean hasLastAnalysisDate() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int64 lastAnalysisDate = 4;
*/
public long getLastAnalysisDate() {
return lastAnalysisDate_;
}
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 {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, timestamp_);
}
for (java.util.Map.Entry entry
: internalGetSettingsByModule().getMap().entrySet()) {
com.google.protobuf.MapEntry
settingsByModule = SettingsByModuleDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
output.writeMessage(2, settingsByModule);
}
for (java.util.Map.Entry entry
: internalGetFileDataByModuleAndPath().getMap().entrySet()) {
com.google.protobuf.MapEntry
fileDataByModuleAndPath = FileDataByModuleAndPathDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
output.writeMessage(3, fileDataByModuleAndPath);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt64(4, lastAnalysisDate_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, timestamp_);
}
for (java.util.Map.Entry entry
: internalGetSettingsByModule().getMap().entrySet()) {
com.google.protobuf.MapEntry
settingsByModule = SettingsByModuleDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, settingsByModule);
}
for (java.util.Map.Entry entry
: internalGetFileDataByModuleAndPath().getMap().entrySet()) {
com.google.protobuf.MapEntry
fileDataByModuleAndPath = FileDataByModuleAndPathDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, fileDataByModuleAndPath);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, lastAnalysisDate_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
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.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.WsBatch.WsProjectResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
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.WsBatch.WsProjectResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
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.WsBatch.WsProjectResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
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.WsBatch.WsProjectResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsBatch.WsProjectResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.sonarqube.ws.WsBatch.WsProjectResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code sonarqube.ws.batch.WsProjectResponse}
*
*
* WS batch/project
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.batch.WsProjectResponse)
org.sonarqube.ws.WsBatch.WsProjectResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 2:
return internalGetSettingsByModule();
case 3:
return internalGetFileDataByModuleAndPath();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 2:
return internalGetMutableSettingsByModule();
case 3:
return internalGetMutableFileDataByModuleAndPath();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsBatch.WsProjectResponse.class, org.sonarqube.ws.WsBatch.WsProjectResponse.Builder.class);
}
// Construct using org.sonarqube.ws.WsBatch.WsProjectResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
timestamp_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableSettingsByModule().clear();
internalGetMutableFileDataByModuleAndPath().clear();
lastAnalysisDate_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonarqube.ws.WsBatch.internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor;
}
public org.sonarqube.ws.WsBatch.WsProjectResponse getDefaultInstanceForType() {
return org.sonarqube.ws.WsBatch.WsProjectResponse.getDefaultInstance();
}
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.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)) {
to_bitField0_ |= 0x00000001;
}
result.timestamp_ = timestamp_;
result.settingsByModule_ = internalGetSettingsByModule();
result.settingsByModule_.makeImmutable();
result.fileDataByModuleAndPath_ = internalGetFileDataByModuleAndPath();
result.fileDataByModuleAndPath_.makeImmutable();
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000002;
}
result.lastAnalysisDate_ = lastAnalysisDate_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message 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.WsBatch.WsProjectResponse other) {
if (other == org.sonarqube.ws.WsBatch.WsProjectResponse.getDefaultInstance()) return this;
if (other.hasTimestamp()) {
setTimestamp(other.getTimestamp());
}
internalGetMutableSettingsByModule().mergeFrom(
other.internalGetSettingsByModule());
internalGetMutableFileDataByModuleAndPath().mergeFrom(
other.internalGetFileDataByModuleAndPath());
if (other.hasLastAnalysisDate()) {
setLastAnalysisDate(other.getLastAnalysisDate());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.sonarqube.ws.WsBatch.WsProjectResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonarqube.ws.WsBatch.WsProjectResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long timestamp_ ;
/**
* optional int64 timestamp = 1;
*/
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 timestamp = 1;
*/
public long getTimestamp() {
return timestamp_;
}
/**
* optional int64 timestamp = 1;
*/
public Builder setTimestamp(long value) {
bitField0_ |= 0x00000001;
timestamp_ = value;
onChanged();
return this;
}
/**
* optional int64 timestamp = 1;
*/
public Builder clearTimestamp() {
bitField0_ = (bitField0_ & ~0x00000001);
timestamp_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.Settings> settingsByModule_;
private com.google.protobuf.MapField
internalGetSettingsByModule() {
if (settingsByModule_ == null) {
return com.google.protobuf.MapField.emptyMapField(
SettingsByModuleDefaultEntryHolder.defaultEntry);
}
return settingsByModule_;
}
private com.google.protobuf.MapField
internalGetMutableSettingsByModule() {
onChanged();;
if (settingsByModule_ == null) {
settingsByModule_ = com.google.protobuf.MapField.newMapField(
SettingsByModuleDefaultEntryHolder.defaultEntry);
}
if (!settingsByModule_.isMutable()) {
settingsByModule_ = settingsByModule_.copy();
}
return settingsByModule_;
}
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.Settings> settingsByModule = 2;
*/
public java.util.Map getSettingsByModule() {
return internalGetSettingsByModule().getMap();
}
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.Settings> settingsByModule = 2;
*/
public java.util.Map
getMutableSettingsByModule() {
return internalGetMutableSettingsByModule().getMutableMap();
}
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.Settings> settingsByModule = 2;
*/
public Builder putAllSettingsByModule(
java.util.Map values) {
getMutableSettingsByModule().putAll(values);
return this;
}
private com.google.protobuf.MapField<
java.lang.String, org.sonarqube.ws.WsBatch.WsProjectResponse.FileDataByPath> fileDataByModuleAndPath_;
private com.google.protobuf.MapField
internalGetFileDataByModuleAndPath() {
if (fileDataByModuleAndPath_ == null) {
return com.google.protobuf.MapField.emptyMapField(
FileDataByModuleAndPathDefaultEntryHolder.defaultEntry);
}
return fileDataByModuleAndPath_;
}
private com.google.protobuf.MapField
internalGetMutableFileDataByModuleAndPath() {
onChanged();;
if (fileDataByModuleAndPath_ == null) {
fileDataByModuleAndPath_ = com.google.protobuf.MapField.newMapField(
FileDataByModuleAndPathDefaultEntryHolder.defaultEntry);
}
if (!fileDataByModuleAndPath_.isMutable()) {
fileDataByModuleAndPath_ = fileDataByModuleAndPath_.copy();
}
return fileDataByModuleAndPath_;
}
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.FileDataByPath> fileDataByModuleAndPath = 3;
*/
public java.util.Map getFileDataByModuleAndPath() {
return internalGetFileDataByModuleAndPath().getMap();
}
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.FileDataByPath> fileDataByModuleAndPath = 3;
*/
public java.util.Map
getMutableFileDataByModuleAndPath() {
return internalGetMutableFileDataByModuleAndPath().getMutableMap();
}
/**
* map<string, .sonarqube.ws.batch.WsProjectResponse.FileDataByPath> fileDataByModuleAndPath = 3;
*/
public Builder putAllFileDataByModuleAndPath(
java.util.Map values) {
getMutableFileDataByModuleAndPath().putAll(values);
return this;
}
private long lastAnalysisDate_ ;
/**
* optional int64 lastAnalysisDate = 4;
*/
public boolean hasLastAnalysisDate() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int64 lastAnalysisDate = 4;
*/
public long getLastAnalysisDate() {
return lastAnalysisDate_;
}
/**
* optional int64 lastAnalysisDate = 4;
*/
public Builder setLastAnalysisDate(long value) {
bitField0_ |= 0x00000008;
lastAnalysisDate_ = value;
onChanged();
return this;
}
/**
* optional int64 lastAnalysisDate = 4;
*/
public Builder clearLastAnalysisDate() {
bitField0_ = (bitField0_ & ~0x00000008);
lastAnalysisDate_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:sonarqube.ws.batch.WsProjectResponse)
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.batch.WsProjectResponse)
private static final org.sonarqube.ws.WsBatch.WsProjectResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonarqube.ws.WsBatch.WsProjectResponse();
}
public static org.sonarqube.ws.WsBatch.WsProjectResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public WsProjectResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new WsProjectResponse(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
com.google.protobuf.InvalidProtocolBufferException) {
throw (com.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.sonarqube.ws.WsBatch.WsProjectResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_batch_WsProjectResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_batch_WsProjectResponse_SettingsByModuleEntry_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_batch_WsProjectResponse_SettingsByModuleEntry_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByModuleAndPathEntry_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByModuleAndPathEntry_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_SettingsEntry_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_SettingsEntry_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_FileDataByPathEntry_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_FileDataByPathEntry_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\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() {
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[] {
}, assigner);
internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_sonarqube_ws_batch_WsProjectResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor,
new java.lang.String[] { "Timestamp", "SettingsByModule", "FileDataByModuleAndPath", "LastAnalysisDate", });
internal_static_sonarqube_ws_batch_WsProjectResponse_SettingsByModuleEntry_descriptor =
internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor.getNestedTypes().get(0);
internal_static_sonarqube_ws_batch_WsProjectResponse_SettingsByModuleEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_batch_WsProjectResponse_SettingsByModuleEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByModuleAndPathEntry_descriptor =
internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor.getNestedTypes().get(1);
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByModuleAndPathEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByModuleAndPathEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_descriptor =
internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor.getNestedTypes().get(2);
internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_descriptor,
new java.lang.String[] { "Settings", });
internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_SettingsEntry_descriptor =
internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_descriptor.getNestedTypes().get(0);
internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_SettingsEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_batch_WsProjectResponse_Settings_SettingsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_descriptor =
internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor.getNestedTypes().get(3);
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_descriptor,
new java.lang.String[] { "FileDataByPath", });
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_FileDataByPathEntry_descriptor =
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_descriptor.getNestedTypes().get(0);
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_FileDataByPathEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_batch_WsProjectResponse_FileDataByPath_FileDataByPathEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_descriptor =
internal_static_sonarqube_ws_batch_WsProjectResponse_descriptor.getNestedTypes().get(4);
internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_batch_WsProjectResponse_FileData_descriptor,
new java.lang.String[] { "Hash", "Revision", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy