/closure/closure-compiler/gen/com/google/javascript/jscomp/FunctionInformationMap.java
Java | 2198 lines | 2010 code | 144 blank | 44 comment | 362 complexity | 3e58c080ded9e5246230c1bfb8f6586e MD5 | raw file
Possible License(s): Apache-2.0, GPL-2.0, MPL-2.0-no-copyleft-exception
Large files files are truncated, but you can click here to view the full file
- // 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.ByteStri…
Large files files are truncated, but you can click here to view the full file