All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonarqube.ws.Issues Maven / Gradle / Ivy

There is a newer version: 25.1.0.102122
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ws-issues.proto

package org.sonarqube.ws;

public final class Issues {
  private Issues() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
  }
  public interface SearchWsResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.SearchWsResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional int64 total = 1;
     */
    boolean hasTotal();
    /**
     * optional int64 total = 1;
     */
    long getTotal();

    /**
     * optional int64 p = 2;
     */
    boolean hasP();
    /**
     * optional int64 p = 2;
     */
    long getP();

    /**
     * optional int32 ps = 3;
     */
    boolean hasPs();
    /**
     * optional int32 ps = 3;
     */
    int getPs();

    /**
     * optional .sonarqube.ws.commons.Paging paging = 4;
     */
    boolean hasPaging();
    /**
     * optional .sonarqube.ws.commons.Paging paging = 4;
     */
    org.sonarqube.ws.Common.Paging getPaging();
    /**
     * optional .sonarqube.ws.commons.Paging paging = 4;
     */
    org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder();

    /**
     * optional int64 effortTotal = 13;
     *
     * 
     * Total amount of effort, only when the facet "total" is enabled
     * 
*/ boolean hasEffortTotal(); /** * optional int64 effortTotal = 13; * *
     * Total amount of effort, only when the facet "total" is enabled
     * 
*/ long getEffortTotal(); /** * optional int64 debtTotal = 5; * *
     * Deprecated since 5.5, replaced by effortTotal
     * 
*/ boolean hasDebtTotal(); /** * optional int64 debtTotal = 5; * *
     * Deprecated since 5.5, replaced by effortTotal
     * 
*/ long getDebtTotal(); /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ java.util.List getIssuesList(); /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ org.sonarqube.ws.Issues.Issue getIssues(int index); /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ int getIssuesCount(); /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ java.util.List getIssuesOrBuilderList(); /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ org.sonarqube.ws.Issues.IssueOrBuilder getIssuesOrBuilder( int index); /** * repeated .sonarqube.ws.issues.Component components = 7; */ java.util.List getComponentsList(); /** * repeated .sonarqube.ws.issues.Component components = 7; */ org.sonarqube.ws.Issues.Component getComponents(int index); /** * repeated .sonarqube.ws.issues.Component components = 7; */ int getComponentsCount(); /** * repeated .sonarqube.ws.issues.Component components = 7; */ java.util.List getComponentsOrBuilderList(); /** * repeated .sonarqube.ws.issues.Component components = 7; */ org.sonarqube.ws.Issues.ComponentOrBuilder getComponentsOrBuilder( int index); /** * optional .sonarqube.ws.commons.Rules rules = 8; */ boolean hasRules(); /** * optional .sonarqube.ws.commons.Rules rules = 8; */ org.sonarqube.ws.Common.Rules getRules(); /** * optional .sonarqube.ws.commons.Rules rules = 8; */ org.sonarqube.ws.Common.RulesOrBuilder getRulesOrBuilder(); /** * optional .sonarqube.ws.commons.Users users = 9; */ boolean hasUsers(); /** * optional .sonarqube.ws.commons.Users users = 9; */ org.sonarqube.ws.Common.Users getUsers(); /** * optional .sonarqube.ws.commons.Users users = 9; */ org.sonarqube.ws.Common.UsersOrBuilder getUsersOrBuilder(); /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ boolean hasUnusedActionPlans(); /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ org.sonarqube.ws.Issues.ActionPlans getUnusedActionPlans(); /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ org.sonarqube.ws.Issues.ActionPlansOrBuilder getUnusedActionPlansOrBuilder(); /** * optional .sonarqube.ws.issues.Languages languages = 11; */ boolean hasLanguages(); /** * optional .sonarqube.ws.issues.Languages languages = 11; */ org.sonarqube.ws.Issues.Languages getLanguages(); /** * optional .sonarqube.ws.issues.Languages languages = 11; */ org.sonarqube.ws.Issues.LanguagesOrBuilder getLanguagesOrBuilder(); /** * optional .sonarqube.ws.commons.Facets facets = 12; */ boolean hasFacets(); /** * optional .sonarqube.ws.commons.Facets facets = 12; */ org.sonarqube.ws.Common.Facets getFacets(); /** * optional .sonarqube.ws.commons.Facets facets = 12; */ org.sonarqube.ws.Common.FacetsOrBuilder getFacetsOrBuilder(); } /** * Protobuf type {@code sonarqube.ws.issues.SearchWsResponse} * *
   * Response of GET api/issues/search
   * 
*/ public static final class SearchWsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.SearchWsResponse) SearchWsResponseOrBuilder { // Use SearchWsResponse.newBuilder() to construct. private SearchWsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private SearchWsResponse() { total_ = 0L; p_ = 0L; ps_ = 0; effortTotal_ = 0L; debtTotal_ = 0L; issues_ = java.util.Collections.emptyList(); components_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SearchWsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; total_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; p_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; ps_ = input.readInt32(); break; } case 34: { org.sonarqube.ws.Common.Paging.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = paging_.toBuilder(); } paging_ = input.readMessage(org.sonarqube.ws.Common.Paging.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(paging_); paging_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 40: { bitField0_ |= 0x00000020; debtTotal_ = input.readInt64(); break; } case 50: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { issues_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } issues_.add(input.readMessage(org.sonarqube.ws.Issues.Issue.parser(), extensionRegistry)); break; } case 58: { if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { components_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } components_.add(input.readMessage(org.sonarqube.ws.Issues.Component.parser(), extensionRegistry)); break; } case 66: { org.sonarqube.ws.Common.Rules.Builder subBuilder = null; if (((bitField0_ & 0x00000040) == 0x00000040)) { subBuilder = rules_.toBuilder(); } rules_ = input.readMessage(org.sonarqube.ws.Common.Rules.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rules_); rules_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 74: { org.sonarqube.ws.Common.Users.Builder subBuilder = null; if (((bitField0_ & 0x00000080) == 0x00000080)) { subBuilder = users_.toBuilder(); } users_ = input.readMessage(org.sonarqube.ws.Common.Users.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(users_); users_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 82: { org.sonarqube.ws.Issues.ActionPlans.Builder subBuilder = null; if (((bitField0_ & 0x00000100) == 0x00000100)) { subBuilder = unusedActionPlans_.toBuilder(); } unusedActionPlans_ = input.readMessage(org.sonarqube.ws.Issues.ActionPlans.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(unusedActionPlans_); unusedActionPlans_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 90: { org.sonarqube.ws.Issues.Languages.Builder subBuilder = null; if (((bitField0_ & 0x00000200) == 0x00000200)) { subBuilder = languages_.toBuilder(); } languages_ = input.readMessage(org.sonarqube.ws.Issues.Languages.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(languages_); languages_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000200; break; } case 98: { org.sonarqube.ws.Common.Facets.Builder subBuilder = null; if (((bitField0_ & 0x00000400) == 0x00000400)) { subBuilder = facets_.toBuilder(); } facets_ = input.readMessage(org.sonarqube.ws.Common.Facets.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(facets_); facets_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000400; break; } case 104: { bitField0_ |= 0x00000010; effortTotal_ = 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 { if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { issues_ = java.util.Collections.unmodifiableList(issues_); } if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { components_ = java.util.Collections.unmodifiableList(components_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_SearchWsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_SearchWsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.SearchWsResponse.class, org.sonarqube.ws.Issues.SearchWsResponse.Builder.class); } private int bitField0_; public static final int TOTAL_FIELD_NUMBER = 1; private long total_; /** * optional int64 total = 1; */ public boolean hasTotal() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 total = 1; */ public long getTotal() { return total_; } public static final int P_FIELD_NUMBER = 2; private long p_; /** * optional int64 p = 2; */ public boolean hasP() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 p = 2; */ public long getP() { return p_; } public static final int PS_FIELD_NUMBER = 3; private int ps_; /** * optional int32 ps = 3; */ public boolean hasPs() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 ps = 3; */ public int getPs() { return ps_; } public static final int PAGING_FIELD_NUMBER = 4; private org.sonarqube.ws.Common.Paging paging_; /** * optional .sonarqube.ws.commons.Paging paging = 4; */ public boolean hasPaging() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .sonarqube.ws.commons.Paging paging = 4; */ public org.sonarqube.ws.Common.Paging getPaging() { return paging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_; } /** * optional .sonarqube.ws.commons.Paging paging = 4; */ public org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder() { return paging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_; } public static final int EFFORTTOTAL_FIELD_NUMBER = 13; private long effortTotal_; /** * optional int64 effortTotal = 13; * *
     * Total amount of effort, only when the facet "total" is enabled
     * 
*/ public boolean hasEffortTotal() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int64 effortTotal = 13; * *
     * Total amount of effort, only when the facet "total" is enabled
     * 
*/ public long getEffortTotal() { return effortTotal_; } public static final int DEBTTOTAL_FIELD_NUMBER = 5; private long debtTotal_; /** * optional int64 debtTotal = 5; * *
     * Deprecated since 5.5, replaced by effortTotal
     * 
*/ public boolean hasDebtTotal() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional int64 debtTotal = 5; * *
     * Deprecated since 5.5, replaced by effortTotal
     * 
*/ public long getDebtTotal() { return debtTotal_; } public static final int ISSUES_FIELD_NUMBER = 6; private java.util.List issues_; /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public java.util.List getIssuesList() { return issues_; } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public java.util.List getIssuesOrBuilderList() { return issues_; } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public int getIssuesCount() { return issues_.size(); } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public org.sonarqube.ws.Issues.Issue getIssues(int index) { return issues_.get(index); } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public org.sonarqube.ws.Issues.IssueOrBuilder getIssuesOrBuilder( int index) { return issues_.get(index); } public static final int COMPONENTS_FIELD_NUMBER = 7; private java.util.List components_; /** * repeated .sonarqube.ws.issues.Component components = 7; */ public java.util.List getComponentsList() { return components_; } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public java.util.List getComponentsOrBuilderList() { return components_; } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public int getComponentsCount() { return components_.size(); } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public org.sonarqube.ws.Issues.Component getComponents(int index) { return components_.get(index); } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public org.sonarqube.ws.Issues.ComponentOrBuilder getComponentsOrBuilder( int index) { return components_.get(index); } public static final int RULES_FIELD_NUMBER = 8; private org.sonarqube.ws.Common.Rules rules_; /** * optional .sonarqube.ws.commons.Rules rules = 8; */ public boolean hasRules() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .sonarqube.ws.commons.Rules rules = 8; */ public org.sonarqube.ws.Common.Rules getRules() { return rules_ == null ? org.sonarqube.ws.Common.Rules.getDefaultInstance() : rules_; } /** * optional .sonarqube.ws.commons.Rules rules = 8; */ public org.sonarqube.ws.Common.RulesOrBuilder getRulesOrBuilder() { return rules_ == null ? org.sonarqube.ws.Common.Rules.getDefaultInstance() : rules_; } public static final int USERS_FIELD_NUMBER = 9; private org.sonarqube.ws.Common.Users users_; /** * optional .sonarqube.ws.commons.Users users = 9; */ public boolean hasUsers() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional .sonarqube.ws.commons.Users users = 9; */ public org.sonarqube.ws.Common.Users getUsers() { return users_ == null ? org.sonarqube.ws.Common.Users.getDefaultInstance() : users_; } /** * optional .sonarqube.ws.commons.Users users = 9; */ public org.sonarqube.ws.Common.UsersOrBuilder getUsersOrBuilder() { return users_ == null ? org.sonarqube.ws.Common.Users.getDefaultInstance() : users_; } public static final int UNUSEDACTIONPLANS_FIELD_NUMBER = 10; private org.sonarqube.ws.Issues.ActionPlans unusedActionPlans_; /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ public boolean hasUnusedActionPlans() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ public org.sonarqube.ws.Issues.ActionPlans getUnusedActionPlans() { return unusedActionPlans_ == null ? org.sonarqube.ws.Issues.ActionPlans.getDefaultInstance() : unusedActionPlans_; } /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ public org.sonarqube.ws.Issues.ActionPlansOrBuilder getUnusedActionPlansOrBuilder() { return unusedActionPlans_ == null ? org.sonarqube.ws.Issues.ActionPlans.getDefaultInstance() : unusedActionPlans_; } public static final int LANGUAGES_FIELD_NUMBER = 11; private org.sonarqube.ws.Issues.Languages languages_; /** * optional .sonarqube.ws.issues.Languages languages = 11; */ public boolean hasLanguages() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .sonarqube.ws.issues.Languages languages = 11; */ public org.sonarqube.ws.Issues.Languages getLanguages() { return languages_ == null ? org.sonarqube.ws.Issues.Languages.getDefaultInstance() : languages_; } /** * optional .sonarqube.ws.issues.Languages languages = 11; */ public org.sonarqube.ws.Issues.LanguagesOrBuilder getLanguagesOrBuilder() { return languages_ == null ? org.sonarqube.ws.Issues.Languages.getDefaultInstance() : languages_; } public static final int FACETS_FIELD_NUMBER = 12; private org.sonarqube.ws.Common.Facets facets_; /** * optional .sonarqube.ws.commons.Facets facets = 12; */ public boolean hasFacets() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional .sonarqube.ws.commons.Facets facets = 12; */ public org.sonarqube.ws.Common.Facets getFacets() { return facets_ == null ? org.sonarqube.ws.Common.Facets.getDefaultInstance() : facets_; } /** * optional .sonarqube.ws.commons.Facets facets = 12; */ public org.sonarqube.ws.Common.FacetsOrBuilder getFacetsOrBuilder() { return facets_ == null ? org.sonarqube.ws.Common.Facets.getDefaultInstance() : facets_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, total_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, p_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, ps_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, getPaging()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt64(5, debtTotal_); } for (int i = 0; i < issues_.size(); i++) { output.writeMessage(6, issues_.get(i)); } for (int i = 0; i < components_.size(); i++) { output.writeMessage(7, components_.get(i)); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(8, getRules()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeMessage(9, getUsers()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeMessage(10, getUnusedActionPlans()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeMessage(11, getLanguages()); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeMessage(12, getFacets()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt64(13, effortTotal_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, total_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, p_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, ps_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getPaging()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, debtTotal_); } for (int i = 0; i < issues_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, issues_.get(i)); } for (int i = 0; i < components_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, components_.get(i)); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getRules()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getUsers()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getUnusedActionPlans()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getLanguages()); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getFacets()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(13, effortTotal_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Issues.SearchWsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.SearchWsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.SearchWsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.SearchWsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.SearchWsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.SearchWsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.SearchWsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.SearchWsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.SearchWsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.SearchWsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.SearchWsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.SearchWsResponse} * *
     * Response of GET api/issues/search
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.SearchWsResponse) org.sonarqube.ws.Issues.SearchWsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_SearchWsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_SearchWsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.SearchWsResponse.class, org.sonarqube.ws.Issues.SearchWsResponse.Builder.class); } // Construct using org.sonarqube.ws.Issues.SearchWsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getPagingFieldBuilder(); getIssuesFieldBuilder(); getComponentsFieldBuilder(); getRulesFieldBuilder(); getUsersFieldBuilder(); getUnusedActionPlansFieldBuilder(); getLanguagesFieldBuilder(); getFacetsFieldBuilder(); } } public Builder clear() { super.clear(); total_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); p_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); ps_ = 0; bitField0_ = (bitField0_ & ~0x00000004); if (pagingBuilder_ == null) { paging_ = null; } else { pagingBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); effortTotal_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); debtTotal_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); if (issuesBuilder_ == null) { issues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { issuesBuilder_.clear(); } if (componentsBuilder_ == null) { components_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { componentsBuilder_.clear(); } if (rulesBuilder_ == null) { rules_ = null; } else { rulesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); if (usersBuilder_ == null) { users_ = null; } else { usersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); if (unusedActionPlansBuilder_ == null) { unusedActionPlans_ = null; } else { unusedActionPlansBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); if (languagesBuilder_ == null) { languages_ = null; } else { languagesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); if (facetsBuilder_ == null) { facets_ = null; } else { facetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00001000); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_SearchWsResponse_descriptor; } public org.sonarqube.ws.Issues.SearchWsResponse getDefaultInstanceForType() { return org.sonarqube.ws.Issues.SearchWsResponse.getDefaultInstance(); } public org.sonarqube.ws.Issues.SearchWsResponse build() { org.sonarqube.ws.Issues.SearchWsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.SearchWsResponse buildPartial() { org.sonarqube.ws.Issues.SearchWsResponse result = new org.sonarqube.ws.Issues.SearchWsResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.total_ = total_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.p_ = p_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.ps_ = ps_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (pagingBuilder_ == null) { result.paging_ = paging_; } else { result.paging_ = pagingBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.effortTotal_ = effortTotal_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.debtTotal_ = debtTotal_; if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040)) { issues_ = java.util.Collections.unmodifiableList(issues_); bitField0_ = (bitField0_ & ~0x00000040); } result.issues_ = issues_; } else { result.issues_ = issuesBuilder_.build(); } if (componentsBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080)) { components_ = java.util.Collections.unmodifiableList(components_); bitField0_ = (bitField0_ & ~0x00000080); } result.components_ = components_; } else { result.components_ = componentsBuilder_.build(); } if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000040; } if (rulesBuilder_ == null) { result.rules_ = rules_; } else { result.rules_ = rulesBuilder_.build(); } if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000080; } if (usersBuilder_ == null) { result.users_ = users_; } else { result.users_ = usersBuilder_.build(); } if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000100; } if (unusedActionPlansBuilder_ == null) { result.unusedActionPlans_ = unusedActionPlans_; } else { result.unusedActionPlans_ = unusedActionPlansBuilder_.build(); } if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000200; } if (languagesBuilder_ == null) { result.languages_ = languages_; } else { result.languages_ = languagesBuilder_.build(); } if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00000400; } if (facetsBuilder_ == null) { result.facets_ = facets_; } else { result.facets_ = facetsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.SearchWsResponse) { return mergeFrom((org.sonarqube.ws.Issues.SearchWsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.SearchWsResponse other) { if (other == org.sonarqube.ws.Issues.SearchWsResponse.getDefaultInstance()) return this; if (other.hasTotal()) { setTotal(other.getTotal()); } if (other.hasP()) { setP(other.getP()); } if (other.hasPs()) { setPs(other.getPs()); } if (other.hasPaging()) { mergePaging(other.getPaging()); } if (other.hasEffortTotal()) { setEffortTotal(other.getEffortTotal()); } if (other.hasDebtTotal()) { setDebtTotal(other.getDebtTotal()); } if (issuesBuilder_ == null) { if (!other.issues_.isEmpty()) { if (issues_.isEmpty()) { issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureIssuesIsMutable(); issues_.addAll(other.issues_); } onChanged(); } } else { if (!other.issues_.isEmpty()) { if (issuesBuilder_.isEmpty()) { issuesBuilder_.dispose(); issuesBuilder_ = null; issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000040); issuesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getIssuesFieldBuilder() : null; } else { issuesBuilder_.addAllMessages(other.issues_); } } } if (componentsBuilder_ == null) { if (!other.components_.isEmpty()) { if (components_.isEmpty()) { components_ = other.components_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureComponentsIsMutable(); components_.addAll(other.components_); } onChanged(); } } else { if (!other.components_.isEmpty()) { if (componentsBuilder_.isEmpty()) { componentsBuilder_.dispose(); componentsBuilder_ = null; components_ = other.components_; bitField0_ = (bitField0_ & ~0x00000080); componentsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getComponentsFieldBuilder() : null; } else { componentsBuilder_.addAllMessages(other.components_); } } } if (other.hasRules()) { mergeRules(other.getRules()); } if (other.hasUsers()) { mergeUsers(other.getUsers()); } if (other.hasUnusedActionPlans()) { mergeUnusedActionPlans(other.getUnusedActionPlans()); } if (other.hasLanguages()) { mergeLanguages(other.getLanguages()); } if (other.hasFacets()) { mergeFacets(other.getFacets()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.sonarqube.ws.Issues.SearchWsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.SearchWsResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long total_ ; /** * optional int64 total = 1; */ public boolean hasTotal() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 total = 1; */ public long getTotal() { return total_; } /** * optional int64 total = 1; */ public Builder setTotal(long value) { bitField0_ |= 0x00000001; total_ = value; onChanged(); return this; } /** * optional int64 total = 1; */ public Builder clearTotal() { bitField0_ = (bitField0_ & ~0x00000001); total_ = 0L; onChanged(); return this; } private long p_ ; /** * optional int64 p = 2; */ public boolean hasP() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 p = 2; */ public long getP() { return p_; } /** * optional int64 p = 2; */ public Builder setP(long value) { bitField0_ |= 0x00000002; p_ = value; onChanged(); return this; } /** * optional int64 p = 2; */ public Builder clearP() { bitField0_ = (bitField0_ & ~0x00000002); p_ = 0L; onChanged(); return this; } private int ps_ ; /** * optional int32 ps = 3; */ public boolean hasPs() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 ps = 3; */ public int getPs() { return ps_; } /** * optional int32 ps = 3; */ public Builder setPs(int value) { bitField0_ |= 0x00000004; ps_ = value; onChanged(); return this; } /** * optional int32 ps = 3; */ public Builder clearPs() { bitField0_ = (bitField0_ & ~0x00000004); ps_ = 0; onChanged(); return this; } private org.sonarqube.ws.Common.Paging paging_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder> pagingBuilder_; /** * optional .sonarqube.ws.commons.Paging paging = 4; */ public boolean hasPaging() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .sonarqube.ws.commons.Paging paging = 4; */ public org.sonarqube.ws.Common.Paging getPaging() { if (pagingBuilder_ == null) { return paging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_; } else { return pagingBuilder_.getMessage(); } } /** * optional .sonarqube.ws.commons.Paging paging = 4; */ public Builder setPaging(org.sonarqube.ws.Common.Paging value) { if (pagingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } paging_ = value; onChanged(); } else { pagingBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .sonarqube.ws.commons.Paging paging = 4; */ public Builder setPaging( org.sonarqube.ws.Common.Paging.Builder builderForValue) { if (pagingBuilder_ == null) { paging_ = builderForValue.build(); onChanged(); } else { pagingBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .sonarqube.ws.commons.Paging paging = 4; */ public Builder mergePaging(org.sonarqube.ws.Common.Paging value) { if (pagingBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && paging_ != null && paging_ != org.sonarqube.ws.Common.Paging.getDefaultInstance()) { paging_ = org.sonarqube.ws.Common.Paging.newBuilder(paging_).mergeFrom(value).buildPartial(); } else { paging_ = value; } onChanged(); } else { pagingBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .sonarqube.ws.commons.Paging paging = 4; */ public Builder clearPaging() { if (pagingBuilder_ == null) { paging_ = null; onChanged(); } else { pagingBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .sonarqube.ws.commons.Paging paging = 4; */ public org.sonarqube.ws.Common.Paging.Builder getPagingBuilder() { bitField0_ |= 0x00000008; onChanged(); return getPagingFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.commons.Paging paging = 4; */ public org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder() { if (pagingBuilder_ != null) { return pagingBuilder_.getMessageOrBuilder(); } else { return paging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_; } } /** * optional .sonarqube.ws.commons.Paging paging = 4; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder> getPagingFieldBuilder() { if (pagingBuilder_ == null) { pagingBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder>( getPaging(), getParentForChildren(), isClean()); paging_ = null; } return pagingBuilder_; } private long effortTotal_ ; /** * optional int64 effortTotal = 13; * *
       * Total amount of effort, only when the facet "total" is enabled
       * 
*/ public boolean hasEffortTotal() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int64 effortTotal = 13; * *
       * Total amount of effort, only when the facet "total" is enabled
       * 
*/ public long getEffortTotal() { return effortTotal_; } /** * optional int64 effortTotal = 13; * *
       * Total amount of effort, only when the facet "total" is enabled
       * 
*/ public Builder setEffortTotal(long value) { bitField0_ |= 0x00000010; effortTotal_ = value; onChanged(); return this; } /** * optional int64 effortTotal = 13; * *
       * Total amount of effort, only when the facet "total" is enabled
       * 
*/ public Builder clearEffortTotal() { bitField0_ = (bitField0_ & ~0x00000010); effortTotal_ = 0L; onChanged(); return this; } private long debtTotal_ ; /** * optional int64 debtTotal = 5; * *
       * Deprecated since 5.5, replaced by effortTotal
       * 
*/ public boolean hasDebtTotal() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional int64 debtTotal = 5; * *
       * Deprecated since 5.5, replaced by effortTotal
       * 
*/ public long getDebtTotal() { return debtTotal_; } /** * optional int64 debtTotal = 5; * *
       * Deprecated since 5.5, replaced by effortTotal
       * 
*/ public Builder setDebtTotal(long value) { bitField0_ |= 0x00000020; debtTotal_ = value; onChanged(); return this; } /** * optional int64 debtTotal = 5; * *
       * Deprecated since 5.5, replaced by effortTotal
       * 
*/ public Builder clearDebtTotal() { bitField0_ = (bitField0_ & ~0x00000020); debtTotal_ = 0L; onChanged(); return this; } private java.util.List issues_ = java.util.Collections.emptyList(); private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { issues_ = new java.util.ArrayList(issues_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Issue, org.sonarqube.ws.Issues.Issue.Builder, org.sonarqube.ws.Issues.IssueOrBuilder> issuesBuilder_; /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public java.util.List getIssuesList() { if (issuesBuilder_ == null) { return java.util.Collections.unmodifiableList(issues_); } else { return issuesBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public int getIssuesCount() { if (issuesBuilder_ == null) { return issues_.size(); } else { return issuesBuilder_.getCount(); } } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public org.sonarqube.ws.Issues.Issue getIssues(int index) { if (issuesBuilder_ == null) { return issues_.get(index); } else { return issuesBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public Builder setIssues( int index, org.sonarqube.ws.Issues.Issue value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.set(index, value); onChanged(); } else { issuesBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public Builder setIssues( int index, org.sonarqube.ws.Issues.Issue.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.set(index, builderForValue.build()); onChanged(); } else { issuesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public Builder addIssues(org.sonarqube.ws.Issues.Issue value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.add(value); onChanged(); } else { issuesBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public Builder addIssues( int index, org.sonarqube.ws.Issues.Issue value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.add(index, value); onChanged(); } else { issuesBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public Builder addIssues( org.sonarqube.ws.Issues.Issue.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(builderForValue.build()); onChanged(); } else { issuesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public Builder addIssues( int index, org.sonarqube.ws.Issues.Issue.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(index, builderForValue.build()); onChanged(); } else { issuesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public Builder addAllIssues( java.lang.Iterable values) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, issues_); onChanged(); } else { issuesBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public Builder clearIssues() { if (issuesBuilder_ == null) { issues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { issuesBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public Builder removeIssues(int index) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.remove(index); onChanged(); } else { issuesBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public org.sonarqube.ws.Issues.Issue.Builder getIssuesBuilder( int index) { return getIssuesFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public org.sonarqube.ws.Issues.IssueOrBuilder getIssuesOrBuilder( int index) { if (issuesBuilder_ == null) { return issues_.get(index); } else { return issuesBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public java.util.List getIssuesOrBuilderList() { if (issuesBuilder_ != null) { return issuesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(issues_); } } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public org.sonarqube.ws.Issues.Issue.Builder addIssuesBuilder() { return getIssuesFieldBuilder().addBuilder( org.sonarqube.ws.Issues.Issue.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public org.sonarqube.ws.Issues.Issue.Builder addIssuesBuilder( int index) { return getIssuesFieldBuilder().addBuilder( index, org.sonarqube.ws.Issues.Issue.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Issue issues = 6; */ public java.util.List getIssuesBuilderList() { return getIssuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Issue, org.sonarqube.ws.Issues.Issue.Builder, org.sonarqube.ws.Issues.IssueOrBuilder> getIssuesFieldBuilder() { if (issuesBuilder_ == null) { issuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Issue, org.sonarqube.ws.Issues.Issue.Builder, org.sonarqube.ws.Issues.IssueOrBuilder>( issues_, ((bitField0_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); issues_ = null; } return issuesBuilder_; } private java.util.List components_ = java.util.Collections.emptyList(); private void ensureComponentsIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { components_ = new java.util.ArrayList(components_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Component, org.sonarqube.ws.Issues.Component.Builder, org.sonarqube.ws.Issues.ComponentOrBuilder> componentsBuilder_; /** * repeated .sonarqube.ws.issues.Component components = 7; */ public java.util.List getComponentsList() { if (componentsBuilder_ == null) { return java.util.Collections.unmodifiableList(components_); } else { return componentsBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public int getComponentsCount() { if (componentsBuilder_ == null) { return components_.size(); } else { return componentsBuilder_.getCount(); } } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public org.sonarqube.ws.Issues.Component getComponents(int index) { if (componentsBuilder_ == null) { return components_.get(index); } else { return componentsBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public Builder setComponents( int index, org.sonarqube.ws.Issues.Component value) { if (componentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComponentsIsMutable(); components_.set(index, value); onChanged(); } else { componentsBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public Builder setComponents( int index, org.sonarqube.ws.Issues.Component.Builder builderForValue) { if (componentsBuilder_ == null) { ensureComponentsIsMutable(); components_.set(index, builderForValue.build()); onChanged(); } else { componentsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public Builder addComponents(org.sonarqube.ws.Issues.Component value) { if (componentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComponentsIsMutable(); components_.add(value); onChanged(); } else { componentsBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public Builder addComponents( int index, org.sonarqube.ws.Issues.Component value) { if (componentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComponentsIsMutable(); components_.add(index, value); onChanged(); } else { componentsBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public Builder addComponents( org.sonarqube.ws.Issues.Component.Builder builderForValue) { if (componentsBuilder_ == null) { ensureComponentsIsMutable(); components_.add(builderForValue.build()); onChanged(); } else { componentsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public Builder addComponents( int index, org.sonarqube.ws.Issues.Component.Builder builderForValue) { if (componentsBuilder_ == null) { ensureComponentsIsMutable(); components_.add(index, builderForValue.build()); onChanged(); } else { componentsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public Builder addAllComponents( java.lang.Iterable values) { if (componentsBuilder_ == null) { ensureComponentsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, components_); onChanged(); } else { componentsBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public Builder clearComponents() { if (componentsBuilder_ == null) { components_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { componentsBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public Builder removeComponents(int index) { if (componentsBuilder_ == null) { ensureComponentsIsMutable(); components_.remove(index); onChanged(); } else { componentsBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public org.sonarqube.ws.Issues.Component.Builder getComponentsBuilder( int index) { return getComponentsFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public org.sonarqube.ws.Issues.ComponentOrBuilder getComponentsOrBuilder( int index) { if (componentsBuilder_ == null) { return components_.get(index); } else { return componentsBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public java.util.List getComponentsOrBuilderList() { if (componentsBuilder_ != null) { return componentsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(components_); } } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public org.sonarqube.ws.Issues.Component.Builder addComponentsBuilder() { return getComponentsFieldBuilder().addBuilder( org.sonarqube.ws.Issues.Component.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public org.sonarqube.ws.Issues.Component.Builder addComponentsBuilder( int index) { return getComponentsFieldBuilder().addBuilder( index, org.sonarqube.ws.Issues.Component.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Component components = 7; */ public java.util.List getComponentsBuilderList() { return getComponentsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Component, org.sonarqube.ws.Issues.Component.Builder, org.sonarqube.ws.Issues.ComponentOrBuilder> getComponentsFieldBuilder() { if (componentsBuilder_ == null) { componentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Component, org.sonarqube.ws.Issues.Component.Builder, org.sonarqube.ws.Issues.ComponentOrBuilder>( components_, ((bitField0_ & 0x00000080) == 0x00000080), getParentForChildren(), isClean()); components_ = null; } return componentsBuilder_; } private org.sonarqube.ws.Common.Rules rules_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Rules, org.sonarqube.ws.Common.Rules.Builder, org.sonarqube.ws.Common.RulesOrBuilder> rulesBuilder_; /** * optional .sonarqube.ws.commons.Rules rules = 8; */ public boolean hasRules() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .sonarqube.ws.commons.Rules rules = 8; */ public org.sonarqube.ws.Common.Rules getRules() { if (rulesBuilder_ == null) { return rules_ == null ? org.sonarqube.ws.Common.Rules.getDefaultInstance() : rules_; } else { return rulesBuilder_.getMessage(); } } /** * optional .sonarqube.ws.commons.Rules rules = 8; */ public Builder setRules(org.sonarqube.ws.Common.Rules value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rules_ = value; onChanged(); } else { rulesBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** * optional .sonarqube.ws.commons.Rules rules = 8; */ public Builder setRules( org.sonarqube.ws.Common.Rules.Builder builderForValue) { if (rulesBuilder_ == null) { rules_ = builderForValue.build(); onChanged(); } else { rulesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** * optional .sonarqube.ws.commons.Rules rules = 8; */ public Builder mergeRules(org.sonarqube.ws.Common.Rules value) { if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100) && rules_ != null && rules_ != org.sonarqube.ws.Common.Rules.getDefaultInstance()) { rules_ = org.sonarqube.ws.Common.Rules.newBuilder(rules_).mergeFrom(value).buildPartial(); } else { rules_ = value; } onChanged(); } else { rulesBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** * optional .sonarqube.ws.commons.Rules rules = 8; */ public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = null; onChanged(); } else { rulesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * optional .sonarqube.ws.commons.Rules rules = 8; */ public org.sonarqube.ws.Common.Rules.Builder getRulesBuilder() { bitField0_ |= 0x00000100; onChanged(); return getRulesFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.commons.Rules rules = 8; */ public org.sonarqube.ws.Common.RulesOrBuilder getRulesOrBuilder() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilder(); } else { return rules_ == null ? org.sonarqube.ws.Common.Rules.getDefaultInstance() : rules_; } } /** * optional .sonarqube.ws.commons.Rules rules = 8; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Rules, org.sonarqube.ws.Common.Rules.Builder, org.sonarqube.ws.Common.RulesOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Rules, org.sonarqube.ws.Common.Rules.Builder, org.sonarqube.ws.Common.RulesOrBuilder>( getRules(), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } private org.sonarqube.ws.Common.Users users_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Users, org.sonarqube.ws.Common.Users.Builder, org.sonarqube.ws.Common.UsersOrBuilder> usersBuilder_; /** * optional .sonarqube.ws.commons.Users users = 9; */ public boolean hasUsers() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .sonarqube.ws.commons.Users users = 9; */ public org.sonarqube.ws.Common.Users getUsers() { if (usersBuilder_ == null) { return users_ == null ? org.sonarqube.ws.Common.Users.getDefaultInstance() : users_; } else { return usersBuilder_.getMessage(); } } /** * optional .sonarqube.ws.commons.Users users = 9; */ public Builder setUsers(org.sonarqube.ws.Common.Users value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } users_ = value; onChanged(); } else { usersBuilder_.setMessage(value); } bitField0_ |= 0x00000200; return this; } /** * optional .sonarqube.ws.commons.Users users = 9; */ public Builder setUsers( org.sonarqube.ws.Common.Users.Builder builderForValue) { if (usersBuilder_ == null) { users_ = builderForValue.build(); onChanged(); } else { usersBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; return this; } /** * optional .sonarqube.ws.commons.Users users = 9; */ public Builder mergeUsers(org.sonarqube.ws.Common.Users value) { if (usersBuilder_ == null) { if (((bitField0_ & 0x00000200) == 0x00000200) && users_ != null && users_ != org.sonarqube.ws.Common.Users.getDefaultInstance()) { users_ = org.sonarqube.ws.Common.Users.newBuilder(users_).mergeFrom(value).buildPartial(); } else { users_ = value; } onChanged(); } else { usersBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; return this; } /** * optional .sonarqube.ws.commons.Users users = 9; */ public Builder clearUsers() { if (usersBuilder_ == null) { users_ = null; onChanged(); } else { usersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); return this; } /** * optional .sonarqube.ws.commons.Users users = 9; */ public org.sonarqube.ws.Common.Users.Builder getUsersBuilder() { bitField0_ |= 0x00000200; onChanged(); return getUsersFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.commons.Users users = 9; */ public org.sonarqube.ws.Common.UsersOrBuilder getUsersOrBuilder() { if (usersBuilder_ != null) { return usersBuilder_.getMessageOrBuilder(); } else { return users_ == null ? org.sonarqube.ws.Common.Users.getDefaultInstance() : users_; } } /** * optional .sonarqube.ws.commons.Users users = 9; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Users, org.sonarqube.ws.Common.Users.Builder, org.sonarqube.ws.Common.UsersOrBuilder> getUsersFieldBuilder() { if (usersBuilder_ == null) { usersBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Users, org.sonarqube.ws.Common.Users.Builder, org.sonarqube.ws.Common.UsersOrBuilder>( getUsers(), getParentForChildren(), isClean()); users_ = null; } return usersBuilder_; } private org.sonarqube.ws.Issues.ActionPlans unusedActionPlans_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.ActionPlans, org.sonarqube.ws.Issues.ActionPlans.Builder, org.sonarqube.ws.Issues.ActionPlansOrBuilder> unusedActionPlansBuilder_; /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public boolean hasUnusedActionPlans() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public org.sonarqube.ws.Issues.ActionPlans getUnusedActionPlans() { if (unusedActionPlansBuilder_ == null) { return unusedActionPlans_ == null ? org.sonarqube.ws.Issues.ActionPlans.getDefaultInstance() : unusedActionPlans_; } else { return unusedActionPlansBuilder_.getMessage(); } } /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder setUnusedActionPlans(org.sonarqube.ws.Issues.ActionPlans value) { if (unusedActionPlansBuilder_ == null) { if (value == null) { throw new NullPointerException(); } unusedActionPlans_ = value; onChanged(); } else { unusedActionPlansBuilder_.setMessage(value); } bitField0_ |= 0x00000400; return this; } /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder setUnusedActionPlans( org.sonarqube.ws.Issues.ActionPlans.Builder builderForValue) { if (unusedActionPlansBuilder_ == null) { unusedActionPlans_ = builderForValue.build(); onChanged(); } else { unusedActionPlansBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; return this; } /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder mergeUnusedActionPlans(org.sonarqube.ws.Issues.ActionPlans value) { if (unusedActionPlansBuilder_ == null) { if (((bitField0_ & 0x00000400) == 0x00000400) && unusedActionPlans_ != null && unusedActionPlans_ != org.sonarqube.ws.Issues.ActionPlans.getDefaultInstance()) { unusedActionPlans_ = org.sonarqube.ws.Issues.ActionPlans.newBuilder(unusedActionPlans_).mergeFrom(value).buildPartial(); } else { unusedActionPlans_ = value; } onChanged(); } else { unusedActionPlansBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; return this; } /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder clearUnusedActionPlans() { if (unusedActionPlansBuilder_ == null) { unusedActionPlans_ = null; onChanged(); } else { unusedActionPlansBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); return this; } /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public org.sonarqube.ws.Issues.ActionPlans.Builder getUnusedActionPlansBuilder() { bitField0_ |= 0x00000400; onChanged(); return getUnusedActionPlansFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public org.sonarqube.ws.Issues.ActionPlansOrBuilder getUnusedActionPlansOrBuilder() { if (unusedActionPlansBuilder_ != null) { return unusedActionPlansBuilder_.getMessageOrBuilder(); } else { return unusedActionPlans_ == null ? org.sonarqube.ws.Issues.ActionPlans.getDefaultInstance() : unusedActionPlans_; } } /** * optional .sonarqube.ws.issues.ActionPlans unusedActionPlans = 10; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.ActionPlans, org.sonarqube.ws.Issues.ActionPlans.Builder, org.sonarqube.ws.Issues.ActionPlansOrBuilder> getUnusedActionPlansFieldBuilder() { if (unusedActionPlansBuilder_ == null) { unusedActionPlansBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.ActionPlans, org.sonarqube.ws.Issues.ActionPlans.Builder, org.sonarqube.ws.Issues.ActionPlansOrBuilder>( getUnusedActionPlans(), getParentForChildren(), isClean()); unusedActionPlans_ = null; } return unusedActionPlansBuilder_; } private org.sonarqube.ws.Issues.Languages languages_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Languages, org.sonarqube.ws.Issues.Languages.Builder, org.sonarqube.ws.Issues.LanguagesOrBuilder> languagesBuilder_; /** * optional .sonarqube.ws.issues.Languages languages = 11; */ public boolean hasLanguages() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional .sonarqube.ws.issues.Languages languages = 11; */ public org.sonarqube.ws.Issues.Languages getLanguages() { if (languagesBuilder_ == null) { return languages_ == null ? org.sonarqube.ws.Issues.Languages.getDefaultInstance() : languages_; } else { return languagesBuilder_.getMessage(); } } /** * optional .sonarqube.ws.issues.Languages languages = 11; */ public Builder setLanguages(org.sonarqube.ws.Issues.Languages value) { if (languagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } languages_ = value; onChanged(); } else { languagesBuilder_.setMessage(value); } bitField0_ |= 0x00000800; return this; } /** * optional .sonarqube.ws.issues.Languages languages = 11; */ public Builder setLanguages( org.sonarqube.ws.Issues.Languages.Builder builderForValue) { if (languagesBuilder_ == null) { languages_ = builderForValue.build(); onChanged(); } else { languagesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; return this; } /** * optional .sonarqube.ws.issues.Languages languages = 11; */ public Builder mergeLanguages(org.sonarqube.ws.Issues.Languages value) { if (languagesBuilder_ == null) { if (((bitField0_ & 0x00000800) == 0x00000800) && languages_ != null && languages_ != org.sonarqube.ws.Issues.Languages.getDefaultInstance()) { languages_ = org.sonarqube.ws.Issues.Languages.newBuilder(languages_).mergeFrom(value).buildPartial(); } else { languages_ = value; } onChanged(); } else { languagesBuilder_.mergeFrom(value); } bitField0_ |= 0x00000800; return this; } /** * optional .sonarqube.ws.issues.Languages languages = 11; */ public Builder clearLanguages() { if (languagesBuilder_ == null) { languages_ = null; onChanged(); } else { languagesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } /** * optional .sonarqube.ws.issues.Languages languages = 11; */ public org.sonarqube.ws.Issues.Languages.Builder getLanguagesBuilder() { bitField0_ |= 0x00000800; onChanged(); return getLanguagesFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.issues.Languages languages = 11; */ public org.sonarqube.ws.Issues.LanguagesOrBuilder getLanguagesOrBuilder() { if (languagesBuilder_ != null) { return languagesBuilder_.getMessageOrBuilder(); } else { return languages_ == null ? org.sonarqube.ws.Issues.Languages.getDefaultInstance() : languages_; } } /** * optional .sonarqube.ws.issues.Languages languages = 11; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Languages, org.sonarqube.ws.Issues.Languages.Builder, org.sonarqube.ws.Issues.LanguagesOrBuilder> getLanguagesFieldBuilder() { if (languagesBuilder_ == null) { languagesBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Languages, org.sonarqube.ws.Issues.Languages.Builder, org.sonarqube.ws.Issues.LanguagesOrBuilder>( getLanguages(), getParentForChildren(), isClean()); languages_ = null; } return languagesBuilder_; } private org.sonarqube.ws.Common.Facets facets_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Facets, org.sonarqube.ws.Common.Facets.Builder, org.sonarqube.ws.Common.FacetsOrBuilder> facetsBuilder_; /** * optional .sonarqube.ws.commons.Facets facets = 12; */ public boolean hasFacets() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional .sonarqube.ws.commons.Facets facets = 12; */ public org.sonarqube.ws.Common.Facets getFacets() { if (facetsBuilder_ == null) { return facets_ == null ? org.sonarqube.ws.Common.Facets.getDefaultInstance() : facets_; } else { return facetsBuilder_.getMessage(); } } /** * optional .sonarqube.ws.commons.Facets facets = 12; */ public Builder setFacets(org.sonarqube.ws.Common.Facets value) { if (facetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } facets_ = value; onChanged(); } else { facetsBuilder_.setMessage(value); } bitField0_ |= 0x00001000; return this; } /** * optional .sonarqube.ws.commons.Facets facets = 12; */ public Builder setFacets( org.sonarqube.ws.Common.Facets.Builder builderForValue) { if (facetsBuilder_ == null) { facets_ = builderForValue.build(); onChanged(); } else { facetsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; return this; } /** * optional .sonarqube.ws.commons.Facets facets = 12; */ public Builder mergeFacets(org.sonarqube.ws.Common.Facets value) { if (facetsBuilder_ == null) { if (((bitField0_ & 0x00001000) == 0x00001000) && facets_ != null && facets_ != org.sonarqube.ws.Common.Facets.getDefaultInstance()) { facets_ = org.sonarqube.ws.Common.Facets.newBuilder(facets_).mergeFrom(value).buildPartial(); } else { facets_ = value; } onChanged(); } else { facetsBuilder_.mergeFrom(value); } bitField0_ |= 0x00001000; return this; } /** * optional .sonarqube.ws.commons.Facets facets = 12; */ public Builder clearFacets() { if (facetsBuilder_ == null) { facets_ = null; onChanged(); } else { facetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00001000); return this; } /** * optional .sonarqube.ws.commons.Facets facets = 12; */ public org.sonarqube.ws.Common.Facets.Builder getFacetsBuilder() { bitField0_ |= 0x00001000; onChanged(); return getFacetsFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.commons.Facets facets = 12; */ public org.sonarqube.ws.Common.FacetsOrBuilder getFacetsOrBuilder() { if (facetsBuilder_ != null) { return facetsBuilder_.getMessageOrBuilder(); } else { return facets_ == null ? org.sonarqube.ws.Common.Facets.getDefaultInstance() : facets_; } } /** * optional .sonarqube.ws.commons.Facets facets = 12; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Facets, org.sonarqube.ws.Common.Facets.Builder, org.sonarqube.ws.Common.FacetsOrBuilder> getFacetsFieldBuilder() { if (facetsBuilder_ == null) { facetsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.Facets, org.sonarqube.ws.Common.Facets.Builder, org.sonarqube.ws.Common.FacetsOrBuilder>( getFacets(), getParentForChildren(), isClean()); facets_ = null; } return facetsBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.SearchWsResponse) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.SearchWsResponse) private static final org.sonarqube.ws.Issues.SearchWsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.SearchWsResponse(); } public static org.sonarqube.ws.Issues.SearchWsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public SearchWsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new SearchWsResponse(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.SearchWsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OperationOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.Operation) com.google.protobuf.MessageOrBuilder { /** * optional .sonarqube.ws.issues.Issue issue = 1; */ boolean hasIssue(); /** * optional .sonarqube.ws.issues.Issue issue = 1; */ org.sonarqube.ws.Issues.Issue getIssue(); /** * optional .sonarqube.ws.issues.Issue issue = 1; */ org.sonarqube.ws.Issues.IssueOrBuilder getIssueOrBuilder(); /** * repeated .sonarqube.ws.issues.Component components = 2; */ java.util.List getComponentsList(); /** * repeated .sonarqube.ws.issues.Component components = 2; */ org.sonarqube.ws.Issues.Component getComponents(int index); /** * repeated .sonarqube.ws.issues.Component components = 2; */ int getComponentsCount(); /** * repeated .sonarqube.ws.issues.Component components = 2; */ java.util.List getComponentsOrBuilderList(); /** * repeated .sonarqube.ws.issues.Component components = 2; */ org.sonarqube.ws.Issues.ComponentOrBuilder getComponentsOrBuilder( int index); /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ java.util.List getRulesList(); /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ org.sonarqube.ws.Common.Rule getRules(int index); /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ int getRulesCount(); /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ java.util.List getRulesOrBuilderList(); /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ org.sonarqube.ws.Common.RuleOrBuilder getRulesOrBuilder( int index); /** * repeated .sonarqube.ws.commons.User users = 4; */ java.util.List getUsersList(); /** * repeated .sonarqube.ws.commons.User users = 4; */ org.sonarqube.ws.Common.User getUsers(int index); /** * repeated .sonarqube.ws.commons.User users = 4; */ int getUsersCount(); /** * repeated .sonarqube.ws.commons.User users = 4; */ java.util.List getUsersOrBuilderList(); /** * repeated .sonarqube.ws.commons.User users = 4; */ org.sonarqube.ws.Common.UserOrBuilder getUsersOrBuilder( int index); /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ java.util.List getActiunusedActionPlansonPlansList(); /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ org.sonarqube.ws.Issues.ActionPlan getActiunusedActionPlansonPlans(int index); /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ int getActiunusedActionPlansonPlansCount(); /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ java.util.List getActiunusedActionPlansonPlansOrBuilderList(); /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ org.sonarqube.ws.Issues.ActionPlanOrBuilder getActiunusedActionPlansonPlansOrBuilder( int index); } /** * Protobuf type {@code sonarqube.ws.issues.Operation} * *
   * Response of most of POST/issues/{operation}, for instance assign, add_comment and set_severity
   * 
*/ public static final class Operation extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.Operation) OperationOrBuilder { // Use Operation.newBuilder() to construct. private Operation(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Operation() { components_ = java.util.Collections.emptyList(); rules_ = java.util.Collections.emptyList(); users_ = java.util.Collections.emptyList(); actiunusedActionPlansonPlans_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Operation( 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: { org.sonarqube.ws.Issues.Issue.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = issue_.toBuilder(); } issue_ = input.readMessage(org.sonarqube.ws.Issues.Issue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(issue_); issue_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { components_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } components_.add(input.readMessage(org.sonarqube.ws.Issues.Component.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { rules_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } rules_.add(input.readMessage(org.sonarqube.ws.Common.Rule.parser(), extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { users_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } users_.add(input.readMessage(org.sonarqube.ws.Common.User.parser(), extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { actiunusedActionPlansonPlans_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } actiunusedActionPlansonPlans_.add(input.readMessage(org.sonarqube.ws.Issues.ActionPlan.parser(), extensionRegistry)); 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 { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { components_ = java.util.Collections.unmodifiableList(components_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { rules_ = java.util.Collections.unmodifiableList(rules_); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { users_ = java.util.Collections.unmodifiableList(users_); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { actiunusedActionPlansonPlans_ = java.util.Collections.unmodifiableList(actiunusedActionPlansonPlans_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Operation_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Operation_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Operation.class, org.sonarqube.ws.Issues.Operation.Builder.class); } private int bitField0_; public static final int ISSUE_FIELD_NUMBER = 1; private org.sonarqube.ws.Issues.Issue issue_; /** * optional .sonarqube.ws.issues.Issue issue = 1; */ public boolean hasIssue() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .sonarqube.ws.issues.Issue issue = 1; */ public org.sonarqube.ws.Issues.Issue getIssue() { return issue_ == null ? org.sonarqube.ws.Issues.Issue.getDefaultInstance() : issue_; } /** * optional .sonarqube.ws.issues.Issue issue = 1; */ public org.sonarqube.ws.Issues.IssueOrBuilder getIssueOrBuilder() { return issue_ == null ? org.sonarqube.ws.Issues.Issue.getDefaultInstance() : issue_; } public static final int COMPONENTS_FIELD_NUMBER = 2; private java.util.List components_; /** * repeated .sonarqube.ws.issues.Component components = 2; */ public java.util.List getComponentsList() { return components_; } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public java.util.List getComponentsOrBuilderList() { return components_; } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public int getComponentsCount() { return components_.size(); } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public org.sonarqube.ws.Issues.Component getComponents(int index) { return components_.get(index); } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public org.sonarqube.ws.Issues.ComponentOrBuilder getComponentsOrBuilder( int index) { return components_.get(index); } public static final int RULES_FIELD_NUMBER = 3; private java.util.List rules_; /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public java.util.List getRulesList() { return rules_; } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public java.util.List getRulesOrBuilderList() { return rules_; } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public int getRulesCount() { return rules_.size(); } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.Rule getRules(int index) { return rules_.get(index); } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.RuleOrBuilder getRulesOrBuilder( int index) { return rules_.get(index); } public static final int USERS_FIELD_NUMBER = 4; private java.util.List users_; /** * repeated .sonarqube.ws.commons.User users = 4; */ public java.util.List getUsersList() { return users_; } /** * repeated .sonarqube.ws.commons.User users = 4; */ public java.util.List getUsersOrBuilderList() { return users_; } /** * repeated .sonarqube.ws.commons.User users = 4; */ public int getUsersCount() { return users_.size(); } /** * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.User getUsers(int index) { return users_.get(index); } /** * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.UserOrBuilder getUsersOrBuilder( int index) { return users_.get(index); } public static final int ACTIUNUSEDACTIONPLANSONPLANS_FIELD_NUMBER = 5; private java.util.List actiunusedActionPlansonPlans_; /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ public java.util.List getActiunusedActionPlansonPlansList() { return actiunusedActionPlansonPlans_; } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ public java.util.List getActiunusedActionPlansonPlansOrBuilderList() { return actiunusedActionPlansonPlans_; } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ public int getActiunusedActionPlansonPlansCount() { return actiunusedActionPlansonPlans_.size(); } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ public org.sonarqube.ws.Issues.ActionPlan getActiunusedActionPlansonPlans(int index) { return actiunusedActionPlansonPlans_.get(index); } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ public org.sonarqube.ws.Issues.ActionPlanOrBuilder getActiunusedActionPlansonPlansOrBuilder( int index) { return actiunusedActionPlansonPlans_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, getIssue()); } for (int i = 0; i < components_.size(); i++) { output.writeMessage(2, components_.get(i)); } for (int i = 0; i < rules_.size(); i++) { output.writeMessage(3, rules_.get(i)); } for (int i = 0; i < users_.size(); i++) { output.writeMessage(4, users_.get(i)); } for (int i = 0; i < actiunusedActionPlansonPlans_.size(); i++) { output.writeMessage(5, actiunusedActionPlansonPlans_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIssue()); } for (int i = 0; i < components_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, components_.get(i)); } for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, rules_.get(i)); } for (int i = 0; i < users_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, users_.get(i)); } for (int i = 0; i < actiunusedActionPlansonPlans_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, actiunusedActionPlansonPlans_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Issues.Operation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Operation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Operation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Operation parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Operation parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Operation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Operation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.Operation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Operation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Operation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.Operation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.Operation} * *
     * Response of most of POST/issues/{operation}, for instance assign, add_comment and set_severity
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.Operation) org.sonarqube.ws.Issues.OperationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Operation_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Operation_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Operation.class, org.sonarqube.ws.Issues.Operation.Builder.class); } // Construct using org.sonarqube.ws.Issues.Operation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getIssueFieldBuilder(); getComponentsFieldBuilder(); getRulesFieldBuilder(); getUsersFieldBuilder(); getActiunusedActionPlansonPlansFieldBuilder(); } } public Builder clear() { super.clear(); if (issueBuilder_ == null) { issue_ = null; } else { issueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (componentsBuilder_ == null) { components_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { componentsBuilder_.clear(); } if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { rulesBuilder_.clear(); } if (usersBuilder_ == null) { users_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { usersBuilder_.clear(); } if (actiunusedActionPlansonPlansBuilder_ == null) { actiunusedActionPlansonPlans_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { actiunusedActionPlansonPlansBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Operation_descriptor; } public org.sonarqube.ws.Issues.Operation getDefaultInstanceForType() { return org.sonarqube.ws.Issues.Operation.getDefaultInstance(); } public org.sonarqube.ws.Issues.Operation build() { org.sonarqube.ws.Issues.Operation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.Operation buildPartial() { org.sonarqube.ws.Issues.Operation result = new org.sonarqube.ws.Issues.Operation(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (issueBuilder_ == null) { result.issue_ = issue_; } else { result.issue_ = issueBuilder_.build(); } if (componentsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { components_ = java.util.Collections.unmodifiableList(components_); bitField0_ = (bitField0_ & ~0x00000002); } result.components_ = components_; } else { result.components_ = componentsBuilder_.build(); } if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { rules_ = java.util.Collections.unmodifiableList(rules_); bitField0_ = (bitField0_ & ~0x00000004); } result.rules_ = rules_; } else { result.rules_ = rulesBuilder_.build(); } if (usersBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { users_ = java.util.Collections.unmodifiableList(users_); bitField0_ = (bitField0_ & ~0x00000008); } result.users_ = users_; } else { result.users_ = usersBuilder_.build(); } if (actiunusedActionPlansonPlansBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010)) { actiunusedActionPlansonPlans_ = java.util.Collections.unmodifiableList(actiunusedActionPlansonPlans_); bitField0_ = (bitField0_ & ~0x00000010); } result.actiunusedActionPlansonPlans_ = actiunusedActionPlansonPlans_; } else { result.actiunusedActionPlansonPlans_ = actiunusedActionPlansonPlansBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.Operation) { return mergeFrom((org.sonarqube.ws.Issues.Operation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.Operation other) { if (other == org.sonarqube.ws.Issues.Operation.getDefaultInstance()) return this; if (other.hasIssue()) { mergeIssue(other.getIssue()); } if (componentsBuilder_ == null) { if (!other.components_.isEmpty()) { if (components_.isEmpty()) { components_ = other.components_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureComponentsIsMutable(); components_.addAll(other.components_); } onChanged(); } } else { if (!other.components_.isEmpty()) { if (componentsBuilder_.isEmpty()) { componentsBuilder_.dispose(); componentsBuilder_ = null; components_ = other.components_; bitField0_ = (bitField0_ & ~0x00000002); componentsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getComponentsFieldBuilder() : null; } else { componentsBuilder_.addAllMessages(other.components_); } } } if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureRulesIsMutable(); rules_.addAll(other.rules_); } onChanged(); } } else { if (!other.rules_.isEmpty()) { if (rulesBuilder_.isEmpty()) { rulesBuilder_.dispose(); rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000004); rulesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } } } if (usersBuilder_ == null) { if (!other.users_.isEmpty()) { if (users_.isEmpty()) { users_ = other.users_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureUsersIsMutable(); users_.addAll(other.users_); } onChanged(); } } else { if (!other.users_.isEmpty()) { if (usersBuilder_.isEmpty()) { usersBuilder_.dispose(); usersBuilder_ = null; users_ = other.users_; bitField0_ = (bitField0_ & ~0x00000008); usersBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getUsersFieldBuilder() : null; } else { usersBuilder_.addAllMessages(other.users_); } } } if (actiunusedActionPlansonPlansBuilder_ == null) { if (!other.actiunusedActionPlansonPlans_.isEmpty()) { if (actiunusedActionPlansonPlans_.isEmpty()) { actiunusedActionPlansonPlans_ = other.actiunusedActionPlansonPlans_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureActiunusedActionPlansonPlansIsMutable(); actiunusedActionPlansonPlans_.addAll(other.actiunusedActionPlansonPlans_); } onChanged(); } } else { if (!other.actiunusedActionPlansonPlans_.isEmpty()) { if (actiunusedActionPlansonPlansBuilder_.isEmpty()) { actiunusedActionPlansonPlansBuilder_.dispose(); actiunusedActionPlansonPlansBuilder_ = null; actiunusedActionPlansonPlans_ = other.actiunusedActionPlansonPlans_; bitField0_ = (bitField0_ & ~0x00000010); actiunusedActionPlansonPlansBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getActiunusedActionPlansonPlansFieldBuilder() : null; } else { actiunusedActionPlansonPlansBuilder_.addAllMessages(other.actiunusedActionPlansonPlans_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.sonarqube.ws.Issues.Operation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.Operation) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.sonarqube.ws.Issues.Issue issue_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Issue, org.sonarqube.ws.Issues.Issue.Builder, org.sonarqube.ws.Issues.IssueOrBuilder> issueBuilder_; /** * optional .sonarqube.ws.issues.Issue issue = 1; */ public boolean hasIssue() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .sonarqube.ws.issues.Issue issue = 1; */ public org.sonarqube.ws.Issues.Issue getIssue() { if (issueBuilder_ == null) { return issue_ == null ? org.sonarqube.ws.Issues.Issue.getDefaultInstance() : issue_; } else { return issueBuilder_.getMessage(); } } /** * optional .sonarqube.ws.issues.Issue issue = 1; */ public Builder setIssue(org.sonarqube.ws.Issues.Issue value) { if (issueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } issue_ = value; onChanged(); } else { issueBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .sonarqube.ws.issues.Issue issue = 1; */ public Builder setIssue( org.sonarqube.ws.Issues.Issue.Builder builderForValue) { if (issueBuilder_ == null) { issue_ = builderForValue.build(); onChanged(); } else { issueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .sonarqube.ws.issues.Issue issue = 1; */ public Builder mergeIssue(org.sonarqube.ws.Issues.Issue value) { if (issueBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && issue_ != null && issue_ != org.sonarqube.ws.Issues.Issue.getDefaultInstance()) { issue_ = org.sonarqube.ws.Issues.Issue.newBuilder(issue_).mergeFrom(value).buildPartial(); } else { issue_ = value; } onChanged(); } else { issueBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .sonarqube.ws.issues.Issue issue = 1; */ public Builder clearIssue() { if (issueBuilder_ == null) { issue_ = null; onChanged(); } else { issueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .sonarqube.ws.issues.Issue issue = 1; */ public org.sonarqube.ws.Issues.Issue.Builder getIssueBuilder() { bitField0_ |= 0x00000001; onChanged(); return getIssueFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.issues.Issue issue = 1; */ public org.sonarqube.ws.Issues.IssueOrBuilder getIssueOrBuilder() { if (issueBuilder_ != null) { return issueBuilder_.getMessageOrBuilder(); } else { return issue_ == null ? org.sonarqube.ws.Issues.Issue.getDefaultInstance() : issue_; } } /** * optional .sonarqube.ws.issues.Issue issue = 1; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Issue, org.sonarqube.ws.Issues.Issue.Builder, org.sonarqube.ws.Issues.IssueOrBuilder> getIssueFieldBuilder() { if (issueBuilder_ == null) { issueBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Issue, org.sonarqube.ws.Issues.Issue.Builder, org.sonarqube.ws.Issues.IssueOrBuilder>( getIssue(), getParentForChildren(), isClean()); issue_ = null; } return issueBuilder_; } private java.util.List components_ = java.util.Collections.emptyList(); private void ensureComponentsIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { components_ = new java.util.ArrayList(components_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Component, org.sonarqube.ws.Issues.Component.Builder, org.sonarqube.ws.Issues.ComponentOrBuilder> componentsBuilder_; /** * repeated .sonarqube.ws.issues.Component components = 2; */ public java.util.List getComponentsList() { if (componentsBuilder_ == null) { return java.util.Collections.unmodifiableList(components_); } else { return componentsBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public int getComponentsCount() { if (componentsBuilder_ == null) { return components_.size(); } else { return componentsBuilder_.getCount(); } } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public org.sonarqube.ws.Issues.Component getComponents(int index) { if (componentsBuilder_ == null) { return components_.get(index); } else { return componentsBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public Builder setComponents( int index, org.sonarqube.ws.Issues.Component value) { if (componentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComponentsIsMutable(); components_.set(index, value); onChanged(); } else { componentsBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public Builder setComponents( int index, org.sonarqube.ws.Issues.Component.Builder builderForValue) { if (componentsBuilder_ == null) { ensureComponentsIsMutable(); components_.set(index, builderForValue.build()); onChanged(); } else { componentsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public Builder addComponents(org.sonarqube.ws.Issues.Component value) { if (componentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComponentsIsMutable(); components_.add(value); onChanged(); } else { componentsBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public Builder addComponents( int index, org.sonarqube.ws.Issues.Component value) { if (componentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComponentsIsMutable(); components_.add(index, value); onChanged(); } else { componentsBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public Builder addComponents( org.sonarqube.ws.Issues.Component.Builder builderForValue) { if (componentsBuilder_ == null) { ensureComponentsIsMutable(); components_.add(builderForValue.build()); onChanged(); } else { componentsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public Builder addComponents( int index, org.sonarqube.ws.Issues.Component.Builder builderForValue) { if (componentsBuilder_ == null) { ensureComponentsIsMutable(); components_.add(index, builderForValue.build()); onChanged(); } else { componentsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public Builder addAllComponents( java.lang.Iterable values) { if (componentsBuilder_ == null) { ensureComponentsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, components_); onChanged(); } else { componentsBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public Builder clearComponents() { if (componentsBuilder_ == null) { components_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { componentsBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public Builder removeComponents(int index) { if (componentsBuilder_ == null) { ensureComponentsIsMutable(); components_.remove(index); onChanged(); } else { componentsBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public org.sonarqube.ws.Issues.Component.Builder getComponentsBuilder( int index) { return getComponentsFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public org.sonarqube.ws.Issues.ComponentOrBuilder getComponentsOrBuilder( int index) { if (componentsBuilder_ == null) { return components_.get(index); } else { return componentsBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public java.util.List getComponentsOrBuilderList() { if (componentsBuilder_ != null) { return componentsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(components_); } } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public org.sonarqube.ws.Issues.Component.Builder addComponentsBuilder() { return getComponentsFieldBuilder().addBuilder( org.sonarqube.ws.Issues.Component.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public org.sonarqube.ws.Issues.Component.Builder addComponentsBuilder( int index) { return getComponentsFieldBuilder().addBuilder( index, org.sonarqube.ws.Issues.Component.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Component components = 2; */ public java.util.List getComponentsBuilderList() { return getComponentsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Component, org.sonarqube.ws.Issues.Component.Builder, org.sonarqube.ws.Issues.ComponentOrBuilder> getComponentsFieldBuilder() { if (componentsBuilder_ == null) { componentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Component, org.sonarqube.ws.Issues.Component.Builder, org.sonarqube.ws.Issues.ComponentOrBuilder>( components_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); components_ = null; } return componentsBuilder_; } private java.util.List rules_ = java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Common.Rule, org.sonarqube.ws.Common.Rule.Builder, org.sonarqube.ws.Common.RuleOrBuilder> rulesBuilder_; /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { return java.util.Collections.unmodifiableList(rules_); } else { return rulesBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public int getRulesCount() { if (rulesBuilder_ == null) { return rules_.size(); } else { return rulesBuilder_.getCount(); } } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.Rule getRules(int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder setRules( int index, org.sonarqube.ws.Common.Rule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.set(index, value); onChanged(); } else { rulesBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder setRules( int index, org.sonarqube.ws.Common.Rule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.set(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder addRules(org.sonarqube.ws.Common.Rule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(value); onChanged(); } else { rulesBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder addRules( int index, org.sonarqube.ws.Common.Rule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(index, value); onChanged(); } else { rulesBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder addRules( org.sonarqube.ws.Common.Rule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder addRules( int index, org.sonarqube.ws.Common.Rule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { rulesBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.remove(index); onChanged(); } else { rulesBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.Rule.Builder getRulesBuilder( int index) { return getRulesFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.RuleOrBuilder getRulesOrBuilder( int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public java.util.List getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rules_); } } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.Rule.Builder addRulesBuilder() { return getRulesFieldBuilder().addBuilder( org.sonarqube.ws.Common.Rule.getDefaultInstance()); } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public org.sonarqube.ws.Common.Rule.Builder addRulesBuilder( int index) { return getRulesFieldBuilder().addBuilder( index, org.sonarqube.ws.Common.Rule.getDefaultInstance()); } /** * repeated .sonarqube.ws.commons.Rule rules = 3; */ public java.util.List getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Common.Rule, org.sonarqube.ws.Common.Rule.Builder, org.sonarqube.ws.Common.RuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Common.Rule, org.sonarqube.ws.Common.Rule.Builder, org.sonarqube.ws.Common.RuleOrBuilder>( rules_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } private java.util.List users_ = java.util.Collections.emptyList(); private void ensureUsersIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { users_ = new java.util.ArrayList(users_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Common.User, org.sonarqube.ws.Common.User.Builder, org.sonarqube.ws.Common.UserOrBuilder> usersBuilder_; /** * repeated .sonarqube.ws.commons.User users = 4; */ public java.util.List getUsersList() { if (usersBuilder_ == null) { return java.util.Collections.unmodifiableList(users_); } else { return usersBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.commons.User users = 4; */ public int getUsersCount() { if (usersBuilder_ == null) { return users_.size(); } else { return usersBuilder_.getCount(); } } /** * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.User getUsers(int index) { if (usersBuilder_ == null) { return users_.get(index); } else { return usersBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.commons.User users = 4; */ public Builder setUsers( int index, org.sonarqube.ws.Common.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUsersIsMutable(); users_.set(index, value); onChanged(); } else { usersBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.commons.User users = 4; */ public Builder setUsers( int index, org.sonarqube.ws.Common.User.Builder builderForValue) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.set(index, builderForValue.build()); onChanged(); } else { usersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.commons.User users = 4; */ public Builder addUsers(org.sonarqube.ws.Common.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUsersIsMutable(); users_.add(value); onChanged(); } else { usersBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.commons.User users = 4; */ public Builder addUsers( int index, org.sonarqube.ws.Common.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUsersIsMutable(); users_.add(index, value); onChanged(); } else { usersBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.commons.User users = 4; */ public Builder addUsers( org.sonarqube.ws.Common.User.Builder builderForValue) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.add(builderForValue.build()); onChanged(); } else { usersBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.commons.User users = 4; */ public Builder addUsers( int index, org.sonarqube.ws.Common.User.Builder builderForValue) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.add(index, builderForValue.build()); onChanged(); } else { usersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.commons.User users = 4; */ public Builder addAllUsers( java.lang.Iterable values) { if (usersBuilder_ == null) { ensureUsersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, users_); onChanged(); } else { usersBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.commons.User users = 4; */ public Builder clearUsers() { if (usersBuilder_ == null) { users_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { usersBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.commons.User users = 4; */ public Builder removeUsers(int index) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.remove(index); onChanged(); } else { usersBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.User.Builder getUsersBuilder( int index) { return getUsersFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.UserOrBuilder getUsersOrBuilder( int index) { if (usersBuilder_ == null) { return users_.get(index); } else { return usersBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.commons.User users = 4; */ public java.util.List getUsersOrBuilderList() { if (usersBuilder_ != null) { return usersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(users_); } } /** * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.User.Builder addUsersBuilder() { return getUsersFieldBuilder().addBuilder( org.sonarqube.ws.Common.User.getDefaultInstance()); } /** * repeated .sonarqube.ws.commons.User users = 4; */ public org.sonarqube.ws.Common.User.Builder addUsersBuilder( int index) { return getUsersFieldBuilder().addBuilder( index, org.sonarqube.ws.Common.User.getDefaultInstance()); } /** * repeated .sonarqube.ws.commons.User users = 4; */ public java.util.List getUsersBuilderList() { return getUsersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Common.User, org.sonarqube.ws.Common.User.Builder, org.sonarqube.ws.Common.UserOrBuilder> getUsersFieldBuilder() { if (usersBuilder_ == null) { usersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Common.User, org.sonarqube.ws.Common.User.Builder, org.sonarqube.ws.Common.UserOrBuilder>( users_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); users_ = null; } return usersBuilder_; } private java.util.List actiunusedActionPlansonPlans_ = java.util.Collections.emptyList(); private void ensureActiunusedActionPlansonPlansIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { actiunusedActionPlansonPlans_ = new java.util.ArrayList(actiunusedActionPlansonPlans_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.ActionPlan, org.sonarqube.ws.Issues.ActionPlan.Builder, org.sonarqube.ws.Issues.ActionPlanOrBuilder> actiunusedActionPlansonPlansBuilder_; /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public java.util.List getActiunusedActionPlansonPlansList() { if (actiunusedActionPlansonPlansBuilder_ == null) { return java.util.Collections.unmodifiableList(actiunusedActionPlansonPlans_); } else { return actiunusedActionPlansonPlansBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public int getActiunusedActionPlansonPlansCount() { if (actiunusedActionPlansonPlansBuilder_ == null) { return actiunusedActionPlansonPlans_.size(); } else { return actiunusedActionPlansonPlansBuilder_.getCount(); } } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public org.sonarqube.ws.Issues.ActionPlan getActiunusedActionPlansonPlans(int index) { if (actiunusedActionPlansonPlansBuilder_ == null) { return actiunusedActionPlansonPlans_.get(index); } else { return actiunusedActionPlansonPlansBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder setActiunusedActionPlansonPlans( int index, org.sonarqube.ws.Issues.ActionPlan value) { if (actiunusedActionPlansonPlansBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiunusedActionPlansonPlansIsMutable(); actiunusedActionPlansonPlans_.set(index, value); onChanged(); } else { actiunusedActionPlansonPlansBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder setActiunusedActionPlansonPlans( int index, org.sonarqube.ws.Issues.ActionPlan.Builder builderForValue) { if (actiunusedActionPlansonPlansBuilder_ == null) { ensureActiunusedActionPlansonPlansIsMutable(); actiunusedActionPlansonPlans_.set(index, builderForValue.build()); onChanged(); } else { actiunusedActionPlansonPlansBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder addActiunusedActionPlansonPlans(org.sonarqube.ws.Issues.ActionPlan value) { if (actiunusedActionPlansonPlansBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiunusedActionPlansonPlansIsMutable(); actiunusedActionPlansonPlans_.add(value); onChanged(); } else { actiunusedActionPlansonPlansBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder addActiunusedActionPlansonPlans( int index, org.sonarqube.ws.Issues.ActionPlan value) { if (actiunusedActionPlansonPlansBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiunusedActionPlansonPlansIsMutable(); actiunusedActionPlansonPlans_.add(index, value); onChanged(); } else { actiunusedActionPlansonPlansBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder addActiunusedActionPlansonPlans( org.sonarqube.ws.Issues.ActionPlan.Builder builderForValue) { if (actiunusedActionPlansonPlansBuilder_ == null) { ensureActiunusedActionPlansonPlansIsMutable(); actiunusedActionPlansonPlans_.add(builderForValue.build()); onChanged(); } else { actiunusedActionPlansonPlansBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder addActiunusedActionPlansonPlans( int index, org.sonarqube.ws.Issues.ActionPlan.Builder builderForValue) { if (actiunusedActionPlansonPlansBuilder_ == null) { ensureActiunusedActionPlansonPlansIsMutable(); actiunusedActionPlansonPlans_.add(index, builderForValue.build()); onChanged(); } else { actiunusedActionPlansonPlansBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder addAllActiunusedActionPlansonPlans( java.lang.Iterable values) { if (actiunusedActionPlansonPlansBuilder_ == null) { ensureActiunusedActionPlansonPlansIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, actiunusedActionPlansonPlans_); onChanged(); } else { actiunusedActionPlansonPlansBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder clearActiunusedActionPlansonPlans() { if (actiunusedActionPlansonPlansBuilder_ == null) { actiunusedActionPlansonPlans_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { actiunusedActionPlansonPlansBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder removeActiunusedActionPlansonPlans(int index) { if (actiunusedActionPlansonPlansBuilder_ == null) { ensureActiunusedActionPlansonPlansIsMutable(); actiunusedActionPlansonPlans_.remove(index); onChanged(); } else { actiunusedActionPlansonPlansBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public org.sonarqube.ws.Issues.ActionPlan.Builder getActiunusedActionPlansonPlansBuilder( int index) { return getActiunusedActionPlansonPlansFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public org.sonarqube.ws.Issues.ActionPlanOrBuilder getActiunusedActionPlansonPlansOrBuilder( int index) { if (actiunusedActionPlansonPlansBuilder_ == null) { return actiunusedActionPlansonPlans_.get(index); } else { return actiunusedActionPlansonPlansBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public java.util.List getActiunusedActionPlansonPlansOrBuilderList() { if (actiunusedActionPlansonPlansBuilder_ != null) { return actiunusedActionPlansonPlansBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(actiunusedActionPlansonPlans_); } } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public org.sonarqube.ws.Issues.ActionPlan.Builder addActiunusedActionPlansonPlansBuilder() { return getActiunusedActionPlansonPlansFieldBuilder().addBuilder( org.sonarqube.ws.Issues.ActionPlan.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public org.sonarqube.ws.Issues.ActionPlan.Builder addActiunusedActionPlansonPlansBuilder( int index) { return getActiunusedActionPlansonPlansFieldBuilder().addBuilder( index, org.sonarqube.ws.Issues.ActionPlan.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.ActionPlan actiunusedActionPlansonPlans = 5; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public java.util.List getActiunusedActionPlansonPlansBuilderList() { return getActiunusedActionPlansonPlansFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.ActionPlan, org.sonarqube.ws.Issues.ActionPlan.Builder, org.sonarqube.ws.Issues.ActionPlanOrBuilder> getActiunusedActionPlansonPlansFieldBuilder() { if (actiunusedActionPlansonPlansBuilder_ == null) { actiunusedActionPlansonPlansBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.ActionPlan, org.sonarqube.ws.Issues.ActionPlan.Builder, org.sonarqube.ws.Issues.ActionPlanOrBuilder>( actiunusedActionPlansonPlans_, ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); actiunusedActionPlansonPlans_ = null; } return actiunusedActionPlansonPlansBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.Operation) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Operation) private static final org.sonarqube.ws.Issues.Operation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.Operation(); } public static org.sonarqube.ws.Issues.Operation getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Operation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Operation(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.Operation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IssueOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.Issue) 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 rule = 2; */ boolean hasRule(); /** * optional string rule = 2; */ java.lang.String getRule(); /** * optional string rule = 2; */ com.google.protobuf.ByteString getRuleBytes(); /** * optional .sonarqube.ws.commons.Severity severity = 3; */ boolean hasSeverity(); /** * optional .sonarqube.ws.commons.Severity severity = 3; */ org.sonarqube.ws.Common.Severity getSeverity(); /** * optional string component = 4; */ boolean hasComponent(); /** * optional string component = 4; */ java.lang.String getComponent(); /** * optional string component = 4; */ com.google.protobuf.ByteString getComponentBytes(); /** * optional int64 componentId = 5; */ boolean hasComponentId(); /** * optional int64 componentId = 5; */ long getComponentId(); /** * optional string project = 6; */ boolean hasProject(); /** * optional string project = 6; */ java.lang.String getProject(); /** * optional string project = 6; */ com.google.protobuf.ByteString getProjectBytes(); /** * optional string subProject = 7; */ boolean hasSubProject(); /** * optional string subProject = 7; */ java.lang.String getSubProject(); /** * optional string subProject = 7; */ com.google.protobuf.ByteString getSubProjectBytes(); /** * optional int32 line = 8; */ boolean hasLine(); /** * optional int32 line = 8; */ int getLine(); /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ boolean hasTextRange(); /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ org.sonarqube.ws.Common.TextRange getTextRange(); /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ org.sonarqube.ws.Common.TextRangeOrBuilder getTextRangeOrBuilder(); /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ java.util.List getFlowsList(); /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ org.sonarqube.ws.Issues.Flow getFlows(int index); /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ int getFlowsCount(); /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ java.util.List getFlowsOrBuilderList(); /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ org.sonarqube.ws.Issues.FlowOrBuilder getFlowsOrBuilder( int index); /** * optional string resolution = 11; */ boolean hasResolution(); /** * optional string resolution = 11; */ java.lang.String getResolution(); /** * optional string resolution = 11; */ com.google.protobuf.ByteString getResolutionBytes(); /** * optional string status = 12; */ boolean hasStatus(); /** * optional string status = 12; */ java.lang.String getStatus(); /** * optional string status = 12; */ com.google.protobuf.ByteString getStatusBytes(); /** * optional string message = 13; */ boolean hasMessage(); /** * optional string message = 13; */ java.lang.String getMessage(); /** * optional string message = 13; */ com.google.protobuf.ByteString getMessageBytes(); /** * optional string effort = 28; */ boolean hasEffort(); /** * optional string effort = 28; */ java.lang.String getEffort(); /** * optional string effort = 28; */ com.google.protobuf.ByteString getEffortBytes(); /** * optional string debt = 14; * *
     * Deprecated since 5.5, replaced by effort
     * 
*/ boolean hasDebt(); /** * optional string debt = 14; * *
     * Deprecated since 5.5, replaced by effort
     * 
*/ java.lang.String getDebt(); /** * optional string debt = 14; * *
     * Deprecated since 5.5, replaced by effort
     * 
*/ com.google.protobuf.ByteString getDebtBytes(); /** * optional string assignee = 15; */ boolean hasAssignee(); /** * optional string assignee = 15; */ java.lang.String getAssignee(); /** * optional string assignee = 15; */ com.google.protobuf.ByteString getAssigneeBytes(); /** * optional string unusedReporter = 16; * *
     * Unused since 5.5, manual issues feature has been removed
     * 
*/ boolean hasUnusedReporter(); /** * optional string unusedReporter = 16; * *
     * Unused since 5.5, manual issues feature has been removed
     * 
*/ java.lang.String getUnusedReporter(); /** * optional string unusedReporter = 16; * *
     * Unused since 5.5, manual issues feature has been removed
     * 
*/ com.google.protobuf.ByteString getUnusedReporterBytes(); /** * optional string author = 17; * *
     * SCM login of the committer who introduced the issue
     * 
*/ boolean hasAuthor(); /** * optional string author = 17; * *
     * SCM login of the committer who introduced the issue
     * 
*/ java.lang.String getAuthor(); /** * optional string author = 17; * *
     * SCM login of the committer who introduced the issue
     * 
*/ com.google.protobuf.ByteString getAuthorBytes(); /** * optional string actionPlan = 18; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ boolean hasActionPlan(); /** * optional string actionPlan = 18; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ java.lang.String getActionPlan(); /** * optional string actionPlan = 18; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ com.google.protobuf.ByteString getActionPlanBytes(); /** * repeated string tags = 19; */ com.google.protobuf.ProtocolStringList getTagsList(); /** * repeated string tags = 19; */ int getTagsCount(); /** * repeated string tags = 19; */ java.lang.String getTags(int index); /** * repeated string tags = 19; */ com.google.protobuf.ByteString getTagsBytes(int index); /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
     * the transitions allowed for the requesting user.
     * 
*/ boolean hasTransitions(); /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
     * the transitions allowed for the requesting user.
     * 
*/ org.sonarqube.ws.Issues.Transitions getTransitions(); /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
     * the transitions allowed for the requesting user.
     * 
*/ org.sonarqube.ws.Issues.TransitionsOrBuilder getTransitionsOrBuilder(); /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
     * the actions allowed for the requesting user.
     * 
*/ boolean hasActions(); /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
     * the actions allowed for the requesting user.
     * 
*/ org.sonarqube.ws.Issues.Actions getActions(); /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
     * the actions allowed for the requesting user.
     * 
*/ org.sonarqube.ws.Issues.ActionsOrBuilder getActionsOrBuilder(); /** * optional .sonarqube.ws.issues.Comments comments = 22; */ boolean hasComments(); /** * optional .sonarqube.ws.issues.Comments comments = 22; */ org.sonarqube.ws.Issues.Comments getComments(); /** * optional .sonarqube.ws.issues.Comments comments = 22; */ org.sonarqube.ws.Issues.CommentsOrBuilder getCommentsOrBuilder(); /** * optional string creationDate = 23; */ boolean hasCreationDate(); /** * optional string creationDate = 23; */ java.lang.String getCreationDate(); /** * optional string creationDate = 23; */ com.google.protobuf.ByteString getCreationDateBytes(); /** * optional string updateDate = 24; */ boolean hasUpdateDate(); /** * optional string updateDate = 24; */ java.lang.String getUpdateDate(); /** * optional string updateDate = 24; */ com.google.protobuf.ByteString getUpdateDateBytes(); /** * optional string fUpdateAge = 25; */ boolean hasFUpdateAge(); /** * optional string fUpdateAge = 25; */ java.lang.String getFUpdateAge(); /** * optional string fUpdateAge = 25; */ com.google.protobuf.ByteString getFUpdateAgeBytes(); /** * optional string closeDate = 26; */ boolean hasCloseDate(); /** * optional string closeDate = 26; */ java.lang.String getCloseDate(); /** * optional string closeDate = 26; */ com.google.protobuf.ByteString getCloseDateBytes(); /** * optional .sonarqube.ws.commons.RuleType type = 27; */ boolean hasType(); /** * optional .sonarqube.ws.commons.RuleType type = 27; */ org.sonarqube.ws.Common.RuleType getType(); } /** * Protobuf type {@code sonarqube.ws.issues.Issue} */ public static final class Issue extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.Issue) IssueOrBuilder { // Use Issue.newBuilder() to construct. private Issue(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Issue() { key_ = ""; rule_ = ""; severity_ = 0; component_ = ""; componentId_ = 0L; project_ = ""; subProject_ = ""; line_ = 0; flows_ = java.util.Collections.emptyList(); resolution_ = ""; status_ = ""; message_ = ""; effort_ = ""; debt_ = ""; assignee_ = ""; unusedReporter_ = ""; author_ = ""; actionPlan_ = ""; tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; creationDate_ = ""; updateDate_ = ""; fUpdateAge_ = ""; closeDate_ = ""; type_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Issue( 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; rule_ = bs; break; } case 24: { int rawValue = input.readEnum(); org.sonarqube.ws.Common.Severity value = org.sonarqube.ws.Common.Severity.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(3, rawValue); } else { bitField0_ |= 0x00000004; severity_ = rawValue; } break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; component_ = bs; break; } case 40: { bitField0_ |= 0x00000010; componentId_ = input.readInt64(); break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; project_ = bs; break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000040; subProject_ = bs; break; } case 64: { bitField0_ |= 0x00000080; line_ = input.readInt32(); break; } case 74: { org.sonarqube.ws.Common.TextRange.Builder subBuilder = null; if (((bitField0_ & 0x00000100) == 0x00000100)) { subBuilder = textRange_.toBuilder(); } textRange_ = input.readMessage(org.sonarqube.ws.Common.TextRange.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(textRange_); textRange_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 82: { if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { flows_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } flows_.add(input.readMessage(org.sonarqube.ws.Issues.Flow.parser(), extensionRegistry)); break; } case 90: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000200; resolution_ = bs; break; } case 98: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000400; status_ = bs; break; } case 106: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000800; message_ = bs; break; } case 114: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00002000; debt_ = bs; break; } case 122: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00004000; assignee_ = bs; break; } case 130: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00008000; unusedReporter_ = bs; break; } case 138: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00010000; author_ = bs; break; } case 146: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00020000; actionPlan_ = bs; break; } case 154: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00080000) == 0x00080000)) { tags_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00080000; } tags_.add(bs); break; } case 162: { org.sonarqube.ws.Issues.Transitions.Builder subBuilder = null; if (((bitField0_ & 0x00040000) == 0x00040000)) { subBuilder = transitions_.toBuilder(); } transitions_ = input.readMessage(org.sonarqube.ws.Issues.Transitions.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(transitions_); transitions_ = subBuilder.buildPartial(); } bitField0_ |= 0x00040000; break; } case 170: { org.sonarqube.ws.Issues.Actions.Builder subBuilder = null; if (((bitField0_ & 0x00080000) == 0x00080000)) { subBuilder = actions_.toBuilder(); } actions_ = input.readMessage(org.sonarqube.ws.Issues.Actions.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(actions_); actions_ = subBuilder.buildPartial(); } bitField0_ |= 0x00080000; break; } case 178: { org.sonarqube.ws.Issues.Comments.Builder subBuilder = null; if (((bitField0_ & 0x00100000) == 0x00100000)) { subBuilder = comments_.toBuilder(); } comments_ = input.readMessage(org.sonarqube.ws.Issues.Comments.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(comments_); comments_ = subBuilder.buildPartial(); } bitField0_ |= 0x00100000; break; } case 186: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00200000; creationDate_ = bs; break; } case 194: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00400000; updateDate_ = bs; break; } case 202: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00800000; fUpdateAge_ = bs; break; } case 210: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x01000000; closeDate_ = bs; break; } case 216: { int rawValue = input.readEnum(); org.sonarqube.ws.Common.RuleType value = org.sonarqube.ws.Common.RuleType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(27, rawValue); } else { bitField0_ |= 0x02000000; type_ = rawValue; } break; } case 226: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00001000; effort_ = 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 { if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { flows_ = java.util.Collections.unmodifiableList(flows_); } if (((mutable_bitField0_ & 0x00080000) == 0x00080000)) { tags_ = tags_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Issue_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Issue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Issue.class, org.sonarqube.ws.Issues.Issue.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 RULE_FIELD_NUMBER = 2; private volatile java.lang.Object rule_; /** * optional string rule = 2; */ public boolean hasRule() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string rule = 2; */ public java.lang.String getRule() { java.lang.Object ref = rule_; 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()) { rule_ = s; } return s; } } /** * optional string rule = 2; */ public com.google.protobuf.ByteString getRuleBytes() { java.lang.Object ref = rule_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rule_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEVERITY_FIELD_NUMBER = 3; private int severity_; /** * optional .sonarqube.ws.commons.Severity severity = 3; */ public boolean hasSeverity() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .sonarqube.ws.commons.Severity severity = 3; */ public org.sonarqube.ws.Common.Severity getSeverity() { org.sonarqube.ws.Common.Severity result = org.sonarqube.ws.Common.Severity.valueOf(severity_); return result == null ? org.sonarqube.ws.Common.Severity.INFO : result; } public static final int COMPONENT_FIELD_NUMBER = 4; private volatile java.lang.Object component_; /** * optional string component = 4; */ public boolean hasComponent() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string component = 4; */ public java.lang.String getComponent() { java.lang.Object ref = component_; 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()) { component_ = s; } return s; } } /** * optional string component = 4; */ public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); component_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COMPONENTID_FIELD_NUMBER = 5; private long componentId_; /** * optional int64 componentId = 5; */ public boolean hasComponentId() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int64 componentId = 5; */ public long getComponentId() { return componentId_; } public static final int PROJECT_FIELD_NUMBER = 6; private volatile java.lang.Object project_; /** * optional string project = 6; */ public boolean hasProject() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string project = 6; */ public java.lang.String getProject() { java.lang.Object ref = project_; 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()) { project_ = s; } return s; } } /** * optional string project = 6; */ public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); project_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SUBPROJECT_FIELD_NUMBER = 7; private volatile java.lang.Object subProject_; /** * optional string subProject = 7; */ public boolean hasSubProject() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string subProject = 7; */ public java.lang.String getSubProject() { java.lang.Object ref = subProject_; 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()) { subProject_ = s; } return s; } } /** * optional string subProject = 7; */ public com.google.protobuf.ByteString getSubProjectBytes() { java.lang.Object ref = subProject_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); subProject_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LINE_FIELD_NUMBER = 8; private int line_; /** * optional int32 line = 8; */ public boolean hasLine() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional int32 line = 8; */ public int getLine() { return line_; } public static final int TEXTRANGE_FIELD_NUMBER = 9; private org.sonarqube.ws.Common.TextRange textRange_; /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ public boolean hasTextRange() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ public org.sonarqube.ws.Common.TextRange getTextRange() { return textRange_ == null ? org.sonarqube.ws.Common.TextRange.getDefaultInstance() : textRange_; } /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ public org.sonarqube.ws.Common.TextRangeOrBuilder getTextRangeOrBuilder() { return textRange_ == null ? org.sonarqube.ws.Common.TextRange.getDefaultInstance() : textRange_; } public static final int FLOWS_FIELD_NUMBER = 10; private java.util.List flows_; /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public java.util.List getFlowsList() { return flows_; } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public java.util.List getFlowsOrBuilderList() { return flows_; } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public int getFlowsCount() { return flows_.size(); } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public org.sonarqube.ws.Issues.Flow getFlows(int index) { return flows_.get(index); } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public org.sonarqube.ws.Issues.FlowOrBuilder getFlowsOrBuilder( int index) { return flows_.get(index); } public static final int RESOLUTION_FIELD_NUMBER = 11; private volatile java.lang.Object resolution_; /** * optional string resolution = 11; */ public boolean hasResolution() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional string resolution = 11; */ 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 = 11; */ 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 = 12; private volatile java.lang.Object status_; /** * optional string status = 12; */ public boolean hasStatus() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional string status = 12; */ 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 = 12; */ 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 MESSAGE_FIELD_NUMBER = 13; private volatile java.lang.Object message_; /** * optional string message = 13; */ public boolean hasMessage() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional string message = 13; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } } /** * optional string message = 13; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EFFORT_FIELD_NUMBER = 28; private volatile java.lang.Object effort_; /** * optional string effort = 28; */ public boolean hasEffort() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional string effort = 28; */ public java.lang.String getEffort() { java.lang.Object ref = effort_; 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()) { effort_ = s; } return s; } } /** * optional string effort = 28; */ public com.google.protobuf.ByteString getEffortBytes() { java.lang.Object ref = effort_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); effort_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEBT_FIELD_NUMBER = 14; private volatile java.lang.Object debt_; /** * optional string debt = 14; * *
     * Deprecated since 5.5, replaced by effort
     * 
*/ public boolean hasDebt() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional string debt = 14; * *
     * Deprecated since 5.5, replaced by effort
     * 
*/ public java.lang.String getDebt() { java.lang.Object ref = debt_; 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()) { debt_ = s; } return s; } } /** * optional string debt = 14; * *
     * Deprecated since 5.5, replaced by effort
     * 
*/ public com.google.protobuf.ByteString getDebtBytes() { java.lang.Object ref = debt_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); debt_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ASSIGNEE_FIELD_NUMBER = 15; private volatile java.lang.Object assignee_; /** * optional string assignee = 15; */ public boolean hasAssignee() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional string assignee = 15; */ public java.lang.String getAssignee() { java.lang.Object ref = assignee_; 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()) { assignee_ = s; } return s; } } /** * optional string assignee = 15; */ public com.google.protobuf.ByteString getAssigneeBytes() { java.lang.Object ref = assignee_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); assignee_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNUSEDREPORTER_FIELD_NUMBER = 16; private volatile java.lang.Object unusedReporter_; /** * optional string unusedReporter = 16; * *
     * Unused since 5.5, manual issues feature has been removed
     * 
*/ public boolean hasUnusedReporter() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional string unusedReporter = 16; * *
     * Unused since 5.5, manual issues feature has been removed
     * 
*/ public java.lang.String getUnusedReporter() { java.lang.Object ref = unusedReporter_; 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()) { unusedReporter_ = s; } return s; } } /** * optional string unusedReporter = 16; * *
     * Unused since 5.5, manual issues feature has been removed
     * 
*/ public com.google.protobuf.ByteString getUnusedReporterBytes() { java.lang.Object ref = unusedReporter_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedReporter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int AUTHOR_FIELD_NUMBER = 17; private volatile java.lang.Object author_; /** * optional string author = 17; * *
     * SCM login of the committer who introduced the issue
     * 
*/ public boolean hasAuthor() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional string author = 17; * *
     * SCM login of the committer who introduced the issue
     * 
*/ public java.lang.String getAuthor() { java.lang.Object ref = author_; 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()) { author_ = s; } return s; } } /** * optional string author = 17; * *
     * SCM login of the committer who introduced the issue
     * 
*/ public com.google.protobuf.ByteString getAuthorBytes() { java.lang.Object ref = author_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); author_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACTIONPLAN_FIELD_NUMBER = 18; private volatile java.lang.Object actionPlan_; /** * optional string actionPlan = 18; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ public boolean hasActionPlan() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional string actionPlan = 18; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ public java.lang.String getActionPlan() { java.lang.Object ref = actionPlan_; 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()) { actionPlan_ = s; } return s; } } /** * optional string actionPlan = 18; * *
     * Deprecated since 5.5, action plan has been removed
     * 
*/ public com.google.protobuf.ByteString getActionPlanBytes() { java.lang.Object ref = actionPlan_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actionPlan_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TAGS_FIELD_NUMBER = 19; private com.google.protobuf.LazyStringList tags_; /** * repeated string tags = 19; */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** * repeated string tags = 19; */ public int getTagsCount() { return tags_.size(); } /** * repeated string tags = 19; */ public java.lang.String getTags(int index) { return tags_.get(index); } /** * repeated string tags = 19; */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int TRANSITIONS_FIELD_NUMBER = 20; private org.sonarqube.ws.Issues.Transitions transitions_; /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
     * the transitions allowed for the requesting user.
     * 
*/ public boolean hasTransitions() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
     * the transitions allowed for the requesting user.
     * 
*/ public org.sonarqube.ws.Issues.Transitions getTransitions() { return transitions_ == null ? org.sonarqube.ws.Issues.Transitions.getDefaultInstance() : transitions_; } /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
     * the transitions allowed for the requesting user.
     * 
*/ public org.sonarqube.ws.Issues.TransitionsOrBuilder getTransitionsOrBuilder() { return transitions_ == null ? org.sonarqube.ws.Issues.Transitions.getDefaultInstance() : transitions_; } public static final int ACTIONS_FIELD_NUMBER = 21; private org.sonarqube.ws.Issues.Actions actions_; /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
     * the actions allowed for the requesting user.
     * 
*/ public boolean hasActions() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
     * the actions allowed for the requesting user.
     * 
*/ public org.sonarqube.ws.Issues.Actions getActions() { return actions_ == null ? org.sonarqube.ws.Issues.Actions.getDefaultInstance() : actions_; } /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
     * the actions allowed for the requesting user.
     * 
*/ public org.sonarqube.ws.Issues.ActionsOrBuilder getActionsOrBuilder() { return actions_ == null ? org.sonarqube.ws.Issues.Actions.getDefaultInstance() : actions_; } public static final int COMMENTS_FIELD_NUMBER = 22; private org.sonarqube.ws.Issues.Comments comments_; /** * optional .sonarqube.ws.issues.Comments comments = 22; */ public boolean hasComments() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** * optional .sonarqube.ws.issues.Comments comments = 22; */ public org.sonarqube.ws.Issues.Comments getComments() { return comments_ == null ? org.sonarqube.ws.Issues.Comments.getDefaultInstance() : comments_; } /** * optional .sonarqube.ws.issues.Comments comments = 22; */ public org.sonarqube.ws.Issues.CommentsOrBuilder getCommentsOrBuilder() { return comments_ == null ? org.sonarqube.ws.Issues.Comments.getDefaultInstance() : comments_; } public static final int CREATIONDATE_FIELD_NUMBER = 23; private volatile java.lang.Object creationDate_; /** * optional string creationDate = 23; */ public boolean hasCreationDate() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** * optional string creationDate = 23; */ public java.lang.String getCreationDate() { java.lang.Object ref = creationDate_; 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()) { creationDate_ = s; } return s; } } /** * optional string creationDate = 23; */ public com.google.protobuf.ByteString getCreationDateBytes() { java.lang.Object ref = creationDate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); creationDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UPDATEDATE_FIELD_NUMBER = 24; private volatile java.lang.Object updateDate_; /** * optional string updateDate = 24; */ public boolean hasUpdateDate() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** * optional string updateDate = 24; */ public java.lang.String getUpdateDate() { java.lang.Object ref = updateDate_; 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()) { updateDate_ = s; } return s; } } /** * optional string updateDate = 24; */ public com.google.protobuf.ByteString getUpdateDateBytes() { java.lang.Object ref = updateDate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); updateDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FUPDATEAGE_FIELD_NUMBER = 25; private volatile java.lang.Object fUpdateAge_; /** * optional string fUpdateAge = 25; */ public boolean hasFUpdateAge() { return ((bitField0_ & 0x00800000) == 0x00800000); } /** * optional string fUpdateAge = 25; */ public java.lang.String getFUpdateAge() { java.lang.Object ref = fUpdateAge_; 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()) { fUpdateAge_ = s; } return s; } } /** * optional string fUpdateAge = 25; */ public com.google.protobuf.ByteString getFUpdateAgeBytes() { java.lang.Object ref = fUpdateAge_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fUpdateAge_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLOSEDATE_FIELD_NUMBER = 26; private volatile java.lang.Object closeDate_; /** * optional string closeDate = 26; */ public boolean hasCloseDate() { return ((bitField0_ & 0x01000000) == 0x01000000); } /** * optional string closeDate = 26; */ public java.lang.String getCloseDate() { java.lang.Object ref = closeDate_; 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()) { closeDate_ = s; } return s; } } /** * optional string closeDate = 26; */ public com.google.protobuf.ByteString getCloseDateBytes() { java.lang.Object ref = closeDate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); closeDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 27; private int type_; /** * optional .sonarqube.ws.commons.RuleType type = 27; */ public boolean hasType() { return ((bitField0_ & 0x02000000) == 0x02000000); } /** * optional .sonarqube.ws.commons.RuleType type = 27; */ public org.sonarqube.ws.Common.RuleType getType() { org.sonarqube.ws.Common.RuleType result = org.sonarqube.ws.Common.RuleType.valueOf(type_); return result == null ? org.sonarqube.ws.Common.RuleType.UNKNOWN : result; } 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, rule_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, severity_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessage.writeString(output, 4, component_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt64(5, componentId_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessage.writeString(output, 6, project_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { com.google.protobuf.GeneratedMessage.writeString(output, 7, subProject_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt32(8, line_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeMessage(9, getTextRange()); } for (int i = 0; i < flows_.size(); i++) { output.writeMessage(10, flows_.get(i)); } if (((bitField0_ & 0x00000200) == 0x00000200)) { com.google.protobuf.GeneratedMessage.writeString(output, 11, resolution_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { com.google.protobuf.GeneratedMessage.writeString(output, 12, status_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { com.google.protobuf.GeneratedMessage.writeString(output, 13, message_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { com.google.protobuf.GeneratedMessage.writeString(output, 14, debt_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { com.google.protobuf.GeneratedMessage.writeString(output, 15, assignee_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { com.google.protobuf.GeneratedMessage.writeString(output, 16, unusedReporter_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { com.google.protobuf.GeneratedMessage.writeString(output, 17, author_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { com.google.protobuf.GeneratedMessage.writeString(output, 18, actionPlan_); } for (int i = 0; i < tags_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 19, tags_.getRaw(i)); } if (((bitField0_ & 0x00040000) == 0x00040000)) { output.writeMessage(20, getTransitions()); } if (((bitField0_ & 0x00080000) == 0x00080000)) { output.writeMessage(21, getActions()); } if (((bitField0_ & 0x00100000) == 0x00100000)) { output.writeMessage(22, getComments()); } if (((bitField0_ & 0x00200000) == 0x00200000)) { com.google.protobuf.GeneratedMessage.writeString(output, 23, creationDate_); } if (((bitField0_ & 0x00400000) == 0x00400000)) { com.google.protobuf.GeneratedMessage.writeString(output, 24, updateDate_); } if (((bitField0_ & 0x00800000) == 0x00800000)) { com.google.protobuf.GeneratedMessage.writeString(output, 25, fUpdateAge_); } if (((bitField0_ & 0x01000000) == 0x01000000)) { com.google.protobuf.GeneratedMessage.writeString(output, 26, closeDate_); } if (((bitField0_ & 0x02000000) == 0x02000000)) { output.writeEnum(27, type_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { com.google.protobuf.GeneratedMessage.writeString(output, 28, effort_); } 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, rule_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, severity_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(4, component_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, componentId_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(6, project_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(7, subProject_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, line_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getTextRange()); } for (int i = 0; i < flows_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, flows_.get(i)); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(11, resolution_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(12, status_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(13, message_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(14, debt_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(15, assignee_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(16, unusedReporter_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(17, author_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(18, actionPlan_); } { int dataSize = 0; for (int i = 0; i < tags_.size(); i++) { dataSize += computeStringSizeNoTag(tags_.getRaw(i)); } size += dataSize; size += 2 * getTagsList().size(); } if (((bitField0_ & 0x00040000) == 0x00040000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getTransitions()); } if (((bitField0_ & 0x00080000) == 0x00080000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, getActions()); } if (((bitField0_ & 0x00100000) == 0x00100000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, getComments()); } if (((bitField0_ & 0x00200000) == 0x00200000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(23, creationDate_); } if (((bitField0_ & 0x00400000) == 0x00400000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(24, updateDate_); } if (((bitField0_ & 0x00800000) == 0x00800000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(25, fUpdateAge_); } if (((bitField0_ & 0x01000000) == 0x01000000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(26, closeDate_); } if (((bitField0_ & 0x02000000) == 0x02000000)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(27, type_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(28, effort_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Issues.Issue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Issue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Issue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Issue parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Issue parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Issue parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Issue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.Issue parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Issue parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Issue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.Issue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.Issue} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.Issue) org.sonarqube.ws.Issues.IssueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Issue_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Issue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Issue.class, org.sonarqube.ws.Issues.Issue.Builder.class); } // Construct using org.sonarqube.ws.Issues.Issue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getTextRangeFieldBuilder(); getFlowsFieldBuilder(); getTransitionsFieldBuilder(); getActionsFieldBuilder(); getCommentsFieldBuilder(); } } public Builder clear() { super.clear(); key_ = ""; bitField0_ = (bitField0_ & ~0x00000001); rule_ = ""; bitField0_ = (bitField0_ & ~0x00000002); severity_ = 0; bitField0_ = (bitField0_ & ~0x00000004); component_ = ""; bitField0_ = (bitField0_ & ~0x00000008); componentId_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); project_ = ""; bitField0_ = (bitField0_ & ~0x00000020); subProject_ = ""; bitField0_ = (bitField0_ & ~0x00000040); line_ = 0; bitField0_ = (bitField0_ & ~0x00000080); if (textRangeBuilder_ == null) { textRange_ = null; } else { textRangeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); if (flowsBuilder_ == null) { flows_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); } else { flowsBuilder_.clear(); } resolution_ = ""; bitField0_ = (bitField0_ & ~0x00000400); status_ = ""; bitField0_ = (bitField0_ & ~0x00000800); message_ = ""; bitField0_ = (bitField0_ & ~0x00001000); effort_ = ""; bitField0_ = (bitField0_ & ~0x00002000); debt_ = ""; bitField0_ = (bitField0_ & ~0x00004000); assignee_ = ""; bitField0_ = (bitField0_ & ~0x00008000); unusedReporter_ = ""; bitField0_ = (bitField0_ & ~0x00010000); author_ = ""; bitField0_ = (bitField0_ & ~0x00020000); actionPlan_ = ""; bitField0_ = (bitField0_ & ~0x00040000); tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00080000); if (transitionsBuilder_ == null) { transitions_ = null; } else { transitionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00100000); if (actionsBuilder_ == null) { actions_ = null; } else { actionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00200000); if (commentsBuilder_ == null) { comments_ = null; } else { commentsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); creationDate_ = ""; bitField0_ = (bitField0_ & ~0x00800000); updateDate_ = ""; bitField0_ = (bitField0_ & ~0x01000000); fUpdateAge_ = ""; bitField0_ = (bitField0_ & ~0x02000000); closeDate_ = ""; bitField0_ = (bitField0_ & ~0x04000000); type_ = 0; bitField0_ = (bitField0_ & ~0x08000000); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Issue_descriptor; } public org.sonarqube.ws.Issues.Issue getDefaultInstanceForType() { return org.sonarqube.ws.Issues.Issue.getDefaultInstance(); } public org.sonarqube.ws.Issues.Issue build() { org.sonarqube.ws.Issues.Issue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.Issue buildPartial() { org.sonarqube.ws.Issues.Issue result = new org.sonarqube.ws.Issues.Issue(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.rule_ = rule_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.severity_ = severity_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.component_ = component_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.componentId_ = componentId_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.project_ = project_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.subProject_ = subProject_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.line_ = line_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } if (textRangeBuilder_ == null) { result.textRange_ = textRange_; } else { result.textRange_ = textRangeBuilder_.build(); } if (flowsBuilder_ == null) { if (((bitField0_ & 0x00000200) == 0x00000200)) { flows_ = java.util.Collections.unmodifiableList(flows_); bitField0_ = (bitField0_ & ~0x00000200); } result.flows_ = flows_; } else { result.flows_ = flowsBuilder_.build(); } if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000200; } result.resolution_ = resolution_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000400; } result.status_ = status_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00000800; } result.message_ = message_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00001000; } result.effort_ = effort_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00002000; } result.debt_ = debt_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00004000; } result.assignee_ = assignee_; if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00008000; } result.unusedReporter_ = unusedReporter_; if (((from_bitField0_ & 0x00020000) == 0x00020000)) { to_bitField0_ |= 0x00010000; } result.author_ = author_; if (((from_bitField0_ & 0x00040000) == 0x00040000)) { to_bitField0_ |= 0x00020000; } result.actionPlan_ = actionPlan_; if (((bitField0_ & 0x00080000) == 0x00080000)) { tags_ = tags_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00080000); } result.tags_ = tags_; if (((from_bitField0_ & 0x00100000) == 0x00100000)) { to_bitField0_ |= 0x00040000; } if (transitionsBuilder_ == null) { result.transitions_ = transitions_; } else { result.transitions_ = transitionsBuilder_.build(); } if (((from_bitField0_ & 0x00200000) == 0x00200000)) { to_bitField0_ |= 0x00080000; } if (actionsBuilder_ == null) { result.actions_ = actions_; } else { result.actions_ = actionsBuilder_.build(); } if (((from_bitField0_ & 0x00400000) == 0x00400000)) { to_bitField0_ |= 0x00100000; } if (commentsBuilder_ == null) { result.comments_ = comments_; } else { result.comments_ = commentsBuilder_.build(); } if (((from_bitField0_ & 0x00800000) == 0x00800000)) { to_bitField0_ |= 0x00200000; } result.creationDate_ = creationDate_; if (((from_bitField0_ & 0x01000000) == 0x01000000)) { to_bitField0_ |= 0x00400000; } result.updateDate_ = updateDate_; if (((from_bitField0_ & 0x02000000) == 0x02000000)) { to_bitField0_ |= 0x00800000; } result.fUpdateAge_ = fUpdateAge_; if (((from_bitField0_ & 0x04000000) == 0x04000000)) { to_bitField0_ |= 0x01000000; } result.closeDate_ = closeDate_; if (((from_bitField0_ & 0x08000000) == 0x08000000)) { to_bitField0_ |= 0x02000000; } result.type_ = type_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.Issue) { return mergeFrom((org.sonarqube.ws.Issues.Issue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.Issue other) { if (other == org.sonarqube.ws.Issues.Issue.getDefaultInstance()) return this; if (other.hasKey()) { bitField0_ |= 0x00000001; key_ = other.key_; onChanged(); } if (other.hasRule()) { bitField0_ |= 0x00000002; rule_ = other.rule_; onChanged(); } if (other.hasSeverity()) { setSeverity(other.getSeverity()); } if (other.hasComponent()) { bitField0_ |= 0x00000008; component_ = other.component_; onChanged(); } if (other.hasComponentId()) { setComponentId(other.getComponentId()); } if (other.hasProject()) { bitField0_ |= 0x00000020; project_ = other.project_; onChanged(); } if (other.hasSubProject()) { bitField0_ |= 0x00000040; subProject_ = other.subProject_; onChanged(); } if (other.hasLine()) { setLine(other.getLine()); } if (other.hasTextRange()) { mergeTextRange(other.getTextRange()); } if (flowsBuilder_ == null) { if (!other.flows_.isEmpty()) { if (flows_.isEmpty()) { flows_ = other.flows_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureFlowsIsMutable(); flows_.addAll(other.flows_); } onChanged(); } } else { if (!other.flows_.isEmpty()) { if (flowsBuilder_.isEmpty()) { flowsBuilder_.dispose(); flowsBuilder_ = null; flows_ = other.flows_; bitField0_ = (bitField0_ & ~0x00000200); flowsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getFlowsFieldBuilder() : null; } else { flowsBuilder_.addAllMessages(other.flows_); } } } if (other.hasResolution()) { bitField0_ |= 0x00000400; resolution_ = other.resolution_; onChanged(); } if (other.hasStatus()) { bitField0_ |= 0x00000800; status_ = other.status_; onChanged(); } if (other.hasMessage()) { bitField0_ |= 0x00001000; message_ = other.message_; onChanged(); } if (other.hasEffort()) { bitField0_ |= 0x00002000; effort_ = other.effort_; onChanged(); } if (other.hasDebt()) { bitField0_ |= 0x00004000; debt_ = other.debt_; onChanged(); } if (other.hasAssignee()) { bitField0_ |= 0x00008000; assignee_ = other.assignee_; onChanged(); } if (other.hasUnusedReporter()) { bitField0_ |= 0x00010000; unusedReporter_ = other.unusedReporter_; onChanged(); } if (other.hasAuthor()) { bitField0_ |= 0x00020000; author_ = other.author_; onChanged(); } if (other.hasActionPlan()) { bitField0_ |= 0x00040000; actionPlan_ = other.actionPlan_; onChanged(); } if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00080000); } else { ensureTagsIsMutable(); tags_.addAll(other.tags_); } onChanged(); } if (other.hasTransitions()) { mergeTransitions(other.getTransitions()); } if (other.hasActions()) { mergeActions(other.getActions()); } if (other.hasComments()) { mergeComments(other.getComments()); } if (other.hasCreationDate()) { bitField0_ |= 0x00800000; creationDate_ = other.creationDate_; onChanged(); } if (other.hasUpdateDate()) { bitField0_ |= 0x01000000; updateDate_ = other.updateDate_; onChanged(); } if (other.hasFUpdateAge()) { bitField0_ |= 0x02000000; fUpdateAge_ = other.fUpdateAge_; onChanged(); } if (other.hasCloseDate()) { bitField0_ |= 0x04000000; closeDate_ = other.closeDate_; onChanged(); } if (other.hasType()) { setType(other.getType()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.sonarqube.ws.Issues.Issue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.Issue) 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 rule_ = ""; /** * optional string rule = 2; */ public boolean hasRule() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string rule = 2; */ public java.lang.String getRule() { java.lang.Object ref = rule_; 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()) { rule_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string rule = 2; */ public com.google.protobuf.ByteString getRuleBytes() { java.lang.Object ref = rule_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rule_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string rule = 2; */ public Builder setRule( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; rule_ = value; onChanged(); return this; } /** * optional string rule = 2; */ public Builder clearRule() { bitField0_ = (bitField0_ & ~0x00000002); rule_ = getDefaultInstance().getRule(); onChanged(); return this; } /** * optional string rule = 2; */ public Builder setRuleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; rule_ = value; onChanged(); return this; } private int severity_ = 0; /** * optional .sonarqube.ws.commons.Severity severity = 3; */ public boolean hasSeverity() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .sonarqube.ws.commons.Severity severity = 3; */ public org.sonarqube.ws.Common.Severity getSeverity() { org.sonarqube.ws.Common.Severity result = org.sonarqube.ws.Common.Severity.valueOf(severity_); return result == null ? org.sonarqube.ws.Common.Severity.INFO : result; } /** * optional .sonarqube.ws.commons.Severity severity = 3; */ public Builder setSeverity(org.sonarqube.ws.Common.Severity value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; severity_ = value.getNumber(); onChanged(); return this; } /** * optional .sonarqube.ws.commons.Severity severity = 3; */ public Builder clearSeverity() { bitField0_ = (bitField0_ & ~0x00000004); severity_ = 0; onChanged(); return this; } private java.lang.Object component_ = ""; /** * optional string component = 4; */ public boolean hasComponent() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string component = 4; */ public java.lang.String getComponent() { java.lang.Object ref = component_; 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()) { component_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string component = 4; */ public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); component_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string component = 4; */ public Builder setComponent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; component_ = value; onChanged(); return this; } /** * optional string component = 4; */ public Builder clearComponent() { bitField0_ = (bitField0_ & ~0x00000008); component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** * optional string component = 4; */ public Builder setComponentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; component_ = value; onChanged(); return this; } private long componentId_ ; /** * optional int64 componentId = 5; */ public boolean hasComponentId() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int64 componentId = 5; */ public long getComponentId() { return componentId_; } /** * optional int64 componentId = 5; */ public Builder setComponentId(long value) { bitField0_ |= 0x00000010; componentId_ = value; onChanged(); return this; } /** * optional int64 componentId = 5; */ public Builder clearComponentId() { bitField0_ = (bitField0_ & ~0x00000010); componentId_ = 0L; onChanged(); return this; } private java.lang.Object project_ = ""; /** * optional string project = 6; */ public boolean hasProject() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string project = 6; */ public java.lang.String getProject() { java.lang.Object ref = project_; 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()) { project_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string project = 6; */ public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); project_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string project = 6; */ public Builder setProject( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; project_ = value; onChanged(); return this; } /** * optional string project = 6; */ public Builder clearProject() { bitField0_ = (bitField0_ & ~0x00000020); project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** * optional string project = 6; */ public Builder setProjectBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; project_ = value; onChanged(); return this; } private java.lang.Object subProject_ = ""; /** * optional string subProject = 7; */ public boolean hasSubProject() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string subProject = 7; */ public java.lang.String getSubProject() { java.lang.Object ref = subProject_; 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()) { subProject_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string subProject = 7; */ public com.google.protobuf.ByteString getSubProjectBytes() { java.lang.Object ref = subProject_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); subProject_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string subProject = 7; */ public Builder setSubProject( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; subProject_ = value; onChanged(); return this; } /** * optional string subProject = 7; */ public Builder clearSubProject() { bitField0_ = (bitField0_ & ~0x00000040); subProject_ = getDefaultInstance().getSubProject(); onChanged(); return this; } /** * optional string subProject = 7; */ public Builder setSubProjectBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; subProject_ = value; onChanged(); return this; } private int line_ ; /** * optional int32 line = 8; */ public boolean hasLine() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional int32 line = 8; */ public int getLine() { return line_; } /** * optional int32 line = 8; */ public Builder setLine(int value) { bitField0_ |= 0x00000080; line_ = value; onChanged(); return this; } /** * optional int32 line = 8; */ public Builder clearLine() { bitField0_ = (bitField0_ & ~0x00000080); line_ = 0; onChanged(); return this; } private org.sonarqube.ws.Common.TextRange textRange_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.TextRange, org.sonarqube.ws.Common.TextRange.Builder, org.sonarqube.ws.Common.TextRangeOrBuilder> textRangeBuilder_; /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ public boolean hasTextRange() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ public org.sonarqube.ws.Common.TextRange getTextRange() { if (textRangeBuilder_ == null) { return textRange_ == null ? org.sonarqube.ws.Common.TextRange.getDefaultInstance() : textRange_; } else { return textRangeBuilder_.getMessage(); } } /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ public Builder setTextRange(org.sonarqube.ws.Common.TextRange value) { if (textRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } textRange_ = value; onChanged(); } else { textRangeBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ public Builder setTextRange( org.sonarqube.ws.Common.TextRange.Builder builderForValue) { if (textRangeBuilder_ == null) { textRange_ = builderForValue.build(); onChanged(); } else { textRangeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ public Builder mergeTextRange(org.sonarqube.ws.Common.TextRange value) { if (textRangeBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100) && textRange_ != null && textRange_ != org.sonarqube.ws.Common.TextRange.getDefaultInstance()) { textRange_ = org.sonarqube.ws.Common.TextRange.newBuilder(textRange_).mergeFrom(value).buildPartial(); } else { textRange_ = value; } onChanged(); } else { textRangeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ public Builder clearTextRange() { if (textRangeBuilder_ == null) { textRange_ = null; onChanged(); } else { textRangeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ public org.sonarqube.ws.Common.TextRange.Builder getTextRangeBuilder() { bitField0_ |= 0x00000100; onChanged(); return getTextRangeFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ public org.sonarqube.ws.Common.TextRangeOrBuilder getTextRangeOrBuilder() { if (textRangeBuilder_ != null) { return textRangeBuilder_.getMessageOrBuilder(); } else { return textRange_ == null ? org.sonarqube.ws.Common.TextRange.getDefaultInstance() : textRange_; } } /** * optional .sonarqube.ws.commons.TextRange textRange = 9; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.TextRange, org.sonarqube.ws.Common.TextRange.Builder, org.sonarqube.ws.Common.TextRangeOrBuilder> getTextRangeFieldBuilder() { if (textRangeBuilder_ == null) { textRangeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.TextRange, org.sonarqube.ws.Common.TextRange.Builder, org.sonarqube.ws.Common.TextRangeOrBuilder>( getTextRange(), getParentForChildren(), isClean()); textRange_ = null; } return textRangeBuilder_; } private java.util.List flows_ = java.util.Collections.emptyList(); private void ensureFlowsIsMutable() { if (!((bitField0_ & 0x00000200) == 0x00000200)) { flows_ = new java.util.ArrayList(flows_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Flow, org.sonarqube.ws.Issues.Flow.Builder, org.sonarqube.ws.Issues.FlowOrBuilder> flowsBuilder_; /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public java.util.List getFlowsList() { if (flowsBuilder_ == null) { return java.util.Collections.unmodifiableList(flows_); } else { return flowsBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public int getFlowsCount() { if (flowsBuilder_ == null) { return flows_.size(); } else { return flowsBuilder_.getCount(); } } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public org.sonarqube.ws.Issues.Flow getFlows(int index) { if (flowsBuilder_ == null) { return flows_.get(index); } else { return flowsBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public Builder setFlows( int index, org.sonarqube.ws.Issues.Flow value) { if (flowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFlowsIsMutable(); flows_.set(index, value); onChanged(); } else { flowsBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public Builder setFlows( int index, org.sonarqube.ws.Issues.Flow.Builder builderForValue) { if (flowsBuilder_ == null) { ensureFlowsIsMutable(); flows_.set(index, builderForValue.build()); onChanged(); } else { flowsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public Builder addFlows(org.sonarqube.ws.Issues.Flow value) { if (flowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFlowsIsMutable(); flows_.add(value); onChanged(); } else { flowsBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public Builder addFlows( int index, org.sonarqube.ws.Issues.Flow value) { if (flowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFlowsIsMutable(); flows_.add(index, value); onChanged(); } else { flowsBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public Builder addFlows( org.sonarqube.ws.Issues.Flow.Builder builderForValue) { if (flowsBuilder_ == null) { ensureFlowsIsMutable(); flows_.add(builderForValue.build()); onChanged(); } else { flowsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public Builder addFlows( int index, org.sonarqube.ws.Issues.Flow.Builder builderForValue) { if (flowsBuilder_ == null) { ensureFlowsIsMutable(); flows_.add(index, builderForValue.build()); onChanged(); } else { flowsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public Builder addAllFlows( java.lang.Iterable values) { if (flowsBuilder_ == null) { ensureFlowsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, flows_); onChanged(); } else { flowsBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public Builder clearFlows() { if (flowsBuilder_ == null) { flows_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { flowsBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public Builder removeFlows(int index) { if (flowsBuilder_ == null) { ensureFlowsIsMutable(); flows_.remove(index); onChanged(); } else { flowsBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public org.sonarqube.ws.Issues.Flow.Builder getFlowsBuilder( int index) { return getFlowsFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public org.sonarqube.ws.Issues.FlowOrBuilder getFlowsOrBuilder( int index) { if (flowsBuilder_ == null) { return flows_.get(index); } else { return flowsBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public java.util.List getFlowsOrBuilderList() { if (flowsBuilder_ != null) { return flowsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(flows_); } } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public org.sonarqube.ws.Issues.Flow.Builder addFlowsBuilder() { return getFlowsFieldBuilder().addBuilder( org.sonarqube.ws.Issues.Flow.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public org.sonarqube.ws.Issues.Flow.Builder addFlowsBuilder( int index) { return getFlowsFieldBuilder().addBuilder( index, org.sonarqube.ws.Issues.Flow.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Flow flows = 10; */ public java.util.List getFlowsBuilderList() { return getFlowsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Flow, org.sonarqube.ws.Issues.Flow.Builder, org.sonarqube.ws.Issues.FlowOrBuilder> getFlowsFieldBuilder() { if (flowsBuilder_ == null) { flowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Flow, org.sonarqube.ws.Issues.Flow.Builder, org.sonarqube.ws.Issues.FlowOrBuilder>( flows_, ((bitField0_ & 0x00000200) == 0x00000200), getParentForChildren(), isClean()); flows_ = null; } return flowsBuilder_; } private java.lang.Object resolution_ = ""; /** * optional string resolution = 11; */ public boolean hasResolution() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional string resolution = 11; */ 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 = 11; */ 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 = 11; */ public Builder setResolution( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; resolution_ = value; onChanged(); return this; } /** * optional string resolution = 11; */ public Builder clearResolution() { bitField0_ = (bitField0_ & ~0x00000400); resolution_ = getDefaultInstance().getResolution(); onChanged(); return this; } /** * optional string resolution = 11; */ public Builder setResolutionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; resolution_ = value; onChanged(); return this; } private java.lang.Object status_ = ""; /** * optional string status = 12; */ public boolean hasStatus() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional string status = 12; */ 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 = 12; */ 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 = 12; */ public Builder setStatus( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; status_ = value; onChanged(); return this; } /** * optional string status = 12; */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000800); status_ = getDefaultInstance().getStatus(); onChanged(); return this; } /** * optional string status = 12; */ public Builder setStatusBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; status_ = value; onChanged(); return this; } private java.lang.Object message_ = ""; /** * optional string message = 13; */ public boolean hasMessage() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional string message = 13; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string message = 13; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string message = 13; */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; message_ = value; onChanged(); return this; } /** * optional string message = 13; */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00001000); message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * optional string message = 13; */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; message_ = value; onChanged(); return this; } private java.lang.Object effort_ = ""; /** * optional string effort = 28; */ public boolean hasEffort() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional string effort = 28; */ public java.lang.String getEffort() { java.lang.Object ref = effort_; 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()) { effort_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string effort = 28; */ public com.google.protobuf.ByteString getEffortBytes() { java.lang.Object ref = effort_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); effort_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string effort = 28; */ public Builder setEffort( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; effort_ = value; onChanged(); return this; } /** * optional string effort = 28; */ public Builder clearEffort() { bitField0_ = (bitField0_ & ~0x00002000); effort_ = getDefaultInstance().getEffort(); onChanged(); return this; } /** * optional string effort = 28; */ public Builder setEffortBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; effort_ = value; onChanged(); return this; } private java.lang.Object debt_ = ""; /** * optional string debt = 14; * *
       * Deprecated since 5.5, replaced by effort
       * 
*/ public boolean hasDebt() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional string debt = 14; * *
       * Deprecated since 5.5, replaced by effort
       * 
*/ public java.lang.String getDebt() { java.lang.Object ref = debt_; 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()) { debt_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string debt = 14; * *
       * Deprecated since 5.5, replaced by effort
       * 
*/ public com.google.protobuf.ByteString getDebtBytes() { java.lang.Object ref = debt_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); debt_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string debt = 14; * *
       * Deprecated since 5.5, replaced by effort
       * 
*/ public Builder setDebt( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; debt_ = value; onChanged(); return this; } /** * optional string debt = 14; * *
       * Deprecated since 5.5, replaced by effort
       * 
*/ public Builder clearDebt() { bitField0_ = (bitField0_ & ~0x00004000); debt_ = getDefaultInstance().getDebt(); onChanged(); return this; } /** * optional string debt = 14; * *
       * Deprecated since 5.5, replaced by effort
       * 
*/ public Builder setDebtBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; debt_ = value; onChanged(); return this; } private java.lang.Object assignee_ = ""; /** * optional string assignee = 15; */ public boolean hasAssignee() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional string assignee = 15; */ public java.lang.String getAssignee() { java.lang.Object ref = assignee_; 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()) { assignee_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string assignee = 15; */ public com.google.protobuf.ByteString getAssigneeBytes() { java.lang.Object ref = assignee_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); assignee_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string assignee = 15; */ public Builder setAssignee( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00008000; assignee_ = value; onChanged(); return this; } /** * optional string assignee = 15; */ public Builder clearAssignee() { bitField0_ = (bitField0_ & ~0x00008000); assignee_ = getDefaultInstance().getAssignee(); onChanged(); return this; } /** * optional string assignee = 15; */ public Builder setAssigneeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00008000; assignee_ = value; onChanged(); return this; } private java.lang.Object unusedReporter_ = ""; /** * optional string unusedReporter = 16; * *
       * Unused since 5.5, manual issues feature has been removed
       * 
*/ public boolean hasUnusedReporter() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional string unusedReporter = 16; * *
       * Unused since 5.5, manual issues feature has been removed
       * 
*/ public java.lang.String getUnusedReporter() { java.lang.Object ref = unusedReporter_; 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()) { unusedReporter_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string unusedReporter = 16; * *
       * Unused since 5.5, manual issues feature has been removed
       * 
*/ public com.google.protobuf.ByteString getUnusedReporterBytes() { java.lang.Object ref = unusedReporter_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedReporter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string unusedReporter = 16; * *
       * Unused since 5.5, manual issues feature has been removed
       * 
*/ public Builder setUnusedReporter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; unusedReporter_ = value; onChanged(); return this; } /** * optional string unusedReporter = 16; * *
       * Unused since 5.5, manual issues feature has been removed
       * 
*/ public Builder clearUnusedReporter() { bitField0_ = (bitField0_ & ~0x00010000); unusedReporter_ = getDefaultInstance().getUnusedReporter(); onChanged(); return this; } /** * optional string unusedReporter = 16; * *
       * Unused since 5.5, manual issues feature has been removed
       * 
*/ public Builder setUnusedReporterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; unusedReporter_ = value; onChanged(); return this; } private java.lang.Object author_ = ""; /** * optional string author = 17; * *
       * SCM login of the committer who introduced the issue
       * 
*/ public boolean hasAuthor() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional string author = 17; * *
       * SCM login of the committer who introduced the issue
       * 
*/ public java.lang.String getAuthor() { java.lang.Object ref = author_; 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()) { author_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string author = 17; * *
       * SCM login of the committer who introduced the issue
       * 
*/ public com.google.protobuf.ByteString getAuthorBytes() { java.lang.Object ref = author_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); author_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string author = 17; * *
       * SCM login of the committer who introduced the issue
       * 
*/ public Builder setAuthor( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; author_ = value; onChanged(); return this; } /** * optional string author = 17; * *
       * SCM login of the committer who introduced the issue
       * 
*/ public Builder clearAuthor() { bitField0_ = (bitField0_ & ~0x00020000); author_ = getDefaultInstance().getAuthor(); onChanged(); return this; } /** * optional string author = 17; * *
       * SCM login of the committer who introduced the issue
       * 
*/ public Builder setAuthorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; author_ = value; onChanged(); return this; } private java.lang.Object actionPlan_ = ""; /** * optional string actionPlan = 18; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public boolean hasActionPlan() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional string actionPlan = 18; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public java.lang.String getActionPlan() { java.lang.Object ref = actionPlan_; 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()) { actionPlan_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string actionPlan = 18; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public com.google.protobuf.ByteString getActionPlanBytes() { java.lang.Object ref = actionPlan_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actionPlan_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string actionPlan = 18; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder setActionPlan( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00040000; actionPlan_ = value; onChanged(); return this; } /** * optional string actionPlan = 18; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder clearActionPlan() { bitField0_ = (bitField0_ & ~0x00040000); actionPlan_ = getDefaultInstance().getActionPlan(); onChanged(); return this; } /** * optional string actionPlan = 18; * *
       * Deprecated since 5.5, action plan has been removed
       * 
*/ public Builder setActionPlanBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00040000; actionPlan_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00080000) == 0x00080000)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00080000; } } /** * repeated string tags = 19; */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** * repeated string tags = 19; */ public int getTagsCount() { return tags_.size(); } /** * repeated string tags = 19; */ public java.lang.String getTags(int index) { return tags_.get(index); } /** * repeated string tags = 19; */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** * repeated string tags = 19; */ public Builder setTags( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** * repeated string tags = 19; */ public Builder addTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** * repeated string tags = 19; */ public Builder addAllTags( java.lang.Iterable values) { ensureTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tags_); onChanged(); return this; } /** * repeated string tags = 19; */ public Builder clearTags() { tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00080000); onChanged(); return this; } /** * repeated string tags = 19; */ public Builder addTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } private org.sonarqube.ws.Issues.Transitions transitions_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Transitions, org.sonarqube.ws.Issues.Transitions.Builder, org.sonarqube.ws.Issues.TransitionsOrBuilder> transitionsBuilder_; /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
       * the transitions allowed for the requesting user.
       * 
*/ public boolean hasTransitions() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
       * the transitions allowed for the requesting user.
       * 
*/ public org.sonarqube.ws.Issues.Transitions getTransitions() { if (transitionsBuilder_ == null) { return transitions_ == null ? org.sonarqube.ws.Issues.Transitions.getDefaultInstance() : transitions_; } else { return transitionsBuilder_.getMessage(); } } /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
       * the transitions allowed for the requesting user.
       * 
*/ public Builder setTransitions(org.sonarqube.ws.Issues.Transitions value) { if (transitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } transitions_ = value; onChanged(); } else { transitionsBuilder_.setMessage(value); } bitField0_ |= 0x00100000; return this; } /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
       * the transitions allowed for the requesting user.
       * 
*/ public Builder setTransitions( org.sonarqube.ws.Issues.Transitions.Builder builderForValue) { if (transitionsBuilder_ == null) { transitions_ = builderForValue.build(); onChanged(); } else { transitionsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00100000; return this; } /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
       * the transitions allowed for the requesting user.
       * 
*/ public Builder mergeTransitions(org.sonarqube.ws.Issues.Transitions value) { if (transitionsBuilder_ == null) { if (((bitField0_ & 0x00100000) == 0x00100000) && transitions_ != null && transitions_ != org.sonarqube.ws.Issues.Transitions.getDefaultInstance()) { transitions_ = org.sonarqube.ws.Issues.Transitions.newBuilder(transitions_).mergeFrom(value).buildPartial(); } else { transitions_ = value; } onChanged(); } else { transitionsBuilder_.mergeFrom(value); } bitField0_ |= 0x00100000; return this; } /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
       * the transitions allowed for the requesting user.
       * 
*/ public Builder clearTransitions() { if (transitionsBuilder_ == null) { transitions_ = null; onChanged(); } else { transitionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00100000); return this; } /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
       * the transitions allowed for the requesting user.
       * 
*/ public org.sonarqube.ws.Issues.Transitions.Builder getTransitionsBuilder() { bitField0_ |= 0x00100000; onChanged(); return getTransitionsFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
       * the transitions allowed for the requesting user.
       * 
*/ public org.sonarqube.ws.Issues.TransitionsOrBuilder getTransitionsOrBuilder() { if (transitionsBuilder_ != null) { return transitionsBuilder_.getMessageOrBuilder(); } else { return transitions_ == null ? org.sonarqube.ws.Issues.Transitions.getDefaultInstance() : transitions_; } } /** * optional .sonarqube.ws.issues.Transitions transitions = 20; * *
       * the transitions allowed for the requesting user.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Transitions, org.sonarqube.ws.Issues.Transitions.Builder, org.sonarqube.ws.Issues.TransitionsOrBuilder> getTransitionsFieldBuilder() { if (transitionsBuilder_ == null) { transitionsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Transitions, org.sonarqube.ws.Issues.Transitions.Builder, org.sonarqube.ws.Issues.TransitionsOrBuilder>( getTransitions(), getParentForChildren(), isClean()); transitions_ = null; } return transitionsBuilder_; } private org.sonarqube.ws.Issues.Actions actions_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Actions, org.sonarqube.ws.Issues.Actions.Builder, org.sonarqube.ws.Issues.ActionsOrBuilder> actionsBuilder_; /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
       * the actions allowed for the requesting user.
       * 
*/ public boolean hasActions() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
       * the actions allowed for the requesting user.
       * 
*/ public org.sonarqube.ws.Issues.Actions getActions() { if (actionsBuilder_ == null) { return actions_ == null ? org.sonarqube.ws.Issues.Actions.getDefaultInstance() : actions_; } else { return actionsBuilder_.getMessage(); } } /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
       * the actions allowed for the requesting user.
       * 
*/ public Builder setActions(org.sonarqube.ws.Issues.Actions value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } actions_ = value; onChanged(); } else { actionsBuilder_.setMessage(value); } bitField0_ |= 0x00200000; return this; } /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
       * the actions allowed for the requesting user.
       * 
*/ public Builder setActions( org.sonarqube.ws.Issues.Actions.Builder builderForValue) { if (actionsBuilder_ == null) { actions_ = builderForValue.build(); onChanged(); } else { actionsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00200000; return this; } /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
       * the actions allowed for the requesting user.
       * 
*/ public Builder mergeActions(org.sonarqube.ws.Issues.Actions value) { if (actionsBuilder_ == null) { if (((bitField0_ & 0x00200000) == 0x00200000) && actions_ != null && actions_ != org.sonarqube.ws.Issues.Actions.getDefaultInstance()) { actions_ = org.sonarqube.ws.Issues.Actions.newBuilder(actions_).mergeFrom(value).buildPartial(); } else { actions_ = value; } onChanged(); } else { actionsBuilder_.mergeFrom(value); } bitField0_ |= 0x00200000; return this; } /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
       * the actions allowed for the requesting user.
       * 
*/ public Builder clearActions() { if (actionsBuilder_ == null) { actions_ = null; onChanged(); } else { actionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00200000); return this; } /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
       * the actions allowed for the requesting user.
       * 
*/ public org.sonarqube.ws.Issues.Actions.Builder getActionsBuilder() { bitField0_ |= 0x00200000; onChanged(); return getActionsFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
       * the actions allowed for the requesting user.
       * 
*/ public org.sonarqube.ws.Issues.ActionsOrBuilder getActionsOrBuilder() { if (actionsBuilder_ != null) { return actionsBuilder_.getMessageOrBuilder(); } else { return actions_ == null ? org.sonarqube.ws.Issues.Actions.getDefaultInstance() : actions_; } } /** * optional .sonarqube.ws.issues.Actions actions = 21; * *
       * the actions allowed for the requesting user.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Actions, org.sonarqube.ws.Issues.Actions.Builder, org.sonarqube.ws.Issues.ActionsOrBuilder> getActionsFieldBuilder() { if (actionsBuilder_ == null) { actionsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Actions, org.sonarqube.ws.Issues.Actions.Builder, org.sonarqube.ws.Issues.ActionsOrBuilder>( getActions(), getParentForChildren(), isClean()); actions_ = null; } return actionsBuilder_; } private org.sonarqube.ws.Issues.Comments comments_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Comments, org.sonarqube.ws.Issues.Comments.Builder, org.sonarqube.ws.Issues.CommentsOrBuilder> commentsBuilder_; /** * optional .sonarqube.ws.issues.Comments comments = 22; */ public boolean hasComments() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** * optional .sonarqube.ws.issues.Comments comments = 22; */ public org.sonarqube.ws.Issues.Comments getComments() { if (commentsBuilder_ == null) { return comments_ == null ? org.sonarqube.ws.Issues.Comments.getDefaultInstance() : comments_; } else { return commentsBuilder_.getMessage(); } } /** * optional .sonarqube.ws.issues.Comments comments = 22; */ public Builder setComments(org.sonarqube.ws.Issues.Comments value) { if (commentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } comments_ = value; onChanged(); } else { commentsBuilder_.setMessage(value); } bitField0_ |= 0x00400000; return this; } /** * optional .sonarqube.ws.issues.Comments comments = 22; */ public Builder setComments( org.sonarqube.ws.Issues.Comments.Builder builderForValue) { if (commentsBuilder_ == null) { comments_ = builderForValue.build(); onChanged(); } else { commentsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00400000; return this; } /** * optional .sonarqube.ws.issues.Comments comments = 22; */ public Builder mergeComments(org.sonarqube.ws.Issues.Comments value) { if (commentsBuilder_ == null) { if (((bitField0_ & 0x00400000) == 0x00400000) && comments_ != null && comments_ != org.sonarqube.ws.Issues.Comments.getDefaultInstance()) { comments_ = org.sonarqube.ws.Issues.Comments.newBuilder(comments_).mergeFrom(value).buildPartial(); } else { comments_ = value; } onChanged(); } else { commentsBuilder_.mergeFrom(value); } bitField0_ |= 0x00400000; return this; } /** * optional .sonarqube.ws.issues.Comments comments = 22; */ public Builder clearComments() { if (commentsBuilder_ == null) { comments_ = null; onChanged(); } else { commentsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); return this; } /** * optional .sonarqube.ws.issues.Comments comments = 22; */ public org.sonarqube.ws.Issues.Comments.Builder getCommentsBuilder() { bitField0_ |= 0x00400000; onChanged(); return getCommentsFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.issues.Comments comments = 22; */ public org.sonarqube.ws.Issues.CommentsOrBuilder getCommentsOrBuilder() { if (commentsBuilder_ != null) { return commentsBuilder_.getMessageOrBuilder(); } else { return comments_ == null ? org.sonarqube.ws.Issues.Comments.getDefaultInstance() : comments_; } } /** * optional .sonarqube.ws.issues.Comments comments = 22; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Comments, org.sonarqube.ws.Issues.Comments.Builder, org.sonarqube.ws.Issues.CommentsOrBuilder> getCommentsFieldBuilder() { if (commentsBuilder_ == null) { commentsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Issues.Comments, org.sonarqube.ws.Issues.Comments.Builder, org.sonarqube.ws.Issues.CommentsOrBuilder>( getComments(), getParentForChildren(), isClean()); comments_ = null; } return commentsBuilder_; } private java.lang.Object creationDate_ = ""; /** * optional string creationDate = 23; */ public boolean hasCreationDate() { return ((bitField0_ & 0x00800000) == 0x00800000); } /** * optional string creationDate = 23; */ public java.lang.String getCreationDate() { java.lang.Object ref = creationDate_; 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()) { creationDate_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string creationDate = 23; */ public com.google.protobuf.ByteString getCreationDateBytes() { java.lang.Object ref = creationDate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); creationDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string creationDate = 23; */ public Builder setCreationDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; creationDate_ = value; onChanged(); return this; } /** * optional string creationDate = 23; */ public Builder clearCreationDate() { bitField0_ = (bitField0_ & ~0x00800000); creationDate_ = getDefaultInstance().getCreationDate(); onChanged(); return this; } /** * optional string creationDate = 23; */ public Builder setCreationDateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; creationDate_ = value; onChanged(); return this; } private java.lang.Object updateDate_ = ""; /** * optional string updateDate = 24; */ public boolean hasUpdateDate() { return ((bitField0_ & 0x01000000) == 0x01000000); } /** * optional string updateDate = 24; */ public java.lang.String getUpdateDate() { java.lang.Object ref = updateDate_; 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()) { updateDate_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string updateDate = 24; */ public com.google.protobuf.ByteString getUpdateDateBytes() { java.lang.Object ref = updateDate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); updateDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string updateDate = 24; */ public Builder setUpdateDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x01000000; updateDate_ = value; onChanged(); return this; } /** * optional string updateDate = 24; */ public Builder clearUpdateDate() { bitField0_ = (bitField0_ & ~0x01000000); updateDate_ = getDefaultInstance().getUpdateDate(); onChanged(); return this; } /** * optional string updateDate = 24; */ public Builder setUpdateDateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x01000000; updateDate_ = value; onChanged(); return this; } private java.lang.Object fUpdateAge_ = ""; /** * optional string fUpdateAge = 25; */ public boolean hasFUpdateAge() { return ((bitField0_ & 0x02000000) == 0x02000000); } /** * optional string fUpdateAge = 25; */ public java.lang.String getFUpdateAge() { java.lang.Object ref = fUpdateAge_; 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()) { fUpdateAge_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string fUpdateAge = 25; */ public com.google.protobuf.ByteString getFUpdateAgeBytes() { java.lang.Object ref = fUpdateAge_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fUpdateAge_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string fUpdateAge = 25; */ public Builder setFUpdateAge( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x02000000; fUpdateAge_ = value; onChanged(); return this; } /** * optional string fUpdateAge = 25; */ public Builder clearFUpdateAge() { bitField0_ = (bitField0_ & ~0x02000000); fUpdateAge_ = getDefaultInstance().getFUpdateAge(); onChanged(); return this; } /** * optional string fUpdateAge = 25; */ public Builder setFUpdateAgeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x02000000; fUpdateAge_ = value; onChanged(); return this; } private java.lang.Object closeDate_ = ""; /** * optional string closeDate = 26; */ public boolean hasCloseDate() { return ((bitField0_ & 0x04000000) == 0x04000000); } /** * optional string closeDate = 26; */ public java.lang.String getCloseDate() { java.lang.Object ref = closeDate_; 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()) { closeDate_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string closeDate = 26; */ public com.google.protobuf.ByteString getCloseDateBytes() { java.lang.Object ref = closeDate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); closeDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string closeDate = 26; */ public Builder setCloseDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x04000000; closeDate_ = value; onChanged(); return this; } /** * optional string closeDate = 26; */ public Builder clearCloseDate() { bitField0_ = (bitField0_ & ~0x04000000); closeDate_ = getDefaultInstance().getCloseDate(); onChanged(); return this; } /** * optional string closeDate = 26; */ public Builder setCloseDateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x04000000; closeDate_ = value; onChanged(); return this; } private int type_ = 0; /** * optional .sonarqube.ws.commons.RuleType type = 27; */ public boolean hasType() { return ((bitField0_ & 0x08000000) == 0x08000000); } /** * optional .sonarqube.ws.commons.RuleType type = 27; */ public org.sonarqube.ws.Common.RuleType getType() { org.sonarqube.ws.Common.RuleType result = org.sonarqube.ws.Common.RuleType.valueOf(type_); return result == null ? org.sonarqube.ws.Common.RuleType.UNKNOWN : result; } /** * optional .sonarqube.ws.commons.RuleType type = 27; */ public Builder setType(org.sonarqube.ws.Common.RuleType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x08000000; type_ = value.getNumber(); onChanged(); return this; } /** * optional .sonarqube.ws.commons.RuleType type = 27; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x08000000); type_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.Issue) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Issue) private static final org.sonarqube.ws.Issues.Issue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.Issue(); } public static org.sonarqube.ws.Issues.Issue getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Issue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Issue(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.Issue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TransitionsOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.Transitions) com.google.protobuf.MessageOrBuilder { /** * repeated string transitions = 1; */ com.google.protobuf.ProtocolStringList getTransitionsList(); /** * repeated string transitions = 1; */ int getTransitionsCount(); /** * repeated string transitions = 1; */ java.lang.String getTransitions(int index); /** * repeated string transitions = 1; */ com.google.protobuf.ByteString getTransitionsBytes(int index); } /** * Protobuf type {@code sonarqube.ws.issues.Transitions} */ public static final class Transitions extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.Transitions) TransitionsOrBuilder { // Use Transitions.newBuilder() to construct. private Transitions(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Transitions() { transitions_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Transitions( 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(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { transitions_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } transitions_.add(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 { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { transitions_ = transitions_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Transitions_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Transitions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Transitions.class, org.sonarqube.ws.Issues.Transitions.Builder.class); } public static final int TRANSITIONS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList transitions_; /** * repeated string transitions = 1; */ public com.google.protobuf.ProtocolStringList getTransitionsList() { return transitions_; } /** * repeated string transitions = 1; */ public int getTransitionsCount() { return transitions_.size(); } /** * repeated string transitions = 1; */ public java.lang.String getTransitions(int index) { return transitions_.get(index); } /** * repeated string transitions = 1; */ public com.google.protobuf.ByteString getTransitionsBytes(int index) { return transitions_.getByteString(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < transitions_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 1, transitions_.getRaw(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < transitions_.size(); i++) { dataSize += computeStringSizeNoTag(transitions_.getRaw(i)); } size += dataSize; size += 1 * getTransitionsList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Issues.Transitions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Transitions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Transitions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Transitions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Transitions parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Transitions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Transitions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.Transitions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Transitions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Transitions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.Transitions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.Transitions} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.Transitions) org.sonarqube.ws.Issues.TransitionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Transitions_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Transitions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Transitions.class, org.sonarqube.ws.Issues.Transitions.Builder.class); } // Construct using org.sonarqube.ws.Issues.Transitions.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(); transitions_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Transitions_descriptor; } public org.sonarqube.ws.Issues.Transitions getDefaultInstanceForType() { return org.sonarqube.ws.Issues.Transitions.getDefaultInstance(); } public org.sonarqube.ws.Issues.Transitions build() { org.sonarqube.ws.Issues.Transitions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.Transitions buildPartial() { org.sonarqube.ws.Issues.Transitions result = new org.sonarqube.ws.Issues.Transitions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { transitions_ = transitions_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.transitions_ = transitions_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.Transitions) { return mergeFrom((org.sonarqube.ws.Issues.Transitions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.Transitions other) { if (other == org.sonarqube.ws.Issues.Transitions.getDefaultInstance()) return this; if (!other.transitions_.isEmpty()) { if (transitions_.isEmpty()) { transitions_ = other.transitions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTransitionsIsMutable(); transitions_.addAll(other.transitions_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.sonarqube.ws.Issues.Transitions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.Transitions) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList transitions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTransitionsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { transitions_ = new com.google.protobuf.LazyStringArrayList(transitions_); bitField0_ |= 0x00000001; } } /** * repeated string transitions = 1; */ public com.google.protobuf.ProtocolStringList getTransitionsList() { return transitions_.getUnmodifiableView(); } /** * repeated string transitions = 1; */ public int getTransitionsCount() { return transitions_.size(); } /** * repeated string transitions = 1; */ public java.lang.String getTransitions(int index) { return transitions_.get(index); } /** * repeated string transitions = 1; */ public com.google.protobuf.ByteString getTransitionsBytes(int index) { return transitions_.getByteString(index); } /** * repeated string transitions = 1; */ public Builder setTransitions( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTransitionsIsMutable(); transitions_.set(index, value); onChanged(); return this; } /** * repeated string transitions = 1; */ public Builder addTransitions( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTransitionsIsMutable(); transitions_.add(value); onChanged(); return this; } /** * repeated string transitions = 1; */ public Builder addAllTransitions( java.lang.Iterable values) { ensureTransitionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, transitions_); onChanged(); return this; } /** * repeated string transitions = 1; */ public Builder clearTransitions() { transitions_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string transitions = 1; */ public Builder addTransitionsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureTransitionsIsMutable(); transitions_.add(value); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.Transitions) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Transitions) private static final org.sonarqube.ws.Issues.Transitions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.Transitions(); } public static org.sonarqube.ws.Issues.Transitions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Transitions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Transitions(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.Transitions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ActionsOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.Actions) com.google.protobuf.MessageOrBuilder { /** * repeated string actions = 1; */ com.google.protobuf.ProtocolStringList getActionsList(); /** * repeated string actions = 1; */ int getActionsCount(); /** * repeated string actions = 1; */ java.lang.String getActions(int index); /** * repeated string actions = 1; */ com.google.protobuf.ByteString getActionsBytes(int index); } /** * Protobuf type {@code sonarqube.ws.issues.Actions} */ public static final class Actions extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.Actions) ActionsOrBuilder { // Use Actions.newBuilder() to construct. private Actions(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Actions() { actions_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Actions( 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(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { actions_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } actions_.add(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 { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { actions_ = actions_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Actions_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Actions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Actions.class, org.sonarqube.ws.Issues.Actions.Builder.class); } public static final int ACTIONS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList actions_; /** * repeated string actions = 1; */ public com.google.protobuf.ProtocolStringList getActionsList() { return actions_; } /** * repeated string actions = 1; */ public int getActionsCount() { return actions_.size(); } /** * repeated string actions = 1; */ public java.lang.String getActions(int index) { return actions_.get(index); } /** * repeated string actions = 1; */ public com.google.protobuf.ByteString getActionsBytes(int index) { return actions_.getByteString(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < actions_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 1, actions_.getRaw(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < actions_.size(); i++) { dataSize += computeStringSizeNoTag(actions_.getRaw(i)); } size += dataSize; size += 1 * getActionsList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Issues.Actions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Actions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Actions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Actions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Actions parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Actions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Actions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.Actions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Actions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Actions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.Actions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.Actions} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.Actions) org.sonarqube.ws.Issues.ActionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Actions_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Actions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Actions.class, org.sonarqube.ws.Issues.Actions.Builder.class); } // Construct using org.sonarqube.ws.Issues.Actions.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(); actions_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Actions_descriptor; } public org.sonarqube.ws.Issues.Actions getDefaultInstanceForType() { return org.sonarqube.ws.Issues.Actions.getDefaultInstance(); } public org.sonarqube.ws.Issues.Actions build() { org.sonarqube.ws.Issues.Actions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.Actions buildPartial() { org.sonarqube.ws.Issues.Actions result = new org.sonarqube.ws.Issues.Actions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { actions_ = actions_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.actions_ = actions_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.Actions) { return mergeFrom((org.sonarqube.ws.Issues.Actions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.Actions other) { if (other == org.sonarqube.ws.Issues.Actions.getDefaultInstance()) return this; if (!other.actions_.isEmpty()) { if (actions_.isEmpty()) { actions_ = other.actions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureActionsIsMutable(); actions_.addAll(other.actions_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.sonarqube.ws.Issues.Actions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.Actions) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList actions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureActionsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { actions_ = new com.google.protobuf.LazyStringArrayList(actions_); bitField0_ |= 0x00000001; } } /** * repeated string actions = 1; */ public com.google.protobuf.ProtocolStringList getActionsList() { return actions_.getUnmodifiableView(); } /** * repeated string actions = 1; */ public int getActionsCount() { return actions_.size(); } /** * repeated string actions = 1; */ public java.lang.String getActions(int index) { return actions_.get(index); } /** * repeated string actions = 1; */ public com.google.protobuf.ByteString getActionsBytes(int index) { return actions_.getByteString(index); } /** * repeated string actions = 1; */ public Builder setActions( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureActionsIsMutable(); actions_.set(index, value); onChanged(); return this; } /** * repeated string actions = 1; */ public Builder addActions( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureActionsIsMutable(); actions_.add(value); onChanged(); return this; } /** * repeated string actions = 1; */ public Builder addAllActions( java.lang.Iterable values) { ensureActionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, actions_); onChanged(); return this; } /** * repeated string actions = 1; */ public Builder clearActions() { actions_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string actions = 1; */ public Builder addActionsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureActionsIsMutable(); actions_.add(value); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.Actions) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Actions) private static final org.sonarqube.ws.Issues.Actions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.Actions(); } public static org.sonarqube.ws.Issues.Actions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Actions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Actions(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.Actions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FlowOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.Flow) com.google.protobuf.MessageOrBuilder { /** * repeated .sonarqube.ws.issues.Location locations = 1; */ java.util.List getLocationsList(); /** * repeated .sonarqube.ws.issues.Location locations = 1; */ org.sonarqube.ws.Issues.Location getLocations(int index); /** * repeated .sonarqube.ws.issues.Location locations = 1; */ int getLocationsCount(); /** * repeated .sonarqube.ws.issues.Location locations = 1; */ java.util.List getLocationsOrBuilderList(); /** * repeated .sonarqube.ws.issues.Location locations = 1; */ org.sonarqube.ws.Issues.LocationOrBuilder getLocationsOrBuilder( int index); } /** * Protobuf type {@code sonarqube.ws.issues.Flow} */ public static final class Flow extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.Flow) FlowOrBuilder { // Use Flow.newBuilder() to construct. private Flow(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Flow() { locations_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Flow( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { locations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } locations_.add(input.readMessage(org.sonarqube.ws.Issues.Location.parser(), extensionRegistry)); 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 { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { locations_ = java.util.Collections.unmodifiableList(locations_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Flow_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Flow_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Flow.class, org.sonarqube.ws.Issues.Flow.Builder.class); } public static final int LOCATIONS_FIELD_NUMBER = 1; private java.util.List locations_; /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public java.util.List getLocationsList() { return locations_; } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public java.util.List getLocationsOrBuilderList() { return locations_; } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public int getLocationsCount() { return locations_.size(); } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public org.sonarqube.ws.Issues.Location getLocations(int index) { return locations_.get(index); } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public org.sonarqube.ws.Issues.LocationOrBuilder getLocationsOrBuilder( int index) { return locations_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < locations_.size(); i++) { output.writeMessage(1, locations_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < locations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, locations_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Issues.Flow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Flow parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Flow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Flow parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Flow parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Flow parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Flow parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.Flow parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Flow parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Flow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.Flow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.Flow} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.Flow) org.sonarqube.ws.Issues.FlowOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Flow_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Flow_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Flow.class, org.sonarqube.ws.Issues.Flow.Builder.class); } // Construct using org.sonarqube.ws.Issues.Flow.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getLocationsFieldBuilder(); } } public Builder clear() { super.clear(); if (locationsBuilder_ == null) { locations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { locationsBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Flow_descriptor; } public org.sonarqube.ws.Issues.Flow getDefaultInstanceForType() { return org.sonarqube.ws.Issues.Flow.getDefaultInstance(); } public org.sonarqube.ws.Issues.Flow build() { org.sonarqube.ws.Issues.Flow result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.Flow buildPartial() { org.sonarqube.ws.Issues.Flow result = new org.sonarqube.ws.Issues.Flow(this); int from_bitField0_ = bitField0_; if (locationsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { locations_ = java.util.Collections.unmodifiableList(locations_); bitField0_ = (bitField0_ & ~0x00000001); } result.locations_ = locations_; } else { result.locations_ = locationsBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.Flow) { return mergeFrom((org.sonarqube.ws.Issues.Flow)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.Flow other) { if (other == org.sonarqube.ws.Issues.Flow.getDefaultInstance()) return this; if (locationsBuilder_ == null) { if (!other.locations_.isEmpty()) { if (locations_.isEmpty()) { locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLocationsIsMutable(); locations_.addAll(other.locations_); } onChanged(); } } else { if (!other.locations_.isEmpty()) { if (locationsBuilder_.isEmpty()) { locationsBuilder_.dispose(); locationsBuilder_ = null; locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000001); locationsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLocationsFieldBuilder() : null; } else { locationsBuilder_.addAllMessages(other.locations_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.sonarqube.ws.Issues.Flow parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.Flow) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List locations_ = java.util.Collections.emptyList(); private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { locations_ = new java.util.ArrayList(locations_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Location, org.sonarqube.ws.Issues.Location.Builder, org.sonarqube.ws.Issues.LocationOrBuilder> locationsBuilder_; /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public java.util.List getLocationsList() { if (locationsBuilder_ == null) { return java.util.Collections.unmodifiableList(locations_); } else { return locationsBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public int getLocationsCount() { if (locationsBuilder_ == null) { return locations_.size(); } else { return locationsBuilder_.getCount(); } } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public org.sonarqube.ws.Issues.Location getLocations(int index) { if (locationsBuilder_ == null) { return locations_.get(index); } else { return locationsBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public Builder setLocations( int index, org.sonarqube.ws.Issues.Location value) { if (locationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); } else { locationsBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public Builder setLocations( int index, org.sonarqube.ws.Issues.Location.Builder builderForValue) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.set(index, builderForValue.build()); onChanged(); } else { locationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public Builder addLocations(org.sonarqube.ws.Issues.Location value) { if (locationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationsIsMutable(); locations_.add(value); onChanged(); } else { locationsBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public Builder addLocations( int index, org.sonarqube.ws.Issues.Location value) { if (locationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationsIsMutable(); locations_.add(index, value); onChanged(); } else { locationsBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public Builder addLocations( org.sonarqube.ws.Issues.Location.Builder builderForValue) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.add(builderForValue.build()); onChanged(); } else { locationsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public Builder addLocations( int index, org.sonarqube.ws.Issues.Location.Builder builderForValue) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.add(index, builderForValue.build()); onChanged(); } else { locationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public Builder addAllLocations( java.lang.Iterable values) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, locations_); onChanged(); } else { locationsBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public Builder clearLocations() { if (locationsBuilder_ == null) { locations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { locationsBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public Builder removeLocations(int index) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.remove(index); onChanged(); } else { locationsBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public org.sonarqube.ws.Issues.Location.Builder getLocationsBuilder( int index) { return getLocationsFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public org.sonarqube.ws.Issues.LocationOrBuilder getLocationsOrBuilder( int index) { if (locationsBuilder_ == null) { return locations_.get(index); } else { return locationsBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public java.util.List getLocationsOrBuilderList() { if (locationsBuilder_ != null) { return locationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(locations_); } } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public org.sonarqube.ws.Issues.Location.Builder addLocationsBuilder() { return getLocationsFieldBuilder().addBuilder( org.sonarqube.ws.Issues.Location.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public org.sonarqube.ws.Issues.Location.Builder addLocationsBuilder( int index) { return getLocationsFieldBuilder().addBuilder( index, org.sonarqube.ws.Issues.Location.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Location locations = 1; */ public java.util.List getLocationsBuilderList() { return getLocationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Location, org.sonarqube.ws.Issues.Location.Builder, org.sonarqube.ws.Issues.LocationOrBuilder> getLocationsFieldBuilder() { if (locationsBuilder_ == null) { locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Location, org.sonarqube.ws.Issues.Location.Builder, org.sonarqube.ws.Issues.LocationOrBuilder>( locations_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); locations_ = null; } return locationsBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.Flow) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Flow) private static final org.sonarqube.ws.Issues.Flow DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.Flow(); } public static org.sonarqube.ws.Issues.Flow getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Flow parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Flow(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.Flow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LocationOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.Location) com.google.protobuf.MessageOrBuilder { /** * optional string componentId = 1; */ boolean hasComponentId(); /** * optional string componentId = 1; */ java.lang.String getComponentId(); /** * optional string componentId = 1; */ com.google.protobuf.ByteString getComponentIdBytes(); /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
     * Only when component is a file. Can be empty for a file if this is an issue global to the file.
     * 
*/ boolean hasTextRange(); /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
     * Only when component is a file. Can be empty for a file if this is an issue global to the file.
     * 
*/ org.sonarqube.ws.Common.TextRange getTextRange(); /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
     * Only when component is a file. Can be empty for a file if this is an issue global to the file.
     * 
*/ org.sonarqube.ws.Common.TextRangeOrBuilder getTextRangeOrBuilder(); /** * optional string msg = 3; */ boolean hasMsg(); /** * optional string msg = 3; */ java.lang.String getMsg(); /** * optional string msg = 3; */ com.google.protobuf.ByteString getMsgBytes(); } /** * Protobuf type {@code sonarqube.ws.issues.Location} */ public static final class Location extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.Location) LocationOrBuilder { // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Location() { componentId_ = ""; msg_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Location( 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; componentId_ = bs; break; } case 18: { org.sonarqube.ws.Common.TextRange.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = textRange_.toBuilder(); } textRange_ = input.readMessage(org.sonarqube.ws.Common.TextRange.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(textRange_); textRange_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; msg_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Location_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Location.class, org.sonarqube.ws.Issues.Location.Builder.class); } private int bitField0_; public static final int COMPONENTID_FIELD_NUMBER = 1; private volatile java.lang.Object componentId_; /** * optional string componentId = 1; */ public boolean hasComponentId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string componentId = 1; */ public java.lang.String getComponentId() { java.lang.Object ref = componentId_; 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()) { componentId_ = s; } return s; } } /** * optional string componentId = 1; */ public com.google.protobuf.ByteString getComponentIdBytes() { java.lang.Object ref = componentId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TEXTRANGE_FIELD_NUMBER = 2; private org.sonarqube.ws.Common.TextRange textRange_; /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
     * Only when component is a file. Can be empty for a file if this is an issue global to the file.
     * 
*/ public boolean hasTextRange() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
     * Only when component is a file. Can be empty for a file if this is an issue global to the file.
     * 
*/ public org.sonarqube.ws.Common.TextRange getTextRange() { return textRange_ == null ? org.sonarqube.ws.Common.TextRange.getDefaultInstance() : textRange_; } /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
     * Only when component is a file. Can be empty for a file if this is an issue global to the file.
     * 
*/ public org.sonarqube.ws.Common.TextRangeOrBuilder getTextRangeOrBuilder() { return textRange_ == null ? org.sonarqube.ws.Common.TextRange.getDefaultInstance() : textRange_; } public static final int MSG_FIELD_NUMBER = 3; private volatile java.lang.Object msg_; /** * optional string msg = 3; */ public boolean hasMsg() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string msg = 3; */ 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 = 3; */ 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; } } 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, componentId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, getTextRange()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, msg_); } 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, componentId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTextRange()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, msg_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Issues.Location parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Location parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Location parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Location parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Location parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Location parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.Location parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Location parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.Location prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.Location} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.Location) org.sonarqube.ws.Issues.LocationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Location_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Location.class, org.sonarqube.ws.Issues.Location.Builder.class); } // Construct using org.sonarqube.ws.Issues.Location.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getTextRangeFieldBuilder(); } } public Builder clear() { super.clear(); componentId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (textRangeBuilder_ == null) { textRange_ = null; } else { textRangeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); msg_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Location_descriptor; } public org.sonarqube.ws.Issues.Location getDefaultInstanceForType() { return org.sonarqube.ws.Issues.Location.getDefaultInstance(); } public org.sonarqube.ws.Issues.Location build() { org.sonarqube.ws.Issues.Location result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.Location buildPartial() { org.sonarqube.ws.Issues.Location result = new org.sonarqube.ws.Issues.Location(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.componentId_ = componentId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (textRangeBuilder_ == null) { result.textRange_ = textRange_; } else { result.textRange_ = textRangeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.msg_ = msg_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.Location) { return mergeFrom((org.sonarqube.ws.Issues.Location)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.Location other) { if (other == org.sonarqube.ws.Issues.Location.getDefaultInstance()) return this; if (other.hasComponentId()) { bitField0_ |= 0x00000001; componentId_ = other.componentId_; onChanged(); } if (other.hasTextRange()) { mergeTextRange(other.getTextRange()); } if (other.hasMsg()) { bitField0_ |= 0x00000004; msg_ = other.msg_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.sonarqube.ws.Issues.Location parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.Location) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object componentId_ = ""; /** * optional string componentId = 1; */ public boolean hasComponentId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string componentId = 1; */ public java.lang.String getComponentId() { java.lang.Object ref = componentId_; 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()) { componentId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string componentId = 1; */ public com.google.protobuf.ByteString getComponentIdBytes() { java.lang.Object ref = componentId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string componentId = 1; */ public Builder setComponentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; componentId_ = value; onChanged(); return this; } /** * optional string componentId = 1; */ public Builder clearComponentId() { bitField0_ = (bitField0_ & ~0x00000001); componentId_ = getDefaultInstance().getComponentId(); onChanged(); return this; } /** * optional string componentId = 1; */ public Builder setComponentIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; componentId_ = value; onChanged(); return this; } private org.sonarqube.ws.Common.TextRange textRange_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.TextRange, org.sonarqube.ws.Common.TextRange.Builder, org.sonarqube.ws.Common.TextRangeOrBuilder> textRangeBuilder_; /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
       * 
*/ public boolean hasTextRange() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
       * 
*/ public org.sonarqube.ws.Common.TextRange getTextRange() { if (textRangeBuilder_ == null) { return textRange_ == null ? org.sonarqube.ws.Common.TextRange.getDefaultInstance() : textRange_; } else { return textRangeBuilder_.getMessage(); } } /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
       * 
*/ public Builder setTextRange(org.sonarqube.ws.Common.TextRange value) { if (textRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } textRange_ = value; onChanged(); } else { textRangeBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
       * 
*/ public Builder setTextRange( org.sonarqube.ws.Common.TextRange.Builder builderForValue) { if (textRangeBuilder_ == null) { textRange_ = builderForValue.build(); onChanged(); } else { textRangeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
       * 
*/ public Builder mergeTextRange(org.sonarqube.ws.Common.TextRange value) { if (textRangeBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && textRange_ != null && textRange_ != org.sonarqube.ws.Common.TextRange.getDefaultInstance()) { textRange_ = org.sonarqube.ws.Common.TextRange.newBuilder(textRange_).mergeFrom(value).buildPartial(); } else { textRange_ = value; } onChanged(); } else { textRangeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
       * 
*/ public Builder clearTextRange() { if (textRangeBuilder_ == null) { textRange_ = null; onChanged(); } else { textRangeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
       * 
*/ public org.sonarqube.ws.Common.TextRange.Builder getTextRangeBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTextRangeFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
       * 
*/ public org.sonarqube.ws.Common.TextRangeOrBuilder getTextRangeOrBuilder() { if (textRangeBuilder_ != null) { return textRangeBuilder_.getMessageOrBuilder(); } else { return textRange_ == null ? org.sonarqube.ws.Common.TextRange.getDefaultInstance() : textRange_; } } /** * optional .sonarqube.ws.commons.TextRange textRange = 2; * *
       * Only when component is a file. Can be empty for a file if this is an issue global to the file.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.TextRange, org.sonarqube.ws.Common.TextRange.Builder, org.sonarqube.ws.Common.TextRangeOrBuilder> getTextRangeFieldBuilder() { if (textRangeBuilder_ == null) { textRangeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Common.TextRange, org.sonarqube.ws.Common.TextRange.Builder, org.sonarqube.ws.Common.TextRangeOrBuilder>( getTextRange(), getParentForChildren(), isClean()); textRange_ = null; } return textRangeBuilder_; } private java.lang.Object msg_ = ""; /** * optional string msg = 3; */ public boolean hasMsg() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string msg = 3; */ 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 = 3; */ 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 = 3; */ public Builder setMsg( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; msg_ = value; onChanged(); return this; } /** * optional string msg = 3; */ public Builder clearMsg() { bitField0_ = (bitField0_ & ~0x00000004); msg_ = getDefaultInstance().getMsg(); onChanged(); return this; } /** * optional string msg = 3; */ public Builder setMsgBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; msg_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.Location) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Location) private static final org.sonarqube.ws.Issues.Location DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.Location(); } public static org.sonarqube.ws.Issues.Location getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Location parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Location(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommentOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.Comment) 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 login = 2; */ boolean hasLogin(); /** * optional string login = 2; */ java.lang.String getLogin(); /** * optional string login = 2; */ com.google.protobuf.ByteString getLoginBytes(); /** * optional string email = 3; * *
     * TODO drop, it's already in field "users"
     * 
*/ boolean hasEmail(); /** * optional string email = 3; * *
     * TODO drop, it's already in field "users"
     * 
*/ java.lang.String getEmail(); /** * optional string email = 3; * *
     * TODO drop, it's already in field "users"
     * 
*/ com.google.protobuf.ByteString getEmailBytes(); /** * optional string userName = 4; * *
     * TODO drop, it's already in field "users"
     * 
*/ boolean hasUserName(); /** * optional string userName = 4; * *
     * TODO drop, it's already in field "users"
     * 
*/ java.lang.String getUserName(); /** * optional string userName = 4; * *
     * TODO drop, it's already in field "users"
     * 
*/ com.google.protobuf.ByteString getUserNameBytes(); /** * optional string htmlText = 5; */ boolean hasHtmlText(); /** * optional string htmlText = 5; */ java.lang.String getHtmlText(); /** * optional string htmlText = 5; */ com.google.protobuf.ByteString getHtmlTextBytes(); /** * optional string markdown = 6; * *
     * TODO rename markdownText ?
     * 
*/ boolean hasMarkdown(); /** * optional string markdown = 6; * *
     * TODO rename markdownText ?
     * 
*/ java.lang.String getMarkdown(); /** * optional string markdown = 6; * *
     * TODO rename markdownText ?
     * 
*/ com.google.protobuf.ByteString getMarkdownBytes(); /** * optional bool updatable = 7; */ boolean hasUpdatable(); /** * optional bool updatable = 7; */ boolean getUpdatable(); /** * optional string createdAt = 8; */ boolean hasCreatedAt(); /** * optional string createdAt = 8; */ java.lang.String getCreatedAt(); /** * optional string createdAt = 8; */ com.google.protobuf.ByteString getCreatedAtBytes(); } /** * Protobuf type {@code sonarqube.ws.issues.Comment} */ public static final class Comment extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.Comment) CommentOrBuilder { // Use Comment.newBuilder() to construct. private Comment(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Comment() { key_ = ""; login_ = ""; email_ = ""; userName_ = ""; htmlText_ = ""; markdown_ = ""; updatable_ = false; createdAt_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Comment( 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; login_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; email_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; userName_ = bs; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; htmlText_ = bs; break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; markdown_ = bs; break; } case 56: { bitField0_ |= 0x00000040; updatable_ = input.readBool(); break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; createdAt_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Comment_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Comment_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Comment.class, org.sonarqube.ws.Issues.Comment.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 LOGIN_FIELD_NUMBER = 2; private volatile java.lang.Object login_; /** * optional string login = 2; */ public boolean hasLogin() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string login = 2; */ 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 = 2; */ 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 EMAIL_FIELD_NUMBER = 3; private volatile java.lang.Object email_; /** * optional string email = 3; * *
     * TODO drop, it's already in field "users"
     * 
*/ public boolean hasEmail() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string email = 3; * *
     * TODO drop, it's already in field "users"
     * 
*/ public java.lang.String getEmail() { java.lang.Object ref = email_; 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()) { email_ = s; } return s; } } /** * optional string email = 3; * *
     * TODO drop, it's already in field "users"
     * 
*/ public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); email_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USERNAME_FIELD_NUMBER = 4; private volatile java.lang.Object userName_; /** * optional string userName = 4; * *
     * TODO drop, it's already in field "users"
     * 
*/ public boolean hasUserName() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string userName = 4; * *
     * TODO drop, it's already in field "users"
     * 
*/ public java.lang.String getUserName() { java.lang.Object ref = userName_; 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()) { userName_ = s; } return s; } } /** * optional string userName = 4; * *
     * TODO drop, it's already in field "users"
     * 
*/ public com.google.protobuf.ByteString getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HTMLTEXT_FIELD_NUMBER = 5; private volatile java.lang.Object htmlText_; /** * optional string htmlText = 5; */ public boolean hasHtmlText() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string htmlText = 5; */ public java.lang.String getHtmlText() { java.lang.Object ref = htmlText_; 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()) { htmlText_ = s; } return s; } } /** * optional string htmlText = 5; */ public com.google.protobuf.ByteString getHtmlTextBytes() { java.lang.Object ref = htmlText_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); htmlText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MARKDOWN_FIELD_NUMBER = 6; private volatile java.lang.Object markdown_; /** * optional string markdown = 6; * *
     * TODO rename markdownText ?
     * 
*/ public boolean hasMarkdown() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string markdown = 6; * *
     * TODO rename markdownText ?
     * 
*/ public java.lang.String getMarkdown() { java.lang.Object ref = markdown_; 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()) { markdown_ = s; } return s; } } /** * optional string markdown = 6; * *
     * TODO rename markdownText ?
     * 
*/ public com.google.protobuf.ByteString getMarkdownBytes() { java.lang.Object ref = markdown_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); markdown_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UPDATABLE_FIELD_NUMBER = 7; private boolean updatable_; /** * optional bool updatable = 7; */ public boolean hasUpdatable() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional bool updatable = 7; */ public boolean getUpdatable() { return updatable_; } public static final int CREATEDAT_FIELD_NUMBER = 8; private volatile java.lang.Object createdAt_; /** * optional string createdAt = 8; */ public boolean hasCreatedAt() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string createdAt = 8; */ public java.lang.String getCreatedAt() { java.lang.Object ref = createdAt_; 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()) { createdAt_ = s; } return s; } } /** * optional string createdAt = 8; */ public com.google.protobuf.ByteString getCreatedAtBytes() { java.lang.Object ref = createdAt_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); createdAt_ = 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, key_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, login_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, email_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessage.writeString(output, 4, userName_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessage.writeString(output, 5, htmlText_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessage.writeString(output, 6, markdown_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBool(7, updatable_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { com.google.protobuf.GeneratedMessage.writeString(output, 8, createdAt_); } 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, login_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, email_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(4, userName_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(5, htmlText_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(6, markdown_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, updatable_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(8, createdAt_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Issues.Comment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Comment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Comment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Comment parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Comment parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Comment parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Comment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.Comment parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Comment parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Comment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.Comment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.Comment} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.Comment) org.sonarqube.ws.Issues.CommentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Comment_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Comment_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Comment.class, org.sonarqube.ws.Issues.Comment.Builder.class); } // Construct using org.sonarqube.ws.Issues.Comment.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); login_ = ""; bitField0_ = (bitField0_ & ~0x00000002); email_ = ""; bitField0_ = (bitField0_ & ~0x00000004); userName_ = ""; bitField0_ = (bitField0_ & ~0x00000008); htmlText_ = ""; bitField0_ = (bitField0_ & ~0x00000010); markdown_ = ""; bitField0_ = (bitField0_ & ~0x00000020); updatable_ = false; bitField0_ = (bitField0_ & ~0x00000040); createdAt_ = ""; bitField0_ = (bitField0_ & ~0x00000080); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Comment_descriptor; } public org.sonarqube.ws.Issues.Comment getDefaultInstanceForType() { return org.sonarqube.ws.Issues.Comment.getDefaultInstance(); } public org.sonarqube.ws.Issues.Comment build() { org.sonarqube.ws.Issues.Comment result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.Comment buildPartial() { org.sonarqube.ws.Issues.Comment result = new org.sonarqube.ws.Issues.Comment(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.login_ = login_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.email_ = email_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.userName_ = userName_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.htmlText_ = htmlText_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.markdown_ = markdown_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.updatable_ = updatable_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.createdAt_ = createdAt_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.Comment) { return mergeFrom((org.sonarqube.ws.Issues.Comment)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.Comment other) { if (other == org.sonarqube.ws.Issues.Comment.getDefaultInstance()) return this; if (other.hasKey()) { bitField0_ |= 0x00000001; key_ = other.key_; onChanged(); } if (other.hasLogin()) { bitField0_ |= 0x00000002; login_ = other.login_; onChanged(); } if (other.hasEmail()) { bitField0_ |= 0x00000004; email_ = other.email_; onChanged(); } if (other.hasUserName()) { bitField0_ |= 0x00000008; userName_ = other.userName_; onChanged(); } if (other.hasHtmlText()) { bitField0_ |= 0x00000010; htmlText_ = other.htmlText_; onChanged(); } if (other.hasMarkdown()) { bitField0_ |= 0x00000020; markdown_ = other.markdown_; onChanged(); } if (other.hasUpdatable()) { setUpdatable(other.getUpdatable()); } if (other.hasCreatedAt()) { bitField0_ |= 0x00000080; createdAt_ = other.createdAt_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.sonarqube.ws.Issues.Comment parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.Comment) 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 login_ = ""; /** * optional string login = 2; */ public boolean hasLogin() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string login = 2; */ 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 = 2; */ 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 = 2; */ public Builder setLogin( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; login_ = value; onChanged(); return this; } /** * optional string login = 2; */ public Builder clearLogin() { bitField0_ = (bitField0_ & ~0x00000002); login_ = getDefaultInstance().getLogin(); onChanged(); return this; } /** * optional string login = 2; */ public Builder setLoginBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; login_ = value; onChanged(); return this; } private java.lang.Object email_ = ""; /** * optional string email = 3; * *
       * TODO drop, it's already in field "users"
       * 
*/ public boolean hasEmail() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string email = 3; * *
       * TODO drop, it's already in field "users"
       * 
*/ public java.lang.String getEmail() { java.lang.Object ref = email_; 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()) { email_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string email = 3; * *
       * TODO drop, it's already in field "users"
       * 
*/ public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); email_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string email = 3; * *
       * TODO drop, it's already in field "users"
       * 
*/ public Builder setEmail( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; email_ = value; onChanged(); return this; } /** * optional string email = 3; * *
       * TODO drop, it's already in field "users"
       * 
*/ public Builder clearEmail() { bitField0_ = (bitField0_ & ~0x00000004); email_ = getDefaultInstance().getEmail(); onChanged(); return this; } /** * optional string email = 3; * *
       * TODO drop, it's already in field "users"
       * 
*/ public Builder setEmailBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; email_ = value; onChanged(); return this; } private java.lang.Object userName_ = ""; /** * optional string userName = 4; * *
       * TODO drop, it's already in field "users"
       * 
*/ public boolean hasUserName() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string userName = 4; * *
       * TODO drop, it's already in field "users"
       * 
*/ public java.lang.String getUserName() { java.lang.Object ref = userName_; 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()) { userName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string userName = 4; * *
       * TODO drop, it's already in field "users"
       * 
*/ public com.google.protobuf.ByteString getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string userName = 4; * *
       * TODO drop, it's already in field "users"
       * 
*/ public Builder setUserName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; userName_ = value; onChanged(); return this; } /** * optional string userName = 4; * *
       * TODO drop, it's already in field "users"
       * 
*/ public Builder clearUserName() { bitField0_ = (bitField0_ & ~0x00000008); userName_ = getDefaultInstance().getUserName(); onChanged(); return this; } /** * optional string userName = 4; * *
       * TODO drop, it's already in field "users"
       * 
*/ public Builder setUserNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; userName_ = value; onChanged(); return this; } private java.lang.Object htmlText_ = ""; /** * optional string htmlText = 5; */ public boolean hasHtmlText() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string htmlText = 5; */ public java.lang.String getHtmlText() { java.lang.Object ref = htmlText_; 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()) { htmlText_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string htmlText = 5; */ public com.google.protobuf.ByteString getHtmlTextBytes() { java.lang.Object ref = htmlText_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); htmlText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string htmlText = 5; */ public Builder setHtmlText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; htmlText_ = value; onChanged(); return this; } /** * optional string htmlText = 5; */ public Builder clearHtmlText() { bitField0_ = (bitField0_ & ~0x00000010); htmlText_ = getDefaultInstance().getHtmlText(); onChanged(); return this; } /** * optional string htmlText = 5; */ public Builder setHtmlTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; htmlText_ = value; onChanged(); return this; } private java.lang.Object markdown_ = ""; /** * optional string markdown = 6; * *
       * TODO rename markdownText ?
       * 
*/ public boolean hasMarkdown() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string markdown = 6; * *
       * TODO rename markdownText ?
       * 
*/ public java.lang.String getMarkdown() { java.lang.Object ref = markdown_; 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()) { markdown_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string markdown = 6; * *
       * TODO rename markdownText ?
       * 
*/ public com.google.protobuf.ByteString getMarkdownBytes() { java.lang.Object ref = markdown_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); markdown_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string markdown = 6; * *
       * TODO rename markdownText ?
       * 
*/ public Builder setMarkdown( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; markdown_ = value; onChanged(); return this; } /** * optional string markdown = 6; * *
       * TODO rename markdownText ?
       * 
*/ public Builder clearMarkdown() { bitField0_ = (bitField0_ & ~0x00000020); markdown_ = getDefaultInstance().getMarkdown(); onChanged(); return this; } /** * optional string markdown = 6; * *
       * TODO rename markdownText ?
       * 
*/ public Builder setMarkdownBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; markdown_ = value; onChanged(); return this; } private boolean updatable_ ; /** * optional bool updatable = 7; */ public boolean hasUpdatable() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional bool updatable = 7; */ public boolean getUpdatable() { return updatable_; } /** * optional bool updatable = 7; */ public Builder setUpdatable(boolean value) { bitField0_ |= 0x00000040; updatable_ = value; onChanged(); return this; } /** * optional bool updatable = 7; */ public Builder clearUpdatable() { bitField0_ = (bitField0_ & ~0x00000040); updatable_ = false; onChanged(); return this; } private java.lang.Object createdAt_ = ""; /** * optional string createdAt = 8; */ public boolean hasCreatedAt() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string createdAt = 8; */ public java.lang.String getCreatedAt() { java.lang.Object ref = createdAt_; 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()) { createdAt_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string createdAt = 8; */ public com.google.protobuf.ByteString getCreatedAtBytes() { java.lang.Object ref = createdAt_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); createdAt_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string createdAt = 8; */ public Builder setCreatedAt( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; createdAt_ = value; onChanged(); return this; } /** * optional string createdAt = 8; */ public Builder clearCreatedAt() { bitField0_ = (bitField0_ & ~0x00000080); createdAt_ = getDefaultInstance().getCreatedAt(); onChanged(); return this; } /** * optional string createdAt = 8; */ public Builder setCreatedAtBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; createdAt_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.Comment) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Comment) private static final org.sonarqube.ws.Issues.Comment DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.Comment(); } public static org.sonarqube.ws.Issues.Comment getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Comment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Comment(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.Comment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommentsOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.Comments) com.google.protobuf.MessageOrBuilder { /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ java.util.List getCommentsList(); /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ org.sonarqube.ws.Issues.Comment getComments(int index); /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ int getCommentsCount(); /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ java.util.List getCommentsOrBuilderList(); /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ org.sonarqube.ws.Issues.CommentOrBuilder getCommentsOrBuilder( int index); } /** * Protobuf type {@code sonarqube.ws.issues.Comments} */ public static final class Comments extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.Comments) CommentsOrBuilder { // Use Comments.newBuilder() to construct. private Comments(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Comments() { comments_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Comments( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { comments_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } comments_.add(input.readMessage(org.sonarqube.ws.Issues.Comment.parser(), extensionRegistry)); 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 { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { comments_ = java.util.Collections.unmodifiableList(comments_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Comments_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Comments_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Comments.class, org.sonarqube.ws.Issues.Comments.Builder.class); } public static final int COMMENTS_FIELD_NUMBER = 1; private java.util.List comments_; /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public java.util.List getCommentsList() { return comments_; } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public java.util.List getCommentsOrBuilderList() { return comments_; } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public int getCommentsCount() { return comments_.size(); } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public org.sonarqube.ws.Issues.Comment getComments(int index) { return comments_.get(index); } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public org.sonarqube.ws.Issues.CommentOrBuilder getCommentsOrBuilder( int index) { return comments_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < comments_.size(); i++) { output.writeMessage(1, comments_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < comments_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, comments_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Issues.Comments parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Comments parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Comments parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Comments parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Comments parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Comments parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Comments parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.Comments parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Comments parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Comments parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.Comments prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.Comments} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.Comments) org.sonarqube.ws.Issues.CommentsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Comments_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Comments_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Comments.class, org.sonarqube.ws.Issues.Comments.Builder.class); } // Construct using org.sonarqube.ws.Issues.Comments.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCommentsFieldBuilder(); } } public Builder clear() { super.clear(); if (commentsBuilder_ == null) { comments_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { commentsBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Comments_descriptor; } public org.sonarqube.ws.Issues.Comments getDefaultInstanceForType() { return org.sonarqube.ws.Issues.Comments.getDefaultInstance(); } public org.sonarqube.ws.Issues.Comments build() { org.sonarqube.ws.Issues.Comments result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.Comments buildPartial() { org.sonarqube.ws.Issues.Comments result = new org.sonarqube.ws.Issues.Comments(this); int from_bitField0_ = bitField0_; if (commentsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { comments_ = java.util.Collections.unmodifiableList(comments_); bitField0_ = (bitField0_ & ~0x00000001); } result.comments_ = comments_; } else { result.comments_ = commentsBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.Comments) { return mergeFrom((org.sonarqube.ws.Issues.Comments)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.Comments other) { if (other == org.sonarqube.ws.Issues.Comments.getDefaultInstance()) return this; if (commentsBuilder_ == null) { if (!other.comments_.isEmpty()) { if (comments_.isEmpty()) { comments_ = other.comments_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCommentsIsMutable(); comments_.addAll(other.comments_); } onChanged(); } } else { if (!other.comments_.isEmpty()) { if (commentsBuilder_.isEmpty()) { commentsBuilder_.dispose(); commentsBuilder_ = null; comments_ = other.comments_; bitField0_ = (bitField0_ & ~0x00000001); commentsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getCommentsFieldBuilder() : null; } else { commentsBuilder_.addAllMessages(other.comments_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.sonarqube.ws.Issues.Comments parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.Comments) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List comments_ = java.util.Collections.emptyList(); private void ensureCommentsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { comments_ = new java.util.ArrayList(comments_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Comment, org.sonarqube.ws.Issues.Comment.Builder, org.sonarqube.ws.Issues.CommentOrBuilder> commentsBuilder_; /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public java.util.List getCommentsList() { if (commentsBuilder_ == null) { return java.util.Collections.unmodifiableList(comments_); } else { return commentsBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public int getCommentsCount() { if (commentsBuilder_ == null) { return comments_.size(); } else { return commentsBuilder_.getCount(); } } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public org.sonarqube.ws.Issues.Comment getComments(int index) { if (commentsBuilder_ == null) { return comments_.get(index); } else { return commentsBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public Builder setComments( int index, org.sonarqube.ws.Issues.Comment value) { if (commentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommentsIsMutable(); comments_.set(index, value); onChanged(); } else { commentsBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public Builder setComments( int index, org.sonarqube.ws.Issues.Comment.Builder builderForValue) { if (commentsBuilder_ == null) { ensureCommentsIsMutable(); comments_.set(index, builderForValue.build()); onChanged(); } else { commentsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public Builder addComments(org.sonarqube.ws.Issues.Comment value) { if (commentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommentsIsMutable(); comments_.add(value); onChanged(); } else { commentsBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public Builder addComments( int index, org.sonarqube.ws.Issues.Comment value) { if (commentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommentsIsMutable(); comments_.add(index, value); onChanged(); } else { commentsBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public Builder addComments( org.sonarqube.ws.Issues.Comment.Builder builderForValue) { if (commentsBuilder_ == null) { ensureCommentsIsMutable(); comments_.add(builderForValue.build()); onChanged(); } else { commentsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public Builder addComments( int index, org.sonarqube.ws.Issues.Comment.Builder builderForValue) { if (commentsBuilder_ == null) { ensureCommentsIsMutable(); comments_.add(index, builderForValue.build()); onChanged(); } else { commentsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public Builder addAllComments( java.lang.Iterable values) { if (commentsBuilder_ == null) { ensureCommentsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, comments_); onChanged(); } else { commentsBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public Builder clearComments() { if (commentsBuilder_ == null) { comments_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { commentsBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public Builder removeComments(int index) { if (commentsBuilder_ == null) { ensureCommentsIsMutable(); comments_.remove(index); onChanged(); } else { commentsBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public org.sonarqube.ws.Issues.Comment.Builder getCommentsBuilder( int index) { return getCommentsFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public org.sonarqube.ws.Issues.CommentOrBuilder getCommentsOrBuilder( int index) { if (commentsBuilder_ == null) { return comments_.get(index); } else { return commentsBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public java.util.List getCommentsOrBuilderList() { if (commentsBuilder_ != null) { return commentsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(comments_); } } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public org.sonarqube.ws.Issues.Comment.Builder addCommentsBuilder() { return getCommentsFieldBuilder().addBuilder( org.sonarqube.ws.Issues.Comment.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public org.sonarqube.ws.Issues.Comment.Builder addCommentsBuilder( int index) { return getCommentsFieldBuilder().addBuilder( index, org.sonarqube.ws.Issues.Comment.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Comment comments = 1; */ public java.util.List getCommentsBuilderList() { return getCommentsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Comment, org.sonarqube.ws.Issues.Comment.Builder, org.sonarqube.ws.Issues.CommentOrBuilder> getCommentsFieldBuilder() { if (commentsBuilder_ == null) { commentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Comment, org.sonarqube.ws.Issues.Comment.Builder, org.sonarqube.ws.Issues.CommentOrBuilder>( comments_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); comments_ = null; } return commentsBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.Comments) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Comments) private static final org.sonarqube.ws.Issues.Comments DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.Comments(); } public static org.sonarqube.ws.Issues.Comments getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Comments parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Comments(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.Comments getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ActionPlanOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.ActionPlan) 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 name = 2; */ boolean hasName(); /** * optional string name = 2; */ java.lang.String getName(); /** * optional string name = 2; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string status = 3; * *
     * TODO define enum
     * 
*/ boolean hasStatus(); /** * optional string status = 3; * *
     * TODO define enum
     * 
*/ java.lang.String getStatus(); /** * optional string status = 3; * *
     * TODO define enum
     * 
*/ com.google.protobuf.ByteString getStatusBytes(); /** * optional string deadLine = 4; */ boolean hasDeadLine(); /** * optional string deadLine = 4; */ java.lang.String getDeadLine(); /** * optional string deadLine = 4; */ com.google.protobuf.ByteString getDeadLineBytes(); /** * optional string project = 5; * *
     * TODO to be renamed, is it id or key ?
     * 
*/ boolean hasProject(); /** * optional string project = 5; * *
     * TODO to be renamed, is it id or key ?
     * 
*/ java.lang.String getProject(); /** * optional string project = 5; * *
     * TODO to be renamed, is it id or key ?
     * 
*/ com.google.protobuf.ByteString getProjectBytes(); } /** * Protobuf type {@code sonarqube.ws.issues.ActionPlan} * *
   * Deprecated since 5.5
   * 
*/ public static final class ActionPlan extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.ActionPlan) ActionPlanOrBuilder { // Use ActionPlan.newBuilder() to construct. private ActionPlan(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ActionPlan() { key_ = ""; name_ = ""; status_ = ""; deadLine_ = ""; project_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ActionPlan( 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; name_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; status_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; deadLine_ = bs; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; project_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ActionPlan_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ActionPlan_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.ActionPlan.class, org.sonarqube.ws.Issues.ActionPlan.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 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; } } public static final int STATUS_FIELD_NUMBER = 3; private volatile java.lang.Object status_; /** * optional string status = 3; * *
     * TODO define enum
     * 
*/ public boolean hasStatus() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string status = 3; * *
     * TODO define enum
     * 
*/ 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 = 3; * *
     * TODO define enum
     * 
*/ 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 DEADLINE_FIELD_NUMBER = 4; private volatile java.lang.Object deadLine_; /** * optional string deadLine = 4; */ public boolean hasDeadLine() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string deadLine = 4; */ public java.lang.String getDeadLine() { java.lang.Object ref = deadLine_; 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()) { deadLine_ = s; } return s; } } /** * optional string deadLine = 4; */ public com.google.protobuf.ByteString getDeadLineBytes() { java.lang.Object ref = deadLine_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deadLine_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROJECT_FIELD_NUMBER = 5; private volatile java.lang.Object project_; /** * optional string project = 5; * *
     * TODO to be renamed, is it id or key ?
     * 
*/ public boolean hasProject() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string project = 5; * *
     * TODO to be renamed, is it id or key ?
     * 
*/ public java.lang.String getProject() { java.lang.Object ref = project_; 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()) { project_ = s; } return s; } } /** * optional string project = 5; * *
     * TODO to be renamed, is it id or key ?
     * 
*/ public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); project_ = 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, key_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, name_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, status_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessage.writeString(output, 4, deadLine_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessage.writeString(output, 5, project_); } 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, name_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, status_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(4, deadLine_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(5, project_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Issues.ActionPlan parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.ActionPlan parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.ActionPlan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.ActionPlan parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.ActionPlan parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.ActionPlan parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.ActionPlan parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.ActionPlan parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.ActionPlan parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.ActionPlan parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.ActionPlan prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.ActionPlan} * *
     * Deprecated since 5.5
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.ActionPlan) org.sonarqube.ws.Issues.ActionPlanOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ActionPlan_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ActionPlan_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.ActionPlan.class, org.sonarqube.ws.Issues.ActionPlan.Builder.class); } // Construct using org.sonarqube.ws.Issues.ActionPlan.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); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); status_ = ""; bitField0_ = (bitField0_ & ~0x00000004); deadLine_ = ""; bitField0_ = (bitField0_ & ~0x00000008); project_ = ""; bitField0_ = (bitField0_ & ~0x00000010); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ActionPlan_descriptor; } public org.sonarqube.ws.Issues.ActionPlan getDefaultInstanceForType() { return org.sonarqube.ws.Issues.ActionPlan.getDefaultInstance(); } public org.sonarqube.ws.Issues.ActionPlan build() { org.sonarqube.ws.Issues.ActionPlan result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.ActionPlan buildPartial() { org.sonarqube.ws.Issues.ActionPlan result = new org.sonarqube.ws.Issues.ActionPlan(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.name_ = name_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.status_ = status_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.deadLine_ = deadLine_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.project_ = project_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.ActionPlan) { return mergeFrom((org.sonarqube.ws.Issues.ActionPlan)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.ActionPlan other) { if (other == org.sonarqube.ws.Issues.ActionPlan.getDefaultInstance()) return this; if (other.hasKey()) { bitField0_ |= 0x00000001; key_ = other.key_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } if (other.hasStatus()) { bitField0_ |= 0x00000004; status_ = other.status_; onChanged(); } if (other.hasDeadLine()) { bitField0_ |= 0x00000008; deadLine_ = other.deadLine_; onChanged(); } if (other.hasProject()) { bitField0_ |= 0x00000010; project_ = other.project_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.sonarqube.ws.Issues.ActionPlan parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.ActionPlan) 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 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; } private java.lang.Object status_ = ""; /** * optional string status = 3; * *
       * TODO define enum
       * 
*/ public boolean hasStatus() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string status = 3; * *
       * TODO define enum
       * 
*/ 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 = 3; * *
       * TODO define enum
       * 
*/ 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 = 3; * *
       * TODO define enum
       * 
*/ public Builder setStatus( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; status_ = value; onChanged(); return this; } /** * optional string status = 3; * *
       * TODO define enum
       * 
*/ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000004); status_ = getDefaultInstance().getStatus(); onChanged(); return this; } /** * optional string status = 3; * *
       * TODO define enum
       * 
*/ public Builder setStatusBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; status_ = value; onChanged(); return this; } private java.lang.Object deadLine_ = ""; /** * optional string deadLine = 4; */ public boolean hasDeadLine() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string deadLine = 4; */ public java.lang.String getDeadLine() { java.lang.Object ref = deadLine_; 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()) { deadLine_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string deadLine = 4; */ public com.google.protobuf.ByteString getDeadLineBytes() { java.lang.Object ref = deadLine_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deadLine_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string deadLine = 4; */ public Builder setDeadLine( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; deadLine_ = value; onChanged(); return this; } /** * optional string deadLine = 4; */ public Builder clearDeadLine() { bitField0_ = (bitField0_ & ~0x00000008); deadLine_ = getDefaultInstance().getDeadLine(); onChanged(); return this; } /** * optional string deadLine = 4; */ public Builder setDeadLineBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; deadLine_ = value; onChanged(); return this; } private java.lang.Object project_ = ""; /** * optional string project = 5; * *
       * TODO to be renamed, is it id or key ?
       * 
*/ public boolean hasProject() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string project = 5; * *
       * TODO to be renamed, is it id or key ?
       * 
*/ public java.lang.String getProject() { java.lang.Object ref = project_; 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()) { project_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string project = 5; * *
       * TODO to be renamed, is it id or key ?
       * 
*/ public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); project_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string project = 5; * *
       * TODO to be renamed, is it id or key ?
       * 
*/ public Builder setProject( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; project_ = value; onChanged(); return this; } /** * optional string project = 5; * *
       * TODO to be renamed, is it id or key ?
       * 
*/ public Builder clearProject() { bitField0_ = (bitField0_ & ~0x00000010); project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** * optional string project = 5; * *
       * TODO to be renamed, is it id or key ?
       * 
*/ public Builder setProjectBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; project_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.ActionPlan) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.ActionPlan) private static final org.sonarqube.ws.Issues.ActionPlan DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.ActionPlan(); } public static org.sonarqube.ws.Issues.ActionPlan getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ActionPlan parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new ActionPlan(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.ActionPlan getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ActionPlansOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.ActionPlans) com.google.protobuf.MessageOrBuilder { /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ java.util.List getActionPlansList(); /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ org.sonarqube.ws.Issues.ActionPlan getActionPlans(int index); /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ int getActionPlansCount(); /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ java.util.List getActionPlansOrBuilderList(); /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ org.sonarqube.ws.Issues.ActionPlanOrBuilder getActionPlansOrBuilder( int index); } /** * Protobuf type {@code sonarqube.ws.issues.ActionPlans} * *
   * Deprecated since 5.5
   * 
*/ public static final class ActionPlans extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.ActionPlans) ActionPlansOrBuilder { // Use ActionPlans.newBuilder() to construct. private ActionPlans(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ActionPlans() { actionPlans_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ActionPlans( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { actionPlans_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } actionPlans_.add(input.readMessage(org.sonarqube.ws.Issues.ActionPlan.parser(), extensionRegistry)); 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 { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { actionPlans_ = java.util.Collections.unmodifiableList(actionPlans_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ActionPlans_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ActionPlans_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.ActionPlans.class, org.sonarqube.ws.Issues.ActionPlans.Builder.class); } public static final int ACTIONPLANS_FIELD_NUMBER = 1; private java.util.List actionPlans_; /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public java.util.List getActionPlansList() { return actionPlans_; } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public java.util.List getActionPlansOrBuilderList() { return actionPlans_; } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public int getActionPlansCount() { return actionPlans_.size(); } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public org.sonarqube.ws.Issues.ActionPlan getActionPlans(int index) { return actionPlans_.get(index); } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public org.sonarqube.ws.Issues.ActionPlanOrBuilder getActionPlansOrBuilder( int index) { return actionPlans_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < actionPlans_.size(); i++) { output.writeMessage(1, actionPlans_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < actionPlans_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, actionPlans_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Issues.ActionPlans parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.ActionPlans parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.ActionPlans parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.ActionPlans parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.ActionPlans parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.ActionPlans parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.ActionPlans parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.ActionPlans parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.ActionPlans parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.ActionPlans parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.ActionPlans prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.ActionPlans} * *
     * Deprecated since 5.5
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.ActionPlans) org.sonarqube.ws.Issues.ActionPlansOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ActionPlans_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ActionPlans_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.ActionPlans.class, org.sonarqube.ws.Issues.ActionPlans.Builder.class); } // Construct using org.sonarqube.ws.Issues.ActionPlans.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getActionPlansFieldBuilder(); } } public Builder clear() { super.clear(); if (actionPlansBuilder_ == null) { actionPlans_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { actionPlansBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_ActionPlans_descriptor; } public org.sonarqube.ws.Issues.ActionPlans getDefaultInstanceForType() { return org.sonarqube.ws.Issues.ActionPlans.getDefaultInstance(); } public org.sonarqube.ws.Issues.ActionPlans build() { org.sonarqube.ws.Issues.ActionPlans result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.ActionPlans buildPartial() { org.sonarqube.ws.Issues.ActionPlans result = new org.sonarqube.ws.Issues.ActionPlans(this); int from_bitField0_ = bitField0_; if (actionPlansBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { actionPlans_ = java.util.Collections.unmodifiableList(actionPlans_); bitField0_ = (bitField0_ & ~0x00000001); } result.actionPlans_ = actionPlans_; } else { result.actionPlans_ = actionPlansBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.ActionPlans) { return mergeFrom((org.sonarqube.ws.Issues.ActionPlans)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.ActionPlans other) { if (other == org.sonarqube.ws.Issues.ActionPlans.getDefaultInstance()) return this; if (actionPlansBuilder_ == null) { if (!other.actionPlans_.isEmpty()) { if (actionPlans_.isEmpty()) { actionPlans_ = other.actionPlans_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureActionPlansIsMutable(); actionPlans_.addAll(other.actionPlans_); } onChanged(); } } else { if (!other.actionPlans_.isEmpty()) { if (actionPlansBuilder_.isEmpty()) { actionPlansBuilder_.dispose(); actionPlansBuilder_ = null; actionPlans_ = other.actionPlans_; bitField0_ = (bitField0_ & ~0x00000001); actionPlansBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getActionPlansFieldBuilder() : null; } else { actionPlansBuilder_.addAllMessages(other.actionPlans_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.sonarqube.ws.Issues.ActionPlans parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.ActionPlans) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List actionPlans_ = java.util.Collections.emptyList(); private void ensureActionPlansIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { actionPlans_ = new java.util.ArrayList(actionPlans_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.ActionPlan, org.sonarqube.ws.Issues.ActionPlan.Builder, org.sonarqube.ws.Issues.ActionPlanOrBuilder> actionPlansBuilder_; /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public java.util.List getActionPlansList() { if (actionPlansBuilder_ == null) { return java.util.Collections.unmodifiableList(actionPlans_); } else { return actionPlansBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public int getActionPlansCount() { if (actionPlansBuilder_ == null) { return actionPlans_.size(); } else { return actionPlansBuilder_.getCount(); } } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public org.sonarqube.ws.Issues.ActionPlan getActionPlans(int index) { if (actionPlansBuilder_ == null) { return actionPlans_.get(index); } else { return actionPlansBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public Builder setActionPlans( int index, org.sonarqube.ws.Issues.ActionPlan value) { if (actionPlansBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActionPlansIsMutable(); actionPlans_.set(index, value); onChanged(); } else { actionPlansBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public Builder setActionPlans( int index, org.sonarqube.ws.Issues.ActionPlan.Builder builderForValue) { if (actionPlansBuilder_ == null) { ensureActionPlansIsMutable(); actionPlans_.set(index, builderForValue.build()); onChanged(); } else { actionPlansBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public Builder addActionPlans(org.sonarqube.ws.Issues.ActionPlan value) { if (actionPlansBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActionPlansIsMutable(); actionPlans_.add(value); onChanged(); } else { actionPlansBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public Builder addActionPlans( int index, org.sonarqube.ws.Issues.ActionPlan value) { if (actionPlansBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActionPlansIsMutable(); actionPlans_.add(index, value); onChanged(); } else { actionPlansBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public Builder addActionPlans( org.sonarqube.ws.Issues.ActionPlan.Builder builderForValue) { if (actionPlansBuilder_ == null) { ensureActionPlansIsMutable(); actionPlans_.add(builderForValue.build()); onChanged(); } else { actionPlansBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public Builder addActionPlans( int index, org.sonarqube.ws.Issues.ActionPlan.Builder builderForValue) { if (actionPlansBuilder_ == null) { ensureActionPlansIsMutable(); actionPlans_.add(index, builderForValue.build()); onChanged(); } else { actionPlansBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public Builder addAllActionPlans( java.lang.Iterable values) { if (actionPlansBuilder_ == null) { ensureActionPlansIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, actionPlans_); onChanged(); } else { actionPlansBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public Builder clearActionPlans() { if (actionPlansBuilder_ == null) { actionPlans_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { actionPlansBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public Builder removeActionPlans(int index) { if (actionPlansBuilder_ == null) { ensureActionPlansIsMutable(); actionPlans_.remove(index); onChanged(); } else { actionPlansBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public org.sonarqube.ws.Issues.ActionPlan.Builder getActionPlansBuilder( int index) { return getActionPlansFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public org.sonarqube.ws.Issues.ActionPlanOrBuilder getActionPlansOrBuilder( int index) { if (actionPlansBuilder_ == null) { return actionPlans_.get(index); } else { return actionPlansBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public java.util.List getActionPlansOrBuilderList() { if (actionPlansBuilder_ != null) { return actionPlansBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(actionPlans_); } } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public org.sonarqube.ws.Issues.ActionPlan.Builder addActionPlansBuilder() { return getActionPlansFieldBuilder().addBuilder( org.sonarqube.ws.Issues.ActionPlan.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public org.sonarqube.ws.Issues.ActionPlan.Builder addActionPlansBuilder( int index) { return getActionPlansFieldBuilder().addBuilder( index, org.sonarqube.ws.Issues.ActionPlan.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.ActionPlan actionPlans = 1; */ public java.util.List getActionPlansBuilderList() { return getActionPlansFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.ActionPlan, org.sonarqube.ws.Issues.ActionPlan.Builder, org.sonarqube.ws.Issues.ActionPlanOrBuilder> getActionPlansFieldBuilder() { if (actionPlansBuilder_ == null) { actionPlansBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.ActionPlan, org.sonarqube.ws.Issues.ActionPlan.Builder, org.sonarqube.ws.Issues.ActionPlanOrBuilder>( actionPlans_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); actionPlans_ = null; } return actionPlansBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.ActionPlans) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.ActionPlans) private static final org.sonarqube.ws.Issues.ActionPlans DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.ActionPlans(); } public static org.sonarqube.ws.Issues.ActionPlans getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ActionPlans parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new ActionPlans(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.ActionPlans getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LanguageOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.Language) 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 name = 2; */ boolean hasName(); /** * optional string name = 2; */ java.lang.String getName(); /** * optional string name = 2; */ com.google.protobuf.ByteString getNameBytes(); } /** * Protobuf type {@code sonarqube.ws.issues.Language} */ public static final class Language extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.Language) LanguageOrBuilder { // Use Language.newBuilder() to construct. private Language(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Language() { key_ = ""; name_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Language( 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; 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.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Language_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Language_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Language.class, org.sonarqube.ws.Issues.Language.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 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, key_); } 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, key_); } 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.sonarqube.ws.Issues.Language parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Language parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Language parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Language parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Language parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Language parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Language parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.Language parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Language parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Language parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.Language prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.Language} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.Language) org.sonarqube.ws.Issues.LanguageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Language_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Language_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Language.class, org.sonarqube.ws.Issues.Language.Builder.class); } // Construct using org.sonarqube.ws.Issues.Language.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); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Language_descriptor; } public org.sonarqube.ws.Issues.Language getDefaultInstanceForType() { return org.sonarqube.ws.Issues.Language.getDefaultInstance(); } public org.sonarqube.ws.Issues.Language build() { org.sonarqube.ws.Issues.Language result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.Language buildPartial() { org.sonarqube.ws.Issues.Language result = new org.sonarqube.ws.Issues.Language(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.name_ = name_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.Language) { return mergeFrom((org.sonarqube.ws.Issues.Language)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.Language other) { if (other == org.sonarqube.ws.Issues.Language.getDefaultInstance()) return this; if (other.hasKey()) { bitField0_ |= 0x00000001; key_ = other.key_; 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.sonarqube.ws.Issues.Language parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.Language) 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 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:sonarqube.ws.issues.Language) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Language) private static final org.sonarqube.ws.Issues.Language DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.Language(); } public static org.sonarqube.ws.Issues.Language getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Language parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Language(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.Language getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LanguagesOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.Languages) com.google.protobuf.MessageOrBuilder { /** * repeated .sonarqube.ws.issues.Language languages = 1; */ java.util.List getLanguagesList(); /** * repeated .sonarqube.ws.issues.Language languages = 1; */ org.sonarqube.ws.Issues.Language getLanguages(int index); /** * repeated .sonarqube.ws.issues.Language languages = 1; */ int getLanguagesCount(); /** * repeated .sonarqube.ws.issues.Language languages = 1; */ java.util.List getLanguagesOrBuilderList(); /** * repeated .sonarqube.ws.issues.Language languages = 1; */ org.sonarqube.ws.Issues.LanguageOrBuilder getLanguagesOrBuilder( int index); } /** * Protobuf type {@code sonarqube.ws.issues.Languages} */ public static final class Languages extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.Languages) LanguagesOrBuilder { // Use Languages.newBuilder() to construct. private Languages(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Languages() { languages_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Languages( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { languages_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } languages_.add(input.readMessage(org.sonarqube.ws.Issues.Language.parser(), extensionRegistry)); 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 { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { languages_ = java.util.Collections.unmodifiableList(languages_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Languages_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Languages_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Languages.class, org.sonarqube.ws.Issues.Languages.Builder.class); } public static final int LANGUAGES_FIELD_NUMBER = 1; private java.util.List languages_; /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public java.util.List getLanguagesList() { return languages_; } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public java.util.List getLanguagesOrBuilderList() { return languages_; } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public int getLanguagesCount() { return languages_.size(); } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public org.sonarqube.ws.Issues.Language getLanguages(int index) { return languages_.get(index); } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public org.sonarqube.ws.Issues.LanguageOrBuilder getLanguagesOrBuilder( int index) { return languages_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < languages_.size(); i++) { output.writeMessage(1, languages_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < languages_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, languages_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Issues.Languages parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Languages parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Languages parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Languages parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Languages parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Languages parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Languages parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.Languages parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Languages parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Languages parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.Languages prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.Languages} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.Languages) org.sonarqube.ws.Issues.LanguagesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Languages_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Languages_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Languages.class, org.sonarqube.ws.Issues.Languages.Builder.class); } // Construct using org.sonarqube.ws.Issues.Languages.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getLanguagesFieldBuilder(); } } public Builder clear() { super.clear(); if (languagesBuilder_ == null) { languages_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { languagesBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Languages_descriptor; } public org.sonarqube.ws.Issues.Languages getDefaultInstanceForType() { return org.sonarqube.ws.Issues.Languages.getDefaultInstance(); } public org.sonarqube.ws.Issues.Languages build() { org.sonarqube.ws.Issues.Languages result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.Languages buildPartial() { org.sonarqube.ws.Issues.Languages result = new org.sonarqube.ws.Issues.Languages(this); int from_bitField0_ = bitField0_; if (languagesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { languages_ = java.util.Collections.unmodifiableList(languages_); bitField0_ = (bitField0_ & ~0x00000001); } result.languages_ = languages_; } else { result.languages_ = languagesBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.Languages) { return mergeFrom((org.sonarqube.ws.Issues.Languages)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.Languages other) { if (other == org.sonarqube.ws.Issues.Languages.getDefaultInstance()) return this; if (languagesBuilder_ == null) { if (!other.languages_.isEmpty()) { if (languages_.isEmpty()) { languages_ = other.languages_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLanguagesIsMutable(); languages_.addAll(other.languages_); } onChanged(); } } else { if (!other.languages_.isEmpty()) { if (languagesBuilder_.isEmpty()) { languagesBuilder_.dispose(); languagesBuilder_ = null; languages_ = other.languages_; bitField0_ = (bitField0_ & ~0x00000001); languagesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLanguagesFieldBuilder() : null; } else { languagesBuilder_.addAllMessages(other.languages_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.sonarqube.ws.Issues.Languages parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.Languages) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List languages_ = java.util.Collections.emptyList(); private void ensureLanguagesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { languages_ = new java.util.ArrayList(languages_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Language, org.sonarqube.ws.Issues.Language.Builder, org.sonarqube.ws.Issues.LanguageOrBuilder> languagesBuilder_; /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public java.util.List getLanguagesList() { if (languagesBuilder_ == null) { return java.util.Collections.unmodifiableList(languages_); } else { return languagesBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public int getLanguagesCount() { if (languagesBuilder_ == null) { return languages_.size(); } else { return languagesBuilder_.getCount(); } } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public org.sonarqube.ws.Issues.Language getLanguages(int index) { if (languagesBuilder_ == null) { return languages_.get(index); } else { return languagesBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public Builder setLanguages( int index, org.sonarqube.ws.Issues.Language value) { if (languagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLanguagesIsMutable(); languages_.set(index, value); onChanged(); } else { languagesBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public Builder setLanguages( int index, org.sonarqube.ws.Issues.Language.Builder builderForValue) { if (languagesBuilder_ == null) { ensureLanguagesIsMutable(); languages_.set(index, builderForValue.build()); onChanged(); } else { languagesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public Builder addLanguages(org.sonarqube.ws.Issues.Language value) { if (languagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLanguagesIsMutable(); languages_.add(value); onChanged(); } else { languagesBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public Builder addLanguages( int index, org.sonarqube.ws.Issues.Language value) { if (languagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLanguagesIsMutable(); languages_.add(index, value); onChanged(); } else { languagesBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public Builder addLanguages( org.sonarqube.ws.Issues.Language.Builder builderForValue) { if (languagesBuilder_ == null) { ensureLanguagesIsMutable(); languages_.add(builderForValue.build()); onChanged(); } else { languagesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public Builder addLanguages( int index, org.sonarqube.ws.Issues.Language.Builder builderForValue) { if (languagesBuilder_ == null) { ensureLanguagesIsMutable(); languages_.add(index, builderForValue.build()); onChanged(); } else { languagesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public Builder addAllLanguages( java.lang.Iterable values) { if (languagesBuilder_ == null) { ensureLanguagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, languages_); onChanged(); } else { languagesBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public Builder clearLanguages() { if (languagesBuilder_ == null) { languages_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { languagesBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public Builder removeLanguages(int index) { if (languagesBuilder_ == null) { ensureLanguagesIsMutable(); languages_.remove(index); onChanged(); } else { languagesBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public org.sonarqube.ws.Issues.Language.Builder getLanguagesBuilder( int index) { return getLanguagesFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public org.sonarqube.ws.Issues.LanguageOrBuilder getLanguagesOrBuilder( int index) { if (languagesBuilder_ == null) { return languages_.get(index); } else { return languagesBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public java.util.List getLanguagesOrBuilderList() { if (languagesBuilder_ != null) { return languagesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(languages_); } } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public org.sonarqube.ws.Issues.Language.Builder addLanguagesBuilder() { return getLanguagesFieldBuilder().addBuilder( org.sonarqube.ws.Issues.Language.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public org.sonarqube.ws.Issues.Language.Builder addLanguagesBuilder( int index) { return getLanguagesFieldBuilder().addBuilder( index, org.sonarqube.ws.Issues.Language.getDefaultInstance()); } /** * repeated .sonarqube.ws.issues.Language languages = 1; */ public java.util.List getLanguagesBuilderList() { return getLanguagesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Language, org.sonarqube.ws.Issues.Language.Builder, org.sonarqube.ws.Issues.LanguageOrBuilder> getLanguagesFieldBuilder() { if (languagesBuilder_ == null) { languagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Issues.Language, org.sonarqube.ws.Issues.Language.Builder, org.sonarqube.ws.Issues.LanguageOrBuilder>( languages_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); languages_ = null; } return languagesBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.Languages) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Languages) private static final org.sonarqube.ws.Issues.Languages DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.Languages(); } public static org.sonarqube.ws.Issues.Languages getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Languages parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Languages(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.Languages getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ComponentOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.issues.Component) com.google.protobuf.MessageOrBuilder { /** * optional int64 id = 1; */ boolean hasId(); /** * optional int64 id = 1; */ long getId(); /** * optional string key = 2; */ boolean hasKey(); /** * optional string key = 2; */ java.lang.String getKey(); /** * optional string key = 2; */ com.google.protobuf.ByteString getKeyBytes(); /** * optional string uuid = 3; */ boolean hasUuid(); /** * optional string uuid = 3; */ java.lang.String getUuid(); /** * optional string uuid = 3; */ com.google.protobuf.ByteString getUuidBytes(); /** * optional bool enabled = 4; */ boolean hasEnabled(); /** * optional bool enabled = 4; */ boolean getEnabled(); /** * optional string qualifier = 5; */ boolean hasQualifier(); /** * optional string qualifier = 5; */ java.lang.String getQualifier(); /** * optional string qualifier = 5; */ com.google.protobuf.ByteString getQualifierBytes(); /** * optional string name = 6; */ boolean hasName(); /** * optional string name = 6; */ java.lang.String getName(); /** * optional string name = 6; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string longName = 7; */ boolean hasLongName(); /** * optional string longName = 7; */ java.lang.String getLongName(); /** * optional string longName = 7; */ com.google.protobuf.ByteString getLongNameBytes(); /** * optional string path = 8; */ boolean hasPath(); /** * optional string path = 8; */ java.lang.String getPath(); /** * optional string path = 8; */ com.google.protobuf.ByteString getPathBytes(); /** * optional int64 projectId = 9; */ boolean hasProjectId(); /** * optional int64 projectId = 9; */ long getProjectId(); /** * optional int64 subProjectId = 10; */ boolean hasSubProjectId(); /** * optional int64 subProjectId = 10; */ long getSubProjectId(); } /** * Protobuf type {@code sonarqube.ws.issues.Component} */ public static final class Component extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.issues.Component) ComponentOrBuilder { // Use Component.newBuilder() to construct. private Component(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Component() { id_ = 0L; key_ = ""; uuid_ = ""; enabled_ = false; qualifier_ = ""; name_ = ""; longName_ = ""; path_ = ""; projectId_ = 0L; subProjectId_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Component( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; id_ = input.readInt64(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; key_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; uuid_ = bs; break; } case 32: { bitField0_ |= 0x00000008; enabled_ = input.readBool(); break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; qualifier_ = bs; break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; name_ = bs; break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000040; longName_ = bs; break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; path_ = bs; break; } case 72: { bitField0_ |= 0x00000100; projectId_ = input.readInt64(); break; } case 80: { bitField0_ |= 0x00000200; subProjectId_ = input.readInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Component_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Component_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Component.class, org.sonarqube.ws.Issues.Component.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private long id_; /** * optional int64 id = 1; */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 id = 1; */ public long getId() { return id_; } public static final int KEY_FIELD_NUMBER = 2; private volatile java.lang.Object key_; /** * optional string key = 2; */ public boolean hasKey() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string key = 2; */ 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 = 2; */ 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 UUID_FIELD_NUMBER = 3; private volatile java.lang.Object uuid_; /** * optional string uuid = 3; */ public boolean hasUuid() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string uuid = 3; */ public java.lang.String getUuid() { java.lang.Object ref = uuid_; 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()) { uuid_ = s; } return s; } } /** * optional string uuid = 3; */ public com.google.protobuf.ByteString getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uuid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENABLED_FIELD_NUMBER = 4; private boolean enabled_; /** * optional bool enabled = 4; */ public boolean hasEnabled() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool enabled = 4; */ public boolean getEnabled() { return enabled_; } public static final int QUALIFIER_FIELD_NUMBER = 5; private volatile java.lang.Object qualifier_; /** * optional string qualifier = 5; */ public boolean hasQualifier() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string qualifier = 5; */ public java.lang.String getQualifier() { java.lang.Object ref = qualifier_; 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()) { qualifier_ = s; } return s; } } /** * optional string qualifier = 5; */ public com.google.protobuf.ByteString getQualifierBytes() { java.lang.Object ref = qualifier_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** * optional string name = 6; */ public boolean hasName() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string name = 6; */ 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 = 6; */ 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; } } public static final int LONGNAME_FIELD_NUMBER = 7; private volatile java.lang.Object longName_; /** * optional string longName = 7; */ public boolean hasLongName() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string longName = 7; */ public java.lang.String getLongName() { java.lang.Object ref = longName_; 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()) { longName_ = s; } return s; } } /** * optional string longName = 7; */ public com.google.protobuf.ByteString getLongNameBytes() { java.lang.Object ref = longName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 8; private volatile java.lang.Object path_; /** * optional string path = 8; */ public boolean hasPath() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string path = 8; */ 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 = 8; */ 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 PROJECTID_FIELD_NUMBER = 9; private long projectId_; /** * optional int64 projectId = 9; */ public boolean hasProjectId() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional int64 projectId = 9; */ public long getProjectId() { return projectId_; } public static final int SUBPROJECTID_FIELD_NUMBER = 10; private long subProjectId_; /** * optional int64 subProjectId = 10; */ public boolean hasSubProjectId() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional int64 subProjectId = 10; */ public long getSubProjectId() { return subProjectId_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, key_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, uuid_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, enabled_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessage.writeString(output, 5, qualifier_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessage.writeString(output, 6, name_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { com.google.protobuf.GeneratedMessage.writeString(output, 7, longName_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { com.google.protobuf.GeneratedMessage.writeString(output, 8, path_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeInt64(9, projectId_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeInt64(10, subProjectId_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, key_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, uuid_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, enabled_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(5, qualifier_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(6, name_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(7, longName_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(8, path_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, projectId_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(10, subProjectId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Issues.Component parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Component parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Component parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Issues.Component parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Issues.Component parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Component parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Component parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Issues.Component parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Issues.Component parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Issues.Component parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.sonarqube.ws.Issues.Component prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code sonarqube.ws.issues.Component} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.issues.Component) org.sonarqube.ws.Issues.ComponentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Component_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Component_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Issues.Component.class, org.sonarqube.ws.Issues.Component.Builder.class); } // Construct using org.sonarqube.ws.Issues.Component.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(); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); key_ = ""; bitField0_ = (bitField0_ & ~0x00000002); uuid_ = ""; bitField0_ = (bitField0_ & ~0x00000004); enabled_ = false; bitField0_ = (bitField0_ & ~0x00000008); qualifier_ = ""; bitField0_ = (bitField0_ & ~0x00000010); name_ = ""; bitField0_ = (bitField0_ & ~0x00000020); longName_ = ""; bitField0_ = (bitField0_ & ~0x00000040); path_ = ""; bitField0_ = (bitField0_ & ~0x00000080); projectId_ = 0L; bitField0_ = (bitField0_ & ~0x00000100); subProjectId_ = 0L; bitField0_ = (bitField0_ & ~0x00000200); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Issues.internal_static_sonarqube_ws_issues_Component_descriptor; } public org.sonarqube.ws.Issues.Component getDefaultInstanceForType() { return org.sonarqube.ws.Issues.Component.getDefaultInstance(); } public org.sonarqube.ws.Issues.Component build() { org.sonarqube.ws.Issues.Component result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Issues.Component buildPartial() { org.sonarqube.ws.Issues.Component result = new org.sonarqube.ws.Issues.Component(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.id_ = id_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.key_ = key_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.uuid_ = uuid_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.enabled_ = enabled_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.qualifier_ = qualifier_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.name_ = name_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.longName_ = longName_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.path_ = path_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.projectId_ = projectId_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.subProjectId_ = subProjectId_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Issues.Component) { return mergeFrom((org.sonarqube.ws.Issues.Component)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Issues.Component other) { if (other == org.sonarqube.ws.Issues.Component.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasKey()) { bitField0_ |= 0x00000002; key_ = other.key_; onChanged(); } if (other.hasUuid()) { bitField0_ |= 0x00000004; uuid_ = other.uuid_; onChanged(); } if (other.hasEnabled()) { setEnabled(other.getEnabled()); } if (other.hasQualifier()) { bitField0_ |= 0x00000010; qualifier_ = other.qualifier_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000020; name_ = other.name_; onChanged(); } if (other.hasLongName()) { bitField0_ |= 0x00000040; longName_ = other.longName_; onChanged(); } if (other.hasPath()) { bitField0_ |= 0x00000080; path_ = other.path_; onChanged(); } if (other.hasProjectId()) { setProjectId(other.getProjectId()); } if (other.hasSubProjectId()) { setSubProjectId(other.getSubProjectId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.sonarqube.ws.Issues.Component parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Issues.Component) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long id_ ; /** * optional int64 id = 1; */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 id = 1; */ public long getId() { return id_; } /** * optional int64 id = 1; */ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** * optional int64 id = 1; */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; onChanged(); return this; } private java.lang.Object key_ = ""; /** * optional string key = 2; */ public boolean hasKey() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string key = 2; */ 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 = 2; */ 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 = 2; */ public Builder setKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; key_ = value; onChanged(); return this; } /** * optional string key = 2; */ public Builder clearKey() { bitField0_ = (bitField0_ & ~0x00000002); key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** * optional string key = 2; */ public Builder setKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; key_ = value; onChanged(); return this; } private java.lang.Object uuid_ = ""; /** * optional string uuid = 3; */ public boolean hasUuid() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string uuid = 3; */ public java.lang.String getUuid() { java.lang.Object ref = uuid_; 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()) { uuid_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string uuid = 3; */ public com.google.protobuf.ByteString getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uuid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string uuid = 3; */ public Builder setUuid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; uuid_ = value; onChanged(); return this; } /** * optional string uuid = 3; */ public Builder clearUuid() { bitField0_ = (bitField0_ & ~0x00000004); uuid_ = getDefaultInstance().getUuid(); onChanged(); return this; } /** * optional string uuid = 3; */ public Builder setUuidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; uuid_ = value; onChanged(); return this; } private boolean enabled_ ; /** * optional bool enabled = 4; */ public boolean hasEnabled() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool enabled = 4; */ public boolean getEnabled() { return enabled_; } /** * optional bool enabled = 4; */ public Builder setEnabled(boolean value) { bitField0_ |= 0x00000008; enabled_ = value; onChanged(); return this; } /** * optional bool enabled = 4; */ public Builder clearEnabled() { bitField0_ = (bitField0_ & ~0x00000008); enabled_ = false; onChanged(); return this; } private java.lang.Object qualifier_ = ""; /** * optional string qualifier = 5; */ public boolean hasQualifier() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string qualifier = 5; */ public java.lang.String getQualifier() { java.lang.Object ref = qualifier_; 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()) { qualifier_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string qualifier = 5; */ public com.google.protobuf.ByteString getQualifierBytes() { java.lang.Object ref = qualifier_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string qualifier = 5; */ public Builder setQualifier( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; qualifier_ = value; onChanged(); return this; } /** * optional string qualifier = 5; */ public Builder clearQualifier() { bitField0_ = (bitField0_ & ~0x00000010); qualifier_ = getDefaultInstance().getQualifier(); onChanged(); return this; } /** * optional string qualifier = 5; */ public Builder setQualifierBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; qualifier_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * optional string name = 6; */ public boolean hasName() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string name = 6; */ 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 = 6; */ 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 = 6; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; name_ = value; onChanged(); return this; } /** * optional string name = 6; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000020); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 6; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; name_ = value; onChanged(); return this; } private java.lang.Object longName_ = ""; /** * optional string longName = 7; */ public boolean hasLongName() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string longName = 7; */ public java.lang.String getLongName() { java.lang.Object ref = longName_; 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()) { longName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string longName = 7; */ public com.google.protobuf.ByteString getLongNameBytes() { java.lang.Object ref = longName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string longName = 7; */ public Builder setLongName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; longName_ = value; onChanged(); return this; } /** * optional string longName = 7; */ public Builder clearLongName() { bitField0_ = (bitField0_ & ~0x00000040); longName_ = getDefaultInstance().getLongName(); onChanged(); return this; } /** * optional string longName = 7; */ public Builder setLongNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; longName_ = value; onChanged(); return this; } private java.lang.Object path_ = ""; /** * optional string path = 8; */ public boolean hasPath() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string path = 8; */ 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 = 8; */ 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 = 8; */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; path_ = value; onChanged(); return this; } /** * optional string path = 8; */ public Builder clearPath() { bitField0_ = (bitField0_ & ~0x00000080); path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * optional string path = 8; */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; path_ = value; onChanged(); return this; } private long projectId_ ; /** * optional int64 projectId = 9; */ public boolean hasProjectId() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional int64 projectId = 9; */ public long getProjectId() { return projectId_; } /** * optional int64 projectId = 9; */ public Builder setProjectId(long value) { bitField0_ |= 0x00000100; projectId_ = value; onChanged(); return this; } /** * optional int64 projectId = 9; */ public Builder clearProjectId() { bitField0_ = (bitField0_ & ~0x00000100); projectId_ = 0L; onChanged(); return this; } private long subProjectId_ ; /** * optional int64 subProjectId = 10; */ public boolean hasSubProjectId() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional int64 subProjectId = 10; */ public long getSubProjectId() { return subProjectId_; } /** * optional int64 subProjectId = 10; */ public Builder setSubProjectId(long value) { bitField0_ |= 0x00000200; subProjectId_ = value; onChanged(); return this; } /** * optional int64 subProjectId = 10; */ public Builder clearSubProjectId() { bitField0_ = (bitField0_ & ~0x00000200); subProjectId_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.issues.Component) } // @@protoc_insertion_point(class_scope:sonarqube.ws.issues.Component) private static final org.sonarqube.ws.Issues.Component DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Issues.Component(); } public static org.sonarqube.ws.Issues.Component getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Component parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Component(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.sonarqube.ws.Issues.Component getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_SearchWsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_SearchWsResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_Operation_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_Operation_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_Issue_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_Issue_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_Transitions_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_Transitions_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_Actions_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_Actions_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_Flow_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_Flow_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_Location_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_Location_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_Comment_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_Comment_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_Comments_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_Comments_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_ActionPlan_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_ActionPlan_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_ActionPlans_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_ActionPlans_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_Language_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_Language_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_Languages_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_Languages_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_issues_Component_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_issues_Component_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\017ws-issues.proto\022\023sonarqube.ws.issues\032\020" + "ws-commons.proto\"\344\003\n\020SearchWsResponse\022\r\n" + "\005total\030\001 \001(\003\022\t\n\001p\030\002 \001(\003\022\n\n\002ps\030\003 \001(\005\022,\n\006p" + "aging\030\004 \001(\0132\034.sonarqube.ws.commons.Pagin" + "g\022\023\n\013effortTotal\030\r \001(\003\022\021\n\tdebtTotal\030\005 \001(" + "\003\022*\n\006issues\030\006 \003(\0132\032.sonarqube.ws.issues." + "Issue\0222\n\ncomponents\030\007 \003(\0132\036.sonarqube.ws" + ".issues.Component\022*\n\005rules\030\010 \001(\0132\033.sonar" + "qube.ws.commons.Rules\022*\n\005users\030\t \001(\0132\033.s" + "onarqube.ws.commons.Users\022;\n\021unusedActio", "nPlans\030\n \001(\0132 .sonarqube.ws.issues.Actio" + "nPlans\0221\n\tlanguages\030\013 \001(\0132\036.sonarqube.ws" + ".issues.Languages\022,\n\006facets\030\014 \001(\0132\034.sona" + "rqube.ws.commons.Facets\"\207\002\n\tOperation\022)\n" + "\005issue\030\001 \001(\0132\032.sonarqube.ws.issues.Issue" + "\0222\n\ncomponents\030\002 \003(\0132\036.sonarqube.ws.issu" + "es.Component\022)\n\005rules\030\003 \003(\0132\032.sonarqube." + "ws.commons.Rule\022)\n\005users\030\004 \003(\0132\032.sonarqu" + "be.ws.commons.User\022E\n\034actiunusedActionPl" + "ansonPlans\030\005 \003(\0132\037.sonarqube.ws.issues.A", "ctionPlan\"\322\005\n\005Issue\022\013\n\003key\030\001 \001(\t\022\014\n\004rule" + "\030\002 \001(\t\0220\n\010severity\030\003 \001(\0162\036.sonarqube.ws." + "commons.Severity\022\021\n\tcomponent\030\004 \001(\t\022\023\n\013c" + "omponentId\030\005 \001(\003\022\017\n\007project\030\006 \001(\t\022\022\n\nsub" + "Project\030\007 \001(\t\022\014\n\004line\030\010 \001(\005\0222\n\ttextRange" + "\030\t \001(\0132\037.sonarqube.ws.commons.TextRange\022" + "(\n\005flows\030\n \003(\0132\031.sonarqube.ws.issues.Flo" + "w\022\022\n\nresolution\030\013 \001(\t\022\016\n\006status\030\014 \001(\t\022\017\n" + "\007message\030\r \001(\t\022\016\n\006effort\030\034 \001(\t\022\014\n\004debt\030\016" + " \001(\t\022\020\n\010assignee\030\017 \001(\t\022\026\n\016unusedReporter", "\030\020 \001(\t\022\016\n\006author\030\021 \001(\t\022\022\n\nactionPlan\030\022 \001" + "(\t\022\014\n\004tags\030\023 \003(\t\0225\n\013transitions\030\024 \001(\0132 ." + "sonarqube.ws.issues.Transitions\022-\n\007actio" + "ns\030\025 \001(\0132\034.sonarqube.ws.issues.Actions\022/" + "\n\010comments\030\026 \001(\0132\035.sonarqube.ws.issues.C" + "omments\022\024\n\014creationDate\030\027 \001(\t\022\022\n\nupdateD" + "ate\030\030 \001(\t\022\022\n\nfUpdateAge\030\031 \001(\t\022\021\n\tcloseDa" + "te\030\032 \001(\t\022,\n\004type\030\033 \001(\0162\036.sonarqube.ws.co" + "mmons.RuleType\"\"\n\013Transitions\022\023\n\013transit" + "ions\030\001 \003(\t\"\032\n\007Actions\022\017\n\007actions\030\001 \003(\t\"8", "\n\004Flow\0220\n\tlocations\030\001 \003(\0132\035.sonarqube.ws" + ".issues.Location\"`\n\010Location\022\023\n\013componen" + "tId\030\001 \001(\t\0222\n\ttextRange\030\002 \001(\0132\037.sonarqube" + ".ws.commons.TextRange\022\013\n\003msg\030\003 \001(\t\"\220\001\n\007C" + "omment\022\013\n\003key\030\001 \001(\t\022\r\n\005login\030\002 \001(\t\022\r\n\005em" + "ail\030\003 \001(\t\022\020\n\010userName\030\004 \001(\t\022\020\n\010htmlText\030" + "\005 \001(\t\022\020\n\010markdown\030\006 \001(\t\022\021\n\tupdatable\030\007 \001" + "(\010\022\021\n\tcreatedAt\030\010 \001(\t\":\n\010Comments\022.\n\010com" + "ments\030\001 \003(\0132\034.sonarqube.ws.issues.Commen" + "t\"Z\n\nActionPlan\022\013\n\003key\030\001 \001(\t\022\014\n\004name\030\002 \001", "(\t\022\016\n\006status\030\003 \001(\t\022\020\n\010deadLine\030\004 \001(\t\022\017\n\007" + "project\030\005 \001(\t\"C\n\013ActionPlans\0224\n\013actionPl" + "ans\030\001 \003(\0132\037.sonarqube.ws.issues.ActionPl" + "an\"%\n\010Language\022\013\n\003key\030\001 \001(\t\022\014\n\004name\030\002 \001(" + "\t\"=\n\tLanguages\0220\n\tlanguages\030\001 \003(\0132\035.sona" + "rqube.ws.issues.Language\"\255\001\n\tComponent\022\n" + "\n\002id\030\001 \001(\003\022\013\n\003key\030\002 \001(\t\022\014\n\004uuid\030\003 \001(\t\022\017\n" + "\007enabled\030\004 \001(\010\022\021\n\tqualifier\030\005 \001(\t\022\014\n\004nam" + "e\030\006 \001(\t\022\020\n\010longName\030\007 \001(\t\022\014\n\004path\030\010 \001(\t\022" + "\021\n\tprojectId\030\t \001(\003\022\024\n\014subProjectId\030\n \001(\003", "B\034\n\020org.sonarqube.wsB\006IssuesH\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.sonarqube.ws.Common.getDescriptor(), }, assigner); internal_static_sonarqube_ws_issues_SearchWsResponse_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_sonarqube_ws_issues_SearchWsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_SearchWsResponse_descriptor, new java.lang.String[] { "Total", "P", "Ps", "Paging", "EffortTotal", "DebtTotal", "Issues", "Components", "Rules", "Users", "UnusedActionPlans", "Languages", "Facets", }); internal_static_sonarqube_ws_issues_Operation_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_sonarqube_ws_issues_Operation_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Operation_descriptor, new java.lang.String[] { "Issue", "Components", "Rules", "Users", "ActiunusedActionPlansonPlans", }); internal_static_sonarqube_ws_issues_Issue_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_sonarqube_ws_issues_Issue_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Issue_descriptor, new java.lang.String[] { "Key", "Rule", "Severity", "Component", "ComponentId", "Project", "SubProject", "Line", "TextRange", "Flows", "Resolution", "Status", "Message", "Effort", "Debt", "Assignee", "UnusedReporter", "Author", "ActionPlan", "Tags", "Transitions", "Actions", "Comments", "CreationDate", "UpdateDate", "FUpdateAge", "CloseDate", "Type", }); internal_static_sonarqube_ws_issues_Transitions_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_sonarqube_ws_issues_Transitions_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Transitions_descriptor, new java.lang.String[] { "Transitions", }); internal_static_sonarqube_ws_issues_Actions_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_sonarqube_ws_issues_Actions_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Actions_descriptor, new java.lang.String[] { "Actions", }); internal_static_sonarqube_ws_issues_Flow_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_sonarqube_ws_issues_Flow_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Flow_descriptor, new java.lang.String[] { "Locations", }); internal_static_sonarqube_ws_issues_Location_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_sonarqube_ws_issues_Location_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Location_descriptor, new java.lang.String[] { "ComponentId", "TextRange", "Msg", }); internal_static_sonarqube_ws_issues_Comment_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_sonarqube_ws_issues_Comment_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Comment_descriptor, new java.lang.String[] { "Key", "Login", "Email", "UserName", "HtmlText", "Markdown", "Updatable", "CreatedAt", }); internal_static_sonarqube_ws_issues_Comments_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_sonarqube_ws_issues_Comments_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Comments_descriptor, new java.lang.String[] { "Comments", }); internal_static_sonarqube_ws_issues_ActionPlan_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_sonarqube_ws_issues_ActionPlan_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_ActionPlan_descriptor, new java.lang.String[] { "Key", "Name", "Status", "DeadLine", "Project", }); internal_static_sonarqube_ws_issues_ActionPlans_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_sonarqube_ws_issues_ActionPlans_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_ActionPlans_descriptor, new java.lang.String[] { "ActionPlans", }); internal_static_sonarqube_ws_issues_Language_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_sonarqube_ws_issues_Language_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Language_descriptor, new java.lang.String[] { "Key", "Name", }); internal_static_sonarqube_ws_issues_Languages_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_sonarqube_ws_issues_Languages_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Languages_descriptor, new java.lang.String[] { "Languages", }); internal_static_sonarqube_ws_issues_Component_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_sonarqube_ws_issues_Component_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_issues_Component_descriptor, new java.lang.String[] { "Id", "Key", "Uuid", "Enabled", "Qualifier", "Name", "LongName", "Path", "ProjectId", "SubProjectId", }); org.sonarqube.ws.Common.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy