PageRenderTime 53ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 1ms

/traces/old/traceGen/src/com/google/protobuf/DescriptorProtos.java

https://code.google.com/p/synoptic/
Java | 1604 lines | 1437 code | 123 blank | 44 comment | 179 complexity | 8d86a09abf89e98311540f8650103a27 MD5 | raw file

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. // source: google/protobuf/descriptor.proto
  3. package com.google.protobuf;
  4. public final class DescriptorProtos {
  5. private DescriptorProtos() {}
  6. public static void registerAllExtensions(
  7. com.google.protobuf.ExtensionRegistry registry) {
  8. }
  9. public static final class FileDescriptorSet extends
  10. com.google.protobuf.GeneratedMessage {
  11. // Use FileDescriptorSet.newBuilder() to construct.
  12. private FileDescriptorSet() {
  13. initFields();
  14. }
  15. private FileDescriptorSet(boolean noInit) {}
  16. private static final FileDescriptorSet defaultInstance;
  17. public static FileDescriptorSet getDefaultInstance() {
  18. return defaultInstance;
  19. }
  20. public FileDescriptorSet getDefaultInstanceForType() {
  21. return defaultInstance;
  22. }
  23. public static final com.google.protobuf.Descriptors.Descriptor
  24. getDescriptor() {
  25. return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_descriptor;
  26. }
  27. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  28. internalGetFieldAccessorTable() {
  29. return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable;
  30. }
  31. // repeated .google.protobuf.FileDescriptorProto file = 1;
  32. public static final int FILE_FIELD_NUMBER = 1;
  33. private java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> file_ =
  34. java.util.Collections.emptyList();
  35. public java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> getFileList() {
  36. return file_;
  37. }
  38. public int getFileCount() { return file_.size(); }
  39. public com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) {
  40. return file_.get(index);
  41. }
  42. private void initFields() {
  43. }
  44. public final boolean isInitialized() {
  45. for (com.google.protobuf.DescriptorProtos.FileDescriptorProto element : getFileList()) {
  46. if (!element.isInitialized()) return false;
  47. }
  48. return true;
  49. }
  50. public void writeTo(com.google.protobuf.CodedOutputStream output)
  51. throws java.io.IOException {
  52. getSerializedSize();
  53. for (com.google.protobuf.DescriptorProtos.FileDescriptorProto element : getFileList()) {
  54. output.writeMessage(1, element);
  55. }
  56. getUnknownFields().writeTo(output);
  57. }
  58. private int memoizedSerializedSize = -1;
  59. public int getSerializedSize() {
  60. int size = memoizedSerializedSize;
  61. if (size != -1) return size;
  62. size = 0;
  63. for (com.google.protobuf.DescriptorProtos.FileDescriptorProto element : getFileList()) {
  64. size += com.google.protobuf.CodedOutputStream
  65. .computeMessageSize(1, element);
  66. }
  67. size += getUnknownFields().getSerializedSize();
  68. memoizedSerializedSize = size;
  69. return size;
  70. }
  71. public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
  72. com.google.protobuf.ByteString data)
  73. throws com.google.protobuf.InvalidProtocolBufferException {
  74. return newBuilder().mergeFrom(data).buildParsed();
  75. }
  76. public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
  77. com.google.protobuf.ByteString data,
  78. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  79. throws com.google.protobuf.InvalidProtocolBufferException {
  80. return newBuilder().mergeFrom(data, extensionRegistry)
  81. .buildParsed();
  82. }
  83. public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(byte[] data)
  84. throws com.google.protobuf.InvalidProtocolBufferException {
  85. return newBuilder().mergeFrom(data).buildParsed();
  86. }
  87. public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
  88. byte[] data,
  89. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  90. throws com.google.protobuf.InvalidProtocolBufferException {
  91. return newBuilder().mergeFrom(data, extensionRegistry)
  92. .buildParsed();
  93. }
  94. public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(java.io.InputStream input)
  95. throws java.io.IOException {
  96. return newBuilder().mergeFrom(input).buildParsed();
  97. }
  98. public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
  99. java.io.InputStream input,
  100. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  101. throws java.io.IOException {
  102. return newBuilder().mergeFrom(input, extensionRegistry)
  103. .buildParsed();
  104. }
  105. public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseDelimitedFrom(java.io.InputStream input)
  106. throws java.io.IOException {
  107. Builder builder = newBuilder();
  108. if (builder.mergeDelimitedFrom(input)) {
  109. return builder.buildParsed();
  110. } else {
  111. return null;
  112. }
  113. }
  114. public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseDelimitedFrom(
  115. java.io.InputStream input,
  116. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  117. throws java.io.IOException {
  118. Builder builder = newBuilder();
  119. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  120. return builder.buildParsed();
  121. } else {
  122. return null;
  123. }
  124. }
  125. public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
  126. com.google.protobuf.CodedInputStream input)
  127. throws java.io.IOException {
  128. return newBuilder().mergeFrom(input).buildParsed();
  129. }
  130. public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
  131. com.google.protobuf.CodedInputStream input,
  132. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  133. throws java.io.IOException {
  134. return newBuilder().mergeFrom(input, extensionRegistry)
  135. .buildParsed();
  136. }
  137. public static Builder newBuilder() { return Builder.create(); }
  138. public Builder newBuilderForType() { return newBuilder(); }
  139. public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FileDescriptorSet prototype) {
  140. return newBuilder().mergeFrom(prototype);
  141. }
  142. public Builder toBuilder() { return newBuilder(this); }
  143. public static final class Builder extends
  144. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  145. private com.google.protobuf.DescriptorProtos.FileDescriptorSet result;
  146. // Construct using com.google.protobuf.DescriptorProtos.FileDescriptorSet.newBuilder()
  147. private Builder() {}
  148. private static Builder create() {
  149. Builder builder = new Builder();
  150. builder.result = new com.google.protobuf.DescriptorProtos.FileDescriptorSet();
  151. return builder;
  152. }
  153. protected com.google.protobuf.DescriptorProtos.FileDescriptorSet internalGetResult() {
  154. return result;
  155. }
  156. public Builder clear() {
  157. if (result == null) {
  158. throw new IllegalStateException(
  159. "Cannot call clear() after build().");
  160. }
  161. result = new com.google.protobuf.DescriptorProtos.FileDescriptorSet();
  162. return this;
  163. }
  164. public Builder clone() {
  165. return create().mergeFrom(result);
  166. }
  167. public com.google.protobuf.Descriptors.Descriptor
  168. getDescriptorForType() {
  169. return com.google.protobuf.DescriptorProtos.FileDescriptorSet.getDescriptor();
  170. }
  171. public com.google.protobuf.DescriptorProtos.FileDescriptorSet getDefaultInstanceForType() {
  172. return com.google.protobuf.DescriptorProtos.FileDescriptorSet.getDefaultInstance();
  173. }
  174. public boolean isInitialized() {
  175. return result.isInitialized();
  176. }
  177. public com.google.protobuf.DescriptorProtos.FileDescriptorSet build() {
  178. if (result != null && !isInitialized()) {
  179. throw newUninitializedMessageException(result);
  180. }
  181. return buildPartial();
  182. }
  183. private com.google.protobuf.DescriptorProtos.FileDescriptorSet buildParsed()
  184. throws com.google.protobuf.InvalidProtocolBufferException {
  185. if (!isInitialized()) {
  186. throw newUninitializedMessageException(
  187. result).asInvalidProtocolBufferException();
  188. }
  189. return buildPartial();
  190. }
  191. public com.google.protobuf.DescriptorProtos.FileDescriptorSet buildPartial() {
  192. if (result == null) {
  193. throw new IllegalStateException(
  194. "build() has already been called on this Builder.");
  195. }
  196. if (result.file_ != java.util.Collections.EMPTY_LIST) {
  197. result.file_ =
  198. java.util.Collections.unmodifiableList(result.file_);
  199. }
  200. com.google.protobuf.DescriptorProtos.FileDescriptorSet returnMe = result;
  201. result = null;
  202. return returnMe;
  203. }
  204. public Builder mergeFrom(com.google.protobuf.Message other) {
  205. if (other instanceof com.google.protobuf.DescriptorProtos.FileDescriptorSet) {
  206. return mergeFrom((com.google.protobuf.DescriptorProtos.FileDescriptorSet)other);
  207. } else {
  208. super.mergeFrom(other);
  209. return this;
  210. }
  211. }
  212. public Builder mergeFrom(com.google.protobuf.DescriptorProtos.FileDescriptorSet other) {
  213. if (other == com.google.protobuf.DescriptorProtos.FileDescriptorSet.getDefaultInstance()) return this;
  214. if (!other.file_.isEmpty()) {
  215. if (result.file_.isEmpty()) {
  216. result.file_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FileDescriptorProto>();
  217. }
  218. result.file_.addAll(other.file_);
  219. }
  220. this.mergeUnknownFields(other.getUnknownFields());
  221. return this;
  222. }
  223. public Builder mergeFrom(
  224. com.google.protobuf.CodedInputStream input,
  225. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  226. throws java.io.IOException {
  227. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  228. com.google.protobuf.UnknownFieldSet.newBuilder(
  229. this.getUnknownFields());
  230. while (true) {
  231. int tag = input.readTag();
  232. switch (tag) {
  233. case 0:
  234. this.setUnknownFields(unknownFields.build());
  235. return this;
  236. default: {
  237. if (!parseUnknownField(input, unknownFields,
  238. extensionRegistry, tag)) {
  239. this.setUnknownFields(unknownFields.build());
  240. return this;
  241. }
  242. break;
  243. }
  244. case 10: {
  245. com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.FileDescriptorProto.newBuilder();
  246. input.readMessage(subBuilder, extensionRegistry);
  247. addFile(subBuilder.buildPartial());
  248. break;
  249. }
  250. }
  251. }
  252. }
  253. // repeated .google.protobuf.FileDescriptorProto file = 1;
  254. public java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> getFileList() {
  255. return java.util.Collections.unmodifiableList(result.file_);
  256. }
  257. public int getFileCount() {
  258. return result.getFileCount();
  259. }
  260. public com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) {
  261. return result.getFile(index);
  262. }
  263. public Builder setFile(int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
  264. if (value == null) {
  265. throw new NullPointerException();
  266. }
  267. result.file_.set(index, value);
  268. return this;
  269. }
  270. public Builder setFile(int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) {
  271. result.file_.set(index, builderForValue.build());
  272. return this;
  273. }
  274. public Builder addFile(com.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
  275. if (value == null) {
  276. throw new NullPointerException();
  277. }
  278. if (result.file_.isEmpty()) {
  279. result.file_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FileDescriptorProto>();
  280. }
  281. result.file_.add(value);
  282. return this;
  283. }
  284. public Builder addFile(com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) {
  285. if (result.file_.isEmpty()) {
  286. result.file_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FileDescriptorProto>();
  287. }
  288. result.file_.add(builderForValue.build());
  289. return this;
  290. }
  291. public Builder addAllFile(
  292. java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.FileDescriptorProto> values) {
  293. if (result.file_.isEmpty()) {
  294. result.file_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FileDescriptorProto>();
  295. }
  296. super.addAll(values, result.file_);
  297. return this;
  298. }
  299. public Builder clearFile() {
  300. result.file_ = java.util.Collections.emptyList();
  301. return this;
  302. }
  303. // @@protoc_insertion_point(builder_scope:google.protobuf.FileDescriptorSet)
  304. }
  305. static {
  306. defaultInstance = new FileDescriptorSet(true);
  307. com.google.protobuf.DescriptorProtos.internalForceInit();
  308. defaultInstance.initFields();
  309. }
  310. // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
  311. }
  312. public static final class FileDescriptorProto extends
  313. com.google.protobuf.GeneratedMessage {
  314. // Use FileDescriptorProto.newBuilder() to construct.
  315. private FileDescriptorProto() {
  316. initFields();
  317. }
  318. private FileDescriptorProto(boolean noInit) {}
  319. private static final FileDescriptorProto defaultInstance;
  320. public static FileDescriptorProto getDefaultInstance() {
  321. return defaultInstance;
  322. }
  323. public FileDescriptorProto getDefaultInstanceForType() {
  324. return defaultInstance;
  325. }
  326. public static final com.google.protobuf.Descriptors.Descriptor
  327. getDescriptor() {
  328. return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_descriptor;
  329. }
  330. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  331. internalGetFieldAccessorTable() {
  332. return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable;
  333. }
  334. // optional string name = 1;
  335. public static final int NAME_FIELD_NUMBER = 1;
  336. private boolean hasName;
  337. private java.lang.String name_ = "";
  338. public boolean hasName() { return hasName; }
  339. public java.lang.String getName() { return name_; }
  340. // optional string package = 2;
  341. public static final int PACKAGE_FIELD_NUMBER = 2;
  342. private boolean hasPackage;
  343. private java.lang.String package_ = "";
  344. public boolean hasPackage() { return hasPackage; }
  345. public java.lang.String getPackage() { return package_; }
  346. // repeated string dependency = 3;
  347. public static final int DEPENDENCY_FIELD_NUMBER = 3;
  348. private java.util.List<java.lang.String> dependency_ =
  349. java.util.Collections.emptyList();
  350. public java.util.List<java.lang.String> getDependencyList() {
  351. return dependency_;
  352. }
  353. public int getDependencyCount() { return dependency_.size(); }
  354. public java.lang.String getDependency(int index) {
  355. return dependency_.get(index);
  356. }
  357. // repeated .google.protobuf.DescriptorProto message_type = 4;
  358. public static final int MESSAGE_TYPE_FIELD_NUMBER = 4;
  359. private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> messageType_ =
  360. java.util.Collections.emptyList();
  361. public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getMessageTypeList() {
  362. return messageType_;
  363. }
  364. public int getMessageTypeCount() { return messageType_.size(); }
  365. public com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) {
  366. return messageType_.get(index);
  367. }
  368. // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
  369. public static final int ENUM_TYPE_FIELD_NUMBER = 5;
  370. private java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> enumType_ =
  371. java.util.Collections.emptyList();
  372. public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() {
  373. return enumType_;
  374. }
  375. public int getEnumTypeCount() { return enumType_.size(); }
  376. public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
  377. return enumType_.get(index);
  378. }
  379. // repeated .google.protobuf.ServiceDescriptorProto service = 6;
  380. public static final int SERVICE_FIELD_NUMBER = 6;
  381. private java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> service_ =
  382. java.util.Collections.emptyList();
  383. public java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> getServiceList() {
  384. return service_;
  385. }
  386. public int getServiceCount() { return service_.size(); }
  387. public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) {
  388. return service_.get(index);
  389. }
  390. // repeated .google.protobuf.FieldDescriptorProto extension = 7;
  391. public static final int EXTENSION_FIELD_NUMBER = 7;
  392. private java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> extension_ =
  393. java.util.Collections.emptyList();
  394. public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() {
  395. return extension_;
  396. }
  397. public int getExtensionCount() { return extension_.size(); }
  398. public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
  399. return extension_.get(index);
  400. }
  401. // optional .google.protobuf.FileOptions options = 8;
  402. public static final int OPTIONS_FIELD_NUMBER = 8;
  403. private boolean hasOptions;
  404. private com.google.protobuf.DescriptorProtos.FileOptions options_;
  405. public boolean hasOptions() { return hasOptions; }
  406. public com.google.protobuf.DescriptorProtos.FileOptions getOptions() { return options_; }
  407. private void initFields() {
  408. options_ = com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance();
  409. }
  410. public final boolean isInitialized() {
  411. for (com.google.protobuf.DescriptorProtos.DescriptorProto element : getMessageTypeList()) {
  412. if (!element.isInitialized()) return false;
  413. }
  414. for (com.google.protobuf.DescriptorProtos.EnumDescriptorProto element : getEnumTypeList()) {
  415. if (!element.isInitialized()) return false;
  416. }
  417. for (com.google.protobuf.DescriptorProtos.ServiceDescriptorProto element : getServiceList()) {
  418. if (!element.isInitialized()) return false;
  419. }
  420. for (com.google.protobuf.DescriptorProtos.FieldDescriptorProto element : getExtensionList()) {
  421. if (!element.isInitialized()) return false;
  422. }
  423. if (hasOptions()) {
  424. if (!getOptions().isInitialized()) return false;
  425. }
  426. return true;
  427. }
  428. public void writeTo(com.google.protobuf.CodedOutputStream output)
  429. throws java.io.IOException {
  430. getSerializedSize();
  431. if (hasName()) {
  432. output.writeString(1, getName());
  433. }
  434. if (hasPackage()) {
  435. output.writeString(2, getPackage());
  436. }
  437. for (java.lang.String element : getDependencyList()) {
  438. output.writeString(3, element);
  439. }
  440. for (com.google.protobuf.DescriptorProtos.DescriptorProto element : getMessageTypeList()) {
  441. output.writeMessage(4, element);
  442. }
  443. for (com.google.protobuf.DescriptorProtos.EnumDescriptorProto element : getEnumTypeList()) {
  444. output.writeMessage(5, element);
  445. }
  446. for (com.google.protobuf.DescriptorProtos.ServiceDescriptorProto element : getServiceList()) {
  447. output.writeMessage(6, element);
  448. }
  449. for (com.google.protobuf.DescriptorProtos.FieldDescriptorProto element : getExtensionList()) {
  450. output.writeMessage(7, element);
  451. }
  452. if (hasOptions()) {
  453. output.writeMessage(8, getOptions());
  454. }
  455. getUnknownFields().writeTo(output);
  456. }
  457. private int memoizedSerializedSize = -1;
  458. public int getSerializedSize() {
  459. int size = memoizedSerializedSize;
  460. if (size != -1) return size;
  461. size = 0;
  462. if (hasName()) {
  463. size += com.google.protobuf.CodedOutputStream
  464. .computeStringSize(1, getName());
  465. }
  466. if (hasPackage()) {
  467. size += com.google.protobuf.CodedOutputStream
  468. .computeStringSize(2, getPackage());
  469. }
  470. {
  471. int dataSize = 0;
  472. for (java.lang.String element : getDependencyList()) {
  473. dataSize += com.google.protobuf.CodedOutputStream
  474. .computeStringSizeNoTag(element);
  475. }
  476. size += dataSize;
  477. size += 1 * getDependencyList().size();
  478. }
  479. for (com.google.protobuf.DescriptorProtos.DescriptorProto element : getMessageTypeList()) {
  480. size += com.google.protobuf.CodedOutputStream
  481. .computeMessageSize(4, element);
  482. }
  483. for (com.google.protobuf.DescriptorProtos.EnumDescriptorProto element : getEnumTypeList()) {
  484. size += com.google.protobuf.CodedOutputStream
  485. .computeMessageSize(5, element);
  486. }
  487. for (com.google.protobuf.DescriptorProtos.ServiceDescriptorProto element : getServiceList()) {
  488. size += com.google.protobuf.CodedOutputStream
  489. .computeMessageSize(6, element);
  490. }
  491. for (com.google.protobuf.DescriptorProtos.FieldDescriptorProto element : getExtensionList()) {
  492. size += com.google.protobuf.CodedOutputStream
  493. .computeMessageSize(7, element);
  494. }
  495. if (hasOptions()) {
  496. size += com.google.protobuf.CodedOutputStream
  497. .computeMessageSize(8, getOptions());
  498. }
  499. size += getUnknownFields().getSerializedSize();
  500. memoizedSerializedSize = size;
  501. return size;
  502. }
  503. public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
  504. com.google.protobuf.ByteString data)
  505. throws com.google.protobuf.InvalidProtocolBufferException {
  506. return newBuilder().mergeFrom(data).buildParsed();
  507. }
  508. public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
  509. com.google.protobuf.ByteString data,
  510. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  511. throws com.google.protobuf.InvalidProtocolBufferException {
  512. return newBuilder().mergeFrom(data, extensionRegistry)
  513. .buildParsed();
  514. }
  515. public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(byte[] data)
  516. throws com.google.protobuf.InvalidProtocolBufferException {
  517. return newBuilder().mergeFrom(data).buildParsed();
  518. }
  519. public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
  520. byte[] data,
  521. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  522. throws com.google.protobuf.InvalidProtocolBufferException {
  523. return newBuilder().mergeFrom(data, extensionRegistry)
  524. .buildParsed();
  525. }
  526. public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(java.io.InputStream input)
  527. throws java.io.IOException {
  528. return newBuilder().mergeFrom(input).buildParsed();
  529. }
  530. public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
  531. java.io.InputStream input,
  532. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  533. throws java.io.IOException {
  534. return newBuilder().mergeFrom(input, extensionRegistry)
  535. .buildParsed();
  536. }
  537. public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseDelimitedFrom(java.io.InputStream input)
  538. throws java.io.IOException {
  539. Builder builder = newBuilder();
  540. if (builder.mergeDelimitedFrom(input)) {
  541. return builder.buildParsed();
  542. } else {
  543. return null;
  544. }
  545. }
  546. public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseDelimitedFrom(
  547. java.io.InputStream input,
  548. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  549. throws java.io.IOException {
  550. Builder builder = newBuilder();
  551. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  552. return builder.buildParsed();
  553. } else {
  554. return null;
  555. }
  556. }
  557. public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
  558. com.google.protobuf.CodedInputStream input)
  559. throws java.io.IOException {
  560. return newBuilder().mergeFrom(input).buildParsed();
  561. }
  562. public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
  563. com.google.protobuf.CodedInputStream input,
  564. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  565. throws java.io.IOException {
  566. return newBuilder().mergeFrom(input, extensionRegistry)
  567. .buildParsed();
  568. }
  569. public static Builder newBuilder() { return Builder.create(); }
  570. public Builder newBuilderForType() { return newBuilder(); }
  571. public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FileDescriptorProto prototype) {
  572. return newBuilder().mergeFrom(prototype);
  573. }
  574. public Builder toBuilder() { return newBuilder(this); }
  575. public static final class Builder extends
  576. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  577. private com.google.protobuf.DescriptorProtos.FileDescriptorProto result;
  578. // Construct using com.google.protobuf.DescriptorProtos.FileDescriptorProto.newBuilder()
  579. private Builder() {}
  580. private static Builder create() {
  581. Builder builder = new Builder();
  582. builder.result = new com.google.protobuf.DescriptorProtos.FileDescriptorProto();
  583. return builder;
  584. }
  585. protected com.google.protobuf.DescriptorProtos.FileDescriptorProto internalGetResult() {
  586. return result;
  587. }
  588. public Builder clear() {
  589. if (result == null) {
  590. throw new IllegalStateException(
  591. "Cannot call clear() after build().");
  592. }
  593. result = new com.google.protobuf.DescriptorProtos.FileDescriptorProto();
  594. return this;
  595. }
  596. public Builder clone() {
  597. return create().mergeFrom(result);
  598. }
  599. public com.google.protobuf.Descriptors.Descriptor
  600. getDescriptorForType() {
  601. return com.google.protobuf.DescriptorProtos.FileDescriptorProto.getDescriptor();
  602. }
  603. public com.google.protobuf.DescriptorProtos.FileDescriptorProto getDefaultInstanceForType() {
  604. return com.google.protobuf.DescriptorProtos.FileDescriptorProto.getDefaultInstance();
  605. }
  606. public boolean isInitialized() {
  607. return result.isInitialized();
  608. }
  609. public com.google.protobuf.DescriptorProtos.FileDescriptorProto build() {
  610. if (result != null && !isInitialized()) {
  611. throw newUninitializedMessageException(result);
  612. }
  613. return buildPartial();
  614. }
  615. private com.google.protobuf.DescriptorProtos.FileDescriptorProto buildParsed()
  616. throws com.google.protobuf.InvalidProtocolBufferException {
  617. if (!isInitialized()) {
  618. throw newUninitializedMessageException(
  619. result).asInvalidProtocolBufferException();
  620. }
  621. return buildPartial();
  622. }
  623. public com.google.protobuf.DescriptorProtos.FileDescriptorProto buildPartial() {
  624. if (result == null) {
  625. throw new IllegalStateException(
  626. "build() has already been called on this Builder.");
  627. }
  628. if (result.dependency_ != java.util.Collections.EMPTY_LIST) {
  629. result.dependency_ =
  630. java.util.Collections.unmodifiableList(result.dependency_);
  631. }
  632. if (result.messageType_ != java.util.Collections.EMPTY_LIST) {
  633. result.messageType_ =
  634. java.util.Collections.unmodifiableList(result.messageType_);
  635. }
  636. if (result.enumType_ != java.util.Collections.EMPTY_LIST) {
  637. result.enumType_ =
  638. java.util.Collections.unmodifiableList(result.enumType_);
  639. }
  640. if (result.service_ != java.util.Collections.EMPTY_LIST) {
  641. result.service_ =
  642. java.util.Collections.unmodifiableList(result.service_);
  643. }
  644. if (result.extension_ != java.util.Collections.EMPTY_LIST) {
  645. result.extension_ =
  646. java.util.Collections.unmodifiableList(result.extension_);
  647. }
  648. com.google.protobuf.DescriptorProtos.FileDescriptorProto returnMe = result;
  649. result = null;
  650. return returnMe;
  651. }
  652. public Builder mergeFrom(com.google.protobuf.Message other) {
  653. if (other instanceof com.google.protobuf.DescriptorProtos.FileDescriptorProto) {
  654. return mergeFrom((com.google.protobuf.DescriptorProtos.FileDescriptorProto)other);
  655. } else {
  656. super.mergeFrom(other);
  657. return this;
  658. }
  659. }
  660. public Builder mergeFrom(com.google.protobuf.DescriptorProtos.FileDescriptorProto other) {
  661. if (other == com.google.protobuf.DescriptorProtos.FileDescriptorProto.getDefaultInstance()) return this;
  662. if (other.hasName()) {
  663. setName(other.getName());
  664. }
  665. if (other.hasPackage()) {
  666. setPackage(other.getPackage());
  667. }
  668. if (!other.dependency_.isEmpty()) {
  669. if (result.dependency_.isEmpty()) {
  670. result.dependency_ = new java.util.ArrayList<java.lang.String>();
  671. }
  672. result.dependency_.addAll(other.dependency_);
  673. }
  674. if (!other.messageType_.isEmpty()) {
  675. if (result.messageType_.isEmpty()) {
  676. result.messageType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto>();
  677. }
  678. result.messageType_.addAll(other.messageType_);
  679. }
  680. if (!other.enumType_.isEmpty()) {
  681. if (result.enumType_.isEmpty()) {
  682. result.enumType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.EnumDescriptorProto>();
  683. }
  684. result.enumType_.addAll(other.enumType_);
  685. }
  686. if (!other.service_.isEmpty()) {
  687. if (result.service_.isEmpty()) {
  688. result.service_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto>();
  689. }
  690. result.service_.addAll(other.service_);
  691. }
  692. if (!other.extension_.isEmpty()) {
  693. if (result.extension_.isEmpty()) {
  694. result.extension_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>();
  695. }
  696. result.extension_.addAll(other.extension_);
  697. }
  698. if (other.hasOptions()) {
  699. mergeOptions(other.getOptions());
  700. }
  701. this.mergeUnknownFields(other.getUnknownFields());
  702. return this;
  703. }
  704. public Builder mergeFrom(
  705. com.google.protobuf.CodedInputStream input,
  706. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  707. throws java.io.IOException {
  708. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  709. com.google.protobuf.UnknownFieldSet.newBuilder(
  710. this.getUnknownFields());
  711. while (true) {
  712. int tag = input.readTag();
  713. switch (tag) {
  714. case 0:
  715. this.setUnknownFields(unknownFields.build());
  716. return this;
  717. default: {
  718. if (!parseUnknownField(input, unknownFields,
  719. extensionRegistry, tag)) {
  720. this.setUnknownFields(unknownFields.build());
  721. return this;
  722. }
  723. break;
  724. }
  725. case 10: {
  726. setName(input.readString());
  727. break;
  728. }
  729. case 18: {
  730. setPackage(input.readString());
  731. break;
  732. }
  733. case 26: {
  734. addDependency(input.readString());
  735. break;
  736. }
  737. case 34: {
  738. com.google.protobuf.DescriptorProtos.DescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.DescriptorProto.newBuilder();
  739. input.readMessage(subBuilder, extensionRegistry);
  740. addMessageType(subBuilder.buildPartial());
  741. break;
  742. }
  743. case 42: {
  744. com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.EnumDescriptorProto.newBuilder();
  745. input.readMessage(subBuilder, extensionRegistry);
  746. addEnumType(subBuilder.buildPartial());
  747. break;
  748. }
  749. case 50: {
  750. com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.newBuilder();
  751. input.readMessage(subBuilder, extensionRegistry);
  752. addService(subBuilder.buildPartial());
  753. break;
  754. }
  755. case 58: {
  756. com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.newBuilder();
  757. input.readMessage(subBuilder, extensionRegistry);
  758. addExtension(subBuilder.buildPartial());
  759. break;
  760. }
  761. case 66: {
  762. com.google.protobuf.DescriptorProtos.FileOptions.Builder subBuilder = com.google.protobuf.DescriptorProtos.FileOptions.newBuilder();
  763. if (hasOptions()) {
  764. subBuilder.mergeFrom(getOptions());
  765. }
  766. input.readMessage(subBuilder, extensionRegistry);
  767. setOptions(subBuilder.buildPartial());
  768. break;
  769. }
  770. }
  771. }
  772. }
  773. // optional string name = 1;
  774. public boolean hasName() {
  775. return result.hasName();
  776. }
  777. public java.lang.String getName() {
  778. return result.getName();
  779. }
  780. public Builder setName(java.lang.String value) {
  781. if (value == null) {
  782. throw new NullPointerException();
  783. }
  784. result.hasName = true;
  785. result.name_ = value;
  786. return this;
  787. }
  788. public Builder clearName() {
  789. result.hasName = false;
  790. result.name_ = getDefaultInstance().getName();
  791. return this;
  792. }
  793. // optional string package = 2;
  794. public boolean hasPackage() {
  795. return result.hasPackage();
  796. }
  797. public java.lang.String getPackage() {
  798. return result.getPackage();
  799. }
  800. public Builder setPackage(java.lang.String value) {
  801. if (value == null) {
  802. throw new NullPointerException();
  803. }
  804. result.hasPackage = true;
  805. result.package_ = value;
  806. return this;
  807. }
  808. public Builder clearPackage() {
  809. result.hasPackage = false;
  810. result.package_ = getDefaultInstance().getPackage();
  811. return this;
  812. }
  813. // repeated string dependency = 3;
  814. public java.util.List<java.lang.String> getDependencyList() {
  815. return java.util.Collections.unmodifiableList(result.dependency_);
  816. }
  817. public int getDependencyCount() {
  818. return result.getDependencyCount();
  819. }
  820. public java.lang.String getDependency(int index) {
  821. return result.getDependency(index);
  822. }
  823. public Builder setDependency(int index, java.lang.String value) {
  824. if (value == null) {
  825. throw new NullPointerException();
  826. }
  827. result.dependency_.set(index, value);
  828. return this;
  829. }
  830. public Builder addDependency(java.lang.String value) {
  831. if (value == null) {
  832. throw new NullPointerException();
  833. }
  834. if (result.dependency_.isEmpty()) {
  835. result.dependency_ = new java.util.ArrayList<java.lang.String>();
  836. }
  837. result.dependency_.add(value);
  838. return this;
  839. }
  840. public Builder addAllDependency(
  841. java.lang.Iterable<? extends java.lang.String> values) {
  842. if (result.dependency_.isEmpty()) {
  843. result.dependency_ = new java.util.ArrayList<java.lang.String>();
  844. }
  845. super.addAll(values, result.dependency_);
  846. return this;
  847. }
  848. public Builder clearDependency() {
  849. result.dependency_ = java.util.Collections.emptyList();
  850. return this;
  851. }
  852. // repeated .google.protobuf.DescriptorProto message_type = 4;
  853. public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getMessageTypeList() {
  854. return java.util.Collections.unmodifiableList(result.messageType_);
  855. }
  856. public int getMessageTypeCount() {
  857. return result.getMessageTypeCount();
  858. }
  859. public com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) {
  860. return result.getMessageType(index);
  861. }
  862. public Builder setMessageType(int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) {
  863. if (value == null) {
  864. throw new NullPointerException();
  865. }
  866. result.messageType_.set(index, value);
  867. return this;
  868. }
  869. public Builder setMessageType(int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
  870. result.messageType_.set(index, builderForValue.build());
  871. return this;
  872. }
  873. public Builder addMessageType(com.google.protobuf.DescriptorProtos.DescriptorProto value) {
  874. if (value == null) {
  875. throw new NullPointerException();
  876. }
  877. if (result.messageType_.isEmpty()) {
  878. result.messageType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto>();
  879. }
  880. result.messageType_.add(value);
  881. return this;
  882. }
  883. public Builder addMessageType(com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
  884. if (result.messageType_.isEmpty()) {
  885. result.messageType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto>();
  886. }
  887. result.messageType_.add(builderForValue.build());
  888. return this;
  889. }
  890. public Builder addAllMessageType(
  891. java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.DescriptorProto> values) {
  892. if (result.messageType_.isEmpty()) {
  893. result.messageType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto>();
  894. }
  895. super.addAll(values, result.messageType_);
  896. return this;
  897. }
  898. public Builder clearMessageType() {
  899. result.messageType_ = java.util.Collections.emptyList();
  900. return this;
  901. }
  902. // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
  903. public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() {
  904. return java.util.Collections.unmodifiableList(result.enumType_);
  905. }
  906. public int getEnumTypeCount() {
  907. return result.getEnumTypeCount();
  908. }
  909. public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
  910. return result.getEnumType(index);
  911. }
  912. public Builder setEnumType(int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
  913. if (value == null) {
  914. throw new NullPointerException();
  915. }
  916. result.enumType_.set(index, value);
  917. return this;
  918. }
  919. public Builder setEnumType(int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
  920. result.enumType_.set(index, builderForValue.build());
  921. return this;
  922. }
  923. public Builder addEnumType(com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
  924. if (value == null) {
  925. throw new NullPointerException();
  926. }
  927. if (result.enumType_.isEmpty()) {
  928. result.enumType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.EnumDescriptorProto>();
  929. }
  930. result.enumType_.add(value);
  931. return this;
  932. }
  933. public Builder addEnumType(com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
  934. if (result.enumType_.isEmpty()) {
  935. result.enumType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.EnumDescriptorProto>();
  936. }
  937. result.enumType_.add(builderForValue.build());
  938. return this;
  939. }
  940. public Builder addAllEnumType(
  941. java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProto> values) {
  942. if (result.enumType_.isEmpty()) {
  943. result.enumType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.EnumDescriptorProto>();
  944. }
  945. super.addAll(values, result.enumType_);
  946. return this;
  947. }
  948. public Builder clearEnumType() {
  949. result.enumType_ = java.util.Collections.emptyList();
  950. return this;
  951. }
  952. // repeated .google.protobuf.ServiceDescriptorProto service = 6;
  953. public java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> getServiceList() {
  954. return java.util.Collections.unmodifiableList(result.service_);
  955. }
  956. public int getServiceCount() {
  957. return result.getServiceCount();
  958. }
  959. public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) {
  960. return result.getService(index);
  961. }
  962. public Builder setService(int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
  963. if (value == null) {
  964. throw new NullPointerException();
  965. }
  966. result.service_.set(index, value);
  967. return this;
  968. }
  969. public Builder setService(int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) {
  970. result.service_.set(index, builderForValue.build());
  971. return this;
  972. }
  973. public Builder addService(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
  974. if (value == null) {
  975. throw new NullPointerException();
  976. }
  977. if (result.service_.isEmpty()) {
  978. result.service_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto>();
  979. }
  980. result.service_.add(value);
  981. return this;
  982. }
  983. public Builder addService(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) {
  984. if (result.service_.isEmpty()) {
  985. result.service_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto>();
  986. }
  987. result.service_.add(builderForValue.build());
  988. return this;
  989. }
  990. public Builder addAllService(
  991. java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> values) {
  992. if (result.service_.isEmpty()) {
  993. result.service_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto>();
  994. }
  995. super.addAll(values, result.service_);
  996. return this;
  997. }
  998. public Builder clearService() {
  999. result.service_ = java.util.Collections.emptyList();
  1000. return this;
  1001. }
  1002. // repeated .google.protobuf.FieldDescriptorProto extension = 7;
  1003. public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() {
  1004. return java.util.Collections.unmodifiableList(result.extension_);
  1005. }
  1006. public int getExtensionCount() {
  1007. return result.getExtensionCount();
  1008. }
  1009. public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
  1010. return result.getExtension(index);
  1011. }
  1012. public Builder setExtension(int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
  1013. if (value == null) {
  1014. throw new NullPointerException();
  1015. }
  1016. result.extension_.set(index, value);
  1017. return this;
  1018. }
  1019. public Builder setExtension(int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
  1020. result.extension_.set(index, builderForValue.build());
  1021. return this;
  1022. }
  1023. public Builder addExtension(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
  1024. if (value == null) {
  1025. throw new NullPointerException();
  1026. }
  1027. if (result.extension_.isEmpty()) {
  1028. result.extension_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>();
  1029. }
  1030. result.extension_.add(value);
  1031. return this;
  1032. }
  1033. public Builder addExtension(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
  1034. if (result.extension_.isEmpty()) {
  1035. result.extension_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>();
  1036. }
  1037. result.extension_.add(builderForValue.build());
  1038. return this;
  1039. }
  1040. public Builder addAllExtension(
  1041. java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProto> values) {
  1042. if (result.extension_.isEmpty()) {
  1043. result.extension_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>();
  1044. }
  1045. super.addAll(values, result.extension_);
  1046. return this;
  1047. }
  1048. public Builder clearExtension() {
  1049. result.extension_ = java.util.Collections.emptyList();
  1050. return this;
  1051. }
  1052. // optional .google.protobuf.FileOptions options = 8;
  1053. public boolean hasOptions() {
  1054. return result.hasOptions();
  1055. }
  1056. public com.google.protobuf.DescriptorProtos.FileOptions getOptions() {
  1057. return result.getOptions();
  1058. }
  1059. public Builder setOptions(com.google.protobuf.DescriptorProtos.FileOptions value) {
  1060. if (value == null) {
  1061. throw new NullPointerException();
  1062. }
  1063. result.hasOptions = true;
  1064. result.options_ = value;
  1065. return this;
  1066. }
  1067. public Builder setOptions(com.google.protobuf.DescriptorProtos.FileOptions.Builder builderForValue) {
  1068. result.hasOptions = true;
  1069. result.options_ = builderForValue.build();
  1070. return this;
  1071. }
  1072. public Builder mergeOptions(com.google.protobuf.DescriptorProtos.FileOptions value) {
  1073. if (result.hasOptions() &&
  1074. result.options_ != com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance()) {
  1075. result.options_ =
  1076. com.google.protobuf.DescriptorProtos.FileOptions.newBuilder(result.options_).mergeFrom(value).buildPartial();
  1077. } else {
  1078. result.options_ = value;
  1079. }
  1080. result.hasOptions = true;
  1081. return this;
  1082. }
  1083. public Builder clearOptions() {
  1084. result.hasOptions = false;
  1085. result.options_ = com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance();
  1086. return this;
  1087. }
  1088. // @@protoc_insertion_point(builder_scope:google.protobuf.FileDescriptorProto)
  1089. }
  1090. static {
  1091. defaultInstance = new FileDescriptorProto(true);
  1092. com.google.protobuf.DescriptorProtos.internalForceInit();
  1093. defaultInstance.initFields();
  1094. }
  1095. // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
  1096. }
  1097. public static final class DescriptorProto extends
  1098. com.google.protobuf.GeneratedMessage {
  1099. // Use DescriptorProto.newBuilder() to construct.
  1100. private DescriptorProto() {
  1101. initFields();
  1102. }
  1103. private DescriptorProto(boolean noInit) {}
  1104. private static final DescriptorProto defaultInstance;
  1105. public static DescriptorProto getDefaultInstance() {
  1106. return defaultInstance;
  1107. }
  1108. public DescriptorProto getDefaultInstanceForType() {
  1109. return defaultInstance;
  1110. }
  1111. public static final com.google.protobuf.Descriptors.Descriptor
  1112. getDescriptor() {
  1113. return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_descriptor;
  1114. }
  1115. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  1116. internalGetFieldAccessorTable() {
  1117. return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_fieldAccessorTable;
  1118. }
  1119. public static final class ExtensionRange extends
  1120. com.google.protobuf.GeneratedMessage {
  1121. // Use ExtensionRange.newBuilder() to construct.
  1122. private ExtensionRange() {
  1123. initFields();
  1124. }
  1125. private ExtensionRange(boolean noInit) {}
  1126. private static final ExtensionRange defaultInstance;
  1127. public static ExtensionRange getDefaultInstance() {
  1128. return defaultInstance;
  1129. }
  1130. public ExtensionRange getDefaultInstanceForType() {
  1131. return defaultInstance;
  1132. }
  1133. public static final com.google.protobuf.Descriptors.Descriptor
  1134. getDescriptor() {
  1135. return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor;
  1136. }
  1137. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  1138. internalGetFieldAccessorTable() {
  1139. return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto

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