PageRenderTime 57ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 1ms

/closure/closure-compiler/gen/com/google/javascript/jscomp/FunctionInformationMap.java

https://code.google.com/p/plovr/
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

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. package com.google.javascript.jscomp;
  3. public final class FunctionInformationMap extends
  4. com.google.protobuf.GeneratedMessage
  5. implements FunctionInformationMapOrBuilder {
  6. // Use FunctionInformationMap.newBuilder() to construct.
  7. private FunctionInformationMap(Builder builder) {
  8. super(builder);
  9. }
  10. private FunctionInformationMap(boolean noInit) {}
  11. private static final FunctionInformationMap defaultInstance;
  12. public static FunctionInformationMap getDefaultInstance() {
  13. return defaultInstance;
  14. }
  15. public FunctionInformationMap getDefaultInstanceForType() {
  16. return defaultInstance;
  17. }
  18. public static final com.google.protobuf.Descriptors.Descriptor
  19. getDescriptor() {
  20. return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_descriptor;
  21. }
  22. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  23. internalGetFieldAccessorTable() {
  24. return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_fieldAccessorTable;
  25. }
  26. public interface EntryOrBuilder
  27. extends com.google.protobuf.MessageOrBuilder {
  28. // required int32 id = 2;
  29. boolean hasId();
  30. int getId();
  31. // required string source_name = 3;
  32. boolean hasSourceName();
  33. String getSourceName();
  34. // required int32 line_number = 4;
  35. boolean hasLineNumber();
  36. int getLineNumber();
  37. // required string module_name = 5;
  38. boolean hasModuleName();
  39. String getModuleName();
  40. // required int32 size = 6;
  41. boolean hasSize();
  42. int getSize();
  43. // required string name = 7;
  44. boolean hasName();
  45. String getName();
  46. // required string compiled_source = 8;
  47. boolean hasCompiledSource();
  48. String getCompiledSource();
  49. }
  50. public static final class Entry extends
  51. com.google.protobuf.GeneratedMessage
  52. implements EntryOrBuilder {
  53. // Use Entry.newBuilder() to construct.
  54. private Entry(Builder builder) {
  55. super(builder);
  56. }
  57. private Entry(boolean noInit) {}
  58. private static final Entry defaultInstance;
  59. public static Entry getDefaultInstance() {
  60. return defaultInstance;
  61. }
  62. public Entry getDefaultInstanceForType() {
  63. return defaultInstance;
  64. }
  65. public static final com.google.protobuf.Descriptors.Descriptor
  66. getDescriptor() {
  67. return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Entry_descriptor;
  68. }
  69. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  70. internalGetFieldAccessorTable() {
  71. return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Entry_fieldAccessorTable;
  72. }
  73. private int bitField0_;
  74. // required int32 id = 2;
  75. public static final int ID_FIELD_NUMBER = 2;
  76. private int id_;
  77. public boolean hasId() {
  78. return ((bitField0_ & 0x00000001) == 0x00000001);
  79. }
  80. public int getId() {
  81. return id_;
  82. }
  83. // required string source_name = 3;
  84. public static final int SOURCE_NAME_FIELD_NUMBER = 3;
  85. private java.lang.Object sourceName_;
  86. public boolean hasSourceName() {
  87. return ((bitField0_ & 0x00000002) == 0x00000002);
  88. }
  89. public String getSourceName() {
  90. java.lang.Object ref = sourceName_;
  91. if (ref instanceof String) {
  92. return (String) ref;
  93. } else {
  94. com.google.protobuf.ByteString bs =
  95. (com.google.protobuf.ByteString) ref;
  96. String s = bs.toStringUtf8();
  97. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  98. sourceName_ = s;
  99. }
  100. return s;
  101. }
  102. }
  103. private com.google.protobuf.ByteString getSourceNameBytes() {
  104. java.lang.Object ref = sourceName_;
  105. if (ref instanceof String) {
  106. com.google.protobuf.ByteString b =
  107. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  108. sourceName_ = b;
  109. return b;
  110. } else {
  111. return (com.google.protobuf.ByteString) ref;
  112. }
  113. }
  114. // required int32 line_number = 4;
  115. public static final int LINE_NUMBER_FIELD_NUMBER = 4;
  116. private int lineNumber_;
  117. public boolean hasLineNumber() {
  118. return ((bitField0_ & 0x00000004) == 0x00000004);
  119. }
  120. public int getLineNumber() {
  121. return lineNumber_;
  122. }
  123. // required string module_name = 5;
  124. public static final int MODULE_NAME_FIELD_NUMBER = 5;
  125. private java.lang.Object moduleName_;
  126. public boolean hasModuleName() {
  127. return ((bitField0_ & 0x00000008) == 0x00000008);
  128. }
  129. public String getModuleName() {
  130. java.lang.Object ref = moduleName_;
  131. if (ref instanceof String) {
  132. return (String) ref;
  133. } else {
  134. com.google.protobuf.ByteString bs =
  135. (com.google.protobuf.ByteString) ref;
  136. String s = bs.toStringUtf8();
  137. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  138. moduleName_ = s;
  139. }
  140. return s;
  141. }
  142. }
  143. private com.google.protobuf.ByteString getModuleNameBytes() {
  144. java.lang.Object ref = moduleName_;
  145. if (ref instanceof String) {
  146. com.google.protobuf.ByteString b =
  147. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  148. moduleName_ = b;
  149. return b;
  150. } else {
  151. return (com.google.protobuf.ByteString) ref;
  152. }
  153. }
  154. // required int32 size = 6;
  155. public static final int SIZE_FIELD_NUMBER = 6;
  156. private int size_;
  157. public boolean hasSize() {
  158. return ((bitField0_ & 0x00000010) == 0x00000010);
  159. }
  160. public int getSize() {
  161. return size_;
  162. }
  163. // required string name = 7;
  164. public static final int NAME_FIELD_NUMBER = 7;
  165. private java.lang.Object name_;
  166. public boolean hasName() {
  167. return ((bitField0_ & 0x00000020) == 0x00000020);
  168. }
  169. public String getName() {
  170. java.lang.Object ref = name_;
  171. if (ref instanceof String) {
  172. return (String) ref;
  173. } else {
  174. com.google.protobuf.ByteString bs =
  175. (com.google.protobuf.ByteString) ref;
  176. String s = bs.toStringUtf8();
  177. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  178. name_ = s;
  179. }
  180. return s;
  181. }
  182. }
  183. private com.google.protobuf.ByteString getNameBytes() {
  184. java.lang.Object ref = name_;
  185. if (ref instanceof String) {
  186. com.google.protobuf.ByteString b =
  187. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  188. name_ = b;
  189. return b;
  190. } else {
  191. return (com.google.protobuf.ByteString) ref;
  192. }
  193. }
  194. // required string compiled_source = 8;
  195. public static final int COMPILED_SOURCE_FIELD_NUMBER = 8;
  196. private java.lang.Object compiledSource_;
  197. public boolean hasCompiledSource() {
  198. return ((bitField0_ & 0x00000040) == 0x00000040);
  199. }
  200. public String getCompiledSource() {
  201. java.lang.Object ref = compiledSource_;
  202. if (ref instanceof String) {
  203. return (String) ref;
  204. } else {
  205. com.google.protobuf.ByteString bs =
  206. (com.google.protobuf.ByteString) ref;
  207. String s = bs.toStringUtf8();
  208. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  209. compiledSource_ = s;
  210. }
  211. return s;
  212. }
  213. }
  214. private com.google.protobuf.ByteString getCompiledSourceBytes() {
  215. java.lang.Object ref = compiledSource_;
  216. if (ref instanceof String) {
  217. com.google.protobuf.ByteString b =
  218. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  219. compiledSource_ = b;
  220. return b;
  221. } else {
  222. return (com.google.protobuf.ByteString) ref;
  223. }
  224. }
  225. private void initFields() {
  226. id_ = 0;
  227. sourceName_ = "";
  228. lineNumber_ = 0;
  229. moduleName_ = "";
  230. size_ = 0;
  231. name_ = "";
  232. compiledSource_ = "";
  233. }
  234. private byte memoizedIsInitialized = -1;
  235. public final boolean isInitialized() {
  236. byte isInitialized = memoizedIsInitialized;
  237. if (isInitialized != -1) return isInitialized == 1;
  238. if (!hasId()) {
  239. memoizedIsInitialized = 0;
  240. return false;
  241. }
  242. if (!hasSourceName()) {
  243. memoizedIsInitialized = 0;
  244. return false;
  245. }
  246. if (!hasLineNumber()) {
  247. memoizedIsInitialized = 0;
  248. return false;
  249. }
  250. if (!hasModuleName()) {
  251. memoizedIsInitialized = 0;
  252. return false;
  253. }
  254. if (!hasSize()) {
  255. memoizedIsInitialized = 0;
  256. return false;
  257. }
  258. if (!hasName()) {
  259. memoizedIsInitialized = 0;
  260. return false;
  261. }
  262. if (!hasCompiledSource()) {
  263. memoizedIsInitialized = 0;
  264. return false;
  265. }
  266. memoizedIsInitialized = 1;
  267. return true;
  268. }
  269. public void writeTo(com.google.protobuf.CodedOutputStream output)
  270. throws java.io.IOException {
  271. getSerializedSize();
  272. if (((bitField0_ & 0x00000001) == 0x00000001)) {
  273. output.writeInt32(2, id_);
  274. }
  275. if (((bitField0_ & 0x00000002) == 0x00000002)) {
  276. output.writeBytes(3, getSourceNameBytes());
  277. }
  278. if (((bitField0_ & 0x00000004) == 0x00000004)) {
  279. output.writeInt32(4, lineNumber_);
  280. }
  281. if (((bitField0_ & 0x00000008) == 0x00000008)) {
  282. output.writeBytes(5, getModuleNameBytes());
  283. }
  284. if (((bitField0_ & 0x00000010) == 0x00000010)) {
  285. output.writeInt32(6, size_);
  286. }
  287. if (((bitField0_ & 0x00000020) == 0x00000020)) {
  288. output.writeBytes(7, getNameBytes());
  289. }
  290. if (((bitField0_ & 0x00000040) == 0x00000040)) {
  291. output.writeBytes(8, getCompiledSourceBytes());
  292. }
  293. getUnknownFields().writeTo(output);
  294. }
  295. private int memoizedSerializedSize = -1;
  296. public int getSerializedSize() {
  297. int size = memoizedSerializedSize;
  298. if (size != -1) return size;
  299. size = 0;
  300. if (((bitField0_ & 0x00000001) == 0x00000001)) {
  301. size += com.google.protobuf.CodedOutputStream
  302. .computeInt32Size(2, id_);
  303. }
  304. if (((bitField0_ & 0x00000002) == 0x00000002)) {
  305. size += com.google.protobuf.CodedOutputStream
  306. .computeBytesSize(3, getSourceNameBytes());
  307. }
  308. if (((bitField0_ & 0x00000004) == 0x00000004)) {
  309. size += com.google.protobuf.CodedOutputStream
  310. .computeInt32Size(4, lineNumber_);
  311. }
  312. if (((bitField0_ & 0x00000008) == 0x00000008)) {
  313. size += com.google.protobuf.CodedOutputStream
  314. .computeBytesSize(5, getModuleNameBytes());
  315. }
  316. if (((bitField0_ & 0x00000010) == 0x00000010)) {
  317. size += com.google.protobuf.CodedOutputStream
  318. .computeInt32Size(6, size_);
  319. }
  320. if (((bitField0_ & 0x00000020) == 0x00000020)) {
  321. size += com.google.protobuf.CodedOutputStream
  322. .computeBytesSize(7, getNameBytes());
  323. }
  324. if (((bitField0_ & 0x00000040) == 0x00000040)) {
  325. size += com.google.protobuf.CodedOutputStream
  326. .computeBytesSize(8, getCompiledSourceBytes());
  327. }
  328. size += getUnknownFields().getSerializedSize();
  329. memoizedSerializedSize = size;
  330. return size;
  331. }
  332. private static final long serialVersionUID = 0L;
  333. @java.lang.Override
  334. protected java.lang.Object writeReplace()
  335. throws java.io.ObjectStreamException {
  336. return super.writeReplace();
  337. }
  338. public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
  339. com.google.protobuf.ByteString data)
  340. throws com.google.protobuf.InvalidProtocolBufferException {
  341. return newBuilder().mergeFrom(data).buildParsed();
  342. }
  343. public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
  344. com.google.protobuf.ByteString data,
  345. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  346. throws com.google.protobuf.InvalidProtocolBufferException {
  347. return newBuilder().mergeFrom(data, extensionRegistry)
  348. .buildParsed();
  349. }
  350. public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(byte[] data)
  351. throws com.google.protobuf.InvalidProtocolBufferException {
  352. return newBuilder().mergeFrom(data).buildParsed();
  353. }
  354. public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
  355. byte[] data,
  356. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  357. throws com.google.protobuf.InvalidProtocolBufferException {
  358. return newBuilder().mergeFrom(data, extensionRegistry)
  359. .buildParsed();
  360. }
  361. public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(java.io.InputStream input)
  362. throws java.io.IOException {
  363. return newBuilder().mergeFrom(input).buildParsed();
  364. }
  365. public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
  366. java.io.InputStream input,
  367. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  368. throws java.io.IOException {
  369. return newBuilder().mergeFrom(input, extensionRegistry)
  370. .buildParsed();
  371. }
  372. public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseDelimitedFrom(java.io.InputStream input)
  373. throws java.io.IOException {
  374. Builder builder = newBuilder();
  375. if (builder.mergeDelimitedFrom(input)) {
  376. return builder.buildParsed();
  377. } else {
  378. return null;
  379. }
  380. }
  381. public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseDelimitedFrom(
  382. java.io.InputStream input,
  383. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  384. throws java.io.IOException {
  385. Builder builder = newBuilder();
  386. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  387. return builder.buildParsed();
  388. } else {
  389. return null;
  390. }
  391. }
  392. public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
  393. com.google.protobuf.CodedInputStream input)
  394. throws java.io.IOException {
  395. return newBuilder().mergeFrom(input).buildParsed();
  396. }
  397. public static com.google.javascript.jscomp.FunctionInformationMap.Entry parseFrom(
  398. com.google.protobuf.CodedInputStream input,
  399. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  400. throws java.io.IOException {
  401. return newBuilder().mergeFrom(input, extensionRegistry)
  402. .buildParsed();
  403. }
  404. public static Builder newBuilder() { return Builder.create(); }
  405. public Builder newBuilderForType() { return newBuilder(); }
  406. public static Builder newBuilder(com.google.javascript.jscomp.FunctionInformationMap.Entry prototype) {
  407. return newBuilder().mergeFrom(prototype);
  408. }
  409. public Builder toBuilder() { return newBuilder(this); }
  410. @java.lang.Override
  411. protected Builder newBuilderForType(
  412. com.google.protobuf.GeneratedMessage.BuilderParent parent) {
  413. Builder builder = new Builder(parent);
  414. return builder;
  415. }
  416. public static final class Builder extends
  417. com.google.protobuf.GeneratedMessage.Builder<Builder>
  418. implements com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder {
  419. public static final com.google.protobuf.Descriptors.Descriptor
  420. getDescriptor() {
  421. return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Entry_descriptor;
  422. }
  423. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  424. internalGetFieldAccessorTable() {
  425. return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Entry_fieldAccessorTable;
  426. }
  427. // Construct using com.google.javascript.jscomp.FunctionInformationMap.Entry.newBuilder()
  428. private Builder() {
  429. maybeForceBuilderInitialization();
  430. }
  431. private Builder(BuilderParent parent) {
  432. super(parent);
  433. maybeForceBuilderInitialization();
  434. }
  435. private void maybeForceBuilderInitialization() {
  436. if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
  437. }
  438. }
  439. private static Builder create() {
  440. return new Builder();
  441. }
  442. public Builder clear() {
  443. super.clear();
  444. id_ = 0;
  445. bitField0_ = (bitField0_ & ~0x00000001);
  446. sourceName_ = "";
  447. bitField0_ = (bitField0_ & ~0x00000002);
  448. lineNumber_ = 0;
  449. bitField0_ = (bitField0_ & ~0x00000004);
  450. moduleName_ = "";
  451. bitField0_ = (bitField0_ & ~0x00000008);
  452. size_ = 0;
  453. bitField0_ = (bitField0_ & ~0x00000010);
  454. name_ = "";
  455. bitField0_ = (bitField0_ & ~0x00000020);
  456. compiledSource_ = "";
  457. bitField0_ = (bitField0_ & ~0x00000040);
  458. return this;
  459. }
  460. public Builder clone() {
  461. return create().mergeFrom(buildPartial());
  462. }
  463. public com.google.protobuf.Descriptors.Descriptor
  464. getDescriptorForType() {
  465. return com.google.javascript.jscomp.FunctionInformationMap.Entry.getDescriptor();
  466. }
  467. public com.google.javascript.jscomp.FunctionInformationMap.Entry getDefaultInstanceForType() {
  468. return com.google.javascript.jscomp.FunctionInformationMap.Entry.getDefaultInstance();
  469. }
  470. public com.google.javascript.jscomp.FunctionInformationMap.Entry build() {
  471. com.google.javascript.jscomp.FunctionInformationMap.Entry result = buildPartial();
  472. if (!result.isInitialized()) {
  473. throw newUninitializedMessageException(result);
  474. }
  475. return result;
  476. }
  477. private com.google.javascript.jscomp.FunctionInformationMap.Entry buildParsed()
  478. throws com.google.protobuf.InvalidProtocolBufferException {
  479. com.google.javascript.jscomp.FunctionInformationMap.Entry result = buildPartial();
  480. if (!result.isInitialized()) {
  481. throw newUninitializedMessageException(
  482. result).asInvalidProtocolBufferException();
  483. }
  484. return result;
  485. }
  486. public com.google.javascript.jscomp.FunctionInformationMap.Entry buildPartial() {
  487. com.google.javascript.jscomp.FunctionInformationMap.Entry result = new com.google.javascript.jscomp.FunctionInformationMap.Entry(this);
  488. int from_bitField0_ = bitField0_;
  489. int to_bitField0_ = 0;
  490. if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
  491. to_bitField0_ |= 0x00000001;
  492. }
  493. result.id_ = id_;
  494. if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
  495. to_bitField0_ |= 0x00000002;
  496. }
  497. result.sourceName_ = sourceName_;
  498. if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
  499. to_bitField0_ |= 0x00000004;
  500. }
  501. result.lineNumber_ = lineNumber_;
  502. if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
  503. to_bitField0_ |= 0x00000008;
  504. }
  505. result.moduleName_ = moduleName_;
  506. if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
  507. to_bitField0_ |= 0x00000010;
  508. }
  509. result.size_ = size_;
  510. if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
  511. to_bitField0_ |= 0x00000020;
  512. }
  513. result.name_ = name_;
  514. if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
  515. to_bitField0_ |= 0x00000040;
  516. }
  517. result.compiledSource_ = compiledSource_;
  518. result.bitField0_ = to_bitField0_;
  519. onBuilt();
  520. return result;
  521. }
  522. public Builder mergeFrom(com.google.protobuf.Message other) {
  523. if (other instanceof com.google.javascript.jscomp.FunctionInformationMap.Entry) {
  524. return mergeFrom((com.google.javascript.jscomp.FunctionInformationMap.Entry)other);
  525. } else {
  526. super.mergeFrom(other);
  527. return this;
  528. }
  529. }
  530. public Builder mergeFrom(com.google.javascript.jscomp.FunctionInformationMap.Entry other) {
  531. if (other == com.google.javascript.jscomp.FunctionInformationMap.Entry.getDefaultInstance()) return this;
  532. if (other.hasId()) {
  533. setId(other.getId());
  534. }
  535. if (other.hasSourceName()) {
  536. setSourceName(other.getSourceName());
  537. }
  538. if (other.hasLineNumber()) {
  539. setLineNumber(other.getLineNumber());
  540. }
  541. if (other.hasModuleName()) {
  542. setModuleName(other.getModuleName());
  543. }
  544. if (other.hasSize()) {
  545. setSize(other.getSize());
  546. }
  547. if (other.hasName()) {
  548. setName(other.getName());
  549. }
  550. if (other.hasCompiledSource()) {
  551. setCompiledSource(other.getCompiledSource());
  552. }
  553. this.mergeUnknownFields(other.getUnknownFields());
  554. return this;
  555. }
  556. public final boolean isInitialized() {
  557. if (!hasId()) {
  558. return false;
  559. }
  560. if (!hasSourceName()) {
  561. return false;
  562. }
  563. if (!hasLineNumber()) {
  564. return false;
  565. }
  566. if (!hasModuleName()) {
  567. return false;
  568. }
  569. if (!hasSize()) {
  570. return false;
  571. }
  572. if (!hasName()) {
  573. return false;
  574. }
  575. if (!hasCompiledSource()) {
  576. return false;
  577. }
  578. return true;
  579. }
  580. public Builder mergeFrom(
  581. com.google.protobuf.CodedInputStream input,
  582. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  583. throws java.io.IOException {
  584. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  585. com.google.protobuf.UnknownFieldSet.newBuilder(
  586. this.getUnknownFields());
  587. while (true) {
  588. int tag = input.readTag();
  589. switch (tag) {
  590. case 0:
  591. this.setUnknownFields(unknownFields.build());
  592. onChanged();
  593. return this;
  594. default: {
  595. if (!parseUnknownField(input, unknownFields,
  596. extensionRegistry, tag)) {
  597. this.setUnknownFields(unknownFields.build());
  598. onChanged();
  599. return this;
  600. }
  601. break;
  602. }
  603. case 16: {
  604. bitField0_ |= 0x00000001;
  605. id_ = input.readInt32();
  606. break;
  607. }
  608. case 26: {
  609. bitField0_ |= 0x00000002;
  610. sourceName_ = input.readBytes();
  611. break;
  612. }
  613. case 32: {
  614. bitField0_ |= 0x00000004;
  615. lineNumber_ = input.readInt32();
  616. break;
  617. }
  618. case 42: {
  619. bitField0_ |= 0x00000008;
  620. moduleName_ = input.readBytes();
  621. break;
  622. }
  623. case 48: {
  624. bitField0_ |= 0x00000010;
  625. size_ = input.readInt32();
  626. break;
  627. }
  628. case 58: {
  629. bitField0_ |= 0x00000020;
  630. name_ = input.readBytes();
  631. break;
  632. }
  633. case 66: {
  634. bitField0_ |= 0x00000040;
  635. compiledSource_ = input.readBytes();
  636. break;
  637. }
  638. }
  639. }
  640. }
  641. private int bitField0_;
  642. // required int32 id = 2;
  643. private int id_ ;
  644. public boolean hasId() {
  645. return ((bitField0_ & 0x00000001) == 0x00000001);
  646. }
  647. public int getId() {
  648. return id_;
  649. }
  650. public Builder setId(int value) {
  651. bitField0_ |= 0x00000001;
  652. id_ = value;
  653. onChanged();
  654. return this;
  655. }
  656. public Builder clearId() {
  657. bitField0_ = (bitField0_ & ~0x00000001);
  658. id_ = 0;
  659. onChanged();
  660. return this;
  661. }
  662. // required string source_name = 3;
  663. private java.lang.Object sourceName_ = "";
  664. public boolean hasSourceName() {
  665. return ((bitField0_ & 0x00000002) == 0x00000002);
  666. }
  667. public String getSourceName() {
  668. java.lang.Object ref = sourceName_;
  669. if (!(ref instanceof String)) {
  670. String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
  671. sourceName_ = s;
  672. return s;
  673. } else {
  674. return (String) ref;
  675. }
  676. }
  677. public Builder setSourceName(String value) {
  678. if (value == null) {
  679. throw new NullPointerException();
  680. }
  681. bitField0_ |= 0x00000002;
  682. sourceName_ = value;
  683. onChanged();
  684. return this;
  685. }
  686. public Builder clearSourceName() {
  687. bitField0_ = (bitField0_ & ~0x00000002);
  688. sourceName_ = getDefaultInstance().getSourceName();
  689. onChanged();
  690. return this;
  691. }
  692. void setSourceName(com.google.protobuf.ByteString value) {
  693. bitField0_ |= 0x00000002;
  694. sourceName_ = value;
  695. onChanged();
  696. }
  697. // required int32 line_number = 4;
  698. private int lineNumber_ ;
  699. public boolean hasLineNumber() {
  700. return ((bitField0_ & 0x00000004) == 0x00000004);
  701. }
  702. public int getLineNumber() {
  703. return lineNumber_;
  704. }
  705. public Builder setLineNumber(int value) {
  706. bitField0_ |= 0x00000004;
  707. lineNumber_ = value;
  708. onChanged();
  709. return this;
  710. }
  711. public Builder clearLineNumber() {
  712. bitField0_ = (bitField0_ & ~0x00000004);
  713. lineNumber_ = 0;
  714. onChanged();
  715. return this;
  716. }
  717. // required string module_name = 5;
  718. private java.lang.Object moduleName_ = "";
  719. public boolean hasModuleName() {
  720. return ((bitField0_ & 0x00000008) == 0x00000008);
  721. }
  722. public String getModuleName() {
  723. java.lang.Object ref = moduleName_;
  724. if (!(ref instanceof String)) {
  725. String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
  726. moduleName_ = s;
  727. return s;
  728. } else {
  729. return (String) ref;
  730. }
  731. }
  732. public Builder setModuleName(String value) {
  733. if (value == null) {
  734. throw new NullPointerException();
  735. }
  736. bitField0_ |= 0x00000008;
  737. moduleName_ = value;
  738. onChanged();
  739. return this;
  740. }
  741. public Builder clearModuleName() {
  742. bitField0_ = (bitField0_ & ~0x00000008);
  743. moduleName_ = getDefaultInstance().getModuleName();
  744. onChanged();
  745. return this;
  746. }
  747. void setModuleName(com.google.protobuf.ByteString value) {
  748. bitField0_ |= 0x00000008;
  749. moduleName_ = value;
  750. onChanged();
  751. }
  752. // required int32 size = 6;
  753. private int size_ ;
  754. public boolean hasSize() {
  755. return ((bitField0_ & 0x00000010) == 0x00000010);
  756. }
  757. public int getSize() {
  758. return size_;
  759. }
  760. public Builder setSize(int value) {
  761. bitField0_ |= 0x00000010;
  762. size_ = value;
  763. onChanged();
  764. return this;
  765. }
  766. public Builder clearSize() {
  767. bitField0_ = (bitField0_ & ~0x00000010);
  768. size_ = 0;
  769. onChanged();
  770. return this;
  771. }
  772. // required string name = 7;
  773. private java.lang.Object name_ = "";
  774. public boolean hasName() {
  775. return ((bitField0_ & 0x00000020) == 0x00000020);
  776. }
  777. public String getName() {
  778. java.lang.Object ref = name_;
  779. if (!(ref instanceof String)) {
  780. String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
  781. name_ = s;
  782. return s;
  783. } else {
  784. return (String) ref;
  785. }
  786. }
  787. public Builder setName(String value) {
  788. if (value == null) {
  789. throw new NullPointerException();
  790. }
  791. bitField0_ |= 0x00000020;
  792. name_ = value;
  793. onChanged();
  794. return this;
  795. }
  796. public Builder clearName() {
  797. bitField0_ = (bitField0_ & ~0x00000020);
  798. name_ = getDefaultInstance().getName();
  799. onChanged();
  800. return this;
  801. }
  802. void setName(com.google.protobuf.ByteString value) {
  803. bitField0_ |= 0x00000020;
  804. name_ = value;
  805. onChanged();
  806. }
  807. // required string compiled_source = 8;
  808. private java.lang.Object compiledSource_ = "";
  809. public boolean hasCompiledSource() {
  810. return ((bitField0_ & 0x00000040) == 0x00000040);
  811. }
  812. public String getCompiledSource() {
  813. java.lang.Object ref = compiledSource_;
  814. if (!(ref instanceof String)) {
  815. String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
  816. compiledSource_ = s;
  817. return s;
  818. } else {
  819. return (String) ref;
  820. }
  821. }
  822. public Builder setCompiledSource(String value) {
  823. if (value == null) {
  824. throw new NullPointerException();
  825. }
  826. bitField0_ |= 0x00000040;
  827. compiledSource_ = value;
  828. onChanged();
  829. return this;
  830. }
  831. public Builder clearCompiledSource() {
  832. bitField0_ = (bitField0_ & ~0x00000040);
  833. compiledSource_ = getDefaultInstance().getCompiledSource();
  834. onChanged();
  835. return this;
  836. }
  837. void setCompiledSource(com.google.protobuf.ByteString value) {
  838. bitField0_ |= 0x00000040;
  839. compiledSource_ = value;
  840. onChanged();
  841. }
  842. // @@protoc_insertion_point(builder_scope:jscomp.FunctionInformationMap.Entry)
  843. }
  844. static {
  845. defaultInstance = new Entry(true);
  846. defaultInstance.initFields();
  847. }
  848. // @@protoc_insertion_point(class_scope:jscomp.FunctionInformationMap.Entry)
  849. }
  850. public interface ModuleOrBuilder
  851. extends com.google.protobuf.MessageOrBuilder {
  852. // required string name = 102;
  853. boolean hasName();
  854. String getName();
  855. // required string compiled_source = 103;
  856. boolean hasCompiledSource();
  857. String getCompiledSource();
  858. }
  859. public static final class Module extends
  860. com.google.protobuf.GeneratedMessage
  861. implements ModuleOrBuilder {
  862. // Use Module.newBuilder() to construct.
  863. private Module(Builder builder) {
  864. super(builder);
  865. }
  866. private Module(boolean noInit) {}
  867. private static final Module defaultInstance;
  868. public static Module getDefaultInstance() {
  869. return defaultInstance;
  870. }
  871. public Module getDefaultInstanceForType() {
  872. return defaultInstance;
  873. }
  874. public static final com.google.protobuf.Descriptors.Descriptor
  875. getDescriptor() {
  876. return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Module_descriptor;
  877. }
  878. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  879. internalGetFieldAccessorTable() {
  880. return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Module_fieldAccessorTable;
  881. }
  882. private int bitField0_;
  883. // required string name = 102;
  884. public static final int NAME_FIELD_NUMBER = 102;
  885. private java.lang.Object name_;
  886. public boolean hasName() {
  887. return ((bitField0_ & 0x00000001) == 0x00000001);
  888. }
  889. public String getName() {
  890. java.lang.Object ref = name_;
  891. if (ref instanceof String) {
  892. return (String) ref;
  893. } else {
  894. com.google.protobuf.ByteString bs =
  895. (com.google.protobuf.ByteString) ref;
  896. String s = bs.toStringUtf8();
  897. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  898. name_ = s;
  899. }
  900. return s;
  901. }
  902. }
  903. private com.google.protobuf.ByteString getNameBytes() {
  904. java.lang.Object ref = name_;
  905. if (ref instanceof String) {
  906. com.google.protobuf.ByteString b =
  907. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  908. name_ = b;
  909. return b;
  910. } else {
  911. return (com.google.protobuf.ByteString) ref;
  912. }
  913. }
  914. // required string compiled_source = 103;
  915. public static final int COMPILED_SOURCE_FIELD_NUMBER = 103;
  916. private java.lang.Object compiledSource_;
  917. public boolean hasCompiledSource() {
  918. return ((bitField0_ & 0x00000002) == 0x00000002);
  919. }
  920. public String getCompiledSource() {
  921. java.lang.Object ref = compiledSource_;
  922. if (ref instanceof String) {
  923. return (String) ref;
  924. } else {
  925. com.google.protobuf.ByteString bs =
  926. (com.google.protobuf.ByteString) ref;
  927. String s = bs.toStringUtf8();
  928. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  929. compiledSource_ = s;
  930. }
  931. return s;
  932. }
  933. }
  934. private com.google.protobuf.ByteString getCompiledSourceBytes() {
  935. java.lang.Object ref = compiledSource_;
  936. if (ref instanceof String) {
  937. com.google.protobuf.ByteString b =
  938. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  939. compiledSource_ = b;
  940. return b;
  941. } else {
  942. return (com.google.protobuf.ByteString) ref;
  943. }
  944. }
  945. private void initFields() {
  946. name_ = "";
  947. compiledSource_ = "";
  948. }
  949. private byte memoizedIsInitialized = -1;
  950. public final boolean isInitialized() {
  951. byte isInitialized = memoizedIsInitialized;
  952. if (isInitialized != -1) return isInitialized == 1;
  953. if (!hasName()) {
  954. memoizedIsInitialized = 0;
  955. return false;
  956. }
  957. if (!hasCompiledSource()) {
  958. memoizedIsInitialized = 0;
  959. return false;
  960. }
  961. memoizedIsInitialized = 1;
  962. return true;
  963. }
  964. public void writeTo(com.google.protobuf.CodedOutputStream output)
  965. throws java.io.IOException {
  966. getSerializedSize();
  967. if (((bitField0_ & 0x00000001) == 0x00000001)) {
  968. output.writeBytes(102, getNameBytes());
  969. }
  970. if (((bitField0_ & 0x00000002) == 0x00000002)) {
  971. output.writeBytes(103, getCompiledSourceBytes());
  972. }
  973. getUnknownFields().writeTo(output);
  974. }
  975. private int memoizedSerializedSize = -1;
  976. public int getSerializedSize() {
  977. int size = memoizedSerializedSize;
  978. if (size != -1) return size;
  979. size = 0;
  980. if (((bitField0_ & 0x00000001) == 0x00000001)) {
  981. size += com.google.protobuf.CodedOutputStream
  982. .computeBytesSize(102, getNameBytes());
  983. }
  984. if (((bitField0_ & 0x00000002) == 0x00000002)) {
  985. size += com.google.protobuf.CodedOutputStream
  986. .computeBytesSize(103, getCompiledSourceBytes());
  987. }
  988. size += getUnknownFields().getSerializedSize();
  989. memoizedSerializedSize = size;
  990. return size;
  991. }
  992. private static final long serialVersionUID = 0L;
  993. @java.lang.Override
  994. protected java.lang.Object writeReplace()
  995. throws java.io.ObjectStreamException {
  996. return super.writeReplace();
  997. }
  998. public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(
  999. com.google.protobuf.ByteString data)
  1000. throws com.google.protobuf.InvalidProtocolBufferException {
  1001. return newBuilder().mergeFrom(data).buildParsed();
  1002. }
  1003. public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(
  1004. com.google.protobuf.ByteString data,
  1005. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1006. throws com.google.protobuf.InvalidProtocolBufferException {
  1007. return newBuilder().mergeFrom(data, extensionRegistry)
  1008. .buildParsed();
  1009. }
  1010. public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(byte[] data)
  1011. throws com.google.protobuf.InvalidProtocolBufferException {
  1012. return newBuilder().mergeFrom(data).buildParsed();
  1013. }
  1014. public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(
  1015. byte[] data,
  1016. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1017. throws com.google.protobuf.InvalidProtocolBufferException {
  1018. return newBuilder().mergeFrom(data, extensionRegistry)
  1019. .buildParsed();
  1020. }
  1021. public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(java.io.InputStream input)
  1022. throws java.io.IOException {
  1023. return newBuilder().mergeFrom(input).buildParsed();
  1024. }
  1025. public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(
  1026. java.io.InputStream input,
  1027. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1028. throws java.io.IOException {
  1029. return newBuilder().mergeFrom(input, extensionRegistry)
  1030. .buildParsed();
  1031. }
  1032. public static com.google.javascript.jscomp.FunctionInformationMap.Module parseDelimitedFrom(java.io.InputStream input)
  1033. throws java.io.IOException {
  1034. Builder builder = newBuilder();
  1035. if (builder.mergeDelimitedFrom(input)) {
  1036. return builder.buildParsed();
  1037. } else {
  1038. return null;
  1039. }
  1040. }
  1041. public static com.google.javascript.jscomp.FunctionInformationMap.Module parseDelimitedFrom(
  1042. java.io.InputStream input,
  1043. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1044. throws java.io.IOException {
  1045. Builder builder = newBuilder();
  1046. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  1047. return builder.buildParsed();
  1048. } else {
  1049. return null;
  1050. }
  1051. }
  1052. public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(
  1053. com.google.protobuf.CodedInputStream input)
  1054. throws java.io.IOException {
  1055. return newBuilder().mergeFrom(input).buildParsed();
  1056. }
  1057. public static com.google.javascript.jscomp.FunctionInformationMap.Module parseFrom(
  1058. com.google.protobuf.CodedInputStream input,
  1059. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1060. throws java.io.IOException {
  1061. return newBuilder().mergeFrom(input, extensionRegistry)
  1062. .buildParsed();
  1063. }
  1064. public static Builder newBuilder() { return Builder.create(); }
  1065. public Builder newBuilderForType() { return newBuilder(); }
  1066. public static Builder newBuilder(com.google.javascript.jscomp.FunctionInformationMap.Module prototype) {
  1067. return newBuilder().mergeFrom(prototype);
  1068. }
  1069. public Builder toBuilder() { return newBuilder(this); }
  1070. @java.lang.Override
  1071. protected Builder newBuilderForType(
  1072. com.google.protobuf.GeneratedMessage.BuilderParent parent) {
  1073. Builder builder = new Builder(parent);
  1074. return builder;
  1075. }
  1076. public static final class Builder extends
  1077. com.google.protobuf.GeneratedMessage.Builder<Builder>
  1078. implements com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder {
  1079. public static final com.google.protobuf.Descriptors.Descriptor
  1080. getDescriptor() {
  1081. return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Module_descriptor;
  1082. }
  1083. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  1084. internalGetFieldAccessorTable() {
  1085. return com.google.javascript.jscomp.FunctionInfo.internal_static_jscomp_FunctionInformationMap_Module_fieldAccessorTable;
  1086. }
  1087. // Construct using com.google.javascript.jscomp.FunctionInformationMap.Module.newBuilder()
  1088. private Builder() {
  1089. maybeForceBuilderInitialization();
  1090. }
  1091. private Builder(BuilderParent parent) {
  1092. super(parent);
  1093. maybeForceBuilderInitialization();
  1094. }
  1095. private void maybeForceBuilderInitialization() {
  1096. if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
  1097. }
  1098. }
  1099. private static Builder create() {
  1100. return new Builder();
  1101. }
  1102. public Builder clear() {
  1103. super.clear();
  1104. name_ = "";
  1105. bitField0_ = (bitField0_ & ~0x00000001);
  1106. compiledSource_ = "";
  1107. bitField0_ = (bitField0_ & ~0x00000002);
  1108. return this;
  1109. }
  1110. public Builder clone() {
  1111. return create().mergeFrom(buildPartial());
  1112. }
  1113. public com.google.protobuf.Descriptors.Descriptor
  1114. getDescriptorForType() {
  1115. return com.google.javascript.jscomp.FunctionInformationMap.Module.getDescriptor();
  1116. }
  1117. public com.google.javascript.jscomp.FunctionInformationMap.Module getDefaultInstanceForType() {
  1118. return com.google.javascript.jscomp.FunctionInformationMap.Module.getDefaultInstance();
  1119. }
  1120. public com.google.javascript.jscomp.FunctionInformationMap.Module build() {
  1121. com.google.javascript.jscomp.FunctionInformationMap.Module result = buildPartial();
  1122. if (!result.isInitialized()) {
  1123. throw newUninitializedMessageException(result);
  1124. }
  1125. return result;
  1126. }
  1127. private com.google.javascript.jscomp.FunctionInformationMap.Module buildParsed()
  1128. throws com.google.protobuf.InvalidProtocolBufferException {
  1129. com.google.javascript.jscomp.FunctionInformationMap.Module result = buildPartial();
  1130. if (!result.isInitialized()) {
  1131. throw newUninitializedMessageException(
  1132. result).asInvalidProtocolBufferException();
  1133. }
  1134. return result;
  1135. }
  1136. public com.google.javascript.jscomp.FunctionInformationMap.Module buildPartial() {
  1137. com.google.javascript.jscomp.FunctionInformationMap.Module result = new com.google.javascript.jscomp.FunctionInformationMap.Module(this);
  1138. int from_bitField0_ = bitField0_;
  1139. int to_bitField0_ = 0;
  1140. if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
  1141. to_bitField0_ |= 0x00000001;
  1142. }
  1143. result.name_ = name_;
  1144. if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
  1145. to_bitField0_ |= 0x00000002;
  1146. }
  1147. result.compiledSource_ = compiledSource_;
  1148. result.bitField0_ = to_bitField0_;
  1149. onBuilt();
  1150. return result;
  1151. }
  1152. public Builder mergeFrom(com.google.protobuf.Message other) {
  1153. if (other instanceof com.google.javascript.jscomp.FunctionInformationMap.Module) {
  1154. return mergeFrom((com.google.javascript.jscomp.FunctionInformationMap.Module)other);
  1155. } else {
  1156. super.mergeFrom(other);
  1157. return this;
  1158. }
  1159. }
  1160. public Builder mergeFrom(com.google.javascript.jscomp.FunctionInformationMap.Module other) {
  1161. if (other == com.google.javascript.jscomp.FunctionInformationMap.Module.getDefaultInstance()) return this;
  1162. if (other.hasName()) {
  1163. setName(other.getName());
  1164. }
  1165. if (other.hasCompiledSource()) {
  1166. setCompiledSource(other.getCompiledSource());
  1167. }
  1168. this.mergeUnknownFields(other.getUnknownFields());
  1169. return this;
  1170. }
  1171. public final boolean isInitialized() {
  1172. if (!hasName()) {
  1173. return false;
  1174. }
  1175. if (!hasCompiledSource()) {
  1176. return false;
  1177. }
  1178. return true;
  1179. }
  1180. public Builder mergeFrom(
  1181. com.google.protobuf.CodedInputStream input,
  1182. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1183. throws java.io.IOException {
  1184. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  1185. com.google.protobuf.UnknownFieldSet.newBuilder(
  1186. this.getUnknownFields());
  1187. while (true) {
  1188. int tag = input.readTag();
  1189. switch (tag) {
  1190. case 0:
  1191. this.setUnknownFields(unknownFields.build());
  1192. onChanged();
  1193. return this;
  1194. default: {
  1195. if (!parseUnknownField(input, unknownFields,
  1196. extensionRegistry, tag)) {
  1197. this.setUnknownFields(unknownFields.build());
  1198. onChanged();
  1199. return this;
  1200. }
  1201. break;
  1202. }
  1203. case 818: {
  1204. bitField0_ |= 0x00000001;
  1205. name_ = input.readBytes();
  1206. break;
  1207. }
  1208. case 826: {
  1209. bitField0_ |= 0x00000002;
  1210. compiledSource_ = input.readBytes();
  1211. break;
  1212. }
  1213. }
  1214. }
  1215. }
  1216. private int bitField0_;
  1217. // required string name = 102;
  1218. private java.lang.Object name_ = "";
  1219. public boolean hasName() {
  1220. return ((bitField0_ & 0x00000001) == 0x00000001);
  1221. }
  1222. public String getName() {
  1223. java.lang.Object ref = name_;
  1224. if (!(ref instanceof String)) {
  1225. String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
  1226. name_ = s;
  1227. return s;
  1228. } else {
  1229. return (String) ref;
  1230. }
  1231. }
  1232. public Builder setName(String value) {
  1233. if (value == null) {
  1234. throw new NullPointerException();
  1235. }
  1236. bitField0_ |= 0x00000001;
  1237. name_ = value;
  1238. onChanged();
  1239. return this;
  1240. }
  1241. public Builder clearName() {
  1242. bitField0_ = (bitField0_ & ~0x00000001);
  1243. name_ = getDefaultInstance().getName();
  1244. onChanged();
  1245. return this;
  1246. }
  1247. void setName(com.google.protobuf.ByteString value) {
  1248. bitField0_ |= 0x00000001;
  1249. name_ = value;
  1250. onChanged();
  1251. }
  1252. // required string compiled_source = 103;
  1253. private java.lang.Object compiledSource_ = "";
  1254. public boolean hasCompiledSource() {
  1255. return ((bitField0_ & 0x00000002) == 0x00000002);
  1256. }
  1257. public String getCompiledSource() {
  1258. java.lang.Object ref = compiledSource_;
  1259. if (!(ref instanceof String)) {
  1260. String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
  1261. compiledSource_ = s;
  1262. return s;
  1263. } else {
  1264. return (String) ref;
  1265. }
  1266. }
  1267. public Builder setCompiledSource(String value) {
  1268. if (value == null) {
  1269. throw new NullPointerException();
  1270. }
  1271. bitField0_ |= 0x00000002;
  1272. compiledSource_ = value;
  1273. onChanged();
  1274. return this;
  1275. }
  1276. public Builder clearCompiledSource() {
  1277. bitField0_ = (bitField0_ & ~0x00000002);
  1278. compiledSource_ = getDefaultInstance().getCompiledSource();
  1279. onChanged();
  1280. return this;
  1281. }
  1282. void setCompiledSource(com.google.protobuf.ByteString value) {
  1283. bitField0_ |= 0x00000002;
  1284. compiledSource_ = value;
  1285. onChanged();
  1286. }
  1287. // @@protoc_insertion_point(builder_scope:jscomp.FunctionInformationMap.Module)
  1288. }
  1289. static {
  1290. defaultInstance = new Module(true);
  1291. defaultInstance.initFields();
  1292. }
  1293. // @@protoc_insertion_point(class_scope:jscomp.FunctionInformationMap.Module)
  1294. }
  1295. // repeated group Entry = 1 {
  1296. public static final int ENTRY_FIELD_NUMBER = 1;
  1297. private java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Entry> entry_;
  1298. public java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Entry> getEntryList() {
  1299. return entry_;
  1300. }
  1301. public java.util.List<? extends com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder>
  1302. getEntryOrBuilderList() {
  1303. return entry_;
  1304. }
  1305. public int getEntryCount() {
  1306. return entry_.size();
  1307. }
  1308. public com.google.javascript.jscomp.FunctionInformationMap.Entry getEntry(int index) {
  1309. return entry_.get(index);
  1310. }
  1311. public com.google.javascript.jscomp.FunctionInformationMap.EntryOrBuilder getEntryOrBuilder(
  1312. int index) {
  1313. return entry_.get(index);
  1314. }
  1315. // repeated group Module = 101 {
  1316. public static final int MODULE_FIELD_NUMBER = 101;
  1317. private java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Module> module_;
  1318. public java.util.List<com.google.javascript.jscomp.FunctionInformationMap.Module> getModuleList() {
  1319. return module_;
  1320. }
  1321. public java.util.List<? extends com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder>
  1322. getModuleOrBuilderList() {
  1323. return module_;
  1324. }
  1325. public int getModuleCount() {
  1326. return module_.size();
  1327. }
  1328. public com.google.javascript.jscomp.FunctionInformationMap.Module getModule(int index) {
  1329. return module_.get(index);
  1330. }
  1331. public com.google.javascript.jscomp.FunctionInformationMap.ModuleOrBuilder getModuleOrBuilder(
  1332. int index) {
  1333. return module_.get(index);
  1334. }
  1335. private void initFields() {
  1336. entry_ = java.util.Collections.emptyList();
  1337. module_ = java.util.Collections.emptyList();
  1338. }
  1339. private byte memoizedIsInitialized = -1;
  1340. public final boolean isInitialized() {
  1341. byte isInitialized = memoizedIsInitialized;
  1342. if (isInitialized != -1) return isInitialized == 1;
  1343. for (int i = 0; i < getEntryCount(); i++) {
  1344. if (!getEntry(i).isInitialized()) {
  1345. memoizedIsInitialized = 0;
  1346. return false;
  1347. }
  1348. }
  1349. for (int i = 0; i < getModuleCount(); i++) {
  1350. if (!getModule(i).isInitialized()) {
  1351. memoizedIsInitialized = 0;
  1352. return false;
  1353. }
  1354. }
  1355. memoizedIsInitialized = 1;
  1356. return true;
  1357. }
  1358. public void writeTo(com.google.protobuf.CodedOutputStream output)
  1359. throws java.io.IOException {
  1360. getSerializedSize();
  1361. for (int i = 0; i < entry_.size(); i++) {
  1362. output.writeGroup(1, entry_.get(i));
  1363. }
  1364. for (int i = 0; i < module_.size(); i++) {
  1365. output.writeGroup(101, module_.get(i));
  1366. }
  1367. getUnknownFields().writeTo(output);
  1368. }
  1369. private int memoizedSerializedSize = -1;
  1370. public int getSerializedSize() {
  1371. int size = memoizedSerializedSize;
  1372. if (size != -1) return size;
  1373. size = 0;
  1374. for (int i = 0; i < entry_.size(); i++) {
  1375. size += com.google.protobuf.CodedOutputStream
  1376. .computeGroupSize(1, entry_.get(i));
  1377. }
  1378. for (int i = 0; i < module_.size(); i++) {
  1379. size += com.google.protobuf.CodedOutputStream
  1380. .computeGroupSize(101, module_.get(i));
  1381. }
  1382. size += getUnknownFields().getSerializedSize();
  1383. memoizedSerializedSize = size;
  1384. return size;
  1385. }
  1386. private static final long serialVersionUID = 0L;
  1387. @java.lang.Override
  1388. protected java.lang.Object writeReplace()
  1389. throws java.io.ObjectStreamException {
  1390. return super.writeReplace();
  1391. }
  1392. public static com.google.javascript.jscomp.FunctionInformationMap parseFrom(
  1393. com.google.protobuf.ByteStri

Large files files are truncated, but you can click here to view the full file