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

org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: estree.proto

// Protobuf Java Version: 3.25.5
package org.sonar.plugins.javascript.bridge.protobuf;

/**
 * Protobuf type {@code ArrayPattern}
 */
public final class ArrayPattern extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:ArrayPattern)
    ArrayPatternOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ArrayPattern.newBuilder() to construct.
  private ArrayPattern(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ArrayPattern() {
    elements_ = java.util.Collections.emptyList();
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new ArrayPattern();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.sonar.plugins.javascript.bridge.protobuf.Estree.internal_static_ArrayPattern_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return org.sonar.plugins.javascript.bridge.protobuf.Estree.internal_static_ArrayPattern_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern.class, org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern.Builder.class);
  }

  public static final int ELEMENTS_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private java.util.List elements_;
  /**
   * repeated .ArrayElement elements = 1;
   */
  @java.lang.Override
  public java.util.List getElementsList() {
    return elements_;
  }
  /**
   * repeated .ArrayElement elements = 1;
   */
  @java.lang.Override
  public java.util.List 
      getElementsOrBuilderList() {
    return elements_;
  }
  /**
   * repeated .ArrayElement elements = 1;
   */
  @java.lang.Override
  public int getElementsCount() {
    return elements_.size();
  }
  /**
   * repeated .ArrayElement elements = 1;
   */
  @java.lang.Override
  public org.sonar.plugins.javascript.bridge.protobuf.ArrayElement getElements(int index) {
    return elements_.get(index);
  }
  /**
   * repeated .ArrayElement elements = 1;
   */
  @java.lang.Override
  public org.sonar.plugins.javascript.bridge.protobuf.ArrayElementOrBuilder getElementsOrBuilder(
      int index) {
    return elements_.get(index);
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    for (int i = 0; i < elements_.size(); i++) {
      output.writeMessage(1, elements_.get(i));
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    for (int i = 0; i < elements_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, elements_.get(i));
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern)) {
      return super.equals(obj);
    }
    org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern other = (org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern) obj;

    if (!getElementsList()
        .equals(other.getElementsList())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (getElementsCount() > 0) {
      hash = (37 * hash) + ELEMENTS_FIELD_NUMBER;
      hash = (53 * hash) + getElementsList().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  public static org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }

  public static org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code ArrayPattern}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:ArrayPattern)
      org.sonar.plugins.javascript.bridge.protobuf.ArrayPatternOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.sonar.plugins.javascript.bridge.protobuf.Estree.internal_static_ArrayPattern_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.sonar.plugins.javascript.bridge.protobuf.Estree.internal_static_ArrayPattern_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern.class, org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern.Builder.class);
    }

    // Construct using org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern.newBuilder()
    private Builder() {

    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      if (elementsBuilder_ == null) {
        elements_ = java.util.Collections.emptyList();
      } else {
        elements_ = null;
        elementsBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000001);
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return org.sonar.plugins.javascript.bridge.protobuf.Estree.internal_static_ArrayPattern_descriptor;
    }

    @java.lang.Override
    public org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern getDefaultInstanceForType() {
      return org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern.getDefaultInstance();
    }

    @java.lang.Override
    public org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern build() {
      org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern buildPartial() {
      org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern result = new org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern(this);
      buildPartialRepeatedFields(result);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartialRepeatedFields(org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern result) {
      if (elementsBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          elements_ = java.util.Collections.unmodifiableList(elements_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.elements_ = elements_;
      } else {
        result.elements_ = elementsBuilder_.build();
      }
    }

    private void buildPartial0(org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern result) {
      int from_bitField0_ = bitField0_;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern) {
        return mergeFrom((org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern other) {
      if (other == org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern.getDefaultInstance()) return this;
      if (elementsBuilder_ == null) {
        if (!other.elements_.isEmpty()) {
          if (elements_.isEmpty()) {
            elements_ = other.elements_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureElementsIsMutable();
            elements_.addAll(other.elements_);
          }
          onChanged();
        }
      } else {
        if (!other.elements_.isEmpty()) {
          if (elementsBuilder_.isEmpty()) {
            elementsBuilder_.dispose();
            elementsBuilder_ = null;
            elements_ = other.elements_;
            bitField0_ = (bitField0_ & ~0x00000001);
            elementsBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getElementsFieldBuilder() : null;
          } else {
            elementsBuilder_.addAllMessages(other.elements_);
          }
        }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              org.sonar.plugins.javascript.bridge.protobuf.ArrayElement m =
                  input.readMessage(
                      org.sonar.plugins.javascript.bridge.protobuf.ArrayElement.parser(),
                      extensionRegistry);
              if (elementsBuilder_ == null) {
                ensureElementsIsMutable();
                elements_.add(m);
              } else {
                elementsBuilder_.addMessage(m);
              }
              break;
            } // case 10
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

    private java.util.List elements_ =
      java.util.Collections.emptyList();
    private void ensureElementsIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        elements_ = new java.util.ArrayList(elements_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        org.sonar.plugins.javascript.bridge.protobuf.ArrayElement, org.sonar.plugins.javascript.bridge.protobuf.ArrayElement.Builder, org.sonar.plugins.javascript.bridge.protobuf.ArrayElementOrBuilder> elementsBuilder_;

    /**
     * repeated .ArrayElement elements = 1;
     */
    public java.util.List getElementsList() {
      if (elementsBuilder_ == null) {
        return java.util.Collections.unmodifiableList(elements_);
      } else {
        return elementsBuilder_.getMessageList();
      }
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public int getElementsCount() {
      if (elementsBuilder_ == null) {
        return elements_.size();
      } else {
        return elementsBuilder_.getCount();
      }
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public org.sonar.plugins.javascript.bridge.protobuf.ArrayElement getElements(int index) {
      if (elementsBuilder_ == null) {
        return elements_.get(index);
      } else {
        return elementsBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public Builder setElements(
        int index, org.sonar.plugins.javascript.bridge.protobuf.ArrayElement value) {
      if (elementsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureElementsIsMutable();
        elements_.set(index, value);
        onChanged();
      } else {
        elementsBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public Builder setElements(
        int index, org.sonar.plugins.javascript.bridge.protobuf.ArrayElement.Builder builderForValue) {
      if (elementsBuilder_ == null) {
        ensureElementsIsMutable();
        elements_.set(index, builderForValue.build());
        onChanged();
      } else {
        elementsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public Builder addElements(org.sonar.plugins.javascript.bridge.protobuf.ArrayElement value) {
      if (elementsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureElementsIsMutable();
        elements_.add(value);
        onChanged();
      } else {
        elementsBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public Builder addElements(
        int index, org.sonar.plugins.javascript.bridge.protobuf.ArrayElement value) {
      if (elementsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureElementsIsMutable();
        elements_.add(index, value);
        onChanged();
      } else {
        elementsBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public Builder addElements(
        org.sonar.plugins.javascript.bridge.protobuf.ArrayElement.Builder builderForValue) {
      if (elementsBuilder_ == null) {
        ensureElementsIsMutable();
        elements_.add(builderForValue.build());
        onChanged();
      } else {
        elementsBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public Builder addElements(
        int index, org.sonar.plugins.javascript.bridge.protobuf.ArrayElement.Builder builderForValue) {
      if (elementsBuilder_ == null) {
        ensureElementsIsMutable();
        elements_.add(index, builderForValue.build());
        onChanged();
      } else {
        elementsBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public Builder addAllElements(
        java.lang.Iterable values) {
      if (elementsBuilder_ == null) {
        ensureElementsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, elements_);
        onChanged();
      } else {
        elementsBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public Builder clearElements() {
      if (elementsBuilder_ == null) {
        elements_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        elementsBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public Builder removeElements(int index) {
      if (elementsBuilder_ == null) {
        ensureElementsIsMutable();
        elements_.remove(index);
        onChanged();
      } else {
        elementsBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public org.sonar.plugins.javascript.bridge.protobuf.ArrayElement.Builder getElementsBuilder(
        int index) {
      return getElementsFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public org.sonar.plugins.javascript.bridge.protobuf.ArrayElementOrBuilder getElementsOrBuilder(
        int index) {
      if (elementsBuilder_ == null) {
        return elements_.get(index);  } else {
        return elementsBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public java.util.List 
         getElementsOrBuilderList() {
      if (elementsBuilder_ != null) {
        return elementsBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(elements_);
      }
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public org.sonar.plugins.javascript.bridge.protobuf.ArrayElement.Builder addElementsBuilder() {
      return getElementsFieldBuilder().addBuilder(
          org.sonar.plugins.javascript.bridge.protobuf.ArrayElement.getDefaultInstance());
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public org.sonar.plugins.javascript.bridge.protobuf.ArrayElement.Builder addElementsBuilder(
        int index) {
      return getElementsFieldBuilder().addBuilder(
          index, org.sonar.plugins.javascript.bridge.protobuf.ArrayElement.getDefaultInstance());
    }
    /**
     * repeated .ArrayElement elements = 1;
     */
    public java.util.List 
         getElementsBuilderList() {
      return getElementsFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        org.sonar.plugins.javascript.bridge.protobuf.ArrayElement, org.sonar.plugins.javascript.bridge.protobuf.ArrayElement.Builder, org.sonar.plugins.javascript.bridge.protobuf.ArrayElementOrBuilder> 
        getElementsFieldBuilder() {
      if (elementsBuilder_ == null) {
        elementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            org.sonar.plugins.javascript.bridge.protobuf.ArrayElement, org.sonar.plugins.javascript.bridge.protobuf.ArrayElement.Builder, org.sonar.plugins.javascript.bridge.protobuf.ArrayElementOrBuilder>(
                elements_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        elements_ = null;
      }
      return elementsBuilder_;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:ArrayPattern)
  }

  // @@protoc_insertion_point(class_scope:ArrayPattern)
  private static final org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern();
  }

  public static org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public ArrayPattern parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      Builder builder = newBuilder();
      try {
        builder.mergeFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(builder.buildPartial());
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(e)
            .setUnfinishedMessage(builder.buildPartial());
      }
      return builder.buildPartial();
    }
  };

  public static com.google.protobuf.Parser parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public org.sonar.plugins.javascript.bridge.protobuf.ArrayPattern getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy