// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: com/google/debugging/sourcemap/proto/mapping.proto

package com.google.debugging.sourcemap.proto;

public final class Mapping {
  private Mapping() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
  }
  public interface LineMappingOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // optional int32 line_number = 1;
    /**
     * <code>optional int32 line_number = 1;</code>
     *
     * <pre>
     * The line number of the generated code.
     * </pre>
     */
    boolean hasLineNumber();
    /**
     * <code>optional int32 line_number = 1;</code>
     *
     * <pre>
     * The line number of the generated code.
     * </pre>
     */
    int getLineNumber();

    // optional int32 column_position = 2;
    /**
     * <code>optional int32 column_position = 2;</code>
     *
     * <pre>
     * The column position on the line.
     * </pre>
     */
    boolean hasColumnPosition();
    /**
     * <code>optional int32 column_position = 2;</code>
     *
     * <pre>
     * The column position on the line.
     * </pre>
     */
    int getColumnPosition();

    // optional .sourcemap.OriginalMapping original_mapping = 3;
    /**
     * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
     *
     * <pre>
     * The original mapping for this line mapping.
     * </pre>
     */
    boolean hasOriginalMapping();
    /**
     * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
     *
     * <pre>
     * The original mapping for this line mapping.
     * </pre>
     */
    com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getOriginalMapping();
    /**
     * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
     *
     * <pre>
     * The original mapping for this line mapping.
     * </pre>
     */
    com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder getOriginalMappingOrBuilder();
  }
  /**
   * Protobuf type {@code sourcemap.LineMapping}
   *
   * <pre>
   * Maps a position on a given line to the mapping describing
   * the original code.
   * </pre>
   */
  public static final class LineMapping extends
      com.google.protobuf.GeneratedMessage
      implements LineMappingOrBuilder {
    // Use LineMapping.newBuilder() to construct.
    private LineMapping(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private LineMapping(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final LineMapping defaultInstance;
    public static LineMapping getDefaultInstance() {
      return defaultInstance;
    }

    public LineMapping getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private LineMapping(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
              lineNumber_ = input.readInt32();
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              columnPosition_ = input.readInt32();
              break;
            }
            case 26: {
              com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder subBuilder = null;
              if (((bitField0_ & 0x00000004) == 0x00000004)) {
                subBuilder = originalMapping_.toBuilder();
              }
              originalMapping_ = input.readMessage(com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(originalMapping_);
                originalMapping_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000004;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw 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 com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_LineMapping_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_LineMapping_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.debugging.sourcemap.proto.Mapping.LineMapping.class, com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder.class);
    }

    public static com.google.protobuf.Parser<LineMapping> PARSER =
        new com.google.protobuf.AbstractParser<LineMapping>() {
      public LineMapping parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new LineMapping(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // optional int32 line_number = 1;
    public static final int LINE_NUMBER_FIELD_NUMBER = 1;
    private int lineNumber_;
    /**
     * <code>optional int32 line_number = 1;</code>
     *
     * <pre>
     * The line number of the generated code.
     * </pre>
     */
    public boolean hasLineNumber() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <code>optional int32 line_number = 1;</code>
     *
     * <pre>
     * The line number of the generated code.
     * </pre>
     */
    public int getLineNumber() {
      return lineNumber_;
    }

    // optional int32 column_position = 2;
    public static final int COLUMN_POSITION_FIELD_NUMBER = 2;
    private int columnPosition_;
    /**
     * <code>optional int32 column_position = 2;</code>
     *
     * <pre>
     * The column position on the line.
     * </pre>
     */
    public boolean hasColumnPosition() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <code>optional int32 column_position = 2;</code>
     *
     * <pre>
     * The column position on the line.
     * </pre>
     */
    public int getColumnPosition() {
      return columnPosition_;
    }

    // optional .sourcemap.OriginalMapping original_mapping = 3;
    public static final int ORIGINAL_MAPPING_FIELD_NUMBER = 3;
    private com.google.debugging.sourcemap.proto.Mapping.OriginalMapping originalMapping_;
    /**
     * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
     *
     * <pre>
     * The original mapping for this line mapping.
     * </pre>
     */
    public boolean hasOriginalMapping() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
     *
     * <pre>
     * The original mapping for this line mapping.
     * </pre>
     */
    public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getOriginalMapping() {
      return originalMapping_;
    }
    /**
     * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
     *
     * <pre>
     * The original mapping for this line mapping.
     * </pre>
     */
    public com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder getOriginalMappingOrBuilder() {
      return originalMapping_;
    }

    private void initFields() {
      lineNumber_ = 0;
      columnPosition_ = 0;
      originalMapping_ = com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeInt32(1, lineNumber_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeInt32(2, columnPosition_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeMessage(3, originalMapping_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, lineNumber_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, columnPosition_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, originalMapping_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.google.debugging.sourcemap.proto.Mapping.LineMapping prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code sourcemap.LineMapping}
     *
     * <pre>
     * Maps a position on a given line to the mapping describing
     * the original code.
     * </pre>
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder>
       implements com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_LineMapping_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_LineMapping_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.debugging.sourcemap.proto.Mapping.LineMapping.class, com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder.class);
      }

      // Construct using com.google.debugging.sourcemap.proto.Mapping.LineMapping.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getOriginalMappingFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        lineNumber_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        columnPosition_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        if (originalMappingBuilder_ == null) {
          originalMapping_ = com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance();
        } else {
          originalMappingBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_LineMapping_descriptor;
      }

      public com.google.debugging.sourcemap.proto.Mapping.LineMapping getDefaultInstanceForType() {
        return com.google.debugging.sourcemap.proto.Mapping.LineMapping.getDefaultInstance();
      }

      public com.google.debugging.sourcemap.proto.Mapping.LineMapping build() {
        com.google.debugging.sourcemap.proto.Mapping.LineMapping result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.debugging.sourcemap.proto.Mapping.LineMapping buildPartial() {
        com.google.debugging.sourcemap.proto.Mapping.LineMapping result = new com.google.debugging.sourcemap.proto.Mapping.LineMapping(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.lineNumber_ = lineNumber_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.columnPosition_ = columnPosition_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        if (originalMappingBuilder_ == null) {
          result.originalMapping_ = originalMapping_;
        } else {
          result.originalMapping_ = originalMappingBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.debugging.sourcemap.proto.Mapping.LineMapping) {
          return mergeFrom((com.google.debugging.sourcemap.proto.Mapping.LineMapping)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.debugging.sourcemap.proto.Mapping.LineMapping other) {
        if (other == com.google.debugging.sourcemap.proto.Mapping.LineMapping.getDefaultInstance()) return this;
        if (other.hasLineNumber()) {
          setLineNumber(other.getLineNumber());
        }
        if (other.hasColumnPosition()) {
          setColumnPosition(other.getColumnPosition());
        }
        if (other.hasOriginalMapping()) {
          mergeOriginalMapping(other.getOriginalMapping());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        com.google.debugging.sourcemap.proto.Mapping.LineMapping parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.debugging.sourcemap.proto.Mapping.LineMapping) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // optional int32 line_number = 1;
      private int lineNumber_ ;
      /**
       * <code>optional int32 line_number = 1;</code>
       *
       * <pre>
       * The line number of the generated code.
       * </pre>
       */
      public boolean hasLineNumber() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <code>optional int32 line_number = 1;</code>
       *
       * <pre>
       * The line number of the generated code.
       * </pre>
       */
      public int getLineNumber() {
        return lineNumber_;
      }
      /**
       * <code>optional int32 line_number = 1;</code>
       *
       * <pre>
       * The line number of the generated code.
       * </pre>
       */
      public Builder setLineNumber(int value) {
        bitField0_ |= 0x00000001;
        lineNumber_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 line_number = 1;</code>
       *
       * <pre>
       * The line number of the generated code.
       * </pre>
       */
      public Builder clearLineNumber() {
        bitField0_ = (bitField0_ & ~0x00000001);
        lineNumber_ = 0;
        onChanged();
        return this;
      }

      // optional int32 column_position = 2;
      private int columnPosition_ ;
      /**
       * <code>optional int32 column_position = 2;</code>
       *
       * <pre>
       * The column position on the line.
       * </pre>
       */
      public boolean hasColumnPosition() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>optional int32 column_position = 2;</code>
       *
       * <pre>
       * The column position on the line.
       * </pre>
       */
      public int getColumnPosition() {
        return columnPosition_;
      }
      /**
       * <code>optional int32 column_position = 2;</code>
       *
       * <pre>
       * The column position on the line.
       * </pre>
       */
      public Builder setColumnPosition(int value) {
        bitField0_ |= 0x00000002;
        columnPosition_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 column_position = 2;</code>
       *
       * <pre>
       * The column position on the line.
       * </pre>
       */
      public Builder clearColumnPosition() {
        bitField0_ = (bitField0_ & ~0x00000002);
        columnPosition_ = 0;
        onChanged();
        return this;
      }

      // optional .sourcemap.OriginalMapping original_mapping = 3;
      private com.google.debugging.sourcemap.proto.Mapping.OriginalMapping originalMapping_ = com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance();
      private com.google.protobuf.SingleFieldBuilder<
          com.google.debugging.sourcemap.proto.Mapping.OriginalMapping, com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder, com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder> originalMappingBuilder_;
      /**
       * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
       *
       * <pre>
       * The original mapping for this line mapping.
       * </pre>
       */
      public boolean hasOriginalMapping() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
       *
       * <pre>
       * The original mapping for this line mapping.
       * </pre>
       */
      public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getOriginalMapping() {
        if (originalMappingBuilder_ == null) {
          return originalMapping_;
        } else {
          return originalMappingBuilder_.getMessage();
        }
      }
      /**
       * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
       *
       * <pre>
       * The original mapping for this line mapping.
       * </pre>
       */
      public Builder setOriginalMapping(com.google.debugging.sourcemap.proto.Mapping.OriginalMapping value) {
        if (originalMappingBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          originalMapping_ = value;
          onChanged();
        } else {
          originalMappingBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000004;
        return this;
      }
      /**
       * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
       *
       * <pre>
       * The original mapping for this line mapping.
       * </pre>
       */
      public Builder setOriginalMapping(
          com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder builderForValue) {
        if (originalMappingBuilder_ == null) {
          originalMapping_ = builderForValue.build();
          onChanged();
        } else {
          originalMappingBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000004;
        return this;
      }
      /**
       * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
       *
       * <pre>
       * The original mapping for this line mapping.
       * </pre>
       */
      public Builder mergeOriginalMapping(com.google.debugging.sourcemap.proto.Mapping.OriginalMapping value) {
        if (originalMappingBuilder_ == null) {
          if (((bitField0_ & 0x00000004) == 0x00000004) &&
              originalMapping_ != com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance()) {
            originalMapping_ =
              com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.newBuilder(originalMapping_).mergeFrom(value).buildPartial();
          } else {
            originalMapping_ = value;
          }
          onChanged();
        } else {
          originalMappingBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000004;
        return this;
      }
      /**
       * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
       *
       * <pre>
       * The original mapping for this line mapping.
       * </pre>
       */
      public Builder clearOriginalMapping() {
        if (originalMappingBuilder_ == null) {
          originalMapping_ = com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance();
          onChanged();
        } else {
          originalMappingBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }
      /**
       * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
       *
       * <pre>
       * The original mapping for this line mapping.
       * </pre>
       */
      public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder getOriginalMappingBuilder() {
        bitField0_ |= 0x00000004;
        onChanged();
        return getOriginalMappingFieldBuilder().getBuilder();
      }
      /**
       * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
       *
       * <pre>
       * The original mapping for this line mapping.
       * </pre>
       */
      public com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder getOriginalMappingOrBuilder() {
        if (originalMappingBuilder_ != null) {
          return originalMappingBuilder_.getMessageOrBuilder();
        } else {
          return originalMapping_;
        }
      }
      /**
       * <code>optional .sourcemap.OriginalMapping original_mapping = 3;</code>
       *
       * <pre>
       * The original mapping for this line mapping.
       * </pre>
       */
      private com.google.protobuf.SingleFieldBuilder<
          com.google.debugging.sourcemap.proto.Mapping.OriginalMapping, com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder, com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder> 
          getOriginalMappingFieldBuilder() {
        if (originalMappingBuilder_ == null) {
          originalMappingBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              com.google.debugging.sourcemap.proto.Mapping.OriginalMapping, com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder, com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder>(
                  originalMapping_,
                  getParentForChildren(),
                  isClean());
          originalMapping_ = null;
        }
        return originalMappingBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:sourcemap.LineMapping)
    }

    static {
      defaultInstance = new LineMapping(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:sourcemap.LineMapping)
  }

  public interface OriginalMappingOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // optional string original_file = 1;
    /**
     * <code>optional string original_file = 1;</code>
     *
     * <pre>
     * The original source file.
     * </pre>
     */
    boolean hasOriginalFile();
    /**
     * <code>optional string original_file = 1;</code>
     *
     * <pre>
     * The original source file.
     * </pre>
     */
    java.lang.String getOriginalFile();
    /**
     * <code>optional string original_file = 1;</code>
     *
     * <pre>
     * The original source file.
     * </pre>
     */
    com.google.protobuf.ByteString
        getOriginalFileBytes();

    // optional int32 line_number = 2;
    /**
     * <code>optional int32 line_number = 2;</code>
     *
     * <pre>
     * The line in the original file.
     * </pre>
     */
    boolean hasLineNumber();
    /**
     * <code>optional int32 line_number = 2;</code>
     *
     * <pre>
     * The line in the original file.
     * </pre>
     */
    int getLineNumber();

    // optional int32 column_position = 3;
    /**
     * <code>optional int32 column_position = 3;</code>
     *
     * <pre>
     * The column number on the line.
     * </pre>
     */
    boolean hasColumnPosition();
    /**
     * <code>optional int32 column_position = 3;</code>
     *
     * <pre>
     * The column number on the line.
     * </pre>
     */
    int getColumnPosition();

    // optional string identifier = 4;
    /**
     * <code>optional string identifier = 4;</code>
     *
     * <pre>
     * The original name of the identifier.
     * </pre>
     */
    boolean hasIdentifier();
    /**
     * <code>optional string identifier = 4;</code>
     *
     * <pre>
     * The original name of the identifier.
     * </pre>
     */
    java.lang.String getIdentifier();
    /**
     * <code>optional string identifier = 4;</code>
     *
     * <pre>
     * The original name of the identifier.
     * </pre>
     */
    com.google.protobuf.ByteString
        getIdentifierBytes();
  }
  /**
   * Protobuf type {@code sourcemap.OriginalMapping}
   */
  public static final class OriginalMapping extends
      com.google.protobuf.GeneratedMessage
      implements OriginalMappingOrBuilder {
    // Use OriginalMapping.newBuilder() to construct.
    private OriginalMapping(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private OriginalMapping(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final OriginalMapping defaultInstance;
    public static OriginalMapping getDefaultInstance() {
      return defaultInstance;
    }

    public OriginalMapping getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private OriginalMapping(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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: {
              bitField0_ |= 0x00000001;
              originalFile_ = input.readBytes();
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              lineNumber_ = input.readInt32();
              break;
            }
            case 24: {
              bitField0_ |= 0x00000004;
              columnPosition_ = input.readInt32();
              break;
            }
            case 34: {
              bitField0_ |= 0x00000008;
              identifier_ = input.readBytes();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw 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 com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_OriginalMapping_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_OriginalMapping_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.class, com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder.class);
    }

    public static com.google.protobuf.Parser<OriginalMapping> PARSER =
        new com.google.protobuf.AbstractParser<OriginalMapping>() {
      public OriginalMapping parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new OriginalMapping(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // optional string original_file = 1;
    public static final int ORIGINAL_FILE_FIELD_NUMBER = 1;
    private java.lang.Object originalFile_;
    /**
     * <code>optional string original_file = 1;</code>
     *
     * <pre>
     * The original source file.
     * </pre>
     */
    public boolean hasOriginalFile() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <code>optional string original_file = 1;</code>
     *
     * <pre>
     * The original source file.
     * </pre>
     */
    public java.lang.String getOriginalFile() {
      java.lang.Object ref = originalFile_;
      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()) {
          originalFile_ = s;
        }
        return s;
      }
    }
    /**
     * <code>optional string original_file = 1;</code>
     *
     * <pre>
     * The original source file.
     * </pre>
     */
    public com.google.protobuf.ByteString
        getOriginalFileBytes() {
      java.lang.Object ref = originalFile_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        originalFile_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    // optional int32 line_number = 2;
    public static final int LINE_NUMBER_FIELD_NUMBER = 2;
    private int lineNumber_;
    /**
     * <code>optional int32 line_number = 2;</code>
     *
     * <pre>
     * The line in the original file.
     * </pre>
     */
    public boolean hasLineNumber() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <code>optional int32 line_number = 2;</code>
     *
     * <pre>
     * The line in the original file.
     * </pre>
     */
    public int getLineNumber() {
      return lineNumber_;
    }

    // optional int32 column_position = 3;
    public static final int COLUMN_POSITION_FIELD_NUMBER = 3;
    private int columnPosition_;
    /**
     * <code>optional int32 column_position = 3;</code>
     *
     * <pre>
     * The column number on the line.
     * </pre>
     */
    public boolean hasColumnPosition() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * <code>optional int32 column_position = 3;</code>
     *
     * <pre>
     * The column number on the line.
     * </pre>
     */
    public int getColumnPosition() {
      return columnPosition_;
    }

    // optional string identifier = 4;
    public static final int IDENTIFIER_FIELD_NUMBER = 4;
    private java.lang.Object identifier_;
    /**
     * <code>optional string identifier = 4;</code>
     *
     * <pre>
     * The original name of the identifier.
     * </pre>
     */
    public boolean hasIdentifier() {
      return ((bitField0_ & 0x00000008) == 0x00000008);
    }
    /**
     * <code>optional string identifier = 4;</code>
     *
     * <pre>
     * The original name of the identifier.
     * </pre>
     */
    public java.lang.String getIdentifier() {
      java.lang.Object ref = identifier_;
      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()) {
          identifier_ = s;
        }
        return s;
      }
    }
    /**
     * <code>optional string identifier = 4;</code>
     *
     * <pre>
     * The original name of the identifier.
     * </pre>
     */
    public com.google.protobuf.ByteString
        getIdentifierBytes() {
      java.lang.Object ref = identifier_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        identifier_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private void initFields() {
      originalFile_ = "";
      lineNumber_ = 0;
      columnPosition_ = 0;
      identifier_ = "";
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeBytes(1, getOriginalFileBytes());
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeInt32(2, lineNumber_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeInt32(3, columnPosition_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        output.writeBytes(4, getIdentifierBytes());
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, getOriginalFileBytes());
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, lineNumber_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, columnPosition_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(4, getIdentifierBytes());
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.google.debugging.sourcemap.proto.Mapping.OriginalMapping prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code sourcemap.OriginalMapping}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder>
       implements com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_OriginalMapping_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_OriginalMapping_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.class, com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder.class);
      }

      // Construct using com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        originalFile_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        lineNumber_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        columnPosition_ = 0;
        bitField0_ = (bitField0_ & ~0x00000004);
        identifier_ = "";
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_OriginalMapping_descriptor;
      }

      public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getDefaultInstanceForType() {
        return com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance();
      }

      public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping build() {
        com.google.debugging.sourcemap.proto.Mapping.OriginalMapping result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping buildPartial() {
        com.google.debugging.sourcemap.proto.Mapping.OriginalMapping result = new com.google.debugging.sourcemap.proto.Mapping.OriginalMapping(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.originalFile_ = originalFile_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.lineNumber_ = lineNumber_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.columnPosition_ = columnPosition_;
        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
          to_bitField0_ |= 0x00000008;
        }
        result.identifier_ = identifier_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.debugging.sourcemap.proto.Mapping.OriginalMapping) {
          return mergeFrom((com.google.debugging.sourcemap.proto.Mapping.OriginalMapping)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.debugging.sourcemap.proto.Mapping.OriginalMapping other) {
        if (other == com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance()) return this;
        if (other.hasOriginalFile()) {
          bitField0_ |= 0x00000001;
          originalFile_ = other.originalFile_;
          onChanged();
        }
        if (other.hasLineNumber()) {
          setLineNumber(other.getLineNumber());
        }
        if (other.hasColumnPosition()) {
          setColumnPosition(other.getColumnPosition());
        }
        if (other.hasIdentifier()) {
          bitField0_ |= 0x00000008;
          identifier_ = other.identifier_;
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.debugging.sourcemap.proto.Mapping.OriginalMapping) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // optional string original_file = 1;
      private java.lang.Object originalFile_ = "";
      /**
       * <code>optional string original_file = 1;</code>
       *
       * <pre>
       * The original source file.
       * </pre>
       */
      public boolean hasOriginalFile() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <code>optional string original_file = 1;</code>
       *
       * <pre>
       * The original source file.
       * </pre>
       */
      public java.lang.String getOriginalFile() {
        java.lang.Object ref = originalFile_;
        if (!(ref instanceof java.lang.String)) {
          java.lang.String s = ((com.google.protobuf.ByteString) ref)
              .toStringUtf8();
          originalFile_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string original_file = 1;</code>
       *
       * <pre>
       * The original source file.
       * </pre>
       */
      public com.google.protobuf.ByteString
          getOriginalFileBytes() {
        java.lang.Object ref = originalFile_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          originalFile_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string original_file = 1;</code>
       *
       * <pre>
       * The original source file.
       * </pre>
       */
      public Builder setOriginalFile(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        originalFile_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string original_file = 1;</code>
       *
       * <pre>
       * The original source file.
       * </pre>
       */
      public Builder clearOriginalFile() {
        bitField0_ = (bitField0_ & ~0x00000001);
        originalFile_ = getDefaultInstance().getOriginalFile();
        onChanged();
        return this;
      }
      /**
       * <code>optional string original_file = 1;</code>
       *
       * <pre>
       * The original source file.
       * </pre>
       */
      public Builder setOriginalFileBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        originalFile_ = value;
        onChanged();
        return this;
      }

      // optional int32 line_number = 2;
      private int lineNumber_ ;
      /**
       * <code>optional int32 line_number = 2;</code>
       *
       * <pre>
       * The line in the original file.
       * </pre>
       */
      public boolean hasLineNumber() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>optional int32 line_number = 2;</code>
       *
       * <pre>
       * The line in the original file.
       * </pre>
       */
      public int getLineNumber() {
        return lineNumber_;
      }
      /**
       * <code>optional int32 line_number = 2;</code>
       *
       * <pre>
       * The line in the original file.
       * </pre>
       */
      public Builder setLineNumber(int value) {
        bitField0_ |= 0x00000002;
        lineNumber_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 line_number = 2;</code>
       *
       * <pre>
       * The line in the original file.
       * </pre>
       */
      public Builder clearLineNumber() {
        bitField0_ = (bitField0_ & ~0x00000002);
        lineNumber_ = 0;
        onChanged();
        return this;
      }

      // optional int32 column_position = 3;
      private int columnPosition_ ;
      /**
       * <code>optional int32 column_position = 3;</code>
       *
       * <pre>
       * The column number on the line.
       * </pre>
       */
      public boolean hasColumnPosition() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <code>optional int32 column_position = 3;</code>
       *
       * <pre>
       * The column number on the line.
       * </pre>
       */
      public int getColumnPosition() {
        return columnPosition_;
      }
      /**
       * <code>optional int32 column_position = 3;</code>
       *
       * <pre>
       * The column number on the line.
       * </pre>
       */
      public Builder setColumnPosition(int value) {
        bitField0_ |= 0x00000004;
        columnPosition_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 column_position = 3;</code>
       *
       * <pre>
       * The column number on the line.
       * </pre>
       */
      public Builder clearColumnPosition() {
        bitField0_ = (bitField0_ & ~0x00000004);
        columnPosition_ = 0;
        onChanged();
        return this;
      }

      // optional string identifier = 4;
      private java.lang.Object identifier_ = "";
      /**
       * <code>optional string identifier = 4;</code>
       *
       * <pre>
       * The original name of the identifier.
       * </pre>
       */
      public boolean hasIdentifier() {
        return ((bitField0_ & 0x00000008) == 0x00000008);
      }
      /**
       * <code>optional string identifier = 4;</code>
       *
       * <pre>
       * The original name of the identifier.
       * </pre>
       */
      public java.lang.String getIdentifier() {
        java.lang.Object ref = identifier_;
        if (!(ref instanceof java.lang.String)) {
          java.lang.String s = ((com.google.protobuf.ByteString) ref)
              .toStringUtf8();
          identifier_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string identifier = 4;</code>
       *
       * <pre>
       * The original name of the identifier.
       * </pre>
       */
      public com.google.protobuf.ByteString
          getIdentifierBytes() {
        java.lang.Object ref = identifier_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          identifier_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string identifier = 4;</code>
       *
       * <pre>
       * The original name of the identifier.
       * </pre>
       */
      public Builder setIdentifier(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
        identifier_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string identifier = 4;</code>
       *
       * <pre>
       * The original name of the identifier.
       * </pre>
       */
      public Builder clearIdentifier() {
        bitField0_ = (bitField0_ & ~0x00000008);
        identifier_ = getDefaultInstance().getIdentifier();
        onChanged();
        return this;
      }
      /**
       * <code>optional string identifier = 4;</code>
       *
       * <pre>
       * The original name of the identifier.
       * </pre>
       */
      public Builder setIdentifierBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
        identifier_ = value;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:sourcemap.OriginalMapping)
    }

    static {
      defaultInstance = new OriginalMapping(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:sourcemap.OriginalMapping)
  }

  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_sourcemap_LineMapping_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_sourcemap_LineMapping_fieldAccessorTable;
  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_sourcemap_OriginalMapping_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_sourcemap_OriginalMapping_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n2com/google/debugging/sourcemap/proto/m" +
      "apping.proto\022\tsourcemap\"q\n\013LineMapping\022\023" +
      "\n\013line_number\030\001 \001(\005\022\027\n\017column_position\030\002" +
      " \001(\005\0224\n\020original_mapping\030\003 \001(\0132\032.sourcem" +
      "ap.OriginalMapping\"j\n\017OriginalMapping\022\025\n" +
      "\roriginal_file\030\001 \001(\t\022\023\n\013line_number\030\002 \001(" +
      "\005\022\027\n\017column_position\030\003 \001(\005\022\022\n\nidentifier" +
      "\030\004 \001(\tB&\n$com.google.debugging.sourcemap" +
      ".proto"
    };
    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;
          internal_static_sourcemap_LineMapping_descriptor =
            getDescriptor().getMessageTypes().get(0);
          internal_static_sourcemap_LineMapping_fieldAccessorTable = new
            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_sourcemap_LineMapping_descriptor,
              new java.lang.String[] { "LineNumber", "ColumnPosition", "OriginalMapping", });
          internal_static_sourcemap_OriginalMapping_descriptor =
            getDescriptor().getMessageTypes().get(1);
          internal_static_sourcemap_OriginalMapping_fieldAccessorTable = new
            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_sourcemap_OriginalMapping_descriptor,
              new java.lang.String[] { "OriginalFile", "LineNumber", "ColumnPosition", "Identifier", });
          return null;
        }
      };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
  }

  // @@protoc_insertion_point(outer_class_scope)
}
