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

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

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

package org.sonar.plugins.javascript.bridge.protobuf;

/**
 * Protobuf type {@code ExpressionStatement}
 */
public final class ExpressionStatement extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:ExpressionStatement)
    ExpressionStatementOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ExpressionStatement.newBuilder() to construct.
  private ExpressionStatement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ExpressionStatement() {
    directive_ = "";
  }

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

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

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

  private int bitField0_;
  public static final int EXPRESSION_FIELD_NUMBER = 1;
  private org.sonar.plugins.javascript.bridge.protobuf.Node expression_;
  /**
   * .Node expression = 1;
   * @return Whether the expression field is set.
   */
  @java.lang.Override
  public boolean hasExpression() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .Node expression = 1;
   * @return The expression.
   */
  @java.lang.Override
  public org.sonar.plugins.javascript.bridge.protobuf.Node getExpression() {
    return expression_ == null ? org.sonar.plugins.javascript.bridge.protobuf.Node.getDefaultInstance() : expression_;
  }
  /**
   * .Node expression = 1;
   */
  @java.lang.Override
  public org.sonar.plugins.javascript.bridge.protobuf.NodeOrBuilder getExpressionOrBuilder() {
    return expression_ == null ? org.sonar.plugins.javascript.bridge.protobuf.Node.getDefaultInstance() : expression_;
  }

  public static final int DIRECTIVE_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private volatile java.lang.Object directive_ = "";
  /**
   * optional string directive = 2;
   * @return Whether the directive field is set.
   */
  @java.lang.Override
  public boolean hasDirective() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * optional string directive = 2;
   * @return The directive.
   */
  @java.lang.Override
  public java.lang.String getDirective() {
    java.lang.Object ref = directive_;
    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();
      directive_ = s;
      return s;
    }
  }
  /**
   * optional string directive = 2;
   * @return The bytes for directive.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDirectiveBytes() {
    java.lang.Object ref = directive_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      directive_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  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 {
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(1, getExpression());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, directive_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, getExpression());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, directive_);
    }
    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.ExpressionStatement)) {
      return super.equals(obj);
    }
    org.sonar.plugins.javascript.bridge.protobuf.ExpressionStatement other = (org.sonar.plugins.javascript.bridge.protobuf.ExpressionStatement) obj;

    if (hasExpression() != other.hasExpression()) return false;
    if (hasExpression()) {
      if (!getExpression()
          .equals(other.getExpression())) return false;
    }
    if (hasDirective() != other.hasDirective()) return false;
    if (hasDirective()) {
      if (!getDirective()
          .equals(other.getDirective())) 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 (hasExpression()) {
      hash = (37 * hash) + EXPRESSION_FIELD_NUMBER;
      hash = (53 * hash) + getExpression().hashCode();
    }
    if (hasDirective()) {
      hash = (37 * hash) + DIRECTIVE_FIELD_NUMBER;
      hash = (53 * hash) + getDirective().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static org.sonar.plugins.javascript.bridge.protobuf.ExpressionStatement parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.sonar.plugins.javascript.bridge.protobuf.ExpressionStatement 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.ExpressionStatement parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.sonar.plugins.javascript.bridge.protobuf.ExpressionStatement 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.ExpressionStatement parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.sonar.plugins.javascript.bridge.protobuf.ExpressionStatement 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.ExpressionStatement 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.ExpressionStatement 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.ExpressionStatement 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.ExpressionStatement 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.ExpressionStatement 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.ExpressionStatement 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.ExpressionStatement 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 ExpressionStatement}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:ExpressionStatement)
      org.sonar.plugins.javascript.bridge.protobuf.ExpressionStatementOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.sonar.plugins.javascript.bridge.protobuf.Estree.internal_static_ExpressionStatement_descriptor;
    }

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

    // Construct using org.sonar.plugins.javascript.bridge.protobuf.ExpressionStatement.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getExpressionFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      expression_ = null;
      if (expressionBuilder_ != null) {
        expressionBuilder_.dispose();
        expressionBuilder_ = null;
      }
      directive_ = "";
      return this;
    }

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

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

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

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

    private void buildPartial0(org.sonar.plugins.javascript.bridge.protobuf.ExpressionStatement result) {
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.expression_ = expressionBuilder_ == null
            ? expression_
            : expressionBuilder_.build();
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.directive_ = directive_;
        to_bitField0_ |= 0x00000002;
      }
      result.bitField0_ |= to_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.ExpressionStatement) {
        return mergeFrom((org.sonar.plugins.javascript.bridge.protobuf.ExpressionStatement)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(org.sonar.plugins.javascript.bridge.protobuf.ExpressionStatement other) {
      if (other == org.sonar.plugins.javascript.bridge.protobuf.ExpressionStatement.getDefaultInstance()) return this;
      if (other.hasExpression()) {
        mergeExpression(other.getExpression());
      }
      if (other.hasDirective()) {
        directive_ = other.directive_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      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: {
              input.readMessage(
                  getExpressionFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              directive_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            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 org.sonar.plugins.javascript.bridge.protobuf.Node expression_;
    private com.google.protobuf.SingleFieldBuilderV3<
        org.sonar.plugins.javascript.bridge.protobuf.Node, org.sonar.plugins.javascript.bridge.protobuf.Node.Builder, org.sonar.plugins.javascript.bridge.protobuf.NodeOrBuilder> expressionBuilder_;
    /**
     * .Node expression = 1;
     * @return Whether the expression field is set.
     */
    public boolean hasExpression() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * .Node expression = 1;
     * @return The expression.
     */
    public org.sonar.plugins.javascript.bridge.protobuf.Node getExpression() {
      if (expressionBuilder_ == null) {
        return expression_ == null ? org.sonar.plugins.javascript.bridge.protobuf.Node.getDefaultInstance() : expression_;
      } else {
        return expressionBuilder_.getMessage();
      }
    }
    /**
     * .Node expression = 1;
     */
    public Builder setExpression(org.sonar.plugins.javascript.bridge.protobuf.Node value) {
      if (expressionBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        expression_ = value;
      } else {
        expressionBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * .Node expression = 1;
     */
    public Builder setExpression(
        org.sonar.plugins.javascript.bridge.protobuf.Node.Builder builderForValue) {
      if (expressionBuilder_ == null) {
        expression_ = builderForValue.build();
      } else {
        expressionBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * .Node expression = 1;
     */
    public Builder mergeExpression(org.sonar.plugins.javascript.bridge.protobuf.Node value) {
      if (expressionBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0) &&
          expression_ != null &&
          expression_ != org.sonar.plugins.javascript.bridge.protobuf.Node.getDefaultInstance()) {
          getExpressionBuilder().mergeFrom(value);
        } else {
          expression_ = value;
        }
      } else {
        expressionBuilder_.mergeFrom(value);
      }
      if (expression_ != null) {
        bitField0_ |= 0x00000001;
        onChanged();
      }
      return this;
    }
    /**
     * .Node expression = 1;
     */
    public Builder clearExpression() {
      bitField0_ = (bitField0_ & ~0x00000001);
      expression_ = null;
      if (expressionBuilder_ != null) {
        expressionBuilder_.dispose();
        expressionBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * .Node expression = 1;
     */
    public org.sonar.plugins.javascript.bridge.protobuf.Node.Builder getExpressionBuilder() {
      bitField0_ |= 0x00000001;
      onChanged();
      return getExpressionFieldBuilder().getBuilder();
    }
    /**
     * .Node expression = 1;
     */
    public org.sonar.plugins.javascript.bridge.protobuf.NodeOrBuilder getExpressionOrBuilder() {
      if (expressionBuilder_ != null) {
        return expressionBuilder_.getMessageOrBuilder();
      } else {
        return expression_ == null ?
            org.sonar.plugins.javascript.bridge.protobuf.Node.getDefaultInstance() : expression_;
      }
    }
    /**
     * .Node expression = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        org.sonar.plugins.javascript.bridge.protobuf.Node, org.sonar.plugins.javascript.bridge.protobuf.Node.Builder, org.sonar.plugins.javascript.bridge.protobuf.NodeOrBuilder> 
        getExpressionFieldBuilder() {
      if (expressionBuilder_ == null) {
        expressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            org.sonar.plugins.javascript.bridge.protobuf.Node, org.sonar.plugins.javascript.bridge.protobuf.Node.Builder, org.sonar.plugins.javascript.bridge.protobuf.NodeOrBuilder>(
                getExpression(),
                getParentForChildren(),
                isClean());
        expression_ = null;
      }
      return expressionBuilder_;
    }

    private java.lang.Object directive_ = "";
    /**
     * optional string directive = 2;
     * @return Whether the directive field is set.
     */
    public boolean hasDirective() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional string directive = 2;
     * @return The directive.
     */
    public java.lang.String getDirective() {
      java.lang.Object ref = directive_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        directive_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * optional string directive = 2;
     * @return The bytes for directive.
     */
    public com.google.protobuf.ByteString
        getDirectiveBytes() {
      java.lang.Object ref = directive_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        directive_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * optional string directive = 2;
     * @param value The directive to set.
     * @return This builder for chaining.
     */
    public Builder setDirective(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      directive_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * optional string directive = 2;
     * @return This builder for chaining.
     */
    public Builder clearDirective() {
      directive_ = getDefaultInstance().getDirective();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * optional string directive = 2;
     * @param value The bytes for directive to set.
     * @return This builder for chaining.
     */
    public Builder setDirectiveBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      directive_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    @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:ExpressionStatement)
  }

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

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

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public ExpressionStatement 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.ExpressionStatement getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy