Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.google.javascript.jscomp.FunctionInformationMap Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: com/google/javascript/jscomp/function_info.proto
package com.google.javascript.jscomp;
/**
* Protobuf type {@code jscomp.FunctionInformationMap}
*/
public final class FunctionInformationMap extends
com.google.protobuf.GeneratedMessage
implements FunctionInformationMapOrBuilder {
// Use FunctionInformationMap.newBuilder() to construct.
private FunctionInformationMap(com.google.protobuf.GeneratedMessage.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private FunctionInformationMap(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final FunctionInformationMap defaultInstance;
public static FunctionInformationMap getDefaultInstance() {
return defaultInstance;
}
public FunctionInformationMap getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FunctionInformationMap(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 11: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
entry_.add(input.readGroup(1, com.google.javascript.jscomp.FunctionInformationMap.Entry.PARSER,
extensionRegistry));
break;
}
case 811: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
module_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
module_.add(input.readGroup(101, com.google.javascript.jscomp.FunctionInformationMap.Module.PARSER,
extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = java.util.Collections.unmodifiableList(entry_);
}
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
module_ = java.util.Collections.unmodifiableList(module_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
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
.ensureFieldAccessorsInitialized(
com.google.javascript.jscomp.FunctionInformationMap.class, com.google.javascript.jscomp.FunctionInformationMap.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public FunctionInformationMap parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FunctionInformationMap(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface EntryOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 id = 2;
/**
* required int32 id = 2;
*/
boolean hasId();
/**
* required int32 id = 2;
*/
int getId();
// required string source_name = 3;
/**
* required string source_name = 3;
*/
boolean hasSourceName();
/**
* required string source_name = 3;
*/
java.lang.String getSourceName();
/**
* required string source_name = 3;
*/
com.google.protobuf.ByteString
getSourceNameBytes();
// required int32 line_number = 4;
/**
* required int32 line_number = 4;
*/
boolean hasLineNumber();
/**
* required int32 line_number = 4;
*/
int getLineNumber();
// required string module_name = 5;
/**
* required string module_name = 5;
*/
boolean hasModuleName();
/**
* required string module_name = 5;
*/
java.lang.String getModuleName();
/**
* required string module_name = 5;
*/
com.google.protobuf.ByteString
getModuleNameBytes();
// required int32 size = 6;
/**
* required int32 size = 6;
*/
boolean hasSize();
/**
* required int32 size = 6;
*/
int getSize();
// required string name = 7;
/**
* required string name = 7;
*/
boolean hasName();
/**
* required string name = 7;
*/
java.lang.String getName();
/**
* required string name = 7;
*/
com.google.protobuf.ByteString
getNameBytes();
// required string compiled_source = 8;
/**
* required string compiled_source = 8;
*/
boolean hasCompiledSource();
/**
* required string compiled_source = 8;
*/
java.lang.String getCompiledSource();
/**
* required string compiled_source = 8;
*/
com.google.protobuf.ByteString
getCompiledSourceBytes();
}
/**
* Protobuf type {@code jscomp.FunctionInformationMap.Entry}
*/
public static final class Entry extends
com.google.protobuf.GeneratedMessage
implements EntryOrBuilder {
// Use Entry.newBuilder() to construct.
private Entry(com.google.protobuf.GeneratedMessage.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Entry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Entry defaultInstance;
public static Entry getDefaultInstance() {
return defaultInstance;
}
public Entry getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Entry(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 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;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.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
.ensureFieldAccessorsInitialized(
com.google.javascript.jscomp.FunctionInformationMap.Entry.class, com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Entry parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Entry(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 id = 2;
public static final int ID_FIELD_NUMBER = 2;
private int id_;
/**
* required int32 id = 2;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 id = 2;
*/
public int getId() {
return id_;
}
// required string source_name = 3;
public static final int SOURCE_NAME_FIELD_NUMBER = 3;
private java.lang.Object sourceName_;
/**
* required string source_name = 3;
*/
public boolean hasSourceName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string source_name = 3;
*/
public java.lang.String getSourceName() {
java.lang.Object ref = sourceName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
sourceName_ = s;
}
return s;
}
}
/**
* required string source_name = 3;
*/
public com.google.protobuf.ByteString
getSourceNameBytes() {
java.lang.Object ref = sourceName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.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_;
/**
* required int32 line_number = 4;
*/
public boolean hasLineNumber() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required int32 line_number = 4;
*/
public int getLineNumber() {
return lineNumber_;
}
// required string module_name = 5;
public static final int MODULE_NAME_FIELD_NUMBER = 5;
private java.lang.Object moduleName_;
/**
* required string module_name = 5;
*/
public boolean hasModuleName() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required string module_name = 5;
*/
public java.lang.String getModuleName() {
java.lang.Object ref = moduleName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
moduleName_ = s;
}
return s;
}
}
/**
* required string module_name = 5;
*/
public com.google.protobuf.ByteString
getModuleNameBytes() {
java.lang.Object ref = moduleName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.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_;
/**
* required int32 size = 6;
*/
public boolean hasSize() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required int32 size = 6;
*/
public int getSize() {
return size_;
}
// required string name = 7;
public static final int NAME_FIELD_NUMBER = 7;
private java.lang.Object name_;
/**
* required string name = 7;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* required string name = 7;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* required string name = 7;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.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_;
/**
* required string compiled_source = 8;
*/
public boolean hasCompiledSource() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* required string compiled_source = 8;
*/
public java.lang.String getCompiledSource() {
java.lang.Object ref = compiledSource_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
compiledSource_ = s;
}
return s;
}
}
/**
* required string compiled_source = 8;
*/
public com.google.protobuf.ByteString
getCompiledSourceBytes() {
java.lang.Object ref = compiledSource_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.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 PARSER.parseFrom(data);
}
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 PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.google.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;
}
/**
* Protobuf type {@code jscomp.FunctionInformationMap.Entry}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.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
.ensureFieldAccessorsInitialized(
com.google.javascript.jscomp.FunctionInformationMap.Entry.class, com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder.class);
}
// Construct using com.google.javascript.jscomp.FunctionInformationMap.Entry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
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.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Entry_descriptor;
}
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;
}
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()) {
bitField0_ |= 0x00000002;
sourceName_ = other.sourceName_;
onChanged();
}
if (other.hasLineNumber()) {
setLineNumber(other.getLineNumber());
}
if (other.hasModuleName()) {
bitField0_ |= 0x00000008;
moduleName_ = other.moduleName_;
onChanged();
}
if (other.hasSize()) {
setSize(other.getSize());
}
if (other.hasName()) {
bitField0_ |= 0x00000020;
name_ = other.name_;
onChanged();
}
if (other.hasCompiledSource()) {
bitField0_ |= 0x00000040;
compiledSource_ = other.compiledSource_;
onChanged();
}
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.javascript.jscomp.FunctionInformationMap.Entry parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.javascript.jscomp.FunctionInformationMap.Entry) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 id = 2;
private int id_ ;
/**
* required int32 id = 2;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 id = 2;
*/
public int getId() {
return id_;
}
/**
* required int32 id = 2;
*/
public Builder setId(int value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* required int32 id = 2;
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0;
onChanged();
return this;
}
// required string source_name = 3;
private java.lang.Object sourceName_ = "";
/**
* required string source_name = 3;
*/
public boolean hasSourceName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string source_name = 3;
*/
public java.lang.String getSourceName() {
java.lang.Object ref = sourceName_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
sourceName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string source_name = 3;
*/
public com.google.protobuf.ByteString
getSourceNameBytes() {
java.lang.Object ref = sourceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sourceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string source_name = 3;
*/
public Builder setSourceName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
sourceName_ = value;
onChanged();
return this;
}
/**
* required string source_name = 3;
*/
public Builder clearSourceName() {
bitField0_ = (bitField0_ & ~0x00000002);
sourceName_ = getDefaultInstance().getSourceName();
onChanged();
return this;
}
/**
* required string source_name = 3;
*/
public Builder setSourceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
sourceName_ = value;
onChanged();
return this;
}
// required int32 line_number = 4;
private int lineNumber_ ;
/**
* required int32 line_number = 4;
*/
public boolean hasLineNumber() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required int32 line_number = 4;
*/
public int getLineNumber() {
return lineNumber_;
}
/**
* required int32 line_number = 4;
*/
public Builder setLineNumber(int value) {
bitField0_ |= 0x00000004;
lineNumber_ = value;
onChanged();
return this;
}
/**
* required int32 line_number = 4;
*/
public Builder clearLineNumber() {
bitField0_ = (bitField0_ & ~0x00000004);
lineNumber_ = 0;
onChanged();
return this;
}
// required string module_name = 5;
private java.lang.Object moduleName_ = "";
/**
* required string module_name = 5;
*/
public boolean hasModuleName() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required string module_name = 5;
*/
public java.lang.String getModuleName() {
java.lang.Object ref = moduleName_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
moduleName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string module_name = 5;
*/
public com.google.protobuf.ByteString
getModuleNameBytes() {
java.lang.Object ref = moduleName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
moduleName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string module_name = 5;
*/
public Builder setModuleName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
moduleName_ = value;
onChanged();
return this;
}
/**
* required string module_name = 5;
*/
public Builder clearModuleName() {
bitField0_ = (bitField0_ & ~0x00000008);
moduleName_ = getDefaultInstance().getModuleName();
onChanged();
return this;
}
/**
* required string module_name = 5;
*/
public Builder setModuleNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
moduleName_ = value;
onChanged();
return this;
}
// required int32 size = 6;
private int size_ ;
/**
* required int32 size = 6;
*/
public boolean hasSize() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required int32 size = 6;
*/
public int getSize() {
return size_;
}
/**
* required int32 size = 6;
*/
public Builder setSize(int value) {
bitField0_ |= 0x00000010;
size_ = value;
onChanged();
return this;
}
/**
* required int32 size = 6;
*/
public Builder clearSize() {
bitField0_ = (bitField0_ & ~0x00000010);
size_ = 0;
onChanged();
return this;
}
// required string name = 7;
private java.lang.Object name_ = "";
/**
* required string name = 7;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* required string name = 7;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string name = 7;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string name = 7;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
name_ = value;
onChanged();
return this;
}
/**
* required string name = 7;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000020);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* required string name = 7;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
name_ = value;
onChanged();
return this;
}
// required string compiled_source = 8;
private java.lang.Object compiledSource_ = "";
/**
* required string compiled_source = 8;
*/
public boolean hasCompiledSource() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* required string compiled_source = 8;
*/
public java.lang.String getCompiledSource() {
java.lang.Object ref = compiledSource_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
compiledSource_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string compiled_source = 8;
*/
public com.google.protobuf.ByteString
getCompiledSourceBytes() {
java.lang.Object ref = compiledSource_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
compiledSource_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string compiled_source = 8;
*/
public Builder setCompiledSource(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
compiledSource_ = value;
onChanged();
return this;
}
/**
* required string compiled_source = 8;
*/
public Builder clearCompiledSource() {
bitField0_ = (bitField0_ & ~0x00000040);
compiledSource_ = getDefaultInstance().getCompiledSource();
onChanged();
return this;
}
/**
* required string compiled_source = 8;
*/
public Builder setCompiledSourceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
compiledSource_ = value;
onChanged();
return this;
}
// @@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;
/**
* required string name = 102;
*/
boolean hasName();
/**
* required string name = 102;
*/
java.lang.String getName();
/**
* required string name = 102;
*/
com.google.protobuf.ByteString
getNameBytes();
// required string compiled_source = 103;
/**
* required string compiled_source = 103;
*/
boolean hasCompiledSource();
/**
* required string compiled_source = 103;
*/
java.lang.String getCompiledSource();
/**
* required string compiled_source = 103;
*/
com.google.protobuf.ByteString
getCompiledSourceBytes();
}
/**
* Protobuf type {@code jscomp.FunctionInformationMap.Module}
*/
public static final class Module extends
com.google.protobuf.GeneratedMessage
implements ModuleOrBuilder {
// Use Module.newBuilder() to construct.
private Module(com.google.protobuf.GeneratedMessage.Builder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Module(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Module defaultInstance;
public static Module getDefaultInstance() {
return defaultInstance;
}
public Module getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Module(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 818: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 826: {
bitField0_ |= 0x00000002;
compiledSource_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.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
.ensureFieldAccessorsInitialized(
com.google.javascript.jscomp.FunctionInformationMap.Module.class, com.google.javascript.jscomp.FunctionInformationMap.Module.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Module parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Module(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string name = 102;
public static final int NAME_FIELD_NUMBER = 102;
private java.lang.Object name_;
/**
* required string name = 102;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string name = 102;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* required string name = 102;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.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_;
/**
* required string compiled_source = 103;
*/
public boolean hasCompiledSource() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string compiled_source = 103;
*/
public java.lang.String getCompiledSource() {
java.lang.Object ref = compiledSource_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
compiledSource_ = s;
}
return s;
}
}
/**
* required string compiled_source = 103;
*/
public com.google.protobuf.ByteString
getCompiledSourceBytes() {
java.lang.Object ref = compiledSource_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.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 PARSER.parseFrom(data);
}
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 PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.google.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;
}
/**
* Protobuf type {@code jscomp.FunctionInformationMap.Module}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.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
.ensureFieldAccessorsInitialized(
com.google.javascript.jscomp.FunctionInformationMap.Module.class, com.google.javascript.jscomp.FunctionInformationMap.Module.Builder.class);
}
// Construct using com.google.javascript.jscomp.FunctionInformationMap.Module.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
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.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Module_descriptor;
}
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;
}
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()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasCompiledSource()) {
bitField0_ |= 0x00000002;
compiledSource_ = other.compiledSource_;
onChanged();
}
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.javascript.jscomp.FunctionInformationMap.Module parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.javascript.jscomp.FunctionInformationMap.Module) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string name = 102;
private java.lang.Object name_ = "";
/**
* required string name = 102;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string name = 102;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string name = 102;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string name = 102;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* required string name = 102;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* required string name = 102;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
// required string compiled_source = 103;
private java.lang.Object compiledSource_ = "";
/**
* required string compiled_source = 103;
*/
public boolean hasCompiledSource() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string compiled_source = 103;
*/
public java.lang.String getCompiledSource() {
java.lang.Object ref = compiledSource_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
compiledSource_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string compiled_source = 103;
*/
public com.google.protobuf.ByteString
getCompiledSourceBytes() {
java.lang.Object ref = compiledSource_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
compiledSource_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string compiled_source = 103;
*/
public Builder setCompiledSource(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
compiledSource_ = value;
onChanged();
return this;
}
/**
* required string compiled_source = 103;
*/
public Builder clearCompiledSource() {
bitField0_ = (bitField0_ & ~0x00000002);
compiledSource_ = getDefaultInstance().getCompiledSource();
onChanged();
return this;
}
/**
* required string compiled_source = 103;
*/
public Builder setCompiledSourceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
compiledSource_ = value;
onChanged();
return this;
}
// @@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 entry_;
/**
* repeated group Entry = 1 { ... }
*/
public java.util.List getEntryList() {
return entry_;
}
/**
* repeated group Entry = 1 { ... }
*/
public java.util.List
getEntryOrBuilderList() {
return entry_;
}
/**
* repeated group Entry = 1 { ... }
*/
public int getEntryCount() {
return entry_.size();
}
/**
* repeated group Entry = 1 { ... }
*/
public com.google.javascript.jscomp.FunctionInformationMap.Entry getEntry(int index) {
return entry_.get(index);
}
/**
* repeated group Entry = 1 { ... }
*/
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 module_;
/**
* repeated group Module = 101 { ... }
*/
public java.util.List getModuleList() {
return module_;
}
/**
* repeated group Module = 101 { ... }
*/
public java.util.List
getModuleOrBuilderList() {
return module_;
}
/**
* repeated group Module = 101 { ... }
*/
public int getModuleCount() {
return module_.size();
}
/**
* repeated group Module = 101 { ... }
*/
public com.google.javascript.jscomp.FunctionInformationMap.Module getModule(int index) {
return module_.get(index);
}
/**
* repeated group Module = 101 { ... }
*/
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 PARSER.parseFrom(data);
}
public static com.google.javascript.jscomp.FunctionInformationMap parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.javascript.jscomp.FunctionInformationMap parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.javascript.jscomp.FunctionInformationMap parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.javascript.jscomp.FunctionInformationMap parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.javascript.jscomp.FunctionInformationMap parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.google.javascript.jscomp.FunctionInformationMap parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.google.javascript.jscomp.FunctionInformationMap parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.google.javascript.jscomp.FunctionInformationMap parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.javascript.jscomp.FunctionInformationMap parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.google.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;
}
/**
* Protobuf type {@code jscomp.FunctionInformationMap}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.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
.ensureFieldAccessorsInitialized(
com.google.javascript.jscomp.FunctionInformationMap.class, com.google.javascript.jscomp.FunctionInformationMap.Builder.class);
}
// Construct using com.google.javascript.jscomp.FunctionInformationMap.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.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.FunctionInfo.internal_static_jscomp_FunctionInformationMap_descriptor;
}
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;
}
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.javascript.jscomp.FunctionInformationMap parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.javascript.jscomp.FunctionInformationMap) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated group Entry = 1 {
private java.util.List entry_ =
java.util.Collections.emptyList();
private void ensureEntryIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = new java.util.ArrayList(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_;
/**
* repeated group Entry = 1 { ... }
*/
public java.util.List getEntryList() {
if (entryBuilder_ == null) {
return java.util.Collections.unmodifiableList(entry_);
} else {
return entryBuilder_.getMessageList();
}
}
/**
* repeated group Entry = 1 { ... }
*/
public int getEntryCount() {
if (entryBuilder_ == null) {
return entry_.size();
} else {
return entryBuilder_.getCount();
}
}
/**
* repeated group Entry = 1 { ... }
*/
public com.google.javascript.jscomp.FunctionInformationMap.Entry getEntry(int index) {
if (entryBuilder_ == null) {
return entry_.get(index);
} else {
return entryBuilder_.getMessage(index);
}
}
/**
* repeated group Entry = 1 { ... }
*/
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;
}
/**
* repeated group Entry = 1 { ... }
*/
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;
}
/**
* repeated group Entry = 1 { ... }
*/
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;
}
/**
* repeated group Entry = 1 { ... }
*/
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;
}
/**
* repeated group Entry = 1 { ... }
*/
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;
}
/**
* repeated group Entry = 1 { ... }
*/
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;
}
/**
* repeated group Entry = 1 { ... }
*/
public Builder addAllEntry(
java.lang.Iterable values) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
super.addAll(values, entry_);
onChanged();
} else {
entryBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated group Entry = 1 { ... }
*/
public Builder clearEntry() {
if (entryBuilder_ == null) {
entry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
entryBuilder_.clear();
}
return this;
}
/**
* repeated group Entry = 1 { ... }
*/
public Builder removeEntry(int index) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.remove(index);
onChanged();
} else {
entryBuilder_.remove(index);
}
return this;
}
/**
* repeated group Entry = 1 { ... }
*/
public com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder getEntryBuilder(
int index) {
return getEntryFieldBuilder().getBuilder(index);
}
/**
* repeated group Entry = 1 { ... }
*/
public com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder getEntryOrBuilder(
int index) {
if (entryBuilder_ == null) {
return entry_.get(index); } else {
return entryBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated group Entry = 1 { ... }
*/
public java.util.List
getEntryOrBuilderList() {
if (entryBuilder_ != null) {
return entryBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(entry_);
}
}
/**
* repeated group Entry = 1 { ... }
*/
public com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder addEntryBuilder() {
return getEntryFieldBuilder().addBuilder(
com.google.javascript.jscomp.FunctionInformationMap.Entry.getDefaultInstance());
}
/**
* repeated group Entry = 1 { ... }
*/
public com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder addEntryBuilder(
int index) {
return getEntryFieldBuilder().addBuilder(
index, com.google.javascript.jscomp.FunctionInformationMap.Entry.getDefaultInstance());
}
/**
* repeated group Entry = 1 { ... }
*/
public java.util.List
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 module_ =
java.util.Collections.emptyList();
private void ensureModuleIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
module_ = new java.util.ArrayList(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_;
/**
* repeated group Module = 101 { ... }
*/
public java.util.List getModuleList() {
if (moduleBuilder_ == null) {
return java.util.Collections.unmodifiableList(module_);
} else {
return moduleBuilder_.getMessageList();
}
}
/**
* repeated group Module = 101 { ... }
*/
public int getModuleCount() {
if (moduleBuilder_ == null) {
return module_.size();
} else {
return moduleBuilder_.getCount();
}
}
/**
* repeated group Module = 101 { ... }
*/
public com.google.javascript.jscomp.FunctionInformationMap.Module getModule(int index) {
if (moduleBuilder_ == null) {
return module_.get(index);
} else {
return moduleBuilder_.getMessage(index);
}
}
/**
* repeated group Module = 101 { ... }
*/
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;
}
/**
* repeated group Module = 101 { ... }
*/
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;
}
/**
* repeated group Module = 101 { ... }
*/
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;
}
/**
* repeated group Module = 101 { ... }
*/
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;
}
/**
* repeated group Module = 101 { ... }
*/
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;
}
/**
* repeated group Module = 101 { ... }
*/
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;
}
/**
* repeated group Module = 101 { ... }
*/
public Builder addAllModule(
java.lang.Iterable values) {
if (moduleBuilder_ == null) {
ensureModuleIsMutable();
super.addAll(values, module_);
onChanged();
} else {
moduleBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated group Module = 101 { ... }
*/
public Builder clearModule() {
if (moduleBuilder_ == null) {
module_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
moduleBuilder_.clear();
}
return this;
}
/**
* repeated group Module = 101 { ... }
*/
public Builder removeModule(int index) {
if (moduleBuilder_ == null) {
ensureModuleIsMutable();
module_.remove(index);
onChanged();
} else {
moduleBuilder_.remove(index);
}
return this;
}
/**
* repeated group Module = 101 { ... }
*/
public com.google.javascript.jscomp.FunctionInformationMap.Module.Builder getModuleBuilder(
int index) {
return getModuleFieldBuilder().getBuilder(index);
}
/**
* repeated group Module = 101 { ... }
*/
public com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder getModuleOrBuilder(
int index) {
if (moduleBuilder_ == null) {
return module_.get(index); } else {
return moduleBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated group Module = 101 { ... }
*/
public java.util.List
getModuleOrBuilderList() {
if (moduleBuilder_ != null) {
return moduleBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(module_);
}
}
/**
* repeated group Module = 101 { ... }
*/
public com.google.javascript.jscomp.FunctionInformationMap.Module.Builder addModuleBuilder() {
return getModuleFieldBuilder().addBuilder(
com.google.javascript.jscomp.FunctionInformationMap.Module.getDefaultInstance());
}
/**
* repeated group Module = 101 { ... }
*/
public com.google.javascript.jscomp.FunctionInformationMap.Module.Builder addModuleBuilder(
int index) {
return getModuleFieldBuilder().addBuilder(
index, com.google.javascript.jscomp.FunctionInformationMap.Module.getDefaultInstance());
}
/**
* repeated group Module = 101 { ... }
*/
public java.util.List
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)
}