1193 lines
44 KiB
Java
1193 lines
44 KiB
Java
|
// 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;
|
||
|
boolean hasLineNumber();
|
||
|
int getLineNumber();
|
||
|
|
||
|
// optional int32 column_position = 2;
|
||
|
boolean hasColumnPosition();
|
||
|
int getColumnPosition();
|
||
|
|
||
|
// optional .sourcemap.OriginalMapping original_mapping = 3;
|
||
|
boolean hasOriginalMapping();
|
||
|
com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getOriginalMapping();
|
||
|
com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder getOriginalMappingOrBuilder();
|
||
|
}
|
||
|
public static final class LineMapping extends
|
||
|
com.google.protobuf.GeneratedMessage
|
||
|
implements LineMappingOrBuilder {
|
||
|
// Use LineMapping.newBuilder() to construct.
|
||
|
private LineMapping(Builder builder) {
|
||
|
super(builder);
|
||
|
}
|
||
|
private LineMapping(boolean noInit) {}
|
||
|
|
||
|
private static final LineMapping defaultInstance;
|
||
|
public static LineMapping getDefaultInstance() {
|
||
|
return defaultInstance;
|
||
|
}
|
||
|
|
||
|
public LineMapping getDefaultInstanceForType() {
|
||
|
return defaultInstance;
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
private int bitField0_;
|
||
|
// optional int32 line_number = 1;
|
||
|
public static final int LINE_NUMBER_FIELD_NUMBER = 1;
|
||
|
private int lineNumber_;
|
||
|
public boolean hasLineNumber() {
|
||
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||
|
}
|
||
|
public int getLineNumber() {
|
||
|
return lineNumber_;
|
||
|
}
|
||
|
|
||
|
// optional int32 column_position = 2;
|
||
|
public static final int COLUMN_POSITION_FIELD_NUMBER = 2;
|
||
|
private int columnPosition_;
|
||
|
public boolean hasColumnPosition() {
|
||
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||
|
}
|
||
|
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_;
|
||
|
public boolean hasOriginalMapping() {
|
||
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||
|
}
|
||
|
public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getOriginalMapping() {
|
||
|
return originalMapping_;
|
||
|
}
|
||
|
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 newBuilder().mergeFrom(data).buildParsed();
|
||
|
}
|
||
|
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 newBuilder().mergeFrom(data, extensionRegistry)
|
||
|
.buildParsed();
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(byte[] data)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return newBuilder().mergeFrom(data).buildParsed();
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
|
||
|
byte[] data,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
||
|
.buildParsed();
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(java.io.InputStream input)
|
||
|
throws java.io.IOException {
|
||
|
return newBuilder().mergeFrom(input).buildParsed();
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
|
||
|
java.io.InputStream input,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws java.io.IOException {
|
||
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
||
|
.buildParsed();
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseDelimitedFrom(java.io.InputStream input)
|
||
|
throws java.io.IOException {
|
||
|
Builder builder = newBuilder();
|
||
|
if (builder.mergeDelimitedFrom(input)) {
|
||
|
return builder.buildParsed();
|
||
|
} else {
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseDelimitedFrom(
|
||
|
java.io.InputStream input,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws java.io.IOException {
|
||
|
Builder builder = newBuilder();
|
||
|
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
||
|
return builder.buildParsed();
|
||
|
} else {
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
|
||
|
com.google.protobuf.CodedInputStream input)
|
||
|
throws java.io.IOException {
|
||
|
return newBuilder().mergeFrom(input).buildParsed();
|
||
|
}
|
||
|
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 newBuilder().mergeFrom(input, extensionRegistry)
|
||
|
.buildParsed();
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
// Construct using com.google.debugging.sourcemap.proto.Mapping.LineMapping.newBuilder()
|
||
|
private Builder() {
|
||
|
maybeForceBuilderInitialization();
|
||
|
}
|
||
|
|
||
|
private Builder(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.LineMapping.getDescriptor();
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
private com.google.debugging.sourcemap.proto.Mapping.LineMapping buildParsed()
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
com.google.debugging.sourcemap.proto.Mapping.LineMapping result = buildPartial();
|
||
|
if (!result.isInitialized()) {
|
||
|
throw newUninitializedMessageException(
|
||
|
result).asInvalidProtocolBufferException();
|
||
|
}
|
||
|
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.protobuf.UnknownFieldSet.Builder unknownFields =
|
||
|
com.google.protobuf.UnknownFieldSet.newBuilder(
|
||
|
this.getUnknownFields());
|
||
|
while (true) {
|
||
|
int tag = input.readTag();
|
||
|
switch (tag) {
|
||
|
case 0:
|
||
|
this.setUnknownFields(unknownFields.build());
|
||
|
onChanged();
|
||
|
return this;
|
||
|
default: {
|
||
|
if (!parseUnknownField(input, unknownFields,
|
||
|
extensionRegistry, tag)) {
|
||
|
this.setUnknownFields(unknownFields.build());
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
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 = com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.newBuilder();
|
||
|
if (hasOriginalMapping()) {
|
||
|
subBuilder.mergeFrom(getOriginalMapping());
|
||
|
}
|
||
|
input.readMessage(subBuilder, extensionRegistry);
|
||
|
setOriginalMapping(subBuilder.buildPartial());
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private int bitField0_;
|
||
|
|
||
|
// optional int32 line_number = 1;
|
||
|
private int lineNumber_ ;
|
||
|
public boolean hasLineNumber() {
|
||
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||
|
}
|
||
|
public int getLineNumber() {
|
||
|
return lineNumber_;
|
||
|
}
|
||
|
public Builder setLineNumber(int value) {
|
||
|
bitField0_ |= 0x00000001;
|
||
|
lineNumber_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
public Builder clearLineNumber() {
|
||
|
bitField0_ = (bitField0_ & ~0x00000001);
|
||
|
lineNumber_ = 0;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
// optional int32 column_position = 2;
|
||
|
private int columnPosition_ ;
|
||
|
public boolean hasColumnPosition() {
|
||
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||
|
}
|
||
|
public int getColumnPosition() {
|
||
|
return columnPosition_;
|
||
|
}
|
||
|
public Builder setColumnPosition(int value) {
|
||
|
bitField0_ |= 0x00000002;
|
||
|
columnPosition_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
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_;
|
||
|
public boolean hasOriginalMapping() {
|
||
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||
|
}
|
||
|
public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getOriginalMapping() {
|
||
|
if (originalMappingBuilder_ == null) {
|
||
|
return originalMapping_;
|
||
|
} else {
|
||
|
return originalMappingBuilder_.getMessage();
|
||
|
}
|
||
|
}
|
||
|
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;
|
||
|
}
|
||
|
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;
|
||
|
}
|
||
|
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;
|
||
|
}
|
||
|
public Builder clearOriginalMapping() {
|
||
|
if (originalMappingBuilder_ == null) {
|
||
|
originalMapping_ = com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance();
|
||
|
onChanged();
|
||
|
} else {
|
||
|
originalMappingBuilder_.clear();
|
||
|
}
|
||
|
bitField0_ = (bitField0_ & ~0x00000004);
|
||
|
return this;
|
||
|
}
|
||
|
public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder getOriginalMappingBuilder() {
|
||
|
bitField0_ |= 0x00000004;
|
||
|
onChanged();
|
||
|
return getOriginalMappingFieldBuilder().getBuilder();
|
||
|
}
|
||
|
public com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder getOriginalMappingOrBuilder() {
|
||
|
if (originalMappingBuilder_ != null) {
|
||
|
return originalMappingBuilder_.getMessageOrBuilder();
|
||
|
} else {
|
||
|
return originalMapping_;
|
||
|
}
|
||
|
}
|
||
|
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;
|
||
|
boolean hasOriginalFile();
|
||
|
String getOriginalFile();
|
||
|
|
||
|
// optional int32 line_number = 2;
|
||
|
boolean hasLineNumber();
|
||
|
int getLineNumber();
|
||
|
|
||
|
// optional int32 column_position = 3;
|
||
|
boolean hasColumnPosition();
|
||
|
int getColumnPosition();
|
||
|
|
||
|
// optional string identifier = 4;
|
||
|
boolean hasIdentifier();
|
||
|
String getIdentifier();
|
||
|
}
|
||
|
public static final class OriginalMapping extends
|
||
|
com.google.protobuf.GeneratedMessage
|
||
|
implements OriginalMappingOrBuilder {
|
||
|
// Use OriginalMapping.newBuilder() to construct.
|
||
|
private OriginalMapping(Builder builder) {
|
||
|
super(builder);
|
||
|
}
|
||
|
private OriginalMapping(boolean noInit) {}
|
||
|
|
||
|
private static final OriginalMapping defaultInstance;
|
||
|
public static OriginalMapping getDefaultInstance() {
|
||
|
return defaultInstance;
|
||
|
}
|
||
|
|
||
|
public OriginalMapping getDefaultInstanceForType() {
|
||
|
return defaultInstance;
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
private int bitField0_;
|
||
|
// optional string original_file = 1;
|
||
|
public static final int ORIGINAL_FILE_FIELD_NUMBER = 1;
|
||
|
private java.lang.Object originalFile_;
|
||
|
public boolean hasOriginalFile() {
|
||
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||
|
}
|
||
|
public String getOriginalFile() {
|
||
|
java.lang.Object ref = originalFile_;
|
||
|
if (ref instanceof String) {
|
||
|
return (String) ref;
|
||
|
} else {
|
||
|
com.google.protobuf.ByteString bs =
|
||
|
(com.google.protobuf.ByteString) ref;
|
||
|
String s = bs.toStringUtf8();
|
||
|
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
||
|
originalFile_ = s;
|
||
|
}
|
||
|
return s;
|
||
|
}
|
||
|
}
|
||
|
private com.google.protobuf.ByteString getOriginalFileBytes() {
|
||
|
java.lang.Object ref = originalFile_;
|
||
|
if (ref instanceof String) {
|
||
|
com.google.protobuf.ByteString b =
|
||
|
com.google.protobuf.ByteString.copyFromUtf8((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_;
|
||
|
public boolean hasLineNumber() {
|
||
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||
|
}
|
||
|
public int getLineNumber() {
|
||
|
return lineNumber_;
|
||
|
}
|
||
|
|
||
|
// optional int32 column_position = 3;
|
||
|
public static final int COLUMN_POSITION_FIELD_NUMBER = 3;
|
||
|
private int columnPosition_;
|
||
|
public boolean hasColumnPosition() {
|
||
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||
|
}
|
||
|
public int getColumnPosition() {
|
||
|
return columnPosition_;
|
||
|
}
|
||
|
|
||
|
// optional string identifier = 4;
|
||
|
public static final int IDENTIFIER_FIELD_NUMBER = 4;
|
||
|
private java.lang.Object identifier_;
|
||
|
public boolean hasIdentifier() {
|
||
|
return ((bitField0_ & 0x00000008) == 0x00000008);
|
||
|
}
|
||
|
public String getIdentifier() {
|
||
|
java.lang.Object ref = identifier_;
|
||
|
if (ref instanceof String) {
|
||
|
return (String) ref;
|
||
|
} else {
|
||
|
com.google.protobuf.ByteString bs =
|
||
|
(com.google.protobuf.ByteString) ref;
|
||
|
String s = bs.toStringUtf8();
|
||
|
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
||
|
identifier_ = s;
|
||
|
}
|
||
|
return s;
|
||
|
}
|
||
|
}
|
||
|
private com.google.protobuf.ByteString getIdentifierBytes() {
|
||
|
java.lang.Object ref = identifier_;
|
||
|
if (ref instanceof String) {
|
||
|
com.google.protobuf.ByteString b =
|
||
|
com.google.protobuf.ByteString.copyFromUtf8((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 newBuilder().mergeFrom(data).buildParsed();
|
||
|
}
|
||
|
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 newBuilder().mergeFrom(data, extensionRegistry)
|
||
|
.buildParsed();
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(byte[] data)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return newBuilder().mergeFrom(data).buildParsed();
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
|
||
|
byte[] data,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return newBuilder().mergeFrom(data, extensionRegistry)
|
||
|
.buildParsed();
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(java.io.InputStream input)
|
||
|
throws java.io.IOException {
|
||
|
return newBuilder().mergeFrom(input).buildParsed();
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
|
||
|
java.io.InputStream input,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws java.io.IOException {
|
||
|
return newBuilder().mergeFrom(input, extensionRegistry)
|
||
|
.buildParsed();
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseDelimitedFrom(java.io.InputStream input)
|
||
|
throws java.io.IOException {
|
||
|
Builder builder = newBuilder();
|
||
|
if (builder.mergeDelimitedFrom(input)) {
|
||
|
return builder.buildParsed();
|
||
|
} else {
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseDelimitedFrom(
|
||
|
java.io.InputStream input,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws java.io.IOException {
|
||
|
Builder builder = newBuilder();
|
||
|
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
||
|
return builder.buildParsed();
|
||
|
} else {
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
|
||
|
com.google.protobuf.CodedInputStream input)
|
||
|
throws java.io.IOException {
|
||
|
return newBuilder().mergeFrom(input).buildParsed();
|
||
|
}
|
||
|
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 newBuilder().mergeFrom(input, extensionRegistry)
|
||
|
.buildParsed();
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
// Construct using com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.newBuilder()
|
||
|
private Builder() {
|
||
|
maybeForceBuilderInitialization();
|
||
|
}
|
||
|
|
||
|
private Builder(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.OriginalMapping.getDescriptor();
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
private com.google.debugging.sourcemap.proto.Mapping.OriginalMapping buildParsed()
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
com.google.debugging.sourcemap.proto.Mapping.OriginalMapping result = buildPartial();
|
||
|
if (!result.isInitialized()) {
|
||
|
throw newUninitializedMessageException(
|
||
|
result).asInvalidProtocolBufferException();
|
||
|
}
|
||
|
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()) {
|
||
|
setOriginalFile(other.getOriginalFile());
|
||
|
}
|
||
|
if (other.hasLineNumber()) {
|
||
|
setLineNumber(other.getLineNumber());
|
||
|
}
|
||
|
if (other.hasColumnPosition()) {
|
||
|
setColumnPosition(other.getColumnPosition());
|
||
|
}
|
||
|
if (other.hasIdentifier()) {
|
||
|
setIdentifier(other.getIdentifier());
|
||
|
}
|
||
|
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.protobuf.UnknownFieldSet.Builder unknownFields =
|
||
|
com.google.protobuf.UnknownFieldSet.newBuilder(
|
||
|
this.getUnknownFields());
|
||
|
while (true) {
|
||
|
int tag = input.readTag();
|
||
|
switch (tag) {
|
||
|
case 0:
|
||
|
this.setUnknownFields(unknownFields.build());
|
||
|
onChanged();
|
||
|
return this;
|
||
|
default: {
|
||
|
if (!parseUnknownField(input, unknownFields,
|
||
|
extensionRegistry, tag)) {
|
||
|
this.setUnknownFields(unknownFields.build());
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private int bitField0_;
|
||
|
|
||
|
// optional string original_file = 1;
|
||
|
private java.lang.Object originalFile_ = "";
|
||
|
public boolean hasOriginalFile() {
|
||
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||
|
}
|
||
|
public String getOriginalFile() {
|
||
|
java.lang.Object ref = originalFile_;
|
||
|
if (!(ref instanceof String)) {
|
||
|
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
||
|
originalFile_ = s;
|
||
|
return s;
|
||
|
} else {
|
||
|
return (String) ref;
|
||
|
}
|
||
|
}
|
||
|
public Builder setOriginalFile(String value) {
|
||
|
if (value == null) {
|
||
|
throw new NullPointerException();
|
||
|
}
|
||
|
bitField0_ |= 0x00000001;
|
||
|
originalFile_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
public Builder clearOriginalFile() {
|
||
|
bitField0_ = (bitField0_ & ~0x00000001);
|
||
|
originalFile_ = getDefaultInstance().getOriginalFile();
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
void setOriginalFile(com.google.protobuf.ByteString value) {
|
||
|
bitField0_ |= 0x00000001;
|
||
|
originalFile_ = value;
|
||
|
onChanged();
|
||
|
}
|
||
|
|
||
|
// optional int32 line_number = 2;
|
||
|
private int lineNumber_ ;
|
||
|
public boolean hasLineNumber() {
|
||
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||
|
}
|
||
|
public int getLineNumber() {
|
||
|
return lineNumber_;
|
||
|
}
|
||
|
public Builder setLineNumber(int value) {
|
||
|
bitField0_ |= 0x00000002;
|
||
|
lineNumber_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
public Builder clearLineNumber() {
|
||
|
bitField0_ = (bitField0_ & ~0x00000002);
|
||
|
lineNumber_ = 0;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
// optional int32 column_position = 3;
|
||
|
private int columnPosition_ ;
|
||
|
public boolean hasColumnPosition() {
|
||
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||
|
}
|
||
|
public int getColumnPosition() {
|
||
|
return columnPosition_;
|
||
|
}
|
||
|
public Builder setColumnPosition(int value) {
|
||
|
bitField0_ |= 0x00000004;
|
||
|
columnPosition_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
public Builder clearColumnPosition() {
|
||
|
bitField0_ = (bitField0_ & ~0x00000004);
|
||
|
columnPosition_ = 0;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
// optional string identifier = 4;
|
||
|
private java.lang.Object identifier_ = "";
|
||
|
public boolean hasIdentifier() {
|
||
|
return ((bitField0_ & 0x00000008) == 0x00000008);
|
||
|
}
|
||
|
public String getIdentifier() {
|
||
|
java.lang.Object ref = identifier_;
|
||
|
if (!(ref instanceof String)) {
|
||
|
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
||
|
identifier_ = s;
|
||
|
return s;
|
||
|
} else {
|
||
|
return (String) ref;
|
||
|
}
|
||
|
}
|
||
|
public Builder setIdentifier(String value) {
|
||
|
if (value == null) {
|
||
|
throw new NullPointerException();
|
||
|
}
|
||
|
bitField0_ |= 0x00000008;
|
||
|
identifier_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
public Builder clearIdentifier() {
|
||
|
bitField0_ = (bitField0_ & ~0x00000008);
|
||
|
identifier_ = getDefaultInstance().getIdentifier();
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
void setIdentifier(com.google.protobuf.ByteString value) {
|
||
|
bitField0_ |= 0x00000008;
|
||
|
identifier_ = value;
|
||
|
onChanged();
|
||
|
}
|
||
|
|
||
|
// @@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", },
|
||
|
com.google.debugging.sourcemap.proto.Mapping.LineMapping.class,
|
||
|
com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder.class);
|
||
|
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", },
|
||
|
com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.class,
|
||
|
com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder.class);
|
||
|
return null;
|
||
|
}
|
||
|
};
|
||
|
com.google.protobuf.Descriptors.FileDescriptor
|
||
|
.internalBuildGeneratedFileFrom(descriptorData,
|
||
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||
|
}, assigner);
|
||
|
}
|
||
|
|
||
|
// @@protoc_insertion_point(outer_class_scope)
|
||
|
}
|