PageRenderTime 53ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/traces/old/traceGen/src/prototrace/ProtoTrace.java

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