public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
- public interface ServerIssueOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface ServerIssueOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:ServerIssue)
+ com.google.protobuf.MessageOrBuilder {
- // optional string key = 1;
/**
* <code>optional string key = 1;</code>
*/
com.google.protobuf.ByteString
getKeyBytes();
- // optional string module_key = 2;
/**
* <code>optional string module_key = 2;</code>
*/
com.google.protobuf.ByteString
getModuleKeyBytes();
- // optional string path = 3;
/**
* <code>optional string path = 3;</code>
*/
com.google.protobuf.ByteString
getPathBytes();
- // optional string rule_repository = 4;
/**
* <code>optional string rule_repository = 4;</code>
*/
com.google.protobuf.ByteString
getRuleRepositoryBytes();
- // optional string rule_key = 5;
/**
* <code>optional string rule_key = 5;</code>
*/
com.google.protobuf.ByteString
getRuleKeyBytes();
- // optional int32 line = 6;
/**
* <code>optional int32 line = 6;</code>
*/
*/
int getLine();
- // optional string msg = 7;
/**
* <code>optional string msg = 7;</code>
*/
com.google.protobuf.ByteString
getMsgBytes();
- // optional .Severity severity = 8;
/**
* <code>optional .Severity severity = 8;</code>
*/
*/
org.sonar.batch.protocol.Constants.Severity getSeverity();
- // optional bool manual_severity = 9;
/**
* <code>optional bool manual_severity = 9;</code>
*/
*/
boolean getManualSeverity();
- // optional string resolution = 10;
/**
* <code>optional string resolution = 10;</code>
*/
com.google.protobuf.ByteString
getResolutionBytes();
- // optional string status = 11;
/**
* <code>optional string status = 11;</code>
*/
com.google.protobuf.ByteString
getStatusBytes();
- // optional string checksum = 12;
/**
* <code>optional string checksum = 12;</code>
*/
com.google.protobuf.ByteString
getChecksumBytes();
- // optional string assignee_login = 13;
/**
* <code>optional string assignee_login = 13;</code>
*/
com.google.protobuf.ByteString
getAssigneeLoginBytes();
- // optional int64 creation_date = 14;
/**
* <code>optional int64 creation_date = 14;</code>
*/
* Protobuf type {@code ServerIssue}
*/
public static final class ServerIssue extends
- com.google.protobuf.GeneratedMessage
- implements ServerIssueOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:ServerIssue)
+ ServerIssueOrBuilder {
// Use ServerIssue.newBuilder() to construct.
private ServerIssue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
return defaultInstance;
}
- @Override
public ServerIssue getDefaultInstanceForType() {
return defaultInstance;
}
break;
}
case 10: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
- key_ = input.readBytes();
+ key_ = bs;
break;
}
case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- moduleKey_ = input.readBytes();
+ moduleKey_ = bs;
break;
}
case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
- path_ = input.readBytes();
+ path_ = bs;
break;
}
case 34: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
- ruleRepository_ = input.readBytes();
+ ruleRepository_ = bs;
break;
}
case 42: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
- ruleKey_ = input.readBytes();
+ ruleKey_ = bs;
break;
}
case 48: {
break;
}
case 58: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000040;
- msg_ = input.readBytes();
+ msg_ = bs;
break;
}
case 64: {
break;
}
case 82: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000200;
- resolution_ = input.readBytes();
+ resolution_ = bs;
break;
}
case 90: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000400;
- status_ = input.readBytes();
+ status_ = bs;
break;
}
case 98: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000800;
- checksum_ = input.readBytes();
+ checksum_ = bs;
break;
}
case 106: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00001000;
- assigneeLogin_ = input.readBytes();
+ assigneeLogin_ = bs;
break;
}
case 112: {
return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_descriptor;
}
- @Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_fieldAccessorTable
}
private int bitField0_;
- // optional string key = 1;
public static final int KEY_FIELD_NUMBER = 1;
private java.lang.Object key_;
/**
* <code>optional string key = 1;</code>
*/
- @Override
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string key = 1;</code>
*/
- @Override
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
/**
* <code>optional string key = 1;</code>
*/
- @Override
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
}
}
- // optional string module_key = 2;
public static final int MODULE_KEY_FIELD_NUMBER = 2;
private java.lang.Object moduleKey_;
/**
* <code>optional string module_key = 2;</code>
*/
- @Override
public boolean hasModuleKey() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string module_key = 2;</code>
*/
- @Override
public java.lang.String getModuleKey() {
java.lang.Object ref = moduleKey_;
if (ref instanceof java.lang.String) {
/**
* <code>optional string module_key = 2;</code>
*/
- @Override
public com.google.protobuf.ByteString
getModuleKeyBytes() {
java.lang.Object ref = moduleKey_;
}
}
- // optional string path = 3;
public static final int PATH_FIELD_NUMBER = 3;
private java.lang.Object path_;
/**
* <code>optional string path = 3;</code>
*/
- @Override
public boolean hasPath() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional string path = 3;</code>
*/
- @Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
/**
* <code>optional string path = 3;</code>
*/
- @Override
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
}
}
- // optional string rule_repository = 4;
public static final int RULE_REPOSITORY_FIELD_NUMBER = 4;
private java.lang.Object ruleRepository_;
/**
* <code>optional string rule_repository = 4;</code>
*/
- @Override
public boolean hasRuleRepository() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional string rule_repository = 4;</code>
*/
- @Override
public java.lang.String getRuleRepository() {
java.lang.Object ref = ruleRepository_;
if (ref instanceof java.lang.String) {
/**
* <code>optional string rule_repository = 4;</code>
*/
- @Override
public com.google.protobuf.ByteString
getRuleRepositoryBytes() {
java.lang.Object ref = ruleRepository_;
}
}
- // optional string rule_key = 5;
public static final int RULE_KEY_FIELD_NUMBER = 5;
private java.lang.Object ruleKey_;
/**
* <code>optional string rule_key = 5;</code>
*/
- @Override
public boolean hasRuleKey() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional string rule_key = 5;</code>
*/
- @Override
public java.lang.String getRuleKey() {
java.lang.Object ref = ruleKey_;
if (ref instanceof java.lang.String) {
/**
* <code>optional string rule_key = 5;</code>
*/
- @Override
public com.google.protobuf.ByteString
getRuleKeyBytes() {
java.lang.Object ref = ruleKey_;
}
}
- // optional int32 line = 6;
public static final int LINE_FIELD_NUMBER = 6;
private int line_;
/**
* <code>optional int32 line = 6;</code>
*/
- @Override
public boolean hasLine() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* <code>optional int32 line = 6;</code>
*/
- @Override
public int getLine() {
return line_;
}
- // optional string msg = 7;
public static final int MSG_FIELD_NUMBER = 7;
private java.lang.Object msg_;
/**
* <code>optional string msg = 7;</code>
*/
- @Override
public boolean hasMsg() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* <code>optional string msg = 7;</code>
*/
- @Override
public java.lang.String getMsg() {
java.lang.Object ref = msg_;
if (ref instanceof java.lang.String) {
/**
* <code>optional string msg = 7;</code>
*/
- @Override
public com.google.protobuf.ByteString
getMsgBytes() {
java.lang.Object ref = msg_;
}
}
- // optional .Severity severity = 8;
public static final int SEVERITY_FIELD_NUMBER = 8;
private org.sonar.batch.protocol.Constants.Severity severity_;
/**
* <code>optional .Severity severity = 8;</code>
*/
- @Override
public boolean hasSeverity() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* <code>optional .Severity severity = 8;</code>
*/
- @Override
public org.sonar.batch.protocol.Constants.Severity getSeverity() {
return severity_;
}
- // optional bool manual_severity = 9;
public static final int MANUAL_SEVERITY_FIELD_NUMBER = 9;
private boolean manualSeverity_;
/**
* <code>optional bool manual_severity = 9;</code>
*/
- @Override
public boolean hasManualSeverity() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* <code>optional bool manual_severity = 9;</code>
*/
- @Override
public boolean getManualSeverity() {
return manualSeverity_;
}
- // optional string resolution = 10;
public static final int RESOLUTION_FIELD_NUMBER = 10;
private java.lang.Object resolution_;
/**
* <code>optional string resolution = 10;</code>
*/
- @Override
public boolean hasResolution() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* <code>optional string resolution = 10;</code>
*/
- @Override
public java.lang.String getResolution() {
java.lang.Object ref = resolution_;
if (ref instanceof java.lang.String) {
/**
* <code>optional string resolution = 10;</code>
*/
- @Override
public com.google.protobuf.ByteString
getResolutionBytes() {
java.lang.Object ref = resolution_;
}
}
- // optional string status = 11;
public static final int STATUS_FIELD_NUMBER = 11;
private java.lang.Object status_;
/**
* <code>optional string status = 11;</code>
*/
- @Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* <code>optional string status = 11;</code>
*/
- @Override
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (ref instanceof java.lang.String) {
/**
* <code>optional string status = 11;</code>
*/
- @Override
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
}
}
- // optional string checksum = 12;
public static final int CHECKSUM_FIELD_NUMBER = 12;
private java.lang.Object checksum_;
/**
* <code>optional string checksum = 12;</code>
*/
- @Override
public boolean hasChecksum() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* <code>optional string checksum = 12;</code>
*/
- @Override
public java.lang.String getChecksum() {
java.lang.Object ref = checksum_;
if (ref instanceof java.lang.String) {
/**
* <code>optional string checksum = 12;</code>
*/
- @Override
public com.google.protobuf.ByteString
getChecksumBytes() {
java.lang.Object ref = checksum_;
}
}
- // optional string assignee_login = 13;
public static final int ASSIGNEE_LOGIN_FIELD_NUMBER = 13;
private java.lang.Object assigneeLogin_;
/**
* <code>optional string assignee_login = 13;</code>
*/
- @Override
public boolean hasAssigneeLogin() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* <code>optional string assignee_login = 13;</code>
*/
- @Override
public java.lang.String getAssigneeLogin() {
java.lang.Object ref = assigneeLogin_;
if (ref instanceof java.lang.String) {
/**
* <code>optional string assignee_login = 13;</code>
*/
- @Override
public com.google.protobuf.ByteString
getAssigneeLoginBytes() {
java.lang.Object ref = assigneeLogin_;
}
}
- // optional int64 creation_date = 14;
public static final int CREATION_DATE_FIELD_NUMBER = 14;
private long creationDate_;
/**
* <code>optional int64 creation_date = 14;</code>
*/
- @Override
public boolean hasCreationDate() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* <code>optional int64 creation_date = 14;</code>
*/
- @Override
public long getCreationDate() {
return creationDate_;
}
creationDate_ = 0L;
}
private byte memoizedIsInitialized = -1;
- @Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
- @Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
}
private int memoizedSerializedSize = -1;
- @Override
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
}
public static Builder newBuilder() { return Builder.create(); }
- @Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.sonar.batch.protocol.input.BatchInput.ServerIssue prototype) {
return newBuilder().mergeFrom(prototype);
}
- @Override
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
* Protobuf type {@code ServerIssue}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.input.BatchInput.ServerIssueOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:ServerIssue)
+ org.sonar.batch.protocol.input.BatchInput.ServerIssueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_descriptor;
}
- @Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_fieldAccessorTable
return new Builder();
}
- @Override
public Builder clear() {
super.clear();
key_ = "";
return this;
}
- @Override
public Builder clone() {
return create().mergeFrom(buildPartial());
}
- @Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonar.batch.protocol.input.BatchInput.internal_static_ServerIssue_descriptor;
}
- @Override
public org.sonar.batch.protocol.input.BatchInput.ServerIssue getDefaultInstanceForType() {
return org.sonar.batch.protocol.input.BatchInput.ServerIssue.getDefaultInstance();
}
- @Override
public org.sonar.batch.protocol.input.BatchInput.ServerIssue build() {
org.sonar.batch.protocol.input.BatchInput.ServerIssue result = buildPartial();
if (!result.isInitialized()) {
return result;
}
- @Override
public org.sonar.batch.protocol.input.BatchInput.ServerIssue buildPartial() {
org.sonar.batch.protocol.input.BatchInput.ServerIssue result = new org.sonar.batch.protocol.input.BatchInput.ServerIssue(this);
int from_bitField0_ = bitField0_;
return result;
}
- @Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.sonar.batch.protocol.input.BatchInput.ServerIssue) {
return mergeFrom((org.sonar.batch.protocol.input.BatchInput.ServerIssue)other);
return this;
}
- @Override
public final boolean isInitialized() {
return true;
}
- @Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
}
private int bitField0_;
- // optional string key = 1;
private java.lang.Object key_ = "";
/**
* <code>optional string key = 1;</code>
*/
- @Override
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string key = 1;</code>
*/
- @Override
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- key_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ key_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
/**
* <code>optional string key = 1;</code>
*/
- @Override
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
return this;
}
- // optional string module_key = 2;
private java.lang.Object moduleKey_ = "";
/**
* <code>optional string module_key = 2;</code>
*/
- @Override
public boolean hasModuleKey() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string module_key = 2;</code>
*/
- @Override
public java.lang.String getModuleKey() {
java.lang.Object ref = moduleKey_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- moduleKey_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ moduleKey_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
/**
* <code>optional string module_key = 2;</code>
*/
- @Override
public com.google.protobuf.ByteString
getModuleKeyBytes() {
java.lang.Object ref = moduleKey_;
return this;
}
- // optional string path = 3;
private java.lang.Object path_ = "";
/**
* <code>optional string path = 3;</code>
*/
- @Override
public boolean hasPath() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* <code>optional string path = 3;</code>
*/
- @Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- path_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ path_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
/**
* <code>optional string path = 3;</code>
*/
- @Override
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
return this;
}
- // optional string rule_repository = 4;
private java.lang.Object ruleRepository_ = "";
/**
* <code>optional string rule_repository = 4;</code>
*/
- @Override
public boolean hasRuleRepository() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* <code>optional string rule_repository = 4;</code>
*/
- @Override
public java.lang.String getRuleRepository() {
java.lang.Object ref = ruleRepository_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- ruleRepository_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ ruleRepository_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
/**
* <code>optional string rule_repository = 4;</code>
*/
- @Override
public com.google.protobuf.ByteString
getRuleRepositoryBytes() {
java.lang.Object ref = ruleRepository_;
return this;
}
- // optional string rule_key = 5;
private java.lang.Object ruleKey_ = "";
/**
* <code>optional string rule_key = 5;</code>
*/
- @Override
public boolean hasRuleKey() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* <code>optional string rule_key = 5;</code>
*/
- @Override
public java.lang.String getRuleKey() {
java.lang.Object ref = ruleKey_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- ruleKey_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ ruleKey_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
/**
* <code>optional string rule_key = 5;</code>
*/
- @Override
public com.google.protobuf.ByteString
getRuleKeyBytes() {
java.lang.Object ref = ruleKey_;
return this;
}
- // optional int32 line = 6;
private int line_ ;
/**
* <code>optional int32 line = 6;</code>
*/
- @Override
public boolean hasLine() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* <code>optional int32 line = 6;</code>
*/
- @Override
public int getLine() {
return line_;
}
return this;
}
- // optional string msg = 7;
private java.lang.Object msg_ = "";
/**
* <code>optional string msg = 7;</code>
*/
- @Override
public boolean hasMsg() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* <code>optional string msg = 7;</code>
*/
- @Override
public java.lang.String getMsg() {
java.lang.Object ref = msg_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- msg_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ msg_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
/**
* <code>optional string msg = 7;</code>
*/
- @Override
public com.google.protobuf.ByteString
getMsgBytes() {
java.lang.Object ref = msg_;
return this;
}
- // optional .Severity severity = 8;
private org.sonar.batch.protocol.Constants.Severity severity_ = org.sonar.batch.protocol.Constants.Severity.INFO;
/**
* <code>optional .Severity severity = 8;</code>
*/
- @Override
public boolean hasSeverity() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* <code>optional .Severity severity = 8;</code>
*/
- @Override
public org.sonar.batch.protocol.Constants.Severity getSeverity() {
return severity_;
}
return this;
}
- // optional bool manual_severity = 9;
private boolean manualSeverity_ ;
/**
* <code>optional bool manual_severity = 9;</code>
*/
- @Override
public boolean hasManualSeverity() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* <code>optional bool manual_severity = 9;</code>
*/
- @Override
public boolean getManualSeverity() {
return manualSeverity_;
}
return this;
}
- // optional string resolution = 10;
private java.lang.Object resolution_ = "";
/**
* <code>optional string resolution = 10;</code>
*/
- @Override
public boolean hasResolution() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* <code>optional string resolution = 10;</code>
*/
- @Override
public java.lang.String getResolution() {
java.lang.Object ref = resolution_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- resolution_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ resolution_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
/**
* <code>optional string resolution = 10;</code>
*/
- @Override
public com.google.protobuf.ByteString
getResolutionBytes() {
java.lang.Object ref = resolution_;
return this;
}
- // optional string status = 11;
private java.lang.Object status_ = "";
/**
* <code>optional string status = 11;</code>
*/
- @Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* <code>optional string status = 11;</code>
*/
- @Override
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- status_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ status_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
/**
* <code>optional string status = 11;</code>
*/
- @Override
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
return this;
}
- // optional string checksum = 12;
private java.lang.Object checksum_ = "";
/**
* <code>optional string checksum = 12;</code>
*/
- @Override
public boolean hasChecksum() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* <code>optional string checksum = 12;</code>
*/
- @Override
public java.lang.String getChecksum() {
java.lang.Object ref = checksum_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- checksum_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ checksum_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
/**
* <code>optional string checksum = 12;</code>
*/
- @Override
public com.google.protobuf.ByteString
getChecksumBytes() {
java.lang.Object ref = checksum_;
return this;
}
- // optional string assignee_login = 13;
private java.lang.Object assigneeLogin_ = "";
/**
* <code>optional string assignee_login = 13;</code>
*/
- @Override
public boolean hasAssigneeLogin() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* <code>optional string assignee_login = 13;</code>
*/
- @Override
public java.lang.String getAssigneeLogin() {
java.lang.Object ref = assigneeLogin_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- assigneeLogin_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ assigneeLogin_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
/**
* <code>optional string assignee_login = 13;</code>
*/
- @Override
public com.google.protobuf.ByteString
getAssigneeLoginBytes() {
java.lang.Object ref = assigneeLogin_;
return this;
}
- // optional int64 creation_date = 14;
private long creationDate_ ;
/**
* <code>optional int64 creation_date = 14;</code>
*/
- @Override
public boolean hasCreationDate() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* <code>optional int64 creation_date = 14;</code>
*/
- @Override
public long getCreationDate() {
return creationDate_;
}
// @@protoc_insertion_point(class_scope:ServerIssue)
}
-<<<<<<< HEAD
- private static com.google.protobuf.Descriptors.Descriptor
-=======
public interface UserOrBuilder extends
// @@protoc_insertion_point(interface_extends:User)
com.google.protobuf.MessageOrBuilder {
return defaultInstance;
}
- @Override
public User getDefaultInstanceForType() {
return defaultInstance;
}
return org.sonar.batch.protocol.input.BatchInput.internal_static_User_descriptor;
}
- @Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.batch.protocol.input.BatchInput.internal_static_User_fieldAccessorTable
/**
* <code>optional string login = 1;</code>
*/
- @Override
public boolean hasLogin() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string login = 1;</code>
*/
- @Override
public java.lang.String getLogin() {
java.lang.Object ref = login_;
if (ref instanceof java.lang.String) {
/**
* <code>optional string login = 1;</code>
*/
- @Override
public com.google.protobuf.ByteString
getLoginBytes() {
java.lang.Object ref = login_;
/**
* <code>optional string name = 2;</code>
*/
- @Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string name = 2;</code>
*/
- @Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
/**
* <code>optional string name = 2;</code>
*/
- @Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
name_ = "";
}
private byte memoizedIsInitialized = -1;
- @Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
return true;
}
- @Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
}
private int memoizedSerializedSize = -1;
- @Override
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
}
public static Builder newBuilder() { return Builder.create(); }
- @Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.sonar.batch.protocol.input.BatchInput.User prototype) {
return newBuilder().mergeFrom(prototype);
}
- @Override
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
return org.sonar.batch.protocol.input.BatchInput.internal_static_User_descriptor;
}
- @Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.batch.protocol.input.BatchInput.internal_static_User_fieldAccessorTable
return new Builder();
}
- @Override
public Builder clear() {
super.clear();
login_ = "";
return this;
}
- @Override
public Builder clone() {
return create().mergeFrom(buildPartial());
}
- @Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonar.batch.protocol.input.BatchInput.internal_static_User_descriptor;
}
- @Override
public org.sonar.batch.protocol.input.BatchInput.User getDefaultInstanceForType() {
return org.sonar.batch.protocol.input.BatchInput.User.getDefaultInstance();
}
- @Override
public org.sonar.batch.protocol.input.BatchInput.User build() {
org.sonar.batch.protocol.input.BatchInput.User result = buildPartial();
if (!result.isInitialized()) {
return result;
}
- @Override
public org.sonar.batch.protocol.input.BatchInput.User buildPartial() {
org.sonar.batch.protocol.input.BatchInput.User result = new org.sonar.batch.protocol.input.BatchInput.User(this);
int from_bitField0_ = bitField0_;
return result;
}
- @Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.sonar.batch.protocol.input.BatchInput.User) {
return mergeFrom((org.sonar.batch.protocol.input.BatchInput.User)other);
return this;
}
- @Override
public final boolean isInitialized() {
return true;
}
- @Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
/**
* <code>optional string login = 1;</code>
*/
- @Override
public boolean hasLogin() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string login = 1;</code>
*/
- @Override
public java.lang.String getLogin() {
java.lang.Object ref = login_;
if (!(ref instanceof java.lang.String)) {
/**
* <code>optional string login = 1;</code>
*/
- @Override
public com.google.protobuf.ByteString
getLoginBytes() {
java.lang.Object ref = login_;
/**
* <code>optional string name = 2;</code>
*/
- @Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional string name = 2;</code>
*/
- @Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
/**
* <code>optional string name = 2;</code>
*/
- @Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
"\tB\"\n\036org.sonar.batch.protocol.inputH\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- @Override
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_ServerIssue_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_ServerIssue_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_ServerIssue_descriptor,
- new java.lang.String[] { "Key", "ModuleKey", "Path", "RuleRepository", "RuleKey", "Line", "Msg", "Severity", "ManualSeverity", "Resolution", "Status", "Checksum", "AssigneeLogin", "CreationDate", });
- return null;
- }
- };
+ 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[] {
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
- public interface MetadataOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface MetadataOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Metadata)
+ com.google.protobuf.MessageOrBuilder {
- // optional int64 analysis_date = 1;
/**
* <code>optional int64 analysis_date = 1;</code>
*/
*/
long getAnalysisDate();
- // optional string project_key = 2;
/**
* <code>optional string project_key = 2;</code>
*/
com.google.protobuf.ByteString
getProjectKeyBytes();
- // optional string branch = 6;
/**
* <code>optional string branch = 6;</code>
*/
com.google.protobuf.ByteString
getBranchBytes();
- // optional int32 root_component_ref = 3;
/**
* <code>optional int32 root_component_ref = 3;</code>
*/
*/
int getRootComponentRef();
- // optional int64 snapshot_id = 4;
/**
* <code>optional int64 snapshot_id = 4;</code>
*
*/
long getSnapshotId();
- // optional int32 deleted_components_count = 5;
/**
* <code>optional int32 deleted_components_count = 5;</code>
*/
* Protobuf type {@code Metadata}
*/
public static final class Metadata extends
- com.google.protobuf.GeneratedMessage
- implements MetadataOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Metadata)
+ MetadataOrBuilder {
// Use Metadata.newBuilder() to construct.
private Metadata(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- projectKey_ = input.readBytes();
+ projectKey_ = bs;
break;
}
case 24: {
break;
}
case 50: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
- branch_ = input.readBytes();
+ branch_ = bs;
break;
}
}
}
private int bitField0_;
- // optional int64 analysis_date = 1;
public static final int ANALYSIS_DATE_FIELD_NUMBER = 1;
private long analysisDate_;
/**
return analysisDate_;
}
- // optional string project_key = 2;
public static final int PROJECT_KEY_FIELD_NUMBER = 2;
private java.lang.Object projectKey_;
/**
}
}
- // optional string branch = 6;
public static final int BRANCH_FIELD_NUMBER = 6;
private java.lang.Object branch_;
/**
}
}
- // optional int32 root_component_ref = 3;
public static final int ROOT_COMPONENT_REF_FIELD_NUMBER = 3;
private int rootComponentRef_;
/**
return rootComponentRef_;
}
- // optional int64 snapshot_id = 4;
public static final int SNAPSHOT_ID_FIELD_NUMBER = 4;
private long snapshotId_;
/**
return snapshotId_;
}
- // optional int32 deleted_components_count = 5;
public static final int DELETED_COMPONENTS_COUNT_FIELD_NUMBER = 5;
private int deletedComponentsCount_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Metadata}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.MetadataOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Metadata)
+ org.sonar.batch.protocol.output.BatchReport.MetadataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Metadata_descriptor;
}
private int bitField0_;
- // optional int64 analysis_date = 1;
private long analysisDate_ ;
/**
* <code>optional int64 analysis_date = 1;</code>
return this;
}
- // optional string project_key = 2;
private java.lang.Object projectKey_ = "";
/**
* <code>optional string project_key = 2;</code>
public java.lang.String getProjectKey() {
java.lang.Object ref = projectKey_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- projectKey_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ projectKey_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string branch = 6;
private java.lang.Object branch_ = "";
/**
* <code>optional string branch = 6;</code>
public java.lang.String getBranch() {
java.lang.Object ref = branch_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- branch_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ branch_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional int32 root_component_ref = 3;
private int rootComponentRef_ ;
/**
* <code>optional int32 root_component_ref = 3;</code>
return this;
}
- // optional int64 snapshot_id = 4;
private long snapshotId_ ;
/**
* <code>optional int64 snapshot_id = 4;</code>
return this;
}
- // optional int32 deleted_components_count = 5;
private int deletedComponentsCount_ ;
/**
* <code>optional int32 deleted_components_count = 5;</code>
// @@protoc_insertion_point(class_scope:Metadata)
}
- public interface ComponentLinkOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface ComponentLinkOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:ComponentLink)
+ com.google.protobuf.MessageOrBuilder {
- // optional .ComponentLinkType type = 1;
/**
* <code>optional .ComponentLinkType type = 1;</code>
*/
*/
org.sonar.batch.protocol.Constants.ComponentLinkType getType();
- // optional string href = 2;
/**
* <code>optional string href = 2;</code>
*/
* Protobuf type {@code ComponentLink}
*/
public static final class ComponentLink extends
- com.google.protobuf.GeneratedMessage
- implements ComponentLinkOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:ComponentLink)
+ ComponentLinkOrBuilder {
// Use ComponentLink.newBuilder() to construct.
private ComponentLink(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- href_ = input.readBytes();
+ href_ = bs;
break;
}
}
}
private int bitField0_;
- // optional .ComponentLinkType type = 1;
public static final int TYPE_FIELD_NUMBER = 1;
private org.sonar.batch.protocol.Constants.ComponentLinkType type_;
/**
return type_;
}
- // optional string href = 2;
public static final int HREF_FIELD_NUMBER = 2;
private java.lang.Object href_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code ComponentLink}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:ComponentLink)
+ org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_ComponentLink_descriptor;
}
private int bitField0_;
- // optional .ComponentLinkType type = 1;
private org.sonar.batch.protocol.Constants.ComponentLinkType type_ = org.sonar.batch.protocol.Constants.ComponentLinkType.HOME;
/**
* <code>optional .ComponentLinkType type = 1;</code>
return this;
}
- // optional string href = 2;
private java.lang.Object href_ = "";
/**
* <code>optional string href = 2;</code>
public java.lang.String getHref() {
java.lang.Object ref = href_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- href_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ href_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
// @@protoc_insertion_point(class_scope:ComponentLink)
}
- public interface EventOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface EventOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Event)
+ com.google.protobuf.MessageOrBuilder {
- // optional int32 component_ref = 1;
/**
* <code>optional int32 component_ref = 1;</code>
*/
*/
int getComponentRef();
- // optional string name = 2;
/**
* <code>optional string name = 2;</code>
*/
com.google.protobuf.ByteString
getNameBytes();
- // optional string description = 3;
/**
* <code>optional string description = 3;</code>
*/
com.google.protobuf.ByteString
getDescriptionBytes();
- // optional .EventCategory category = 4;
/**
* <code>optional .EventCategory category = 4;</code>
*/
*/
org.sonar.batch.protocol.Constants.EventCategory getCategory();
- // optional string event_data = 5;
/**
* <code>optional string event_data = 5;</code>
*/
* </pre>
*/
public static final class Event extends
- com.google.protobuf.GeneratedMessage
- implements EventOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Event)
+ EventOrBuilder {
// Use Event.newBuilder() to construct.
private Event(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- name_ = input.readBytes();
+ name_ = bs;
break;
}
case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
- description_ = input.readBytes();
+ description_ = bs;
break;
}
case 32: {
break;
}
case 42: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
- eventData_ = input.readBytes();
+ eventData_ = bs;
break;
}
}
}
private int bitField0_;
- // optional int32 component_ref = 1;
public static final int COMPONENT_REF_FIELD_NUMBER = 1;
private int componentRef_;
/**
return componentRef_;
}
- // optional string name = 2;
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.Object name_;
/**
}
}
- // optional string description = 3;
public static final int DESCRIPTION_FIELD_NUMBER = 3;
private java.lang.Object description_;
/**
}
}
- // optional .EventCategory category = 4;
public static final int CATEGORY_FIELD_NUMBER = 4;
private org.sonar.batch.protocol.Constants.EventCategory category_;
/**
return category_;
}
- // optional string event_data = 5;
public static final int EVENT_DATA_FIELD_NUMBER = 5;
private java.lang.Object eventData_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* </pre>
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.EventOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Event)
+ org.sonar.batch.protocol.output.BatchReport.EventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Event_descriptor;
}
private int bitField0_;
- // optional int32 component_ref = 1;
private int componentRef_ ;
/**
* <code>optional int32 component_ref = 1;</code>
return this;
}
- // optional string name = 2;
private java.lang.Object name_ = "";
/**
* <code>optional string name = 2;</code>
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- name_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ name_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string description = 3;
private java.lang.Object description_ = "";
/**
* <code>optional string description = 3;</code>
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- description_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ description_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional .EventCategory category = 4;
private org.sonar.batch.protocol.Constants.EventCategory category_ = org.sonar.batch.protocol.Constants.EventCategory.ALERT;
/**
* <code>optional .EventCategory category = 4;</code>
return this;
}
- // optional string event_data = 5;
private java.lang.Object eventData_ = "";
/**
* <code>optional string event_data = 5;</code>
public java.lang.String getEventData() {
java.lang.Object ref = eventData_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- eventData_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ eventData_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
// @@protoc_insertion_point(class_scope:Event)
}
- public interface ComponentOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface ComponentOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Component)
+ com.google.protobuf.MessageOrBuilder {
- // optional int32 ref = 1;
/**
* <code>optional int32 ref = 1;</code>
*/
*/
int getRef();
- // optional string path = 2;
/**
* <code>optional string path = 2;</code>
*/
com.google.protobuf.ByteString
getPathBytes();
- // optional string name = 3;
/**
* <code>optional string name = 3;</code>
*/
com.google.protobuf.ByteString
getNameBytes();
- // optional .ComponentType type = 4;
/**
* <code>optional .ComponentType type = 4;</code>
*/
*/
org.sonar.batch.protocol.Constants.ComponentType getType();
- // optional bool is_test = 5;
/**
* <code>optional bool is_test = 5;</code>
*/
*/
boolean getIsTest();
- // optional string language = 6;
/**
* <code>optional string language = 6;</code>
*/
com.google.protobuf.ByteString
getLanguageBytes();
- // repeated int32 child_ref = 7 [packed = true];
/**
* <code>repeated int32 child_ref = 7 [packed = true];</code>
*/
*/
int getChildRef(int index);
- // repeated .ComponentLink link = 10;
/**
* <code>repeated .ComponentLink link = 10;</code>
*/
org.sonar.batch.protocol.output.BatchReport.ComponentLinkOrBuilder getLinkOrBuilder(
int index);
- // optional string version = 12;
/**
* <code>optional string version = 12;</code>
*
com.google.protobuf.ByteString
getVersionBytes();
- // optional string key = 14;
/**
* <code>optional string key = 14;</code>
*
com.google.protobuf.ByteString
getKeyBytes();
- // optional int32 lines = 15;
/**
* <code>optional int32 lines = 15;</code>
*
*/
int getLines();
- // optional int64 id = 13;
/**
* <code>optional int64 id = 13;</code>
*
*/
long getId();
- // optional int64 snapshot_id = 8;
/**
* <code>optional int64 snapshot_id = 8;</code>
*/
*/
long getSnapshotId();
- // optional string uuid = 9;
/**
* <code>optional string uuid = 9;</code>
*/
com.google.protobuf.ByteString
getUuidBytes();
- // repeated .Event event = 11;
/**
* <code>repeated .Event event = 11;</code>
*/
* Protobuf type {@code Component}
*/
public static final class Component extends
- com.google.protobuf.GeneratedMessage
- implements ComponentOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Component)
+ ComponentOrBuilder {
// Use Component.newBuilder() to construct.
private Component(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- path_ = input.readBytes();
+ path_ = bs;
break;
}
case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
- name_ = input.readBytes();
+ name_ = bs;
break;
}
case 32: {
break;
}
case 50: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
- language_ = input.readBytes();
+ language_ = bs;
break;
}
case 56: {
break;
}
case 74: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000800;
- uuid_ = input.readBytes();
+ uuid_ = bs;
break;
}
case 82: {
break;
}
case 98: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000040;
- version_ = input.readBytes();
+ version_ = bs;
break;
}
case 104: {
break;
}
case 114: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000080;
- key_ = input.readBytes();
+ key_ = bs;
break;
}
case 120: {
}
private int bitField0_;
- // optional int32 ref = 1;
public static final int REF_FIELD_NUMBER = 1;
private int ref_;
/**
return ref_;
}
- // optional string path = 2;
public static final int PATH_FIELD_NUMBER = 2;
private java.lang.Object path_;
/**
}
}
- // optional string name = 3;
public static final int NAME_FIELD_NUMBER = 3;
private java.lang.Object name_;
/**
}
}
- // optional .ComponentType type = 4;
public static final int TYPE_FIELD_NUMBER = 4;
private org.sonar.batch.protocol.Constants.ComponentType type_;
/**
return type_;
}
- // optional bool is_test = 5;
public static final int IS_TEST_FIELD_NUMBER = 5;
private boolean isTest_;
/**
return isTest_;
}
- // optional string language = 6;
public static final int LANGUAGE_FIELD_NUMBER = 6;
private java.lang.Object language_;
/**
}
}
- // repeated int32 child_ref = 7 [packed = true];
public static final int CHILD_REF_FIELD_NUMBER = 7;
private java.util.List<java.lang.Integer> childRef_;
/**
}
private int childRefMemoizedSerializedSize = -1;
- // repeated .ComponentLink link = 10;
public static final int LINK_FIELD_NUMBER = 10;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.ComponentLink> link_;
/**
return link_.get(index);
}
- // optional string version = 12;
public static final int VERSION_FIELD_NUMBER = 12;
private java.lang.Object version_;
/**
}
}
- // optional string key = 14;
public static final int KEY_FIELD_NUMBER = 14;
private java.lang.Object key_;
/**
}
}
- // optional int32 lines = 15;
public static final int LINES_FIELD_NUMBER = 15;
private int lines_;
/**
return lines_;
}
- // optional int64 id = 13;
public static final int ID_FIELD_NUMBER = 13;
private long id_;
/**
return id_;
}
- // optional int64 snapshot_id = 8;
public static final int SNAPSHOT_ID_FIELD_NUMBER = 8;
private long snapshotId_;
/**
return snapshotId_;
}
- // optional string uuid = 9;
public static final int UUID_FIELD_NUMBER = 9;
private java.lang.Object uuid_;
/**
}
}
- // repeated .Event event = 11;
public static final int EVENT_FIELD_NUMBER = 11;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Event> event_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Component}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.ComponentOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Component)
+ org.sonar.batch.protocol.output.BatchReport.ComponentOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Component_descriptor;
}
private int bitField0_;
- // optional int32 ref = 1;
private int ref_ ;
/**
* <code>optional int32 ref = 1;</code>
return this;
}
- // optional string path = 2;
private java.lang.Object path_ = "";
/**
* <code>optional string path = 2;</code>
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- path_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ path_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string name = 3;
private java.lang.Object name_ = "";
/**
* <code>optional string name = 3;</code>
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- name_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ name_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional .ComponentType type = 4;
private org.sonar.batch.protocol.Constants.ComponentType type_ = org.sonar.batch.protocol.Constants.ComponentType.PROJECT;
/**
* <code>optional .ComponentType type = 4;</code>
return this;
}
- // optional bool is_test = 5;
private boolean isTest_ ;
/**
* <code>optional bool is_test = 5;</code>
return this;
}
- // optional string language = 6;
private java.lang.Object language_ = "";
/**
* <code>optional string language = 6;</code>
public java.lang.String getLanguage() {
java.lang.Object ref = language_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- language_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ language_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // repeated int32 child_ref = 7 [packed = true];
private java.util.List<java.lang.Integer> childRef_ = java.util.Collections.emptyList();
private void ensureChildRefIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
public Builder addAllChildRef(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureChildRefIsMutable();
- super.addAll(values, childRef_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, childRef_);
onChanged();
return this;
}
return this;
}
- // repeated .ComponentLink link = 10;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.ComponentLink> link_ =
java.util.Collections.emptyList();
private void ensureLinkIsMutable() {
java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.ComponentLink> values) {
if (linkBuilder_ == null) {
ensureLinkIsMutable();
- super.addAll(values, link_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, link_);
onChanged();
} else {
linkBuilder_.addAllMessages(values);
return linkBuilder_;
}
- // optional string version = 12;
private java.lang.Object version_ = "";
/**
* <code>optional string version = 12;</code>
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- version_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ version_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string key = 14;
private java.lang.Object key_ = "";
/**
* <code>optional string key = 14;</code>
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- key_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ key_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional int32 lines = 15;
private int lines_ ;
/**
* <code>optional int32 lines = 15;</code>
return this;
}
- // optional int64 id = 13;
private long id_ ;
/**
* <code>optional int64 id = 13;</code>
return this;
}
- // optional int64 snapshot_id = 8;
private long snapshotId_ ;
/**
* <code>optional int64 snapshot_id = 8;</code>
return this;
}
- // optional string uuid = 9;
private java.lang.Object uuid_ = "";
/**
* <code>optional string uuid = 9;</code>
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- uuid_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ uuid_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // repeated .Event event = 11;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Event> event_ =
java.util.Collections.emptyList();
private void ensureEventIsMutable() {
java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Event> values) {
if (eventBuilder_ == null) {
ensureEventIsMutable();
- super.addAll(values, event_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, event_);
onChanged();
} else {
eventBuilder_.addAllMessages(values);
// @@protoc_insertion_point(class_scope:Component)
}
- public interface MeasureOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface MeasureOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Measure)
+ com.google.protobuf.MessageOrBuilder {
- // optional .MeasureValueType value_type = 1;
/**
* <code>optional .MeasureValueType value_type = 1;</code>
*/
*/
org.sonar.batch.protocol.Constants.MeasureValueType getValueType();
- // optional bool boolean_value = 2;
/**
* <code>optional bool boolean_value = 2;</code>
*
*/
boolean getBooleanValue();
- // optional int32 int_value = 3;
/**
* <code>optional int32 int_value = 3;</code>
*/
*/
int getIntValue();
- // optional int64 long_value = 4;
/**
* <code>optional int64 long_value = 4;</code>
*/
*/
long getLongValue();
- // optional double double_value = 5;
/**
* <code>optional double double_value = 5;</code>
*/
*/
double getDoubleValue();
- // optional string string_value = 6;
/**
* <code>optional string string_value = 6;</code>
*/
com.google.protobuf.ByteString
getStringValueBytes();
- // optional string metric_key = 7;
/**
* <code>optional string metric_key = 7;</code>
*/
com.google.protobuf.ByteString
getMetricKeyBytes();
- // optional string description = 9;
/**
* <code>optional string description = 9;</code>
*
com.google.protobuf.ByteString
getDescriptionBytes();
- // optional string rule_key = 10;
/**
* <code>optional string rule_key = 10;</code>
*/
com.google.protobuf.ByteString
getRuleKeyBytes();
- // optional .Severity severity = 11;
/**
* <code>optional .Severity severity = 11;</code>
*/
*/
org.sonar.batch.protocol.Constants.Severity getSeverity();
- // optional string alert_status = 12;
/**
* <code>optional string alert_status = 12;</code>
*/
com.google.protobuf.ByteString
getAlertStatusBytes();
- // optional string alert_text = 13;
/**
* <code>optional string alert_text = 13;</code>
*/
com.google.protobuf.ByteString
getAlertTextBytes();
- // optional double variation_value_1 = 14;
/**
* <code>optional double variation_value_1 = 14;</code>
*/
*/
double getVariationValue1();
- // optional double variation_value_2 = 15;
/**
* <code>optional double variation_value_2 = 15;</code>
*/
*/
double getVariationValue2();
- // optional double variation_value_3 = 16;
/**
* <code>optional double variation_value_3 = 16;</code>
*/
*/
double getVariationValue3();
- // optional double variation_value_4 = 17;
/**
* <code>optional double variation_value_4 = 17;</code>
*/
*/
double getVariationValue4();
- // optional double variation_value_5 = 18;
/**
* <code>optional double variation_value_5 = 18;</code>
*/
*/
double getVariationValue5();
- // optional int32 characteric_id = 19;
/**
* <code>optional int32 characteric_id = 19;</code>
*/
*/
int getCharactericId();
- // optional int32 person_id = 20;
/**
* <code>optional int32 person_id = 20;</code>
*/
* Protobuf type {@code Measure}
*/
public static final class Measure extends
- com.google.protobuf.GeneratedMessage
- implements MeasureOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Measure)
+ MeasureOrBuilder {
// Use Measure.newBuilder() to construct.
private Measure(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 50: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
- stringValue_ = input.readBytes();
+ stringValue_ = bs;
break;
}
case 58: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000040;
- metricKey_ = input.readBytes();
+ metricKey_ = bs;
break;
}
case 74: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000080;
- description_ = input.readBytes();
+ description_ = bs;
break;
}
case 82: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000100;
- ruleKey_ = input.readBytes();
+ ruleKey_ = bs;
break;
}
case 88: {
break;
}
case 98: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000400;
- alertStatus_ = input.readBytes();
+ alertStatus_ = bs;
break;
}
case 106: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000800;
- alertText_ = input.readBytes();
+ alertText_ = bs;
break;
}
case 113: {
}
private int bitField0_;
- // optional .MeasureValueType value_type = 1;
public static final int VALUE_TYPE_FIELD_NUMBER = 1;
private org.sonar.batch.protocol.Constants.MeasureValueType valueType_;
/**
return valueType_;
}
- // optional bool boolean_value = 2;
public static final int BOOLEAN_VALUE_FIELD_NUMBER = 2;
private boolean booleanValue_;
/**
return booleanValue_;
}
- // optional int32 int_value = 3;
public static final int INT_VALUE_FIELD_NUMBER = 3;
private int intValue_;
/**
return intValue_;
}
- // optional int64 long_value = 4;
public static final int LONG_VALUE_FIELD_NUMBER = 4;
private long longValue_;
/**
return longValue_;
}
- // optional double double_value = 5;
public static final int DOUBLE_VALUE_FIELD_NUMBER = 5;
private double doubleValue_;
/**
return doubleValue_;
}
- // optional string string_value = 6;
public static final int STRING_VALUE_FIELD_NUMBER = 6;
private java.lang.Object stringValue_;
/**
}
}
- // optional string metric_key = 7;
public static final int METRIC_KEY_FIELD_NUMBER = 7;
private java.lang.Object metricKey_;
/**
}
}
- // optional string description = 9;
public static final int DESCRIPTION_FIELD_NUMBER = 9;
private java.lang.Object description_;
/**
}
}
- // optional string rule_key = 10;
public static final int RULE_KEY_FIELD_NUMBER = 10;
private java.lang.Object ruleKey_;
/**
}
}
- // optional .Severity severity = 11;
public static final int SEVERITY_FIELD_NUMBER = 11;
private org.sonar.batch.protocol.Constants.Severity severity_;
/**
return severity_;
}
- // optional string alert_status = 12;
public static final int ALERT_STATUS_FIELD_NUMBER = 12;
private java.lang.Object alertStatus_;
/**
}
}
- // optional string alert_text = 13;
public static final int ALERT_TEXT_FIELD_NUMBER = 13;
private java.lang.Object alertText_;
/**
}
}
- // optional double variation_value_1 = 14;
public static final int VARIATION_VALUE_1_FIELD_NUMBER = 14;
private double variationValue1_;
/**
return variationValue1_;
}
- // optional double variation_value_2 = 15;
public static final int VARIATION_VALUE_2_FIELD_NUMBER = 15;
private double variationValue2_;
/**
return variationValue2_;
}
- // optional double variation_value_3 = 16;
public static final int VARIATION_VALUE_3_FIELD_NUMBER = 16;
private double variationValue3_;
/**
return variationValue3_;
}
- // optional double variation_value_4 = 17;
public static final int VARIATION_VALUE_4_FIELD_NUMBER = 17;
private double variationValue4_;
/**
return variationValue4_;
}
- // optional double variation_value_5 = 18;
public static final int VARIATION_VALUE_5_FIELD_NUMBER = 18;
private double variationValue5_;
/**
return variationValue5_;
}
- // optional int32 characteric_id = 19;
public static final int CHARACTERIC_ID_FIELD_NUMBER = 19;
private int charactericId_;
/**
return charactericId_;
}
- // optional int32 person_id = 20;
public static final int PERSON_ID_FIELD_NUMBER = 20;
private int personId_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Measure}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Measure)
+ org.sonar.batch.protocol.output.BatchReport.MeasureOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Measure_descriptor;
}
private int bitField0_;
- // optional .MeasureValueType value_type = 1;
private org.sonar.batch.protocol.Constants.MeasureValueType valueType_ = org.sonar.batch.protocol.Constants.MeasureValueType.INT;
/**
* <code>optional .MeasureValueType value_type = 1;</code>
return this;
}
- // optional bool boolean_value = 2;
private boolean booleanValue_ ;
/**
* <code>optional bool boolean_value = 2;</code>
return this;
}
- // optional int32 int_value = 3;
private int intValue_ ;
/**
* <code>optional int32 int_value = 3;</code>
return this;
}
- // optional int64 long_value = 4;
private long longValue_ ;
/**
* <code>optional int64 long_value = 4;</code>
return this;
}
- // optional double double_value = 5;
private double doubleValue_ ;
/**
* <code>optional double double_value = 5;</code>
return this;
}
- // optional string string_value = 6;
private java.lang.Object stringValue_ = "";
/**
* <code>optional string string_value = 6;</code>
public java.lang.String getStringValue() {
java.lang.Object ref = stringValue_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- stringValue_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ stringValue_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string metric_key = 7;
private java.lang.Object metricKey_ = "";
/**
* <code>optional string metric_key = 7;</code>
public java.lang.String getMetricKey() {
java.lang.Object ref = metricKey_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- metricKey_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ metricKey_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string description = 9;
private java.lang.Object description_ = "";
/**
* <code>optional string description = 9;</code>
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- description_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ description_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string rule_key = 10;
private java.lang.Object ruleKey_ = "";
/**
* <code>optional string rule_key = 10;</code>
public java.lang.String getRuleKey() {
java.lang.Object ref = ruleKey_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- ruleKey_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ ruleKey_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional .Severity severity = 11;
private org.sonar.batch.protocol.Constants.Severity severity_ = org.sonar.batch.protocol.Constants.Severity.INFO;
/**
* <code>optional .Severity severity = 11;</code>
return this;
}
- // optional string alert_status = 12;
private java.lang.Object alertStatus_ = "";
/**
* <code>optional string alert_status = 12;</code>
public java.lang.String getAlertStatus() {
java.lang.Object ref = alertStatus_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- alertStatus_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ alertStatus_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string alert_text = 13;
private java.lang.Object alertText_ = "";
/**
* <code>optional string alert_text = 13;</code>
public java.lang.String getAlertText() {
java.lang.Object ref = alertText_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- alertText_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ alertText_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional double variation_value_1 = 14;
private double variationValue1_ ;
/**
* <code>optional double variation_value_1 = 14;</code>
return this;
}
- // optional double variation_value_2 = 15;
private double variationValue2_ ;
/**
* <code>optional double variation_value_2 = 15;</code>
return this;
}
- // optional double variation_value_3 = 16;
private double variationValue3_ ;
/**
* <code>optional double variation_value_3 = 16;</code>
return this;
}
- // optional double variation_value_4 = 17;
private double variationValue4_ ;
/**
* <code>optional double variation_value_4 = 17;</code>
return this;
}
- // optional double variation_value_5 = 18;
private double variationValue5_ ;
/**
* <code>optional double variation_value_5 = 18;</code>
return this;
}
- // optional int32 characteric_id = 19;
private int charactericId_ ;
/**
* <code>optional int32 characteric_id = 19;</code>
return this;
}
- // optional int32 person_id = 20;
private int personId_ ;
/**
* <code>optional int32 person_id = 20;</code>
// @@protoc_insertion_point(class_scope:Measure)
}
- public interface MeasuresOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface MeasuresOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Measures)
+ com.google.protobuf.MessageOrBuilder {
- // optional int32 component_ref = 1;
/**
* <code>optional int32 component_ref = 1;</code>
*/
*/
int getComponentRef();
- // repeated .Measure measure = 2;
/**
* <code>repeated .Measure measure = 2;</code>
*/
* Protobuf type {@code Measures}
*/
public static final class Measures extends
- com.google.protobuf.GeneratedMessage
- implements MeasuresOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Measures)
+ MeasuresOrBuilder {
// Use Measures.newBuilder() to construct.
private Measures(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private int bitField0_;
- // optional int32 component_ref = 1;
public static final int COMPONENT_REF_FIELD_NUMBER = 1;
private int componentRef_;
/**
return componentRef_;
}
- // repeated .Measure measure = 2;
public static final int MEASURE_FIELD_NUMBER = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Measure> measure_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Measures}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.MeasuresOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Measures)
+ org.sonar.batch.protocol.output.BatchReport.MeasuresOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Measures_descriptor;
}
private int bitField0_;
- // optional int32 component_ref = 1;
private int componentRef_ ;
/**
* <code>optional int32 component_ref = 1;</code>
return this;
}
- // repeated .Measure measure = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Measure> measure_ =
java.util.Collections.emptyList();
private void ensureMeasureIsMutable() {
java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Measure> values) {
if (measureBuilder_ == null) {
ensureMeasureIsMutable();
- super.addAll(values, measure_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, measure_);
onChanged();
} else {
measureBuilder_.addAllMessages(values);
// @@protoc_insertion_point(class_scope:Measures)
}
- public interface IssueOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface IssueOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Issue)
+ com.google.protobuf.MessageOrBuilder {
- // optional string rule_repository = 1;
/**
* <code>optional string rule_repository = 1;</code>
*/
com.google.protobuf.ByteString
getRuleRepositoryBytes();
- // optional string rule_key = 2;
/**
* <code>optional string rule_key = 2;</code>
*/
com.google.protobuf.ByteString
getRuleKeyBytes();
- // optional int32 line = 3;
/**
* <code>optional int32 line = 3;</code>
*/
*/
int getLine();
- // optional string msg = 4;
/**
* <code>optional string msg = 4;</code>
*/
com.google.protobuf.ByteString
getMsgBytes();
- // optional .Severity severity = 5;
/**
* <code>optional .Severity severity = 5;</code>
*/
*/
org.sonar.batch.protocol.Constants.Severity getSeverity();
- // repeated string tag = 6;
/**
* <code>repeated string tag = 6;</code>
*/
- java.util.List<java.lang.String>
- getTagList();
+ com.google.protobuf.ProtocolStringList
+ getTagList();
/**
* <code>repeated string tag = 6;</code>
*/
com.google.protobuf.ByteString
getTagBytes(int index);
- // optional double effort_to_fix = 7;
/**
* <code>optional double effort_to_fix = 7;</code>
*
*/
double getEffortToFix();
- // optional bool is_new = 8;
/**
* <code>optional bool is_new = 8;</code>
*/
*/
boolean getIsNew();
- // optional string uuid = 9;
/**
* <code>optional string uuid = 9;</code>
*/
com.google.protobuf.ByteString
getUuidBytes();
- // optional int64 debt_in_minutes = 10;
/**
* <code>optional int64 debt_in_minutes = 10;</code>
*/
*/
long getDebtInMinutes();
- // optional string resolution = 11;
/**
* <code>optional string resolution = 11;</code>
*/
com.google.protobuf.ByteString
getResolutionBytes();
- // optional string status = 12;
/**
* <code>optional string status = 12;</code>
*/
com.google.protobuf.ByteString
getStatusBytes();
- // optional string checksum = 13;
/**
* <code>optional string checksum = 13;</code>
*/
com.google.protobuf.ByteString
getChecksumBytes();
- // optional bool manual_severity = 14;
/**
* <code>optional bool manual_severity = 14;</code>
*/
*/
boolean getManualSeverity();
- // optional string reporter = 15;
/**
* <code>optional string reporter = 15;</code>
*/
com.google.protobuf.ByteString
getReporterBytes();
- // optional string assignee = 16;
/**
* <code>optional string assignee = 16;</code>
*/
com.google.protobuf.ByteString
getAssigneeBytes();
- // optional string action_plan_key = 17;
/**
* <code>optional string action_plan_key = 17;</code>
*/
com.google.protobuf.ByteString
getActionPlanKeyBytes();
- // optional string attributes = 18;
/**
* <code>optional string attributes = 18;</code>
*/
com.google.protobuf.ByteString
getAttributesBytes();
- // optional string author_login = 19;
/**
* <code>optional string author_login = 19;</code>
*/
com.google.protobuf.ByteString
getAuthorLoginBytes();
- // optional int64 creation_date = 20;
/**
* <code>optional int64 creation_date = 20;</code>
*/
*/
long getCreationDate();
- // optional int64 close_date = 21;
/**
* <code>optional int64 close_date = 21;</code>
*/
*/
long getCloseDate();
- // optional int64 update_date = 22;
/**
* <code>optional int64 update_date = 22;</code>
*/
*/
long getUpdateDate();
- // optional int64 selected_at = 23;
/**
* <code>optional int64 selected_at = 23;</code>
*/
*/
long getSelectedAt();
- // optional string diff_fields = 24;
/**
* <code>optional string diff_fields = 24;</code>
*/
com.google.protobuf.ByteString
getDiffFieldsBytes();
- // optional bool is_changed = 25;
/**
* <code>optional bool is_changed = 25;</code>
*/
*/
boolean getIsChanged();
- // optional bool must_send_notification = 26;
/**
* <code>optional bool must_send_notification = 26;</code>
*/
* Protobuf type {@code Issue}
*/
public static final class Issue extends
- com.google.protobuf.GeneratedMessage
- implements IssueOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Issue)
+ IssueOrBuilder {
// Use Issue.newBuilder() to construct.
private Issue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 10: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
- ruleRepository_ = input.readBytes();
+ ruleRepository_ = bs;
break;
}
case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- ruleKey_ = input.readBytes();
+ ruleKey_ = bs;
break;
}
case 24: {
break;
}
case 34: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
- msg_ = input.readBytes();
+ msg_ = bs;
break;
}
case 40: {
break;
}
case 50: {
+ com.google.protobuf.ByteString bs = input.readBytes();
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
tag_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000020;
}
- tag_.add(input.readBytes());
+ tag_.add(bs);
break;
}
case 57: {
break;
}
case 74: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000080;
- uuid_ = input.readBytes();
+ uuid_ = bs;
break;
}
case 80: {
break;
}
case 90: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000200;
- resolution_ = input.readBytes();
+ resolution_ = bs;
break;
}
case 98: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000400;
- status_ = input.readBytes();
+ status_ = bs;
break;
}
case 106: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000800;
- checksum_ = input.readBytes();
+ checksum_ = bs;
break;
}
case 112: {
break;
}
case 122: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00002000;
- reporter_ = input.readBytes();
+ reporter_ = bs;
break;
}
case 130: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00004000;
- assignee_ = input.readBytes();
+ assignee_ = bs;
break;
}
case 138: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00008000;
- actionPlanKey_ = input.readBytes();
+ actionPlanKey_ = bs;
break;
}
case 146: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00010000;
- attributes_ = input.readBytes();
+ attributes_ = bs;
break;
}
case 154: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00020000;
- authorLogin_ = input.readBytes();
+ authorLogin_ = bs;
break;
}
case 160: {
break;
}
case 194: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00400000;
- diffFields_ = input.readBytes();
+ diffFields_ = bs;
break;
}
case 200: {
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
- tag_ = new com.google.protobuf.UnmodifiableLazyStringList(tag_);
+ tag_ = tag_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
private int bitField0_;
- // optional string rule_repository = 1;
public static final int RULE_REPOSITORY_FIELD_NUMBER = 1;
private java.lang.Object ruleRepository_;
/**
}
}
- // optional string rule_key = 2;
public static final int RULE_KEY_FIELD_NUMBER = 2;
private java.lang.Object ruleKey_;
/**
}
}
- // optional int32 line = 3;
public static final int LINE_FIELD_NUMBER = 3;
private int line_;
/**
return line_;
}
- // optional string msg = 4;
public static final int MSG_FIELD_NUMBER = 4;
private java.lang.Object msg_;
/**
}
}
- // optional .Severity severity = 5;
public static final int SEVERITY_FIELD_NUMBER = 5;
private org.sonar.batch.protocol.Constants.Severity severity_;
/**
return severity_;
}
- // repeated string tag = 6;
public static final int TAG_FIELD_NUMBER = 6;
private com.google.protobuf.LazyStringList tag_;
/**
* <code>repeated string tag = 6;</code>
*/
- public java.util.List<java.lang.String>
+ public com.google.protobuf.ProtocolStringList
getTagList() {
return tag_;
}
return tag_.getByteString(index);
}
- // optional double effort_to_fix = 7;
public static final int EFFORT_TO_FIX_FIELD_NUMBER = 7;
private double effortToFix_;
/**
return effortToFix_;
}
- // optional bool is_new = 8;
public static final int IS_NEW_FIELD_NUMBER = 8;
private boolean isNew_;
/**
return isNew_;
}
- // optional string uuid = 9;
public static final int UUID_FIELD_NUMBER = 9;
private java.lang.Object uuid_;
/**
}
}
- // optional int64 debt_in_minutes = 10;
public static final int DEBT_IN_MINUTES_FIELD_NUMBER = 10;
private long debtInMinutes_;
/**
return debtInMinutes_;
}
- // optional string resolution = 11;
public static final int RESOLUTION_FIELD_NUMBER = 11;
private java.lang.Object resolution_;
/**
}
}
- // optional string status = 12;
public static final int STATUS_FIELD_NUMBER = 12;
private java.lang.Object status_;
/**
}
}
- // optional string checksum = 13;
public static final int CHECKSUM_FIELD_NUMBER = 13;
private java.lang.Object checksum_;
/**
}
}
- // optional bool manual_severity = 14;
public static final int MANUAL_SEVERITY_FIELD_NUMBER = 14;
private boolean manualSeverity_;
/**
return manualSeverity_;
}
- // optional string reporter = 15;
public static final int REPORTER_FIELD_NUMBER = 15;
private java.lang.Object reporter_;
/**
}
}
- // optional string assignee = 16;
public static final int ASSIGNEE_FIELD_NUMBER = 16;
private java.lang.Object assignee_;
/**
}
}
- // optional string action_plan_key = 17;
public static final int ACTION_PLAN_KEY_FIELD_NUMBER = 17;
private java.lang.Object actionPlanKey_;
/**
}
}
- // optional string attributes = 18;
public static final int ATTRIBUTES_FIELD_NUMBER = 18;
private java.lang.Object attributes_;
/**
}
}
- // optional string author_login = 19;
public static final int AUTHOR_LOGIN_FIELD_NUMBER = 19;
private java.lang.Object authorLogin_;
/**
}
}
- // optional int64 creation_date = 20;
public static final int CREATION_DATE_FIELD_NUMBER = 20;
private long creationDate_;
/**
return creationDate_;
}
- // optional int64 close_date = 21;
public static final int CLOSE_DATE_FIELD_NUMBER = 21;
private long closeDate_;
/**
return closeDate_;
}
- // optional int64 update_date = 22;
public static final int UPDATE_DATE_FIELD_NUMBER = 22;
private long updateDate_;
/**
return updateDate_;
}
- // optional int64 selected_at = 23;
public static final int SELECTED_AT_FIELD_NUMBER = 23;
private long selectedAt_;
/**
return selectedAt_;
}
- // optional string diff_fields = 24;
public static final int DIFF_FIELDS_FIELD_NUMBER = 24;
private java.lang.Object diffFields_;
/**
}
}
- // optional bool is_changed = 25;
public static final int IS_CHANGED_FIELD_NUMBER = 25;
private boolean isChanged_;
/**
return isChanged_;
}
- // optional bool must_send_notification = 26;
public static final int MUST_SEND_NOTIFICATION_FIELD_NUMBER = 26;
private boolean mustSendNotification_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Issue}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Issue)
+ org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Issue_descriptor;
}
result.severity_ = severity_;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
- tag_ = new com.google.protobuf.UnmodifiableLazyStringList(
- tag_);
+ tag_ = tag_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000020);
}
result.tag_ = tag_;
}
private int bitField0_;
- // optional string rule_repository = 1;
private java.lang.Object ruleRepository_ = "";
/**
* <code>optional string rule_repository = 1;</code>
public java.lang.String getRuleRepository() {
java.lang.Object ref = ruleRepository_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- ruleRepository_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ ruleRepository_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string rule_key = 2;
private java.lang.Object ruleKey_ = "";
/**
* <code>optional string rule_key = 2;</code>
public java.lang.String getRuleKey() {
java.lang.Object ref = ruleKey_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- ruleKey_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ ruleKey_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional int32 line = 3;
private int line_ ;
/**
* <code>optional int32 line = 3;</code>
return this;
}
- // optional string msg = 4;
private java.lang.Object msg_ = "";
/**
* <code>optional string msg = 4;</code>
public java.lang.String getMsg() {
java.lang.Object ref = msg_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- msg_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ msg_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional .Severity severity = 5;
private org.sonar.batch.protocol.Constants.Severity severity_ = org.sonar.batch.protocol.Constants.Severity.INFO;
/**
* <code>optional .Severity severity = 5;</code>
return this;
}
- // repeated string tag = 6;
private com.google.protobuf.LazyStringList tag_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTagIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
/**
* <code>repeated string tag = 6;</code>
*/
- public java.util.List<java.lang.String>
+ public com.google.protobuf.ProtocolStringList
getTagList() {
- return java.util.Collections.unmodifiableList(tag_);
+ return tag_.getUnmodifiableView();
}
/**
* <code>repeated string tag = 6;</code>
public Builder addAllTag(
java.lang.Iterable<java.lang.String> values) {
ensureTagIsMutable();
- super.addAll(values, tag_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, tag_);
onChanged();
return this;
}
return this;
}
- // optional double effort_to_fix = 7;
private double effortToFix_ ;
/**
* <code>optional double effort_to_fix = 7;</code>
return this;
}
- // optional bool is_new = 8;
private boolean isNew_ ;
/**
* <code>optional bool is_new = 8;</code>
return this;
}
- // optional string uuid = 9;
private java.lang.Object uuid_ = "";
/**
* <code>optional string uuid = 9;</code>
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- uuid_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ uuid_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional int64 debt_in_minutes = 10;
private long debtInMinutes_ ;
/**
* <code>optional int64 debt_in_minutes = 10;</code>
return this;
}
- // optional string resolution = 11;
private java.lang.Object resolution_ = "";
/**
* <code>optional string resolution = 11;</code>
public java.lang.String getResolution() {
java.lang.Object ref = resolution_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- resolution_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ resolution_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string status = 12;
private java.lang.Object status_ = "";
/**
* <code>optional string status = 12;</code>
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- status_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ status_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string checksum = 13;
private java.lang.Object checksum_ = "";
/**
* <code>optional string checksum = 13;</code>
public java.lang.String getChecksum() {
java.lang.Object ref = checksum_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- checksum_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ checksum_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional bool manual_severity = 14;
private boolean manualSeverity_ ;
/**
* <code>optional bool manual_severity = 14;</code>
return this;
}
- // optional string reporter = 15;
private java.lang.Object reporter_ = "";
/**
* <code>optional string reporter = 15;</code>
public java.lang.String getReporter() {
java.lang.Object ref = reporter_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- reporter_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ reporter_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string assignee = 16;
private java.lang.Object assignee_ = "";
/**
* <code>optional string assignee = 16;</code>
public java.lang.String getAssignee() {
java.lang.Object ref = assignee_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- assignee_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ assignee_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string action_plan_key = 17;
private java.lang.Object actionPlanKey_ = "";
/**
* <code>optional string action_plan_key = 17;</code>
public java.lang.String getActionPlanKey() {
java.lang.Object ref = actionPlanKey_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- actionPlanKey_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ actionPlanKey_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string attributes = 18;
private java.lang.Object attributes_ = "";
/**
* <code>optional string attributes = 18;</code>
public java.lang.String getAttributes() {
java.lang.Object ref = attributes_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- attributes_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ attributes_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string author_login = 19;
private java.lang.Object authorLogin_ = "";
/**
* <code>optional string author_login = 19;</code>
public java.lang.String getAuthorLogin() {
java.lang.Object ref = authorLogin_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- authorLogin_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ authorLogin_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional int64 creation_date = 20;
private long creationDate_ ;
/**
* <code>optional int64 creation_date = 20;</code>
return this;
}
- // optional int64 close_date = 21;
private long closeDate_ ;
/**
* <code>optional int64 close_date = 21;</code>
return this;
}
- // optional int64 update_date = 22;
private long updateDate_ ;
/**
* <code>optional int64 update_date = 22;</code>
return this;
}
- // optional int64 selected_at = 23;
private long selectedAt_ ;
/**
* <code>optional int64 selected_at = 23;</code>
return this;
}
- // optional string diff_fields = 24;
private java.lang.Object diffFields_ = "";
/**
* <code>optional string diff_fields = 24;</code>
public java.lang.String getDiffFields() {
java.lang.Object ref = diffFields_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- diffFields_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ diffFields_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional bool is_changed = 25;
private boolean isChanged_ ;
/**
* <code>optional bool is_changed = 25;</code>
return this;
}
- // optional bool must_send_notification = 26;
private boolean mustSendNotification_ ;
/**
* <code>optional bool must_send_notification = 26;</code>
// @@protoc_insertion_point(class_scope:Issue)
}
- public interface IssuesOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface IssuesOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Issues)
+ com.google.protobuf.MessageOrBuilder {
- // optional int32 component_ref = 1;
/**
* <code>optional int32 component_ref = 1;</code>
*/
*/
int getComponentRef();
- // repeated .Issue issue = 2;
/**
* <code>repeated .Issue issue = 2;</code>
*/
org.sonar.batch.protocol.output.BatchReport.IssueOrBuilder getIssueOrBuilder(
int index);
- // optional string component_uuid = 3;
/**
* <code>optional string component_uuid = 3;</code>
*
* Protobuf type {@code Issues}
*/
public static final class Issues extends
- com.google.protobuf.GeneratedMessage
- implements IssuesOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Issues)
+ IssuesOrBuilder {
// Use Issues.newBuilder() to construct.
private Issues(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- componentUuid_ = input.readBytes();
+ componentUuid_ = bs;
break;
}
}
}
private int bitField0_;
- // optional int32 component_ref = 1;
public static final int COMPONENT_REF_FIELD_NUMBER = 1;
private int componentRef_;
/**
return componentRef_;
}
- // repeated .Issue issue = 2;
public static final int ISSUE_FIELD_NUMBER = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Issue> issue_;
/**
return issue_.get(index);
}
- // optional string component_uuid = 3;
public static final int COMPONENT_UUID_FIELD_NUMBER = 3;
private java.lang.Object componentUuid_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Issues}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.IssuesOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Issues)
+ org.sonar.batch.protocol.output.BatchReport.IssuesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Issues_descriptor;
}
private int bitField0_;
- // optional int32 component_ref = 1;
private int componentRef_ ;
/**
* <code>optional int32 component_ref = 1;</code>
return this;
}
- // repeated .Issue issue = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Issue> issue_ =
java.util.Collections.emptyList();
private void ensureIssueIsMutable() {
java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Issue> values) {
if (issueBuilder_ == null) {
ensureIssueIsMutable();
- super.addAll(values, issue_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, issue_);
onChanged();
} else {
issueBuilder_.addAllMessages(values);
return issueBuilder_;
}
- // optional string component_uuid = 3;
private java.lang.Object componentUuid_ = "";
/**
* <code>optional string component_uuid = 3;</code>
public java.lang.String getComponentUuid() {
java.lang.Object ref = componentUuid_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- componentUuid_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ componentUuid_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
// @@protoc_insertion_point(class_scope:Issues)
}
- public interface ChangesetsOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface ChangesetsOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Changesets)
+ com.google.protobuf.MessageOrBuilder {
- // optional int32 component_ref = 1;
/**
* <code>optional int32 component_ref = 1;</code>
*/
*/
int getComponentRef();
- // repeated .Changesets.Changeset changeset = 2;
/**
* <code>repeated .Changesets.Changeset changeset = 2;</code>
*/
org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder getChangesetOrBuilder(
int index);
- // repeated int32 changesetIndexByLine = 3 [packed = true];
/**
* <code>repeated int32 changesetIndexByLine = 3 [packed = true];</code>
*
* Protobuf type {@code Changesets}
*/
public static final class Changesets extends
- com.google.protobuf.GeneratedMessage
- implements ChangesetsOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Changesets)
+ ChangesetsOrBuilder {
// Use Changesets.newBuilder() to construct.
private Changesets(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
return PARSER;
}
- public interface ChangesetOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface ChangesetOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Changesets.Changeset)
+ com.google.protobuf.MessageOrBuilder {
- // optional string revision = 1;
/**
* <code>optional string revision = 1;</code>
*/
com.google.protobuf.ByteString
getRevisionBytes();
- // optional string author = 2;
/**
* <code>optional string author = 2;</code>
*/
com.google.protobuf.ByteString
getAuthorBytes();
- // optional int64 date = 3;
/**
* <code>optional int64 date = 3;</code>
*/
* Protobuf type {@code Changesets.Changeset}
*/
public static final class Changeset extends
- com.google.protobuf.GeneratedMessage
- implements ChangesetOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Changesets.Changeset)
+ ChangesetOrBuilder {
// Use Changeset.newBuilder() to construct.
private Changeset(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 10: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
- revision_ = input.readBytes();
+ revision_ = bs;
break;
}
case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- author_ = input.readBytes();
+ author_ = bs;
break;
}
case 24: {
}
private int bitField0_;
- // optional string revision = 1;
public static final int REVISION_FIELD_NUMBER = 1;
private java.lang.Object revision_;
/**
}
}
- // optional string author = 2;
public static final int AUTHOR_FIELD_NUMBER = 2;
private java.lang.Object author_;
/**
}
}
- // optional int64 date = 3;
public static final int DATE_FIELD_NUMBER = 3;
private long date_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Changesets.Changeset}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Changesets.Changeset)
+ org.sonar.batch.protocol.output.BatchReport.Changesets.ChangesetOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_Changeset_descriptor;
}
private int bitField0_;
- // optional string revision = 1;
private java.lang.Object revision_ = "";
/**
* <code>optional string revision = 1;</code>
public java.lang.String getRevision() {
java.lang.Object ref = revision_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- revision_ = s;
+ 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;
return this;
}
- // optional string author = 2;
private java.lang.Object author_ = "";
/**
* <code>optional string author = 2;</code>
public java.lang.String getAuthor() {
java.lang.Object ref = author_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- author_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ author_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional int64 date = 3;
private long date_ ;
/**
* <code>optional int64 date = 3;</code>
}
private int bitField0_;
- // optional int32 component_ref = 1;
public static final int COMPONENT_REF_FIELD_NUMBER = 1;
private int componentRef_;
/**
return componentRef_;
}
- // repeated .Changesets.Changeset changeset = 2;
public static final int CHANGESET_FIELD_NUMBER = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset> changeset_;
/**
return changeset_.get(index);
}
- // repeated int32 changesetIndexByLine = 3 [packed = true];
public static final int CHANGESETINDEXBYLINE_FIELD_NUMBER = 3;
private java.util.List<java.lang.Integer> changesetIndexByLine_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Changesets}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.ChangesetsOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Changesets)
+ org.sonar.batch.protocol.output.BatchReport.ChangesetsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Changesets_descriptor;
}
private int bitField0_;
- // optional int32 component_ref = 1;
private int componentRef_ ;
/**
* <code>optional int32 component_ref = 1;</code>
return this;
}
- // repeated .Changesets.Changeset changeset = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset> changeset_ =
java.util.Collections.emptyList();
private void ensureChangesetIsMutable() {
java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Changesets.Changeset> values) {
if (changesetBuilder_ == null) {
ensureChangesetIsMutable();
- super.addAll(values, changeset_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, changeset_);
onChanged();
} else {
changesetBuilder_.addAllMessages(values);
return changesetBuilder_;
}
- // repeated int32 changesetIndexByLine = 3 [packed = true];
private java.util.List<java.lang.Integer> changesetIndexByLine_ = java.util.Collections.emptyList();
private void ensureChangesetIndexByLineIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
public Builder addAllChangesetIndexByLine(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureChangesetIndexByLineIsMutable();
- super.addAll(values, changesetIndexByLine_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, changesetIndexByLine_);
onChanged();
return this;
}
// @@protoc_insertion_point(class_scope:Changesets)
}
- public interface DuplicateOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface DuplicateOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Duplicate)
+ com.google.protobuf.MessageOrBuilder {
- // optional int32 other_file_ref = 1;
/**
* <code>optional int32 other_file_ref = 1;</code>
*
*/
int getOtherFileRef();
- // optional .Range range = 2;
/**
* <code>optional .Range range = 2;</code>
*/
*/
org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder getRangeOrBuilder();
- // optional string other_file_key = 3;
/**
* <code>optional string other_file_key = 3;</code>
*
* Protobuf type {@code Duplicate}
*/
public static final class Duplicate extends
- com.google.protobuf.GeneratedMessage
- implements DuplicateOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Duplicate)
+ DuplicateOrBuilder {
// Use Duplicate.newBuilder() to construct.
private Duplicate(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
- otherFileKey_ = input.readBytes();
+ otherFileKey_ = bs;
break;
}
}
}
private int bitField0_;
- // optional int32 other_file_ref = 1;
public static final int OTHER_FILE_REF_FIELD_NUMBER = 1;
private int otherFileRef_;
/**
return otherFileRef_;
}
- // optional .Range range = 2;
public static final int RANGE_FIELD_NUMBER = 2;
private org.sonar.batch.protocol.output.BatchReport.Range range_;
/**
return range_;
}
- // optional string other_file_key = 3;
public static final int OTHER_FILE_KEY_FIELD_NUMBER = 3;
private java.lang.Object otherFileKey_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Duplicate}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Duplicate)
+ org.sonar.batch.protocol.output.BatchReport.DuplicateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplicate_descriptor;
}
private int bitField0_;
- // optional int32 other_file_ref = 1;
private int otherFileRef_ ;
/**
* <code>optional int32 other_file_ref = 1;</code>
return this;
}
- // optional .Range range = 2;
private org.sonar.batch.protocol.output.BatchReport.Range range_ = org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> rangeBuilder_;
if (rangeBuilder_ == null) {
rangeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>(
- range_,
+ getRange(),
getParentForChildren(),
isClean());
range_ = null;
return rangeBuilder_;
}
- // optional string other_file_key = 3;
private java.lang.Object otherFileKey_ = "";
/**
* <code>optional string other_file_key = 3;</code>
public java.lang.String getOtherFileKey() {
java.lang.Object ref = otherFileKey_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- otherFileKey_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ otherFileKey_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
// @@protoc_insertion_point(class_scope:Duplicate)
}
- public interface DuplicationOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface DuplicationOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Duplication)
+ com.google.protobuf.MessageOrBuilder {
- // optional .Range origin_position = 1;
/**
* <code>optional .Range origin_position = 1;</code>
*
*/
org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder getOriginPositionOrBuilder();
- // repeated .Duplicate duplicate = 2;
/**
* <code>repeated .Duplicate duplicate = 2;</code>
*/
* Protobuf type {@code Duplication}
*/
public static final class Duplication extends
- com.google.protobuf.GeneratedMessage
- implements DuplicationOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Duplication)
+ DuplicationOrBuilder {
// Use Duplication.newBuilder() to construct.
private Duplication(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private int bitField0_;
- // optional .Range origin_position = 1;
public static final int ORIGIN_POSITION_FIELD_NUMBER = 1;
private org.sonar.batch.protocol.output.BatchReport.Range originPosition_;
/**
return originPosition_;
}
- // repeated .Duplicate duplicate = 2;
public static final int DUPLICATE_FIELD_NUMBER = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplicate> duplicate_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Duplication}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Duplication)
+ org.sonar.batch.protocol.output.BatchReport.DuplicationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplication_descriptor;
}
private int bitField0_;
- // optional .Range origin_position = 1;
private org.sonar.batch.protocol.output.BatchReport.Range originPosition_ = org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> originPositionBuilder_;
if (originPositionBuilder_ == null) {
originPositionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>(
- originPosition_,
+ getOriginPosition(),
getParentForChildren(),
isClean());
originPosition_ = null;
return originPositionBuilder_;
}
- // repeated .Duplicate duplicate = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplicate> duplicate_ =
java.util.Collections.emptyList();
private void ensureDuplicateIsMutable() {
java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Duplicate> values) {
if (duplicateBuilder_ == null) {
ensureDuplicateIsMutable();
- super.addAll(values, duplicate_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, duplicate_);
onChanged();
} else {
duplicateBuilder_.addAllMessages(values);
// @@protoc_insertion_point(class_scope:Duplication)
}
- public interface DuplicationsOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface DuplicationsOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Duplications)
+ com.google.protobuf.MessageOrBuilder {
- // optional int32 component_ref = 1;
/**
* <code>optional int32 component_ref = 1;</code>
*/
*/
int getComponentRef();
- // repeated .Duplication duplication = 2;
/**
* <code>repeated .Duplication duplication = 2;</code>
*/
* Protobuf type {@code Duplications}
*/
public static final class Duplications extends
- com.google.protobuf.GeneratedMessage
- implements DuplicationsOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Duplications)
+ DuplicationsOrBuilder {
// Use Duplications.newBuilder() to construct.
private Duplications(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private int bitField0_;
- // optional int32 component_ref = 1;
public static final int COMPONENT_REF_FIELD_NUMBER = 1;
private int componentRef_;
/**
return componentRef_;
}
- // repeated .Duplication duplication = 2;
public static final int DUPLICATION_FIELD_NUMBER = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplication> duplication_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Duplications}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.DuplicationsOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Duplications)
+ org.sonar.batch.protocol.output.BatchReport.DuplicationsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Duplications_descriptor;
}
private int bitField0_;
- // optional int32 component_ref = 1;
private int componentRef_ ;
/**
* <code>optional int32 component_ref = 1;</code>
return this;
}
- // repeated .Duplication duplication = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Duplication> duplication_ =
java.util.Collections.emptyList();
private void ensureDuplicationIsMutable() {
java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Duplication> values) {
if (duplicationBuilder_ == null) {
ensureDuplicationIsMutable();
- super.addAll(values, duplication_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, duplication_);
onChanged();
} else {
duplicationBuilder_.addAllMessages(values);
// @@protoc_insertion_point(class_scope:Duplications)
}
- public interface RangeOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface RangeOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Range)
+ com.google.protobuf.MessageOrBuilder {
- // optional int32 start_line = 1;
/**
* <code>optional int32 start_line = 1;</code>
*
*/
int getStartLine();
- // optional int32 end_line = 2;
/**
* <code>optional int32 end_line = 2;</code>
*
*/
int getEndLine();
- // optional int32 start_offset = 3;
/**
* <code>optional int32 start_offset = 3;</code>
*
*/
int getStartOffset();
- // optional int32 end_offset = 4;
/**
* <code>optional int32 end_offset = 4;</code>
*
* </pre>
*/
public static final class Range extends
- com.google.protobuf.GeneratedMessage
- implements RangeOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Range)
+ RangeOrBuilder {
// Use Range.newBuilder() to construct.
private Range(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private int bitField0_;
- // optional int32 start_line = 1;
public static final int START_LINE_FIELD_NUMBER = 1;
private int startLine_;
/**
return startLine_;
}
- // optional int32 end_line = 2;
public static final int END_LINE_FIELD_NUMBER = 2;
private int endLine_;
/**
return endLine_;
}
- // optional int32 start_offset = 3;
public static final int START_OFFSET_FIELD_NUMBER = 3;
private int startOffset_;
/**
return startOffset_;
}
- // optional int32 end_offset = 4;
public static final int END_OFFSET_FIELD_NUMBER = 4;
private int endOffset_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* </pre>
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Range)
+ org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Range_descriptor;
}
private int bitField0_;
- // optional int32 start_line = 1;
private int startLine_ ;
/**
* <code>optional int32 start_line = 1;</code>
return this;
}
- // optional int32 end_line = 2;
private int endLine_ ;
/**
* <code>optional int32 end_line = 2;</code>
return this;
}
- // optional int32 start_offset = 3;
private int startOffset_ ;
/**
* <code>optional int32 start_offset = 3;</code>
return this;
}
- // optional int32 end_offset = 4;
private int endOffset_ ;
/**
* <code>optional int32 end_offset = 4;</code>
// @@protoc_insertion_point(class_scope:Range)
}
- public interface SymbolsOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface SymbolsOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Symbols)
+ com.google.protobuf.MessageOrBuilder {
- // optional int32 file_ref = 1;
/**
* <code>optional int32 file_ref = 1;</code>
*/
*/
int getFileRef();
- // repeated .Symbols.Symbol symbol = 2;
/**
* <code>repeated .Symbols.Symbol symbol = 2;</code>
*/
* Protobuf type {@code Symbols}
*/
public static final class Symbols extends
- com.google.protobuf.GeneratedMessage
- implements SymbolsOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Symbols)
+ SymbolsOrBuilder {
// Use Symbols.newBuilder() to construct.
private Symbols(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
return PARSER;
}
- public interface SymbolOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface SymbolOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Symbols.Symbol)
+ com.google.protobuf.MessageOrBuilder {
- // optional .Range declaration = 1;
/**
* <code>optional .Range declaration = 1;</code>
*/
*/
org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder getDeclarationOrBuilder();
- // repeated .Range reference = 2;
/**
* <code>repeated .Range reference = 2;</code>
*/
* Protobuf type {@code Symbols.Symbol}
*/
public static final class Symbol extends
- com.google.protobuf.GeneratedMessage
- implements SymbolOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Symbols.Symbol)
+ SymbolOrBuilder {
// Use Symbol.newBuilder() to construct.
private Symbol(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private int bitField0_;
- // optional .Range declaration = 1;
public static final int DECLARATION_FIELD_NUMBER = 1;
private org.sonar.batch.protocol.output.BatchReport.Range declaration_;
/**
return declaration_;
}
- // repeated .Range reference = 2;
public static final int REFERENCE_FIELD_NUMBER = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Range> reference_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Symbols.Symbol}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Symbols.Symbol)
+ org.sonar.batch.protocol.output.BatchReport.Symbols.SymbolOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_Symbol_descriptor;
}
private int bitField0_;
- // optional .Range declaration = 1;
private org.sonar.batch.protocol.output.BatchReport.Range declaration_ = org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> declarationBuilder_;
if (declarationBuilder_ == null) {
declarationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>(
- declaration_,
+ getDeclaration(),
getParentForChildren(),
isClean());
declaration_ = null;
return declarationBuilder_;
}
- // repeated .Range reference = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Range> reference_ =
java.util.Collections.emptyList();
private void ensureReferenceIsMutable() {
java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Range> values) {
if (referenceBuilder_ == null) {
ensureReferenceIsMutable();
- super.addAll(values, reference_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, reference_);
onChanged();
} else {
referenceBuilder_.addAllMessages(values);
}
private int bitField0_;
- // optional int32 file_ref = 1;
public static final int FILE_REF_FIELD_NUMBER = 1;
private int fileRef_;
/**
return fileRef_;
}
- // repeated .Symbols.Symbol symbol = 2;
public static final int SYMBOL_FIELD_NUMBER = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol> symbol_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Symbols}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.SymbolsOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Symbols)
+ org.sonar.batch.protocol.output.BatchReport.SymbolsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Symbols_descriptor;
}
private int bitField0_;
- // optional int32 file_ref = 1;
private int fileRef_ ;
/**
* <code>optional int32 file_ref = 1;</code>
return this;
}
- // repeated .Symbols.Symbol symbol = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol> symbol_ =
java.util.Collections.emptyList();
private void ensureSymbolIsMutable() {
java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.Symbols.Symbol> values) {
if (symbolBuilder_ == null) {
ensureSymbolIsMutable();
- super.addAll(values, symbol_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, symbol_);
onChanged();
} else {
symbolBuilder_.addAllMessages(values);
// @@protoc_insertion_point(class_scope:Symbols)
}
- public interface CoverageOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface CoverageOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Coverage)
+ com.google.protobuf.MessageOrBuilder {
- // optional int32 line = 1;
/**
* <code>optional int32 line = 1;</code>
*/
*/
int getLine();
- // optional int32 conditions = 2;
/**
* <code>optional int32 conditions = 2;</code>
*
*/
int getConditions();
- // optional bool ut_hits = 3;
/**
* <code>optional bool ut_hits = 3;</code>
*
*/
boolean getUtHits();
- // optional bool it_hits = 4;
/**
* <code>optional bool it_hits = 4;</code>
*
*/
boolean getItHits();
- // optional int32 ut_covered_conditions = 5;
/**
* <code>optional int32 ut_covered_conditions = 5;</code>
*
*/
int getUtCoveredConditions();
- // optional int32 it_covered_conditions = 6;
/**
* <code>optional int32 it_covered_conditions = 6;</code>
*
*/
int getItCoveredConditions();
- // optional int32 overall_covered_conditions = 7;
/**
* <code>optional int32 overall_covered_conditions = 7;</code>
*
* </pre>
*/
public static final class Coverage extends
- com.google.protobuf.GeneratedMessage
- implements CoverageOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Coverage)
+ CoverageOrBuilder {
// Use Coverage.newBuilder() to construct.
private Coverage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private int bitField0_;
- // optional int32 line = 1;
public static final int LINE_FIELD_NUMBER = 1;
private int line_;
/**
return line_;
}
- // optional int32 conditions = 2;
public static final int CONDITIONS_FIELD_NUMBER = 2;
private int conditions_;
/**
return conditions_;
}
- // optional bool ut_hits = 3;
public static final int UT_HITS_FIELD_NUMBER = 3;
private boolean utHits_;
/**
return utHits_;
}
- // optional bool it_hits = 4;
public static final int IT_HITS_FIELD_NUMBER = 4;
private boolean itHits_;
/**
return itHits_;
}
- // optional int32 ut_covered_conditions = 5;
public static final int UT_COVERED_CONDITIONS_FIELD_NUMBER = 5;
private int utCoveredConditions_;
/**
return utCoveredConditions_;
}
- // optional int32 it_covered_conditions = 6;
public static final int IT_COVERED_CONDITIONS_FIELD_NUMBER = 6;
private int itCoveredConditions_;
/**
return itCoveredConditions_;
}
- // optional int32 overall_covered_conditions = 7;
public static final int OVERALL_COVERED_CONDITIONS_FIELD_NUMBER = 7;
private int overallCoveredConditions_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* </pre>
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.CoverageOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Coverage)
+ org.sonar.batch.protocol.output.BatchReport.CoverageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Coverage_descriptor;
}
private int bitField0_;
- // optional int32 line = 1;
private int line_ ;
/**
* <code>optional int32 line = 1;</code>
return this;
}
- // optional int32 conditions = 2;
private int conditions_ ;
/**
* <code>optional int32 conditions = 2;</code>
return this;
}
- // optional bool ut_hits = 3;
private boolean utHits_ ;
/**
* <code>optional bool ut_hits = 3;</code>
return this;
}
- // optional bool it_hits = 4;
private boolean itHits_ ;
/**
* <code>optional bool it_hits = 4;</code>
return this;
}
- // optional int32 ut_covered_conditions = 5;
private int utCoveredConditions_ ;
/**
* <code>optional int32 ut_covered_conditions = 5;</code>
return this;
}
- // optional int32 it_covered_conditions = 6;
private int itCoveredConditions_ ;
/**
* <code>optional int32 it_covered_conditions = 6;</code>
return this;
}
- // optional int32 overall_covered_conditions = 7;
private int overallCoveredConditions_ ;
/**
* <code>optional int32 overall_covered_conditions = 7;</code>
// @@protoc_insertion_point(class_scope:Coverage)
}
- public interface SyntaxHighlightingOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface SyntaxHighlightingOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:SyntaxHighlighting)
+ com.google.protobuf.MessageOrBuilder {
- // optional .Range range = 1;
/**
* <code>optional .Range range = 1;</code>
*/
*/
org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder getRangeOrBuilder();
- // optional .HighlightingType type = 2;
/**
* <code>optional .HighlightingType type = 2;</code>
*/
* </pre>
*/
public static final class SyntaxHighlighting extends
- com.google.protobuf.GeneratedMessage
- implements SyntaxHighlightingOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:SyntaxHighlighting)
+ SyntaxHighlightingOrBuilder {
// Use SyntaxHighlighting.newBuilder() to construct.
private SyntaxHighlighting(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private int bitField0_;
- // optional .Range range = 1;
public static final int RANGE_FIELD_NUMBER = 1;
private org.sonar.batch.protocol.output.BatchReport.Range range_;
/**
return range_;
}
- // optional .HighlightingType type = 2;
public static final int TYPE_FIELD_NUMBER = 2;
private org.sonar.batch.protocol.Constants.HighlightingType type_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* </pre>
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.SyntaxHighlightingOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:SyntaxHighlighting)
+ org.sonar.batch.protocol.output.BatchReport.SyntaxHighlightingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_SyntaxHighlighting_descriptor;
}
private int bitField0_;
- // optional .Range range = 1;
private org.sonar.batch.protocol.output.BatchReport.Range range_ = org.sonar.batch.protocol.output.BatchReport.Range.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder> rangeBuilder_;
if (rangeBuilder_ == null) {
rangeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.sonar.batch.protocol.output.BatchReport.Range, org.sonar.batch.protocol.output.BatchReport.Range.Builder, org.sonar.batch.protocol.output.BatchReport.RangeOrBuilder>(
- range_,
+ getRange(),
getParentForChildren(),
isClean());
range_ = null;
return rangeBuilder_;
}
- // optional .HighlightingType type = 2;
private org.sonar.batch.protocol.Constants.HighlightingType type_ = org.sonar.batch.protocol.Constants.HighlightingType.ANNOTATION;
/**
* <code>optional .HighlightingType type = 2;</code>
// @@protoc_insertion_point(class_scope:SyntaxHighlighting)
}
- public interface TestOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface TestOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Test)
+ com.google.protobuf.MessageOrBuilder {
- // optional string name = 1;
/**
* <code>optional string name = 1;</code>
*/
com.google.protobuf.ByteString
getNameBytes();
- // optional .TestStatus status = 2;
/**
* <code>optional .TestStatus status = 2;</code>
*/
*/
org.sonar.batch.protocol.Constants.TestStatus getStatus();
- // optional int64 duration_in_ms = 3;
/**
* <code>optional int64 duration_in_ms = 3;</code>
*/
*/
long getDurationInMs();
- // optional string stacktrace = 4;
/**
* <code>optional string stacktrace = 4;</code>
*/
com.google.protobuf.ByteString
getStacktraceBytes();
- // optional string msg = 5;
/**
* <code>optional string msg = 5;</code>
*/
* Protobuf type {@code Test}
*/
public static final class Test extends
- com.google.protobuf.GeneratedMessage
- implements TestOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Test)
+ TestOrBuilder {
// Use Test.newBuilder() to construct.
private Test(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 10: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
- name_ = input.readBytes();
+ name_ = bs;
break;
}
case 16: {
break;
}
case 34: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
- stacktrace_ = input.readBytes();
+ stacktrace_ = bs;
break;
}
case 42: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
- msg_ = input.readBytes();
+ msg_ = bs;
break;
}
}
}
private int bitField0_;
- // optional string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
}
}
- // optional .TestStatus status = 2;
public static final int STATUS_FIELD_NUMBER = 2;
private org.sonar.batch.protocol.Constants.TestStatus status_;
/**
return status_;
}
- // optional int64 duration_in_ms = 3;
public static final int DURATION_IN_MS_FIELD_NUMBER = 3;
private long durationInMs_;
/**
return durationInMs_;
}
- // optional string stacktrace = 4;
public static final int STACKTRACE_FIELD_NUMBER = 4;
private java.lang.Object stacktrace_;
/**
}
}
- // optional string msg = 5;
public static final int MSG_FIELD_NUMBER = 5;
private java.lang.Object msg_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code Test}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.TestOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:Test)
+ org.sonar.batch.protocol.output.BatchReport.TestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_Test_descriptor;
}
private int bitField0_;
- // optional string name = 1;
private java.lang.Object name_ = "";
/**
* <code>optional string name = 1;</code>
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- name_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ name_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional .TestStatus status = 2;
private org.sonar.batch.protocol.Constants.TestStatus status_ = org.sonar.batch.protocol.Constants.TestStatus.OK;
/**
* <code>optional .TestStatus status = 2;</code>
return this;
}
- // optional int64 duration_in_ms = 3;
private long durationInMs_ ;
/**
* <code>optional int64 duration_in_ms = 3;</code>
return this;
}
- // optional string stacktrace = 4;
private java.lang.Object stacktrace_ = "";
/**
* <code>optional string stacktrace = 4;</code>
public java.lang.String getStacktrace() {
java.lang.Object ref = stacktrace_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- stacktrace_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ stacktrace_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string msg = 5;
private java.lang.Object msg_ = "";
/**
* <code>optional string msg = 5;</code>
public java.lang.String getMsg() {
java.lang.Object ref = msg_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- msg_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ msg_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
// @@protoc_insertion_point(class_scope:Test)
}
- public interface CoverageDetailOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface CoverageDetailOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:CoverageDetail)
+ com.google.protobuf.MessageOrBuilder {
- // optional string test_name = 1;
/**
* <code>optional string test_name = 1;</code>
*/
com.google.protobuf.ByteString
getTestNameBytes();
- // repeated .CoverageDetail.CoveredFile covered_file = 2;
/**
* <code>repeated .CoverageDetail.CoveredFile covered_file = 2;</code>
*/
* Protobuf type {@code CoverageDetail}
*/
public static final class CoverageDetail extends
- com.google.protobuf.GeneratedMessage
- implements CoverageDetailOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:CoverageDetail)
+ CoverageDetailOrBuilder {
// Use CoverageDetail.newBuilder() to construct.
private CoverageDetail(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 10: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
- testName_ = input.readBytes();
+ testName_ = bs;
break;
}
case 18: {
return PARSER;
}
- public interface CoveredFileOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface CoveredFileOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:CoverageDetail.CoveredFile)
+ com.google.protobuf.MessageOrBuilder {
- // optional int32 file_ref = 1;
/**
* <code>optional int32 file_ref = 1;</code>
*/
*/
int getFileRef();
- // repeated int32 covered_line = 2 [packed = true];
/**
* <code>repeated int32 covered_line = 2 [packed = true];</code>
*/
* Protobuf type {@code CoverageDetail.CoveredFile}
*/
public static final class CoveredFile extends
- com.google.protobuf.GeneratedMessage
- implements CoveredFileOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:CoverageDetail.CoveredFile)
+ CoveredFileOrBuilder {
// Use CoveredFile.newBuilder() to construct.
private CoveredFile(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private int bitField0_;
- // optional int32 file_ref = 1;
public static final int FILE_REF_FIELD_NUMBER = 1;
private int fileRef_;
/**
return fileRef_;
}
- // repeated int32 covered_line = 2 [packed = true];
public static final int COVERED_LINE_FIELD_NUMBER = 2;
private java.util.List<java.lang.Integer> coveredLine_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code CoverageDetail.CoveredFile}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:CoverageDetail.CoveredFile)
+ org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFileOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_CoveredFile_descriptor;
}
private int bitField0_;
- // optional int32 file_ref = 1;
private int fileRef_ ;
/**
* <code>optional int32 file_ref = 1;</code>
return this;
}
- // repeated int32 covered_line = 2 [packed = true];
private java.util.List<java.lang.Integer> coveredLine_ = java.util.Collections.emptyList();
private void ensureCoveredLineIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
public Builder addAllCoveredLine(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureCoveredLineIsMutable();
- super.addAll(values, coveredLine_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, coveredLine_);
onChanged();
return this;
}
}
private int bitField0_;
- // optional string test_name = 1;
public static final int TEST_NAME_FIELD_NUMBER = 1;
private java.lang.Object testName_;
/**
}
}
- // repeated .CoverageDetail.CoveredFile covered_file = 2;
public static final int COVERED_FILE_FIELD_NUMBER = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile> coveredFile_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code CoverageDetail}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.CoverageDetailOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:CoverageDetail)
+ org.sonar.batch.protocol.output.BatchReport.CoverageDetailOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_CoverageDetail_descriptor;
}
private int bitField0_;
- // optional string test_name = 1;
private java.lang.Object testName_ = "";
/**
* <code>optional string test_name = 1;</code>
public java.lang.String getTestName() {
java.lang.Object ref = testName_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- testName_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ testName_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // repeated .CoverageDetail.CoveredFile covered_file = 2;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile> coveredFile_ =
java.util.Collections.emptyList();
private void ensureCoveredFileIsMutable() {
java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.CoverageDetail.CoveredFile> values) {
if (coveredFileBuilder_ == null) {
ensureCoveredFileIsMutable();
- super.addAll(values, coveredFile_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, coveredFile_);
onChanged();
} else {
coveredFileBuilder_.addAllMessages(values);
// @@protoc_insertion_point(class_scope:CoverageDetail)
}
- public interface FileDependencyOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface FileDependencyOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:FileDependency)
+ com.google.protobuf.MessageOrBuilder {
- // optional int32 to_file_ref = 1;
/**
* <code>optional int32 to_file_ref = 1;</code>
*/
*/
int getToFileRef();
- // optional int32 weight = 2;
/**
* <code>optional int32 weight = 2;</code>
*/
* Protobuf type {@code FileDependency}
*/
public static final class FileDependency extends
- com.google.protobuf.GeneratedMessage
- implements FileDependencyOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:FileDependency)
+ FileDependencyOrBuilder {
// Use FileDependency.newBuilder() to construct.
private FileDependency(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
}
private int bitField0_;
- // optional int32 to_file_ref = 1;
public static final int TO_FILE_REF_FIELD_NUMBER = 1;
private int toFileRef_;
/**
return toFileRef_;
}
- // optional int32 weight = 2;
public static final int WEIGHT_FIELD_NUMBER = 2;
private int weight_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code FileDependency}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.FileDependencyOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:FileDependency)
+ org.sonar.batch.protocol.output.BatchReport.FileDependencyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_FileDependency_descriptor;
}
private int bitField0_;
- // optional int32 to_file_ref = 1;
private int toFileRef_ ;
/**
* <code>optional int32 to_file_ref = 1;</code>
return this;
}
- // optional int32 weight = 2;
private int weight_ ;
/**
* <code>optional int32 weight = 2;</code>
// @@protoc_insertion_point(class_scope:FileDependency)
}
- public interface ModuleDependenciesOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface ModuleDependenciesOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:ModuleDependencies)
+ com.google.protobuf.MessageOrBuilder {
- // repeated .ModuleDependencies.ModuleDependency dep = 1;
/**
* <code>repeated .ModuleDependencies.ModuleDependency dep = 1;</code>
*/
* Protobuf type {@code ModuleDependencies}
*/
public static final class ModuleDependencies extends
- com.google.protobuf.GeneratedMessage
- implements ModuleDependenciesOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:ModuleDependencies)
+ ModuleDependenciesOrBuilder {
// Use ModuleDependencies.newBuilder() to construct.
private ModuleDependencies(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
return PARSER;
}
- public interface ModuleDependencyOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface ModuleDependencyOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:ModuleDependencies.ModuleDependency)
+ com.google.protobuf.MessageOrBuilder {
- // optional string key = 1;
/**
* <code>optional string key = 1;</code>
*/
com.google.protobuf.ByteString
getKeyBytes();
- // optional string version = 2;
/**
* <code>optional string version = 2;</code>
*/
com.google.protobuf.ByteString
getVersionBytes();
- // optional string scope = 3;
/**
* <code>optional string scope = 3;</code>
*/
com.google.protobuf.ByteString
getScopeBytes();
- // repeated .ModuleDependencies.ModuleDependency child = 4;
/**
* <code>repeated .ModuleDependencies.ModuleDependency child = 4;</code>
*/
* Protobuf type {@code ModuleDependencies.ModuleDependency}
*/
public static final class ModuleDependency extends
- com.google.protobuf.GeneratedMessage
- implements ModuleDependencyOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:ModuleDependencies.ModuleDependency)
+ ModuleDependencyOrBuilder {
// Use ModuleDependency.newBuilder() to construct.
private ModuleDependency(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 10: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
- key_ = input.readBytes();
+ key_ = bs;
break;
}
case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- version_ = input.readBytes();
+ version_ = bs;
break;
}
case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
- scope_ = input.readBytes();
+ scope_ = bs;
break;
}
case 34: {
}
private int bitField0_;
- // optional string key = 1;
public static final int KEY_FIELD_NUMBER = 1;
private java.lang.Object key_;
/**
}
}
- // optional string version = 2;
public static final int VERSION_FIELD_NUMBER = 2;
private java.lang.Object version_;
/**
}
}
- // optional string scope = 3;
public static final int SCOPE_FIELD_NUMBER = 3;
private java.lang.Object scope_;
/**
}
}
- // repeated .ModuleDependencies.ModuleDependency child = 4;
public static final int CHILD_FIELD_NUMBER = 4;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> child_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code ModuleDependencies.ModuleDependency}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:ModuleDependencies.ModuleDependency)
+ org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependencyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_ModuleDependencies_ModuleDependency_descriptor;
}
private int bitField0_;
- // optional string key = 1;
private java.lang.Object key_ = "";
/**
* <code>optional string key = 1;</code>
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- key_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ key_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string version = 2;
private java.lang.Object version_ = "";
/**
* <code>optional string version = 2;</code>
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- version_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ version_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string scope = 3;
private java.lang.Object scope_ = "";
/**
* <code>optional string scope = 3;</code>
public java.lang.String getScope() {
java.lang.Object ref = scope_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- scope_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ scope_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // repeated .ModuleDependencies.ModuleDependency child = 4;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> child_ =
java.util.Collections.emptyList();
private void ensureChildIsMutable() {
java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> values) {
if (childBuilder_ == null) {
ensureChildIsMutable();
- super.addAll(values, child_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, child_);
onChanged();
} else {
childBuilder_.addAllMessages(values);
// @@protoc_insertion_point(class_scope:ModuleDependencies.ModuleDependency)
}
- // repeated .ModuleDependencies.ModuleDependency dep = 1;
public static final int DEP_FIELD_NUMBER = 1;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> dep_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code ModuleDependencies}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.batch.protocol.output.BatchReport.ModuleDependenciesOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:ModuleDependencies)
+ org.sonar.batch.protocol.output.BatchReport.ModuleDependenciesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.batch.protocol.output.BatchReport.internal_static_ModuleDependencies_descriptor;
}
private int bitField0_;
- // repeated .ModuleDependencies.ModuleDependency dep = 1;
private java.util.List<org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> dep_ =
java.util.Collections.emptyList();
private void ensureDepIsMutable() {
java.lang.Iterable<? extends org.sonar.batch.protocol.output.BatchReport.ModuleDependencies.ModuleDependency> values) {
if (depBuilder_ == null) {
ensureDepIsMutable();
- super.addAll(values, dep_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, dep_);
onChanged();
} else {
depBuilder_.addAllMessages(values);
// @@protoc_insertion_point(class_scope:ModuleDependencies)
}
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Metadata_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Metadata_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ComponentLink_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_ComponentLink_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Event_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Event_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Component_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Component_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Measure_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Measure_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Measures_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Measures_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Issue_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Issue_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Issues_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Issues_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Changesets_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Changesets_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Changesets_Changeset_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Changesets_Changeset_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Duplicate_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Duplicate_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Duplication_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Duplication_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Duplications_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Duplications_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Range_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Range_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Symbols_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Symbols_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Symbols_Symbol_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Symbols_Symbol_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Coverage_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Coverage_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_SyntaxHighlighting_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_SyntaxHighlighting_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Test_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Test_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CoverageDetail_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CoverageDetail_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CoverageDetail_CoveredFile_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CoverageDetail_CoveredFile_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_FileDependency_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_FileDependency_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ModuleDependencies_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_ModuleDependencies_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ModuleDependencies_ModuleDependency_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
"ncyB#\n\037org.sonar.batch.protocol.outputH\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_Metadata_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_Metadata_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Metadata_descriptor,
- new java.lang.String[] { "AnalysisDate", "ProjectKey", "Branch", "RootComponentRef", "SnapshotId", "DeletedComponentsCount", });
- internal_static_ComponentLink_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_ComponentLink_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_ComponentLink_descriptor,
- new java.lang.String[] { "Type", "Href", });
- internal_static_Event_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_Event_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Event_descriptor,
- new java.lang.String[] { "ComponentRef", "Name", "Description", "Category", "EventData", });
- internal_static_Component_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_Component_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Component_descriptor,
- new java.lang.String[] { "Ref", "Path", "Name", "Type", "IsTest", "Language", "ChildRef", "Link", "Version", "Key", "Lines", "Id", "SnapshotId", "Uuid", "Event", });
- internal_static_Measure_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_Measure_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Measure_descriptor,
- new java.lang.String[] { "ValueType", "BooleanValue", "IntValue", "LongValue", "DoubleValue", "StringValue", "MetricKey", "Description", "RuleKey", "Severity", "AlertStatus", "AlertText", "VariationValue1", "VariationValue2", "VariationValue3", "VariationValue4", "VariationValue5", "CharactericId", "PersonId", });
- internal_static_Measures_descriptor =
- getDescriptor().getMessageTypes().get(5);
- internal_static_Measures_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Measures_descriptor,
- new java.lang.String[] { "ComponentRef", "Measure", });
- internal_static_Issue_descriptor =
- getDescriptor().getMessageTypes().get(6);
- internal_static_Issue_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Issue_descriptor,
- new java.lang.String[] { "RuleRepository", "RuleKey", "Line", "Msg", "Severity", "Tag", "EffortToFix", "IsNew", "Uuid", "DebtInMinutes", "Resolution", "Status", "Checksum", "ManualSeverity", "Reporter", "Assignee", "ActionPlanKey", "Attributes", "AuthorLogin", "CreationDate", "CloseDate", "UpdateDate", "SelectedAt", "DiffFields", "IsChanged", "MustSendNotification", });
- internal_static_Issues_descriptor =
- getDescriptor().getMessageTypes().get(7);
- internal_static_Issues_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Issues_descriptor,
- new java.lang.String[] { "ComponentRef", "Issue", "ComponentUuid", });
- internal_static_Changesets_descriptor =
- getDescriptor().getMessageTypes().get(8);
- internal_static_Changesets_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Changesets_descriptor,
- new java.lang.String[] { "ComponentRef", "Changeset", "ChangesetIndexByLine", });
- internal_static_Changesets_Changeset_descriptor =
- internal_static_Changesets_descriptor.getNestedTypes().get(0);
- internal_static_Changesets_Changeset_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Changesets_Changeset_descriptor,
- new java.lang.String[] { "Revision", "Author", "Date", });
- internal_static_Duplicate_descriptor =
- getDescriptor().getMessageTypes().get(9);
- internal_static_Duplicate_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Duplicate_descriptor,
- new java.lang.String[] { "OtherFileRef", "Range", "OtherFileKey", });
- internal_static_Duplication_descriptor =
- getDescriptor().getMessageTypes().get(10);
- internal_static_Duplication_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Duplication_descriptor,
- new java.lang.String[] { "OriginPosition", "Duplicate", });
- internal_static_Duplications_descriptor =
- getDescriptor().getMessageTypes().get(11);
- internal_static_Duplications_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Duplications_descriptor,
- new java.lang.String[] { "ComponentRef", "Duplication", });
- internal_static_Range_descriptor =
- getDescriptor().getMessageTypes().get(12);
- internal_static_Range_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Range_descriptor,
- new java.lang.String[] { "StartLine", "EndLine", "StartOffset", "EndOffset", });
- internal_static_Symbols_descriptor =
- getDescriptor().getMessageTypes().get(13);
- internal_static_Symbols_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Symbols_descriptor,
- new java.lang.String[] { "FileRef", "Symbol", });
- internal_static_Symbols_Symbol_descriptor =
- internal_static_Symbols_descriptor.getNestedTypes().get(0);
- internal_static_Symbols_Symbol_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Symbols_Symbol_descriptor,
- new java.lang.String[] { "Declaration", "Reference", });
- internal_static_Coverage_descriptor =
- getDescriptor().getMessageTypes().get(14);
- internal_static_Coverage_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Coverage_descriptor,
- new java.lang.String[] { "Line", "Conditions", "UtHits", "ItHits", "UtCoveredConditions", "ItCoveredConditions", "OverallCoveredConditions", });
- internal_static_SyntaxHighlighting_descriptor =
- getDescriptor().getMessageTypes().get(15);
- internal_static_SyntaxHighlighting_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_SyntaxHighlighting_descriptor,
- new java.lang.String[] { "Range", "Type", });
- internal_static_Test_descriptor =
- getDescriptor().getMessageTypes().get(16);
- internal_static_Test_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_Test_descriptor,
- new java.lang.String[] { "Name", "Status", "DurationInMs", "Stacktrace", "Msg", });
- internal_static_CoverageDetail_descriptor =
- getDescriptor().getMessageTypes().get(17);
- internal_static_CoverageDetail_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_CoverageDetail_descriptor,
- new java.lang.String[] { "TestName", "CoveredFile", });
- internal_static_CoverageDetail_CoveredFile_descriptor =
- internal_static_CoverageDetail_descriptor.getNestedTypes().get(0);
- internal_static_CoverageDetail_CoveredFile_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_CoverageDetail_CoveredFile_descriptor,
- new java.lang.String[] { "FileRef", "CoveredLine", });
- internal_static_FileDependency_descriptor =
- getDescriptor().getMessageTypes().get(18);
- internal_static_FileDependency_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_FileDependency_descriptor,
- new java.lang.String[] { "ToFileRef", "Weight", });
- internal_static_ModuleDependencies_descriptor =
- getDescriptor().getMessageTypes().get(19);
- internal_static_ModuleDependencies_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_ModuleDependencies_descriptor,
- new java.lang.String[] { "Dep", });
- internal_static_ModuleDependencies_ModuleDependency_descriptor =
- internal_static_ModuleDependencies_descriptor.getNestedTypes().get(0);
- internal_static_ModuleDependencies_ModuleDependency_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_ModuleDependencies_ModuleDependency_descriptor,
- new java.lang.String[] { "Key", "Version", "Scope", "Child", });
- return null;
- }
- };
+ new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
+ public com.google.protobuf.ExtensionRegistry assignDescriptors(
+ com.google.protobuf.Descriptors.FileDescriptor root) {
+ descriptor = root;
+ return null;
+ }
+ };
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.sonar.batch.protocol.Constants.getDescriptor(),
}, assigner);
+ internal_static_Metadata_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_Metadata_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Metadata_descriptor,
+ new java.lang.String[] { "AnalysisDate", "ProjectKey", "Branch", "RootComponentRef", "SnapshotId", "DeletedComponentsCount", });
+ internal_static_ComponentLink_descriptor =
+ getDescriptor().getMessageTypes().get(1);
+ internal_static_ComponentLink_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_ComponentLink_descriptor,
+ new java.lang.String[] { "Type", "Href", });
+ internal_static_Event_descriptor =
+ getDescriptor().getMessageTypes().get(2);
+ internal_static_Event_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Event_descriptor,
+ new java.lang.String[] { "ComponentRef", "Name", "Description", "Category", "EventData", });
+ internal_static_Component_descriptor =
+ getDescriptor().getMessageTypes().get(3);
+ internal_static_Component_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Component_descriptor,
+ new java.lang.String[] { "Ref", "Path", "Name", "Type", "IsTest", "Language", "ChildRef", "Link", "Version", "Key", "Lines", "Id", "SnapshotId", "Uuid", "Event", });
+ internal_static_Measure_descriptor =
+ getDescriptor().getMessageTypes().get(4);
+ internal_static_Measure_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Measure_descriptor,
+ new java.lang.String[] { "ValueType", "BooleanValue", "IntValue", "LongValue", "DoubleValue", "StringValue", "MetricKey", "Description", "RuleKey", "Severity", "AlertStatus", "AlertText", "VariationValue1", "VariationValue2", "VariationValue3", "VariationValue4", "VariationValue5", "CharactericId", "PersonId", });
+ internal_static_Measures_descriptor =
+ getDescriptor().getMessageTypes().get(5);
+ internal_static_Measures_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Measures_descriptor,
+ new java.lang.String[] { "ComponentRef", "Measure", });
+ internal_static_Issue_descriptor =
+ getDescriptor().getMessageTypes().get(6);
+ internal_static_Issue_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Issue_descriptor,
+ new java.lang.String[] { "RuleRepository", "RuleKey", "Line", "Msg", "Severity", "Tag", "EffortToFix", "IsNew", "Uuid", "DebtInMinutes", "Resolution", "Status", "Checksum", "ManualSeverity", "Reporter", "Assignee", "ActionPlanKey", "Attributes", "AuthorLogin", "CreationDate", "CloseDate", "UpdateDate", "SelectedAt", "DiffFields", "IsChanged", "MustSendNotification", });
+ internal_static_Issues_descriptor =
+ getDescriptor().getMessageTypes().get(7);
+ internal_static_Issues_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Issues_descriptor,
+ new java.lang.String[] { "ComponentRef", "Issue", "ComponentUuid", });
+ internal_static_Changesets_descriptor =
+ getDescriptor().getMessageTypes().get(8);
+ internal_static_Changesets_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Changesets_descriptor,
+ new java.lang.String[] { "ComponentRef", "Changeset", "ChangesetIndexByLine", });
+ internal_static_Changesets_Changeset_descriptor =
+ internal_static_Changesets_descriptor.getNestedTypes().get(0);
+ internal_static_Changesets_Changeset_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Changesets_Changeset_descriptor,
+ new java.lang.String[] { "Revision", "Author", "Date", });
+ internal_static_Duplicate_descriptor =
+ getDescriptor().getMessageTypes().get(9);
+ internal_static_Duplicate_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Duplicate_descriptor,
+ new java.lang.String[] { "OtherFileRef", "Range", "OtherFileKey", });
+ internal_static_Duplication_descriptor =
+ getDescriptor().getMessageTypes().get(10);
+ internal_static_Duplication_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Duplication_descriptor,
+ new java.lang.String[] { "OriginPosition", "Duplicate", });
+ internal_static_Duplications_descriptor =
+ getDescriptor().getMessageTypes().get(11);
+ internal_static_Duplications_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Duplications_descriptor,
+ new java.lang.String[] { "ComponentRef", "Duplication", });
+ internal_static_Range_descriptor =
+ getDescriptor().getMessageTypes().get(12);
+ internal_static_Range_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Range_descriptor,
+ new java.lang.String[] { "StartLine", "EndLine", "StartOffset", "EndOffset", });
+ internal_static_Symbols_descriptor =
+ getDescriptor().getMessageTypes().get(13);
+ internal_static_Symbols_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Symbols_descriptor,
+ new java.lang.String[] { "FileRef", "Symbol", });
+ internal_static_Symbols_Symbol_descriptor =
+ internal_static_Symbols_descriptor.getNestedTypes().get(0);
+ internal_static_Symbols_Symbol_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Symbols_Symbol_descriptor,
+ new java.lang.String[] { "Declaration", "Reference", });
+ internal_static_Coverage_descriptor =
+ getDescriptor().getMessageTypes().get(14);
+ internal_static_Coverage_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Coverage_descriptor,
+ new java.lang.String[] { "Line", "Conditions", "UtHits", "ItHits", "UtCoveredConditions", "ItCoveredConditions", "OverallCoveredConditions", });
+ internal_static_SyntaxHighlighting_descriptor =
+ getDescriptor().getMessageTypes().get(15);
+ internal_static_SyntaxHighlighting_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_SyntaxHighlighting_descriptor,
+ new java.lang.String[] { "Range", "Type", });
+ internal_static_Test_descriptor =
+ getDescriptor().getMessageTypes().get(16);
+ internal_static_Test_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_Test_descriptor,
+ new java.lang.String[] { "Name", "Status", "DurationInMs", "Stacktrace", "Msg", });
+ internal_static_CoverageDetail_descriptor =
+ getDescriptor().getMessageTypes().get(17);
+ internal_static_CoverageDetail_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_CoverageDetail_descriptor,
+ new java.lang.String[] { "TestName", "CoveredFile", });
+ internal_static_CoverageDetail_CoveredFile_descriptor =
+ internal_static_CoverageDetail_descriptor.getNestedTypes().get(0);
+ internal_static_CoverageDetail_CoveredFile_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_CoverageDetail_CoveredFile_descriptor,
+ new java.lang.String[] { "FileRef", "CoveredLine", });
+ internal_static_FileDependency_descriptor =
+ getDescriptor().getMessageTypes().get(18);
+ internal_static_FileDependency_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_FileDependency_descriptor,
+ new java.lang.String[] { "ToFileRef", "Weight", });
+ internal_static_ModuleDependencies_descriptor =
+ getDescriptor().getMessageTypes().get(19);
+ internal_static_ModuleDependencies_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_ModuleDependencies_descriptor,
+ new java.lang.String[] { "Dep", });
+ internal_static_ModuleDependencies_ModuleDependency_descriptor =
+ internal_static_ModuleDependencies_descriptor.getNestedTypes().get(0);
+ internal_static_ModuleDependencies_ModuleDependency_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_ModuleDependencies_ModuleDependency_descriptor,
+ new java.lang.String[] { "Key", "Version", "Scope", "Child", });
+ org.sonar.batch.protocol.Constants.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
- public interface LineOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface LineOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.sonar.server.source.db.Line)
+ com.google.protobuf.MessageOrBuilder {
- // optional int32 line = 1;
/**
* <code>optional int32 line = 1;</code>
*/
*/
int getLine();
- // optional string source = 2;
/**
* <code>optional string source = 2;</code>
*/
com.google.protobuf.ByteString
getSourceBytes();
- // optional string scm_revision = 3;
/**
* <code>optional string scm_revision = 3;</code>
*
com.google.protobuf.ByteString
getScmRevisionBytes();
- // optional string scm_author = 4;
/**
* <code>optional string scm_author = 4;</code>
*/
com.google.protobuf.ByteString
getScmAuthorBytes();
- // optional int64 scm_date = 5;
/**
* <code>optional int64 scm_date = 5;</code>
*/
*/
long getScmDate();
- // optional int32 ut_line_hits = 6;
/**
* <code>optional int32 ut_line_hits = 6;</code>
*
*/
int getUtLineHits();
- // optional int32 ut_conditions = 7;
/**
* <code>optional int32 ut_conditions = 7;</code>
*/
*/
int getUtConditions();
- // optional int32 ut_covered_conditions = 8;
/**
* <code>optional int32 ut_covered_conditions = 8;</code>
*/
*/
int getUtCoveredConditions();
- // optional int32 it_line_hits = 9;
/**
* <code>optional int32 it_line_hits = 9;</code>
*
*/
int getItLineHits();
- // optional int32 it_conditions = 10;
/**
* <code>optional int32 it_conditions = 10;</code>
*/
*/
int getItConditions();
- // optional int32 it_covered_conditions = 11;
/**
* <code>optional int32 it_covered_conditions = 11;</code>
*/
*/
int getItCoveredConditions();
- // optional int32 overall_line_hits = 12;
/**
* <code>optional int32 overall_line_hits = 12;</code>
*
*/
int getOverallLineHits();
- // optional int32 overall_conditions = 13;
/**
* <code>optional int32 overall_conditions = 13;</code>
*/
*/
int getOverallConditions();
- // optional int32 overall_covered_conditions = 14;
/**
* <code>optional int32 overall_covered_conditions = 14;</code>
*/
*/
int getOverallCoveredConditions();
- // optional string highlighting = 15;
/**
* <code>optional string highlighting = 15;</code>
*/
com.google.protobuf.ByteString
getHighlightingBytes();
- // optional string symbols = 16;
/**
* <code>optional string symbols = 16;</code>
*/
com.google.protobuf.ByteString
getSymbolsBytes();
- // repeated int32 duplication = 17 [packed = true];
/**
* <code>repeated int32 duplication = 17 [packed = true];</code>
*/
* Protobuf type {@code org.sonar.server.source.db.Line}
*/
public static final class Line extends
- com.google.protobuf.GeneratedMessage
- implements LineOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:org.sonar.server.source.db.Line)
+ LineOrBuilder {
// Use Line.newBuilder() to construct.
private Line(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- source_ = input.readBytes();
+ source_ = bs;
break;
}
case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
- scmRevision_ = input.readBytes();
+ scmRevision_ = bs;
break;
}
case 34: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
- scmAuthor_ = input.readBytes();
+ scmAuthor_ = bs;
break;
}
case 40: {
break;
}
case 122: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00004000;
- highlighting_ = input.readBytes();
+ highlighting_ = bs;
break;
}
case 130: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00008000;
- symbols_ = input.readBytes();
+ symbols_ = bs;
break;
}
case 136: {
}
private int bitField0_;
- // optional int32 line = 1;
public static final int LINE_FIELD_NUMBER = 1;
private int line_;
/**
return line_;
}
- // optional string source = 2;
public static final int SOURCE_FIELD_NUMBER = 2;
private java.lang.Object source_;
/**
}
}
- // optional string scm_revision = 3;
public static final int SCM_REVISION_FIELD_NUMBER = 3;
private java.lang.Object scmRevision_;
/**
}
}
- // optional string scm_author = 4;
public static final int SCM_AUTHOR_FIELD_NUMBER = 4;
private java.lang.Object scmAuthor_;
/**
}
}
- // optional int64 scm_date = 5;
public static final int SCM_DATE_FIELD_NUMBER = 5;
private long scmDate_;
/**
return scmDate_;
}
- // optional int32 ut_line_hits = 6;
public static final int UT_LINE_HITS_FIELD_NUMBER = 6;
private int utLineHits_;
/**
return utLineHits_;
}
- // optional int32 ut_conditions = 7;
public static final int UT_CONDITIONS_FIELD_NUMBER = 7;
private int utConditions_;
/**
return utConditions_;
}
- // optional int32 ut_covered_conditions = 8;
public static final int UT_COVERED_CONDITIONS_FIELD_NUMBER = 8;
private int utCoveredConditions_;
/**
return utCoveredConditions_;
}
- // optional int32 it_line_hits = 9;
public static final int IT_LINE_HITS_FIELD_NUMBER = 9;
private int itLineHits_;
/**
return itLineHits_;
}
- // optional int32 it_conditions = 10;
public static final int IT_CONDITIONS_FIELD_NUMBER = 10;
private int itConditions_;
/**
return itConditions_;
}
- // optional int32 it_covered_conditions = 11;
public static final int IT_COVERED_CONDITIONS_FIELD_NUMBER = 11;
private int itCoveredConditions_;
/**
return itCoveredConditions_;
}
- // optional int32 overall_line_hits = 12;
public static final int OVERALL_LINE_HITS_FIELD_NUMBER = 12;
private int overallLineHits_;
/**
return overallLineHits_;
}
- // optional int32 overall_conditions = 13;
public static final int OVERALL_CONDITIONS_FIELD_NUMBER = 13;
private int overallConditions_;
/**
return overallConditions_;
}
- // optional int32 overall_covered_conditions = 14;
public static final int OVERALL_COVERED_CONDITIONS_FIELD_NUMBER = 14;
private int overallCoveredConditions_;
/**
return overallCoveredConditions_;
}
- // optional string highlighting = 15;
public static final int HIGHLIGHTING_FIELD_NUMBER = 15;
private java.lang.Object highlighting_;
/**
}
}
- // optional string symbols = 16;
public static final int SYMBOLS_FIELD_NUMBER = 16;
private java.lang.Object symbols_;
/**
}
}
- // repeated int32 duplication = 17 [packed = true];
public static final int DUPLICATION_FIELD_NUMBER = 17;
private java.util.List<java.lang.Integer> duplication_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code org.sonar.server.source.db.Line}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.server.source.db.FileSourceDb.LineOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.sonar.server.source.db.Line)
+ org.sonar.server.source.db.FileSourceDb.LineOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.server.source.db.FileSourceDb.internal_static_org_sonar_server_source_db_Line_descriptor;
}
private int bitField0_;
- // optional int32 line = 1;
private int line_ ;
/**
* <code>optional int32 line = 1;</code>
return this;
}
- // optional string source = 2;
private java.lang.Object source_ = "";
/**
* <code>optional string source = 2;</code>
public java.lang.String getSource() {
java.lang.Object ref = source_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- source_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ source_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string scm_revision = 3;
private java.lang.Object scmRevision_ = "";
/**
* <code>optional string scm_revision = 3;</code>
public java.lang.String getScmRevision() {
java.lang.Object ref = scmRevision_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- scmRevision_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ scmRevision_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string scm_author = 4;
private java.lang.Object scmAuthor_ = "";
/**
* <code>optional string scm_author = 4;</code>
public java.lang.String getScmAuthor() {
java.lang.Object ref = scmAuthor_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- scmAuthor_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ scmAuthor_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional int64 scm_date = 5;
private long scmDate_ ;
/**
* <code>optional int64 scm_date = 5;</code>
return this;
}
- // optional int32 ut_line_hits = 6;
private int utLineHits_ ;
/**
* <code>optional int32 ut_line_hits = 6;</code>
return this;
}
- // optional int32 ut_conditions = 7;
private int utConditions_ ;
/**
* <code>optional int32 ut_conditions = 7;</code>
return this;
}
- // optional int32 ut_covered_conditions = 8;
private int utCoveredConditions_ ;
/**
* <code>optional int32 ut_covered_conditions = 8;</code>
return this;
}
- // optional int32 it_line_hits = 9;
private int itLineHits_ ;
/**
* <code>optional int32 it_line_hits = 9;</code>
return this;
}
- // optional int32 it_conditions = 10;
private int itConditions_ ;
/**
* <code>optional int32 it_conditions = 10;</code>
return this;
}
- // optional int32 it_covered_conditions = 11;
private int itCoveredConditions_ ;
/**
* <code>optional int32 it_covered_conditions = 11;</code>
return this;
}
- // optional int32 overall_line_hits = 12;
private int overallLineHits_ ;
/**
* <code>optional int32 overall_line_hits = 12;</code>
return this;
}
- // optional int32 overall_conditions = 13;
private int overallConditions_ ;
/**
* <code>optional int32 overall_conditions = 13;</code>
return this;
}
- // optional int32 overall_covered_conditions = 14;
private int overallCoveredConditions_ ;
/**
* <code>optional int32 overall_covered_conditions = 14;</code>
return this;
}
- // optional string highlighting = 15;
private java.lang.Object highlighting_ = "";
/**
* <code>optional string highlighting = 15;</code>
public java.lang.String getHighlighting() {
java.lang.Object ref = highlighting_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- highlighting_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ highlighting_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string symbols = 16;
private java.lang.Object symbols_ = "";
/**
* <code>optional string symbols = 16;</code>
public java.lang.String getSymbols() {
java.lang.Object ref = symbols_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- symbols_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ symbols_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // repeated int32 duplication = 17 [packed = true];
private java.util.List<java.lang.Integer> duplication_ = java.util.Collections.emptyList();
private void ensureDuplicationIsMutable() {
if (!((bitField0_ & 0x00010000) == 0x00010000)) {
public Builder addAllDuplication(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureDuplicationIsMutable();
- super.addAll(values, duplication_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, duplication_);
onChanged();
return this;
}
// @@protoc_insertion_point(class_scope:org.sonar.server.source.db.Line)
}
- public interface DataOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface DataOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.sonar.server.source.db.Data)
+ com.google.protobuf.MessageOrBuilder {
- // repeated .org.sonar.server.source.db.Line lines = 1;
/**
* <code>repeated .org.sonar.server.source.db.Line lines = 1;</code>
*/
* Protobuf type {@code org.sonar.server.source.db.Data}
*/
public static final class Data extends
- com.google.protobuf.GeneratedMessage
- implements DataOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:org.sonar.server.source.db.Data)
+ DataOrBuilder {
// Use Data.newBuilder() to construct.
private Data(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
return PARSER;
}
- // repeated .org.sonar.server.source.db.Line lines = 1;
public static final int LINES_FIELD_NUMBER = 1;
private java.util.List<org.sonar.server.source.db.FileSourceDb.Line> lines_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code org.sonar.server.source.db.Data}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.server.source.db.FileSourceDb.DataOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.sonar.server.source.db.Data)
+ org.sonar.server.source.db.FileSourceDb.DataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.server.source.db.FileSourceDb.internal_static_org_sonar_server_source_db_Data_descriptor;
}
private int bitField0_;
- // repeated .org.sonar.server.source.db.Line lines = 1;
private java.util.List<org.sonar.server.source.db.FileSourceDb.Line> lines_ =
java.util.Collections.emptyList();
private void ensureLinesIsMutable() {
java.lang.Iterable<? extends org.sonar.server.source.db.FileSourceDb.Line> values) {
if (linesBuilder_ == null) {
ensureLinesIsMutable();
- super.addAll(values, lines_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, lines_);
onChanged();
} else {
linesBuilder_.addAllMessages(values);
// @@protoc_insertion_point(class_scope:org.sonar.server.source.db.Data)
}
- public interface TestOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface TestOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.sonar.server.source.db.Test)
+ com.google.protobuf.MessageOrBuilder {
- // optional string uuid = 1;
/**
* <code>optional string uuid = 1;</code>
*/
com.google.protobuf.ByteString
getUuidBytes();
- // optional string name = 2;
/**
* <code>optional string name = 2;</code>
*/
com.google.protobuf.ByteString
getNameBytes();
- // optional .TestStatus status = 3;
/**
* <code>optional .TestStatus status = 3;</code>
*/
*/
org.sonar.batch.protocol.Constants.TestStatus getStatus();
- // optional int64 execution_time_ms = 4;
/**
* <code>optional int64 execution_time_ms = 4;</code>
*/
*/
long getExecutionTimeMs();
- // optional string stacktrace = 5;
/**
* <code>optional string stacktrace = 5;</code>
*/
com.google.protobuf.ByteString
getStacktraceBytes();
- // optional string msg = 6;
/**
* <code>optional string msg = 6;</code>
*/
com.google.protobuf.ByteString
getMsgBytes();
- // repeated .org.sonar.server.source.db.Test.CoveredFile covered_file = 7;
/**
* <code>repeated .org.sonar.server.source.db.Test.CoveredFile covered_file = 7;</code>
*/
* Protobuf type {@code org.sonar.server.source.db.Test}
*/
public static final class Test extends
- com.google.protobuf.GeneratedMessage
- implements TestOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:org.sonar.server.source.db.Test)
+ TestOrBuilder {
// Use Test.newBuilder() to construct.
private Test(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 10: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
- uuid_ = input.readBytes();
+ uuid_ = bs;
break;
}
case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
- name_ = input.readBytes();
+ name_ = bs;
break;
}
case 24: {
break;
}
case 42: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
- stacktrace_ = input.readBytes();
+ stacktrace_ = bs;
break;
}
case 50: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
- msg_ = input.readBytes();
+ msg_ = bs;
break;
}
case 58: {
return PARSER;
}
- public interface CoveredFileOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
+ public interface CoveredFileOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:org.sonar.server.source.db.Test.CoveredFile)
+ com.google.protobuf.MessageOrBuilder {
- // optional string file_uuid = 1;
/**
* <code>optional string file_uuid = 1;</code>
*/
com.google.protobuf.ByteString
getFileUuidBytes();
- // repeated int32 covered_line = 2 [packed = true];
/**
* <code>repeated int32 covered_line = 2 [packed = true];</code>
*/
* Protobuf type {@code org.sonar.server.source.db.Test.CoveredFile}
*/
public static final class CoveredFile extends
- com.google.protobuf.GeneratedMessage
- implements CoveredFileOrBuilder {
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:org.sonar.server.source.db.Test.CoveredFile)
+ CoveredFileOrBuilder {
// Use CoveredFile.newBuilder() to construct.
private CoveredFile(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
break;
}
case 10: {
+ com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
- fileUuid_ = input.readBytes();
+ fileUuid_ = bs;
break;
}
case 16: {
}
private int bitField0_;
- // optional string file_uuid = 1;
public static final int FILE_UUID_FIELD_NUMBER = 1;
private java.lang.Object fileUuid_;
/**
}
}
- // repeated int32 covered_line = 2 [packed = true];
public static final int COVERED_LINE_FIELD_NUMBER = 2;
private java.util.List<java.lang.Integer> coveredLine_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code org.sonar.server.source.db.Test.CoveredFile}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.server.source.db.FileSourceDb.Test.CoveredFileOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.sonar.server.source.db.Test.CoveredFile)
+ org.sonar.server.source.db.FileSourceDb.Test.CoveredFileOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.server.source.db.FileSourceDb.internal_static_org_sonar_server_source_db_Test_CoveredFile_descriptor;
}
private int bitField0_;
- // optional string file_uuid = 1;
private java.lang.Object fileUuid_ = "";
/**
* <code>optional string file_uuid = 1;</code>
public java.lang.String getFileUuid() {
java.lang.Object ref = fileUuid_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- fileUuid_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ fileUuid_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // repeated int32 covered_line = 2 [packed = true];
private java.util.List<java.lang.Integer> coveredLine_ = java.util.Collections.emptyList();
private void ensureCoveredLineIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
public Builder addAllCoveredLine(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureCoveredLineIsMutable();
- super.addAll(values, coveredLine_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, coveredLine_);
onChanged();
return this;
}
}
private int bitField0_;
- // optional string uuid = 1;
public static final int UUID_FIELD_NUMBER = 1;
private java.lang.Object uuid_;
/**
}
}
- // optional string name = 2;
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.Object name_;
/**
}
}
- // optional .TestStatus status = 3;
public static final int STATUS_FIELD_NUMBER = 3;
private org.sonar.batch.protocol.Constants.TestStatus status_;
/**
return status_;
}
- // optional int64 execution_time_ms = 4;
public static final int EXECUTION_TIME_MS_FIELD_NUMBER = 4;
private long executionTimeMs_;
/**
return executionTimeMs_;
}
- // optional string stacktrace = 5;
public static final int STACKTRACE_FIELD_NUMBER = 5;
private java.lang.Object stacktrace_;
/**
}
}
- // optional string msg = 6;
public static final int MSG_FIELD_NUMBER = 6;
private java.lang.Object msg_;
/**
}
}
- // repeated .org.sonar.server.source.db.Test.CoveredFile covered_file = 7;
public static final int COVERED_FILE_FIELD_NUMBER = 7;
private java.util.List<org.sonar.server.source.db.FileSourceDb.Test.CoveredFile> coveredFile_;
/**
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
* Protobuf type {@code org.sonar.server.source.db.Test}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.sonar.server.source.db.FileSourceDb.TestOrBuilder {
+ com.google.protobuf.GeneratedMessage.Builder<Builder> implements
+ // @@protoc_insertion_point(builder_implements:org.sonar.server.source.db.Test)
+ org.sonar.server.source.db.FileSourceDb.TestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.server.source.db.FileSourceDb.internal_static_org_sonar_server_source_db_Test_descriptor;
}
private int bitField0_;
- // optional string uuid = 1;
private java.lang.Object uuid_ = "";
/**
* <code>optional string uuid = 1;</code>
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- uuid_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ uuid_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string name = 2;
private java.lang.Object name_ = "";
/**
* <code>optional string name = 2;</code>
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- name_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ name_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional .TestStatus status = 3;
private org.sonar.batch.protocol.Constants.TestStatus status_ = org.sonar.batch.protocol.Constants.TestStatus.OK;
/**
* <code>optional .TestStatus status = 3;</code>
return this;
}
- // optional int64 execution_time_ms = 4;
private long executionTimeMs_ ;
/**
* <code>optional int64 execution_time_ms = 4;</code>
return this;
}
- // optional string stacktrace = 5;
private java.lang.Object stacktrace_ = "";
/**
* <code>optional string stacktrace = 5;</code>
public java.lang.String getStacktrace() {
java.lang.Object ref = stacktrace_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- stacktrace_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ stacktrace_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // optional string msg = 6;
private java.lang.Object msg_ = "";
/**
* <code>optional string msg = 6;</code>
public java.lang.String getMsg() {
java.lang.Object ref = msg_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- msg_ = s;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ msg_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
return this;
}
- // repeated .org.sonar.server.source.db.Test.CoveredFile covered_file = 7;
private java.util.List<org.sonar.server.source.db.FileSourceDb.Test.CoveredFile> coveredFile_ =
java.util.Collections.emptyList();
private void ensureCoveredFileIsMutable() {
java.lang.Iterable<? extends org.sonar.server.source.db.FileSourceDb.Test.CoveredFile> values) {
if (coveredFileBuilder_ == null) {
ensureCoveredFileIsMutable();
- super.addAll(values, coveredFile_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, coveredFile_);
onChanged();
} else {
coveredFileBuilder_.addAllMessages(values);
// @@protoc_insertion_point(class_scope:org.sonar.server.source.db.Test)
}
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_org_sonar_server_source_db_Line_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_sonar_server_source_db_Line_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_org_sonar_server_source_db_Data_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_sonar_server_source_db_Data_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_org_sonar_server_source_db_Test_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_sonar_server_source_db_Test_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
+ private static final com.google.protobuf.Descriptors.Descriptor
internal_static_org_sonar_server_source_db_Test_CoveredFile_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
"\n\014covered_line\030\002 \003(\005B\002\020\001B\002H\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_org_sonar_server_source_db_Line_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_org_sonar_server_source_db_Line_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_org_sonar_server_source_db_Line_descriptor,
- new java.lang.String[] { "Line", "Source", "ScmRevision", "ScmAuthor", "ScmDate", "UtLineHits", "UtConditions", "UtCoveredConditions", "ItLineHits", "ItConditions", "ItCoveredConditions", "OverallLineHits", "OverallConditions", "OverallCoveredConditions", "Highlighting", "Symbols", "Duplication", });
- internal_static_org_sonar_server_source_db_Data_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_org_sonar_server_source_db_Data_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_org_sonar_server_source_db_Data_descriptor,
- new java.lang.String[] { "Lines", });
- internal_static_org_sonar_server_source_db_Test_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_org_sonar_server_source_db_Test_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_org_sonar_server_source_db_Test_descriptor,
- new java.lang.String[] { "Uuid", "Name", "Status", "ExecutionTimeMs", "Stacktrace", "Msg", "CoveredFile", });
- internal_static_org_sonar_server_source_db_Test_CoveredFile_descriptor =
- internal_static_org_sonar_server_source_db_Test_descriptor.getNestedTypes().get(0);
- internal_static_org_sonar_server_source_db_Test_CoveredFile_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_org_sonar_server_source_db_Test_CoveredFile_descriptor,
- new java.lang.String[] { "FileUuid", "CoveredLine", });
- return null;
- }
- };
+ new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
+ public com.google.protobuf.ExtensionRegistry assignDescriptors(
+ com.google.protobuf.Descriptors.FileDescriptor root) {
+ descriptor = root;
+ return null;
+ }
+ };
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.sonar.batch.protocol.Constants.getDescriptor(),
}, assigner);
+ internal_static_org_sonar_server_source_db_Line_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_org_sonar_server_source_db_Line_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_sonar_server_source_db_Line_descriptor,
+ new java.lang.String[] { "Line", "Source", "ScmRevision", "ScmAuthor", "ScmDate", "UtLineHits", "UtConditions", "UtCoveredConditions", "ItLineHits", "ItConditions", "ItCoveredConditions", "OverallLineHits", "OverallConditions", "OverallCoveredConditions", "Highlighting", "Symbols", "Duplication", });
+ internal_static_org_sonar_server_source_db_Data_descriptor =
+ getDescriptor().getMessageTypes().get(1);
+ internal_static_org_sonar_server_source_db_Data_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_sonar_server_source_db_Data_descriptor,
+ new java.lang.String[] { "Lines", });
+ internal_static_org_sonar_server_source_db_Test_descriptor =
+ getDescriptor().getMessageTypes().get(2);
+ internal_static_org_sonar_server_source_db_Test_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_sonar_server_source_db_Test_descriptor,
+ new java.lang.String[] { "Uuid", "Name", "Status", "ExecutionTimeMs", "Stacktrace", "Msg", "CoveredFile", });
+ internal_static_org_sonar_server_source_db_Test_CoveredFile_descriptor =
+ internal_static_org_sonar_server_source_db_Test_descriptor.getNestedTypes().get(0);
+ internal_static_org_sonar_server_source_db_Test_CoveredFile_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_sonar_server_source_db_Test_CoveredFile_descriptor,
+ new java.lang.String[] { "FileUuid", "CoveredLine", });
+ org.sonar.batch.protocol.Constants.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)