This repository has been archived on 2023-06-18. You can view files and clone it, but cannot push or open issues or pull requests.
ima02/resources/defects4j-checkout-closure-1f/gen/com/google/javascript/jscomp/FunctionInformationMap.java

2199 lines
74 KiB
Java
Raw Normal View History

2023-04-25 11:33:41 +00:00
// Generated by the protocol buffer compiler. DO NOT EDIT!
package com.google.javascript.jscomp;
public final class FunctionInformationMap extends
com.google.protobuf.GeneratedMessage
implements FunctionInformationMapOrBuilder {
// Use FunctionInformationMap.newBuilder() to construct.
private FunctionInformationMap(Builder builder) {
super(builder);
}
private FunctionInformationMap(boolean noInit) {}
private static final FunctionInformationMap defaultInstance;
public static FunctionInformationMap getDefaultInstance() {
return defaultInstance;
}
public FunctionInformationMap getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_fieldAccessorTable;
}
public interface EntryOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 id = 2;
boolean hasId();
int getId();
// required string source_name = 3;
boolean hasSourceName();
String getSourceName();
// required int32 line_number = 4;
boolean hasLineNumber();
int getLineNumber();
// required string module_name = 5;
boolean hasModuleName();
String getModuleName();
// required int32 size = 6;
boolean hasSize();
int getSize();
// required string name = 7;
boolean hasName();
String getName();
// required string compiled_source = 8;
boolean hasCompiledSource();
String getCompiledSource();
}
public static final class Entry extends
com.google.protobuf.GeneratedMessage
implements EntryOrBuilder {
// Use Entry.newBuilder() to construct.
private Entry(Builder builder) {
super(builder);
}
private Entry(boolean noInit) {}
private static final Entry defaultInstance;
public static Entry getDefaultInstance() {
return defaultInstance;
}
public Entry getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Entry_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Entry_fieldAccessorTable;
}
private int bitField0_;
// required int32 id = 2;
public static final int ID_FIELD_NUMBER = 2;
private int id_;
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getId() {
return id_;
}
// required string source_name = 3;
public static final int SOURCE_NAME_FIELD_NUMBER = 3;
private java.lang.Object sourceName_;
public boolean hasSourceName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getSourceName() {
java.lang.Object ref = sourceName_;
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)) {
sourceName_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getSourceNameBytes() {
java.lang.Object ref = sourceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
sourceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required int32 line_number = 4;
public static final int LINE_NUMBER_FIELD_NUMBER = 4;
private int lineNumber_;
public boolean hasLineNumber() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getLineNumber() {
return lineNumber_;
}
// required string module_name = 5;
public static final int MODULE_NAME_FIELD_NUMBER = 5;
private java.lang.Object moduleName_;
public boolean hasModuleName() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public String getModuleName() {
java.lang.Object ref = moduleName_;
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)) {
moduleName_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getModuleNameBytes() {
java.lang.Object ref = moduleName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
moduleName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required int32 size = 6;
public static final int SIZE_FIELD_NUMBER = 6;
private int size_;
public boolean hasSize() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public int getSize() {
return size_;
}
// required string name = 7;
public static final int NAME_FIELD_NUMBER = 7;
private java.lang.Object name_;
public boolean hasName() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public String getName() {
java.lang.Object ref = name_;
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)) {
name_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required string compiled_source = 8;
public static final int COMPILED_SOURCE_FIELD_NUMBER = 8;
private java.lang.Object compiledSource_;
public boolean hasCompiledSource() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public String getCompiledSource() {
java.lang.Object ref = compiledSource_;
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)) {
compiledSource_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getCompiledSourceBytes() {
java.lang.Object ref = compiledSource_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
compiledSource_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
id_ = 0;
sourceName_ = "";
lineNumber_ = 0;
moduleName_ = "";
size_ = 0;
name_ = "";
compiledSource_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasSourceName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasLineNumber()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasModuleName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasSize()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasCompiledSource()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(2, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(3, getSourceNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(4, lineNumber_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(5, getModuleNameBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(6, size_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(7, getNameBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBytes(8, getCompiledSourceBytes());
}
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(2, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getSourceNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, lineNumber_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getModuleNameBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, size_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(7, getNameBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, getCompiledSourceBytes());
}
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.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry 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.javascript.jscomp.FunctionInformationMap.Entry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry 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.javascript.jscomp.FunctionInformationMap.Entry 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.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry 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.javascript.jscomp.FunctionInformationMap.Entry 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.javascript.jscomp.FunctionInformationMap.EntryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Entry_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Entry_fieldAccessorTable;
}
// Construct using com.google.javascript.jscomp.FunctionInformationMap.Entry.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();
id_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
sourceName_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
lineNumber_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
moduleName_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
size_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
compiledSource_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.javascript.jscomp.FunctionInformationMap.Entry.getDescriptor();
}
public com.google.javascript.jscomp.FunctionInformationMap.Entry getDefaultInstanceForType() {
return com.google.javascript.jscomp.FunctionInformationMap.Entry.getDefaultInstance();
}
public com.google.javascript.jscomp.FunctionInformationMap.Entry build() {
com.google.javascript.jscomp.FunctionInformationMap.Entry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.google.javascript.jscomp.FunctionInformationMap.Entry buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.google.javascript.jscomp.FunctionInformationMap.Entry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.google.javascript.jscomp.FunctionInformationMap.Entry buildPartial() {
com.google.javascript.jscomp.FunctionInformationMap.Entry result = new com.google.javascript.jscomp.FunctionInformationMap.Entry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.id_ = id_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.sourceName_ = sourceName_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.lineNumber_ = lineNumber_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.moduleName_ = moduleName_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.size_ = size_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.compiledSource_ = compiledSource_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.javascript.jscomp.FunctionInformationMap.Entry) {
return mergeFrom((com.google.javascript.jscomp.FunctionInformationMap.Entry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.javascript.jscomp.FunctionInformationMap.Entry other) {
if (other == com.google.javascript.jscomp.FunctionInformationMap.Entry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasSourceName()) {
setSourceName(other.getSourceName());
}
if (other.hasLineNumber()) {
setLineNumber(other.getLineNumber());
}
if (other.hasModuleName()) {
setModuleName(other.getModuleName());
}
if (other.hasSize()) {
setSize(other.getSize());
}
if (other.hasName()) {
setName(other.getName());
}
if (other.hasCompiledSource()) {
setCompiledSource(other.getCompiledSource());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasId()) {
return false;
}
if (!hasSourceName()) {
return false;
}
if (!hasLineNumber()) {
return false;
}
if (!hasModuleName()) {
return false;
}
if (!hasSize()) {
return false;
}
if (!hasName()) {
return false;
}
if (!hasCompiledSource()) {
return false;
}
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 16: {
bitField0_ |= 0x00000001;
id_ = input.readInt32();
break;
}
case 26: {
bitField0_ |= 0x00000002;
sourceName_ = input.readBytes();
break;
}
case 32: {
bitField0_ |= 0x00000004;
lineNumber_ = input.readInt32();
break;
}
case 42: {
bitField0_ |= 0x00000008;
moduleName_ = input.readBytes();
break;
}
case 48: {
bitField0_ |= 0x00000010;
size_ = input.readInt32();
break;
}
case 58: {
bitField0_ |= 0x00000020;
name_ = input.readBytes();
break;
}
case 66: {
bitField0_ |= 0x00000040;
compiledSource_ = input.readBytes();
break;
}
}
}
}
private int bitField0_;
// required int32 id = 2;
private int id_ ;
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getId() {
return id_;
}
public Builder setId(int value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0;
onChanged();
return this;
}
// required string source_name = 3;
private java.lang.Object sourceName_ = "";
public boolean hasSourceName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getSourceName() {
java.lang.Object ref = sourceName_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
sourceName_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setSourceName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
sourceName_ = value;
onChanged();
return this;
}
public Builder clearSourceName() {
bitField0_ = (bitField0_ & ~0x00000002);
sourceName_ = getDefaultInstance().getSourceName();
onChanged();
return this;
}
void setSourceName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
sourceName_ = value;
onChanged();
}
// required int32 line_number = 4;
private int lineNumber_ ;
public boolean hasLineNumber() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getLineNumber() {
return lineNumber_;
}
public Builder setLineNumber(int value) {
bitField0_ |= 0x00000004;
lineNumber_ = value;
onChanged();
return this;
}
public Builder clearLineNumber() {
bitField0_ = (bitField0_ & ~0x00000004);
lineNumber_ = 0;
onChanged();
return this;
}
// required string module_name = 5;
private java.lang.Object moduleName_ = "";
public boolean hasModuleName() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public String getModuleName() {
java.lang.Object ref = moduleName_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
moduleName_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setModuleName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
moduleName_ = value;
onChanged();
return this;
}
public Builder clearModuleName() {
bitField0_ = (bitField0_ & ~0x00000008);
moduleName_ = getDefaultInstance().getModuleName();
onChanged();
return this;
}
void setModuleName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000008;
moduleName_ = value;
onChanged();
}
// required int32 size = 6;
private int size_ ;
public boolean hasSize() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public int getSize() {
return size_;
}
public Builder setSize(int value) {
bitField0_ |= 0x00000010;
size_ = value;
onChanged();
return this;
}
public Builder clearSize() {
bitField0_ = (bitField0_ & ~0x00000010);
size_ = 0;
onChanged();
return this;
}
// required string name = 7;
private java.lang.Object name_ = "";
public boolean hasName() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
name_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
name_ = value;
onChanged();
return this;
}
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000020);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
void setName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000020;
name_ = value;
onChanged();
}
// required string compiled_source = 8;
private java.lang.Object compiledSource_ = "";
public boolean hasCompiledSource() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public String getCompiledSource() {
java.lang.Object ref = compiledSource_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
compiledSource_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setCompiledSource(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
compiledSource_ = value;
onChanged();
return this;
}
public Builder clearCompiledSource() {
bitField0_ = (bitField0_ & ~0x00000040);
compiledSource_ = getDefaultInstance().getCompiledSource();
onChanged();
return this;
}
void setCompiledSource(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000040;
compiledSource_ = value;
onChanged();
}
// @@protoc_insertion_point(builder_scope:jscomp.FunctionInformationMap.Entry)
}
static {
defaultInstance = new Entry(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:jscomp.FunctionInformationMap.Entry)
}
public interface ModuleOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string name = 102;
boolean hasName();
String getName();
// required string compiled_source = 103;
boolean hasCompiledSource();
String getCompiledSource();
}
public static final class Module extends
com.google.protobuf.GeneratedMessage
implements ModuleOrBuilder {
// Use Module.newBuilder() to construct.
private Module(Builder builder) {
super(builder);
}
private Module(boolean noInit) {}
private static final Module defaultInstance;
public static Module getDefaultInstance() {
return defaultInstance;
}
public Module getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Module_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Module_fieldAccessorTable;
}
private int bitField0_;
// required string name = 102;
public static final int NAME_FIELD_NUMBER = 102;
private java.lang.Object name_;
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getName() {
java.lang.Object ref = name_;
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)) {
name_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required string compiled_source = 103;
public static final int COMPILED_SOURCE_FIELD_NUMBER = 103;
private java.lang.Object compiledSource_;
public boolean hasCompiledSource() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getCompiledSource() {
java.lang.Object ref = compiledSource_;
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)) {
compiledSource_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getCompiledSourceBytes() {
java.lang.Object ref = compiledSource_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
compiledSource_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
name_ = "";
compiledSource_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasCompiledSource()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(102, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(103, getCompiledSourceBytes());
}
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(102, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(103, getCompiledSourceBytes());
}
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.javascript.jscomp.FunctionInformationMap.Module parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module 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.javascript.jscomp.FunctionInformationMap.Module parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module 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.javascript.jscomp.FunctionInformationMap.Module 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.javascript.jscomp.FunctionInformationMap.Module parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module 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.javascript.jscomp.FunctionInformationMap.Module 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.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Module_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Module_fieldAccessorTable;
}
// Construct using com.google.javascript.jscomp.FunctionInformationMap.Module.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();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
compiledSource_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.javascript.jscomp.FunctionInformationMap.Module.getDescriptor();
}
public com.google.javascript.jscomp.FunctionInformationMap.Module getDefaultInstanceForType() {
return com.google.javascript.jscomp.FunctionInformationMap.Module.getDefaultInstance();
}
public com.google.javascript.jscomp.FunctionInformationMap.Module build() {
com.google.javascript.jscomp.FunctionInformationMap.Module result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.google.javascript.jscomp.FunctionInformationMap.Module buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.google.javascript.jscomp.FunctionInformationMap.Module result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.google.javascript.jscomp.FunctionInformationMap.Module buildPartial() {
com.google.javascript.jscomp.FunctionInformationMap.Module result = new com.google.javascript.jscomp.FunctionInformationMap.Module(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.compiledSource_ = compiledSource_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.javascript.jscomp.FunctionInformationMap.Module) {
return mergeFrom((com.google.javascript.jscomp.FunctionInformationMap.Module)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.javascript.jscomp.FunctionInformationMap.Module other) {
if (other == com.google.javascript.jscomp.FunctionInformationMap.Module.getDefaultInstance()) return this;
if (other.hasName()) {
setName(other.getName());
}
if (other.hasCompiledSource()) {
setCompiledSource(other.getCompiledSource());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
if (!hasCompiledSource()) {
return false;
}
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 818: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 826: {
bitField0_ |= 0x00000002;
compiledSource_ = input.readBytes();
break;
}
}
}
}
private int bitField0_;
// required string name = 102;
private java.lang.Object name_ = "";
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
name_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
void setName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
}
// required string compiled_source = 103;
private java.lang.Object compiledSource_ = "";
public boolean hasCompiledSource() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getCompiledSource() {
java.lang.Object ref = compiledSource_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
compiledSource_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setCompiledSource(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
compiledSource_ = value;
onChanged();
return this;
}
public Builder clearCompiledSource() {
bitField0_ = (bitField0_ & ~0x00000002);
compiledSource_ = getDefaultInstance().getCompiledSource();
onChanged();
return this;
}
void setCompiledSource(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
compiledSource_ = value;
onChanged();
}
// @@protoc_insertion_point(builder_scope:jscomp.FunctionInformationMap.Module)
}
static {
defaultInstance = new Module(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:jscomp.FunctionInformationMap.Module)
}
// repeated group Entry = 1 {
public static final int ENTRY_FIELD_NUMBER = 1;
private java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Entry> entry_;
public java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Entry> getEntryList() {
return entry_;
}
public java.util.List<? extends com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder>
getEntryOrBuilderList() {
return entry_;
}
public int getEntryCount() {
return entry_.size();
}
public com.google.javascript.jscomp.FunctionInformationMap.Entry getEntry(int index) {
return entry_.get(index);
}
public com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder getEntryOrBuilder(
int index) {
return entry_.get(index);
}
// repeated group Module = 101 {
public static final int MODULE_FIELD_NUMBER = 101;
private java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Module> module_;
public java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Module> getModuleList() {
return module_;
}
public java.util.List<? extends com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder>
getModuleOrBuilderList() {
return module_;
}
public int getModuleCount() {
return module_.size();
}
public com.google.javascript.jscomp.FunctionInformationMap.Module getModule(int index) {
return module_.get(index);
}
public com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder getModuleOrBuilder(
int index) {
return module_.get(index);
}
private void initFields() {
entry_ = java.util.Collections.emptyList();
module_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getEntryCount(); i++) {
if (!getEntry(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getModuleCount(); i++) {
if (!getModule(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < entry_.size(); i++) {
output.writeGroup(1, entry_.get(i));
}
for (int i = 0; i < module_.size(); i++) {
output.writeGroup(101, module_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < entry_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeGroupSize(1, entry_.get(i));
}
for (int i = 0; i < module_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeGroupSize(101, module_.get(i));
}
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.javascript.jscomp.FunctionInformationMap parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap 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.javascript.jscomp.FunctionInformationMap parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap 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.javascript.jscomp.FunctionInformationMap 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.javascript.jscomp.FunctionInformationMap parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.google.javascript.jscomp.FunctionInformationMap 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.javascript.jscomp.FunctionInformationMap 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.javascript.jscomp.FunctionInformationMapOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_fieldAccessorTable;
}
// Construct using com.google.javascript.jscomp.FunctionInformationMap.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getEntryFieldBuilder();
getModuleFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (entryBuilder_ == null) {
entry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
entryBuilder_.clear();
}
if (moduleBuilder_ == null) {
module_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
moduleBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.javascript.jscomp.FunctionInformationMap.getDescriptor();
}
public com.google.javascript.jscomp.FunctionInformationMap getDefaultInstanceForType() {
return com.google.javascript.jscomp.FunctionInformationMap.getDefaultInstance();
}
public com.google.javascript.jscomp.FunctionInformationMap build() {
com.google.javascript.jscomp.FunctionInformationMap result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.google.javascript.jscomp.FunctionInformationMap buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.google.javascript.jscomp.FunctionInformationMap result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.google.javascript.jscomp.FunctionInformationMap buildPartial() {
com.google.javascript.jscomp.FunctionInformationMap result = new com.google.javascript.jscomp.FunctionInformationMap(this);
int from_bitField0_ = bitField0_;
if (entryBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = java.util.Collections.unmodifiableList(entry_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.entry_ = entry_;
} else {
result.entry_ = entryBuilder_.build();
}
if (moduleBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
module_ = java.util.Collections.unmodifiableList(module_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.module_ = module_;
} else {
result.module_ = moduleBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.javascript.jscomp.FunctionInformationMap) {
return mergeFrom((com.google.javascript.jscomp.FunctionInformationMap)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.javascript.jscomp.FunctionInformationMap other) {
if (other == com.google.javascript.jscomp.FunctionInformationMap.getDefaultInstance()) return this;
if (entryBuilder_ == null) {
if (!other.entry_.isEmpty()) {
if (entry_.isEmpty()) {
entry_ = other.entry_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEntryIsMutable();
entry_.addAll(other.entry_);
}
onChanged();
}
} else {
if (!other.entry_.isEmpty()) {
if (entryBuilder_.isEmpty()) {
entryBuilder_.dispose();
entryBuilder_ = null;
entry_ = other.entry_;
bitField0_ = (bitField0_ & ~0x00000001);
entryBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getEntryFieldBuilder() : null;
} else {
entryBuilder_.addAllMessages(other.entry_);
}
}
}
if (moduleBuilder_ == null) {
if (!other.module_.isEmpty()) {
if (module_.isEmpty()) {
module_ = other.module_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureModuleIsMutable();
module_.addAll(other.module_);
}
onChanged();
}
} else {
if (!other.module_.isEmpty()) {
if (moduleBuilder_.isEmpty()) {
moduleBuilder_.dispose();
moduleBuilder_ = null;
module_ = other.module_;
bitField0_ = (bitField0_ & ~0x00000002);
moduleBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getModuleFieldBuilder() : null;
} else {
moduleBuilder_.addAllMessages(other.module_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getEntryCount(); i++) {
if (!getEntry(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getModuleCount(); i++) {
if (!getModule(i).isInitialized()) {
return false;
}
}
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 11: {
com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder subBuilder = com.google.javascript.jscomp.FunctionInformationMap.Entry.newBuilder();
input.readGroup(1, subBuilder, extensionRegistry);
addEntry(subBuilder.buildPartial());
break;
}
case 811: {
com.google.javascript.jscomp.FunctionInformationMap.Module.Builder subBuilder = com.google.javascript.jscomp.FunctionInformationMap.Module.newBuilder();
input.readGroup(101, subBuilder, extensionRegistry);
addModule(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// repeated group Entry = 1 {
private java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Entry> entry_ =
java.util.Collections.emptyList();
private void ensureEntryIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = new java.util.ArrayList<com.google.javascript.jscomp.FunctionInformationMap.Entry>(entry_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.google.javascript.jscomp.FunctionInformationMap.Entry, com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder, com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder> entryBuilder_;
public java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Entry> getEntryList() {
if (entryBuilder_ == null) {
return java.util.Collections.unmodifiableList(entry_);
} else {
return entryBuilder_.getMessageList();
}
}
public int getEntryCount() {
if (entryBuilder_ == null) {
return entry_.size();
} else {
return entryBuilder_.getCount();
}
}
public com.google.javascript.jscomp.FunctionInformationMap.Entry getEntry(int index) {
if (entryBuilder_ == null) {
return entry_.get(index);
} else {
return entryBuilder_.getMessage(index);
}
}
public Builder setEntry(
int index, com.google.javascript.jscomp.FunctionInformationMap.Entry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.set(index, value);
onChanged();
} else {
entryBuilder_.setMessage(index, value);
}
return this;
}
public Builder setEntry(
int index, com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.set(index, builderForValue.build());
onChanged();
} else {
entryBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addEntry(com.google.javascript.jscomp.FunctionInformationMap.Entry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.add(value);
onChanged();
} else {
entryBuilder_.addMessage(value);
}
return this;
}
public Builder addEntry(
int index, com.google.javascript.jscomp.FunctionInformationMap.Entry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.add(index, value);
onChanged();
} else {
entryBuilder_.addMessage(index, value);
}
return this;
}
public Builder addEntry(
com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.add(builderForValue.build());
onChanged();
} else {
entryBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addEntry(
int index, com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.add(index, builderForValue.build());
onChanged();
} else {
entryBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllEntry(
java.lang.Iterable<? extends com.google.javascript.jscomp.FunctionInformationMap.Entry> values) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
super.addAll(values, entry_);
onChanged();
} else {
entryBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearEntry() {
if (entryBuilder_ == null) {
entry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
entryBuilder_.clear();
}
return this;
}
public Builder removeEntry(int index) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.remove(index);
onChanged();
} else {
entryBuilder_.remove(index);
}
return this;
}
public com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder getEntryBuilder(
int index) {
return getEntryFieldBuilder().getBuilder(index);
}
public com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder getEntryOrBuilder(
int index) {
if (entryBuilder_ == null) {
return entry_.get(index); } else {
return entryBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder>
getEntryOrBuilderList() {
if (entryBuilder_ != null) {
return entryBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(entry_);
}
}
public com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder addEntryBuilder() {
return getEntryFieldBuilder().addBuilder(
com.google.javascript.jscomp.FunctionInformationMap.Entry.getDefaultInstance());
}
public com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder addEntryBuilder(
int index) {
return getEntryFieldBuilder().addBuilder(
index, com.google.javascript.jscomp.FunctionInformationMap.Entry.getDefaultInstance());
}
public java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder>
getEntryBuilderList() {
return getEntryFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.google.javascript.jscomp.FunctionInformationMap.Entry, com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder, com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder>
getEntryFieldBuilder() {
if (entryBuilder_ == null) {
entryBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.google.javascript.jscomp.FunctionInformationMap.Entry, com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder, com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder>(
entry_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
entry_ = null;
}
return entryBuilder_;
}
// repeated group Module = 101 {
private java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Module> module_ =
java.util.Collections.emptyList();
private void ensureModuleIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
module_ = new java.util.ArrayList<com.google.javascript.jscomp.FunctionInformationMap.Module>(module_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.google.javascript.jscomp.FunctionInformationMap.Module, com.google.javascript.jscomp.FunctionInformationMap.Module.Builder, com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder> moduleBuilder_;
public java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Module> getModuleList() {
if (moduleBuilder_ == null) {
return java.util.Collections.unmodifiableList(module_);
} else {
return moduleBuilder_.getMessageList();
}
}
public int getModuleCount() {
if (moduleBuilder_ == null) {
return module_.size();
} else {
return moduleBuilder_.getCount();
}
}
public com.google.javascript.jscomp.FunctionInformationMap.Module getModule(int index) {
if (moduleBuilder_ == null) {
return module_.get(index);
} else {
return moduleBuilder_.getMessage(index);
}
}
public Builder setModule(
int index, com.google.javascript.jscomp.FunctionInformationMap.Module value) {
if (moduleBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureModuleIsMutable();
module_.set(index, value);
onChanged();
} else {
moduleBuilder_.setMessage(index, value);
}
return this;
}
public Builder setModule(
int index, com.google.javascript.jscomp.FunctionInformationMap.Module.Builder builderForValue) {
if (moduleBuilder_ == null) {
ensureModuleIsMutable();
module_.set(index, builderForValue.build());
onChanged();
} else {
moduleBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addModule(com.google.javascript.jscomp.FunctionInformationMap.Module value) {
if (moduleBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureModuleIsMutable();
module_.add(value);
onChanged();
} else {
moduleBuilder_.addMessage(value);
}
return this;
}
public Builder addModule(
int index, com.google.javascript.jscomp.FunctionInformationMap.Module value) {
if (moduleBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureModuleIsMutable();
module_.add(index, value);
onChanged();
} else {
moduleBuilder_.addMessage(index, value);
}
return this;
}
public Builder addModule(
com.google.javascript.jscomp.FunctionInformationMap.Module.Builder builderForValue) {
if (moduleBuilder_ == null) {
ensureModuleIsMutable();
module_.add(builderForValue.build());
onChanged();
} else {
moduleBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addModule(
int index, com.google.javascript.jscomp.FunctionInformationMap.Module.Builder builderForValue) {
if (moduleBuilder_ == null) {
ensureModuleIsMutable();
module_.add(index, builderForValue.build());
onChanged();
} else {
moduleBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllModule(
java.lang.Iterable<? extends com.google.javascript.jscomp.FunctionInformationMap.Module> values) {
if (moduleBuilder_ == null) {
ensureModuleIsMutable();
super.addAll(values, module_);
onChanged();
} else {
moduleBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearModule() {
if (moduleBuilder_ == null) {
module_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
moduleBuilder_.clear();
}
return this;
}
public Builder removeModule(int index) {
if (moduleBuilder_ == null) {
ensureModuleIsMutable();
module_.remove(index);
onChanged();
} else {
moduleBuilder_.remove(index);
}
return this;
}
public com.google.javascript.jscomp.FunctionInformationMap.Module.Builder getModuleBuilder(
int index) {
return getModuleFieldBuilder().getBuilder(index);
}
public com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder getModuleOrBuilder(
int index) {
if (moduleBuilder_ == null) {
return module_.get(index); } else {
return moduleBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder>
getModuleOrBuilderList() {
if (moduleBuilder_ != null) {
return moduleBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(module_);
}
}
public com.google.javascript.jscomp.FunctionInformationMap.Module.Builder addModuleBuilder() {
return getModuleFieldBuilder().addBuilder(
com.google.javascript.jscomp.FunctionInformationMap.Module.getDefaultInstance());
}
public com.google.javascript.jscomp.FunctionInformationMap.Module.Builder addModuleBuilder(
int index) {
return getModuleFieldBuilder().addBuilder(
index, com.google.javascript.jscomp.FunctionInformationMap.Module.getDefaultInstance());
}
public java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Module.Builder>
getModuleBuilderList() {
return getModuleFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.google.javascript.jscomp.FunctionInformationMap.Module, com.google.javascript.jscomp.FunctionInformationMap.Module.Builder, com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder>
getModuleFieldBuilder() {
if (moduleBuilder_ == null) {
moduleBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.google.javascript.jscomp.FunctionInformationMap.Module, com.google.javascript.jscomp.FunctionInformationMap.Module.Builder, com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder>(
module_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
module_ = null;
}
return moduleBuilder_;
}
// @@protoc_insertion_point(builder_scope:jscomp.FunctionInformationMap)
}
static {
defaultInstance = new FunctionInformationMap(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:jscomp.FunctionInformationMap)
}