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

org.sonarqube.ws.Rules 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-rules.proto

package org.sonarqube.ws;

public final class Rules {
  private Rules() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
  }
  public interface ListResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.ListResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1;
     */
    java.util.List 
        getRulesList();
    /**
     * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1;
     */
    org.sonarqube.ws.Rules.ListResponse.Rule getRules(int index);
    /**
     * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1;
     */
    int getRulesCount();
    /**
     * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1;
     */
    java.util.List 
        getRulesOrBuilderList();
    /**
     * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1;
     */
    org.sonarqube.ws.Rules.ListResponse.RuleOrBuilder getRulesOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code sonarqube.ws.rules.ListResponse}
   *
   * 
   * WS api/rules/list for internal use only
   * 
*/ public static final class ListResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.ListResponse) ListResponseOrBuilder { // Use ListResponse.newBuilder() to construct. private ListResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ListResponse() { rules_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListResponse( 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)) { rules_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } rules_.add(input.readMessage(org.sonarqube.ws.Rules.ListResponse.Rule.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)) { rules_ = java.util.Collections.unmodifiableList(rules_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ListResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ListResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.ListResponse.class, org.sonarqube.ws.Rules.ListResponse.Builder.class); } public interface RuleOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.ListResponse.Rule) com.google.protobuf.MessageOrBuilder { /** * optional string repository = 1; */ boolean hasRepository(); /** * optional string repository = 1; */ java.lang.String getRepository(); /** * optional string repository = 1; */ com.google.protobuf.ByteString getRepositoryBytes(); /** * 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 internal_key = 3; */ boolean hasInternalKey(); /** * optional string internal_key = 3; */ java.lang.String getInternalKey(); /** * optional string internal_key = 3; */ com.google.protobuf.ByteString getInternalKeyBytes(); /** * optional string name = 4; */ boolean hasName(); /** * optional string name = 4; */ java.lang.String getName(); /** * optional string name = 4; */ com.google.protobuf.ByteString getNameBytes(); } /** * Protobuf type {@code sonarqube.ws.rules.ListResponse.Rule} */ public static final class Rule extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.ListResponse.Rule) RuleOrBuilder { // Use Rule.newBuilder() to construct. private Rule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Rule() { repository_ = ""; key_ = ""; internalKey_ = ""; name_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Rule( 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; repository_ = bs; 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; internalKey_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; 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.Rules.internal_static_sonarqube_ws_rules_ListResponse_Rule_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ListResponse_Rule_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.ListResponse.Rule.class, org.sonarqube.ws.Rules.ListResponse.Rule.Builder.class); } private int bitField0_; public static final int REPOSITORY_FIELD_NUMBER = 1; private volatile java.lang.Object repository_; /** * optional string repository = 1; */ public boolean hasRepository() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string repository = 1; */ public java.lang.String getRepository() { java.lang.Object ref = repository_; 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()) { repository_ = s; } return s; } } /** * optional string repository = 1; */ public com.google.protobuf.ByteString getRepositoryBytes() { java.lang.Object ref = repository_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); repository_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 INTERNAL_KEY_FIELD_NUMBER = 3; private volatile java.lang.Object internalKey_; /** * optional string internal_key = 3; */ public boolean hasInternalKey() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string internal_key = 3; */ public java.lang.String getInternalKey() { java.lang.Object ref = internalKey_; 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()) { internalKey_ = s; } return s; } } /** * optional string internal_key = 3; */ public com.google.protobuf.ByteString getInternalKeyBytes() { java.lang.Object ref = internalKey_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); internalKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** * optional string name = 4; */ public boolean hasName() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string name = 4; */ 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 = 4; */ 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, repository_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, key_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, internalKey_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessage.writeString(output, 4, 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, repository_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, key_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, internalKey_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(4, name_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.ListResponse.Rule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.ListResponse.Rule 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.Rules.ListResponse.Rule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.ListResponse.Rule parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.ListResponse.Rule parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.ListResponse.Rule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.ListResponse.Rule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.ListResponse.Rule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.ListResponse.Rule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.ListResponse.Rule 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.Rules.ListResponse.Rule 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.rules.ListResponse.Rule} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.ListResponse.Rule) org.sonarqube.ws.Rules.ListResponse.RuleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ListResponse_Rule_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ListResponse_Rule_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.ListResponse.Rule.class, org.sonarqube.ws.Rules.ListResponse.Rule.Builder.class); } // Construct using org.sonarqube.ws.Rules.ListResponse.Rule.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(); repository_ = ""; bitField0_ = (bitField0_ & ~0x00000001); key_ = ""; bitField0_ = (bitField0_ & ~0x00000002); internalKey_ = ""; bitField0_ = (bitField0_ & ~0x00000004); name_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ListResponse_Rule_descriptor; } public org.sonarqube.ws.Rules.ListResponse.Rule getDefaultInstanceForType() { return org.sonarqube.ws.Rules.ListResponse.Rule.getDefaultInstance(); } public org.sonarqube.ws.Rules.ListResponse.Rule build() { org.sonarqube.ws.Rules.ListResponse.Rule result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.ListResponse.Rule buildPartial() { org.sonarqube.ws.Rules.ListResponse.Rule result = new org.sonarqube.ws.Rules.ListResponse.Rule(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.repository_ = repository_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.key_ = key_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.internalKey_ = internalKey_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.name_ = name_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.ListResponse.Rule) { return mergeFrom((org.sonarqube.ws.Rules.ListResponse.Rule)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.ListResponse.Rule other) { if (other == org.sonarqube.ws.Rules.ListResponse.Rule.getDefaultInstance()) return this; if (other.hasRepository()) { bitField0_ |= 0x00000001; repository_ = other.repository_; onChanged(); } if (other.hasKey()) { bitField0_ |= 0x00000002; key_ = other.key_; onChanged(); } if (other.hasInternalKey()) { bitField0_ |= 0x00000004; internalKey_ = other.internalKey_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000008; 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.Rules.ListResponse.Rule parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.ListResponse.Rule) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object repository_ = ""; /** * optional string repository = 1; */ public boolean hasRepository() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string repository = 1; */ public java.lang.String getRepository() { java.lang.Object ref = repository_; 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()) { repository_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string repository = 1; */ public com.google.protobuf.ByteString getRepositoryBytes() { java.lang.Object ref = repository_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); repository_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string repository = 1; */ public Builder setRepository( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; repository_ = value; onChanged(); return this; } /** * optional string repository = 1; */ public Builder clearRepository() { bitField0_ = (bitField0_ & ~0x00000001); repository_ = getDefaultInstance().getRepository(); onChanged(); return this; } /** * optional string repository = 1; */ public Builder setRepositoryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; repository_ = value; 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 internalKey_ = ""; /** * optional string internal_key = 3; */ public boolean hasInternalKey() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string internal_key = 3; */ public java.lang.String getInternalKey() { java.lang.Object ref = internalKey_; 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()) { internalKey_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string internal_key = 3; */ public com.google.protobuf.ByteString getInternalKeyBytes() { java.lang.Object ref = internalKey_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); internalKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string internal_key = 3; */ public Builder setInternalKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; internalKey_ = value; onChanged(); return this; } /** * optional string internal_key = 3; */ public Builder clearInternalKey() { bitField0_ = (bitField0_ & ~0x00000004); internalKey_ = getDefaultInstance().getInternalKey(); onChanged(); return this; } /** * optional string internal_key = 3; */ public Builder setInternalKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; internalKey_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * optional string name = 4; */ public boolean hasName() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string name = 4; */ 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 = 4; */ 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 = 4; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; name_ = value; onChanged(); return this; } /** * optional string name = 4; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000008); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 4; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; name_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.ListResponse.Rule) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.ListResponse.Rule) private static final org.sonarqube.ws.Rules.ListResponse.Rule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.ListResponse.Rule(); } public static org.sonarqube.ws.Rules.ListResponse.Rule getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Rule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Rule(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.Rules.ListResponse.Rule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int RULES_FIELD_NUMBER = 1; private java.util.List rules_; /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public java.util.List getRulesList() { return rules_; } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public java.util.List getRulesOrBuilderList() { return rules_; } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public int getRulesCount() { return rules_.size(); } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public org.sonarqube.ws.Rules.ListResponse.Rule getRules(int index) { return rules_.get(index); } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public org.sonarqube.ws.Rules.ListResponse.RuleOrBuilder getRulesOrBuilder( int index) { return rules_.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 < rules_.size(); i++) { output.writeMessage(1, rules_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, rules_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.ListResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.ListResponse 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.Rules.ListResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.ListResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.ListResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.ListResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.ListResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.ListResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.ListResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.ListResponse 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.Rules.ListResponse 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.rules.ListResponse} * *
     * WS api/rules/list for internal use only
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.ListResponse) org.sonarqube.ws.Rules.ListResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ListResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ListResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.ListResponse.class, org.sonarqube.ws.Rules.ListResponse.Builder.class); } // Construct using org.sonarqube.ws.Rules.ListResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRulesFieldBuilder(); } } public Builder clear() { super.clear(); if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { rulesBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ListResponse_descriptor; } public org.sonarqube.ws.Rules.ListResponse getDefaultInstanceForType() { return org.sonarqube.ws.Rules.ListResponse.getDefaultInstance(); } public org.sonarqube.ws.Rules.ListResponse build() { org.sonarqube.ws.Rules.ListResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.ListResponse buildPartial() { org.sonarqube.ws.Rules.ListResponse result = new org.sonarqube.ws.Rules.ListResponse(this); int from_bitField0_ = bitField0_; if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { rules_ = java.util.Collections.unmodifiableList(rules_); bitField0_ = (bitField0_ & ~0x00000001); } result.rules_ = rules_; } else { result.rules_ = rulesBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.ListResponse) { return mergeFrom((org.sonarqube.ws.Rules.ListResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.ListResponse other) { if (other == org.sonarqube.ws.Rules.ListResponse.getDefaultInstance()) return this; if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRulesIsMutable(); rules_.addAll(other.rules_); } onChanged(); } } else { if (!other.rules_.isEmpty()) { if (rulesBuilder_.isEmpty()) { rulesBuilder_.dispose(); rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); rulesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } } } 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.Rules.ListResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.ListResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List rules_ = java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.ListResponse.Rule, org.sonarqube.ws.Rules.ListResponse.Rule.Builder, org.sonarqube.ws.Rules.ListResponse.RuleOrBuilder> rulesBuilder_; /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { return java.util.Collections.unmodifiableList(rules_); } else { return rulesBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public int getRulesCount() { if (rulesBuilder_ == null) { return rules_.size(); } else { return rulesBuilder_.getCount(); } } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public org.sonarqube.ws.Rules.ListResponse.Rule getRules(int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public Builder setRules( int index, org.sonarqube.ws.Rules.ListResponse.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.rules.ListResponse.Rule rules = 1; */ public Builder setRules( int index, org.sonarqube.ws.Rules.ListResponse.Rule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.set(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public Builder addRules(org.sonarqube.ws.Rules.ListResponse.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.rules.ListResponse.Rule rules = 1; */ public Builder addRules( int index, org.sonarqube.ws.Rules.ListResponse.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.rules.ListResponse.Rule rules = 1; */ public Builder addRules( org.sonarqube.ws.Rules.ListResponse.Rule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public Builder addRules( int index, org.sonarqube.ws.Rules.ListResponse.Rule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ 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.rules.ListResponse.Rule rules = 1; */ public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { rulesBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.remove(index); onChanged(); } else { rulesBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public org.sonarqube.ws.Rules.ListResponse.Rule.Builder getRulesBuilder( int index) { return getRulesFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public org.sonarqube.ws.Rules.ListResponse.RuleOrBuilder getRulesOrBuilder( int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public java.util.List getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rules_); } } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public org.sonarqube.ws.Rules.ListResponse.Rule.Builder addRulesBuilder() { return getRulesFieldBuilder().addBuilder( org.sonarqube.ws.Rules.ListResponse.Rule.getDefaultInstance()); } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public org.sonarqube.ws.Rules.ListResponse.Rule.Builder addRulesBuilder( int index) { return getRulesFieldBuilder().addBuilder( index, org.sonarqube.ws.Rules.ListResponse.Rule.getDefaultInstance()); } /** * repeated .sonarqube.ws.rules.ListResponse.Rule rules = 1; */ public java.util.List getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.ListResponse.Rule, org.sonarqube.ws.Rules.ListResponse.Rule.Builder, org.sonarqube.ws.Rules.ListResponse.RuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.ListResponse.Rule, org.sonarqube.ws.Rules.ListResponse.Rule.Builder, org.sonarqube.ws.Rules.ListResponse.RuleOrBuilder>( rules_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.ListResponse) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.ListResponse) private static final org.sonarqube.ws.Rules.ListResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.ListResponse(); } public static org.sonarqube.ws.Rules.ListResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new ListResponse(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.Rules.ListResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SearchResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.SearchResponse) com.google.protobuf.MessageOrBuilder { /** * optional int64 total = 1; */ boolean hasTotal(); /** * optional int64 total = 1; */ long getTotal(); /** * optional int32 p = 2; */ boolean hasP(); /** * optional int32 p = 2; */ int getP(); /** * optional int64 ps = 3; */ boolean hasPs(); /** * optional int64 ps = 3; */ long getPs(); /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ java.util.List getRulesList(); /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ org.sonarqube.ws.Rules.Rule getRules(int index); /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ int getRulesCount(); /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ java.util.List getRulesOrBuilderList(); /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ org.sonarqube.ws.Rules.RuleOrBuilder getRulesOrBuilder( int index); /** * optional .sonarqube.ws.rules.Actives actives = 5; */ boolean hasActives(); /** * optional .sonarqube.ws.rules.Actives actives = 5; */ org.sonarqube.ws.Rules.Actives getActives(); /** * optional .sonarqube.ws.rules.Actives actives = 5; */ org.sonarqube.ws.Rules.ActivesOrBuilder getActivesOrBuilder(); /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ boolean hasQProfiles(); /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ org.sonarqube.ws.Rules.QProfiles getQProfiles(); /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ org.sonarqube.ws.Rules.QProfilesOrBuilder getQProfilesOrBuilder(); /** * optional .sonarqube.ws.commons.Facets facets = 7; */ boolean hasFacets(); /** * optional .sonarqube.ws.commons.Facets facets = 7; */ org.sonarqube.ws.Common.Facets getFacets(); /** * optional .sonarqube.ws.commons.Facets facets = 7; */ org.sonarqube.ws.Common.FacetsOrBuilder getFacetsOrBuilder(); } /** * Protobuf type {@code sonarqube.ws.rules.SearchResponse} * *
   * WS api/rules/search
   * 
*/ public static final class SearchResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.SearchResponse) SearchResponseOrBuilder { // Use SearchResponse.newBuilder() to construct. private SearchResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private SearchResponse() { total_ = 0L; p_ = 0; ps_ = 0L; rules_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SearchResponse( 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.readInt32(); break; } case 24: { bitField0_ |= 0x00000004; ps_ = input.readInt64(); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { rules_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } rules_.add(input.readMessage(org.sonarqube.ws.Rules.Rule.parser(), extensionRegistry)); break; } case 42: { org.sonarqube.ws.Rules.Actives.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = actives_.toBuilder(); } actives_ = input.readMessage(org.sonarqube.ws.Rules.Actives.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(actives_); actives_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 50: { org.sonarqube.ws.Rules.QProfiles.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = qProfiles_.toBuilder(); } qProfiles_ = input.readMessage(org.sonarqube.ws.Rules.QProfiles.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(qProfiles_); qProfiles_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 58: { org.sonarqube.ws.Common.Facets.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = facets_.toBuilder(); } facets_ = input.readMessage(org.sonarqube.ws.Common.Facets.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(facets_); facets_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; 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_ & 0x00000008) == 0x00000008)) { rules_ = java.util.Collections.unmodifiableList(rules_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_SearchResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_SearchResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.SearchResponse.class, org.sonarqube.ws.Rules.SearchResponse.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 int p_; /** * optional int32 p = 2; */ public boolean hasP() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int32 p = 2; */ public int getP() { return p_; } public static final int PS_FIELD_NUMBER = 3; private long ps_; /** * optional int64 ps = 3; */ public boolean hasPs() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 ps = 3; */ public long getPs() { return ps_; } public static final int RULES_FIELD_NUMBER = 4; private java.util.List rules_; /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public java.util.List getRulesList() { return rules_; } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public java.util.List getRulesOrBuilderList() { return rules_; } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public int getRulesCount() { return rules_.size(); } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public org.sonarqube.ws.Rules.Rule getRules(int index) { return rules_.get(index); } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public org.sonarqube.ws.Rules.RuleOrBuilder getRulesOrBuilder( int index) { return rules_.get(index); } public static final int ACTIVES_FIELD_NUMBER = 5; private org.sonarqube.ws.Rules.Actives actives_; /** * optional .sonarqube.ws.rules.Actives actives = 5; */ public boolean hasActives() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .sonarqube.ws.rules.Actives actives = 5; */ public org.sonarqube.ws.Rules.Actives getActives() { return actives_ == null ? org.sonarqube.ws.Rules.Actives.getDefaultInstance() : actives_; } /** * optional .sonarqube.ws.rules.Actives actives = 5; */ public org.sonarqube.ws.Rules.ActivesOrBuilder getActivesOrBuilder() { return actives_ == null ? org.sonarqube.ws.Rules.Actives.getDefaultInstance() : actives_; } public static final int QPROFILES_FIELD_NUMBER = 6; private org.sonarqube.ws.Rules.QProfiles qProfiles_; /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ public boolean hasQProfiles() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ public org.sonarqube.ws.Rules.QProfiles getQProfiles() { return qProfiles_ == null ? org.sonarqube.ws.Rules.QProfiles.getDefaultInstance() : qProfiles_; } /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ public org.sonarqube.ws.Rules.QProfilesOrBuilder getQProfilesOrBuilder() { return qProfiles_ == null ? org.sonarqube.ws.Rules.QProfiles.getDefaultInstance() : qProfiles_; } public static final int FACETS_FIELD_NUMBER = 7; private org.sonarqube.ws.Common.Facets facets_; /** * optional .sonarqube.ws.commons.Facets facets = 7; */ public boolean hasFacets() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .sonarqube.ws.commons.Facets facets = 7; */ public org.sonarqube.ws.Common.Facets getFacets() { return facets_ == null ? org.sonarqube.ws.Common.Facets.getDefaultInstance() : facets_; } /** * optional .sonarqube.ws.commons.Facets facets = 7; */ 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.writeInt32(2, p_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, ps_); } for (int i = 0; i < rules_.size(); i++) { output.writeMessage(4, rules_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(5, getActives()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(6, getQProfiles()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(7, getFacets()); } 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 .computeInt32Size(2, p_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, ps_); } for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, rules_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getActives()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getQProfiles()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getFacets()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.SearchResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.SearchResponse 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.Rules.SearchResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.SearchResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.SearchResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.SearchResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.SearchResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.SearchResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.SearchResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.SearchResponse 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.Rules.SearchResponse 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.rules.SearchResponse} * *
     * WS api/rules/search
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.SearchResponse) org.sonarqube.ws.Rules.SearchResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_SearchResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_SearchResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.SearchResponse.class, org.sonarqube.ws.Rules.SearchResponse.Builder.class); } // Construct using org.sonarqube.ws.Rules.SearchResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRulesFieldBuilder(); getActivesFieldBuilder(); getQProfilesFieldBuilder(); getFacetsFieldBuilder(); } } public Builder clear() { super.clear(); total_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); p_ = 0; bitField0_ = (bitField0_ & ~0x00000002); ps_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { rulesBuilder_.clear(); } if (activesBuilder_ == null) { actives_ = null; } else { activesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (qProfilesBuilder_ == null) { qProfiles_ = null; } else { qProfilesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (facetsBuilder_ == null) { facets_ = null; } else { facetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_SearchResponse_descriptor; } public org.sonarqube.ws.Rules.SearchResponse getDefaultInstanceForType() { return org.sonarqube.ws.Rules.SearchResponse.getDefaultInstance(); } public org.sonarqube.ws.Rules.SearchResponse build() { org.sonarqube.ws.Rules.SearchResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.SearchResponse buildPartial() { org.sonarqube.ws.Rules.SearchResponse result = new org.sonarqube.ws.Rules.SearchResponse(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 (rulesBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { rules_ = java.util.Collections.unmodifiableList(rules_); bitField0_ = (bitField0_ & ~0x00000008); } result.rules_ = rules_; } else { result.rules_ = rulesBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000008; } if (activesBuilder_ == null) { result.actives_ = actives_; } else { result.actives_ = activesBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000010; } if (qProfilesBuilder_ == null) { result.qProfiles_ = qProfiles_; } else { result.qProfiles_ = qProfilesBuilder_.build(); } if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000020; } 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.Rules.SearchResponse) { return mergeFrom((org.sonarqube.ws.Rules.SearchResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.SearchResponse other) { if (other == org.sonarqube.ws.Rules.SearchResponse.getDefaultInstance()) return this; if (other.hasTotal()) { setTotal(other.getTotal()); } if (other.hasP()) { setP(other.getP()); } if (other.hasPs()) { setPs(other.getPs()); } if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureRulesIsMutable(); rules_.addAll(other.rules_); } onChanged(); } } else { if (!other.rules_.isEmpty()) { if (rulesBuilder_.isEmpty()) { rulesBuilder_.dispose(); rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000008); rulesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } } } if (other.hasActives()) { mergeActives(other.getActives()); } if (other.hasQProfiles()) { mergeQProfiles(other.getQProfiles()); } 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.Rules.SearchResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.SearchResponse) 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 int p_ ; /** * optional int32 p = 2; */ public boolean hasP() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int32 p = 2; */ public int getP() { return p_; } /** * optional int32 p = 2; */ public Builder setP(int value) { bitField0_ |= 0x00000002; p_ = value; onChanged(); return this; } /** * optional int32 p = 2; */ public Builder clearP() { bitField0_ = (bitField0_ & ~0x00000002); p_ = 0; onChanged(); return this; } private long ps_ ; /** * optional int64 ps = 3; */ public boolean hasPs() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 ps = 3; */ public long getPs() { return ps_; } /** * optional int64 ps = 3; */ public Builder setPs(long value) { bitField0_ |= 0x00000004; ps_ = value; onChanged(); return this; } /** * optional int64 ps = 3; */ public Builder clearPs() { bitField0_ = (bitField0_ & ~0x00000004); ps_ = 0L; onChanged(); return this; } private java.util.List rules_ = java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Rule, org.sonarqube.ws.Rules.Rule.Builder, org.sonarqube.ws.Rules.RuleOrBuilder> rulesBuilder_; /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { return java.util.Collections.unmodifiableList(rules_); } else { return rulesBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public int getRulesCount() { if (rulesBuilder_ == null) { return rules_.size(); } else { return rulesBuilder_.getCount(); } } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public org.sonarqube.ws.Rules.Rule getRules(int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public Builder setRules( int index, org.sonarqube.ws.Rules.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.rules.Rule rules = 4; */ public Builder setRules( int index, org.sonarqube.ws.Rules.Rule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.set(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public Builder addRules(org.sonarqube.ws.Rules.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.rules.Rule rules = 4; */ public Builder addRules( int index, org.sonarqube.ws.Rules.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.rules.Rule rules = 4; */ public Builder addRules( org.sonarqube.ws.Rules.Rule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public Builder addRules( int index, org.sonarqube.ws.Rules.Rule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ 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.rules.Rule rules = 4; */ public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { rulesBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.remove(index); onChanged(); } else { rulesBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public org.sonarqube.ws.Rules.Rule.Builder getRulesBuilder( int index) { return getRulesFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public org.sonarqube.ws.Rules.RuleOrBuilder getRulesOrBuilder( int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public java.util.List getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rules_); } } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public org.sonarqube.ws.Rules.Rule.Builder addRulesBuilder() { return getRulesFieldBuilder().addBuilder( org.sonarqube.ws.Rules.Rule.getDefaultInstance()); } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public org.sonarqube.ws.Rules.Rule.Builder addRulesBuilder( int index) { return getRulesFieldBuilder().addBuilder( index, org.sonarqube.ws.Rules.Rule.getDefaultInstance()); } /** * repeated .sonarqube.ws.rules.Rule rules = 4; */ public java.util.List getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Rule, org.sonarqube.ws.Rules.Rule.Builder, org.sonarqube.ws.Rules.RuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Rule, org.sonarqube.ws.Rules.Rule.Builder, org.sonarqube.ws.Rules.RuleOrBuilder>( rules_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } private org.sonarqube.ws.Rules.Actives actives_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Actives, org.sonarqube.ws.Rules.Actives.Builder, org.sonarqube.ws.Rules.ActivesOrBuilder> activesBuilder_; /** * optional .sonarqube.ws.rules.Actives actives = 5; */ public boolean hasActives() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .sonarqube.ws.rules.Actives actives = 5; */ public org.sonarqube.ws.Rules.Actives getActives() { if (activesBuilder_ == null) { return actives_ == null ? org.sonarqube.ws.Rules.Actives.getDefaultInstance() : actives_; } else { return activesBuilder_.getMessage(); } } /** * optional .sonarqube.ws.rules.Actives actives = 5; */ public Builder setActives(org.sonarqube.ws.Rules.Actives value) { if (activesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } actives_ = value; onChanged(); } else { activesBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .sonarqube.ws.rules.Actives actives = 5; */ public Builder setActives( org.sonarqube.ws.Rules.Actives.Builder builderForValue) { if (activesBuilder_ == null) { actives_ = builderForValue.build(); onChanged(); } else { activesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .sonarqube.ws.rules.Actives actives = 5; */ public Builder mergeActives(org.sonarqube.ws.Rules.Actives value) { if (activesBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && actives_ != null && actives_ != org.sonarqube.ws.Rules.Actives.getDefaultInstance()) { actives_ = org.sonarqube.ws.Rules.Actives.newBuilder(actives_).mergeFrom(value).buildPartial(); } else { actives_ = value; } onChanged(); } else { activesBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .sonarqube.ws.rules.Actives actives = 5; */ public Builder clearActives() { if (activesBuilder_ == null) { actives_ = null; onChanged(); } else { activesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .sonarqube.ws.rules.Actives actives = 5; */ public org.sonarqube.ws.Rules.Actives.Builder getActivesBuilder() { bitField0_ |= 0x00000010; onChanged(); return getActivesFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.rules.Actives actives = 5; */ public org.sonarqube.ws.Rules.ActivesOrBuilder getActivesOrBuilder() { if (activesBuilder_ != null) { return activesBuilder_.getMessageOrBuilder(); } else { return actives_ == null ? org.sonarqube.ws.Rules.Actives.getDefaultInstance() : actives_; } } /** * optional .sonarqube.ws.rules.Actives actives = 5; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Actives, org.sonarqube.ws.Rules.Actives.Builder, org.sonarqube.ws.Rules.ActivesOrBuilder> getActivesFieldBuilder() { if (activesBuilder_ == null) { activesBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Actives, org.sonarqube.ws.Rules.Actives.Builder, org.sonarqube.ws.Rules.ActivesOrBuilder>( getActives(), getParentForChildren(), isClean()); actives_ = null; } return activesBuilder_; } private org.sonarqube.ws.Rules.QProfiles qProfiles_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.QProfiles, org.sonarqube.ws.Rules.QProfiles.Builder, org.sonarqube.ws.Rules.QProfilesOrBuilder> qProfilesBuilder_; /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ public boolean hasQProfiles() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ public org.sonarqube.ws.Rules.QProfiles getQProfiles() { if (qProfilesBuilder_ == null) { return qProfiles_ == null ? org.sonarqube.ws.Rules.QProfiles.getDefaultInstance() : qProfiles_; } else { return qProfilesBuilder_.getMessage(); } } /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ public Builder setQProfiles(org.sonarqube.ws.Rules.QProfiles value) { if (qProfilesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } qProfiles_ = value; onChanged(); } else { qProfilesBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ public Builder setQProfiles( org.sonarqube.ws.Rules.QProfiles.Builder builderForValue) { if (qProfilesBuilder_ == null) { qProfiles_ = builderForValue.build(); onChanged(); } else { qProfilesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ public Builder mergeQProfiles(org.sonarqube.ws.Rules.QProfiles value) { if (qProfilesBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020) && qProfiles_ != null && qProfiles_ != org.sonarqube.ws.Rules.QProfiles.getDefaultInstance()) { qProfiles_ = org.sonarqube.ws.Rules.QProfiles.newBuilder(qProfiles_).mergeFrom(value).buildPartial(); } else { qProfiles_ = value; } onChanged(); } else { qProfilesBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ public Builder clearQProfiles() { if (qProfilesBuilder_ == null) { qProfiles_ = null; onChanged(); } else { qProfilesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ public org.sonarqube.ws.Rules.QProfiles.Builder getQProfilesBuilder() { bitField0_ |= 0x00000020; onChanged(); return getQProfilesFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ public org.sonarqube.ws.Rules.QProfilesOrBuilder getQProfilesOrBuilder() { if (qProfilesBuilder_ != null) { return qProfilesBuilder_.getMessageOrBuilder(); } else { return qProfiles_ == null ? org.sonarqube.ws.Rules.QProfiles.getDefaultInstance() : qProfiles_; } } /** * optional .sonarqube.ws.rules.QProfiles qProfiles = 6; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.QProfiles, org.sonarqube.ws.Rules.QProfiles.Builder, org.sonarqube.ws.Rules.QProfilesOrBuilder> getQProfilesFieldBuilder() { if (qProfilesBuilder_ == null) { qProfilesBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.QProfiles, org.sonarqube.ws.Rules.QProfiles.Builder, org.sonarqube.ws.Rules.QProfilesOrBuilder>( getQProfiles(), getParentForChildren(), isClean()); qProfiles_ = null; } return qProfilesBuilder_; } 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 = 7; */ public boolean hasFacets() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .sonarqube.ws.commons.Facets facets = 7; */ 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 = 7; */ 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_ |= 0x00000040; return this; } /** * optional .sonarqube.ws.commons.Facets facets = 7; */ public Builder setFacets( org.sonarqube.ws.Common.Facets.Builder builderForValue) { if (facetsBuilder_ == null) { facets_ = builderForValue.build(); onChanged(); } else { facetsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .sonarqube.ws.commons.Facets facets = 7; */ public Builder mergeFacets(org.sonarqube.ws.Common.Facets value) { if (facetsBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040) && 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_ |= 0x00000040; return this; } /** * optional .sonarqube.ws.commons.Facets facets = 7; */ public Builder clearFacets() { if (facetsBuilder_ == null) { facets_ = null; onChanged(); } else { facetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .sonarqube.ws.commons.Facets facets = 7; */ public org.sonarqube.ws.Common.Facets.Builder getFacetsBuilder() { bitField0_ |= 0x00000040; onChanged(); return getFacetsFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.commons.Facets facets = 7; */ 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 = 7; */ 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.rules.SearchResponse) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.SearchResponse) private static final org.sonarqube.ws.Rules.SearchResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.SearchResponse(); } public static org.sonarqube.ws.Rules.SearchResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public SearchResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new SearchResponse(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.Rules.SearchResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.ShowResponse) com.google.protobuf.MessageOrBuilder { /** * optional .sonarqube.ws.rules.Rule rule = 1; */ boolean hasRule(); /** * optional .sonarqube.ws.rules.Rule rule = 1; */ org.sonarqube.ws.Rules.Rule getRule(); /** * optional .sonarqube.ws.rules.Rule rule = 1; */ org.sonarqube.ws.Rules.RuleOrBuilder getRuleOrBuilder(); /** * repeated .sonarqube.ws.rules.Active actives = 3; */ java.util.List getActivesList(); /** * repeated .sonarqube.ws.rules.Active actives = 3; */ org.sonarqube.ws.Rules.Active getActives(int index); /** * repeated .sonarqube.ws.rules.Active actives = 3; */ int getActivesCount(); /** * repeated .sonarqube.ws.rules.Active actives = 3; */ java.util.List getActivesOrBuilderList(); /** * repeated .sonarqube.ws.rules.Active actives = 3; */ org.sonarqube.ws.Rules.ActiveOrBuilder getActivesOrBuilder( int index); } /** * Protobuf type {@code sonarqube.ws.rules.ShowResponse} * *
   *WS api/rules/show
   * 
*/ public static final class ShowResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.ShowResponse) ShowResponseOrBuilder { // Use ShowResponse.newBuilder() to construct. private ShowResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ShowResponse() { actives_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowResponse( 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.Rules.Rule.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = rule_.toBuilder(); } rule_ = input.readMessage(org.sonarqube.ws.Rules.Rule.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rule_); rule_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 26: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { actives_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } actives_.add(input.readMessage(org.sonarqube.ws.Rules.Active.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)) { actives_ = java.util.Collections.unmodifiableList(actives_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ShowResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ShowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.ShowResponse.class, org.sonarqube.ws.Rules.ShowResponse.Builder.class); } private int bitField0_; public static final int RULE_FIELD_NUMBER = 1; private org.sonarqube.ws.Rules.Rule rule_; /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public boolean hasRule() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.Rule getRule() { return rule_ == null ? org.sonarqube.ws.Rules.Rule.getDefaultInstance() : rule_; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.RuleOrBuilder getRuleOrBuilder() { return rule_ == null ? org.sonarqube.ws.Rules.Rule.getDefaultInstance() : rule_; } public static final int ACTIVES_FIELD_NUMBER = 3; private java.util.List actives_; /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public java.util.List getActivesList() { return actives_; } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public java.util.List getActivesOrBuilderList() { return actives_; } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public int getActivesCount() { return actives_.size(); } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public org.sonarqube.ws.Rules.Active getActives(int index) { return actives_.get(index); } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public org.sonarqube.ws.Rules.ActiveOrBuilder getActivesOrBuilder( int index) { return actives_.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, getRule()); } for (int i = 0; i < actives_.size(); i++) { output.writeMessage(3, actives_.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, getRule()); } for (int i = 0; i < actives_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, actives_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.ShowResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.ShowResponse 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.Rules.ShowResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.ShowResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.ShowResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.ShowResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.ShowResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.ShowResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.ShowResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.ShowResponse 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.Rules.ShowResponse 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.rules.ShowResponse} * *
     *WS api/rules/show
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.ShowResponse) org.sonarqube.ws.Rules.ShowResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ShowResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ShowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.ShowResponse.class, org.sonarqube.ws.Rules.ShowResponse.Builder.class); } // Construct using org.sonarqube.ws.Rules.ShowResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRuleFieldBuilder(); getActivesFieldBuilder(); } } public Builder clear() { super.clear(); if (ruleBuilder_ == null) { rule_ = null; } else { ruleBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (activesBuilder_ == null) { actives_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { activesBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ShowResponse_descriptor; } public org.sonarqube.ws.Rules.ShowResponse getDefaultInstanceForType() { return org.sonarqube.ws.Rules.ShowResponse.getDefaultInstance(); } public org.sonarqube.ws.Rules.ShowResponse build() { org.sonarqube.ws.Rules.ShowResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.ShowResponse buildPartial() { org.sonarqube.ws.Rules.ShowResponse result = new org.sonarqube.ws.Rules.ShowResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (ruleBuilder_ == null) { result.rule_ = rule_; } else { result.rule_ = ruleBuilder_.build(); } if (activesBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { actives_ = java.util.Collections.unmodifiableList(actives_); bitField0_ = (bitField0_ & ~0x00000002); } result.actives_ = actives_; } else { result.actives_ = activesBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.ShowResponse) { return mergeFrom((org.sonarqube.ws.Rules.ShowResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.ShowResponse other) { if (other == org.sonarqube.ws.Rules.ShowResponse.getDefaultInstance()) return this; if (other.hasRule()) { mergeRule(other.getRule()); } if (activesBuilder_ == null) { if (!other.actives_.isEmpty()) { if (actives_.isEmpty()) { actives_ = other.actives_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureActivesIsMutable(); actives_.addAll(other.actives_); } onChanged(); } } else { if (!other.actives_.isEmpty()) { if (activesBuilder_.isEmpty()) { activesBuilder_.dispose(); activesBuilder_ = null; actives_ = other.actives_; bitField0_ = (bitField0_ & ~0x00000002); activesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getActivesFieldBuilder() : null; } else { activesBuilder_.addAllMessages(other.actives_); } } } 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.Rules.ShowResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.ShowResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.sonarqube.ws.Rules.Rule rule_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Rule, org.sonarqube.ws.Rules.Rule.Builder, org.sonarqube.ws.Rules.RuleOrBuilder> ruleBuilder_; /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public boolean hasRule() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.Rule getRule() { if (ruleBuilder_ == null) { return rule_ == null ? org.sonarqube.ws.Rules.Rule.getDefaultInstance() : rule_; } else { return ruleBuilder_.getMessage(); } } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public Builder setRule(org.sonarqube.ws.Rules.Rule value) { if (ruleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rule_ = value; onChanged(); } else { ruleBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public Builder setRule( org.sonarqube.ws.Rules.Rule.Builder builderForValue) { if (ruleBuilder_ == null) { rule_ = builderForValue.build(); onChanged(); } else { ruleBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public Builder mergeRule(org.sonarqube.ws.Rules.Rule value) { if (ruleBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && rule_ != null && rule_ != org.sonarqube.ws.Rules.Rule.getDefaultInstance()) { rule_ = org.sonarqube.ws.Rules.Rule.newBuilder(rule_).mergeFrom(value).buildPartial(); } else { rule_ = value; } onChanged(); } else { ruleBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public Builder clearRule() { if (ruleBuilder_ == null) { rule_ = null; onChanged(); } else { ruleBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.Rule.Builder getRuleBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRuleFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.RuleOrBuilder getRuleOrBuilder() { if (ruleBuilder_ != null) { return ruleBuilder_.getMessageOrBuilder(); } else { return rule_ == null ? org.sonarqube.ws.Rules.Rule.getDefaultInstance() : rule_; } } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Rule, org.sonarqube.ws.Rules.Rule.Builder, org.sonarqube.ws.Rules.RuleOrBuilder> getRuleFieldBuilder() { if (ruleBuilder_ == null) { ruleBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Rule, org.sonarqube.ws.Rules.Rule.Builder, org.sonarqube.ws.Rules.RuleOrBuilder>( getRule(), getParentForChildren(), isClean()); rule_ = null; } return ruleBuilder_; } private java.util.List actives_ = java.util.Collections.emptyList(); private void ensureActivesIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { actives_ = new java.util.ArrayList(actives_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Active, org.sonarqube.ws.Rules.Active.Builder, org.sonarqube.ws.Rules.ActiveOrBuilder> activesBuilder_; /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public java.util.List getActivesList() { if (activesBuilder_ == null) { return java.util.Collections.unmodifiableList(actives_); } else { return activesBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public int getActivesCount() { if (activesBuilder_ == null) { return actives_.size(); } else { return activesBuilder_.getCount(); } } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public org.sonarqube.ws.Rules.Active getActives(int index) { if (activesBuilder_ == null) { return actives_.get(index); } else { return activesBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public Builder setActives( int index, org.sonarqube.ws.Rules.Active value) { if (activesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActivesIsMutable(); actives_.set(index, value); onChanged(); } else { activesBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public Builder setActives( int index, org.sonarqube.ws.Rules.Active.Builder builderForValue) { if (activesBuilder_ == null) { ensureActivesIsMutable(); actives_.set(index, builderForValue.build()); onChanged(); } else { activesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public Builder addActives(org.sonarqube.ws.Rules.Active value) { if (activesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActivesIsMutable(); actives_.add(value); onChanged(); } else { activesBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public Builder addActives( int index, org.sonarqube.ws.Rules.Active value) { if (activesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActivesIsMutable(); actives_.add(index, value); onChanged(); } else { activesBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public Builder addActives( org.sonarqube.ws.Rules.Active.Builder builderForValue) { if (activesBuilder_ == null) { ensureActivesIsMutable(); actives_.add(builderForValue.build()); onChanged(); } else { activesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public Builder addActives( int index, org.sonarqube.ws.Rules.Active.Builder builderForValue) { if (activesBuilder_ == null) { ensureActivesIsMutable(); actives_.add(index, builderForValue.build()); onChanged(); } else { activesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public Builder addAllActives( java.lang.Iterable values) { if (activesBuilder_ == null) { ensureActivesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, actives_); onChanged(); } else { activesBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public Builder clearActives() { if (activesBuilder_ == null) { actives_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { activesBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public Builder removeActives(int index) { if (activesBuilder_ == null) { ensureActivesIsMutable(); actives_.remove(index); onChanged(); } else { activesBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public org.sonarqube.ws.Rules.Active.Builder getActivesBuilder( int index) { return getActivesFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public org.sonarqube.ws.Rules.ActiveOrBuilder getActivesOrBuilder( int index) { if (activesBuilder_ == null) { return actives_.get(index); } else { return activesBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public java.util.List getActivesOrBuilderList() { if (activesBuilder_ != null) { return activesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(actives_); } } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public org.sonarqube.ws.Rules.Active.Builder addActivesBuilder() { return getActivesFieldBuilder().addBuilder( org.sonarqube.ws.Rules.Active.getDefaultInstance()); } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public org.sonarqube.ws.Rules.Active.Builder addActivesBuilder( int index) { return getActivesFieldBuilder().addBuilder( index, org.sonarqube.ws.Rules.Active.getDefaultInstance()); } /** * repeated .sonarqube.ws.rules.Active actives = 3; */ public java.util.List getActivesBuilderList() { return getActivesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Active, org.sonarqube.ws.Rules.Active.Builder, org.sonarqube.ws.Rules.ActiveOrBuilder> getActivesFieldBuilder() { if (activesBuilder_ == null) { activesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Active, org.sonarqube.ws.Rules.Active.Builder, org.sonarqube.ws.Rules.ActiveOrBuilder>( actives_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); actives_ = null; } return activesBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.ShowResponse) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.ShowResponse) private static final org.sonarqube.ws.Rules.ShowResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.ShowResponse(); } public static org.sonarqube.ws.Rules.ShowResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ShowResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new ShowResponse(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.Rules.ShowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.CreateResponse) com.google.protobuf.MessageOrBuilder { /** * optional .sonarqube.ws.rules.Rule rule = 1; */ boolean hasRule(); /** * optional .sonarqube.ws.rules.Rule rule = 1; */ org.sonarqube.ws.Rules.Rule getRule(); /** * optional .sonarqube.ws.rules.Rule rule = 1; */ org.sonarqube.ws.Rules.RuleOrBuilder getRuleOrBuilder(); } /** * Protobuf type {@code sonarqube.ws.rules.CreateResponse} * *
   *WS api/rules/create
   * 
*/ public static final class CreateResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.CreateResponse) CreateResponseOrBuilder { // Use CreateResponse.newBuilder() to construct. private CreateResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private CreateResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateResponse( 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.Rules.Rule.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = rule_.toBuilder(); } rule_ = input.readMessage(org.sonarqube.ws.Rules.Rule.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rule_); rule_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; 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.Rules.internal_static_sonarqube_ws_rules_CreateResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_CreateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.CreateResponse.class, org.sonarqube.ws.Rules.CreateResponse.Builder.class); } private int bitField0_; public static final int RULE_FIELD_NUMBER = 1; private org.sonarqube.ws.Rules.Rule rule_; /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public boolean hasRule() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.Rule getRule() { return rule_ == null ? org.sonarqube.ws.Rules.Rule.getDefaultInstance() : rule_; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.RuleOrBuilder getRuleOrBuilder() { return rule_ == null ? org.sonarqube.ws.Rules.Rule.getDefaultInstance() : rule_; } 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, getRule()); } 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, getRule()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.CreateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.CreateResponse 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.Rules.CreateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.CreateResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.CreateResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.CreateResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.CreateResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.CreateResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.CreateResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.CreateResponse 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.Rules.CreateResponse 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.rules.CreateResponse} * *
     *WS api/rules/create
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.CreateResponse) org.sonarqube.ws.Rules.CreateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_CreateResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_CreateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.CreateResponse.class, org.sonarqube.ws.Rules.CreateResponse.Builder.class); } // Construct using org.sonarqube.ws.Rules.CreateResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRuleFieldBuilder(); } } public Builder clear() { super.clear(); if (ruleBuilder_ == null) { rule_ = null; } else { ruleBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_CreateResponse_descriptor; } public org.sonarqube.ws.Rules.CreateResponse getDefaultInstanceForType() { return org.sonarqube.ws.Rules.CreateResponse.getDefaultInstance(); } public org.sonarqube.ws.Rules.CreateResponse build() { org.sonarqube.ws.Rules.CreateResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.CreateResponse buildPartial() { org.sonarqube.ws.Rules.CreateResponse result = new org.sonarqube.ws.Rules.CreateResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (ruleBuilder_ == null) { result.rule_ = rule_; } else { result.rule_ = ruleBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.CreateResponse) { return mergeFrom((org.sonarqube.ws.Rules.CreateResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.CreateResponse other) { if (other == org.sonarqube.ws.Rules.CreateResponse.getDefaultInstance()) return this; if (other.hasRule()) { mergeRule(other.getRule()); } 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.Rules.CreateResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.CreateResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.sonarqube.ws.Rules.Rule rule_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Rule, org.sonarqube.ws.Rules.Rule.Builder, org.sonarqube.ws.Rules.RuleOrBuilder> ruleBuilder_; /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public boolean hasRule() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.Rule getRule() { if (ruleBuilder_ == null) { return rule_ == null ? org.sonarqube.ws.Rules.Rule.getDefaultInstance() : rule_; } else { return ruleBuilder_.getMessage(); } } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public Builder setRule(org.sonarqube.ws.Rules.Rule value) { if (ruleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rule_ = value; onChanged(); } else { ruleBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public Builder setRule( org.sonarqube.ws.Rules.Rule.Builder builderForValue) { if (ruleBuilder_ == null) { rule_ = builderForValue.build(); onChanged(); } else { ruleBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public Builder mergeRule(org.sonarqube.ws.Rules.Rule value) { if (ruleBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && rule_ != null && rule_ != org.sonarqube.ws.Rules.Rule.getDefaultInstance()) { rule_ = org.sonarqube.ws.Rules.Rule.newBuilder(rule_).mergeFrom(value).buildPartial(); } else { rule_ = value; } onChanged(); } else { ruleBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public Builder clearRule() { if (ruleBuilder_ == null) { rule_ = null; onChanged(); } else { ruleBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.Rule.Builder getRuleBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRuleFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.RuleOrBuilder getRuleOrBuilder() { if (ruleBuilder_ != null) { return ruleBuilder_.getMessageOrBuilder(); } else { return rule_ == null ? org.sonarqube.ws.Rules.Rule.getDefaultInstance() : rule_; } } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Rule, org.sonarqube.ws.Rules.Rule.Builder, org.sonarqube.ws.Rules.RuleOrBuilder> getRuleFieldBuilder() { if (ruleBuilder_ == null) { ruleBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Rule, org.sonarqube.ws.Rules.Rule.Builder, org.sonarqube.ws.Rules.RuleOrBuilder>( getRule(), getParentForChildren(), isClean()); rule_ = null; } return ruleBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.CreateResponse) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.CreateResponse) private static final org.sonarqube.ws.Rules.CreateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.CreateResponse(); } public static org.sonarqube.ws.Rules.CreateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CreateResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new CreateResponse(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.Rules.CreateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.UpdateResponse) com.google.protobuf.MessageOrBuilder { /** * optional .sonarqube.ws.rules.Rule rule = 1; */ boolean hasRule(); /** * optional .sonarqube.ws.rules.Rule rule = 1; */ org.sonarqube.ws.Rules.Rule getRule(); /** * optional .sonarqube.ws.rules.Rule rule = 1; */ org.sonarqube.ws.Rules.RuleOrBuilder getRuleOrBuilder(); } /** * Protobuf type {@code sonarqube.ws.rules.UpdateResponse} * *
   *WS api/rules/update
   * 
*/ public static final class UpdateResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.UpdateResponse) UpdateResponseOrBuilder { // Use UpdateResponse.newBuilder() to construct. private UpdateResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private UpdateResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateResponse( 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.Rules.Rule.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = rule_.toBuilder(); } rule_ = input.readMessage(org.sonarqube.ws.Rules.Rule.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rule_); rule_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; 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.Rules.internal_static_sonarqube_ws_rules_UpdateResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_UpdateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.UpdateResponse.class, org.sonarqube.ws.Rules.UpdateResponse.Builder.class); } private int bitField0_; public static final int RULE_FIELD_NUMBER = 1; private org.sonarqube.ws.Rules.Rule rule_; /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public boolean hasRule() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.Rule getRule() { return rule_ == null ? org.sonarqube.ws.Rules.Rule.getDefaultInstance() : rule_; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.RuleOrBuilder getRuleOrBuilder() { return rule_ == null ? org.sonarqube.ws.Rules.Rule.getDefaultInstance() : rule_; } 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, getRule()); } 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, getRule()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.UpdateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.UpdateResponse 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.Rules.UpdateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.UpdateResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.UpdateResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.UpdateResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.UpdateResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.UpdateResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.UpdateResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.UpdateResponse 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.Rules.UpdateResponse 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.rules.UpdateResponse} * *
     *WS api/rules/update
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.UpdateResponse) org.sonarqube.ws.Rules.UpdateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_UpdateResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_UpdateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.UpdateResponse.class, org.sonarqube.ws.Rules.UpdateResponse.Builder.class); } // Construct using org.sonarqube.ws.Rules.UpdateResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRuleFieldBuilder(); } } public Builder clear() { super.clear(); if (ruleBuilder_ == null) { rule_ = null; } else { ruleBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_UpdateResponse_descriptor; } public org.sonarqube.ws.Rules.UpdateResponse getDefaultInstanceForType() { return org.sonarqube.ws.Rules.UpdateResponse.getDefaultInstance(); } public org.sonarqube.ws.Rules.UpdateResponse build() { org.sonarqube.ws.Rules.UpdateResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.UpdateResponse buildPartial() { org.sonarqube.ws.Rules.UpdateResponse result = new org.sonarqube.ws.Rules.UpdateResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (ruleBuilder_ == null) { result.rule_ = rule_; } else { result.rule_ = ruleBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.UpdateResponse) { return mergeFrom((org.sonarqube.ws.Rules.UpdateResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.UpdateResponse other) { if (other == org.sonarqube.ws.Rules.UpdateResponse.getDefaultInstance()) return this; if (other.hasRule()) { mergeRule(other.getRule()); } 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.Rules.UpdateResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.UpdateResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.sonarqube.ws.Rules.Rule rule_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Rule, org.sonarqube.ws.Rules.Rule.Builder, org.sonarqube.ws.Rules.RuleOrBuilder> ruleBuilder_; /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public boolean hasRule() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.Rule getRule() { if (ruleBuilder_ == null) { return rule_ == null ? org.sonarqube.ws.Rules.Rule.getDefaultInstance() : rule_; } else { return ruleBuilder_.getMessage(); } } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public Builder setRule(org.sonarqube.ws.Rules.Rule value) { if (ruleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rule_ = value; onChanged(); } else { ruleBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public Builder setRule( org.sonarqube.ws.Rules.Rule.Builder builderForValue) { if (ruleBuilder_ == null) { rule_ = builderForValue.build(); onChanged(); } else { ruleBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public Builder mergeRule(org.sonarqube.ws.Rules.Rule value) { if (ruleBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && rule_ != null && rule_ != org.sonarqube.ws.Rules.Rule.getDefaultInstance()) { rule_ = org.sonarqube.ws.Rules.Rule.newBuilder(rule_).mergeFrom(value).buildPartial(); } else { rule_ = value; } onChanged(); } else { ruleBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public Builder clearRule() { if (ruleBuilder_ == null) { rule_ = null; onChanged(); } else { ruleBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.Rule.Builder getRuleBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRuleFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ public org.sonarqube.ws.Rules.RuleOrBuilder getRuleOrBuilder() { if (ruleBuilder_ != null) { return ruleBuilder_.getMessageOrBuilder(); } else { return rule_ == null ? org.sonarqube.ws.Rules.Rule.getDefaultInstance() : rule_; } } /** * optional .sonarqube.ws.rules.Rule rule = 1; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Rule, org.sonarqube.ws.Rules.Rule.Builder, org.sonarqube.ws.Rules.RuleOrBuilder> getRuleFieldBuilder() { if (ruleBuilder_ == null) { ruleBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Rule, org.sonarqube.ws.Rules.Rule.Builder, org.sonarqube.ws.Rules.RuleOrBuilder>( getRule(), getParentForChildren(), isClean()); rule_ = null; } return ruleBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.UpdateResponse) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.UpdateResponse) private static final org.sonarqube.ws.Rules.UpdateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.UpdateResponse(); } public static org.sonarqube.ws.Rules.UpdateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public UpdateResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new UpdateResponse(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.Rules.UpdateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RuleOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.Rule) 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 repo = 2; */ boolean hasRepo(); /** * optional string repo = 2; */ java.lang.String getRepo(); /** * optional string repo = 2; */ com.google.protobuf.ByteString getRepoBytes(); /** * optional string name = 3; */ boolean hasName(); /** * optional string name = 3; */ java.lang.String getName(); /** * optional string name = 3; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string createdAt = 4; */ boolean hasCreatedAt(); /** * optional string createdAt = 4; */ java.lang.String getCreatedAt(); /** * optional string createdAt = 4; */ com.google.protobuf.ByteString getCreatedAtBytes(); /** * optional string htmlDesc = 5; */ boolean hasHtmlDesc(); /** * optional string htmlDesc = 5; */ java.lang.String getHtmlDesc(); /** * optional string htmlDesc = 5; */ com.google.protobuf.ByteString getHtmlDescBytes(); /** * optional string htmlNote = 6; */ boolean hasHtmlNote(); /** * optional string htmlNote = 6; */ java.lang.String getHtmlNote(); /** * optional string htmlNote = 6; */ com.google.protobuf.ByteString getHtmlNoteBytes(); /** * optional string mdDesc = 7; */ boolean hasMdDesc(); /** * optional string mdDesc = 7; */ java.lang.String getMdDesc(); /** * optional string mdDesc = 7; */ com.google.protobuf.ByteString getMdDescBytes(); /** * optional string mdNote = 8; */ boolean hasMdNote(); /** * optional string mdNote = 8; */ java.lang.String getMdNote(); /** * optional string mdNote = 8; */ com.google.protobuf.ByteString getMdNoteBytes(); /** * optional string noteLogin = 9; */ boolean hasNoteLogin(); /** * optional string noteLogin = 9; */ java.lang.String getNoteLogin(); /** * optional string noteLogin = 9; */ com.google.protobuf.ByteString getNoteLoginBytes(); /** * optional string severity = 10; */ boolean hasSeverity(); /** * optional string severity = 10; */ java.lang.String getSeverity(); /** * optional string severity = 10; */ com.google.protobuf.ByteString getSeverityBytes(); /** * optional .sonarqube.ws.commons.RuleStatus status = 11; */ boolean hasStatus(); /** * optional .sonarqube.ws.commons.RuleStatus status = 11; */ org.sonarqube.ws.Common.RuleStatus getStatus(); /** * optional string internalKey = 12; */ boolean hasInternalKey(); /** * optional string internalKey = 12; */ java.lang.String getInternalKey(); /** * optional string internalKey = 12; */ com.google.protobuf.ByteString getInternalKeyBytes(); /** * optional bool isTemplate = 13; */ boolean hasIsTemplate(); /** * optional bool isTemplate = 13; */ boolean getIsTemplate(); /** * optional string templateKey = 14; */ boolean hasTemplateKey(); /** * optional string templateKey = 14; */ java.lang.String getTemplateKey(); /** * optional string templateKey = 14; */ com.google.protobuf.ByteString getTemplateKeyBytes(); /** * optional .sonarqube.ws.rules.Tags tags = 15; */ boolean hasTags(); /** * optional .sonarqube.ws.rules.Tags tags = 15; */ org.sonarqube.ws.Rules.Tags getTags(); /** * optional .sonarqube.ws.rules.Tags tags = 15; */ org.sonarqube.ws.Rules.TagsOrBuilder getTagsOrBuilder(); /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ boolean hasSysTags(); /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ org.sonarqube.ws.Rules.SysTags getSysTags(); /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ org.sonarqube.ws.Rules.SysTagsOrBuilder getSysTagsOrBuilder(); /** * optional string lang = 19; */ boolean hasLang(); /** * optional string lang = 19; */ java.lang.String getLang(); /** * optional string lang = 19; */ com.google.protobuf.ByteString getLangBytes(); /** * optional string langName = 20; */ boolean hasLangName(); /** * optional string langName = 20; */ java.lang.String getLangName(); /** * optional string langName = 20; */ com.google.protobuf.ByteString getLangNameBytes(); /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ boolean hasParams(); /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ org.sonarqube.ws.Rules.Rule.Params getParams(); /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ org.sonarqube.ws.Rules.Rule.ParamsOrBuilder getParamsOrBuilder(); /** * optional string unusedDefaultDebtChar = 23; * *
     * characteristic fields, unsupported since 5.5
     * 
*/ boolean hasUnusedDefaultDebtChar(); /** * optional string unusedDefaultDebtChar = 23; * *
     * characteristic fields, unsupported since 5.5
     * 
*/ java.lang.String getUnusedDefaultDebtChar(); /** * optional string unusedDefaultDebtChar = 23; * *
     * characteristic fields, unsupported since 5.5
     * 
*/ com.google.protobuf.ByteString getUnusedDefaultDebtCharBytes(); /** * optional string unusedDefaultDebtSubChar = 24; */ boolean hasUnusedDefaultDebtSubChar(); /** * optional string unusedDefaultDebtSubChar = 24; */ java.lang.String getUnusedDefaultDebtSubChar(); /** * optional string unusedDefaultDebtSubChar = 24; */ com.google.protobuf.ByteString getUnusedDefaultDebtSubCharBytes(); /** * optional string unusedDebtChar = 25; */ boolean hasUnusedDebtChar(); /** * optional string unusedDebtChar = 25; */ java.lang.String getUnusedDebtChar(); /** * optional string unusedDebtChar = 25; */ com.google.protobuf.ByteString getUnusedDebtCharBytes(); /** * optional string unusedDebtSubChar = 26; */ boolean hasUnusedDebtSubChar(); /** * optional string unusedDebtSubChar = 26; */ java.lang.String getUnusedDebtSubChar(); /** * optional string unusedDebtSubChar = 26; */ com.google.protobuf.ByteString getUnusedDebtSubCharBytes(); /** * optional string unusedDebtCharName = 27; */ boolean hasUnusedDebtCharName(); /** * optional string unusedDebtCharName = 27; */ java.lang.String getUnusedDebtCharName(); /** * optional string unusedDebtCharName = 27; */ com.google.protobuf.ByteString getUnusedDebtCharNameBytes(); /** * optional string unusedDebtSubCharName = 28; */ boolean hasUnusedDebtSubCharName(); /** * optional string unusedDebtSubCharName = 28; */ java.lang.String getUnusedDebtSubCharName(); /** * optional string unusedDebtSubCharName = 28; */ com.google.protobuf.ByteString getUnusedDebtSubCharNameBytes(); /** * optional string defaultDebtRemFnType = 29; * *
     * Deprecated since 5.5, replaced by defaultRemFnType
     * 
*/ boolean hasDefaultDebtRemFnType(); /** * optional string defaultDebtRemFnType = 29; * *
     * Deprecated since 5.5, replaced by defaultRemFnType
     * 
*/ java.lang.String getDefaultDebtRemFnType(); /** * optional string defaultDebtRemFnType = 29; * *
     * Deprecated since 5.5, replaced by defaultRemFnType
     * 
*/ com.google.protobuf.ByteString getDefaultDebtRemFnTypeBytes(); /** * optional string defaultDebtRemFnCoeff = 30; * *
     * Deprecated since 5.5, replaced by defaultRemFnGapMultiplier
     * 
*/ boolean hasDefaultDebtRemFnCoeff(); /** * optional string defaultDebtRemFnCoeff = 30; * *
     * Deprecated since 5.5, replaced by defaultRemFnGapMultiplier
     * 
*/ java.lang.String getDefaultDebtRemFnCoeff(); /** * optional string defaultDebtRemFnCoeff = 30; * *
     * Deprecated since 5.5, replaced by defaultRemFnGapMultiplier
     * 
*/ com.google.protobuf.ByteString getDefaultDebtRemFnCoeffBytes(); /** * optional string defaultDebtRemFnOffset = 31; * *
     * Deprecated since 5.5, replaced by defaultRemFnBaseEffort
     * 
*/ boolean hasDefaultDebtRemFnOffset(); /** * optional string defaultDebtRemFnOffset = 31; * *
     * Deprecated since 5.5, replaced by defaultRemFnBaseEffort
     * 
*/ java.lang.String getDefaultDebtRemFnOffset(); /** * optional string defaultDebtRemFnOffset = 31; * *
     * Deprecated since 5.5, replaced by defaultRemFnBaseEffort
     * 
*/ com.google.protobuf.ByteString getDefaultDebtRemFnOffsetBytes(); /** * optional string effortToFixDescription = 32; * *
     * Deprecated since 5.5, replaced by gapDescription
     * 
*/ boolean hasEffortToFixDescription(); /** * optional string effortToFixDescription = 32; * *
     * Deprecated since 5.5, replaced by gapDescription
     * 
*/ java.lang.String getEffortToFixDescription(); /** * optional string effortToFixDescription = 32; * *
     * Deprecated since 5.5, replaced by gapDescription
     * 
*/ com.google.protobuf.ByteString getEffortToFixDescriptionBytes(); /** * optional bool debtOverloaded = 33; * *
     * Deprecated since 5.5, replaced by remFnOverloaded
     * 
*/ boolean hasDebtOverloaded(); /** * optional bool debtOverloaded = 33; * *
     * Deprecated since 5.5, replaced by remFnOverloaded
     * 
*/ boolean getDebtOverloaded(); /** * optional string debtRemFnType = 34; * *
     * Deprecated since 5.5, replaced by remFnType
     * 
*/ boolean hasDebtRemFnType(); /** * optional string debtRemFnType = 34; * *
     * Deprecated since 5.5, replaced by remFnType
     * 
*/ java.lang.String getDebtRemFnType(); /** * optional string debtRemFnType = 34; * *
     * Deprecated since 5.5, replaced by remFnType
     * 
*/ com.google.protobuf.ByteString getDebtRemFnTypeBytes(); /** * optional string debtRemFnCoeff = 35; * *
     * Deprecated since 5.5, replaced by remFnGapMultiplier
     * 
*/ boolean hasDebtRemFnCoeff(); /** * optional string debtRemFnCoeff = 35; * *
     * Deprecated since 5.5, replaced by remFnGapMultiplier
     * 
*/ java.lang.String getDebtRemFnCoeff(); /** * optional string debtRemFnCoeff = 35; * *
     * Deprecated since 5.5, replaced by remFnGapMultiplier
     * 
*/ com.google.protobuf.ByteString getDebtRemFnCoeffBytes(); /** * optional string debtRemFnOffset = 36; * *
     * Deprecated since 5.5, replaced by remFnBaseEffort
     * 
*/ boolean hasDebtRemFnOffset(); /** * optional string debtRemFnOffset = 36; * *
     * Deprecated since 5.5, replaced by remFnBaseEffort
     * 
*/ java.lang.String getDebtRemFnOffset(); /** * optional string debtRemFnOffset = 36; * *
     * Deprecated since 5.5, replaced by remFnBaseEffort
     * 
*/ com.google.protobuf.ByteString getDebtRemFnOffsetBytes(); /** * optional string defaultRemFnType = 38; */ boolean hasDefaultRemFnType(); /** * optional string defaultRemFnType = 38; */ java.lang.String getDefaultRemFnType(); /** * optional string defaultRemFnType = 38; */ com.google.protobuf.ByteString getDefaultRemFnTypeBytes(); /** * optional string defaultRemFnGapMultiplier = 39; */ boolean hasDefaultRemFnGapMultiplier(); /** * optional string defaultRemFnGapMultiplier = 39; */ java.lang.String getDefaultRemFnGapMultiplier(); /** * optional string defaultRemFnGapMultiplier = 39; */ com.google.protobuf.ByteString getDefaultRemFnGapMultiplierBytes(); /** * optional string defaultRemFnBaseEffort = 40; */ boolean hasDefaultRemFnBaseEffort(); /** * optional string defaultRemFnBaseEffort = 40; */ java.lang.String getDefaultRemFnBaseEffort(); /** * optional string defaultRemFnBaseEffort = 40; */ com.google.protobuf.ByteString getDefaultRemFnBaseEffortBytes(); /** * optional string remFnType = 41; */ boolean hasRemFnType(); /** * optional string remFnType = 41; */ java.lang.String getRemFnType(); /** * optional string remFnType = 41; */ com.google.protobuf.ByteString getRemFnTypeBytes(); /** * optional string remFnGapMultiplier = 42; */ boolean hasRemFnGapMultiplier(); /** * optional string remFnGapMultiplier = 42; */ java.lang.String getRemFnGapMultiplier(); /** * optional string remFnGapMultiplier = 42; */ com.google.protobuf.ByteString getRemFnGapMultiplierBytes(); /** * optional string remFnBaseEffort = 43; */ boolean hasRemFnBaseEffort(); /** * optional string remFnBaseEffort = 43; */ java.lang.String getRemFnBaseEffort(); /** * optional string remFnBaseEffort = 43; */ com.google.protobuf.ByteString getRemFnBaseEffortBytes(); /** * optional bool remFnOverloaded = 45; */ boolean hasRemFnOverloaded(); /** * optional bool remFnOverloaded = 45; */ boolean getRemFnOverloaded(); /** * optional string gapDescription = 44; */ boolean hasGapDescription(); /** * optional string gapDescription = 44; */ java.lang.String getGapDescription(); /** * optional string gapDescription = 44; */ com.google.protobuf.ByteString getGapDescriptionBytes(); /** * optional .sonarqube.ws.commons.RuleType type = 37; */ boolean hasType(); /** * optional .sonarqube.ws.commons.RuleType type = 37; */ org.sonarqube.ws.Common.RuleType getType(); } /** * Protobuf type {@code sonarqube.ws.rules.Rule} */ public static final class Rule extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.Rule) RuleOrBuilder { // Use Rule.newBuilder() to construct. private Rule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Rule() { key_ = ""; repo_ = ""; name_ = ""; createdAt_ = ""; htmlDesc_ = ""; htmlNote_ = ""; mdDesc_ = ""; mdNote_ = ""; noteLogin_ = ""; severity_ = ""; status_ = 0; internalKey_ = ""; isTemplate_ = false; templateKey_ = ""; lang_ = ""; langName_ = ""; unusedDefaultDebtChar_ = ""; unusedDefaultDebtSubChar_ = ""; unusedDebtChar_ = ""; unusedDebtSubChar_ = ""; unusedDebtCharName_ = ""; unusedDebtSubCharName_ = ""; defaultDebtRemFnType_ = ""; defaultDebtRemFnCoeff_ = ""; defaultDebtRemFnOffset_ = ""; effortToFixDescription_ = ""; debtOverloaded_ = false; debtRemFnType_ = ""; debtRemFnCoeff_ = ""; debtRemFnOffset_ = ""; defaultRemFnType_ = ""; defaultRemFnGapMultiplier_ = ""; defaultRemFnBaseEffort_ = ""; remFnType_ = ""; remFnGapMultiplier_ = ""; remFnBaseEffort_ = ""; remFnOverloaded_ = false; gapDescription_ = ""; type_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Rule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; int mutable_bitField1_ = 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; repo_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; name_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; createdAt_ = bs; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; htmlDesc_ = bs; break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; htmlNote_ = bs; break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000040; mdDesc_ = bs; break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; mdNote_ = bs; break; } case 74: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000100; noteLogin_ = bs; break; } case 82: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000200; severity_ = bs; break; } case 88: { int rawValue = input.readEnum(); org.sonarqube.ws.Common.RuleStatus value = org.sonarqube.ws.Common.RuleStatus.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(11, rawValue); } else { bitField0_ |= 0x00000400; status_ = rawValue; } break; } case 98: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000800; internalKey_ = bs; break; } case 104: { bitField0_ |= 0x00001000; isTemplate_ = input.readBool(); break; } case 114: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00002000; templateKey_ = bs; break; } case 122: { org.sonarqube.ws.Rules.Tags.Builder subBuilder = null; if (((bitField0_ & 0x00004000) == 0x00004000)) { subBuilder = tags_.toBuilder(); } tags_ = input.readMessage(org.sonarqube.ws.Rules.Tags.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tags_); tags_ = subBuilder.buildPartial(); } bitField0_ |= 0x00004000; break; } case 130: { org.sonarqube.ws.Rules.SysTags.Builder subBuilder = null; if (((bitField0_ & 0x00008000) == 0x00008000)) { subBuilder = sysTags_.toBuilder(); } sysTags_ = input.readMessage(org.sonarqube.ws.Rules.SysTags.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(sysTags_); sysTags_ = subBuilder.buildPartial(); } bitField0_ |= 0x00008000; break; } case 154: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00010000; lang_ = bs; break; } case 162: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00020000; langName_ = bs; break; } case 170: { org.sonarqube.ws.Rules.Rule.Params.Builder subBuilder = null; if (((bitField0_ & 0x00040000) == 0x00040000)) { subBuilder = params_.toBuilder(); } params_ = input.readMessage(org.sonarqube.ws.Rules.Rule.Params.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(params_); params_ = subBuilder.buildPartial(); } bitField0_ |= 0x00040000; break; } case 186: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00080000; unusedDefaultDebtChar_ = bs; break; } case 194: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00100000; unusedDefaultDebtSubChar_ = bs; break; } case 202: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00200000; unusedDebtChar_ = bs; break; } case 210: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00400000; unusedDebtSubChar_ = bs; break; } case 218: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00800000; unusedDebtCharName_ = bs; break; } case 226: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x01000000; unusedDebtSubCharName_ = bs; break; } case 234: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x02000000; defaultDebtRemFnType_ = bs; break; } case 242: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x04000000; defaultDebtRemFnCoeff_ = bs; break; } case 250: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x08000000; defaultDebtRemFnOffset_ = bs; break; } case 258: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x10000000; effortToFixDescription_ = bs; break; } case 264: { bitField0_ |= 0x20000000; debtOverloaded_ = input.readBool(); break; } case 274: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x40000000; debtRemFnType_ = bs; break; } case 282: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x80000000; debtRemFnCoeff_ = bs; break; } case 290: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00000001; debtRemFnOffset_ = bs; break; } case 296: { int rawValue = input.readEnum(); org.sonarqube.ws.Common.RuleType value = org.sonarqube.ws.Common.RuleType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(37, rawValue); } else { bitField1_ |= 0x00000200; type_ = rawValue; } break; } case 306: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00000002; defaultRemFnType_ = bs; break; } case 314: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00000004; defaultRemFnGapMultiplier_ = bs; break; } case 322: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00000008; defaultRemFnBaseEffort_ = bs; break; } case 330: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00000010; remFnType_ = bs; break; } case 338: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00000020; remFnGapMultiplier_ = bs; break; } case 346: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00000040; remFnBaseEffort_ = bs; break; } case 354: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00000100; gapDescription_ = bs; break; } case 360: { bitField1_ |= 0x00000080; remFnOverloaded_ = input.readBool(); 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.Rules.internal_static_sonarqube_ws_rules_Rule_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Rule_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Rule.class, org.sonarqube.ws.Rules.Rule.Builder.class); } public interface ParamsOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.Rule.Params) com.google.protobuf.MessageOrBuilder { /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ java.util.List getParamsList(); /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ org.sonarqube.ws.Rules.Rule.Param getParams(int index); /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ int getParamsCount(); /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ java.util.List getParamsOrBuilderList(); /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ org.sonarqube.ws.Rules.Rule.ParamOrBuilder getParamsOrBuilder( int index); } /** * Protobuf type {@code sonarqube.ws.rules.Rule.Params} */ public static final class Params extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.Rule.Params) ParamsOrBuilder { // Use Params.newBuilder() to construct. private Params(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Params() { params_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Params( 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)) { params_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } params_.add(input.readMessage(org.sonarqube.ws.Rules.Rule.Param.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)) { params_ = java.util.Collections.unmodifiableList(params_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Rule_Params_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Rule_Params_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Rule.Params.class, org.sonarqube.ws.Rules.Rule.Params.Builder.class); } public static final int PARAMS_FIELD_NUMBER = 1; private java.util.List params_; /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public java.util.List getParamsList() { return params_; } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public java.util.List getParamsOrBuilderList() { return params_; } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public int getParamsCount() { return params_.size(); } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public org.sonarqube.ws.Rules.Rule.Param getParams(int index) { return params_.get(index); } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public org.sonarqube.ws.Rules.Rule.ParamOrBuilder getParamsOrBuilder( int index) { return params_.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 < params_.size(); i++) { output.writeMessage(1, params_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < params_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, params_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.Rule.Params parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Rule.Params 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.Rules.Rule.Params parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Rule.Params parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.Rule.Params parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Rule.Params parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Rule.Params parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.Rule.Params parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Rule.Params parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Rule.Params 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.Rules.Rule.Params 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.rules.Rule.Params} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.Rule.Params) org.sonarqube.ws.Rules.Rule.ParamsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Rule_Params_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Rule_Params_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Rule.Params.class, org.sonarqube.ws.Rules.Rule.Params.Builder.class); } // Construct using org.sonarqube.ws.Rules.Rule.Params.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getParamsFieldBuilder(); } } public Builder clear() { super.clear(); if (paramsBuilder_ == null) { params_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { paramsBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Rule_Params_descriptor; } public org.sonarqube.ws.Rules.Rule.Params getDefaultInstanceForType() { return org.sonarqube.ws.Rules.Rule.Params.getDefaultInstance(); } public org.sonarqube.ws.Rules.Rule.Params build() { org.sonarqube.ws.Rules.Rule.Params result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.Rule.Params buildPartial() { org.sonarqube.ws.Rules.Rule.Params result = new org.sonarqube.ws.Rules.Rule.Params(this); int from_bitField0_ = bitField0_; if (paramsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { params_ = java.util.Collections.unmodifiableList(params_); bitField0_ = (bitField0_ & ~0x00000001); } result.params_ = params_; } else { result.params_ = paramsBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.Rule.Params) { return mergeFrom((org.sonarqube.ws.Rules.Rule.Params)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.Rule.Params other) { if (other == org.sonarqube.ws.Rules.Rule.Params.getDefaultInstance()) return this; if (paramsBuilder_ == null) { if (!other.params_.isEmpty()) { if (params_.isEmpty()) { params_ = other.params_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureParamsIsMutable(); params_.addAll(other.params_); } onChanged(); } } else { if (!other.params_.isEmpty()) { if (paramsBuilder_.isEmpty()) { paramsBuilder_.dispose(); paramsBuilder_ = null; params_ = other.params_; bitField0_ = (bitField0_ & ~0x00000001); paramsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getParamsFieldBuilder() : null; } else { paramsBuilder_.addAllMessages(other.params_); } } } 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.Rules.Rule.Params parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.Rule.Params) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List params_ = java.util.Collections.emptyList(); private void ensureParamsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { params_ = new java.util.ArrayList(params_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Rule.Param, org.sonarqube.ws.Rules.Rule.Param.Builder, org.sonarqube.ws.Rules.Rule.ParamOrBuilder> paramsBuilder_; /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public java.util.List getParamsList() { if (paramsBuilder_ == null) { return java.util.Collections.unmodifiableList(params_); } else { return paramsBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public int getParamsCount() { if (paramsBuilder_ == null) { return params_.size(); } else { return paramsBuilder_.getCount(); } } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public org.sonarqube.ws.Rules.Rule.Param getParams(int index) { if (paramsBuilder_ == null) { return params_.get(index); } else { return paramsBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public Builder setParams( int index, org.sonarqube.ws.Rules.Rule.Param value) { if (paramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParamsIsMutable(); params_.set(index, value); onChanged(); } else { paramsBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public Builder setParams( int index, org.sonarqube.ws.Rules.Rule.Param.Builder builderForValue) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); params_.set(index, builderForValue.build()); onChanged(); } else { paramsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public Builder addParams(org.sonarqube.ws.Rules.Rule.Param value) { if (paramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParamsIsMutable(); params_.add(value); onChanged(); } else { paramsBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public Builder addParams( int index, org.sonarqube.ws.Rules.Rule.Param value) { if (paramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParamsIsMutable(); params_.add(index, value); onChanged(); } else { paramsBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public Builder addParams( org.sonarqube.ws.Rules.Rule.Param.Builder builderForValue) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); params_.add(builderForValue.build()); onChanged(); } else { paramsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public Builder addParams( int index, org.sonarqube.ws.Rules.Rule.Param.Builder builderForValue) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); params_.add(index, builderForValue.build()); onChanged(); } else { paramsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public Builder addAllParams( java.lang.Iterable values) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, params_); onChanged(); } else { paramsBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public Builder clearParams() { if (paramsBuilder_ == null) { params_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { paramsBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public Builder removeParams(int index) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); params_.remove(index); onChanged(); } else { paramsBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public org.sonarqube.ws.Rules.Rule.Param.Builder getParamsBuilder( int index) { return getParamsFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public org.sonarqube.ws.Rules.Rule.ParamOrBuilder getParamsOrBuilder( int index) { if (paramsBuilder_ == null) { return params_.get(index); } else { return paramsBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public java.util.List getParamsOrBuilderList() { if (paramsBuilder_ != null) { return paramsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(params_); } } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public org.sonarqube.ws.Rules.Rule.Param.Builder addParamsBuilder() { return getParamsFieldBuilder().addBuilder( org.sonarqube.ws.Rules.Rule.Param.getDefaultInstance()); } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public org.sonarqube.ws.Rules.Rule.Param.Builder addParamsBuilder( int index) { return getParamsFieldBuilder().addBuilder( index, org.sonarqube.ws.Rules.Rule.Param.getDefaultInstance()); } /** * repeated .sonarqube.ws.rules.Rule.Param params = 1; */ public java.util.List getParamsBuilderList() { return getParamsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Rule.Param, org.sonarqube.ws.Rules.Rule.Param.Builder, org.sonarqube.ws.Rules.Rule.ParamOrBuilder> getParamsFieldBuilder() { if (paramsBuilder_ == null) { paramsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Rule.Param, org.sonarqube.ws.Rules.Rule.Param.Builder, org.sonarqube.ws.Rules.Rule.ParamOrBuilder>( params_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); params_ = null; } return paramsBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.Rule.Params) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.Rule.Params) private static final org.sonarqube.ws.Rules.Rule.Params DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.Rule.Params(); } public static org.sonarqube.ws.Rules.Rule.Params getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Params parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Params(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.Rules.Rule.Params getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ParamOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.Rule.Param) 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 htmlDesc = 2; */ boolean hasHtmlDesc(); /** * optional string htmlDesc = 2; */ java.lang.String getHtmlDesc(); /** * optional string htmlDesc = 2; */ com.google.protobuf.ByteString getHtmlDescBytes(); /** * optional string defaultValue = 3; */ boolean hasDefaultValue(); /** * optional string defaultValue = 3; */ java.lang.String getDefaultValue(); /** * optional string defaultValue = 3; */ com.google.protobuf.ByteString getDefaultValueBytes(); /** * optional string type = 4; */ boolean hasType(); /** * optional string type = 4; */ java.lang.String getType(); /** * optional string type = 4; */ com.google.protobuf.ByteString getTypeBytes(); } /** * Protobuf type {@code sonarqube.ws.rules.Rule.Param} */ public static final class Param extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.Rule.Param) ParamOrBuilder { // Use Param.newBuilder() to construct. private Param(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Param() { key_ = ""; htmlDesc_ = ""; defaultValue_ = ""; type_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Param( 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; htmlDesc_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; defaultValue_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; type_ = 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.Rules.internal_static_sonarqube_ws_rules_Rule_Param_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Rule_Param_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Rule.Param.class, org.sonarqube.ws.Rules.Rule.Param.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 HTMLDESC_FIELD_NUMBER = 2; private volatile java.lang.Object htmlDesc_; /** * optional string htmlDesc = 2; */ public boolean hasHtmlDesc() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string htmlDesc = 2; */ public java.lang.String getHtmlDesc() { java.lang.Object ref = htmlDesc_; 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()) { htmlDesc_ = s; } return s; } } /** * optional string htmlDesc = 2; */ public com.google.protobuf.ByteString getHtmlDescBytes() { java.lang.Object ref = htmlDesc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); htmlDesc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULTVALUE_FIELD_NUMBER = 3; private volatile java.lang.Object defaultValue_; /** * optional string defaultValue = 3; */ public boolean hasDefaultValue() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string defaultValue = 3; */ public java.lang.String getDefaultValue() { java.lang.Object ref = defaultValue_; 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()) { defaultValue_ = s; } return s; } } /** * optional string defaultValue = 3; */ public com.google.protobuf.ByteString getDefaultValueBytes() { java.lang.Object ref = defaultValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 4; private volatile java.lang.Object type_; /** * optional string type = 4; */ public boolean hasType() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string type = 4; */ public java.lang.String getType() { java.lang.Object ref = type_; 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()) { type_ = s; } return s; } } /** * optional string type = 4; */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = 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, htmlDesc_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, defaultValue_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessage.writeString(output, 4, type_); } 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, htmlDesc_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, defaultValue_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(4, type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.Rule.Param parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Rule.Param 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.Rules.Rule.Param parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Rule.Param parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.Rule.Param parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Rule.Param parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Rule.Param parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.Rule.Param parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Rule.Param parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Rule.Param 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.Rules.Rule.Param 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.rules.Rule.Param} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.Rule.Param) org.sonarqube.ws.Rules.Rule.ParamOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Rule_Param_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Rule_Param_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Rule.Param.class, org.sonarqube.ws.Rules.Rule.Param.Builder.class); } // Construct using org.sonarqube.ws.Rules.Rule.Param.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); htmlDesc_ = ""; bitField0_ = (bitField0_ & ~0x00000002); defaultValue_ = ""; bitField0_ = (bitField0_ & ~0x00000004); type_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Rule_Param_descriptor; } public org.sonarqube.ws.Rules.Rule.Param getDefaultInstanceForType() { return org.sonarqube.ws.Rules.Rule.Param.getDefaultInstance(); } public org.sonarqube.ws.Rules.Rule.Param build() { org.sonarqube.ws.Rules.Rule.Param result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.Rule.Param buildPartial() { org.sonarqube.ws.Rules.Rule.Param result = new org.sonarqube.ws.Rules.Rule.Param(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.htmlDesc_ = htmlDesc_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.defaultValue_ = defaultValue_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.type_ = type_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.Rule.Param) { return mergeFrom((org.sonarqube.ws.Rules.Rule.Param)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.Rule.Param other) { if (other == org.sonarqube.ws.Rules.Rule.Param.getDefaultInstance()) return this; if (other.hasKey()) { bitField0_ |= 0x00000001; key_ = other.key_; onChanged(); } if (other.hasHtmlDesc()) { bitField0_ |= 0x00000002; htmlDesc_ = other.htmlDesc_; onChanged(); } if (other.hasDefaultValue()) { bitField0_ |= 0x00000004; defaultValue_ = other.defaultValue_; onChanged(); } if (other.hasType()) { bitField0_ |= 0x00000008; type_ = other.type_; 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.Rules.Rule.Param parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.Rule.Param) 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 htmlDesc_ = ""; /** * optional string htmlDesc = 2; */ public boolean hasHtmlDesc() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string htmlDesc = 2; */ public java.lang.String getHtmlDesc() { java.lang.Object ref = htmlDesc_; 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()) { htmlDesc_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string htmlDesc = 2; */ public com.google.protobuf.ByteString getHtmlDescBytes() { java.lang.Object ref = htmlDesc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); htmlDesc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string htmlDesc = 2; */ public Builder setHtmlDesc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; htmlDesc_ = value; onChanged(); return this; } /** * optional string htmlDesc = 2; */ public Builder clearHtmlDesc() { bitField0_ = (bitField0_ & ~0x00000002); htmlDesc_ = getDefaultInstance().getHtmlDesc(); onChanged(); return this; } /** * optional string htmlDesc = 2; */ public Builder setHtmlDescBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; htmlDesc_ = value; onChanged(); return this; } private java.lang.Object defaultValue_ = ""; /** * optional string defaultValue = 3; */ public boolean hasDefaultValue() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string defaultValue = 3; */ public java.lang.String getDefaultValue() { java.lang.Object ref = defaultValue_; 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()) { defaultValue_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string defaultValue = 3; */ public com.google.protobuf.ByteString getDefaultValueBytes() { java.lang.Object ref = defaultValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string defaultValue = 3; */ public Builder setDefaultValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; defaultValue_ = value; onChanged(); return this; } /** * optional string defaultValue = 3; */ public Builder clearDefaultValue() { bitField0_ = (bitField0_ & ~0x00000004); defaultValue_ = getDefaultInstance().getDefaultValue(); onChanged(); return this; } /** * optional string defaultValue = 3; */ public Builder setDefaultValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; defaultValue_ = value; onChanged(); return this; } private java.lang.Object type_ = ""; /** * optional string type = 4; */ public boolean hasType() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string type = 4; */ public java.lang.String getType() { java.lang.Object ref = type_; 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()) { type_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string type = 4; */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string type = 4; */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; type_ = value; onChanged(); return this; } /** * optional string type = 4; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000008); type_ = getDefaultInstance().getType(); onChanged(); return this; } /** * optional string type = 4; */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; type_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.Rule.Param) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.Rule.Param) private static final org.sonarqube.ws.Rules.Rule.Param DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.Rule.Param(); } public static org.sonarqube.ws.Rules.Rule.Param getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Param parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Param(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.Rules.Rule.Param getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; private int bitField1_; 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 REPO_FIELD_NUMBER = 2; private volatile java.lang.Object repo_; /** * optional string repo = 2; */ public boolean hasRepo() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string repo = 2; */ public java.lang.String getRepo() { java.lang.Object ref = repo_; 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()) { repo_ = s; } return s; } } /** * optional string repo = 2; */ public com.google.protobuf.ByteString getRepoBytes() { java.lang.Object ref = repo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); repo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** * optional string name = 3; */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string name = 3; */ 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 = 3; */ 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 CREATEDAT_FIELD_NUMBER = 4; private volatile java.lang.Object createdAt_; /** * optional string createdAt = 4; */ public boolean hasCreatedAt() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string createdAt = 4; */ 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 = 4; */ 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; } } public static final int HTMLDESC_FIELD_NUMBER = 5; private volatile java.lang.Object htmlDesc_; /** * optional string htmlDesc = 5; */ public boolean hasHtmlDesc() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string htmlDesc = 5; */ public java.lang.String getHtmlDesc() { java.lang.Object ref = htmlDesc_; 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()) { htmlDesc_ = s; } return s; } } /** * optional string htmlDesc = 5; */ public com.google.protobuf.ByteString getHtmlDescBytes() { java.lang.Object ref = htmlDesc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); htmlDesc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HTMLNOTE_FIELD_NUMBER = 6; private volatile java.lang.Object htmlNote_; /** * optional string htmlNote = 6; */ public boolean hasHtmlNote() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string htmlNote = 6; */ public java.lang.String getHtmlNote() { java.lang.Object ref = htmlNote_; 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()) { htmlNote_ = s; } return s; } } /** * optional string htmlNote = 6; */ public com.google.protobuf.ByteString getHtmlNoteBytes() { java.lang.Object ref = htmlNote_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); htmlNote_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MDDESC_FIELD_NUMBER = 7; private volatile java.lang.Object mdDesc_; /** * optional string mdDesc = 7; */ public boolean hasMdDesc() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string mdDesc = 7; */ public java.lang.String getMdDesc() { java.lang.Object ref = mdDesc_; 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()) { mdDesc_ = s; } return s; } } /** * optional string mdDesc = 7; */ public com.google.protobuf.ByteString getMdDescBytes() { java.lang.Object ref = mdDesc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mdDesc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MDNOTE_FIELD_NUMBER = 8; private volatile java.lang.Object mdNote_; /** * optional string mdNote = 8; */ public boolean hasMdNote() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string mdNote = 8; */ public java.lang.String getMdNote() { java.lang.Object ref = mdNote_; 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()) { mdNote_ = s; } return s; } } /** * optional string mdNote = 8; */ public com.google.protobuf.ByteString getMdNoteBytes() { java.lang.Object ref = mdNote_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mdNote_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NOTELOGIN_FIELD_NUMBER = 9; private volatile java.lang.Object noteLogin_; /** * optional string noteLogin = 9; */ public boolean hasNoteLogin() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional string noteLogin = 9; */ public java.lang.String getNoteLogin() { java.lang.Object ref = noteLogin_; 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()) { noteLogin_ = s; } return s; } } /** * optional string noteLogin = 9; */ public com.google.protobuf.ByteString getNoteLoginBytes() { java.lang.Object ref = noteLogin_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); noteLogin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEVERITY_FIELD_NUMBER = 10; private volatile java.lang.Object severity_; /** * optional string severity = 10; */ public boolean hasSeverity() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional string severity = 10; */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; 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()) { severity_ = s; } return s; } } /** * optional string severity = 10; */ public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); severity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 11; private int status_; /** * optional .sonarqube.ws.commons.RuleStatus status = 11; */ public boolean hasStatus() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional .sonarqube.ws.commons.RuleStatus status = 11; */ public org.sonarqube.ws.Common.RuleStatus getStatus() { org.sonarqube.ws.Common.RuleStatus result = org.sonarqube.ws.Common.RuleStatus.valueOf(status_); return result == null ? org.sonarqube.ws.Common.RuleStatus.BETA : result; } public static final int INTERNALKEY_FIELD_NUMBER = 12; private volatile java.lang.Object internalKey_; /** * optional string internalKey = 12; */ public boolean hasInternalKey() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional string internalKey = 12; */ public java.lang.String getInternalKey() { java.lang.Object ref = internalKey_; 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()) { internalKey_ = s; } return s; } } /** * optional string internalKey = 12; */ public com.google.protobuf.ByteString getInternalKeyBytes() { java.lang.Object ref = internalKey_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); internalKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ISTEMPLATE_FIELD_NUMBER = 13; private boolean isTemplate_; /** * optional bool isTemplate = 13; */ public boolean hasIsTemplate() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional bool isTemplate = 13; */ public boolean getIsTemplate() { return isTemplate_; } public static final int TEMPLATEKEY_FIELD_NUMBER = 14; private volatile java.lang.Object templateKey_; /** * optional string templateKey = 14; */ public boolean hasTemplateKey() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional string templateKey = 14; */ public java.lang.String getTemplateKey() { java.lang.Object ref = templateKey_; 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()) { templateKey_ = s; } return s; } } /** * optional string templateKey = 14; */ public com.google.protobuf.ByteString getTemplateKeyBytes() { java.lang.Object ref = templateKey_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); templateKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TAGS_FIELD_NUMBER = 15; private org.sonarqube.ws.Rules.Tags tags_; /** * optional .sonarqube.ws.rules.Tags tags = 15; */ public boolean hasTags() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional .sonarqube.ws.rules.Tags tags = 15; */ public org.sonarqube.ws.Rules.Tags getTags() { return tags_ == null ? org.sonarqube.ws.Rules.Tags.getDefaultInstance() : tags_; } /** * optional .sonarqube.ws.rules.Tags tags = 15; */ public org.sonarqube.ws.Rules.TagsOrBuilder getTagsOrBuilder() { return tags_ == null ? org.sonarqube.ws.Rules.Tags.getDefaultInstance() : tags_; } public static final int SYSTAGS_FIELD_NUMBER = 16; private org.sonarqube.ws.Rules.SysTags sysTags_; /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ public boolean hasSysTags() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ public org.sonarqube.ws.Rules.SysTags getSysTags() { return sysTags_ == null ? org.sonarqube.ws.Rules.SysTags.getDefaultInstance() : sysTags_; } /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ public org.sonarqube.ws.Rules.SysTagsOrBuilder getSysTagsOrBuilder() { return sysTags_ == null ? org.sonarqube.ws.Rules.SysTags.getDefaultInstance() : sysTags_; } public static final int LANG_FIELD_NUMBER = 19; private volatile java.lang.Object lang_; /** * optional string lang = 19; */ public boolean hasLang() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional string lang = 19; */ public java.lang.String getLang() { java.lang.Object ref = lang_; 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()) { lang_ = s; } return s; } } /** * optional string lang = 19; */ public com.google.protobuf.ByteString getLangBytes() { java.lang.Object ref = lang_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lang_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LANGNAME_FIELD_NUMBER = 20; private volatile java.lang.Object langName_; /** * optional string langName = 20; */ public boolean hasLangName() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional string langName = 20; */ public java.lang.String getLangName() { java.lang.Object ref = langName_; 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()) { langName_ = s; } return s; } } /** * optional string langName = 20; */ public com.google.protobuf.ByteString getLangNameBytes() { java.lang.Object ref = langName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); langName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARAMS_FIELD_NUMBER = 21; private org.sonarqube.ws.Rules.Rule.Params params_; /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ public boolean hasParams() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ public org.sonarqube.ws.Rules.Rule.Params getParams() { return params_ == null ? org.sonarqube.ws.Rules.Rule.Params.getDefaultInstance() : params_; } /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ public org.sonarqube.ws.Rules.Rule.ParamsOrBuilder getParamsOrBuilder() { return params_ == null ? org.sonarqube.ws.Rules.Rule.Params.getDefaultInstance() : params_; } public static final int UNUSEDDEFAULTDEBTCHAR_FIELD_NUMBER = 23; private volatile java.lang.Object unusedDefaultDebtChar_; /** * optional string unusedDefaultDebtChar = 23; * *
     * characteristic fields, unsupported since 5.5
     * 
*/ public boolean hasUnusedDefaultDebtChar() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional string unusedDefaultDebtChar = 23; * *
     * characteristic fields, unsupported since 5.5
     * 
*/ public java.lang.String getUnusedDefaultDebtChar() { java.lang.Object ref = unusedDefaultDebtChar_; 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()) { unusedDefaultDebtChar_ = s; } return s; } } /** * optional string unusedDefaultDebtChar = 23; * *
     * characteristic fields, unsupported since 5.5
     * 
*/ public com.google.protobuf.ByteString getUnusedDefaultDebtCharBytes() { java.lang.Object ref = unusedDefaultDebtChar_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedDefaultDebtChar_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNUSEDDEFAULTDEBTSUBCHAR_FIELD_NUMBER = 24; private volatile java.lang.Object unusedDefaultDebtSubChar_; /** * optional string unusedDefaultDebtSubChar = 24; */ public boolean hasUnusedDefaultDebtSubChar() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** * optional string unusedDefaultDebtSubChar = 24; */ public java.lang.String getUnusedDefaultDebtSubChar() { java.lang.Object ref = unusedDefaultDebtSubChar_; 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()) { unusedDefaultDebtSubChar_ = s; } return s; } } /** * optional string unusedDefaultDebtSubChar = 24; */ public com.google.protobuf.ByteString getUnusedDefaultDebtSubCharBytes() { java.lang.Object ref = unusedDefaultDebtSubChar_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedDefaultDebtSubChar_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNUSEDDEBTCHAR_FIELD_NUMBER = 25; private volatile java.lang.Object unusedDebtChar_; /** * optional string unusedDebtChar = 25; */ public boolean hasUnusedDebtChar() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** * optional string unusedDebtChar = 25; */ public java.lang.String getUnusedDebtChar() { java.lang.Object ref = unusedDebtChar_; 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()) { unusedDebtChar_ = s; } return s; } } /** * optional string unusedDebtChar = 25; */ public com.google.protobuf.ByteString getUnusedDebtCharBytes() { java.lang.Object ref = unusedDebtChar_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedDebtChar_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNUSEDDEBTSUBCHAR_FIELD_NUMBER = 26; private volatile java.lang.Object unusedDebtSubChar_; /** * optional string unusedDebtSubChar = 26; */ public boolean hasUnusedDebtSubChar() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** * optional string unusedDebtSubChar = 26; */ public java.lang.String getUnusedDebtSubChar() { java.lang.Object ref = unusedDebtSubChar_; 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()) { unusedDebtSubChar_ = s; } return s; } } /** * optional string unusedDebtSubChar = 26; */ public com.google.protobuf.ByteString getUnusedDebtSubCharBytes() { java.lang.Object ref = unusedDebtSubChar_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedDebtSubChar_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNUSEDDEBTCHARNAME_FIELD_NUMBER = 27; private volatile java.lang.Object unusedDebtCharName_; /** * optional string unusedDebtCharName = 27; */ public boolean hasUnusedDebtCharName() { return ((bitField0_ & 0x00800000) == 0x00800000); } /** * optional string unusedDebtCharName = 27; */ public java.lang.String getUnusedDebtCharName() { java.lang.Object ref = unusedDebtCharName_; 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()) { unusedDebtCharName_ = s; } return s; } } /** * optional string unusedDebtCharName = 27; */ public com.google.protobuf.ByteString getUnusedDebtCharNameBytes() { java.lang.Object ref = unusedDebtCharName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedDebtCharName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNUSEDDEBTSUBCHARNAME_FIELD_NUMBER = 28; private volatile java.lang.Object unusedDebtSubCharName_; /** * optional string unusedDebtSubCharName = 28; */ public boolean hasUnusedDebtSubCharName() { return ((bitField0_ & 0x01000000) == 0x01000000); } /** * optional string unusedDebtSubCharName = 28; */ public java.lang.String getUnusedDebtSubCharName() { java.lang.Object ref = unusedDebtSubCharName_; 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()) { unusedDebtSubCharName_ = s; } return s; } } /** * optional string unusedDebtSubCharName = 28; */ public com.google.protobuf.ByteString getUnusedDebtSubCharNameBytes() { java.lang.Object ref = unusedDebtSubCharName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedDebtSubCharName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULTDEBTREMFNTYPE_FIELD_NUMBER = 29; private volatile java.lang.Object defaultDebtRemFnType_; /** * optional string defaultDebtRemFnType = 29; * *
     * Deprecated since 5.5, replaced by defaultRemFnType
     * 
*/ public boolean hasDefaultDebtRemFnType() { return ((bitField0_ & 0x02000000) == 0x02000000); } /** * optional string defaultDebtRemFnType = 29; * *
     * Deprecated since 5.5, replaced by defaultRemFnType
     * 
*/ public java.lang.String getDefaultDebtRemFnType() { java.lang.Object ref = defaultDebtRemFnType_; 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()) { defaultDebtRemFnType_ = s; } return s; } } /** * optional string defaultDebtRemFnType = 29; * *
     * Deprecated since 5.5, replaced by defaultRemFnType
     * 
*/ public com.google.protobuf.ByteString getDefaultDebtRemFnTypeBytes() { java.lang.Object ref = defaultDebtRemFnType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultDebtRemFnType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULTDEBTREMFNCOEFF_FIELD_NUMBER = 30; private volatile java.lang.Object defaultDebtRemFnCoeff_; /** * optional string defaultDebtRemFnCoeff = 30; * *
     * Deprecated since 5.5, replaced by defaultRemFnGapMultiplier
     * 
*/ public boolean hasDefaultDebtRemFnCoeff() { return ((bitField0_ & 0x04000000) == 0x04000000); } /** * optional string defaultDebtRemFnCoeff = 30; * *
     * Deprecated since 5.5, replaced by defaultRemFnGapMultiplier
     * 
*/ public java.lang.String getDefaultDebtRemFnCoeff() { java.lang.Object ref = defaultDebtRemFnCoeff_; 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()) { defaultDebtRemFnCoeff_ = s; } return s; } } /** * optional string defaultDebtRemFnCoeff = 30; * *
     * Deprecated since 5.5, replaced by defaultRemFnGapMultiplier
     * 
*/ public com.google.protobuf.ByteString getDefaultDebtRemFnCoeffBytes() { java.lang.Object ref = defaultDebtRemFnCoeff_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultDebtRemFnCoeff_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULTDEBTREMFNOFFSET_FIELD_NUMBER = 31; private volatile java.lang.Object defaultDebtRemFnOffset_; /** * optional string defaultDebtRemFnOffset = 31; * *
     * Deprecated since 5.5, replaced by defaultRemFnBaseEffort
     * 
*/ public boolean hasDefaultDebtRemFnOffset() { return ((bitField0_ & 0x08000000) == 0x08000000); } /** * optional string defaultDebtRemFnOffset = 31; * *
     * Deprecated since 5.5, replaced by defaultRemFnBaseEffort
     * 
*/ public java.lang.String getDefaultDebtRemFnOffset() { java.lang.Object ref = defaultDebtRemFnOffset_; 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()) { defaultDebtRemFnOffset_ = s; } return s; } } /** * optional string defaultDebtRemFnOffset = 31; * *
     * Deprecated since 5.5, replaced by defaultRemFnBaseEffort
     * 
*/ public com.google.protobuf.ByteString getDefaultDebtRemFnOffsetBytes() { java.lang.Object ref = defaultDebtRemFnOffset_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultDebtRemFnOffset_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EFFORTTOFIXDESCRIPTION_FIELD_NUMBER = 32; private volatile java.lang.Object effortToFixDescription_; /** * optional string effortToFixDescription = 32; * *
     * Deprecated since 5.5, replaced by gapDescription
     * 
*/ public boolean hasEffortToFixDescription() { return ((bitField0_ & 0x10000000) == 0x10000000); } /** * optional string effortToFixDescription = 32; * *
     * Deprecated since 5.5, replaced by gapDescription
     * 
*/ public java.lang.String getEffortToFixDescription() { java.lang.Object ref = effortToFixDescription_; 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()) { effortToFixDescription_ = s; } return s; } } /** * optional string effortToFixDescription = 32; * *
     * Deprecated since 5.5, replaced by gapDescription
     * 
*/ public com.google.protobuf.ByteString getEffortToFixDescriptionBytes() { java.lang.Object ref = effortToFixDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); effortToFixDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEBTOVERLOADED_FIELD_NUMBER = 33; private boolean debtOverloaded_; /** * optional bool debtOverloaded = 33; * *
     * Deprecated since 5.5, replaced by remFnOverloaded
     * 
*/ public boolean hasDebtOverloaded() { return ((bitField0_ & 0x20000000) == 0x20000000); } /** * optional bool debtOverloaded = 33; * *
     * Deprecated since 5.5, replaced by remFnOverloaded
     * 
*/ public boolean getDebtOverloaded() { return debtOverloaded_; } public static final int DEBTREMFNTYPE_FIELD_NUMBER = 34; private volatile java.lang.Object debtRemFnType_; /** * optional string debtRemFnType = 34; * *
     * Deprecated since 5.5, replaced by remFnType
     * 
*/ public boolean hasDebtRemFnType() { return ((bitField0_ & 0x40000000) == 0x40000000); } /** * optional string debtRemFnType = 34; * *
     * Deprecated since 5.5, replaced by remFnType
     * 
*/ public java.lang.String getDebtRemFnType() { java.lang.Object ref = debtRemFnType_; 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()) { debtRemFnType_ = s; } return s; } } /** * optional string debtRemFnType = 34; * *
     * Deprecated since 5.5, replaced by remFnType
     * 
*/ public com.google.protobuf.ByteString getDebtRemFnTypeBytes() { java.lang.Object ref = debtRemFnType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); debtRemFnType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEBTREMFNCOEFF_FIELD_NUMBER = 35; private volatile java.lang.Object debtRemFnCoeff_; /** * optional string debtRemFnCoeff = 35; * *
     * Deprecated since 5.5, replaced by remFnGapMultiplier
     * 
*/ public boolean hasDebtRemFnCoeff() { return ((bitField0_ & 0x80000000) == 0x80000000); } /** * optional string debtRemFnCoeff = 35; * *
     * Deprecated since 5.5, replaced by remFnGapMultiplier
     * 
*/ public java.lang.String getDebtRemFnCoeff() { java.lang.Object ref = debtRemFnCoeff_; 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()) { debtRemFnCoeff_ = s; } return s; } } /** * optional string debtRemFnCoeff = 35; * *
     * Deprecated since 5.5, replaced by remFnGapMultiplier
     * 
*/ public com.google.protobuf.ByteString getDebtRemFnCoeffBytes() { java.lang.Object ref = debtRemFnCoeff_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); debtRemFnCoeff_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEBTREMFNOFFSET_FIELD_NUMBER = 36; private volatile java.lang.Object debtRemFnOffset_; /** * optional string debtRemFnOffset = 36; * *
     * Deprecated since 5.5, replaced by remFnBaseEffort
     * 
*/ public boolean hasDebtRemFnOffset() { return ((bitField1_ & 0x00000001) == 0x00000001); } /** * optional string debtRemFnOffset = 36; * *
     * Deprecated since 5.5, replaced by remFnBaseEffort
     * 
*/ public java.lang.String getDebtRemFnOffset() { java.lang.Object ref = debtRemFnOffset_; 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()) { debtRemFnOffset_ = s; } return s; } } /** * optional string debtRemFnOffset = 36; * *
     * Deprecated since 5.5, replaced by remFnBaseEffort
     * 
*/ public com.google.protobuf.ByteString getDebtRemFnOffsetBytes() { java.lang.Object ref = debtRemFnOffset_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); debtRemFnOffset_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULTREMFNTYPE_FIELD_NUMBER = 38; private volatile java.lang.Object defaultRemFnType_; /** * optional string defaultRemFnType = 38; */ public boolean hasDefaultRemFnType() { return ((bitField1_ & 0x00000002) == 0x00000002); } /** * optional string defaultRemFnType = 38; */ public java.lang.String getDefaultRemFnType() { java.lang.Object ref = defaultRemFnType_; 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()) { defaultRemFnType_ = s; } return s; } } /** * optional string defaultRemFnType = 38; */ public com.google.protobuf.ByteString getDefaultRemFnTypeBytes() { java.lang.Object ref = defaultRemFnType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultRemFnType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULTREMFNGAPMULTIPLIER_FIELD_NUMBER = 39; private volatile java.lang.Object defaultRemFnGapMultiplier_; /** * optional string defaultRemFnGapMultiplier = 39; */ public boolean hasDefaultRemFnGapMultiplier() { return ((bitField1_ & 0x00000004) == 0x00000004); } /** * optional string defaultRemFnGapMultiplier = 39; */ public java.lang.String getDefaultRemFnGapMultiplier() { java.lang.Object ref = defaultRemFnGapMultiplier_; 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()) { defaultRemFnGapMultiplier_ = s; } return s; } } /** * optional string defaultRemFnGapMultiplier = 39; */ public com.google.protobuf.ByteString getDefaultRemFnGapMultiplierBytes() { java.lang.Object ref = defaultRemFnGapMultiplier_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultRemFnGapMultiplier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULTREMFNBASEEFFORT_FIELD_NUMBER = 40; private volatile java.lang.Object defaultRemFnBaseEffort_; /** * optional string defaultRemFnBaseEffort = 40; */ public boolean hasDefaultRemFnBaseEffort() { return ((bitField1_ & 0x00000008) == 0x00000008); } /** * optional string defaultRemFnBaseEffort = 40; */ public java.lang.String getDefaultRemFnBaseEffort() { java.lang.Object ref = defaultRemFnBaseEffort_; 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()) { defaultRemFnBaseEffort_ = s; } return s; } } /** * optional string defaultRemFnBaseEffort = 40; */ public com.google.protobuf.ByteString getDefaultRemFnBaseEffortBytes() { java.lang.Object ref = defaultRemFnBaseEffort_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultRemFnBaseEffort_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REMFNTYPE_FIELD_NUMBER = 41; private volatile java.lang.Object remFnType_; /** * optional string remFnType = 41; */ public boolean hasRemFnType() { return ((bitField1_ & 0x00000010) == 0x00000010); } /** * optional string remFnType = 41; */ public java.lang.String getRemFnType() { java.lang.Object ref = remFnType_; 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()) { remFnType_ = s; } return s; } } /** * optional string remFnType = 41; */ public com.google.protobuf.ByteString getRemFnTypeBytes() { java.lang.Object ref = remFnType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); remFnType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REMFNGAPMULTIPLIER_FIELD_NUMBER = 42; private volatile java.lang.Object remFnGapMultiplier_; /** * optional string remFnGapMultiplier = 42; */ public boolean hasRemFnGapMultiplier() { return ((bitField1_ & 0x00000020) == 0x00000020); } /** * optional string remFnGapMultiplier = 42; */ public java.lang.String getRemFnGapMultiplier() { java.lang.Object ref = remFnGapMultiplier_; 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()) { remFnGapMultiplier_ = s; } return s; } } /** * optional string remFnGapMultiplier = 42; */ public com.google.protobuf.ByteString getRemFnGapMultiplierBytes() { java.lang.Object ref = remFnGapMultiplier_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); remFnGapMultiplier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REMFNBASEEFFORT_FIELD_NUMBER = 43; private volatile java.lang.Object remFnBaseEffort_; /** * optional string remFnBaseEffort = 43; */ public boolean hasRemFnBaseEffort() { return ((bitField1_ & 0x00000040) == 0x00000040); } /** * optional string remFnBaseEffort = 43; */ public java.lang.String getRemFnBaseEffort() { java.lang.Object ref = remFnBaseEffort_; 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()) { remFnBaseEffort_ = s; } return s; } } /** * optional string remFnBaseEffort = 43; */ public com.google.protobuf.ByteString getRemFnBaseEffortBytes() { java.lang.Object ref = remFnBaseEffort_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); remFnBaseEffort_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REMFNOVERLOADED_FIELD_NUMBER = 45; private boolean remFnOverloaded_; /** * optional bool remFnOverloaded = 45; */ public boolean hasRemFnOverloaded() { return ((bitField1_ & 0x00000080) == 0x00000080); } /** * optional bool remFnOverloaded = 45; */ public boolean getRemFnOverloaded() { return remFnOverloaded_; } public static final int GAPDESCRIPTION_FIELD_NUMBER = 44; private volatile java.lang.Object gapDescription_; /** * optional string gapDescription = 44; */ public boolean hasGapDescription() { return ((bitField1_ & 0x00000100) == 0x00000100); } /** * optional string gapDescription = 44; */ public java.lang.String getGapDescription() { java.lang.Object ref = gapDescription_; 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()) { gapDescription_ = s; } return s; } } /** * optional string gapDescription = 44; */ public com.google.protobuf.ByteString getGapDescriptionBytes() { java.lang.Object ref = gapDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gapDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 37; private int type_; /** * optional .sonarqube.ws.commons.RuleType type = 37; */ public boolean hasType() { return ((bitField1_ & 0x00000200) == 0x00000200); } /** * optional .sonarqube.ws.commons.RuleType type = 37; */ 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, repo_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, name_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessage.writeString(output, 4, createdAt_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessage.writeString(output, 5, htmlDesc_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessage.writeString(output, 6, htmlNote_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { com.google.protobuf.GeneratedMessage.writeString(output, 7, mdDesc_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { com.google.protobuf.GeneratedMessage.writeString(output, 8, mdNote_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { com.google.protobuf.GeneratedMessage.writeString(output, 9, noteLogin_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { com.google.protobuf.GeneratedMessage.writeString(output, 10, severity_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeEnum(11, status_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { com.google.protobuf.GeneratedMessage.writeString(output, 12, internalKey_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeBool(13, isTemplate_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { com.google.protobuf.GeneratedMessage.writeString(output, 14, templateKey_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { output.writeMessage(15, getTags()); } if (((bitField0_ & 0x00008000) == 0x00008000)) { output.writeMessage(16, getSysTags()); } if (((bitField0_ & 0x00010000) == 0x00010000)) { com.google.protobuf.GeneratedMessage.writeString(output, 19, lang_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { com.google.protobuf.GeneratedMessage.writeString(output, 20, langName_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { output.writeMessage(21, getParams()); } if (((bitField0_ & 0x00080000) == 0x00080000)) { com.google.protobuf.GeneratedMessage.writeString(output, 23, unusedDefaultDebtChar_); } if (((bitField0_ & 0x00100000) == 0x00100000)) { com.google.protobuf.GeneratedMessage.writeString(output, 24, unusedDefaultDebtSubChar_); } if (((bitField0_ & 0x00200000) == 0x00200000)) { com.google.protobuf.GeneratedMessage.writeString(output, 25, unusedDebtChar_); } if (((bitField0_ & 0x00400000) == 0x00400000)) { com.google.protobuf.GeneratedMessage.writeString(output, 26, unusedDebtSubChar_); } if (((bitField0_ & 0x00800000) == 0x00800000)) { com.google.protobuf.GeneratedMessage.writeString(output, 27, unusedDebtCharName_); } if (((bitField0_ & 0x01000000) == 0x01000000)) { com.google.protobuf.GeneratedMessage.writeString(output, 28, unusedDebtSubCharName_); } if (((bitField0_ & 0x02000000) == 0x02000000)) { com.google.protobuf.GeneratedMessage.writeString(output, 29, defaultDebtRemFnType_); } if (((bitField0_ & 0x04000000) == 0x04000000)) { com.google.protobuf.GeneratedMessage.writeString(output, 30, defaultDebtRemFnCoeff_); } if (((bitField0_ & 0x08000000) == 0x08000000)) { com.google.protobuf.GeneratedMessage.writeString(output, 31, defaultDebtRemFnOffset_); } if (((bitField0_ & 0x10000000) == 0x10000000)) { com.google.protobuf.GeneratedMessage.writeString(output, 32, effortToFixDescription_); } if (((bitField0_ & 0x20000000) == 0x20000000)) { output.writeBool(33, debtOverloaded_); } if (((bitField0_ & 0x40000000) == 0x40000000)) { com.google.protobuf.GeneratedMessage.writeString(output, 34, debtRemFnType_); } if (((bitField0_ & 0x80000000) == 0x80000000)) { com.google.protobuf.GeneratedMessage.writeString(output, 35, debtRemFnCoeff_); } if (((bitField1_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessage.writeString(output, 36, debtRemFnOffset_); } if (((bitField1_ & 0x00000200) == 0x00000200)) { output.writeEnum(37, type_); } if (((bitField1_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessage.writeString(output, 38, defaultRemFnType_); } if (((bitField1_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessage.writeString(output, 39, defaultRemFnGapMultiplier_); } if (((bitField1_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessage.writeString(output, 40, defaultRemFnBaseEffort_); } if (((bitField1_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessage.writeString(output, 41, remFnType_); } if (((bitField1_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessage.writeString(output, 42, remFnGapMultiplier_); } if (((bitField1_ & 0x00000040) == 0x00000040)) { com.google.protobuf.GeneratedMessage.writeString(output, 43, remFnBaseEffort_); } if (((bitField1_ & 0x00000100) == 0x00000100)) { com.google.protobuf.GeneratedMessage.writeString(output, 44, gapDescription_); } if (((bitField1_ & 0x00000080) == 0x00000080)) { output.writeBool(45, remFnOverloaded_); } 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, repo_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, name_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(4, createdAt_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(5, htmlDesc_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(6, htmlNote_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(7, mdDesc_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(8, mdNote_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(9, noteLogin_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(10, severity_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(11, status_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(12, internalKey_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, isTemplate_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(14, templateKey_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getTags()); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getSysTags()); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(19, lang_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(20, langName_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, getParams()); } if (((bitField0_ & 0x00080000) == 0x00080000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(23, unusedDefaultDebtChar_); } if (((bitField0_ & 0x00100000) == 0x00100000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(24, unusedDefaultDebtSubChar_); } if (((bitField0_ & 0x00200000) == 0x00200000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(25, unusedDebtChar_); } if (((bitField0_ & 0x00400000) == 0x00400000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(26, unusedDebtSubChar_); } if (((bitField0_ & 0x00800000) == 0x00800000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(27, unusedDebtCharName_); } if (((bitField0_ & 0x01000000) == 0x01000000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(28, unusedDebtSubCharName_); } if (((bitField0_ & 0x02000000) == 0x02000000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(29, defaultDebtRemFnType_); } if (((bitField0_ & 0x04000000) == 0x04000000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(30, defaultDebtRemFnCoeff_); } if (((bitField0_ & 0x08000000) == 0x08000000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(31, defaultDebtRemFnOffset_); } if (((bitField0_ & 0x10000000) == 0x10000000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(32, effortToFixDescription_); } if (((bitField0_ & 0x20000000) == 0x20000000)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(33, debtOverloaded_); } if (((bitField0_ & 0x40000000) == 0x40000000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(34, debtRemFnType_); } if (((bitField0_ & 0x80000000) == 0x80000000)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(35, debtRemFnCoeff_); } if (((bitField1_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(36, debtRemFnOffset_); } if (((bitField1_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(37, type_); } if (((bitField1_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(38, defaultRemFnType_); } if (((bitField1_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(39, defaultRemFnGapMultiplier_); } if (((bitField1_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(40, defaultRemFnBaseEffort_); } if (((bitField1_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(41, remFnType_); } if (((bitField1_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(42, remFnGapMultiplier_); } if (((bitField1_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(43, remFnBaseEffort_); } if (((bitField1_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(44, gapDescription_); } if (((bitField1_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(45, remFnOverloaded_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.Rule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Rule 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.Rules.Rule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Rule parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.Rule parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Rule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Rule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.Rule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Rule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Rule 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.Rules.Rule 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.rules.Rule} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.Rule) org.sonarqube.ws.Rules.RuleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Rule_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Rule_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Rule.class, org.sonarqube.ws.Rules.Rule.Builder.class); } // Construct using org.sonarqube.ws.Rules.Rule.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getTagsFieldBuilder(); getSysTagsFieldBuilder(); getParamsFieldBuilder(); } } public Builder clear() { super.clear(); key_ = ""; bitField0_ = (bitField0_ & ~0x00000001); repo_ = ""; bitField0_ = (bitField0_ & ~0x00000002); name_ = ""; bitField0_ = (bitField0_ & ~0x00000004); createdAt_ = ""; bitField0_ = (bitField0_ & ~0x00000008); htmlDesc_ = ""; bitField0_ = (bitField0_ & ~0x00000010); htmlNote_ = ""; bitField0_ = (bitField0_ & ~0x00000020); mdDesc_ = ""; bitField0_ = (bitField0_ & ~0x00000040); mdNote_ = ""; bitField0_ = (bitField0_ & ~0x00000080); noteLogin_ = ""; bitField0_ = (bitField0_ & ~0x00000100); severity_ = ""; bitField0_ = (bitField0_ & ~0x00000200); status_ = 0; bitField0_ = (bitField0_ & ~0x00000400); internalKey_ = ""; bitField0_ = (bitField0_ & ~0x00000800); isTemplate_ = false; bitField0_ = (bitField0_ & ~0x00001000); templateKey_ = ""; bitField0_ = (bitField0_ & ~0x00002000); if (tagsBuilder_ == null) { tags_ = null; } else { tagsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00004000); if (sysTagsBuilder_ == null) { sysTags_ = null; } else { sysTagsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00008000); lang_ = ""; bitField0_ = (bitField0_ & ~0x00010000); langName_ = ""; bitField0_ = (bitField0_ & ~0x00020000); if (paramsBuilder_ == null) { params_ = null; } else { paramsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00040000); unusedDefaultDebtChar_ = ""; bitField0_ = (bitField0_ & ~0x00080000); unusedDefaultDebtSubChar_ = ""; bitField0_ = (bitField0_ & ~0x00100000); unusedDebtChar_ = ""; bitField0_ = (bitField0_ & ~0x00200000); unusedDebtSubChar_ = ""; bitField0_ = (bitField0_ & ~0x00400000); unusedDebtCharName_ = ""; bitField0_ = (bitField0_ & ~0x00800000); unusedDebtSubCharName_ = ""; bitField0_ = (bitField0_ & ~0x01000000); defaultDebtRemFnType_ = ""; bitField0_ = (bitField0_ & ~0x02000000); defaultDebtRemFnCoeff_ = ""; bitField0_ = (bitField0_ & ~0x04000000); defaultDebtRemFnOffset_ = ""; bitField0_ = (bitField0_ & ~0x08000000); effortToFixDescription_ = ""; bitField0_ = (bitField0_ & ~0x10000000); debtOverloaded_ = false; bitField0_ = (bitField0_ & ~0x20000000); debtRemFnType_ = ""; bitField0_ = (bitField0_ & ~0x40000000); debtRemFnCoeff_ = ""; bitField0_ = (bitField0_ & ~0x80000000); debtRemFnOffset_ = ""; bitField1_ = (bitField1_ & ~0x00000001); defaultRemFnType_ = ""; bitField1_ = (bitField1_ & ~0x00000002); defaultRemFnGapMultiplier_ = ""; bitField1_ = (bitField1_ & ~0x00000004); defaultRemFnBaseEffort_ = ""; bitField1_ = (bitField1_ & ~0x00000008); remFnType_ = ""; bitField1_ = (bitField1_ & ~0x00000010); remFnGapMultiplier_ = ""; bitField1_ = (bitField1_ & ~0x00000020); remFnBaseEffort_ = ""; bitField1_ = (bitField1_ & ~0x00000040); remFnOverloaded_ = false; bitField1_ = (bitField1_ & ~0x00000080); gapDescription_ = ""; bitField1_ = (bitField1_ & ~0x00000100); type_ = 0; bitField1_ = (bitField1_ & ~0x00000200); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Rule_descriptor; } public org.sonarqube.ws.Rules.Rule getDefaultInstanceForType() { return org.sonarqube.ws.Rules.Rule.getDefaultInstance(); } public org.sonarqube.ws.Rules.Rule build() { org.sonarqube.ws.Rules.Rule result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.Rule buildPartial() { org.sonarqube.ws.Rules.Rule result = new org.sonarqube.ws.Rules.Rule(this); int from_bitField0_ = bitField0_; int from_bitField1_ = bitField1_; int to_bitField0_ = 0; int to_bitField1_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.key_ = key_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.repo_ = repo_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.name_ = name_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.createdAt_ = createdAt_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.htmlDesc_ = htmlDesc_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.htmlNote_ = htmlNote_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.mdDesc_ = mdDesc_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.mdNote_ = mdNote_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.noteLogin_ = noteLogin_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.severity_ = severity_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.status_ = status_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } result.internalKey_ = internalKey_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00001000; } result.isTemplate_ = isTemplate_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00002000; } result.templateKey_ = templateKey_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00004000; } if (tagsBuilder_ == null) { result.tags_ = tags_; } else { result.tags_ = tagsBuilder_.build(); } if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00008000; } if (sysTagsBuilder_ == null) { result.sysTags_ = sysTags_; } else { result.sysTags_ = sysTagsBuilder_.build(); } if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00010000; } result.lang_ = lang_; if (((from_bitField0_ & 0x00020000) == 0x00020000)) { to_bitField0_ |= 0x00020000; } result.langName_ = langName_; if (((from_bitField0_ & 0x00040000) == 0x00040000)) { to_bitField0_ |= 0x00040000; } if (paramsBuilder_ == null) { result.params_ = params_; } else { result.params_ = paramsBuilder_.build(); } if (((from_bitField0_ & 0x00080000) == 0x00080000)) { to_bitField0_ |= 0x00080000; } result.unusedDefaultDebtChar_ = unusedDefaultDebtChar_; if (((from_bitField0_ & 0x00100000) == 0x00100000)) { to_bitField0_ |= 0x00100000; } result.unusedDefaultDebtSubChar_ = unusedDefaultDebtSubChar_; if (((from_bitField0_ & 0x00200000) == 0x00200000)) { to_bitField0_ |= 0x00200000; } result.unusedDebtChar_ = unusedDebtChar_; if (((from_bitField0_ & 0x00400000) == 0x00400000)) { to_bitField0_ |= 0x00400000; } result.unusedDebtSubChar_ = unusedDebtSubChar_; if (((from_bitField0_ & 0x00800000) == 0x00800000)) { to_bitField0_ |= 0x00800000; } result.unusedDebtCharName_ = unusedDebtCharName_; if (((from_bitField0_ & 0x01000000) == 0x01000000)) { to_bitField0_ |= 0x01000000; } result.unusedDebtSubCharName_ = unusedDebtSubCharName_; if (((from_bitField0_ & 0x02000000) == 0x02000000)) { to_bitField0_ |= 0x02000000; } result.defaultDebtRemFnType_ = defaultDebtRemFnType_; if (((from_bitField0_ & 0x04000000) == 0x04000000)) { to_bitField0_ |= 0x04000000; } result.defaultDebtRemFnCoeff_ = defaultDebtRemFnCoeff_; if (((from_bitField0_ & 0x08000000) == 0x08000000)) { to_bitField0_ |= 0x08000000; } result.defaultDebtRemFnOffset_ = defaultDebtRemFnOffset_; if (((from_bitField0_ & 0x10000000) == 0x10000000)) { to_bitField0_ |= 0x10000000; } result.effortToFixDescription_ = effortToFixDescription_; if (((from_bitField0_ & 0x20000000) == 0x20000000)) { to_bitField0_ |= 0x20000000; } result.debtOverloaded_ = debtOverloaded_; if (((from_bitField0_ & 0x40000000) == 0x40000000)) { to_bitField0_ |= 0x40000000; } result.debtRemFnType_ = debtRemFnType_; if (((from_bitField0_ & 0x80000000) == 0x80000000)) { to_bitField0_ |= 0x80000000; } result.debtRemFnCoeff_ = debtRemFnCoeff_; if (((from_bitField1_ & 0x00000001) == 0x00000001)) { to_bitField1_ |= 0x00000001; } result.debtRemFnOffset_ = debtRemFnOffset_; if (((from_bitField1_ & 0x00000002) == 0x00000002)) { to_bitField1_ |= 0x00000002; } result.defaultRemFnType_ = defaultRemFnType_; if (((from_bitField1_ & 0x00000004) == 0x00000004)) { to_bitField1_ |= 0x00000004; } result.defaultRemFnGapMultiplier_ = defaultRemFnGapMultiplier_; if (((from_bitField1_ & 0x00000008) == 0x00000008)) { to_bitField1_ |= 0x00000008; } result.defaultRemFnBaseEffort_ = defaultRemFnBaseEffort_; if (((from_bitField1_ & 0x00000010) == 0x00000010)) { to_bitField1_ |= 0x00000010; } result.remFnType_ = remFnType_; if (((from_bitField1_ & 0x00000020) == 0x00000020)) { to_bitField1_ |= 0x00000020; } result.remFnGapMultiplier_ = remFnGapMultiplier_; if (((from_bitField1_ & 0x00000040) == 0x00000040)) { to_bitField1_ |= 0x00000040; } result.remFnBaseEffort_ = remFnBaseEffort_; if (((from_bitField1_ & 0x00000080) == 0x00000080)) { to_bitField1_ |= 0x00000080; } result.remFnOverloaded_ = remFnOverloaded_; if (((from_bitField1_ & 0x00000100) == 0x00000100)) { to_bitField1_ |= 0x00000100; } result.gapDescription_ = gapDescription_; if (((from_bitField1_ & 0x00000200) == 0x00000200)) { to_bitField1_ |= 0x00000200; } result.type_ = type_; result.bitField0_ = to_bitField0_; result.bitField1_ = to_bitField1_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.Rule) { return mergeFrom((org.sonarqube.ws.Rules.Rule)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.Rule other) { if (other == org.sonarqube.ws.Rules.Rule.getDefaultInstance()) return this; if (other.hasKey()) { bitField0_ |= 0x00000001; key_ = other.key_; onChanged(); } if (other.hasRepo()) { bitField0_ |= 0x00000002; repo_ = other.repo_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000004; name_ = other.name_; onChanged(); } if (other.hasCreatedAt()) { bitField0_ |= 0x00000008; createdAt_ = other.createdAt_; onChanged(); } if (other.hasHtmlDesc()) { bitField0_ |= 0x00000010; htmlDesc_ = other.htmlDesc_; onChanged(); } if (other.hasHtmlNote()) { bitField0_ |= 0x00000020; htmlNote_ = other.htmlNote_; onChanged(); } if (other.hasMdDesc()) { bitField0_ |= 0x00000040; mdDesc_ = other.mdDesc_; onChanged(); } if (other.hasMdNote()) { bitField0_ |= 0x00000080; mdNote_ = other.mdNote_; onChanged(); } if (other.hasNoteLogin()) { bitField0_ |= 0x00000100; noteLogin_ = other.noteLogin_; onChanged(); } if (other.hasSeverity()) { bitField0_ |= 0x00000200; severity_ = other.severity_; onChanged(); } if (other.hasStatus()) { setStatus(other.getStatus()); } if (other.hasInternalKey()) { bitField0_ |= 0x00000800; internalKey_ = other.internalKey_; onChanged(); } if (other.hasIsTemplate()) { setIsTemplate(other.getIsTemplate()); } if (other.hasTemplateKey()) { bitField0_ |= 0x00002000; templateKey_ = other.templateKey_; onChanged(); } if (other.hasTags()) { mergeTags(other.getTags()); } if (other.hasSysTags()) { mergeSysTags(other.getSysTags()); } if (other.hasLang()) { bitField0_ |= 0x00010000; lang_ = other.lang_; onChanged(); } if (other.hasLangName()) { bitField0_ |= 0x00020000; langName_ = other.langName_; onChanged(); } if (other.hasParams()) { mergeParams(other.getParams()); } if (other.hasUnusedDefaultDebtChar()) { bitField0_ |= 0x00080000; unusedDefaultDebtChar_ = other.unusedDefaultDebtChar_; onChanged(); } if (other.hasUnusedDefaultDebtSubChar()) { bitField0_ |= 0x00100000; unusedDefaultDebtSubChar_ = other.unusedDefaultDebtSubChar_; onChanged(); } if (other.hasUnusedDebtChar()) { bitField0_ |= 0x00200000; unusedDebtChar_ = other.unusedDebtChar_; onChanged(); } if (other.hasUnusedDebtSubChar()) { bitField0_ |= 0x00400000; unusedDebtSubChar_ = other.unusedDebtSubChar_; onChanged(); } if (other.hasUnusedDebtCharName()) { bitField0_ |= 0x00800000; unusedDebtCharName_ = other.unusedDebtCharName_; onChanged(); } if (other.hasUnusedDebtSubCharName()) { bitField0_ |= 0x01000000; unusedDebtSubCharName_ = other.unusedDebtSubCharName_; onChanged(); } if (other.hasDefaultDebtRemFnType()) { bitField0_ |= 0x02000000; defaultDebtRemFnType_ = other.defaultDebtRemFnType_; onChanged(); } if (other.hasDefaultDebtRemFnCoeff()) { bitField0_ |= 0x04000000; defaultDebtRemFnCoeff_ = other.defaultDebtRemFnCoeff_; onChanged(); } if (other.hasDefaultDebtRemFnOffset()) { bitField0_ |= 0x08000000; defaultDebtRemFnOffset_ = other.defaultDebtRemFnOffset_; onChanged(); } if (other.hasEffortToFixDescription()) { bitField0_ |= 0x10000000; effortToFixDescription_ = other.effortToFixDescription_; onChanged(); } if (other.hasDebtOverloaded()) { setDebtOverloaded(other.getDebtOverloaded()); } if (other.hasDebtRemFnType()) { bitField0_ |= 0x40000000; debtRemFnType_ = other.debtRemFnType_; onChanged(); } if (other.hasDebtRemFnCoeff()) { bitField0_ |= 0x80000000; debtRemFnCoeff_ = other.debtRemFnCoeff_; onChanged(); } if (other.hasDebtRemFnOffset()) { bitField1_ |= 0x00000001; debtRemFnOffset_ = other.debtRemFnOffset_; onChanged(); } if (other.hasDefaultRemFnType()) { bitField1_ |= 0x00000002; defaultRemFnType_ = other.defaultRemFnType_; onChanged(); } if (other.hasDefaultRemFnGapMultiplier()) { bitField1_ |= 0x00000004; defaultRemFnGapMultiplier_ = other.defaultRemFnGapMultiplier_; onChanged(); } if (other.hasDefaultRemFnBaseEffort()) { bitField1_ |= 0x00000008; defaultRemFnBaseEffort_ = other.defaultRemFnBaseEffort_; onChanged(); } if (other.hasRemFnType()) { bitField1_ |= 0x00000010; remFnType_ = other.remFnType_; onChanged(); } if (other.hasRemFnGapMultiplier()) { bitField1_ |= 0x00000020; remFnGapMultiplier_ = other.remFnGapMultiplier_; onChanged(); } if (other.hasRemFnBaseEffort()) { bitField1_ |= 0x00000040; remFnBaseEffort_ = other.remFnBaseEffort_; onChanged(); } if (other.hasRemFnOverloaded()) { setRemFnOverloaded(other.getRemFnOverloaded()); } if (other.hasGapDescription()) { bitField1_ |= 0x00000100; gapDescription_ = other.gapDescription_; 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.Rules.Rule parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.Rule) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int bitField1_; 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 repo_ = ""; /** * optional string repo = 2; */ public boolean hasRepo() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string repo = 2; */ public java.lang.String getRepo() { java.lang.Object ref = repo_; 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()) { repo_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string repo = 2; */ public com.google.protobuf.ByteString getRepoBytes() { java.lang.Object ref = repo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); repo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string repo = 2; */ public Builder setRepo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; repo_ = value; onChanged(); return this; } /** * optional string repo = 2; */ public Builder clearRepo() { bitField0_ = (bitField0_ & ~0x00000002); repo_ = getDefaultInstance().getRepo(); onChanged(); return this; } /** * optional string repo = 2; */ public Builder setRepoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; repo_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * optional string name = 3; */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string name = 3; */ 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 = 3; */ 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 = 3; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; name_ = value; onChanged(); return this; } /** * optional string name = 3; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000004); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 3; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; name_ = value; onChanged(); return this; } private java.lang.Object createdAt_ = ""; /** * optional string createdAt = 4; */ public boolean hasCreatedAt() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string createdAt = 4; */ 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 = 4; */ 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 = 4; */ public Builder setCreatedAt( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; createdAt_ = value; onChanged(); return this; } /** * optional string createdAt = 4; */ public Builder clearCreatedAt() { bitField0_ = (bitField0_ & ~0x00000008); createdAt_ = getDefaultInstance().getCreatedAt(); onChanged(); return this; } /** * optional string createdAt = 4; */ public Builder setCreatedAtBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; createdAt_ = value; onChanged(); return this; } private java.lang.Object htmlDesc_ = ""; /** * optional string htmlDesc = 5; */ public boolean hasHtmlDesc() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string htmlDesc = 5; */ public java.lang.String getHtmlDesc() { java.lang.Object ref = htmlDesc_; 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()) { htmlDesc_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string htmlDesc = 5; */ public com.google.protobuf.ByteString getHtmlDescBytes() { java.lang.Object ref = htmlDesc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); htmlDesc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string htmlDesc = 5; */ public Builder setHtmlDesc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; htmlDesc_ = value; onChanged(); return this; } /** * optional string htmlDesc = 5; */ public Builder clearHtmlDesc() { bitField0_ = (bitField0_ & ~0x00000010); htmlDesc_ = getDefaultInstance().getHtmlDesc(); onChanged(); return this; } /** * optional string htmlDesc = 5; */ public Builder setHtmlDescBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; htmlDesc_ = value; onChanged(); return this; } private java.lang.Object htmlNote_ = ""; /** * optional string htmlNote = 6; */ public boolean hasHtmlNote() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string htmlNote = 6; */ public java.lang.String getHtmlNote() { java.lang.Object ref = htmlNote_; 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()) { htmlNote_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string htmlNote = 6; */ public com.google.protobuf.ByteString getHtmlNoteBytes() { java.lang.Object ref = htmlNote_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); htmlNote_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string htmlNote = 6; */ public Builder setHtmlNote( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; htmlNote_ = value; onChanged(); return this; } /** * optional string htmlNote = 6; */ public Builder clearHtmlNote() { bitField0_ = (bitField0_ & ~0x00000020); htmlNote_ = getDefaultInstance().getHtmlNote(); onChanged(); return this; } /** * optional string htmlNote = 6; */ public Builder setHtmlNoteBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; htmlNote_ = value; onChanged(); return this; } private java.lang.Object mdDesc_ = ""; /** * optional string mdDesc = 7; */ public boolean hasMdDesc() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string mdDesc = 7; */ public java.lang.String getMdDesc() { java.lang.Object ref = mdDesc_; 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()) { mdDesc_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string mdDesc = 7; */ public com.google.protobuf.ByteString getMdDescBytes() { java.lang.Object ref = mdDesc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mdDesc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string mdDesc = 7; */ public Builder setMdDesc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; mdDesc_ = value; onChanged(); return this; } /** * optional string mdDesc = 7; */ public Builder clearMdDesc() { bitField0_ = (bitField0_ & ~0x00000040); mdDesc_ = getDefaultInstance().getMdDesc(); onChanged(); return this; } /** * optional string mdDesc = 7; */ public Builder setMdDescBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; mdDesc_ = value; onChanged(); return this; } private java.lang.Object mdNote_ = ""; /** * optional string mdNote = 8; */ public boolean hasMdNote() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string mdNote = 8; */ public java.lang.String getMdNote() { java.lang.Object ref = mdNote_; 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()) { mdNote_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string mdNote = 8; */ public com.google.protobuf.ByteString getMdNoteBytes() { java.lang.Object ref = mdNote_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mdNote_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string mdNote = 8; */ public Builder setMdNote( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; mdNote_ = value; onChanged(); return this; } /** * optional string mdNote = 8; */ public Builder clearMdNote() { bitField0_ = (bitField0_ & ~0x00000080); mdNote_ = getDefaultInstance().getMdNote(); onChanged(); return this; } /** * optional string mdNote = 8; */ public Builder setMdNoteBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; mdNote_ = value; onChanged(); return this; } private java.lang.Object noteLogin_ = ""; /** * optional string noteLogin = 9; */ public boolean hasNoteLogin() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional string noteLogin = 9; */ public java.lang.String getNoteLogin() { java.lang.Object ref = noteLogin_; 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()) { noteLogin_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string noteLogin = 9; */ public com.google.protobuf.ByteString getNoteLoginBytes() { java.lang.Object ref = noteLogin_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); noteLogin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string noteLogin = 9; */ public Builder setNoteLogin( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; noteLogin_ = value; onChanged(); return this; } /** * optional string noteLogin = 9; */ public Builder clearNoteLogin() { bitField0_ = (bitField0_ & ~0x00000100); noteLogin_ = getDefaultInstance().getNoteLogin(); onChanged(); return this; } /** * optional string noteLogin = 9; */ public Builder setNoteLoginBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; noteLogin_ = value; onChanged(); return this; } private java.lang.Object severity_ = ""; /** * optional string severity = 10; */ public boolean hasSeverity() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional string severity = 10; */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; 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()) { severity_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string severity = 10; */ public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); severity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string severity = 10; */ public Builder setSeverity( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; severity_ = value; onChanged(); return this; } /** * optional string severity = 10; */ public Builder clearSeverity() { bitField0_ = (bitField0_ & ~0x00000200); severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** * optional string severity = 10; */ public Builder setSeverityBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; severity_ = value; onChanged(); return this; } private int status_ = 0; /** * optional .sonarqube.ws.commons.RuleStatus status = 11; */ public boolean hasStatus() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional .sonarqube.ws.commons.RuleStatus status = 11; */ public org.sonarqube.ws.Common.RuleStatus getStatus() { org.sonarqube.ws.Common.RuleStatus result = org.sonarqube.ws.Common.RuleStatus.valueOf(status_); return result == null ? org.sonarqube.ws.Common.RuleStatus.BETA : result; } /** * optional .sonarqube.ws.commons.RuleStatus status = 11; */ public Builder setStatus(org.sonarqube.ws.Common.RuleStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; status_ = value.getNumber(); onChanged(); return this; } /** * optional .sonarqube.ws.commons.RuleStatus status = 11; */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000400); status_ = 0; onChanged(); return this; } private java.lang.Object internalKey_ = ""; /** * optional string internalKey = 12; */ public boolean hasInternalKey() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional string internalKey = 12; */ public java.lang.String getInternalKey() { java.lang.Object ref = internalKey_; 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()) { internalKey_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string internalKey = 12; */ public com.google.protobuf.ByteString getInternalKeyBytes() { java.lang.Object ref = internalKey_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); internalKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string internalKey = 12; */ public Builder setInternalKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; internalKey_ = value; onChanged(); return this; } /** * optional string internalKey = 12; */ public Builder clearInternalKey() { bitField0_ = (bitField0_ & ~0x00000800); internalKey_ = getDefaultInstance().getInternalKey(); onChanged(); return this; } /** * optional string internalKey = 12; */ public Builder setInternalKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; internalKey_ = value; onChanged(); return this; } private boolean isTemplate_ ; /** * optional bool isTemplate = 13; */ public boolean hasIsTemplate() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional bool isTemplate = 13; */ public boolean getIsTemplate() { return isTemplate_; } /** * optional bool isTemplate = 13; */ public Builder setIsTemplate(boolean value) { bitField0_ |= 0x00001000; isTemplate_ = value; onChanged(); return this; } /** * optional bool isTemplate = 13; */ public Builder clearIsTemplate() { bitField0_ = (bitField0_ & ~0x00001000); isTemplate_ = false; onChanged(); return this; } private java.lang.Object templateKey_ = ""; /** * optional string templateKey = 14; */ public boolean hasTemplateKey() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional string templateKey = 14; */ public java.lang.String getTemplateKey() { java.lang.Object ref = templateKey_; 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()) { templateKey_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string templateKey = 14; */ public com.google.protobuf.ByteString getTemplateKeyBytes() { java.lang.Object ref = templateKey_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); templateKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string templateKey = 14; */ public Builder setTemplateKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; templateKey_ = value; onChanged(); return this; } /** * optional string templateKey = 14; */ public Builder clearTemplateKey() { bitField0_ = (bitField0_ & ~0x00002000); templateKey_ = getDefaultInstance().getTemplateKey(); onChanged(); return this; } /** * optional string templateKey = 14; */ public Builder setTemplateKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; templateKey_ = value; onChanged(); return this; } private org.sonarqube.ws.Rules.Tags tags_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Tags, org.sonarqube.ws.Rules.Tags.Builder, org.sonarqube.ws.Rules.TagsOrBuilder> tagsBuilder_; /** * optional .sonarqube.ws.rules.Tags tags = 15; */ public boolean hasTags() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional .sonarqube.ws.rules.Tags tags = 15; */ public org.sonarqube.ws.Rules.Tags getTags() { if (tagsBuilder_ == null) { return tags_ == null ? org.sonarqube.ws.Rules.Tags.getDefaultInstance() : tags_; } else { return tagsBuilder_.getMessage(); } } /** * optional .sonarqube.ws.rules.Tags tags = 15; */ public Builder setTags(org.sonarqube.ws.Rules.Tags value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tags_ = value; onChanged(); } else { tagsBuilder_.setMessage(value); } bitField0_ |= 0x00004000; return this; } /** * optional .sonarqube.ws.rules.Tags tags = 15; */ public Builder setTags( org.sonarqube.ws.Rules.Tags.Builder builderForValue) { if (tagsBuilder_ == null) { tags_ = builderForValue.build(); onChanged(); } else { tagsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00004000; return this; } /** * optional .sonarqube.ws.rules.Tags tags = 15; */ public Builder mergeTags(org.sonarqube.ws.Rules.Tags value) { if (tagsBuilder_ == null) { if (((bitField0_ & 0x00004000) == 0x00004000) && tags_ != null && tags_ != org.sonarqube.ws.Rules.Tags.getDefaultInstance()) { tags_ = org.sonarqube.ws.Rules.Tags.newBuilder(tags_).mergeFrom(value).buildPartial(); } else { tags_ = value; } onChanged(); } else { tagsBuilder_.mergeFrom(value); } bitField0_ |= 0x00004000; return this; } /** * optional .sonarqube.ws.rules.Tags tags = 15; */ public Builder clearTags() { if (tagsBuilder_ == null) { tags_ = null; onChanged(); } else { tagsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00004000); return this; } /** * optional .sonarqube.ws.rules.Tags tags = 15; */ public org.sonarqube.ws.Rules.Tags.Builder getTagsBuilder() { bitField0_ |= 0x00004000; onChanged(); return getTagsFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.rules.Tags tags = 15; */ public org.sonarqube.ws.Rules.TagsOrBuilder getTagsOrBuilder() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilder(); } else { return tags_ == null ? org.sonarqube.ws.Rules.Tags.getDefaultInstance() : tags_; } } /** * optional .sonarqube.ws.rules.Tags tags = 15; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Tags, org.sonarqube.ws.Rules.Tags.Builder, org.sonarqube.ws.Rules.TagsOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { tagsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Tags, org.sonarqube.ws.Rules.Tags.Builder, org.sonarqube.ws.Rules.TagsOrBuilder>( getTags(), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; } private org.sonarqube.ws.Rules.SysTags sysTags_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.SysTags, org.sonarqube.ws.Rules.SysTags.Builder, org.sonarqube.ws.Rules.SysTagsOrBuilder> sysTagsBuilder_; /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ public boolean hasSysTags() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ public org.sonarqube.ws.Rules.SysTags getSysTags() { if (sysTagsBuilder_ == null) { return sysTags_ == null ? org.sonarqube.ws.Rules.SysTags.getDefaultInstance() : sysTags_; } else { return sysTagsBuilder_.getMessage(); } } /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ public Builder setSysTags(org.sonarqube.ws.Rules.SysTags value) { if (sysTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } sysTags_ = value; onChanged(); } else { sysTagsBuilder_.setMessage(value); } bitField0_ |= 0x00008000; return this; } /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ public Builder setSysTags( org.sonarqube.ws.Rules.SysTags.Builder builderForValue) { if (sysTagsBuilder_ == null) { sysTags_ = builderForValue.build(); onChanged(); } else { sysTagsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00008000; return this; } /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ public Builder mergeSysTags(org.sonarqube.ws.Rules.SysTags value) { if (sysTagsBuilder_ == null) { if (((bitField0_ & 0x00008000) == 0x00008000) && sysTags_ != null && sysTags_ != org.sonarqube.ws.Rules.SysTags.getDefaultInstance()) { sysTags_ = org.sonarqube.ws.Rules.SysTags.newBuilder(sysTags_).mergeFrom(value).buildPartial(); } else { sysTags_ = value; } onChanged(); } else { sysTagsBuilder_.mergeFrom(value); } bitField0_ |= 0x00008000; return this; } /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ public Builder clearSysTags() { if (sysTagsBuilder_ == null) { sysTags_ = null; onChanged(); } else { sysTagsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00008000); return this; } /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ public org.sonarqube.ws.Rules.SysTags.Builder getSysTagsBuilder() { bitField0_ |= 0x00008000; onChanged(); return getSysTagsFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ public org.sonarqube.ws.Rules.SysTagsOrBuilder getSysTagsOrBuilder() { if (sysTagsBuilder_ != null) { return sysTagsBuilder_.getMessageOrBuilder(); } else { return sysTags_ == null ? org.sonarqube.ws.Rules.SysTags.getDefaultInstance() : sysTags_; } } /** * optional .sonarqube.ws.rules.SysTags sysTags = 16; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.SysTags, org.sonarqube.ws.Rules.SysTags.Builder, org.sonarqube.ws.Rules.SysTagsOrBuilder> getSysTagsFieldBuilder() { if (sysTagsBuilder_ == null) { sysTagsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.SysTags, org.sonarqube.ws.Rules.SysTags.Builder, org.sonarqube.ws.Rules.SysTagsOrBuilder>( getSysTags(), getParentForChildren(), isClean()); sysTags_ = null; } return sysTagsBuilder_; } private java.lang.Object lang_ = ""; /** * optional string lang = 19; */ public boolean hasLang() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional string lang = 19; */ public java.lang.String getLang() { java.lang.Object ref = lang_; 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()) { lang_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string lang = 19; */ public com.google.protobuf.ByteString getLangBytes() { java.lang.Object ref = lang_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lang_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string lang = 19; */ public Builder setLang( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; lang_ = value; onChanged(); return this; } /** * optional string lang = 19; */ public Builder clearLang() { bitField0_ = (bitField0_ & ~0x00010000); lang_ = getDefaultInstance().getLang(); onChanged(); return this; } /** * optional string lang = 19; */ public Builder setLangBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; lang_ = value; onChanged(); return this; } private java.lang.Object langName_ = ""; /** * optional string langName = 20; */ public boolean hasLangName() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional string langName = 20; */ public java.lang.String getLangName() { java.lang.Object ref = langName_; 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()) { langName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string langName = 20; */ public com.google.protobuf.ByteString getLangNameBytes() { java.lang.Object ref = langName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); langName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string langName = 20; */ public Builder setLangName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; langName_ = value; onChanged(); return this; } /** * optional string langName = 20; */ public Builder clearLangName() { bitField0_ = (bitField0_ & ~0x00020000); langName_ = getDefaultInstance().getLangName(); onChanged(); return this; } /** * optional string langName = 20; */ public Builder setLangNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; langName_ = value; onChanged(); return this; } private org.sonarqube.ws.Rules.Rule.Params params_ = null; private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Rule.Params, org.sonarqube.ws.Rules.Rule.Params.Builder, org.sonarqube.ws.Rules.Rule.ParamsOrBuilder> paramsBuilder_; /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ public boolean hasParams() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ public org.sonarqube.ws.Rules.Rule.Params getParams() { if (paramsBuilder_ == null) { return params_ == null ? org.sonarqube.ws.Rules.Rule.Params.getDefaultInstance() : params_; } else { return paramsBuilder_.getMessage(); } } /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ public Builder setParams(org.sonarqube.ws.Rules.Rule.Params value) { if (paramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } params_ = value; onChanged(); } else { paramsBuilder_.setMessage(value); } bitField0_ |= 0x00040000; return this; } /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ public Builder setParams( org.sonarqube.ws.Rules.Rule.Params.Builder builderForValue) { if (paramsBuilder_ == null) { params_ = builderForValue.build(); onChanged(); } else { paramsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00040000; return this; } /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ public Builder mergeParams(org.sonarqube.ws.Rules.Rule.Params value) { if (paramsBuilder_ == null) { if (((bitField0_ & 0x00040000) == 0x00040000) && params_ != null && params_ != org.sonarqube.ws.Rules.Rule.Params.getDefaultInstance()) { params_ = org.sonarqube.ws.Rules.Rule.Params.newBuilder(params_).mergeFrom(value).buildPartial(); } else { params_ = value; } onChanged(); } else { paramsBuilder_.mergeFrom(value); } bitField0_ |= 0x00040000; return this; } /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ public Builder clearParams() { if (paramsBuilder_ == null) { params_ = null; onChanged(); } else { paramsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00040000); return this; } /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ public org.sonarqube.ws.Rules.Rule.Params.Builder getParamsBuilder() { bitField0_ |= 0x00040000; onChanged(); return getParamsFieldBuilder().getBuilder(); } /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ public org.sonarqube.ws.Rules.Rule.ParamsOrBuilder getParamsOrBuilder() { if (paramsBuilder_ != null) { return paramsBuilder_.getMessageOrBuilder(); } else { return params_ == null ? org.sonarqube.ws.Rules.Rule.Params.getDefaultInstance() : params_; } } /** * optional .sonarqube.ws.rules.Rule.Params params = 21; */ private com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Rule.Params, org.sonarqube.ws.Rules.Rule.Params.Builder, org.sonarqube.ws.Rules.Rule.ParamsOrBuilder> getParamsFieldBuilder() { if (paramsBuilder_ == null) { paramsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.sonarqube.ws.Rules.Rule.Params, org.sonarqube.ws.Rules.Rule.Params.Builder, org.sonarqube.ws.Rules.Rule.ParamsOrBuilder>( getParams(), getParentForChildren(), isClean()); params_ = null; } return paramsBuilder_; } private java.lang.Object unusedDefaultDebtChar_ = ""; /** * optional string unusedDefaultDebtChar = 23; * *
       * characteristic fields, unsupported since 5.5
       * 
*/ public boolean hasUnusedDefaultDebtChar() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional string unusedDefaultDebtChar = 23; * *
       * characteristic fields, unsupported since 5.5
       * 
*/ public java.lang.String getUnusedDefaultDebtChar() { java.lang.Object ref = unusedDefaultDebtChar_; 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()) { unusedDefaultDebtChar_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string unusedDefaultDebtChar = 23; * *
       * characteristic fields, unsupported since 5.5
       * 
*/ public com.google.protobuf.ByteString getUnusedDefaultDebtCharBytes() { java.lang.Object ref = unusedDefaultDebtChar_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedDefaultDebtChar_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string unusedDefaultDebtChar = 23; * *
       * characteristic fields, unsupported since 5.5
       * 
*/ public Builder setUnusedDefaultDebtChar( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; unusedDefaultDebtChar_ = value; onChanged(); return this; } /** * optional string unusedDefaultDebtChar = 23; * *
       * characteristic fields, unsupported since 5.5
       * 
*/ public Builder clearUnusedDefaultDebtChar() { bitField0_ = (bitField0_ & ~0x00080000); unusedDefaultDebtChar_ = getDefaultInstance().getUnusedDefaultDebtChar(); onChanged(); return this; } /** * optional string unusedDefaultDebtChar = 23; * *
       * characteristic fields, unsupported since 5.5
       * 
*/ public Builder setUnusedDefaultDebtCharBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; unusedDefaultDebtChar_ = value; onChanged(); return this; } private java.lang.Object unusedDefaultDebtSubChar_ = ""; /** * optional string unusedDefaultDebtSubChar = 24; */ public boolean hasUnusedDefaultDebtSubChar() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** * optional string unusedDefaultDebtSubChar = 24; */ public java.lang.String getUnusedDefaultDebtSubChar() { java.lang.Object ref = unusedDefaultDebtSubChar_; 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()) { unusedDefaultDebtSubChar_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string unusedDefaultDebtSubChar = 24; */ public com.google.protobuf.ByteString getUnusedDefaultDebtSubCharBytes() { java.lang.Object ref = unusedDefaultDebtSubChar_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedDefaultDebtSubChar_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string unusedDefaultDebtSubChar = 24; */ public Builder setUnusedDefaultDebtSubChar( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00100000; unusedDefaultDebtSubChar_ = value; onChanged(); return this; } /** * optional string unusedDefaultDebtSubChar = 24; */ public Builder clearUnusedDefaultDebtSubChar() { bitField0_ = (bitField0_ & ~0x00100000); unusedDefaultDebtSubChar_ = getDefaultInstance().getUnusedDefaultDebtSubChar(); onChanged(); return this; } /** * optional string unusedDefaultDebtSubChar = 24; */ public Builder setUnusedDefaultDebtSubCharBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00100000; unusedDefaultDebtSubChar_ = value; onChanged(); return this; } private java.lang.Object unusedDebtChar_ = ""; /** * optional string unusedDebtChar = 25; */ public boolean hasUnusedDebtChar() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** * optional string unusedDebtChar = 25; */ public java.lang.String getUnusedDebtChar() { java.lang.Object ref = unusedDebtChar_; 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()) { unusedDebtChar_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string unusedDebtChar = 25; */ public com.google.protobuf.ByteString getUnusedDebtCharBytes() { java.lang.Object ref = unusedDebtChar_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedDebtChar_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string unusedDebtChar = 25; */ public Builder setUnusedDebtChar( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00200000; unusedDebtChar_ = value; onChanged(); return this; } /** * optional string unusedDebtChar = 25; */ public Builder clearUnusedDebtChar() { bitField0_ = (bitField0_ & ~0x00200000); unusedDebtChar_ = getDefaultInstance().getUnusedDebtChar(); onChanged(); return this; } /** * optional string unusedDebtChar = 25; */ public Builder setUnusedDebtCharBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00200000; unusedDebtChar_ = value; onChanged(); return this; } private java.lang.Object unusedDebtSubChar_ = ""; /** * optional string unusedDebtSubChar = 26; */ public boolean hasUnusedDebtSubChar() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** * optional string unusedDebtSubChar = 26; */ public java.lang.String getUnusedDebtSubChar() { java.lang.Object ref = unusedDebtSubChar_; 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()) { unusedDebtSubChar_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string unusedDebtSubChar = 26; */ public com.google.protobuf.ByteString getUnusedDebtSubCharBytes() { java.lang.Object ref = unusedDebtSubChar_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedDebtSubChar_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string unusedDebtSubChar = 26; */ public Builder setUnusedDebtSubChar( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00400000; unusedDebtSubChar_ = value; onChanged(); return this; } /** * optional string unusedDebtSubChar = 26; */ public Builder clearUnusedDebtSubChar() { bitField0_ = (bitField0_ & ~0x00400000); unusedDebtSubChar_ = getDefaultInstance().getUnusedDebtSubChar(); onChanged(); return this; } /** * optional string unusedDebtSubChar = 26; */ public Builder setUnusedDebtSubCharBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00400000; unusedDebtSubChar_ = value; onChanged(); return this; } private java.lang.Object unusedDebtCharName_ = ""; /** * optional string unusedDebtCharName = 27; */ public boolean hasUnusedDebtCharName() { return ((bitField0_ & 0x00800000) == 0x00800000); } /** * optional string unusedDebtCharName = 27; */ public java.lang.String getUnusedDebtCharName() { java.lang.Object ref = unusedDebtCharName_; 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()) { unusedDebtCharName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string unusedDebtCharName = 27; */ public com.google.protobuf.ByteString getUnusedDebtCharNameBytes() { java.lang.Object ref = unusedDebtCharName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedDebtCharName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string unusedDebtCharName = 27; */ public Builder setUnusedDebtCharName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; unusedDebtCharName_ = value; onChanged(); return this; } /** * optional string unusedDebtCharName = 27; */ public Builder clearUnusedDebtCharName() { bitField0_ = (bitField0_ & ~0x00800000); unusedDebtCharName_ = getDefaultInstance().getUnusedDebtCharName(); onChanged(); return this; } /** * optional string unusedDebtCharName = 27; */ public Builder setUnusedDebtCharNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; unusedDebtCharName_ = value; onChanged(); return this; } private java.lang.Object unusedDebtSubCharName_ = ""; /** * optional string unusedDebtSubCharName = 28; */ public boolean hasUnusedDebtSubCharName() { return ((bitField0_ & 0x01000000) == 0x01000000); } /** * optional string unusedDebtSubCharName = 28; */ public java.lang.String getUnusedDebtSubCharName() { java.lang.Object ref = unusedDebtSubCharName_; 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()) { unusedDebtSubCharName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string unusedDebtSubCharName = 28; */ public com.google.protobuf.ByteString getUnusedDebtSubCharNameBytes() { java.lang.Object ref = unusedDebtSubCharName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedDebtSubCharName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string unusedDebtSubCharName = 28; */ public Builder setUnusedDebtSubCharName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x01000000; unusedDebtSubCharName_ = value; onChanged(); return this; } /** * optional string unusedDebtSubCharName = 28; */ public Builder clearUnusedDebtSubCharName() { bitField0_ = (bitField0_ & ~0x01000000); unusedDebtSubCharName_ = getDefaultInstance().getUnusedDebtSubCharName(); onChanged(); return this; } /** * optional string unusedDebtSubCharName = 28; */ public Builder setUnusedDebtSubCharNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x01000000; unusedDebtSubCharName_ = value; onChanged(); return this; } private java.lang.Object defaultDebtRemFnType_ = ""; /** * optional string defaultDebtRemFnType = 29; * *
       * Deprecated since 5.5, replaced by defaultRemFnType
       * 
*/ public boolean hasDefaultDebtRemFnType() { return ((bitField0_ & 0x02000000) == 0x02000000); } /** * optional string defaultDebtRemFnType = 29; * *
       * Deprecated since 5.5, replaced by defaultRemFnType
       * 
*/ public java.lang.String getDefaultDebtRemFnType() { java.lang.Object ref = defaultDebtRemFnType_; 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()) { defaultDebtRemFnType_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string defaultDebtRemFnType = 29; * *
       * Deprecated since 5.5, replaced by defaultRemFnType
       * 
*/ public com.google.protobuf.ByteString getDefaultDebtRemFnTypeBytes() { java.lang.Object ref = defaultDebtRemFnType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultDebtRemFnType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string defaultDebtRemFnType = 29; * *
       * Deprecated since 5.5, replaced by defaultRemFnType
       * 
*/ public Builder setDefaultDebtRemFnType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x02000000; defaultDebtRemFnType_ = value; onChanged(); return this; } /** * optional string defaultDebtRemFnType = 29; * *
       * Deprecated since 5.5, replaced by defaultRemFnType
       * 
*/ public Builder clearDefaultDebtRemFnType() { bitField0_ = (bitField0_ & ~0x02000000); defaultDebtRemFnType_ = getDefaultInstance().getDefaultDebtRemFnType(); onChanged(); return this; } /** * optional string defaultDebtRemFnType = 29; * *
       * Deprecated since 5.5, replaced by defaultRemFnType
       * 
*/ public Builder setDefaultDebtRemFnTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x02000000; defaultDebtRemFnType_ = value; onChanged(); return this; } private java.lang.Object defaultDebtRemFnCoeff_ = ""; /** * optional string defaultDebtRemFnCoeff = 30; * *
       * Deprecated since 5.5, replaced by defaultRemFnGapMultiplier
       * 
*/ public boolean hasDefaultDebtRemFnCoeff() { return ((bitField0_ & 0x04000000) == 0x04000000); } /** * optional string defaultDebtRemFnCoeff = 30; * *
       * Deprecated since 5.5, replaced by defaultRemFnGapMultiplier
       * 
*/ public java.lang.String getDefaultDebtRemFnCoeff() { java.lang.Object ref = defaultDebtRemFnCoeff_; 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()) { defaultDebtRemFnCoeff_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string defaultDebtRemFnCoeff = 30; * *
       * Deprecated since 5.5, replaced by defaultRemFnGapMultiplier
       * 
*/ public com.google.protobuf.ByteString getDefaultDebtRemFnCoeffBytes() { java.lang.Object ref = defaultDebtRemFnCoeff_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultDebtRemFnCoeff_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string defaultDebtRemFnCoeff = 30; * *
       * Deprecated since 5.5, replaced by defaultRemFnGapMultiplier
       * 
*/ public Builder setDefaultDebtRemFnCoeff( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x04000000; defaultDebtRemFnCoeff_ = value; onChanged(); return this; } /** * optional string defaultDebtRemFnCoeff = 30; * *
       * Deprecated since 5.5, replaced by defaultRemFnGapMultiplier
       * 
*/ public Builder clearDefaultDebtRemFnCoeff() { bitField0_ = (bitField0_ & ~0x04000000); defaultDebtRemFnCoeff_ = getDefaultInstance().getDefaultDebtRemFnCoeff(); onChanged(); return this; } /** * optional string defaultDebtRemFnCoeff = 30; * *
       * Deprecated since 5.5, replaced by defaultRemFnGapMultiplier
       * 
*/ public Builder setDefaultDebtRemFnCoeffBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x04000000; defaultDebtRemFnCoeff_ = value; onChanged(); return this; } private java.lang.Object defaultDebtRemFnOffset_ = ""; /** * optional string defaultDebtRemFnOffset = 31; * *
       * Deprecated since 5.5, replaced by defaultRemFnBaseEffort
       * 
*/ public boolean hasDefaultDebtRemFnOffset() { return ((bitField0_ & 0x08000000) == 0x08000000); } /** * optional string defaultDebtRemFnOffset = 31; * *
       * Deprecated since 5.5, replaced by defaultRemFnBaseEffort
       * 
*/ public java.lang.String getDefaultDebtRemFnOffset() { java.lang.Object ref = defaultDebtRemFnOffset_; 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()) { defaultDebtRemFnOffset_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string defaultDebtRemFnOffset = 31; * *
       * Deprecated since 5.5, replaced by defaultRemFnBaseEffort
       * 
*/ public com.google.protobuf.ByteString getDefaultDebtRemFnOffsetBytes() { java.lang.Object ref = defaultDebtRemFnOffset_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultDebtRemFnOffset_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string defaultDebtRemFnOffset = 31; * *
       * Deprecated since 5.5, replaced by defaultRemFnBaseEffort
       * 
*/ public Builder setDefaultDebtRemFnOffset( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x08000000; defaultDebtRemFnOffset_ = value; onChanged(); return this; } /** * optional string defaultDebtRemFnOffset = 31; * *
       * Deprecated since 5.5, replaced by defaultRemFnBaseEffort
       * 
*/ public Builder clearDefaultDebtRemFnOffset() { bitField0_ = (bitField0_ & ~0x08000000); defaultDebtRemFnOffset_ = getDefaultInstance().getDefaultDebtRemFnOffset(); onChanged(); return this; } /** * optional string defaultDebtRemFnOffset = 31; * *
       * Deprecated since 5.5, replaced by defaultRemFnBaseEffort
       * 
*/ public Builder setDefaultDebtRemFnOffsetBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x08000000; defaultDebtRemFnOffset_ = value; onChanged(); return this; } private java.lang.Object effortToFixDescription_ = ""; /** * optional string effortToFixDescription = 32; * *
       * Deprecated since 5.5, replaced by gapDescription
       * 
*/ public boolean hasEffortToFixDescription() { return ((bitField0_ & 0x10000000) == 0x10000000); } /** * optional string effortToFixDescription = 32; * *
       * Deprecated since 5.5, replaced by gapDescription
       * 
*/ public java.lang.String getEffortToFixDescription() { java.lang.Object ref = effortToFixDescription_; 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()) { effortToFixDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string effortToFixDescription = 32; * *
       * Deprecated since 5.5, replaced by gapDescription
       * 
*/ public com.google.protobuf.ByteString getEffortToFixDescriptionBytes() { java.lang.Object ref = effortToFixDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); effortToFixDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string effortToFixDescription = 32; * *
       * Deprecated since 5.5, replaced by gapDescription
       * 
*/ public Builder setEffortToFixDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x10000000; effortToFixDescription_ = value; onChanged(); return this; } /** * optional string effortToFixDescription = 32; * *
       * Deprecated since 5.5, replaced by gapDescription
       * 
*/ public Builder clearEffortToFixDescription() { bitField0_ = (bitField0_ & ~0x10000000); effortToFixDescription_ = getDefaultInstance().getEffortToFixDescription(); onChanged(); return this; } /** * optional string effortToFixDescription = 32; * *
       * Deprecated since 5.5, replaced by gapDescription
       * 
*/ public Builder setEffortToFixDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x10000000; effortToFixDescription_ = value; onChanged(); return this; } private boolean debtOverloaded_ ; /** * optional bool debtOverloaded = 33; * *
       * Deprecated since 5.5, replaced by remFnOverloaded
       * 
*/ public boolean hasDebtOverloaded() { return ((bitField0_ & 0x20000000) == 0x20000000); } /** * optional bool debtOverloaded = 33; * *
       * Deprecated since 5.5, replaced by remFnOverloaded
       * 
*/ public boolean getDebtOverloaded() { return debtOverloaded_; } /** * optional bool debtOverloaded = 33; * *
       * Deprecated since 5.5, replaced by remFnOverloaded
       * 
*/ public Builder setDebtOverloaded(boolean value) { bitField0_ |= 0x20000000; debtOverloaded_ = value; onChanged(); return this; } /** * optional bool debtOverloaded = 33; * *
       * Deprecated since 5.5, replaced by remFnOverloaded
       * 
*/ public Builder clearDebtOverloaded() { bitField0_ = (bitField0_ & ~0x20000000); debtOverloaded_ = false; onChanged(); return this; } private java.lang.Object debtRemFnType_ = ""; /** * optional string debtRemFnType = 34; * *
       * Deprecated since 5.5, replaced by remFnType
       * 
*/ public boolean hasDebtRemFnType() { return ((bitField0_ & 0x40000000) == 0x40000000); } /** * optional string debtRemFnType = 34; * *
       * Deprecated since 5.5, replaced by remFnType
       * 
*/ public java.lang.String getDebtRemFnType() { java.lang.Object ref = debtRemFnType_; 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()) { debtRemFnType_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string debtRemFnType = 34; * *
       * Deprecated since 5.5, replaced by remFnType
       * 
*/ public com.google.protobuf.ByteString getDebtRemFnTypeBytes() { java.lang.Object ref = debtRemFnType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); debtRemFnType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string debtRemFnType = 34; * *
       * Deprecated since 5.5, replaced by remFnType
       * 
*/ public Builder setDebtRemFnType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x40000000; debtRemFnType_ = value; onChanged(); return this; } /** * optional string debtRemFnType = 34; * *
       * Deprecated since 5.5, replaced by remFnType
       * 
*/ public Builder clearDebtRemFnType() { bitField0_ = (bitField0_ & ~0x40000000); debtRemFnType_ = getDefaultInstance().getDebtRemFnType(); onChanged(); return this; } /** * optional string debtRemFnType = 34; * *
       * Deprecated since 5.5, replaced by remFnType
       * 
*/ public Builder setDebtRemFnTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x40000000; debtRemFnType_ = value; onChanged(); return this; } private java.lang.Object debtRemFnCoeff_ = ""; /** * optional string debtRemFnCoeff = 35; * *
       * Deprecated since 5.5, replaced by remFnGapMultiplier
       * 
*/ public boolean hasDebtRemFnCoeff() { return ((bitField0_ & 0x80000000) == 0x80000000); } /** * optional string debtRemFnCoeff = 35; * *
       * Deprecated since 5.5, replaced by remFnGapMultiplier
       * 
*/ public java.lang.String getDebtRemFnCoeff() { java.lang.Object ref = debtRemFnCoeff_; 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()) { debtRemFnCoeff_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string debtRemFnCoeff = 35; * *
       * Deprecated since 5.5, replaced by remFnGapMultiplier
       * 
*/ public com.google.protobuf.ByteString getDebtRemFnCoeffBytes() { java.lang.Object ref = debtRemFnCoeff_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); debtRemFnCoeff_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string debtRemFnCoeff = 35; * *
       * Deprecated since 5.5, replaced by remFnGapMultiplier
       * 
*/ public Builder setDebtRemFnCoeff( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x80000000; debtRemFnCoeff_ = value; onChanged(); return this; } /** * optional string debtRemFnCoeff = 35; * *
       * Deprecated since 5.5, replaced by remFnGapMultiplier
       * 
*/ public Builder clearDebtRemFnCoeff() { bitField0_ = (bitField0_ & ~0x80000000); debtRemFnCoeff_ = getDefaultInstance().getDebtRemFnCoeff(); onChanged(); return this; } /** * optional string debtRemFnCoeff = 35; * *
       * Deprecated since 5.5, replaced by remFnGapMultiplier
       * 
*/ public Builder setDebtRemFnCoeffBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x80000000; debtRemFnCoeff_ = value; onChanged(); return this; } private java.lang.Object debtRemFnOffset_ = ""; /** * optional string debtRemFnOffset = 36; * *
       * Deprecated since 5.5, replaced by remFnBaseEffort
       * 
*/ public boolean hasDebtRemFnOffset() { return ((bitField1_ & 0x00000001) == 0x00000001); } /** * optional string debtRemFnOffset = 36; * *
       * Deprecated since 5.5, replaced by remFnBaseEffort
       * 
*/ public java.lang.String getDebtRemFnOffset() { java.lang.Object ref = debtRemFnOffset_; 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()) { debtRemFnOffset_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string debtRemFnOffset = 36; * *
       * Deprecated since 5.5, replaced by remFnBaseEffort
       * 
*/ public com.google.protobuf.ByteString getDebtRemFnOffsetBytes() { java.lang.Object ref = debtRemFnOffset_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); debtRemFnOffset_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string debtRemFnOffset = 36; * *
       * Deprecated since 5.5, replaced by remFnBaseEffort
       * 
*/ public Builder setDebtRemFnOffset( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000001; debtRemFnOffset_ = value; onChanged(); return this; } /** * optional string debtRemFnOffset = 36; * *
       * Deprecated since 5.5, replaced by remFnBaseEffort
       * 
*/ public Builder clearDebtRemFnOffset() { bitField1_ = (bitField1_ & ~0x00000001); debtRemFnOffset_ = getDefaultInstance().getDebtRemFnOffset(); onChanged(); return this; } /** * optional string debtRemFnOffset = 36; * *
       * Deprecated since 5.5, replaced by remFnBaseEffort
       * 
*/ public Builder setDebtRemFnOffsetBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000001; debtRemFnOffset_ = value; onChanged(); return this; } private java.lang.Object defaultRemFnType_ = ""; /** * optional string defaultRemFnType = 38; */ public boolean hasDefaultRemFnType() { return ((bitField1_ & 0x00000002) == 0x00000002); } /** * optional string defaultRemFnType = 38; */ public java.lang.String getDefaultRemFnType() { java.lang.Object ref = defaultRemFnType_; 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()) { defaultRemFnType_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string defaultRemFnType = 38; */ public com.google.protobuf.ByteString getDefaultRemFnTypeBytes() { java.lang.Object ref = defaultRemFnType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultRemFnType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string defaultRemFnType = 38; */ public Builder setDefaultRemFnType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000002; defaultRemFnType_ = value; onChanged(); return this; } /** * optional string defaultRemFnType = 38; */ public Builder clearDefaultRemFnType() { bitField1_ = (bitField1_ & ~0x00000002); defaultRemFnType_ = getDefaultInstance().getDefaultRemFnType(); onChanged(); return this; } /** * optional string defaultRemFnType = 38; */ public Builder setDefaultRemFnTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000002; defaultRemFnType_ = value; onChanged(); return this; } private java.lang.Object defaultRemFnGapMultiplier_ = ""; /** * optional string defaultRemFnGapMultiplier = 39; */ public boolean hasDefaultRemFnGapMultiplier() { return ((bitField1_ & 0x00000004) == 0x00000004); } /** * optional string defaultRemFnGapMultiplier = 39; */ public java.lang.String getDefaultRemFnGapMultiplier() { java.lang.Object ref = defaultRemFnGapMultiplier_; 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()) { defaultRemFnGapMultiplier_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string defaultRemFnGapMultiplier = 39; */ public com.google.protobuf.ByteString getDefaultRemFnGapMultiplierBytes() { java.lang.Object ref = defaultRemFnGapMultiplier_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultRemFnGapMultiplier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string defaultRemFnGapMultiplier = 39; */ public Builder setDefaultRemFnGapMultiplier( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000004; defaultRemFnGapMultiplier_ = value; onChanged(); return this; } /** * optional string defaultRemFnGapMultiplier = 39; */ public Builder clearDefaultRemFnGapMultiplier() { bitField1_ = (bitField1_ & ~0x00000004); defaultRemFnGapMultiplier_ = getDefaultInstance().getDefaultRemFnGapMultiplier(); onChanged(); return this; } /** * optional string defaultRemFnGapMultiplier = 39; */ public Builder setDefaultRemFnGapMultiplierBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000004; defaultRemFnGapMultiplier_ = value; onChanged(); return this; } private java.lang.Object defaultRemFnBaseEffort_ = ""; /** * optional string defaultRemFnBaseEffort = 40; */ public boolean hasDefaultRemFnBaseEffort() { return ((bitField1_ & 0x00000008) == 0x00000008); } /** * optional string defaultRemFnBaseEffort = 40; */ public java.lang.String getDefaultRemFnBaseEffort() { java.lang.Object ref = defaultRemFnBaseEffort_; 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()) { defaultRemFnBaseEffort_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string defaultRemFnBaseEffort = 40; */ public com.google.protobuf.ByteString getDefaultRemFnBaseEffortBytes() { java.lang.Object ref = defaultRemFnBaseEffort_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultRemFnBaseEffort_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string defaultRemFnBaseEffort = 40; */ public Builder setDefaultRemFnBaseEffort( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000008; defaultRemFnBaseEffort_ = value; onChanged(); return this; } /** * optional string defaultRemFnBaseEffort = 40; */ public Builder clearDefaultRemFnBaseEffort() { bitField1_ = (bitField1_ & ~0x00000008); defaultRemFnBaseEffort_ = getDefaultInstance().getDefaultRemFnBaseEffort(); onChanged(); return this; } /** * optional string defaultRemFnBaseEffort = 40; */ public Builder setDefaultRemFnBaseEffortBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000008; defaultRemFnBaseEffort_ = value; onChanged(); return this; } private java.lang.Object remFnType_ = ""; /** * optional string remFnType = 41; */ public boolean hasRemFnType() { return ((bitField1_ & 0x00000010) == 0x00000010); } /** * optional string remFnType = 41; */ public java.lang.String getRemFnType() { java.lang.Object ref = remFnType_; 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()) { remFnType_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string remFnType = 41; */ public com.google.protobuf.ByteString getRemFnTypeBytes() { java.lang.Object ref = remFnType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); remFnType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string remFnType = 41; */ public Builder setRemFnType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000010; remFnType_ = value; onChanged(); return this; } /** * optional string remFnType = 41; */ public Builder clearRemFnType() { bitField1_ = (bitField1_ & ~0x00000010); remFnType_ = getDefaultInstance().getRemFnType(); onChanged(); return this; } /** * optional string remFnType = 41; */ public Builder setRemFnTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000010; remFnType_ = value; onChanged(); return this; } private java.lang.Object remFnGapMultiplier_ = ""; /** * optional string remFnGapMultiplier = 42; */ public boolean hasRemFnGapMultiplier() { return ((bitField1_ & 0x00000020) == 0x00000020); } /** * optional string remFnGapMultiplier = 42; */ public java.lang.String getRemFnGapMultiplier() { java.lang.Object ref = remFnGapMultiplier_; 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()) { remFnGapMultiplier_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string remFnGapMultiplier = 42; */ public com.google.protobuf.ByteString getRemFnGapMultiplierBytes() { java.lang.Object ref = remFnGapMultiplier_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); remFnGapMultiplier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string remFnGapMultiplier = 42; */ public Builder setRemFnGapMultiplier( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000020; remFnGapMultiplier_ = value; onChanged(); return this; } /** * optional string remFnGapMultiplier = 42; */ public Builder clearRemFnGapMultiplier() { bitField1_ = (bitField1_ & ~0x00000020); remFnGapMultiplier_ = getDefaultInstance().getRemFnGapMultiplier(); onChanged(); return this; } /** * optional string remFnGapMultiplier = 42; */ public Builder setRemFnGapMultiplierBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000020; remFnGapMultiplier_ = value; onChanged(); return this; } private java.lang.Object remFnBaseEffort_ = ""; /** * optional string remFnBaseEffort = 43; */ public boolean hasRemFnBaseEffort() { return ((bitField1_ & 0x00000040) == 0x00000040); } /** * optional string remFnBaseEffort = 43; */ public java.lang.String getRemFnBaseEffort() { java.lang.Object ref = remFnBaseEffort_; 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()) { remFnBaseEffort_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string remFnBaseEffort = 43; */ public com.google.protobuf.ByteString getRemFnBaseEffortBytes() { java.lang.Object ref = remFnBaseEffort_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); remFnBaseEffort_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string remFnBaseEffort = 43; */ public Builder setRemFnBaseEffort( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000040; remFnBaseEffort_ = value; onChanged(); return this; } /** * optional string remFnBaseEffort = 43; */ public Builder clearRemFnBaseEffort() { bitField1_ = (bitField1_ & ~0x00000040); remFnBaseEffort_ = getDefaultInstance().getRemFnBaseEffort(); onChanged(); return this; } /** * optional string remFnBaseEffort = 43; */ public Builder setRemFnBaseEffortBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000040; remFnBaseEffort_ = value; onChanged(); return this; } private boolean remFnOverloaded_ ; /** * optional bool remFnOverloaded = 45; */ public boolean hasRemFnOverloaded() { return ((bitField1_ & 0x00000080) == 0x00000080); } /** * optional bool remFnOverloaded = 45; */ public boolean getRemFnOverloaded() { return remFnOverloaded_; } /** * optional bool remFnOverloaded = 45; */ public Builder setRemFnOverloaded(boolean value) { bitField1_ |= 0x00000080; remFnOverloaded_ = value; onChanged(); return this; } /** * optional bool remFnOverloaded = 45; */ public Builder clearRemFnOverloaded() { bitField1_ = (bitField1_ & ~0x00000080); remFnOverloaded_ = false; onChanged(); return this; } private java.lang.Object gapDescription_ = ""; /** * optional string gapDescription = 44; */ public boolean hasGapDescription() { return ((bitField1_ & 0x00000100) == 0x00000100); } /** * optional string gapDescription = 44; */ public java.lang.String getGapDescription() { java.lang.Object ref = gapDescription_; 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()) { gapDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string gapDescription = 44; */ public com.google.protobuf.ByteString getGapDescriptionBytes() { java.lang.Object ref = gapDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gapDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string gapDescription = 44; */ public Builder setGapDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000100; gapDescription_ = value; onChanged(); return this; } /** * optional string gapDescription = 44; */ public Builder clearGapDescription() { bitField1_ = (bitField1_ & ~0x00000100); gapDescription_ = getDefaultInstance().getGapDescription(); onChanged(); return this; } /** * optional string gapDescription = 44; */ public Builder setGapDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000100; gapDescription_ = value; onChanged(); return this; } private int type_ = 0; /** * optional .sonarqube.ws.commons.RuleType type = 37; */ public boolean hasType() { return ((bitField1_ & 0x00000200) == 0x00000200); } /** * optional .sonarqube.ws.commons.RuleType type = 37; */ 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 = 37; */ public Builder setType(org.sonarqube.ws.Common.RuleType value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000200; type_ = value.getNumber(); onChanged(); return this; } /** * optional .sonarqube.ws.commons.RuleType type = 37; */ public Builder clearType() { bitField1_ = (bitField1_ & ~0x00000200); type_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.Rule) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.Rule) private static final org.sonarqube.ws.Rules.Rule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.Rule(); } public static org.sonarqube.ws.Rules.Rule getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Rule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Rule(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.Rules.Rule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SysTagsOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.SysTags) com.google.protobuf.MessageOrBuilder { /** * repeated string sysTags = 1; */ com.google.protobuf.ProtocolStringList getSysTagsList(); /** * repeated string sysTags = 1; */ int getSysTagsCount(); /** * repeated string sysTags = 1; */ java.lang.String getSysTags(int index); /** * repeated string sysTags = 1; */ com.google.protobuf.ByteString getSysTagsBytes(int index); } /** * Protobuf type {@code sonarqube.ws.rules.SysTags} */ public static final class SysTags extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.SysTags) SysTagsOrBuilder { // Use SysTags.newBuilder() to construct. private SysTags(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private SysTags() { sysTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SysTags( 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)) { sysTags_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } sysTags_.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)) { sysTags_ = sysTags_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_SysTags_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_SysTags_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.SysTags.class, org.sonarqube.ws.Rules.SysTags.Builder.class); } public static final int SYSTAGS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList sysTags_; /** * repeated string sysTags = 1; */ public com.google.protobuf.ProtocolStringList getSysTagsList() { return sysTags_; } /** * repeated string sysTags = 1; */ public int getSysTagsCount() { return sysTags_.size(); } /** * repeated string sysTags = 1; */ public java.lang.String getSysTags(int index) { return sysTags_.get(index); } /** * repeated string sysTags = 1; */ public com.google.protobuf.ByteString getSysTagsBytes(int index) { return sysTags_.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 < sysTags_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 1, sysTags_.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 < sysTags_.size(); i++) { dataSize += computeStringSizeNoTag(sysTags_.getRaw(i)); } size += dataSize; size += 1 * getSysTagsList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.SysTags parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.SysTags 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.Rules.SysTags parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.SysTags parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.SysTags parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.SysTags parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.SysTags parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.SysTags parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.SysTags parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.SysTags 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.Rules.SysTags 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.rules.SysTags} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.SysTags) org.sonarqube.ws.Rules.SysTagsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_SysTags_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_SysTags_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.SysTags.class, org.sonarqube.ws.Rules.SysTags.Builder.class); } // Construct using org.sonarqube.ws.Rules.SysTags.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(); sysTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_SysTags_descriptor; } public org.sonarqube.ws.Rules.SysTags getDefaultInstanceForType() { return org.sonarqube.ws.Rules.SysTags.getDefaultInstance(); } public org.sonarqube.ws.Rules.SysTags build() { org.sonarqube.ws.Rules.SysTags result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.SysTags buildPartial() { org.sonarqube.ws.Rules.SysTags result = new org.sonarqube.ws.Rules.SysTags(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { sysTags_ = sysTags_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.sysTags_ = sysTags_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.SysTags) { return mergeFrom((org.sonarqube.ws.Rules.SysTags)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.SysTags other) { if (other == org.sonarqube.ws.Rules.SysTags.getDefaultInstance()) return this; if (!other.sysTags_.isEmpty()) { if (sysTags_.isEmpty()) { sysTags_ = other.sysTags_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSysTagsIsMutable(); sysTags_.addAll(other.sysTags_); } 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.Rules.SysTags parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.SysTags) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList sysTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSysTagsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { sysTags_ = new com.google.protobuf.LazyStringArrayList(sysTags_); bitField0_ |= 0x00000001; } } /** * repeated string sysTags = 1; */ public com.google.protobuf.ProtocolStringList getSysTagsList() { return sysTags_.getUnmodifiableView(); } /** * repeated string sysTags = 1; */ public int getSysTagsCount() { return sysTags_.size(); } /** * repeated string sysTags = 1; */ public java.lang.String getSysTags(int index) { return sysTags_.get(index); } /** * repeated string sysTags = 1; */ public com.google.protobuf.ByteString getSysTagsBytes(int index) { return sysTags_.getByteString(index); } /** * repeated string sysTags = 1; */ public Builder setSysTags( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSysTagsIsMutable(); sysTags_.set(index, value); onChanged(); return this; } /** * repeated string sysTags = 1; */ public Builder addSysTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSysTagsIsMutable(); sysTags_.add(value); onChanged(); return this; } /** * repeated string sysTags = 1; */ public Builder addAllSysTags( java.lang.Iterable values) { ensureSysTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, sysTags_); onChanged(); return this; } /** * repeated string sysTags = 1; */ public Builder clearSysTags() { sysTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string sysTags = 1; */ public Builder addSysTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureSysTagsIsMutable(); sysTags_.add(value); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.SysTags) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.SysTags) private static final org.sonarqube.ws.Rules.SysTags DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.SysTags(); } public static org.sonarqube.ws.Rules.SysTags getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public SysTags parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new SysTags(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.Rules.SysTags getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TagsOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.Tags) com.google.protobuf.MessageOrBuilder { /** * repeated string tags = 1; */ com.google.protobuf.ProtocolStringList getTagsList(); /** * repeated string tags = 1; */ int getTagsCount(); /** * repeated string tags = 1; */ java.lang.String getTags(int index); /** * repeated string tags = 1; */ com.google.protobuf.ByteString getTagsBytes(int index); } /** * Protobuf type {@code sonarqube.ws.rules.Tags} */ public static final class Tags extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.Tags) TagsOrBuilder { // Use Tags.newBuilder() to construct. private Tags(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Tags() { tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Tags( 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)) { tags_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } tags_.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)) { tags_ = tags_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Tags_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Tags_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Tags.class, org.sonarqube.ws.Rules.Tags.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList tags_; /** * repeated string tags = 1; */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** * repeated string tags = 1; */ public int getTagsCount() { return tags_.size(); } /** * repeated string tags = 1; */ public java.lang.String getTags(int index) { return tags_.get(index); } /** * repeated string tags = 1; */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.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 < tags_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 1, tags_.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 < tags_.size(); i++) { dataSize += computeStringSizeNoTag(tags_.getRaw(i)); } size += dataSize; size += 1 * getTagsList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.Tags parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Tags 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.Rules.Tags parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Tags parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.Tags parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Tags parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Tags parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.Tags parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Tags parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Tags 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.Rules.Tags 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.rules.Tags} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.Tags) org.sonarqube.ws.Rules.TagsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Tags_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Tags_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Tags.class, org.sonarqube.ws.Rules.Tags.Builder.class); } // Construct using org.sonarqube.ws.Rules.Tags.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(); tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Tags_descriptor; } public org.sonarqube.ws.Rules.Tags getDefaultInstanceForType() { return org.sonarqube.ws.Rules.Tags.getDefaultInstance(); } public org.sonarqube.ws.Rules.Tags build() { org.sonarqube.ws.Rules.Tags result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.Tags buildPartial() { org.sonarqube.ws.Rules.Tags result = new org.sonarqube.ws.Rules.Tags(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { tags_ = tags_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.tags_ = tags_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.Tags) { return mergeFrom((org.sonarqube.ws.Rules.Tags)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.Tags other) { if (other == org.sonarqube.ws.Rules.Tags.getDefaultInstance()) return this; if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTagsIsMutable(); tags_.addAll(other.tags_); } 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.Rules.Tags parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.Tags) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000001; } } /** * repeated string tags = 1; */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** * repeated string tags = 1; */ public int getTagsCount() { return tags_.size(); } /** * repeated string tags = 1; */ public java.lang.String getTags(int index) { return tags_.get(index); } /** * repeated string tags = 1; */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** * repeated string tags = 1; */ 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 = 1; */ public Builder addTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** * repeated string tags = 1; */ public Builder addAllTags( java.lang.Iterable values) { ensureTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tags_); onChanged(); return this; } /** * repeated string tags = 1; */ public Builder clearTags() { tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string tags = 1; */ public Builder addTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.Tags) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.Tags) private static final org.sonarqube.ws.Rules.Tags DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.Tags(); } public static org.sonarqube.ws.Rules.Tags getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Tags parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Tags(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.Rules.Tags getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ActivesOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.Actives) com.google.protobuf.MessageOrBuilder { /** * map<string, .sonarqube.ws.rules.ActiveList> actives = 1; */ java.util.Map getActives(); } /** * Protobuf type {@code sonarqube.ws.rules.Actives} */ public static final class Actives extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.Actives) ActivesOrBuilder { // Use Actives.newBuilder() to construct. private Actives(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Actives() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Actives( 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)) { actives_ = com.google.protobuf.MapField.newMapField( ActivesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry actives = input.readMessage( ActivesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); actives_.getMutableMap().put(actives.getKey(), actives.getValue()); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Actives_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetActives(); default: throw new RuntimeException( "Invalid map field number: " + number); } } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Actives_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Actives.class, org.sonarqube.ws.Rules.Actives.Builder.class); } public static final int ACTIVES_FIELD_NUMBER = 1; private static final class ActivesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, org.sonarqube.ws.Rules.ActiveList> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Actives_ActivesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, org.sonarqube.ws.Rules.ActiveList.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, org.sonarqube.ws.Rules.ActiveList> actives_; private com.google.protobuf.MapField internalGetActives() { if (actives_ == null) { return com.google.protobuf.MapField.emptyMapField( ActivesDefaultEntryHolder.defaultEntry); } return actives_; } /** * map<string, .sonarqube.ws.rules.ActiveList> actives = 1; */ public java.util.Map getActives() { return internalGetActives().getMap(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (java.util.Map.Entry entry : internalGetActives().getMap().entrySet()) { com.google.protobuf.MapEntry actives = ActivesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); output.writeMessage(1, actives); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetActives().getMap().entrySet()) { com.google.protobuf.MapEntry actives = ActivesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, actives); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.Actives parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Actives 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.Rules.Actives parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Actives parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.Actives parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Actives parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Actives parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.Actives parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Actives parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Actives 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.Rules.Actives 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.rules.Actives} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.Actives) org.sonarqube.ws.Rules.ActivesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Actives_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetActives(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableActives(); default: throw new RuntimeException( "Invalid map field number: " + number); } } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Actives_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Actives.class, org.sonarqube.ws.Rules.Actives.Builder.class); } // Construct using org.sonarqube.ws.Rules.Actives.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(); internalGetMutableActives().clear(); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Actives_descriptor; } public org.sonarqube.ws.Rules.Actives getDefaultInstanceForType() { return org.sonarqube.ws.Rules.Actives.getDefaultInstance(); } public org.sonarqube.ws.Rules.Actives build() { org.sonarqube.ws.Rules.Actives result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.Actives buildPartial() { org.sonarqube.ws.Rules.Actives result = new org.sonarqube.ws.Rules.Actives(this); int from_bitField0_ = bitField0_; result.actives_ = internalGetActives(); result.actives_.makeImmutable(); onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.Actives) { return mergeFrom((org.sonarqube.ws.Rules.Actives)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.Actives other) { if (other == org.sonarqube.ws.Rules.Actives.getDefaultInstance()) return this; internalGetMutableActives().mergeFrom( other.internalGetActives()); 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.Rules.Actives parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.Actives) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.String, org.sonarqube.ws.Rules.ActiveList> actives_; private com.google.protobuf.MapField internalGetActives() { if (actives_ == null) { return com.google.protobuf.MapField.emptyMapField( ActivesDefaultEntryHolder.defaultEntry); } return actives_; } private com.google.protobuf.MapField internalGetMutableActives() { onChanged();; if (actives_ == null) { actives_ = com.google.protobuf.MapField.newMapField( ActivesDefaultEntryHolder.defaultEntry); } if (!actives_.isMutable()) { actives_ = actives_.copy(); } return actives_; } /** * map<string, .sonarqube.ws.rules.ActiveList> actives = 1; */ public java.util.Map getActives() { return internalGetActives().getMap(); } /** * map<string, .sonarqube.ws.rules.ActiveList> actives = 1; */ public java.util.Map getMutableActives() { return internalGetMutableActives().getMutableMap(); } /** * map<string, .sonarqube.ws.rules.ActiveList> actives = 1; */ public Builder putAllActives( java.util.Map values) { getMutableActives().putAll(values); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.Actives) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.Actives) private static final org.sonarqube.ws.Rules.Actives DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.Actives(); } public static org.sonarqube.ws.Rules.Actives getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Actives parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Actives(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.Rules.Actives getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ActiveListOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.ActiveList) com.google.protobuf.MessageOrBuilder { /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ java.util.List getActiveListList(); /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ org.sonarqube.ws.Rules.Active getActiveList(int index); /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ int getActiveListCount(); /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ java.util.List getActiveListOrBuilderList(); /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ org.sonarqube.ws.Rules.ActiveOrBuilder getActiveListOrBuilder( int index); } /** * Protobuf type {@code sonarqube.ws.rules.ActiveList} */ public static final class ActiveList extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.ActiveList) ActiveListOrBuilder { // Use ActiveList.newBuilder() to construct. private ActiveList(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ActiveList() { activeList_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ActiveList( 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)) { activeList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } activeList_.add(input.readMessage(org.sonarqube.ws.Rules.Active.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)) { activeList_ = java.util.Collections.unmodifiableList(activeList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ActiveList_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ActiveList_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.ActiveList.class, org.sonarqube.ws.Rules.ActiveList.Builder.class); } public static final int ACTIVELIST_FIELD_NUMBER = 1; private java.util.List activeList_; /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public java.util.List getActiveListList() { return activeList_; } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public java.util.List getActiveListOrBuilderList() { return activeList_; } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public int getActiveListCount() { return activeList_.size(); } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public org.sonarqube.ws.Rules.Active getActiveList(int index) { return activeList_.get(index); } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public org.sonarqube.ws.Rules.ActiveOrBuilder getActiveListOrBuilder( int index) { return activeList_.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 < activeList_.size(); i++) { output.writeMessage(1, activeList_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < activeList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, activeList_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.ActiveList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.ActiveList 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.Rules.ActiveList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.ActiveList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.ActiveList parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.ActiveList parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.ActiveList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.ActiveList parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.ActiveList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.ActiveList 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.Rules.ActiveList 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.rules.ActiveList} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.ActiveList) org.sonarqube.ws.Rules.ActiveListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ActiveList_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ActiveList_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.ActiveList.class, org.sonarqube.ws.Rules.ActiveList.Builder.class); } // Construct using org.sonarqube.ws.Rules.ActiveList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getActiveListFieldBuilder(); } } public Builder clear() { super.clear(); if (activeListBuilder_ == null) { activeList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { activeListBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_ActiveList_descriptor; } public org.sonarqube.ws.Rules.ActiveList getDefaultInstanceForType() { return org.sonarqube.ws.Rules.ActiveList.getDefaultInstance(); } public org.sonarqube.ws.Rules.ActiveList build() { org.sonarqube.ws.Rules.ActiveList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.ActiveList buildPartial() { org.sonarqube.ws.Rules.ActiveList result = new org.sonarqube.ws.Rules.ActiveList(this); int from_bitField0_ = bitField0_; if (activeListBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { activeList_ = java.util.Collections.unmodifiableList(activeList_); bitField0_ = (bitField0_ & ~0x00000001); } result.activeList_ = activeList_; } else { result.activeList_ = activeListBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.ActiveList) { return mergeFrom((org.sonarqube.ws.Rules.ActiveList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.ActiveList other) { if (other == org.sonarqube.ws.Rules.ActiveList.getDefaultInstance()) return this; if (activeListBuilder_ == null) { if (!other.activeList_.isEmpty()) { if (activeList_.isEmpty()) { activeList_ = other.activeList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureActiveListIsMutable(); activeList_.addAll(other.activeList_); } onChanged(); } } else { if (!other.activeList_.isEmpty()) { if (activeListBuilder_.isEmpty()) { activeListBuilder_.dispose(); activeListBuilder_ = null; activeList_ = other.activeList_; bitField0_ = (bitField0_ & ~0x00000001); activeListBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getActiveListFieldBuilder() : null; } else { activeListBuilder_.addAllMessages(other.activeList_); } } } 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.Rules.ActiveList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.ActiveList) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List activeList_ = java.util.Collections.emptyList(); private void ensureActiveListIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { activeList_ = new java.util.ArrayList(activeList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Active, org.sonarqube.ws.Rules.Active.Builder, org.sonarqube.ws.Rules.ActiveOrBuilder> activeListBuilder_; /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public java.util.List getActiveListList() { if (activeListBuilder_ == null) { return java.util.Collections.unmodifiableList(activeList_); } else { return activeListBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public int getActiveListCount() { if (activeListBuilder_ == null) { return activeList_.size(); } else { return activeListBuilder_.getCount(); } } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public org.sonarqube.ws.Rules.Active getActiveList(int index) { if (activeListBuilder_ == null) { return activeList_.get(index); } else { return activeListBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public Builder setActiveList( int index, org.sonarqube.ws.Rules.Active value) { if (activeListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiveListIsMutable(); activeList_.set(index, value); onChanged(); } else { activeListBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public Builder setActiveList( int index, org.sonarqube.ws.Rules.Active.Builder builderForValue) { if (activeListBuilder_ == null) { ensureActiveListIsMutable(); activeList_.set(index, builderForValue.build()); onChanged(); } else { activeListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public Builder addActiveList(org.sonarqube.ws.Rules.Active value) { if (activeListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiveListIsMutable(); activeList_.add(value); onChanged(); } else { activeListBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public Builder addActiveList( int index, org.sonarqube.ws.Rules.Active value) { if (activeListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiveListIsMutable(); activeList_.add(index, value); onChanged(); } else { activeListBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public Builder addActiveList( org.sonarqube.ws.Rules.Active.Builder builderForValue) { if (activeListBuilder_ == null) { ensureActiveListIsMutable(); activeList_.add(builderForValue.build()); onChanged(); } else { activeListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public Builder addActiveList( int index, org.sonarqube.ws.Rules.Active.Builder builderForValue) { if (activeListBuilder_ == null) { ensureActiveListIsMutable(); activeList_.add(index, builderForValue.build()); onChanged(); } else { activeListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public Builder addAllActiveList( java.lang.Iterable values) { if (activeListBuilder_ == null) { ensureActiveListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, activeList_); onChanged(); } else { activeListBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public Builder clearActiveList() { if (activeListBuilder_ == null) { activeList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { activeListBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public Builder removeActiveList(int index) { if (activeListBuilder_ == null) { ensureActiveListIsMutable(); activeList_.remove(index); onChanged(); } else { activeListBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public org.sonarqube.ws.Rules.Active.Builder getActiveListBuilder( int index) { return getActiveListFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public org.sonarqube.ws.Rules.ActiveOrBuilder getActiveListOrBuilder( int index) { if (activeListBuilder_ == null) { return activeList_.get(index); } else { return activeListBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public java.util.List getActiveListOrBuilderList() { if (activeListBuilder_ != null) { return activeListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(activeList_); } } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public org.sonarqube.ws.Rules.Active.Builder addActiveListBuilder() { return getActiveListFieldBuilder().addBuilder( org.sonarqube.ws.Rules.Active.getDefaultInstance()); } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public org.sonarqube.ws.Rules.Active.Builder addActiveListBuilder( int index) { return getActiveListFieldBuilder().addBuilder( index, org.sonarqube.ws.Rules.Active.getDefaultInstance()); } /** * repeated .sonarqube.ws.rules.Active activeList = 1; */ public java.util.List getActiveListBuilderList() { return getActiveListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Active, org.sonarqube.ws.Rules.Active.Builder, org.sonarqube.ws.Rules.ActiveOrBuilder> getActiveListFieldBuilder() { if (activeListBuilder_ == null) { activeListBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Active, org.sonarqube.ws.Rules.Active.Builder, org.sonarqube.ws.Rules.ActiveOrBuilder>( activeList_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); activeList_ = null; } return activeListBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.ActiveList) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.ActiveList) private static final org.sonarqube.ws.Rules.ActiveList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.ActiveList(); } public static org.sonarqube.ws.Rules.ActiveList getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ActiveList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new ActiveList(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.Rules.ActiveList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ActiveOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.Active) com.google.protobuf.MessageOrBuilder { /** * optional string qProfile = 1; */ boolean hasQProfile(); /** * optional string qProfile = 1; */ java.lang.String getQProfile(); /** * optional string qProfile = 1; */ com.google.protobuf.ByteString getQProfileBytes(); /** * optional string inherit = 2; */ boolean hasInherit(); /** * optional string inherit = 2; */ java.lang.String getInherit(); /** * optional string inherit = 2; */ com.google.protobuf.ByteString getInheritBytes(); /** * optional string severity = 3; */ boolean hasSeverity(); /** * optional string severity = 3; */ java.lang.String getSeverity(); /** * optional string severity = 3; */ com.google.protobuf.ByteString getSeverityBytes(); /** * optional string unusedParent = 4; * *
     * Unused since 5.6, it has been removed because it was never used and costly to compute
     * 
*/ boolean hasUnusedParent(); /** * optional string unusedParent = 4; * *
     * Unused since 5.6, it has been removed because it was never used and costly to compute
     * 
*/ java.lang.String getUnusedParent(); /** * optional string unusedParent = 4; * *
     * Unused since 5.6, it has been removed because it was never used and costly to compute
     * 
*/ com.google.protobuf.ByteString getUnusedParentBytes(); /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ java.util.List getParamsList(); /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ org.sonarqube.ws.Rules.Active.Param getParams(int index); /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ int getParamsCount(); /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ java.util.List getParamsOrBuilderList(); /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ org.sonarqube.ws.Rules.Active.ParamOrBuilder getParamsOrBuilder( int index); } /** * Protobuf type {@code sonarqube.ws.rules.Active} */ public static final class Active extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.Active) ActiveOrBuilder { // Use Active.newBuilder() to construct. private Active(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Active() { qProfile_ = ""; inherit_ = ""; severity_ = ""; unusedParent_ = ""; params_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Active( 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; qProfile_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; inherit_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; severity_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; unusedParent_ = bs; break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { params_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } params_.add(input.readMessage(org.sonarqube.ws.Rules.Active.Param.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_ & 0x00000010) == 0x00000010)) { params_ = java.util.Collections.unmodifiableList(params_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Active_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Active_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Active.class, org.sonarqube.ws.Rules.Active.Builder.class); } public interface ParamOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.Active.Param) 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 value = 2; */ boolean hasValue(); /** * optional string value = 2; */ java.lang.String getValue(); /** * optional string value = 2; */ com.google.protobuf.ByteString getValueBytes(); } /** * Protobuf type {@code sonarqube.ws.rules.Active.Param} */ public static final class Param extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.Active.Param) ParamOrBuilder { // Use Param.newBuilder() to construct. private Param(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Param() { key_ = ""; value_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Param( 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; value_ = 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.Rules.internal_static_sonarqube_ws_rules_Active_Param_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Active_Param_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Active.Param.class, org.sonarqube.ws.Rules.Active.Param.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 VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object value_; /** * optional string value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string value = 2; */ public java.lang.String getValue() { java.lang.Object ref = value_; 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()) { value_ = s; } return s; } } /** * optional string value = 2; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = 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, value_); } 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, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.Active.Param parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Active.Param 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.Rules.Active.Param parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Active.Param parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.Active.Param parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Active.Param parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Active.Param parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.Active.Param parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Active.Param parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Active.Param 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.Rules.Active.Param 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.rules.Active.Param} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.Active.Param) org.sonarqube.ws.Rules.Active.ParamOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Active_Param_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Active_Param_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Active.Param.class, org.sonarqube.ws.Rules.Active.Param.Builder.class); } // Construct using org.sonarqube.ws.Rules.Active.Param.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); value_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Active_Param_descriptor; } public org.sonarqube.ws.Rules.Active.Param getDefaultInstanceForType() { return org.sonarqube.ws.Rules.Active.Param.getDefaultInstance(); } public org.sonarqube.ws.Rules.Active.Param build() { org.sonarqube.ws.Rules.Active.Param result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.Active.Param buildPartial() { org.sonarqube.ws.Rules.Active.Param result = new org.sonarqube.ws.Rules.Active.Param(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.value_ = value_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.Active.Param) { return mergeFrom((org.sonarqube.ws.Rules.Active.Param)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.Active.Param other) { if (other == org.sonarqube.ws.Rules.Active.Param.getDefaultInstance()) return this; if (other.hasKey()) { bitField0_ |= 0x00000001; key_ = other.key_; onChanged(); } if (other.hasValue()) { bitField0_ |= 0x00000002; value_ = other.value_; 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.Rules.Active.Param parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.Active.Param) 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 value_ = ""; /** * optional string value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string value = 2; */ public java.lang.String getValue() { java.lang.Object ref = value_; 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()) { value_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string value = 2; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string value = 2; */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } /** * optional string value = 2; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** * optional string value = 2; */ public Builder setValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.Active.Param) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.Active.Param) private static final org.sonarqube.ws.Rules.Active.Param DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.Active.Param(); } public static org.sonarqube.ws.Rules.Active.Param getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Param parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Param(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.Rules.Active.Param getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int QPROFILE_FIELD_NUMBER = 1; private volatile java.lang.Object qProfile_; /** * optional string qProfile = 1; */ public boolean hasQProfile() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string qProfile = 1; */ public java.lang.String getQProfile() { java.lang.Object ref = qProfile_; 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()) { qProfile_ = s; } return s; } } /** * optional string qProfile = 1; */ public com.google.protobuf.ByteString getQProfileBytes() { java.lang.Object ref = qProfile_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qProfile_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INHERIT_FIELD_NUMBER = 2; private volatile java.lang.Object inherit_; /** * optional string inherit = 2; */ public boolean hasInherit() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string inherit = 2; */ public java.lang.String getInherit() { java.lang.Object ref = inherit_; 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()) { inherit_ = s; } return s; } } /** * optional string inherit = 2; */ public com.google.protobuf.ByteString getInheritBytes() { java.lang.Object ref = inherit_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); inherit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEVERITY_FIELD_NUMBER = 3; private volatile java.lang.Object severity_; /** * optional string severity = 3; */ public boolean hasSeverity() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string severity = 3; */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; 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()) { severity_ = s; } return s; } } /** * optional string severity = 3; */ public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); severity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNUSEDPARENT_FIELD_NUMBER = 4; private volatile java.lang.Object unusedParent_; /** * optional string unusedParent = 4; * *
     * Unused since 5.6, it has been removed because it was never used and costly to compute
     * 
*/ public boolean hasUnusedParent() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string unusedParent = 4; * *
     * Unused since 5.6, it has been removed because it was never used and costly to compute
     * 
*/ public java.lang.String getUnusedParent() { java.lang.Object ref = unusedParent_; 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()) { unusedParent_ = s; } return s; } } /** * optional string unusedParent = 4; * *
     * Unused since 5.6, it has been removed because it was never used and costly to compute
     * 
*/ public com.google.protobuf.ByteString getUnusedParentBytes() { java.lang.Object ref = unusedParent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedParent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARAMS_FIELD_NUMBER = 5; private java.util.List params_; /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public java.util.List getParamsList() { return params_; } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public java.util.List getParamsOrBuilderList() { return params_; } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public int getParamsCount() { return params_.size(); } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public org.sonarqube.ws.Rules.Active.Param getParams(int index) { return params_.get(index); } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public org.sonarqube.ws.Rules.Active.ParamOrBuilder getParamsOrBuilder( int index) { return params_.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)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, qProfile_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, inherit_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, severity_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessage.writeString(output, 4, unusedParent_); } for (int i = 0; i < params_.size(); i++) { output.writeMessage(5, params_.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.GeneratedMessage.computeStringSize(1, qProfile_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, inherit_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, severity_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(4, unusedParent_); } for (int i = 0; i < params_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, params_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.Active parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Active 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.Rules.Active parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.Active parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.Active parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Active parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Active parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.Active parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.Active parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.Active 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.Rules.Active 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.rules.Active} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.Active) org.sonarqube.ws.Rules.ActiveOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Active_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Active_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.Active.class, org.sonarqube.ws.Rules.Active.Builder.class); } // Construct using org.sonarqube.ws.Rules.Active.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getParamsFieldBuilder(); } } public Builder clear() { super.clear(); qProfile_ = ""; bitField0_ = (bitField0_ & ~0x00000001); inherit_ = ""; bitField0_ = (bitField0_ & ~0x00000002); severity_ = ""; bitField0_ = (bitField0_ & ~0x00000004); unusedParent_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (paramsBuilder_ == null) { params_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { paramsBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_Active_descriptor; } public org.sonarqube.ws.Rules.Active getDefaultInstanceForType() { return org.sonarqube.ws.Rules.Active.getDefaultInstance(); } public org.sonarqube.ws.Rules.Active build() { org.sonarqube.ws.Rules.Active result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.Active buildPartial() { org.sonarqube.ws.Rules.Active result = new org.sonarqube.ws.Rules.Active(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.qProfile_ = qProfile_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.inherit_ = inherit_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.severity_ = severity_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.unusedParent_ = unusedParent_; if (paramsBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010)) { params_ = java.util.Collections.unmodifiableList(params_); bitField0_ = (bitField0_ & ~0x00000010); } result.params_ = params_; } else { result.params_ = paramsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.Active) { return mergeFrom((org.sonarqube.ws.Rules.Active)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.Active other) { if (other == org.sonarqube.ws.Rules.Active.getDefaultInstance()) return this; if (other.hasQProfile()) { bitField0_ |= 0x00000001; qProfile_ = other.qProfile_; onChanged(); } if (other.hasInherit()) { bitField0_ |= 0x00000002; inherit_ = other.inherit_; onChanged(); } if (other.hasSeverity()) { bitField0_ |= 0x00000004; severity_ = other.severity_; onChanged(); } if (other.hasUnusedParent()) { bitField0_ |= 0x00000008; unusedParent_ = other.unusedParent_; onChanged(); } if (paramsBuilder_ == null) { if (!other.params_.isEmpty()) { if (params_.isEmpty()) { params_ = other.params_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureParamsIsMutable(); params_.addAll(other.params_); } onChanged(); } } else { if (!other.params_.isEmpty()) { if (paramsBuilder_.isEmpty()) { paramsBuilder_.dispose(); paramsBuilder_ = null; params_ = other.params_; bitField0_ = (bitField0_ & ~0x00000010); paramsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getParamsFieldBuilder() : null; } else { paramsBuilder_.addAllMessages(other.params_); } } } 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.Rules.Active parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.Active) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object qProfile_ = ""; /** * optional string qProfile = 1; */ public boolean hasQProfile() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string qProfile = 1; */ public java.lang.String getQProfile() { java.lang.Object ref = qProfile_; 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()) { qProfile_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string qProfile = 1; */ public com.google.protobuf.ByteString getQProfileBytes() { java.lang.Object ref = qProfile_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qProfile_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string qProfile = 1; */ public Builder setQProfile( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; qProfile_ = value; onChanged(); return this; } /** * optional string qProfile = 1; */ public Builder clearQProfile() { bitField0_ = (bitField0_ & ~0x00000001); qProfile_ = getDefaultInstance().getQProfile(); onChanged(); return this; } /** * optional string qProfile = 1; */ public Builder setQProfileBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; qProfile_ = value; onChanged(); return this; } private java.lang.Object inherit_ = ""; /** * optional string inherit = 2; */ public boolean hasInherit() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string inherit = 2; */ public java.lang.String getInherit() { java.lang.Object ref = inherit_; 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()) { inherit_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string inherit = 2; */ public com.google.protobuf.ByteString getInheritBytes() { java.lang.Object ref = inherit_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); inherit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string inherit = 2; */ public Builder setInherit( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; inherit_ = value; onChanged(); return this; } /** * optional string inherit = 2; */ public Builder clearInherit() { bitField0_ = (bitField0_ & ~0x00000002); inherit_ = getDefaultInstance().getInherit(); onChanged(); return this; } /** * optional string inherit = 2; */ public Builder setInheritBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; inherit_ = value; onChanged(); return this; } private java.lang.Object severity_ = ""; /** * optional string severity = 3; */ public boolean hasSeverity() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string severity = 3; */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; 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()) { severity_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string severity = 3; */ public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); severity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string severity = 3; */ public Builder setSeverity( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; severity_ = value; onChanged(); return this; } /** * optional string severity = 3; */ public Builder clearSeverity() { bitField0_ = (bitField0_ & ~0x00000004); severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** * optional string severity = 3; */ public Builder setSeverityBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; severity_ = value; onChanged(); return this; } private java.lang.Object unusedParent_ = ""; /** * optional string unusedParent = 4; * *
       * Unused since 5.6, it has been removed because it was never used and costly to compute
       * 
*/ public boolean hasUnusedParent() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string unusedParent = 4; * *
       * Unused since 5.6, it has been removed because it was never used and costly to compute
       * 
*/ public java.lang.String getUnusedParent() { java.lang.Object ref = unusedParent_; 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()) { unusedParent_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string unusedParent = 4; * *
       * Unused since 5.6, it has been removed because it was never used and costly to compute
       * 
*/ public com.google.protobuf.ByteString getUnusedParentBytes() { java.lang.Object ref = unusedParent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unusedParent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string unusedParent = 4; * *
       * Unused since 5.6, it has been removed because it was never used and costly to compute
       * 
*/ public Builder setUnusedParent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; unusedParent_ = value; onChanged(); return this; } /** * optional string unusedParent = 4; * *
       * Unused since 5.6, it has been removed because it was never used and costly to compute
       * 
*/ public Builder clearUnusedParent() { bitField0_ = (bitField0_ & ~0x00000008); unusedParent_ = getDefaultInstance().getUnusedParent(); onChanged(); return this; } /** * optional string unusedParent = 4; * *
       * Unused since 5.6, it has been removed because it was never used and costly to compute
       * 
*/ public Builder setUnusedParentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; unusedParent_ = value; onChanged(); return this; } private java.util.List params_ = java.util.Collections.emptyList(); private void ensureParamsIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { params_ = new java.util.ArrayList(params_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Active.Param, org.sonarqube.ws.Rules.Active.Param.Builder, org.sonarqube.ws.Rules.Active.ParamOrBuilder> paramsBuilder_; /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public java.util.List getParamsList() { if (paramsBuilder_ == null) { return java.util.Collections.unmodifiableList(params_); } else { return paramsBuilder_.getMessageList(); } } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public int getParamsCount() { if (paramsBuilder_ == null) { return params_.size(); } else { return paramsBuilder_.getCount(); } } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public org.sonarqube.ws.Rules.Active.Param getParams(int index) { if (paramsBuilder_ == null) { return params_.get(index); } else { return paramsBuilder_.getMessage(index); } } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public Builder setParams( int index, org.sonarqube.ws.Rules.Active.Param value) { if (paramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParamsIsMutable(); params_.set(index, value); onChanged(); } else { paramsBuilder_.setMessage(index, value); } return this; } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public Builder setParams( int index, org.sonarqube.ws.Rules.Active.Param.Builder builderForValue) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); params_.set(index, builderForValue.build()); onChanged(); } else { paramsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public Builder addParams(org.sonarqube.ws.Rules.Active.Param value) { if (paramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParamsIsMutable(); params_.add(value); onChanged(); } else { paramsBuilder_.addMessage(value); } return this; } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public Builder addParams( int index, org.sonarqube.ws.Rules.Active.Param value) { if (paramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParamsIsMutable(); params_.add(index, value); onChanged(); } else { paramsBuilder_.addMessage(index, value); } return this; } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public Builder addParams( org.sonarqube.ws.Rules.Active.Param.Builder builderForValue) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); params_.add(builderForValue.build()); onChanged(); } else { paramsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public Builder addParams( int index, org.sonarqube.ws.Rules.Active.Param.Builder builderForValue) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); params_.add(index, builderForValue.build()); onChanged(); } else { paramsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public Builder addAllParams( java.lang.Iterable values) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, params_); onChanged(); } else { paramsBuilder_.addAllMessages(values); } return this; } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public Builder clearParams() { if (paramsBuilder_ == null) { params_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { paramsBuilder_.clear(); } return this; } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public Builder removeParams(int index) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); params_.remove(index); onChanged(); } else { paramsBuilder_.remove(index); } return this; } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public org.sonarqube.ws.Rules.Active.Param.Builder getParamsBuilder( int index) { return getParamsFieldBuilder().getBuilder(index); } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public org.sonarqube.ws.Rules.Active.ParamOrBuilder getParamsOrBuilder( int index) { if (paramsBuilder_ == null) { return params_.get(index); } else { return paramsBuilder_.getMessageOrBuilder(index); } } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public java.util.List getParamsOrBuilderList() { if (paramsBuilder_ != null) { return paramsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(params_); } } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public org.sonarqube.ws.Rules.Active.Param.Builder addParamsBuilder() { return getParamsFieldBuilder().addBuilder( org.sonarqube.ws.Rules.Active.Param.getDefaultInstance()); } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public org.sonarqube.ws.Rules.Active.Param.Builder addParamsBuilder( int index) { return getParamsFieldBuilder().addBuilder( index, org.sonarqube.ws.Rules.Active.Param.getDefaultInstance()); } /** * repeated .sonarqube.ws.rules.Active.Param params = 5; */ public java.util.List getParamsBuilderList() { return getParamsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Active.Param, org.sonarqube.ws.Rules.Active.Param.Builder, org.sonarqube.ws.Rules.Active.ParamOrBuilder> getParamsFieldBuilder() { if (paramsBuilder_ == null) { paramsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.sonarqube.ws.Rules.Active.Param, org.sonarqube.ws.Rules.Active.Param.Builder, org.sonarqube.ws.Rules.Active.ParamOrBuilder>( params_, ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); params_ = null; } return paramsBuilder_; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.Active) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.Active) private static final org.sonarqube.ws.Rules.Active DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.Active(); } public static org.sonarqube.ws.Rules.Active getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Active parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new Active(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.Rules.Active getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QProfilesOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.QProfiles) com.google.protobuf.MessageOrBuilder { /** * map<string, .sonarqube.ws.rules.QProfile> qProfiles = 1; */ java.util.Map getQProfiles(); } /** * Protobuf type {@code sonarqube.ws.rules.QProfiles} */ public static final class QProfiles extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.QProfiles) QProfilesOrBuilder { // Use QProfiles.newBuilder() to construct. private QProfiles(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private QProfiles() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QProfiles( 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)) { qProfiles_ = com.google.protobuf.MapField.newMapField( QProfilesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry qProfiles = input.readMessage( QProfilesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); qProfiles_.getMutableMap().put(qProfiles.getKey(), qProfiles.getValue()); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_QProfiles_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetQProfiles(); default: throw new RuntimeException( "Invalid map field number: " + number); } } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_QProfiles_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.QProfiles.class, org.sonarqube.ws.Rules.QProfiles.Builder.class); } public static final int QPROFILES_FIELD_NUMBER = 1; private static final class QProfilesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, org.sonarqube.ws.Rules.QProfile> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_QProfiles_QProfilesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, org.sonarqube.ws.Rules.QProfile.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, org.sonarqube.ws.Rules.QProfile> qProfiles_; private com.google.protobuf.MapField internalGetQProfiles() { if (qProfiles_ == null) { return com.google.protobuf.MapField.emptyMapField( QProfilesDefaultEntryHolder.defaultEntry); } return qProfiles_; } /** * map<string, .sonarqube.ws.rules.QProfile> qProfiles = 1; */ public java.util.Map getQProfiles() { return internalGetQProfiles().getMap(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (java.util.Map.Entry entry : internalGetQProfiles().getMap().entrySet()) { com.google.protobuf.MapEntry qProfiles = QProfilesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); output.writeMessage(1, qProfiles); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetQProfiles().getMap().entrySet()) { com.google.protobuf.MapEntry qProfiles = QProfilesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, qProfiles); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.QProfiles parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.QProfiles 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.Rules.QProfiles parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.QProfiles parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.QProfiles parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.QProfiles parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.QProfiles parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.QProfiles parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.QProfiles parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.QProfiles 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.Rules.QProfiles 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.rules.QProfiles} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.QProfiles) org.sonarqube.ws.Rules.QProfilesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_QProfiles_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetQProfiles(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableQProfiles(); default: throw new RuntimeException( "Invalid map field number: " + number); } } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_QProfiles_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.QProfiles.class, org.sonarqube.ws.Rules.QProfiles.Builder.class); } // Construct using org.sonarqube.ws.Rules.QProfiles.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(); internalGetMutableQProfiles().clear(); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_QProfiles_descriptor; } public org.sonarqube.ws.Rules.QProfiles getDefaultInstanceForType() { return org.sonarqube.ws.Rules.QProfiles.getDefaultInstance(); } public org.sonarqube.ws.Rules.QProfiles build() { org.sonarqube.ws.Rules.QProfiles result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.QProfiles buildPartial() { org.sonarqube.ws.Rules.QProfiles result = new org.sonarqube.ws.Rules.QProfiles(this); int from_bitField0_ = bitField0_; result.qProfiles_ = internalGetQProfiles(); result.qProfiles_.makeImmutable(); onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.QProfiles) { return mergeFrom((org.sonarqube.ws.Rules.QProfiles)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.QProfiles other) { if (other == org.sonarqube.ws.Rules.QProfiles.getDefaultInstance()) return this; internalGetMutableQProfiles().mergeFrom( other.internalGetQProfiles()); 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.Rules.QProfiles parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.QProfiles) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.String, org.sonarqube.ws.Rules.QProfile> qProfiles_; private com.google.protobuf.MapField internalGetQProfiles() { if (qProfiles_ == null) { return com.google.protobuf.MapField.emptyMapField( QProfilesDefaultEntryHolder.defaultEntry); } return qProfiles_; } private com.google.protobuf.MapField internalGetMutableQProfiles() { onChanged();; if (qProfiles_ == null) { qProfiles_ = com.google.protobuf.MapField.newMapField( QProfilesDefaultEntryHolder.defaultEntry); } if (!qProfiles_.isMutable()) { qProfiles_ = qProfiles_.copy(); } return qProfiles_; } /** * map<string, .sonarqube.ws.rules.QProfile> qProfiles = 1; */ public java.util.Map getQProfiles() { return internalGetQProfiles().getMap(); } /** * map<string, .sonarqube.ws.rules.QProfile> qProfiles = 1; */ public java.util.Map getMutableQProfiles() { return internalGetMutableQProfiles().getMutableMap(); } /** * map<string, .sonarqube.ws.rules.QProfile> qProfiles = 1; */ public Builder putAllQProfiles( java.util.Map values) { getMutableQProfiles().putAll(values); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.QProfiles) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.QProfiles) private static final org.sonarqube.ws.Rules.QProfiles DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.QProfiles(); } public static org.sonarqube.ws.Rules.QProfiles getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public QProfiles parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new QProfiles(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.Rules.QProfiles getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QProfileOrBuilder extends // @@protoc_insertion_point(interface_extends:sonarqube.ws.rules.QProfile) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string lang = 2; */ boolean hasLang(); /** * optional string lang = 2; */ java.lang.String getLang(); /** * optional string lang = 2; */ com.google.protobuf.ByteString getLangBytes(); /** * optional string langName = 3; */ boolean hasLangName(); /** * optional string langName = 3; */ java.lang.String getLangName(); /** * optional string langName = 3; */ com.google.protobuf.ByteString getLangNameBytes(); /** * optional string parent = 4; */ boolean hasParent(); /** * optional string parent = 4; */ java.lang.String getParent(); /** * optional string parent = 4; */ com.google.protobuf.ByteString getParentBytes(); } /** * Protobuf type {@code sonarqube.ws.rules.QProfile} */ public static final class QProfile extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:sonarqube.ws.rules.QProfile) QProfileOrBuilder { // Use QProfile.newBuilder() to construct. private QProfile(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private QProfile() { name_ = ""; lang_ = ""; langName_ = ""; parent_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QProfile( 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; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; lang_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; langName_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; parent_ = 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.Rules.internal_static_sonarqube_ws_rules_QProfile_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_QProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.QProfile.class, org.sonarqube.ws.Rules.QProfile.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ 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 = 1; */ 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 LANG_FIELD_NUMBER = 2; private volatile java.lang.Object lang_; /** * optional string lang = 2; */ public boolean hasLang() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string lang = 2; */ public java.lang.String getLang() { java.lang.Object ref = lang_; 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()) { lang_ = s; } return s; } } /** * optional string lang = 2; */ public com.google.protobuf.ByteString getLangBytes() { java.lang.Object ref = lang_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lang_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LANGNAME_FIELD_NUMBER = 3; private volatile java.lang.Object langName_; /** * optional string langName = 3; */ public boolean hasLangName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string langName = 3; */ public java.lang.String getLangName() { java.lang.Object ref = langName_; 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()) { langName_ = s; } return s; } } /** * optional string langName = 3; */ public com.google.protobuf.ByteString getLangNameBytes() { java.lang.Object ref = langName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); langName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARENT_FIELD_NUMBER = 4; private volatile java.lang.Object parent_; /** * optional string parent = 4; */ public boolean hasParent() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string parent = 4; */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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()) { parent_ = s; } return s; } } /** * optional string parent = 4; */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); parent_ = 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, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, lang_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, langName_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessage.writeString(output, 4, parent_); } 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, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, lang_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, langName_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(4, parent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.sonarqube.ws.Rules.QProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.QProfile 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.Rules.QProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.sonarqube.ws.Rules.QProfile parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.sonarqube.ws.Rules.QProfile parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.QProfile parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.QProfile parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.sonarqube.ws.Rules.QProfile parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.sonarqube.ws.Rules.QProfile parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.sonarqube.ws.Rules.QProfile 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.Rules.QProfile 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.rules.QProfile} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:sonarqube.ws.rules.QProfile) org.sonarqube.ws.Rules.QProfileOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_QProfile_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_QProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( org.sonarqube.ws.Rules.QProfile.class, org.sonarqube.ws.Rules.QProfile.Builder.class); } // Construct using org.sonarqube.ws.Rules.QProfile.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(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); lang_ = ""; bitField0_ = (bitField0_ & ~0x00000002); langName_ = ""; bitField0_ = (bitField0_ & ~0x00000004); parent_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.sonarqube.ws.Rules.internal_static_sonarqube_ws_rules_QProfile_descriptor; } public org.sonarqube.ws.Rules.QProfile getDefaultInstanceForType() { return org.sonarqube.ws.Rules.QProfile.getDefaultInstance(); } public org.sonarqube.ws.Rules.QProfile build() { org.sonarqube.ws.Rules.QProfile result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.sonarqube.ws.Rules.QProfile buildPartial() { org.sonarqube.ws.Rules.QProfile result = new org.sonarqube.ws.Rules.QProfile(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.lang_ = lang_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.langName_ = langName_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.parent_ = parent_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.sonarqube.ws.Rules.QProfile) { return mergeFrom((org.sonarqube.ws.Rules.QProfile)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.sonarqube.ws.Rules.QProfile other) { if (other == org.sonarqube.ws.Rules.QProfile.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasLang()) { bitField0_ |= 0x00000002; lang_ = other.lang_; onChanged(); } if (other.hasLangName()) { bitField0_ |= 0x00000004; langName_ = other.langName_; onChanged(); } if (other.hasParent()) { bitField0_ |= 0x00000008; parent_ = other.parent_; 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.Rules.QProfile parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.sonarqube.ws.Rules.QProfile) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ 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 = 1; */ 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 = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object lang_ = ""; /** * optional string lang = 2; */ public boolean hasLang() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string lang = 2; */ public java.lang.String getLang() { java.lang.Object ref = lang_; 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()) { lang_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string lang = 2; */ public com.google.protobuf.ByteString getLangBytes() { java.lang.Object ref = lang_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lang_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string lang = 2; */ public Builder setLang( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; lang_ = value; onChanged(); return this; } /** * optional string lang = 2; */ public Builder clearLang() { bitField0_ = (bitField0_ & ~0x00000002); lang_ = getDefaultInstance().getLang(); onChanged(); return this; } /** * optional string lang = 2; */ public Builder setLangBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; lang_ = value; onChanged(); return this; } private java.lang.Object langName_ = ""; /** * optional string langName = 3; */ public boolean hasLangName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string langName = 3; */ public java.lang.String getLangName() { java.lang.Object ref = langName_; 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()) { langName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string langName = 3; */ public com.google.protobuf.ByteString getLangNameBytes() { java.lang.Object ref = langName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); langName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string langName = 3; */ public Builder setLangName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; langName_ = value; onChanged(); return this; } /** * optional string langName = 3; */ public Builder clearLangName() { bitField0_ = (bitField0_ & ~0x00000004); langName_ = getDefaultInstance().getLangName(); onChanged(); return this; } /** * optional string langName = 3; */ public Builder setLangNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; langName_ = value; onChanged(); return this; } private java.lang.Object parent_ = ""; /** * optional string parent = 4; */ public boolean hasParent() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string parent = 4; */ public java.lang.String getParent() { java.lang.Object ref = parent_; 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()) { parent_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string parent = 4; */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); parent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string parent = 4; */ public Builder setParent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; parent_ = value; onChanged(); return this; } /** * optional string parent = 4; */ public Builder clearParent() { bitField0_ = (bitField0_ & ~0x00000008); parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** * optional string parent = 4; */ public Builder setParentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; parent_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:sonarqube.ws.rules.QProfile) } // @@protoc_insertion_point(class_scope:sonarqube.ws.rules.QProfile) private static final org.sonarqube.ws.Rules.QProfile DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.sonarqube.ws.Rules.QProfile(); } public static org.sonarqube.ws.Rules.QProfile getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public QProfile parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new QProfile(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.Rules.QProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_ListResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_ListResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_ListResponse_Rule_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_ListResponse_Rule_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_SearchResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_SearchResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_ShowResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_ShowResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_CreateResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_CreateResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_UpdateResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_UpdateResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_Rule_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_Rule_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_Rule_Params_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_Rule_Params_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_Rule_Param_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_Rule_Param_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_SysTags_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_SysTags_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_Tags_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_Tags_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_Actives_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_Actives_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_Actives_ActivesEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_Actives_ActivesEntry_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_ActiveList_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_ActiveList_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_Active_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_Active_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_Active_Param_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_Active_Param_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_QProfiles_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_QProfiles_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_QProfiles_QProfilesEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_QProfiles_QProfilesEntry_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_sonarqube_ws_rules_QProfile_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_sonarqube_ws_rules_QProfile_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\016ws-rules.proto\022\022sonarqube.ws.rules\032\020ws" + "-commons.proto\"\221\001\n\014ListResponse\0224\n\005rules" + "\030\001 \003(\0132%.sonarqube.ws.rules.ListResponse" + ".Rule\032K\n\004Rule\022\022\n\nrepository\030\001 \001(\t\022\013\n\003key" + "\030\002 \001(\t\022\024\n\014internal_key\030\003 \001(\t\022\014\n\004name\030\004 \001" + "(\t\"\355\001\n\016SearchResponse\022\r\n\005total\030\001 \001(\003\022\t\n\001" + "p\030\002 \001(\005\022\n\n\002ps\030\003 \001(\003\022\'\n\005rules\030\004 \003(\0132\030.son" + "arqube.ws.rules.Rule\022,\n\007actives\030\005 \001(\0132\033." + "sonarqube.ws.rules.Actives\0220\n\tqProfiles\030" + "\006 \001(\0132\035.sonarqube.ws.rules.QProfiles\022,\n\006", "facets\030\007 \001(\0132\034.sonarqube.ws.commons.Face" + "ts\"c\n\014ShowResponse\022&\n\004rule\030\001 \001(\0132\030.sonar" + "qube.ws.rules.Rule\022+\n\007actives\030\003 \003(\0132\032.so" + "narqube.ws.rules.Active\"8\n\016CreateRespons" + "e\022&\n\004rule\030\001 \001(\0132\030.sonarqube.ws.rules.Rul" + "e\"8\n\016UpdateResponse\022&\n\004rule\030\001 \001(\0132\030.sona" + "rqube.ws.rules.Rule\"\330\t\n\004Rule\022\013\n\003key\030\001 \001(" + "\t\022\014\n\004repo\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022\021\n\tcreated" + "At\030\004 \001(\t\022\020\n\010htmlDesc\030\005 \001(\t\022\020\n\010htmlNote\030\006" + " \001(\t\022\016\n\006mdDesc\030\007 \001(\t\022\016\n\006mdNote\030\010 \001(\t\022\021\n\t", "noteLogin\030\t \001(\t\022\020\n\010severity\030\n \001(\t\0220\n\006sta" + "tus\030\013 \001(\0162 .sonarqube.ws.commons.RuleSta" + "tus\022\023\n\013internalKey\030\014 \001(\t\022\022\n\nisTemplate\030\r" + " \001(\010\022\023\n\013templateKey\030\016 \001(\t\022&\n\004tags\030\017 \001(\0132" + "\030.sonarqube.ws.rules.Tags\022,\n\007sysTags\030\020 \001" + "(\0132\033.sonarqube.ws.rules.SysTags\022\014\n\004lang\030" + "\023 \001(\t\022\020\n\010langName\030\024 \001(\t\022/\n\006params\030\025 \001(\0132" + "\037.sonarqube.ws.rules.Rule.Params\022\035\n\025unus" + "edDefaultDebtChar\030\027 \001(\t\022 \n\030unusedDefault" + "DebtSubChar\030\030 \001(\t\022\026\n\016unusedDebtChar\030\031 \001(", "\t\022\031\n\021unusedDebtSubChar\030\032 \001(\t\022\032\n\022unusedDe" + "btCharName\030\033 \001(\t\022\035\n\025unusedDebtSubCharNam" + "e\030\034 \001(\t\022\034\n\024defaultDebtRemFnType\030\035 \001(\t\022\035\n" + "\025defaultDebtRemFnCoeff\030\036 \001(\t\022\036\n\026defaultD" + "ebtRemFnOffset\030\037 \001(\t\022\036\n\026effortToFixDescr" + "iption\030 \001(\t\022\026\n\016debtOverloaded\030! \001(\010\022\025\n\r" + "debtRemFnType\030\" \001(\t\022\026\n\016debtRemFnCoeff\030# " + "\001(\t\022\027\n\017debtRemFnOffset\030$ \001(\t\022\030\n\020defaultR" + "emFnType\030& \001(\t\022!\n\031defaultRemFnGapMultipl" + "ier\030\' \001(\t\022\036\n\026defaultRemFnBaseEffort\030( \001(", "\t\022\021\n\tremFnType\030) \001(\t\022\032\n\022remFnGapMultipli" + "er\030* \001(\t\022\027\n\017remFnBaseEffort\030+ \001(\t\022\027\n\017rem" + "FnOverloaded\030- \001(\010\022\026\n\016gapDescription\030, \001" + "(\t\022,\n\004type\030% \001(\0162\036.sonarqube.ws.commons." + "RuleType\0328\n\006Params\022.\n\006params\030\001 \003(\0132\036.son" + "arqube.ws.rules.Rule.Param\032J\n\005Param\022\013\n\003k" + "ey\030\001 \001(\t\022\020\n\010htmlDesc\030\002 \001(\t\022\024\n\014defaultVal" + "ue\030\003 \001(\t\022\014\n\004type\030\004 \001(\t\"\032\n\007SysTags\022\017\n\007sys" + "Tags\030\001 \003(\t\"\024\n\004Tags\022\014\n\004tags\030\001 \003(\t\"\224\001\n\007Act" + "ives\0229\n\007actives\030\001 \003(\0132(.sonarqube.ws.rul", "es.Actives.ActivesEntry\032N\n\014ActivesEntry\022" + "\013\n\003key\030\001 \001(\t\022-\n\005value\030\002 \001(\0132\036.sonarqube." + "ws.rules.ActiveList:\0028\001\"<\n\nActiveList\022.\n" + "\nactiveList\030\001 \003(\0132\032.sonarqube.ws.rules.A" + "ctive\"\252\001\n\006Active\022\020\n\010qProfile\030\001 \001(\t\022\017\n\007in" + "herit\030\002 \001(\t\022\020\n\010severity\030\003 \001(\t\022\024\n\014unusedP" + "arent\030\004 \001(\t\0220\n\006params\030\005 \003(\0132 .sonarqube." + "ws.rules.Active.Param\032#\n\005Param\022\013\n\003key\030\001 " + "\001(\t\022\r\n\005value\030\002 \001(\t\"\234\001\n\tQProfiles\022?\n\tqPro" + "files\030\001 \003(\0132,.sonarqube.ws.rules.QProfil", "es.QProfilesEntry\032N\n\016QProfilesEntry\022\013\n\003k" + "ey\030\001 \001(\t\022+\n\005value\030\002 \001(\0132\034.sonarqube.ws.r" + "ules.QProfile:\0028\001\"H\n\010QProfile\022\014\n\004name\030\001 " + "\001(\t\022\014\n\004lang\030\002 \001(\t\022\020\n\010langName\030\003 \001(\t\022\016\n\006p" + "arent\030\004 \001(\tB\033\n\020org.sonarqube.wsB\005RulesH\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_rules_ListResponse_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_sonarqube_ws_rules_ListResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_ListResponse_descriptor, new java.lang.String[] { "Rules", }); internal_static_sonarqube_ws_rules_ListResponse_Rule_descriptor = internal_static_sonarqube_ws_rules_ListResponse_descriptor.getNestedTypes().get(0); internal_static_sonarqube_ws_rules_ListResponse_Rule_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_ListResponse_Rule_descriptor, new java.lang.String[] { "Repository", "Key", "InternalKey", "Name", }); internal_static_sonarqube_ws_rules_SearchResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_sonarqube_ws_rules_SearchResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_SearchResponse_descriptor, new java.lang.String[] { "Total", "P", "Ps", "Rules", "Actives", "QProfiles", "Facets", }); internal_static_sonarqube_ws_rules_ShowResponse_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_sonarqube_ws_rules_ShowResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_ShowResponse_descriptor, new java.lang.String[] { "Rule", "Actives", }); internal_static_sonarqube_ws_rules_CreateResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_sonarqube_ws_rules_CreateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_CreateResponse_descriptor, new java.lang.String[] { "Rule", }); internal_static_sonarqube_ws_rules_UpdateResponse_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_sonarqube_ws_rules_UpdateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_UpdateResponse_descriptor, new java.lang.String[] { "Rule", }); internal_static_sonarqube_ws_rules_Rule_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_sonarqube_ws_rules_Rule_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_Rule_descriptor, new java.lang.String[] { "Key", "Repo", "Name", "CreatedAt", "HtmlDesc", "HtmlNote", "MdDesc", "MdNote", "NoteLogin", "Severity", "Status", "InternalKey", "IsTemplate", "TemplateKey", "Tags", "SysTags", "Lang", "LangName", "Params", "UnusedDefaultDebtChar", "UnusedDefaultDebtSubChar", "UnusedDebtChar", "UnusedDebtSubChar", "UnusedDebtCharName", "UnusedDebtSubCharName", "DefaultDebtRemFnType", "DefaultDebtRemFnCoeff", "DefaultDebtRemFnOffset", "EffortToFixDescription", "DebtOverloaded", "DebtRemFnType", "DebtRemFnCoeff", "DebtRemFnOffset", "DefaultRemFnType", "DefaultRemFnGapMultiplier", "DefaultRemFnBaseEffort", "RemFnType", "RemFnGapMultiplier", "RemFnBaseEffort", "RemFnOverloaded", "GapDescription", "Type", }); internal_static_sonarqube_ws_rules_Rule_Params_descriptor = internal_static_sonarqube_ws_rules_Rule_descriptor.getNestedTypes().get(0); internal_static_sonarqube_ws_rules_Rule_Params_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_Rule_Params_descriptor, new java.lang.String[] { "Params", }); internal_static_sonarqube_ws_rules_Rule_Param_descriptor = internal_static_sonarqube_ws_rules_Rule_descriptor.getNestedTypes().get(1); internal_static_sonarqube_ws_rules_Rule_Param_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_Rule_Param_descriptor, new java.lang.String[] { "Key", "HtmlDesc", "DefaultValue", "Type", }); internal_static_sonarqube_ws_rules_SysTags_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_sonarqube_ws_rules_SysTags_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_SysTags_descriptor, new java.lang.String[] { "SysTags", }); internal_static_sonarqube_ws_rules_Tags_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_sonarqube_ws_rules_Tags_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_Tags_descriptor, new java.lang.String[] { "Tags", }); internal_static_sonarqube_ws_rules_Actives_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_sonarqube_ws_rules_Actives_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_Actives_descriptor, new java.lang.String[] { "Actives", }); internal_static_sonarqube_ws_rules_Actives_ActivesEntry_descriptor = internal_static_sonarqube_ws_rules_Actives_descriptor.getNestedTypes().get(0); internal_static_sonarqube_ws_rules_Actives_ActivesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_Actives_ActivesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_sonarqube_ws_rules_ActiveList_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_sonarqube_ws_rules_ActiveList_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_ActiveList_descriptor, new java.lang.String[] { "ActiveList", }); internal_static_sonarqube_ws_rules_Active_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_sonarqube_ws_rules_Active_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_Active_descriptor, new java.lang.String[] { "QProfile", "Inherit", "Severity", "UnusedParent", "Params", }); internal_static_sonarqube_ws_rules_Active_Param_descriptor = internal_static_sonarqube_ws_rules_Active_descriptor.getNestedTypes().get(0); internal_static_sonarqube_ws_rules_Active_Param_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_Active_Param_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_sonarqube_ws_rules_QProfiles_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_sonarqube_ws_rules_QProfiles_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_QProfiles_descriptor, new java.lang.String[] { "QProfiles", }); internal_static_sonarqube_ws_rules_QProfiles_QProfilesEntry_descriptor = internal_static_sonarqube_ws_rules_QProfiles_descriptor.getNestedTypes().get(0); internal_static_sonarqube_ws_rules_QProfiles_QProfilesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_QProfiles_QProfilesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_sonarqube_ws_rules_QProfile_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_sonarqube_ws_rules_QProfile_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_sonarqube_ws_rules_QProfile_descriptor, new java.lang.String[] { "Name", "Lang", "LangName", "Parent", }); org.sonarqube.ws.Common.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy