org.sonar.scanner.protocol.input.ScannerInput Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: scanner_input.proto
package org.sonar.scanner.protocol.input;
public final class ScannerInput {
private ScannerInput() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface ServerIssueOrBuilder extends
// @@protoc_insertion_point(interface_extends:ServerIssue)
com.google.protobuf.MessageOrBuilder {
/**
* optional string key = 1;
*/
boolean hasKey();
/**
* optional string key = 1;
*/
java.lang.String getKey();
/**
* optional string key = 1;
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
* optional string module_key = 2;
*/
boolean hasModuleKey();
/**
* optional string module_key = 2;
*/
java.lang.String getModuleKey();
/**
* optional string module_key = 2;
*/
com.google.protobuf.ByteString
getModuleKeyBytes();
/**
* optional string path = 3;
*/
boolean hasPath();
/**
* optional string path = 3;
*/
java.lang.String getPath();
/**
* optional string path = 3;
*/
com.google.protobuf.ByteString
getPathBytes();
/**
* optional string rule_repository = 4;
*/
boolean hasRuleRepository();
/**
* optional string rule_repository = 4;
*/
java.lang.String getRuleRepository();
/**
* optional string rule_repository = 4;
*/
com.google.protobuf.ByteString
getRuleRepositoryBytes();
/**
* optional string rule_key = 5;
*/
boolean hasRuleKey();
/**
* optional string rule_key = 5;
*/
java.lang.String getRuleKey();
/**
* optional string rule_key = 5;
*/
com.google.protobuf.ByteString
getRuleKeyBytes();
/**
* optional int32 line = 6;
*/
boolean hasLine();
/**
* optional int32 line = 6;
*/
int getLine();
/**
* optional string msg = 7;
*/
boolean hasMsg();
/**
* optional string msg = 7;
*/
java.lang.String getMsg();
/**
* optional string msg = 7;
*/
com.google.protobuf.ByteString
getMsgBytes();
/**
* optional .Severity severity = 8;
*/
boolean hasSeverity();
/**
* optional .Severity severity = 8;
*/
org.sonar.scanner.protocol.Constants.Severity getSeverity();
/**
* optional bool manual_severity = 9;
*/
boolean hasManualSeverity();
/**
* optional bool manual_severity = 9;
*/
boolean getManualSeverity();
/**
* optional string resolution = 10;
*/
boolean hasResolution();
/**
* optional string resolution = 10;
*/
java.lang.String getResolution();
/**
* optional string resolution = 10;
*/
com.google.protobuf.ByteString
getResolutionBytes();
/**
* optional string status = 11;
*/
boolean hasStatus();
/**
* optional string status = 11;
*/
java.lang.String getStatus();
/**
* optional string status = 11;
*/
com.google.protobuf.ByteString
getStatusBytes();
/**
* optional string checksum = 12;
*/
boolean hasChecksum();
/**
* optional string checksum = 12;
*/
java.lang.String getChecksum();
/**
* optional string checksum = 12;
*/
com.google.protobuf.ByteString
getChecksumBytes();
/**
* optional string assignee_login = 13;
*/
boolean hasAssigneeLogin();
/**
* optional string assignee_login = 13;
*/
java.lang.String getAssigneeLogin();
/**
* optional string assignee_login = 13;
*/
com.google.protobuf.ByteString
getAssigneeLoginBytes();
/**
* optional int64 creation_date = 14;
*/
boolean hasCreationDate();
/**
* optional int64 creation_date = 14;
*/
long getCreationDate();
}
/**
* Protobuf type {@code ServerIssue}
*/
public static final class ServerIssue extends
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);
}
private ServerIssue() {
key_ = "";
moduleKey_ = "";
path_ = "";
ruleRepository_ = "";
ruleKey_ = "";
line_ = 0;
msg_ = "";
severity_ = 0;
manualSeverity_ = false;
resolution_ = "";
status_ = "";
checksum_ = "";
assigneeLogin_ = "";
creationDate_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServerIssue(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
key_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
moduleKey_ = bs;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
path_ = bs;
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
ruleRepository_ = bs;
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
ruleKey_ = bs;
break;
}
case 48: {
bitField0_ |= 0x00000020;
line_ = input.readInt32();
break;
}
case 58: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000040;
msg_ = bs;
break;
}
case 64: {
int rawValue = input.readEnum();
org.sonar.scanner.protocol.Constants.Severity value = org.sonar.scanner.protocol.Constants.Severity.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(8, rawValue);
} else {
bitField0_ |= 0x00000080;
severity_ = rawValue;
}
break;
}
case 72: {
bitField0_ |= 0x00000100;
manualSeverity_ = input.readBool();
break;
}
case 82: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000200;
resolution_ = bs;
break;
}
case 90: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000400;
status_ = bs;
break;
}
case 98: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000800;
checksum_ = bs;
break;
}
case 106: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00001000;
assigneeLogin_ = bs;
break;
}
case 112: {
bitField0_ |= 0x00002000;
creationDate_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.scanner.protocol.input.ScannerInput.internal_static_ServerIssue_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.scanner.protocol.input.ScannerInput.internal_static_ServerIssue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonar.scanner.protocol.input.ScannerInput.ServerIssue.class, org.sonar.scanner.protocol.input.ScannerInput.ServerIssue.Builder.class);
}
private int bitField0_;
public static final int KEY_FIELD_NUMBER = 1;
private volatile java.lang.Object key_;
/**
* optional string key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string key = 1;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
}
}
/**
* optional string key = 1;
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MODULE_KEY_FIELD_NUMBER = 2;
private volatile java.lang.Object moduleKey_;
/**
* optional string module_key = 2;
*/
public boolean hasModuleKey() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string module_key = 2;
*/
public java.lang.String getModuleKey() {
java.lang.Object ref = moduleKey_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
moduleKey_ = s;
}
return s;
}
}
/**
* optional string module_key = 2;
*/
public com.google.protobuf.ByteString
getModuleKeyBytes() {
java.lang.Object ref = moduleKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
moduleKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PATH_FIELD_NUMBER = 3;
private volatile java.lang.Object path_;
/**
* optional string path = 3;
*/
public boolean hasPath() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string path = 3;
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
}
}
/**
* optional string path = 3;
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RULE_REPOSITORY_FIELD_NUMBER = 4;
private volatile java.lang.Object ruleRepository_;
/**
* optional string rule_repository = 4;
*/
public boolean hasRuleRepository() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string rule_repository = 4;
*/
public java.lang.String getRuleRepository() {
java.lang.Object ref = ruleRepository_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ruleRepository_ = s;
}
return s;
}
}
/**
* optional string rule_repository = 4;
*/
public com.google.protobuf.ByteString
getRuleRepositoryBytes() {
java.lang.Object ref = ruleRepository_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ruleRepository_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RULE_KEY_FIELD_NUMBER = 5;
private volatile java.lang.Object ruleKey_;
/**
* optional string rule_key = 5;
*/
public boolean hasRuleKey() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string rule_key = 5;
*/
public java.lang.String getRuleKey() {
java.lang.Object ref = ruleKey_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ruleKey_ = s;
}
return s;
}
}
/**
* optional string rule_key = 5;
*/
public com.google.protobuf.ByteString
getRuleKeyBytes() {
java.lang.Object ref = ruleKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ruleKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LINE_FIELD_NUMBER = 6;
private int line_;
/**
* optional int32 line = 6;
*/
public boolean hasLine() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 line = 6;
*/
public int getLine() {
return line_;
}
public static final int MSG_FIELD_NUMBER = 7;
private volatile java.lang.Object msg_;
/**
* optional string msg = 7;
*/
public boolean hasMsg() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional string msg = 7;
*/
public java.lang.String getMsg() {
java.lang.Object ref = msg_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
msg_ = s;
}
return s;
}
}
/**
* optional string msg = 7;
*/
public com.google.protobuf.ByteString
getMsgBytes() {
java.lang.Object ref = msg_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SEVERITY_FIELD_NUMBER = 8;
private int severity_;
/**
* optional .Severity severity = 8;
*/
public boolean hasSeverity() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .Severity severity = 8;
*/
public org.sonar.scanner.protocol.Constants.Severity getSeverity() {
org.sonar.scanner.protocol.Constants.Severity result = org.sonar.scanner.protocol.Constants.Severity.valueOf(severity_);
return result == null ? org.sonar.scanner.protocol.Constants.Severity.UNSET_SEVERITY : result;
}
public static final int MANUAL_SEVERITY_FIELD_NUMBER = 9;
private boolean manualSeverity_;
/**
* optional bool manual_severity = 9;
*/
public boolean hasManualSeverity() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional bool manual_severity = 9;
*/
public boolean getManualSeverity() {
return manualSeverity_;
}
public static final int RESOLUTION_FIELD_NUMBER = 10;
private volatile java.lang.Object resolution_;
/**
* optional string resolution = 10;
*/
public boolean hasResolution() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional string resolution = 10;
*/
public java.lang.String getResolution() {
java.lang.Object ref = resolution_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
resolution_ = s;
}
return s;
}
}
/**
* optional string resolution = 10;
*/
public com.google.protobuf.ByteString
getResolutionBytes() {
java.lang.Object ref = resolution_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resolution_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_FIELD_NUMBER = 11;
private volatile java.lang.Object status_;
/**
* optional string status = 11;
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional string status = 11;
*/
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
status_ = s;
}
return s;
}
}
/**
* optional string status = 11;
*/
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CHECKSUM_FIELD_NUMBER = 12;
private volatile java.lang.Object checksum_;
/**
* optional string checksum = 12;
*/
public boolean hasChecksum() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional string checksum = 12;
*/
public java.lang.String getChecksum() {
java.lang.Object ref = checksum_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
checksum_ = s;
}
return s;
}
}
/**
* optional string checksum = 12;
*/
public com.google.protobuf.ByteString
getChecksumBytes() {
java.lang.Object ref = checksum_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
checksum_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ASSIGNEE_LOGIN_FIELD_NUMBER = 13;
private volatile java.lang.Object assigneeLogin_;
/**
* optional string assignee_login = 13;
*/
public boolean hasAssigneeLogin() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional string assignee_login = 13;
*/
public java.lang.String getAssigneeLogin() {
java.lang.Object ref = assigneeLogin_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
assigneeLogin_ = s;
}
return s;
}
}
/**
* optional string assignee_login = 13;
*/
public com.google.protobuf.ByteString
getAssigneeLoginBytes() {
java.lang.Object ref = assigneeLogin_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
assigneeLogin_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATION_DATE_FIELD_NUMBER = 14;
private long creationDate_;
/**
* optional int64 creation_date = 14;
*/
public boolean hasCreationDate() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional int64 creation_date = 14;
*/
public long getCreationDate() {
return creationDate_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, key_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, moduleKey_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, path_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
com.google.protobuf.GeneratedMessage.writeString(output, 4, ruleRepository_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
com.google.protobuf.GeneratedMessage.writeString(output, 5, ruleKey_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(6, line_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
com.google.protobuf.GeneratedMessage.writeString(output, 7, msg_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeEnum(8, severity_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBool(9, manualSeverity_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
com.google.protobuf.GeneratedMessage.writeString(output, 10, resolution_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
com.google.protobuf.GeneratedMessage.writeString(output, 11, status_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
com.google.protobuf.GeneratedMessage.writeString(output, 12, checksum_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
com.google.protobuf.GeneratedMessage.writeString(output, 13, assigneeLogin_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
output.writeInt64(14, creationDate_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, moduleKey_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, path_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(4, ruleRepository_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(5, ruleKey_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, line_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(7, msg_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(8, severity_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, manualSeverity_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(10, resolution_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(11, status_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(12, checksum_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(13, assigneeLogin_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(14, creationDate_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.sonar.scanner.protocol.input.ScannerInput.ServerIssue parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonar.scanner.protocol.input.ScannerInput.ServerIssue parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonar.scanner.protocol.input.ScannerInput.ServerIssue parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonar.scanner.protocol.input.ScannerInput.ServerIssue parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonar.scanner.protocol.input.ScannerInput.ServerIssue parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonar.scanner.protocol.input.ScannerInput.ServerIssue parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.sonar.scanner.protocol.input.ScannerInput.ServerIssue parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.sonar.scanner.protocol.input.ScannerInput.ServerIssue parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.sonar.scanner.protocol.input.ScannerInput.ServerIssue parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonar.scanner.protocol.input.ScannerInput.ServerIssue parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.sonar.scanner.protocol.input.ScannerInput.ServerIssue prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code ServerIssue}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:ServerIssue)
org.sonar.scanner.protocol.input.ScannerInput.ServerIssueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.scanner.protocol.input.ScannerInput.internal_static_ServerIssue_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.scanner.protocol.input.ScannerInput.internal_static_ServerIssue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonar.scanner.protocol.input.ScannerInput.ServerIssue.class, org.sonar.scanner.protocol.input.ScannerInput.ServerIssue.Builder.class);
}
// Construct using org.sonar.scanner.protocol.input.ScannerInput.ServerIssue.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
key_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
moduleKey_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
path_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
ruleRepository_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
ruleKey_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
line_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
msg_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
severity_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
manualSeverity_ = false;
bitField0_ = (bitField0_ & ~0x00000100);
resolution_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
status_ = "";
bitField0_ = (bitField0_ & ~0x00000400);
checksum_ = "";
bitField0_ = (bitField0_ & ~0x00000800);
assigneeLogin_ = "";
bitField0_ = (bitField0_ & ~0x00001000);
creationDate_ = 0L;
bitField0_ = (bitField0_ & ~0x00002000);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonar.scanner.protocol.input.ScannerInput.internal_static_ServerIssue_descriptor;
}
public org.sonar.scanner.protocol.input.ScannerInput.ServerIssue getDefaultInstanceForType() {
return org.sonar.scanner.protocol.input.ScannerInput.ServerIssue.getDefaultInstance();
}
public org.sonar.scanner.protocol.input.ScannerInput.ServerIssue build() {
org.sonar.scanner.protocol.input.ScannerInput.ServerIssue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.sonar.scanner.protocol.input.ScannerInput.ServerIssue buildPartial() {
org.sonar.scanner.protocol.input.ScannerInput.ServerIssue result = new org.sonar.scanner.protocol.input.ScannerInput.ServerIssue(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.key_ = key_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.moduleKey_ = moduleKey_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.path_ = path_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.ruleRepository_ = ruleRepository_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.ruleKey_ = ruleKey_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.line_ = line_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.msg_ = msg_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.severity_ = severity_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.manualSeverity_ = manualSeverity_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.resolution_ = resolution_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000400;
}
result.status_ = status_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000800;
}
result.checksum_ = checksum_;
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00001000;
}
result.assigneeLogin_ = assigneeLogin_;
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00002000;
}
result.creationDate_ = creationDate_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.sonar.scanner.protocol.input.ScannerInput.ServerIssue) {
return mergeFrom((org.sonar.scanner.protocol.input.ScannerInput.ServerIssue)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.sonar.scanner.protocol.input.ScannerInput.ServerIssue other) {
if (other == org.sonar.scanner.protocol.input.ScannerInput.ServerIssue.getDefaultInstance()) return this;
if (other.hasKey()) {
bitField0_ |= 0x00000001;
key_ = other.key_;
onChanged();
}
if (other.hasModuleKey()) {
bitField0_ |= 0x00000002;
moduleKey_ = other.moduleKey_;
onChanged();
}
if (other.hasPath()) {
bitField0_ |= 0x00000004;
path_ = other.path_;
onChanged();
}
if (other.hasRuleRepository()) {
bitField0_ |= 0x00000008;
ruleRepository_ = other.ruleRepository_;
onChanged();
}
if (other.hasRuleKey()) {
bitField0_ |= 0x00000010;
ruleKey_ = other.ruleKey_;
onChanged();
}
if (other.hasLine()) {
setLine(other.getLine());
}
if (other.hasMsg()) {
bitField0_ |= 0x00000040;
msg_ = other.msg_;
onChanged();
}
if (other.hasSeverity()) {
setSeverity(other.getSeverity());
}
if (other.hasManualSeverity()) {
setManualSeverity(other.getManualSeverity());
}
if (other.hasResolution()) {
bitField0_ |= 0x00000200;
resolution_ = other.resolution_;
onChanged();
}
if (other.hasStatus()) {
bitField0_ |= 0x00000400;
status_ = other.status_;
onChanged();
}
if (other.hasChecksum()) {
bitField0_ |= 0x00000800;
checksum_ = other.checksum_;
onChanged();
}
if (other.hasAssigneeLogin()) {
bitField0_ |= 0x00001000;
assigneeLogin_ = other.assigneeLogin_;
onChanged();
}
if (other.hasCreationDate()) {
setCreationDate(other.getCreationDate());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.sonar.scanner.protocol.input.ScannerInput.ServerIssue parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonar.scanner.protocol.input.ScannerInput.ServerIssue) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object key_ = "";
/**
* optional string key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string key = 1;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string key = 1;
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string key = 1;
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
/**
* optional string key = 1;
*/
public Builder clearKey() {
bitField0_ = (bitField0_ & ~0x00000001);
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* optional string key = 1;
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
private java.lang.Object moduleKey_ = "";
/**
* optional string module_key = 2;
*/
public boolean hasModuleKey() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string module_key = 2;
*/
public java.lang.String getModuleKey() {
java.lang.Object ref = moduleKey_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
moduleKey_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string module_key = 2;
*/
public com.google.protobuf.ByteString
getModuleKeyBytes() {
java.lang.Object ref = moduleKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
moduleKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string module_key = 2;
*/
public Builder setModuleKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
moduleKey_ = value;
onChanged();
return this;
}
/**
* optional string module_key = 2;
*/
public Builder clearModuleKey() {
bitField0_ = (bitField0_ & ~0x00000002);
moduleKey_ = getDefaultInstance().getModuleKey();
onChanged();
return this;
}
/**
* optional string module_key = 2;
*/
public Builder setModuleKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
moduleKey_ = value;
onChanged();
return this;
}
private java.lang.Object path_ = "";
/**
* optional string path = 3;
*/
public boolean hasPath() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string path = 3;
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string path = 3;
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string path = 3;
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
path_ = value;
onChanged();
return this;
}
/**
* optional string path = 3;
*/
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000004);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
* optional string path = 3;
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
path_ = value;
onChanged();
return this;
}
private java.lang.Object ruleRepository_ = "";
/**
* optional string rule_repository = 4;
*/
public boolean hasRuleRepository() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string rule_repository = 4;
*/
public java.lang.String getRuleRepository() {
java.lang.Object ref = ruleRepository_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ruleRepository_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string rule_repository = 4;
*/
public com.google.protobuf.ByteString
getRuleRepositoryBytes() {
java.lang.Object ref = ruleRepository_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ruleRepository_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string rule_repository = 4;
*/
public Builder setRuleRepository(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
ruleRepository_ = value;
onChanged();
return this;
}
/**
* optional string rule_repository = 4;
*/
public Builder clearRuleRepository() {
bitField0_ = (bitField0_ & ~0x00000008);
ruleRepository_ = getDefaultInstance().getRuleRepository();
onChanged();
return this;
}
/**
* optional string rule_repository = 4;
*/
public Builder setRuleRepositoryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
ruleRepository_ = value;
onChanged();
return this;
}
private java.lang.Object ruleKey_ = "";
/**
* optional string rule_key = 5;
*/
public boolean hasRuleKey() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string rule_key = 5;
*/
public java.lang.String getRuleKey() {
java.lang.Object ref = ruleKey_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ruleKey_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string rule_key = 5;
*/
public com.google.protobuf.ByteString
getRuleKeyBytes() {
java.lang.Object ref = ruleKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ruleKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string rule_key = 5;
*/
public Builder setRuleKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
ruleKey_ = value;
onChanged();
return this;
}
/**
* optional string rule_key = 5;
*/
public Builder clearRuleKey() {
bitField0_ = (bitField0_ & ~0x00000010);
ruleKey_ = getDefaultInstance().getRuleKey();
onChanged();
return this;
}
/**
* optional string rule_key = 5;
*/
public Builder setRuleKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
ruleKey_ = value;
onChanged();
return this;
}
private int line_ ;
/**
* optional int32 line = 6;
*/
public boolean hasLine() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 line = 6;
*/
public int getLine() {
return line_;
}
/**
* optional int32 line = 6;
*/
public Builder setLine(int value) {
bitField0_ |= 0x00000020;
line_ = value;
onChanged();
return this;
}
/**
* optional int32 line = 6;
*/
public Builder clearLine() {
bitField0_ = (bitField0_ & ~0x00000020);
line_ = 0;
onChanged();
return this;
}
private java.lang.Object msg_ = "";
/**
* optional string msg = 7;
*/
public boolean hasMsg() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional string msg = 7;
*/
public java.lang.String getMsg() {
java.lang.Object ref = msg_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
msg_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string msg = 7;
*/
public com.google.protobuf.ByteString
getMsgBytes() {
java.lang.Object ref = msg_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string msg = 7;
*/
public Builder setMsg(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
msg_ = value;
onChanged();
return this;
}
/**
* optional string msg = 7;
*/
public Builder clearMsg() {
bitField0_ = (bitField0_ & ~0x00000040);
msg_ = getDefaultInstance().getMsg();
onChanged();
return this;
}
/**
* optional string msg = 7;
*/
public Builder setMsgBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
msg_ = value;
onChanged();
return this;
}
private int severity_ = 0;
/**
* optional .Severity severity = 8;
*/
public boolean hasSeverity() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .Severity severity = 8;
*/
public org.sonar.scanner.protocol.Constants.Severity getSeverity() {
org.sonar.scanner.protocol.Constants.Severity result = org.sonar.scanner.protocol.Constants.Severity.valueOf(severity_);
return result == null ? org.sonar.scanner.protocol.Constants.Severity.UNSET_SEVERITY : result;
}
/**
* optional .Severity severity = 8;
*/
public Builder setSeverity(org.sonar.scanner.protocol.Constants.Severity value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
severity_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .Severity severity = 8;
*/
public Builder clearSeverity() {
bitField0_ = (bitField0_ & ~0x00000080);
severity_ = 0;
onChanged();
return this;
}
private boolean manualSeverity_ ;
/**
* optional bool manual_severity = 9;
*/
public boolean hasManualSeverity() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional bool manual_severity = 9;
*/
public boolean getManualSeverity() {
return manualSeverity_;
}
/**
* optional bool manual_severity = 9;
*/
public Builder setManualSeverity(boolean value) {
bitField0_ |= 0x00000100;
manualSeverity_ = value;
onChanged();
return this;
}
/**
* optional bool manual_severity = 9;
*/
public Builder clearManualSeverity() {
bitField0_ = (bitField0_ & ~0x00000100);
manualSeverity_ = false;
onChanged();
return this;
}
private java.lang.Object resolution_ = "";
/**
* optional string resolution = 10;
*/
public boolean hasResolution() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional string resolution = 10;
*/
public java.lang.String getResolution() {
java.lang.Object ref = resolution_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
resolution_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string resolution = 10;
*/
public com.google.protobuf.ByteString
getResolutionBytes() {
java.lang.Object ref = resolution_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resolution_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string resolution = 10;
*/
public Builder setResolution(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
resolution_ = value;
onChanged();
return this;
}
/**
* optional string resolution = 10;
*/
public Builder clearResolution() {
bitField0_ = (bitField0_ & ~0x00000200);
resolution_ = getDefaultInstance().getResolution();
onChanged();
return this;
}
/**
* optional string resolution = 10;
*/
public Builder setResolutionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
resolution_ = value;
onChanged();
return this;
}
private java.lang.Object status_ = "";
/**
* optional string status = 11;
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional string status = 11;
*/
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
status_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string status = 11;
*/
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string status = 11;
*/
public Builder setStatus(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
status_ = value;
onChanged();
return this;
}
/**
* optional string status = 11;
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000400);
status_ = getDefaultInstance().getStatus();
onChanged();
return this;
}
/**
* optional string status = 11;
*/
public Builder setStatusBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
status_ = value;
onChanged();
return this;
}
private java.lang.Object checksum_ = "";
/**
* optional string checksum = 12;
*/
public boolean hasChecksum() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional string checksum = 12;
*/
public java.lang.String getChecksum() {
java.lang.Object ref = checksum_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
checksum_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string checksum = 12;
*/
public com.google.protobuf.ByteString
getChecksumBytes() {
java.lang.Object ref = checksum_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
checksum_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string checksum = 12;
*/
public Builder setChecksum(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
checksum_ = value;
onChanged();
return this;
}
/**
* optional string checksum = 12;
*/
public Builder clearChecksum() {
bitField0_ = (bitField0_ & ~0x00000800);
checksum_ = getDefaultInstance().getChecksum();
onChanged();
return this;
}
/**
* optional string checksum = 12;
*/
public Builder setChecksumBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
checksum_ = value;
onChanged();
return this;
}
private java.lang.Object assigneeLogin_ = "";
/**
* optional string assignee_login = 13;
*/
public boolean hasAssigneeLogin() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional string assignee_login = 13;
*/
public java.lang.String getAssigneeLogin() {
java.lang.Object ref = assigneeLogin_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
assigneeLogin_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string assignee_login = 13;
*/
public com.google.protobuf.ByteString
getAssigneeLoginBytes() {
java.lang.Object ref = assigneeLogin_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
assigneeLogin_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string assignee_login = 13;
*/
public Builder setAssigneeLogin(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00001000;
assigneeLogin_ = value;
onChanged();
return this;
}
/**
* optional string assignee_login = 13;
*/
public Builder clearAssigneeLogin() {
bitField0_ = (bitField0_ & ~0x00001000);
assigneeLogin_ = getDefaultInstance().getAssigneeLogin();
onChanged();
return this;
}
/**
* optional string assignee_login = 13;
*/
public Builder setAssigneeLoginBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00001000;
assigneeLogin_ = value;
onChanged();
return this;
}
private long creationDate_ ;
/**
* optional int64 creation_date = 14;
*/
public boolean hasCreationDate() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional int64 creation_date = 14;
*/
public long getCreationDate() {
return creationDate_;
}
/**
* optional int64 creation_date = 14;
*/
public Builder setCreationDate(long value) {
bitField0_ |= 0x00002000;
creationDate_ = value;
onChanged();
return this;
}
/**
* optional int64 creation_date = 14;
*/
public Builder clearCreationDate() {
bitField0_ = (bitField0_ & ~0x00002000);
creationDate_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:ServerIssue)
}
// @@protoc_insertion_point(class_scope:ServerIssue)
private static final org.sonar.scanner.protocol.input.ScannerInput.ServerIssue DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonar.scanner.protocol.input.ScannerInput.ServerIssue();
}
public static org.sonar.scanner.protocol.input.ScannerInput.ServerIssue getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ServerIssue parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new ServerIssue(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
com.google.protobuf.InvalidProtocolBufferException) {
throw (com.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.sonar.scanner.protocol.input.ScannerInput.ServerIssue getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UserOrBuilder extends
// @@protoc_insertion_point(interface_extends:User)
com.google.protobuf.MessageOrBuilder {
/**
* optional string login = 1;
*/
boolean hasLogin();
/**
* optional string login = 1;
*/
java.lang.String getLogin();
/**
* optional string login = 1;
*/
com.google.protobuf.ByteString
getLoginBytes();
/**
* optional string name = 2;
*/
boolean hasName();
/**
* optional string name = 2;
*/
java.lang.String getName();
/**
* optional string name = 2;
*/
com.google.protobuf.ByteString
getNameBytes();
}
/**
* Protobuf type {@code User}
*/
public static final class User extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:User)
UserOrBuilder {
// Use User.newBuilder() to construct.
private User(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private User() {
login_ = "";
name_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private User(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
login_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
name_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.scanner.protocol.input.ScannerInput.internal_static_User_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.scanner.protocol.input.ScannerInput.internal_static_User_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonar.scanner.protocol.input.ScannerInput.User.class, org.sonar.scanner.protocol.input.ScannerInput.User.Builder.class);
}
private int bitField0_;
public static final int LOGIN_FIELD_NUMBER = 1;
private volatile java.lang.Object login_;
/**
* optional string login = 1;
*/
public boolean hasLogin() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string login = 1;
*/
public java.lang.String getLogin() {
java.lang.Object ref = login_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
login_ = s;
}
return s;
}
}
/**
* optional string login = 1;
*/
public com.google.protobuf.ByteString
getLoginBytes() {
java.lang.Object ref = login_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
login_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* optional string name = 2;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string name = 2;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 2;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, login_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, name_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, login_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, name_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.sonar.scanner.protocol.input.ScannerInput.User parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonar.scanner.protocol.input.ScannerInput.User parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonar.scanner.protocol.input.ScannerInput.User parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonar.scanner.protocol.input.ScannerInput.User parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonar.scanner.protocol.input.ScannerInput.User parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonar.scanner.protocol.input.ScannerInput.User parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.sonar.scanner.protocol.input.ScannerInput.User parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.sonar.scanner.protocol.input.ScannerInput.User parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.sonar.scanner.protocol.input.ScannerInput.User parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonar.scanner.protocol.input.ScannerInput.User parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.sonar.scanner.protocol.input.ScannerInput.User prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code User}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:User)
org.sonar.scanner.protocol.input.ScannerInput.UserOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.scanner.protocol.input.ScannerInput.internal_static_User_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.scanner.protocol.input.ScannerInput.internal_static_User_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonar.scanner.protocol.input.ScannerInput.User.class, org.sonar.scanner.protocol.input.ScannerInput.User.Builder.class);
}
// Construct using org.sonar.scanner.protocol.input.ScannerInput.User.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
login_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonar.scanner.protocol.input.ScannerInput.internal_static_User_descriptor;
}
public org.sonar.scanner.protocol.input.ScannerInput.User getDefaultInstanceForType() {
return org.sonar.scanner.protocol.input.ScannerInput.User.getDefaultInstance();
}
public org.sonar.scanner.protocol.input.ScannerInput.User build() {
org.sonar.scanner.protocol.input.ScannerInput.User result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.sonar.scanner.protocol.input.ScannerInput.User buildPartial() {
org.sonar.scanner.protocol.input.ScannerInput.User result = new org.sonar.scanner.protocol.input.ScannerInput.User(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.login_ = login_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.sonar.scanner.protocol.input.ScannerInput.User) {
return mergeFrom((org.sonar.scanner.protocol.input.ScannerInput.User)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.sonar.scanner.protocol.input.ScannerInput.User other) {
if (other == org.sonar.scanner.protocol.input.ScannerInput.User.getDefaultInstance()) return this;
if (other.hasLogin()) {
bitField0_ |= 0x00000001;
login_ = other.login_;
onChanged();
}
if (other.hasName()) {
bitField0_ |= 0x00000002;
name_ = other.name_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.sonar.scanner.protocol.input.ScannerInput.User parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonar.scanner.protocol.input.ScannerInput.User) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object login_ = "";
/**
* optional string login = 1;
*/
public boolean hasLogin() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string login = 1;
*/
public java.lang.String getLogin() {
java.lang.Object ref = login_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
login_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string login = 1;
*/
public com.google.protobuf.ByteString
getLoginBytes() {
java.lang.Object ref = login_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
login_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string login = 1;
*/
public Builder setLogin(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
login_ = value;
onChanged();
return this;
}
/**
* optional string login = 1;
*/
public Builder clearLogin() {
bitField0_ = (bitField0_ & ~0x00000001);
login_ = getDefaultInstance().getLogin();
onChanged();
return this;
}
/**
* optional string login = 1;
*/
public Builder setLoginBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
login_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* optional string name = 2;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string name = 2;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 2;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 2;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 2;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 2;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:User)
}
// @@protoc_insertion_point(class_scope:User)
private static final org.sonar.scanner.protocol.input.ScannerInput.User DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonar.scanner.protocol.input.ScannerInput.User();
}
public static org.sonar.scanner.protocol.input.ScannerInput.User getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public User parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new User(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
com.google.protobuf.InvalidProtocolBufferException) {
throw (com.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.sonar.scanner.protocol.input.ScannerInput.User getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_ServerIssue_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_ServerIssue_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_User_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_User_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\023scanner_input.proto\032\017constants.proto\"\235" +
"\002\n\013ServerIssue\022\013\n\003key\030\001 \001(\t\022\022\n\nmodule_ke" +
"y\030\002 \001(\t\022\014\n\004path\030\003 \001(\t\022\027\n\017rule_repository" +
"\030\004 \001(\t\022\020\n\010rule_key\030\005 \001(\t\022\014\n\004line\030\006 \001(\005\022\013" +
"\n\003msg\030\007 \001(\t\022\033\n\010severity\030\010 \001(\0162\t.Severity" +
"\022\027\n\017manual_severity\030\t \001(\010\022\022\n\nresolution\030" +
"\n \001(\t\022\016\n\006status\030\013 \001(\t\022\020\n\010checksum\030\014 \001(\t\022" +
"\026\n\016assignee_login\030\r \001(\t\022\025\n\rcreation_date" +
"\030\016 \001(\003\"#\n\004User\022\r\n\005login\030\001 \001(\t\022\014\n\004name\030\002 " +
"\001(\tB$\n org.sonar.scanner.protocol.inputH",
"\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.sonar.scanner.protocol.Constants.getDescriptor(),
}, assigner);
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", });
internal_static_User_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_User_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_User_descriptor,
new java.lang.String[] { "Login", "Name", });
org.sonar.scanner.protocol.Constants.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy