PageRenderTime 29ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 1ms

/scala/timeseries/trunk/src/main/java/org/iso/nepool/PnodeProto.java

http://findataweb.googlecode.com/
Java | 1915 lines | 1746 code | 120 blank | 49 comment | 347 complexity | ac497b93017d1e1c4bde87c59b5c98b6 MD5 | raw file
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: pnode.proto
  3. package org.iso.nepool;
  4. public final class PnodeProto {
  5. private PnodeProto() {}
  6. public static void registerAllExtensions(
  7. com.google.protobuf.ExtensionRegistry registry) {
  8. }
  9. public interface AllNodesOrBuilder
  10. extends com.google.protobuf.MessageOrBuilder {
  11. // repeated .pnode.IsoNode node = 1;
  12. java.util.List<org.iso.nepool.PnodeProto.IsoNode>
  13. getNodeList();
  14. org.iso.nepool.PnodeProto.IsoNode getNode(int index);
  15. int getNodeCount();
  16. java.util.List<? extends org.iso.nepool.PnodeProto.IsoNodeOrBuilder>
  17. getNodeOrBuilderList();
  18. org.iso.nepool.PnodeProto.IsoNodeOrBuilder getNodeOrBuilder(
  19. int index);
  20. // required string last_updated = 2;
  21. boolean hasLastUpdated();
  22. String getLastUpdated();
  23. }
  24. public static final class AllNodes extends
  25. com.google.protobuf.GeneratedMessage
  26. implements AllNodesOrBuilder {
  27. // Use AllNodes.newBuilder() to construct.
  28. private AllNodes(Builder builder) {
  29. super(builder);
  30. }
  31. private AllNodes(boolean noInit) {}
  32. private static final AllNodes defaultInstance;
  33. public static AllNodes getDefaultInstance() {
  34. return defaultInstance;
  35. }
  36. public AllNodes getDefaultInstanceForType() {
  37. return defaultInstance;
  38. }
  39. public static final com.google.protobuf.Descriptors.Descriptor
  40. getDescriptor() {
  41. return org.iso.nepool.PnodeProto.internal_static_pnode_AllNodes_descriptor;
  42. }
  43. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  44. internalGetFieldAccessorTable() {
  45. return org.iso.nepool.PnodeProto.internal_static_pnode_AllNodes_fieldAccessorTable;
  46. }
  47. private int bitField0_;
  48. // repeated .pnode.IsoNode node = 1;
  49. public static final int NODE_FIELD_NUMBER = 1;
  50. private java.util.List<org.iso.nepool.PnodeProto.IsoNode> node_;
  51. public java.util.List<org.iso.nepool.PnodeProto.IsoNode> getNodeList() {
  52. return node_;
  53. }
  54. public java.util.List<? extends org.iso.nepool.PnodeProto.IsoNodeOrBuilder>
  55. getNodeOrBuilderList() {
  56. return node_;
  57. }
  58. public int getNodeCount() {
  59. return node_.size();
  60. }
  61. public org.iso.nepool.PnodeProto.IsoNode getNode(int index) {
  62. return node_.get(index);
  63. }
  64. public org.iso.nepool.PnodeProto.IsoNodeOrBuilder getNodeOrBuilder(
  65. int index) {
  66. return node_.get(index);
  67. }
  68. // required string last_updated = 2;
  69. public static final int LAST_UPDATED_FIELD_NUMBER = 2;
  70. private java.lang.Object lastUpdated_;
  71. public boolean hasLastUpdated() {
  72. return ((bitField0_ & 0x00000001) == 0x00000001);
  73. }
  74. public String getLastUpdated() {
  75. java.lang.Object ref = lastUpdated_;
  76. if (ref instanceof String) {
  77. return (String) ref;
  78. } else {
  79. com.google.protobuf.ByteString bs =
  80. (com.google.protobuf.ByteString) ref;
  81. String s = bs.toStringUtf8();
  82. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  83. lastUpdated_ = s;
  84. }
  85. return s;
  86. }
  87. }
  88. private com.google.protobuf.ByteString getLastUpdatedBytes() {
  89. java.lang.Object ref = lastUpdated_;
  90. if (ref instanceof String) {
  91. com.google.protobuf.ByteString b =
  92. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  93. lastUpdated_ = b;
  94. return b;
  95. } else {
  96. return (com.google.protobuf.ByteString) ref;
  97. }
  98. }
  99. private void initFields() {
  100. node_ = java.util.Collections.emptyList();
  101. lastUpdated_ = "";
  102. }
  103. private byte memoizedIsInitialized = -1;
  104. public final boolean isInitialized() {
  105. byte isInitialized = memoizedIsInitialized;
  106. if (isInitialized != -1) return isInitialized == 1;
  107. if (!hasLastUpdated()) {
  108. memoizedIsInitialized = 0;
  109. return false;
  110. }
  111. for (int i = 0; i < getNodeCount(); i++) {
  112. if (!getNode(i).isInitialized()) {
  113. memoizedIsInitialized = 0;
  114. return false;
  115. }
  116. }
  117. memoizedIsInitialized = 1;
  118. return true;
  119. }
  120. public void writeTo(com.google.protobuf.CodedOutputStream output)
  121. throws java.io.IOException {
  122. getSerializedSize();
  123. for (int i = 0; i < node_.size(); i++) {
  124. output.writeMessage(1, node_.get(i));
  125. }
  126. if (((bitField0_ & 0x00000001) == 0x00000001)) {
  127. output.writeBytes(2, getLastUpdatedBytes());
  128. }
  129. getUnknownFields().writeTo(output);
  130. }
  131. private int memoizedSerializedSize = -1;
  132. public int getSerializedSize() {
  133. int size = memoizedSerializedSize;
  134. if (size != -1) return size;
  135. size = 0;
  136. for (int i = 0; i < node_.size(); i++) {
  137. size += com.google.protobuf.CodedOutputStream
  138. .computeMessageSize(1, node_.get(i));
  139. }
  140. if (((bitField0_ & 0x00000001) == 0x00000001)) {
  141. size += com.google.protobuf.CodedOutputStream
  142. .computeBytesSize(2, getLastUpdatedBytes());
  143. }
  144. size += getUnknownFields().getSerializedSize();
  145. memoizedSerializedSize = size;
  146. return size;
  147. }
  148. private static final long serialVersionUID = 0L;
  149. @java.lang.Override
  150. protected java.lang.Object writeReplace()
  151. throws java.io.ObjectStreamException {
  152. return super.writeReplace();
  153. }
  154. public static org.iso.nepool.PnodeProto.AllNodes parseFrom(
  155. com.google.protobuf.ByteString data)
  156. throws com.google.protobuf.InvalidProtocolBufferException {
  157. return newBuilder().mergeFrom(data).buildParsed();
  158. }
  159. public static org.iso.nepool.PnodeProto.AllNodes parseFrom(
  160. com.google.protobuf.ByteString data,
  161. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  162. throws com.google.protobuf.InvalidProtocolBufferException {
  163. return newBuilder().mergeFrom(data, extensionRegistry)
  164. .buildParsed();
  165. }
  166. public static org.iso.nepool.PnodeProto.AllNodes parseFrom(byte[] data)
  167. throws com.google.protobuf.InvalidProtocolBufferException {
  168. return newBuilder().mergeFrom(data).buildParsed();
  169. }
  170. public static org.iso.nepool.PnodeProto.AllNodes parseFrom(
  171. byte[] data,
  172. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  173. throws com.google.protobuf.InvalidProtocolBufferException {
  174. return newBuilder().mergeFrom(data, extensionRegistry)
  175. .buildParsed();
  176. }
  177. public static org.iso.nepool.PnodeProto.AllNodes parseFrom(java.io.InputStream input)
  178. throws java.io.IOException {
  179. return newBuilder().mergeFrom(input).buildParsed();
  180. }
  181. public static org.iso.nepool.PnodeProto.AllNodes parseFrom(
  182. java.io.InputStream input,
  183. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  184. throws java.io.IOException {
  185. return newBuilder().mergeFrom(input, extensionRegistry)
  186. .buildParsed();
  187. }
  188. public static org.iso.nepool.PnodeProto.AllNodes parseDelimitedFrom(java.io.InputStream input)
  189. throws java.io.IOException {
  190. Builder builder = newBuilder();
  191. if (builder.mergeDelimitedFrom(input)) {
  192. return builder.buildParsed();
  193. } else {
  194. return null;
  195. }
  196. }
  197. public static org.iso.nepool.PnodeProto.AllNodes parseDelimitedFrom(
  198. java.io.InputStream input,
  199. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  200. throws java.io.IOException {
  201. Builder builder = newBuilder();
  202. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  203. return builder.buildParsed();
  204. } else {
  205. return null;
  206. }
  207. }
  208. public static org.iso.nepool.PnodeProto.AllNodes parseFrom(
  209. com.google.protobuf.CodedInputStream input)
  210. throws java.io.IOException {
  211. return newBuilder().mergeFrom(input).buildParsed();
  212. }
  213. public static org.iso.nepool.PnodeProto.AllNodes parseFrom(
  214. com.google.protobuf.CodedInputStream input,
  215. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  216. throws java.io.IOException {
  217. return newBuilder().mergeFrom(input, extensionRegistry)
  218. .buildParsed();
  219. }
  220. public static Builder newBuilder() { return Builder.create(); }
  221. public Builder newBuilderForType() { return newBuilder(); }
  222. public static Builder newBuilder(org.iso.nepool.PnodeProto.AllNodes prototype) {
  223. return newBuilder().mergeFrom(prototype);
  224. }
  225. public Builder toBuilder() { return newBuilder(this); }
  226. @java.lang.Override
  227. protected Builder newBuilderForType(
  228. com.google.protobuf.GeneratedMessage.BuilderParent parent) {
  229. Builder builder = new Builder(parent);
  230. return builder;
  231. }
  232. public static final class Builder extends
  233. com.google.protobuf.GeneratedMessage.Builder<Builder>
  234. implements org.iso.nepool.PnodeProto.AllNodesOrBuilder {
  235. public static final com.google.protobuf.Descriptors.Descriptor
  236. getDescriptor() {
  237. return org.iso.nepool.PnodeProto.internal_static_pnode_AllNodes_descriptor;
  238. }
  239. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  240. internalGetFieldAccessorTable() {
  241. return org.iso.nepool.PnodeProto.internal_static_pnode_AllNodes_fieldAccessorTable;
  242. }
  243. // Construct using org.iso.nepool.PnodeProto.AllNodes.newBuilder()
  244. private Builder() {
  245. maybeForceBuilderInitialization();
  246. }
  247. private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
  248. super(parent);
  249. maybeForceBuilderInitialization();
  250. }
  251. private void maybeForceBuilderInitialization() {
  252. if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
  253. getNodeFieldBuilder();
  254. }
  255. }
  256. private static Builder create() {
  257. return new Builder();
  258. }
  259. public Builder clear() {
  260. super.clear();
  261. if (nodeBuilder_ == null) {
  262. node_ = java.util.Collections.emptyList();
  263. bitField0_ = (bitField0_ & ~0x00000001);
  264. } else {
  265. nodeBuilder_.clear();
  266. }
  267. lastUpdated_ = "";
  268. bitField0_ = (bitField0_ & ~0x00000002);
  269. return this;
  270. }
  271. public Builder clone() {
  272. return create().mergeFrom(buildPartial());
  273. }
  274. public com.google.protobuf.Descriptors.Descriptor
  275. getDescriptorForType() {
  276. return org.iso.nepool.PnodeProto.AllNodes.getDescriptor();
  277. }
  278. public org.iso.nepool.PnodeProto.AllNodes getDefaultInstanceForType() {
  279. return org.iso.nepool.PnodeProto.AllNodes.getDefaultInstance();
  280. }
  281. public org.iso.nepool.PnodeProto.AllNodes build() {
  282. org.iso.nepool.PnodeProto.AllNodes result = buildPartial();
  283. if (!result.isInitialized()) {
  284. throw newUninitializedMessageException(result);
  285. }
  286. return result;
  287. }
  288. private org.iso.nepool.PnodeProto.AllNodes buildParsed()
  289. throws com.google.protobuf.InvalidProtocolBufferException {
  290. org.iso.nepool.PnodeProto.AllNodes result = buildPartial();
  291. if (!result.isInitialized()) {
  292. throw newUninitializedMessageException(
  293. result).asInvalidProtocolBufferException();
  294. }
  295. return result;
  296. }
  297. public org.iso.nepool.PnodeProto.AllNodes buildPartial() {
  298. org.iso.nepool.PnodeProto.AllNodes result = new org.iso.nepool.PnodeProto.AllNodes(this);
  299. int from_bitField0_ = bitField0_;
  300. int to_bitField0_ = 0;
  301. if (nodeBuilder_ == null) {
  302. if (((bitField0_ & 0x00000001) == 0x00000001)) {
  303. node_ = java.util.Collections.unmodifiableList(node_);
  304. bitField0_ = (bitField0_ & ~0x00000001);
  305. }
  306. result.node_ = node_;
  307. } else {
  308. result.node_ = nodeBuilder_.build();
  309. }
  310. if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
  311. to_bitField0_ |= 0x00000001;
  312. }
  313. result.lastUpdated_ = lastUpdated_;
  314. result.bitField0_ = to_bitField0_;
  315. onBuilt();
  316. return result;
  317. }
  318. public Builder mergeFrom(com.google.protobuf.Message other) {
  319. if (other instanceof org.iso.nepool.PnodeProto.AllNodes) {
  320. return mergeFrom((org.iso.nepool.PnodeProto.AllNodes)other);
  321. } else {
  322. super.mergeFrom(other);
  323. return this;
  324. }
  325. }
  326. public Builder mergeFrom(org.iso.nepool.PnodeProto.AllNodes other) {
  327. if (other == org.iso.nepool.PnodeProto.AllNodes.getDefaultInstance()) return this;
  328. if (nodeBuilder_ == null) {
  329. if (!other.node_.isEmpty()) {
  330. if (node_.isEmpty()) {
  331. node_ = other.node_;
  332. bitField0_ = (bitField0_ & ~0x00000001);
  333. } else {
  334. ensureNodeIsMutable();
  335. node_.addAll(other.node_);
  336. }
  337. onChanged();
  338. }
  339. } else {
  340. if (!other.node_.isEmpty()) {
  341. if (nodeBuilder_.isEmpty()) {
  342. nodeBuilder_.dispose();
  343. nodeBuilder_ = null;
  344. node_ = other.node_;
  345. bitField0_ = (bitField0_ & ~0x00000001);
  346. nodeBuilder_ =
  347. com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
  348. getNodeFieldBuilder() : null;
  349. } else {
  350. nodeBuilder_.addAllMessages(other.node_);
  351. }
  352. }
  353. }
  354. if (other.hasLastUpdated()) {
  355. setLastUpdated(other.getLastUpdated());
  356. }
  357. this.mergeUnknownFields(other.getUnknownFields());
  358. return this;
  359. }
  360. public final boolean isInitialized() {
  361. if (!hasLastUpdated()) {
  362. return false;
  363. }
  364. for (int i = 0; i < getNodeCount(); i++) {
  365. if (!getNode(i).isInitialized()) {
  366. return false;
  367. }
  368. }
  369. return true;
  370. }
  371. public Builder mergeFrom(
  372. com.google.protobuf.CodedInputStream input,
  373. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  374. throws java.io.IOException {
  375. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  376. com.google.protobuf.UnknownFieldSet.newBuilder(
  377. this.getUnknownFields());
  378. while (true) {
  379. int tag = input.readTag();
  380. switch (tag) {
  381. case 0:
  382. this.setUnknownFields(unknownFields.build());
  383. onChanged();
  384. return this;
  385. default: {
  386. if (!parseUnknownField(input, unknownFields,
  387. extensionRegistry, tag)) {
  388. this.setUnknownFields(unknownFields.build());
  389. onChanged();
  390. return this;
  391. }
  392. break;
  393. }
  394. case 10: {
  395. org.iso.nepool.PnodeProto.IsoNode.Builder subBuilder = org.iso.nepool.PnodeProto.IsoNode.newBuilder();
  396. input.readMessage(subBuilder, extensionRegistry);
  397. addNode(subBuilder.buildPartial());
  398. break;
  399. }
  400. case 18: {
  401. bitField0_ |= 0x00000002;
  402. lastUpdated_ = input.readBytes();
  403. break;
  404. }
  405. }
  406. }
  407. }
  408. private int bitField0_;
  409. // repeated .pnode.IsoNode node = 1;
  410. private java.util.List<org.iso.nepool.PnodeProto.IsoNode> node_ =
  411. java.util.Collections.emptyList();
  412. private void ensureNodeIsMutable() {
  413. if (!((bitField0_ & 0x00000001) == 0x00000001)) {
  414. node_ = new java.util.ArrayList<org.iso.nepool.PnodeProto.IsoNode>(node_);
  415. bitField0_ |= 0x00000001;
  416. }
  417. }
  418. private com.google.protobuf.RepeatedFieldBuilder<
  419. org.iso.nepool.PnodeProto.IsoNode, org.iso.nepool.PnodeProto.IsoNode.Builder, org.iso.nepool.PnodeProto.IsoNodeOrBuilder> nodeBuilder_;
  420. public java.util.List<org.iso.nepool.PnodeProto.IsoNode> getNodeList() {
  421. if (nodeBuilder_ == null) {
  422. return java.util.Collections.unmodifiableList(node_);
  423. } else {
  424. return nodeBuilder_.getMessageList();
  425. }
  426. }
  427. public int getNodeCount() {
  428. if (nodeBuilder_ == null) {
  429. return node_.size();
  430. } else {
  431. return nodeBuilder_.getCount();
  432. }
  433. }
  434. public org.iso.nepool.PnodeProto.IsoNode getNode(int index) {
  435. if (nodeBuilder_ == null) {
  436. return node_.get(index);
  437. } else {
  438. return nodeBuilder_.getMessage(index);
  439. }
  440. }
  441. public Builder setNode(
  442. int index, org.iso.nepool.PnodeProto.IsoNode value) {
  443. if (nodeBuilder_ == null) {
  444. if (value == null) {
  445. throw new NullPointerException();
  446. }
  447. ensureNodeIsMutable();
  448. node_.set(index, value);
  449. onChanged();
  450. } else {
  451. nodeBuilder_.setMessage(index, value);
  452. }
  453. return this;
  454. }
  455. public Builder setNode(
  456. int index, org.iso.nepool.PnodeProto.IsoNode.Builder builderForValue) {
  457. if (nodeBuilder_ == null) {
  458. ensureNodeIsMutable();
  459. node_.set(index, builderForValue.build());
  460. onChanged();
  461. } else {
  462. nodeBuilder_.setMessage(index, builderForValue.build());
  463. }
  464. return this;
  465. }
  466. public Builder addNode(org.iso.nepool.PnodeProto.IsoNode value) {
  467. if (nodeBuilder_ == null) {
  468. if (value == null) {
  469. throw new NullPointerException();
  470. }
  471. ensureNodeIsMutable();
  472. node_.add(value);
  473. onChanged();
  474. } else {
  475. nodeBuilder_.addMessage(value);
  476. }
  477. return this;
  478. }
  479. public Builder addNode(
  480. int index, org.iso.nepool.PnodeProto.IsoNode value) {
  481. if (nodeBuilder_ == null) {
  482. if (value == null) {
  483. throw new NullPointerException();
  484. }
  485. ensureNodeIsMutable();
  486. node_.add(index, value);
  487. onChanged();
  488. } else {
  489. nodeBuilder_.addMessage(index, value);
  490. }
  491. return this;
  492. }
  493. public Builder addNode(
  494. org.iso.nepool.PnodeProto.IsoNode.Builder builderForValue) {
  495. if (nodeBuilder_ == null) {
  496. ensureNodeIsMutable();
  497. node_.add(builderForValue.build());
  498. onChanged();
  499. } else {
  500. nodeBuilder_.addMessage(builderForValue.build());
  501. }
  502. return this;
  503. }
  504. public Builder addNode(
  505. int index, org.iso.nepool.PnodeProto.IsoNode.Builder builderForValue) {
  506. if (nodeBuilder_ == null) {
  507. ensureNodeIsMutable();
  508. node_.add(index, builderForValue.build());
  509. onChanged();
  510. } else {
  511. nodeBuilder_.addMessage(index, builderForValue.build());
  512. }
  513. return this;
  514. }
  515. public Builder addAllNode(
  516. java.lang.Iterable<? extends org.iso.nepool.PnodeProto.IsoNode> values) {
  517. if (nodeBuilder_ == null) {
  518. ensureNodeIsMutable();
  519. super.addAll(values, node_);
  520. onChanged();
  521. } else {
  522. nodeBuilder_.addAllMessages(values);
  523. }
  524. return this;
  525. }
  526. public Builder clearNode() {
  527. if (nodeBuilder_ == null) {
  528. node_ = java.util.Collections.emptyList();
  529. bitField0_ = (bitField0_ & ~0x00000001);
  530. onChanged();
  531. } else {
  532. nodeBuilder_.clear();
  533. }
  534. return this;
  535. }
  536. public Builder removeNode(int index) {
  537. if (nodeBuilder_ == null) {
  538. ensureNodeIsMutable();
  539. node_.remove(index);
  540. onChanged();
  541. } else {
  542. nodeBuilder_.remove(index);
  543. }
  544. return this;
  545. }
  546. public org.iso.nepool.PnodeProto.IsoNode.Builder getNodeBuilder(
  547. int index) {
  548. return getNodeFieldBuilder().getBuilder(index);
  549. }
  550. public org.iso.nepool.PnodeProto.IsoNodeOrBuilder getNodeOrBuilder(
  551. int index) {
  552. if (nodeBuilder_ == null) {
  553. return node_.get(index); } else {
  554. return nodeBuilder_.getMessageOrBuilder(index);
  555. }
  556. }
  557. public java.util.List<? extends org.iso.nepool.PnodeProto.IsoNodeOrBuilder>
  558. getNodeOrBuilderList() {
  559. if (nodeBuilder_ != null) {
  560. return nodeBuilder_.getMessageOrBuilderList();
  561. } else {
  562. return java.util.Collections.unmodifiableList(node_);
  563. }
  564. }
  565. public org.iso.nepool.PnodeProto.IsoNode.Builder addNodeBuilder() {
  566. return getNodeFieldBuilder().addBuilder(
  567. org.iso.nepool.PnodeProto.IsoNode.getDefaultInstance());
  568. }
  569. public org.iso.nepool.PnodeProto.IsoNode.Builder addNodeBuilder(
  570. int index) {
  571. return getNodeFieldBuilder().addBuilder(
  572. index, org.iso.nepool.PnodeProto.IsoNode.getDefaultInstance());
  573. }
  574. public java.util.List<org.iso.nepool.PnodeProto.IsoNode.Builder>
  575. getNodeBuilderList() {
  576. return getNodeFieldBuilder().getBuilderList();
  577. }
  578. private com.google.protobuf.RepeatedFieldBuilder<
  579. org.iso.nepool.PnodeProto.IsoNode, org.iso.nepool.PnodeProto.IsoNode.Builder, org.iso.nepool.PnodeProto.IsoNodeOrBuilder>
  580. getNodeFieldBuilder() {
  581. if (nodeBuilder_ == null) {
  582. nodeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
  583. org.iso.nepool.PnodeProto.IsoNode, org.iso.nepool.PnodeProto.IsoNode.Builder, org.iso.nepool.PnodeProto.IsoNodeOrBuilder>(
  584. node_,
  585. ((bitField0_ & 0x00000001) == 0x00000001),
  586. getParentForChildren(),
  587. isClean());
  588. node_ = null;
  589. }
  590. return nodeBuilder_;
  591. }
  592. // required string last_updated = 2;
  593. private java.lang.Object lastUpdated_ = "";
  594. public boolean hasLastUpdated() {
  595. return ((bitField0_ & 0x00000002) == 0x00000002);
  596. }
  597. public String getLastUpdated() {
  598. java.lang.Object ref = lastUpdated_;
  599. if (!(ref instanceof String)) {
  600. String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
  601. lastUpdated_ = s;
  602. return s;
  603. } else {
  604. return (String) ref;
  605. }
  606. }
  607. public Builder setLastUpdated(String value) {
  608. if (value == null) {
  609. throw new NullPointerException();
  610. }
  611. bitField0_ |= 0x00000002;
  612. lastUpdated_ = value;
  613. onChanged();
  614. return this;
  615. }
  616. public Builder clearLastUpdated() {
  617. bitField0_ = (bitField0_ & ~0x00000002);
  618. lastUpdated_ = getDefaultInstance().getLastUpdated();
  619. onChanged();
  620. return this;
  621. }
  622. void setLastUpdated(com.google.protobuf.ByteString value) {
  623. bitField0_ |= 0x00000002;
  624. lastUpdated_ = value;
  625. onChanged();
  626. }
  627. // @@protoc_insertion_point(builder_scope:pnode.AllNodes)
  628. }
  629. static {
  630. defaultInstance = new AllNodes(true);
  631. defaultInstance.initFields();
  632. }
  633. // @@protoc_insertion_point(class_scope:pnode.AllNodes)
  634. }
  635. public interface IsoNodeOrBuilder
  636. extends com.google.protobuf.MessageOrBuilder {
  637. // required string node_name = 1;
  638. boolean hasNodeName();
  639. String getNodeName();
  640. // required int32 ptid = 2;
  641. boolean hasPtid();
  642. int getPtid();
  643. // required .pnode.IsoNode.Type type = 3;
  644. boolean hasType();
  645. org.iso.nepool.PnodeProto.IsoNode.Type getType();
  646. // optional string station_name = 4;
  647. boolean hasStationName();
  648. String getStationName();
  649. // optional string station_short_name = 5;
  650. boolean hasStationShortName();
  651. String getStationShortName();
  652. // optional string unit_name = 6;
  653. boolean hasUnitName();
  654. String getUnitName();
  655. // optional string unit_short_name = 7;
  656. boolean hasUnitShortName();
  657. String getUnitShortName();
  658. // optional int32 zone_id = 8;
  659. boolean hasZoneId();
  660. int getZoneId();
  661. // optional int32 reserve_id = 9;
  662. boolean hasReserveId();
  663. int getReserveId();
  664. // optional string rsp_area = 10;
  665. boolean hasRspArea();
  666. String getRspArea();
  667. // optional string dispatch_zone = 11;
  668. boolean hasDispatchZone();
  669. String getDispatchZone();
  670. // optional string ptf_status = 12;
  671. boolean hasPtfStatus();
  672. String getPtfStatus();
  673. // optional string zone_name = 13;
  674. boolean hasZoneName();
  675. String getZoneName();
  676. // optional string reserve_zone_name = 14;
  677. boolean hasReserveZoneName();
  678. String getReserveZoneName();
  679. // optional string external_interface_name = 15;
  680. boolean hasExternalInterfaceName();
  681. String getExternalInterfaceName();
  682. // optional string removed_on_date = 16;
  683. boolean hasRemovedOnDate();
  684. String getRemovedOnDate();
  685. // optional string since_date = 17;
  686. boolean hasSinceDate();
  687. String getSinceDate();
  688. }
  689. public static final class IsoNode extends
  690. com.google.protobuf.GeneratedMessage
  691. implements IsoNodeOrBuilder {
  692. // Use IsoNode.newBuilder() to construct.
  693. private IsoNode(Builder builder) {
  694. super(builder);
  695. }
  696. private IsoNode(boolean noInit) {}
  697. private static final IsoNode defaultInstance;
  698. public static IsoNode getDefaultInstance() {
  699. return defaultInstance;
  700. }
  701. public IsoNode getDefaultInstanceForType() {
  702. return defaultInstance;
  703. }
  704. public static final com.google.protobuf.Descriptors.Descriptor
  705. getDescriptor() {
  706. return org.iso.nepool.PnodeProto.internal_static_pnode_IsoNode_descriptor;
  707. }
  708. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  709. internalGetFieldAccessorTable() {
  710. return org.iso.nepool.PnodeProto.internal_static_pnode_IsoNode_fieldAccessorTable;
  711. }
  712. public enum Type
  713. implements com.google.protobuf.ProtocolMessageEnum {
  714. HUB(0, 1),
  715. ZONE(1, 2),
  716. RESERVE_ZONE(2, 3),
  717. EXTERNAL_INTERFACE(3, 4),
  718. STATION(4, 5),
  719. ;
  720. public static final int HUB_VALUE = 1;
  721. public static final int ZONE_VALUE = 2;
  722. public static final int RESERVE_ZONE_VALUE = 3;
  723. public static final int EXTERNAL_INTERFACE_VALUE = 4;
  724. public static final int STATION_VALUE = 5;
  725. public final int getNumber() { return value; }
  726. public static Type valueOf(int value) {
  727. switch (value) {
  728. case 1: return HUB;
  729. case 2: return ZONE;
  730. case 3: return RESERVE_ZONE;
  731. case 4: return EXTERNAL_INTERFACE;
  732. case 5: return STATION;
  733. default: return null;
  734. }
  735. }
  736. public static com.google.protobuf.Internal.EnumLiteMap<Type>
  737. internalGetValueMap() {
  738. return internalValueMap;
  739. }
  740. private static com.google.protobuf.Internal.EnumLiteMap<Type>
  741. internalValueMap =
  742. new com.google.protobuf.Internal.EnumLiteMap<Type>() {
  743. public Type findValueByNumber(int number) {
  744. return Type.valueOf(number);
  745. }
  746. };
  747. public final com.google.protobuf.Descriptors.EnumValueDescriptor
  748. getValueDescriptor() {
  749. return getDescriptor().getValues().get(index);
  750. }
  751. public final com.google.protobuf.Descriptors.EnumDescriptor
  752. getDescriptorForType() {
  753. return getDescriptor();
  754. }
  755. public static final com.google.protobuf.Descriptors.EnumDescriptor
  756. getDescriptor() {
  757. return org.iso.nepool.PnodeProto.IsoNode.getDescriptor().getEnumTypes().get(0);
  758. }
  759. private static final Type[] VALUES = {
  760. HUB, ZONE, RESERVE_ZONE, EXTERNAL_INTERFACE, STATION,
  761. };
  762. public static Type valueOf(
  763. com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
  764. if (desc.getType() != getDescriptor()) {
  765. throw new java.lang.IllegalArgumentException(
  766. "EnumValueDescriptor is not for this type.");
  767. }
  768. return VALUES[desc.getIndex()];
  769. }
  770. private final int index;
  771. private final int value;
  772. private Type(int index, int value) {
  773. this.index = index;
  774. this.value = value;
  775. }
  776. // @@protoc_insertion_point(enum_scope:pnode.IsoNode.Type)
  777. }
  778. private int bitField0_;
  779. // required string node_name = 1;
  780. public static final int NODE_NAME_FIELD_NUMBER = 1;
  781. private java.lang.Object nodeName_;
  782. public boolean hasNodeName() {
  783. return ((bitField0_ & 0x00000001) == 0x00000001);
  784. }
  785. public String getNodeName() {
  786. java.lang.Object ref = nodeName_;
  787. if (ref instanceof String) {
  788. return (String) ref;
  789. } else {
  790. com.google.protobuf.ByteString bs =
  791. (com.google.protobuf.ByteString) ref;
  792. String s = bs.toStringUtf8();
  793. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  794. nodeName_ = s;
  795. }
  796. return s;
  797. }
  798. }
  799. private com.google.protobuf.ByteString getNodeNameBytes() {
  800. java.lang.Object ref = nodeName_;
  801. if (ref instanceof String) {
  802. com.google.protobuf.ByteString b =
  803. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  804. nodeName_ = b;
  805. return b;
  806. } else {
  807. return (com.google.protobuf.ByteString) ref;
  808. }
  809. }
  810. // required int32 ptid = 2;
  811. public static final int PTID_FIELD_NUMBER = 2;
  812. private int ptid_;
  813. public boolean hasPtid() {
  814. return ((bitField0_ & 0x00000002) == 0x00000002);
  815. }
  816. public int getPtid() {
  817. return ptid_;
  818. }
  819. // required .pnode.IsoNode.Type type = 3;
  820. public static final int TYPE_FIELD_NUMBER = 3;
  821. private org.iso.nepool.PnodeProto.IsoNode.Type type_;
  822. public boolean hasType() {
  823. return ((bitField0_ & 0x00000004) == 0x00000004);
  824. }
  825. public org.iso.nepool.PnodeProto.IsoNode.Type getType() {
  826. return type_;
  827. }
  828. // optional string station_name = 4;
  829. public static final int STATION_NAME_FIELD_NUMBER = 4;
  830. private java.lang.Object stationName_;
  831. public boolean hasStationName() {
  832. return ((bitField0_ & 0x00000008) == 0x00000008);
  833. }
  834. public String getStationName() {
  835. java.lang.Object ref = stationName_;
  836. if (ref instanceof String) {
  837. return (String) ref;
  838. } else {
  839. com.google.protobuf.ByteString bs =
  840. (com.google.protobuf.ByteString) ref;
  841. String s = bs.toStringUtf8();
  842. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  843. stationName_ = s;
  844. }
  845. return s;
  846. }
  847. }
  848. private com.google.protobuf.ByteString getStationNameBytes() {
  849. java.lang.Object ref = stationName_;
  850. if (ref instanceof String) {
  851. com.google.protobuf.ByteString b =
  852. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  853. stationName_ = b;
  854. return b;
  855. } else {
  856. return (com.google.protobuf.ByteString) ref;
  857. }
  858. }
  859. // optional string station_short_name = 5;
  860. public static final int STATION_SHORT_NAME_FIELD_NUMBER = 5;
  861. private java.lang.Object stationShortName_;
  862. public boolean hasStationShortName() {
  863. return ((bitField0_ & 0x00000010) == 0x00000010);
  864. }
  865. public String getStationShortName() {
  866. java.lang.Object ref = stationShortName_;
  867. if (ref instanceof String) {
  868. return (String) ref;
  869. } else {
  870. com.google.protobuf.ByteString bs =
  871. (com.google.protobuf.ByteString) ref;
  872. String s = bs.toStringUtf8();
  873. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  874. stationShortName_ = s;
  875. }
  876. return s;
  877. }
  878. }
  879. private com.google.protobuf.ByteString getStationShortNameBytes() {
  880. java.lang.Object ref = stationShortName_;
  881. if (ref instanceof String) {
  882. com.google.protobuf.ByteString b =
  883. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  884. stationShortName_ = b;
  885. return b;
  886. } else {
  887. return (com.google.protobuf.ByteString) ref;
  888. }
  889. }
  890. // optional string unit_name = 6;
  891. public static final int UNIT_NAME_FIELD_NUMBER = 6;
  892. private java.lang.Object unitName_;
  893. public boolean hasUnitName() {
  894. return ((bitField0_ & 0x00000020) == 0x00000020);
  895. }
  896. public String getUnitName() {
  897. java.lang.Object ref = unitName_;
  898. if (ref instanceof String) {
  899. return (String) ref;
  900. } else {
  901. com.google.protobuf.ByteString bs =
  902. (com.google.protobuf.ByteString) ref;
  903. String s = bs.toStringUtf8();
  904. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  905. unitName_ = s;
  906. }
  907. return s;
  908. }
  909. }
  910. private com.google.protobuf.ByteString getUnitNameBytes() {
  911. java.lang.Object ref = unitName_;
  912. if (ref instanceof String) {
  913. com.google.protobuf.ByteString b =
  914. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  915. unitName_ = b;
  916. return b;
  917. } else {
  918. return (com.google.protobuf.ByteString) ref;
  919. }
  920. }
  921. // optional string unit_short_name = 7;
  922. public static final int UNIT_SHORT_NAME_FIELD_NUMBER = 7;
  923. private java.lang.Object unitShortName_;
  924. public boolean hasUnitShortName() {
  925. return ((bitField0_ & 0x00000040) == 0x00000040);
  926. }
  927. public String getUnitShortName() {
  928. java.lang.Object ref = unitShortName_;
  929. if (ref instanceof String) {
  930. return (String) ref;
  931. } else {
  932. com.google.protobuf.ByteString bs =
  933. (com.google.protobuf.ByteString) ref;
  934. String s = bs.toStringUtf8();
  935. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  936. unitShortName_ = s;
  937. }
  938. return s;
  939. }
  940. }
  941. private com.google.protobuf.ByteString getUnitShortNameBytes() {
  942. java.lang.Object ref = unitShortName_;
  943. if (ref instanceof String) {
  944. com.google.protobuf.ByteString b =
  945. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  946. unitShortName_ = b;
  947. return b;
  948. } else {
  949. return (com.google.protobuf.ByteString) ref;
  950. }
  951. }
  952. // optional int32 zone_id = 8;
  953. public static final int ZONE_ID_FIELD_NUMBER = 8;
  954. private int zoneId_;
  955. public boolean hasZoneId() {
  956. return ((bitField0_ & 0x00000080) == 0x00000080);
  957. }
  958. public int getZoneId() {
  959. return zoneId_;
  960. }
  961. // optional int32 reserve_id = 9;
  962. public static final int RESERVE_ID_FIELD_NUMBER = 9;
  963. private int reserveId_;
  964. public boolean hasReserveId() {
  965. return ((bitField0_ & 0x00000100) == 0x00000100);
  966. }
  967. public int getReserveId() {
  968. return reserveId_;
  969. }
  970. // optional string rsp_area = 10;
  971. public static final int RSP_AREA_FIELD_NUMBER = 10;
  972. private java.lang.Object rspArea_;
  973. public boolean hasRspArea() {
  974. return ((bitField0_ & 0x00000200) == 0x00000200);
  975. }
  976. public String getRspArea() {
  977. java.lang.Object ref = rspArea_;
  978. if (ref instanceof String) {
  979. return (String) ref;
  980. } else {
  981. com.google.protobuf.ByteString bs =
  982. (com.google.protobuf.ByteString) ref;
  983. String s = bs.toStringUtf8();
  984. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  985. rspArea_ = s;
  986. }
  987. return s;
  988. }
  989. }
  990. private com.google.protobuf.ByteString getRspAreaBytes() {
  991. java.lang.Object ref = rspArea_;
  992. if (ref instanceof String) {
  993. com.google.protobuf.ByteString b =
  994. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  995. rspArea_ = b;
  996. return b;
  997. } else {
  998. return (com.google.protobuf.ByteString) ref;
  999. }
  1000. }
  1001. // optional string dispatch_zone = 11;
  1002. public static final int DISPATCH_ZONE_FIELD_NUMBER = 11;
  1003. private java.lang.Object dispatchZone_;
  1004. public boolean hasDispatchZone() {
  1005. return ((bitField0_ & 0x00000400) == 0x00000400);
  1006. }
  1007. public String getDispatchZone() {
  1008. java.lang.Object ref = dispatchZone_;
  1009. if (ref instanceof String) {
  1010. return (String) ref;
  1011. } else {
  1012. com.google.protobuf.ByteString bs =
  1013. (com.google.protobuf.ByteString) ref;
  1014. String s = bs.toStringUtf8();
  1015. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  1016. dispatchZone_ = s;
  1017. }
  1018. return s;
  1019. }
  1020. }
  1021. private com.google.protobuf.ByteString getDispatchZoneBytes() {
  1022. java.lang.Object ref = dispatchZone_;
  1023. if (ref instanceof String) {
  1024. com.google.protobuf.ByteString b =
  1025. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  1026. dispatchZone_ = b;
  1027. return b;
  1028. } else {
  1029. return (com.google.protobuf.ByteString) ref;
  1030. }
  1031. }
  1032. // optional string ptf_status = 12;
  1033. public static final int PTF_STATUS_FIELD_NUMBER = 12;
  1034. private java.lang.Object ptfStatus_;
  1035. public boolean hasPtfStatus() {
  1036. return ((bitField0_ & 0x00000800) == 0x00000800);
  1037. }
  1038. public String getPtfStatus() {
  1039. java.lang.Object ref = ptfStatus_;
  1040. if (ref instanceof String) {
  1041. return (String) ref;
  1042. } else {
  1043. com.google.protobuf.ByteString bs =
  1044. (com.google.protobuf.ByteString) ref;
  1045. String s = bs.toStringUtf8();
  1046. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  1047. ptfStatus_ = s;
  1048. }
  1049. return s;
  1050. }
  1051. }
  1052. private com.google.protobuf.ByteString getPtfStatusBytes() {
  1053. java.lang.Object ref = ptfStatus_;
  1054. if (ref instanceof String) {
  1055. com.google.protobuf.ByteString b =
  1056. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  1057. ptfStatus_ = b;
  1058. return b;
  1059. } else {
  1060. return (com.google.protobuf.ByteString) ref;
  1061. }
  1062. }
  1063. // optional string zone_name = 13;
  1064. public static final int ZONE_NAME_FIELD_NUMBER = 13;
  1065. private java.lang.Object zoneName_;
  1066. public boolean hasZoneName() {
  1067. return ((bitField0_ & 0x00001000) == 0x00001000);
  1068. }
  1069. public String getZoneName() {
  1070. java.lang.Object ref = zoneName_;
  1071. if (ref instanceof String) {
  1072. return (String) ref;
  1073. } else {
  1074. com.google.protobuf.ByteString bs =
  1075. (com.google.protobuf.ByteString) ref;
  1076. String s = bs.toStringUtf8();
  1077. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  1078. zoneName_ = s;
  1079. }
  1080. return s;
  1081. }
  1082. }
  1083. private com.google.protobuf.ByteString getZoneNameBytes() {
  1084. java.lang.Object ref = zoneName_;
  1085. if (ref instanceof String) {
  1086. com.google.protobuf.ByteString b =
  1087. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  1088. zoneName_ = b;
  1089. return b;
  1090. } else {
  1091. return (com.google.protobuf.ByteString) ref;
  1092. }
  1093. }
  1094. // optional string reserve_zone_name = 14;
  1095. public static final int RESERVE_ZONE_NAME_FIELD_NUMBER = 14;
  1096. private java.lang.Object reserveZoneName_;
  1097. public boolean hasReserveZoneName() {
  1098. return ((bitField0_ & 0x00002000) == 0x00002000);
  1099. }
  1100. public String getReserveZoneName() {
  1101. java.lang.Object ref = reserveZoneName_;
  1102. if (ref instanceof String) {
  1103. return (String) ref;
  1104. } else {
  1105. com.google.protobuf.ByteString bs =
  1106. (com.google.protobuf.ByteString) ref;
  1107. String s = bs.toStringUtf8();
  1108. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  1109. reserveZoneName_ = s;
  1110. }
  1111. return s;
  1112. }
  1113. }
  1114. private com.google.protobuf.ByteString getReserveZoneNameBytes() {
  1115. java.lang.Object ref = reserveZoneName_;
  1116. if (ref instanceof String) {
  1117. com.google.protobuf.ByteString b =
  1118. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  1119. reserveZoneName_ = b;
  1120. return b;
  1121. } else {
  1122. return (com.google.protobuf.ByteString) ref;
  1123. }
  1124. }
  1125. // optional string external_interface_name = 15;
  1126. public static final int EXTERNAL_INTERFACE_NAME_FIELD_NUMBER = 15;
  1127. private java.lang.Object externalInterfaceName_;
  1128. public boolean hasExternalInterfaceName() {
  1129. return ((bitField0_ & 0x00004000) == 0x00004000);
  1130. }
  1131. public String getExternalInterfaceName() {
  1132. java.lang.Object ref = externalInterfaceName_;
  1133. if (ref instanceof String) {
  1134. return (String) ref;
  1135. } else {
  1136. com.google.protobuf.ByteString bs =
  1137. (com.google.protobuf.ByteString) ref;
  1138. String s = bs.toStringUtf8();
  1139. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  1140. externalInterfaceName_ = s;
  1141. }
  1142. return s;
  1143. }
  1144. }
  1145. private com.google.protobuf.ByteString getExternalInterfaceNameBytes() {
  1146. java.lang.Object ref = externalInterfaceName_;
  1147. if (ref instanceof String) {
  1148. com.google.protobuf.ByteString b =
  1149. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  1150. externalInterfaceName_ = b;
  1151. return b;
  1152. } else {
  1153. return (com.google.protobuf.ByteString) ref;
  1154. }
  1155. }
  1156. // optional string removed_on_date = 16;
  1157. public static final int REMOVED_ON_DATE_FIELD_NUMBER = 16;
  1158. private java.lang.Object removedOnDate_;
  1159. public boolean hasRemovedOnDate() {
  1160. return ((bitField0_ & 0x00008000) == 0x00008000);
  1161. }
  1162. public String getRemovedOnDate() {
  1163. java.lang.Object ref = removedOnDate_;
  1164. if (ref instanceof String) {
  1165. return (String) ref;
  1166. } else {
  1167. com.google.protobuf.ByteString bs =
  1168. (com.google.protobuf.ByteString) ref;
  1169. String s = bs.toStringUtf8();
  1170. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  1171. removedOnDate_ = s;
  1172. }
  1173. return s;
  1174. }
  1175. }
  1176. private com.google.protobuf.ByteString getRemovedOnDateBytes() {
  1177. java.lang.Object ref = removedOnDate_;
  1178. if (ref instanceof String) {
  1179. com.google.protobuf.ByteString b =
  1180. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  1181. removedOnDate_ = b;
  1182. return b;
  1183. } else {
  1184. return (com.google.protobuf.ByteString) ref;
  1185. }
  1186. }
  1187. // optional string since_date = 17;
  1188. public static final int SINCE_DATE_FIELD_NUMBER = 17;
  1189. private java.lang.Object sinceDate_;
  1190. public boolean hasSinceDate() {
  1191. return ((bitField0_ & 0x00010000) == 0x00010000);
  1192. }
  1193. public String getSinceDate() {
  1194. java.lang.Object ref = sinceDate_;
  1195. if (ref instanceof String) {
  1196. return (String) ref;
  1197. } else {
  1198. com.google.protobuf.ByteString bs =
  1199. (com.google.protobuf.ByteString) ref;
  1200. String s = bs.toStringUtf8();
  1201. if (com.google.protobuf.Internal.isValidUtf8(bs)) {
  1202. sinceDate_ = s;
  1203. }
  1204. return s;
  1205. }
  1206. }
  1207. private com.google.protobuf.ByteString getSinceDateBytes() {
  1208. java.lang.Object ref = sinceDate_;
  1209. if (ref instanceof String) {
  1210. com.google.protobuf.ByteString b =
  1211. com.google.protobuf.ByteString.copyFromUtf8((String) ref);
  1212. sinceDate_ = b;
  1213. return b;
  1214. } else {
  1215. return (com.google.protobuf.ByteString) ref;
  1216. }
  1217. }
  1218. private void initFields() {
  1219. nodeName_ = "";
  1220. ptid_ = 0;
  1221. type_ = org.iso.nepool.PnodeProto.IsoNode.Type.HUB;
  1222. stationName_ = "";
  1223. stationShortName_ = "";
  1224. unitName_ = "";
  1225. unitShortName_ = "";
  1226. zoneId_ = 0;
  1227. reserveId_ = 0;
  1228. rspArea_ = "";
  1229. dispatchZone_ = "";
  1230. ptfStatus_ = "";
  1231. zoneName_ = "";
  1232. reserveZoneName_ = "";
  1233. externalInterfaceName_ = "";
  1234. removedOnDate_ = "";
  1235. sinceDate_ = "";
  1236. }
  1237. private byte memoizedIsInitialized = -1;
  1238. public final boolean isInitialized() {
  1239. byte isInitialized = memoizedIsInitialized;
  1240. if (isInitialized != -1) return isInitialized == 1;
  1241. if (!hasNodeName()) {
  1242. memoizedIsInitialized = 0;
  1243. return false;
  1244. }
  1245. if (!hasPtid()) {
  1246. memoizedIsInitialized = 0;
  1247. return false;
  1248. }
  1249. if (!hasType()) {
  1250. memoizedIsInitialized = 0;
  1251. return false;
  1252. }
  1253. memoizedIsInitialized = 1;
  1254. return true;
  1255. }
  1256. public void writeTo(com.google.protobuf.CodedOutputStream output)
  1257. throws java.io.IOException {
  1258. getSerializedSize();
  1259. if (((bitField0_ & 0x00000001) == 0x00000001)) {
  1260. output.writeBytes(1, getNodeNameBytes());
  1261. }
  1262. if (((bitField0_ & 0x00000002) == 0x00000002)) {
  1263. output.writeInt32(2, ptid_);
  1264. }
  1265. if (((bitField0_ & 0x00000004) == 0x00000004)) {
  1266. output.writeEnum(3, type_.getNumber());
  1267. }
  1268. if (((bitField0_ & 0x00000008) == 0x00000008)) {
  1269. output.writeBytes(4, getStationNameBytes());
  1270. }
  1271. if (((bitField0_ & 0x00000010) == 0x00000010)) {
  1272. output.writeBytes(5, getStationShortNameBytes());
  1273. }
  1274. if (((bitField0_ & 0x00000020) == 0x00000020)) {
  1275. output.writeBytes(6, getUnitNameBytes());
  1276. }
  1277. if (((bitField0_ & 0x00000040) == 0x00000040)) {
  1278. output.writeBytes(7, getUnitShortNameBytes());
  1279. }
  1280. if (((bitField0_ & 0x00000080) == 0x00000080)) {
  1281. output.writeInt32(8, zoneId_);
  1282. }
  1283. if (((bitField0_ & 0x00000100) == 0x00000100)) {
  1284. output.writeInt32(9, reserveId_);
  1285. }
  1286. if (((bitField0_ & 0x00000200) == 0x00000200)) {
  1287. output.writeBytes(10, getRspAreaBytes());
  1288. }
  1289. if (((bitField0_ & 0x00000400) == 0x00000400)) {
  1290. output.writeBytes(11, getDispatchZoneBytes());
  1291. }
  1292. if (((bitField0_ & 0x00000800) == 0x00000800)) {
  1293. output.writeBytes(12, getPtfStatusBytes());
  1294. }
  1295. if (((bitField0_ & 0x00001000) == 0x00001000)) {
  1296. output.writeBytes(13, getZoneNameBytes());
  1297. }
  1298. if (((bitField0_ & 0x00002000) == 0x00002000)) {
  1299. output.writeBytes(14, getReserveZoneNameBytes());
  1300. }
  1301. if (((bitField0_ & 0x00004000) == 0x00004000)) {
  1302. output.writeBytes(15, getExternalInterfaceNameBytes());
  1303. }
  1304. if (((bitField0_ & 0x00008000) == 0x00008000)) {
  1305. output.writeBytes(16, getRemovedOnDateBytes());
  1306. }
  1307. if (((bitField0_ & 0x00010000) == 0x00010000)) {
  1308. output.writeBytes(17, getSinceDateBytes());
  1309. }
  1310. getUnknownFields().writeTo(output);
  1311. }
  1312. private int memoizedSerializedSize = -1;
  1313. public int getSerializedSize() {
  1314. int size = memoizedSerializedSize;
  1315. if (size != -1) return size;
  1316. size = 0;
  1317. if (((bitField0_ & 0x00000001) == 0x00000001)) {
  1318. size += com.google.protobuf.CodedOutputStream
  1319. .computeBytesSize(1, getNodeNameBytes());
  1320. }
  1321. if (((bitField0_ & 0x00000002) == 0x00000002)) {
  1322. size += com.google.protobuf.CodedOutputStream
  1323. .computeInt32Size(2, ptid_);
  1324. }
  1325. if (((bitField0_ & 0x00000004) == 0x00000004)) {
  1326. size += com.google.protobuf.CodedOutputStream
  1327. .computeEnumSize(3, type_.getNumber());
  1328. }
  1329. if (((bitField0_ & 0x00000008) == 0x00000008)) {
  1330. size += com.google.protobuf.CodedOutputStream
  1331. .computeBytesSize(4, getStationNameBytes());
  1332. }
  1333. if (((bitField0_ & 0x00000010) == 0x00000010)) {
  1334. size += com.google.protobuf.CodedOutputStream
  1335. .computeBytesSize(5, getStationShortNameBytes());
  1336. }
  1337. if (((bitField0_ & 0x00000020) == 0x00000020)) {
  1338. size += com.google.protobuf.CodedOutputStream
  1339. .computeBytesSize(6, getUnitNameBytes());
  1340. }
  1341. if (((bitField0_ & 0x00000040) == 0x00000040)) {
  1342. size += com.google.protobuf.CodedOutputStream
  1343. .computeBytesSize(7, getUnitShortNameBytes());
  1344. }
  1345. if (((bitField0_ & 0x00000080) == 0x00000080)) {
  1346. size += com.google.protobuf.CodedOutputStream
  1347. .computeInt32Size(8, zoneId_);
  1348. }
  1349. if (((bitField0_ & 0x00000100) == 0x00000100)) {
  1350. size += com.google.protobuf.CodedOutputStream
  1351. .computeInt32Size(9, reserveId_);
  1352. }
  1353. if (((bitField0_ & 0x00000200) == 0x00000200)) {
  1354. size += com.google.protobuf.CodedOutputStream
  1355. .computeBytesSize(10, getRspAreaBytes());
  1356. }
  1357. if (((bitField0_ & 0x00000400) == 0x00000400)) {
  1358. size += com.google.protobuf.CodedOutputStream
  1359. .computeBytesSize(11, getDispatchZoneBytes());
  1360. }
  1361. if (((bitField0_ & 0x00000800) == 0x00000800)) {
  1362. size += com.google.protobuf.CodedOutputStream
  1363. .computeBytesSize(12, getPtfStatusBytes());
  1364. }
  1365. if (((bitField0_ & 0x00001000) == 0x00001000)) {
  1366. size += com.google.protobuf.CodedOutputStream
  1367. .computeBytesSize(13, getZoneNameBytes());
  1368. }
  1369. if (((bitField0_ & 0x00002000) == 0x00002000)) {
  1370. size += com.google.protobuf.CodedOutputStream
  1371. .computeBytesSize(14, getReserveZoneNameBytes());
  1372. }
  1373. if (((bitField0_ & 0x00004000) == 0x00004000)) {
  1374. size += com.google.protobuf.CodedOutputStream
  1375. .computeBytesSize(15, getExternalInterfaceNameBytes());
  1376. }
  1377. if (((bitField0_ & 0x00008000) == 0x00008000)) {
  1378. size += com.google.protobuf.CodedOutputStream
  1379. .computeBytesSize(16, getRemovedOnDateBytes());
  1380. }
  1381. if (((bitField0_ & 0x00010000) == 0x00010000)) {
  1382. size += com.google.protobuf.CodedOutputStream
  1383. .computeBytesSize(17, getSinceDateBytes());
  1384. }
  1385. size += getUnknownFields().getSerializedSize();
  1386. memoizedSerializedSize = size;
  1387. return size;
  1388. }
  1389. private static final long serialVersionUID = 0L;
  1390. @java.lang.Override
  1391. protected java.lang.Object writeReplace()
  1392. throws java.io.ObjectStreamException {
  1393. return super.writeReplace();
  1394. }
  1395. public static org.iso.nepool.PnodeProto.IsoNode parseFrom(
  1396. com.google.protobuf.ByteString data)
  1397. throws com.google.protobuf.InvalidProtocolBufferException {
  1398. return newBuilder().mergeFrom(data).buildParsed();
  1399. }
  1400. public static org.iso.nepool.PnodeProto.IsoNode parseFrom(
  1401. com.google.protobuf.ByteString data,
  1402. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1403. throws com.google.protobuf.InvalidProtocolBufferException {
  1404. return newBuilder().mergeFrom(data, extensionRegistry)
  1405. .buildParsed();
  1406. }
  1407. public static org.iso.nepool.PnodeProto.IsoNode parseFrom(byte[] data)
  1408. throws com.google.protobuf.InvalidProtocolBufferException {
  1409. return newBuilder().mergeFrom(data).buildParsed();
  1410. }
  1411. public static org.iso.nepool.PnodeProto.IsoNode parseFrom(
  1412. byte[] data,
  1413. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1414. throws com.google.protobuf.InvalidProtocolBufferException {
  1415. return newBuilder().mergeFrom(data, extensionRegistry)
  1416. .buildParsed();
  1417. }
  1418. public static org.iso.nepool.PnodeProto.IsoNode parseFrom(java.io.InputStream input)
  1419. throws java.io.IOException {
  1420. return newBuilder().mergeFrom(input).buildParsed();
  1421. }
  1422. public static org.iso.nepool.PnodeProto.IsoNode parseFrom(
  1423. java.io.InputStream input,
  1424. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1425. throws java.io.IOException {
  1426. return newBuilder().mergeFrom(input, extensionRegistry)
  1427. .buildParsed();
  1428. }
  1429. public static org.iso.nepool.PnodeProto.IsoNode parseDelimitedFrom(java.io.InputStream input)
  1430. throws java.io.IOException {
  1431. Builder builder = newBuilder();
  1432. if (builder.mergeDelimitedFrom(input)) {
  1433. return builder.buildParsed();
  1434. } else {
  1435. return null;
  1436. }
  1437. }
  1438. public static org.iso.nepool.PnodeProto.IsoNode parseDelimitedFrom(
  1439. java.io.InputStream input,
  1440. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1441. throws java.io.IOException {
  1442. Builder builder = newBuilder();
  1443. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  1444. return builder.buildParsed();
  1445. } else {
  1446. return null;
  1447. }
  1448. }
  1449. public static org.iso.nepool.PnodeProto.IsoNode parseFrom(
  1450. com.google.protobuf.CodedInputStream input)
  1451. throws java.io.IOException {
  1452. return newBuilder().mergeFrom(input).buildParsed();
  1453. }
  1454. public static org.iso.nepool.PnodeProto.IsoNode parseFrom(
  1455. com.google.protobuf.CodedInputStream input,
  1456. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1457. throws java.io.IOException {
  1458. return newBuilder().mergeFrom(input, extensionRegistry)
  1459. .buildParsed();
  1460. }
  1461. public static Builder newBuilder() { return Builder.create(); }
  1462. public Builder newBuilderForType() { return newBuilder(); }
  1463. public static Builder newBuilder(org.iso.nepool.PnodeProto.IsoNode prototype) {
  1464. return newBuilder().mergeFrom(prototype);
  1465. }
  1466. public Builder toBuilder() { return newBuilder(this); }
  1467. @java.lang.Override
  1468. protected Builder newBuilderForType(
  1469. com.google.protobuf.GeneratedMessage.BuilderParent parent) {
  1470. Builder builder = new Builder(parent);
  1471. return builder;
  1472. }
  1473. public static final class Builder extends
  1474. com.google.protobuf.GeneratedMessage.Builder<Builder>
  1475. implements org.iso.nepool.PnodeProto.IsoNodeOrBuilder {
  1476. public static final com.google.protobuf.Descriptors.Descriptor
  1477. getDescriptor() {
  1478. return org.iso.nepool.PnodeProto.internal_static_pnode_IsoNode_descriptor;
  1479. }
  1480. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  1481. internalGetFieldAccessorTable() {
  1482. return org.iso.nepool.PnodeProto.internal_static_pnode_IsoNode_fieldAccessorTable;
  1483. }
  1484. // Construct using org.iso.nepool.PnodeProto.IsoNode.newBuilder()
  1485. private Builder() {
  1486. maybeForceBuilderInitialization();
  1487. }
  1488. private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
  1489. super(parent);
  1490. maybeForceBuilderInitialization();
  1491. }
  1492. private void maybeForceBuilderInitialization() {
  1493. if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
  1494. }
  1495. }
  1496. private static Builder create() {
  1497. return new Builder();
  1498. }
  1499. public Builder clear() {
  1500. super.clear();
  1501. nodeName_ = "";
  1502. bitField0_ = (bitField0_ & ~0x00000001);
  1503. ptid_ = 0;
  1504. bitField0_ = (bitField0_ & ~0x00000002);
  1505. type_ = org.iso.nepool.PnodeProto.IsoNode.Type.HUB;
  1506. bitField0_ = (bitField0_ & ~0x00000004);
  1507. stationName_ = "";
  1508. bitField0_ = (bitField0_ & ~0x00000008);
  1509. stationShortName_ = "";
  1510. bitField0_ = (bitField0_ & ~0x00000010);
  1511. unitName_ = "";
  1512. bitField0_ = (bitField0_ & ~0x00000020);
  1513. unitShortName_ = "";
  1514. bitField0_ = (bitField0_ & ~0x00000040);
  1515. zoneId_ = 0;
  1516. bitField0_ = (bitField0_ & ~0x00000080);
  1517. reserveId_ = 0;
  1518. bitField0_ = (bitField0_ & ~0x00000100);
  1519. rspArea_ = "";
  1520. bitField0_ = (bitField0_ & ~0x00000200);
  1521. dispatchZone_ = "";
  1522. bitField0_ = (bitField0_ & ~0x00000400);
  1523. ptfStatus_ = "";
  1524. bitField0_ = (bitField0_ & ~0x00000800);
  1525. zoneName_ = "";
  1526. bitField0_ = (bitField0_ & ~0x00001000);
  1527. reserveZoneName_ = "";
  1528. bitField0_ = (bitField0_ & ~0x00002000);
  1529. externalInterfaceName_ = "";
  1530. bitField0_ = (bitField0_ & ~0x00004000);
  1531. removedOnDate_ = "";
  1532. bitField0_ = (bitField0_ & ~0x00008000);
  1533. sinceDate_ = "";
  1534. bitField0_ = (bitField0_ & ~0x00010000);
  1535. return this;
  1536. }
  1537. public Builder clone() {
  1538. return create().mergeFrom(buildPartial());
  1539. }
  1540. public com.google.protobuf.Descriptors.Descriptor
  1541. getDescriptorForType() {
  1542. return org.iso.nepool.PnodeProto.IsoNode.getDescriptor();
  1543. }
  1544. public org.iso.nepool.PnodeProto.IsoNode getDefaultInstanceForType() {
  1545. return org.iso.nepool.PnodeProto.IsoNode.getDefaultInstance();
  1546. }
  1547. public org.iso.nepool.PnodeProto.IsoNode build() {
  1548. org.iso.nepool.PnodeProto.IsoNode result = buildPartial();
  1549. if (!result.isInitialized()) {
  1550. throw newUninitializedMessageException(result);
  1551. }
  1552. return result;
  1553. }
  1554. private org.iso.nepool.PnodeProto.IsoNode buildParsed()
  1555. throws com.google.protobuf.InvalidProtocolBufferException {
  1556. org.iso.nepool.PnodeProto.IsoNode result = buildPartial();
  1557. if (!result.isInitialized()) {
  1558. throw newUninitializedMessageException(
  1559. result).asInvalidProtocolBufferException();
  1560. }
  1561. return result;
  1562. }
  1563. public org.iso.nepool.PnodeProto.IsoNode buildPartial() {
  1564. org.iso.nepool.PnodeProto.IsoNode result = new org.iso.nepool.PnodeProto.IsoNode(this);
  1565. int from_bitField0_ = bitField0_;
  1566. int to_bitField0_ = 0;
  1567. if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
  1568. to_bitField0_ |= 0x00000001;
  1569. }
  1570. result.nodeName_ = nodeName_;
  1571. if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
  1572. to_bitField0_ |= 0x00000002;
  1573. }
  1574. result.ptid_ = ptid_;
  1575. if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
  1576. to_bitField0_ |= 0x00000004;
  1577. }
  1578. result.type_ = type_;
  1579. if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
  1580. to_bitField0_ |= 0x00000008;
  1581. }
  1582. result.stationName_ = stationName_;
  1583. if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
  1584. to_bitField0_ |= 0x00000010;
  1585. }
  1586. result.stationShortName_ = stationShortName_;
  1587. if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
  1588. to_bitField0_ |= 0x00000020;
  1589. }
  1590. result.unitName_ = unitName_;
  1591. if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
  1592. to_bitField0_ |= 0x00000040;
  1593. }
  1594. result.unitShortName_ = unitShortName_;
  1595. if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
  1596. to_bitField0_ |= 0x00000080;
  1597. }
  1598. result.zoneId_ = zoneId_;
  1599. if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
  1600. to_bitField0_ |= 0x00000100;
  1601. }
  1602. result.reserveId_ = reserveId_;
  1603. if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
  1604. to_bitField0_ |= 0x00000200;
  1605. }
  1606. result.rspArea_ = rspArea_;
  1607. if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
  1608. to_bitField0_ |= 0x00000400;
  1609. }
  1610. result.dispatchZone_ = dispatchZone_;
  1611. if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
  1612. to_bitField0_ |= 0x00000800;
  1613. }
  1614. result.ptfStatus_ = ptfStatus_;
  1615. if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
  1616. to_bitField0_ |= 0x00001000;
  1617. }
  1618. result.zoneName_ = zoneName_;
  1619. if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
  1620. to_bitField0_ |= 0x00002000;
  1621. }
  1622. result.reserveZoneName_ = reserveZoneName_;
  1623. if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
  1624. to_bitField0_ |= 0x00004000;
  1625. }
  1626. result.externalInterfaceName_ = externalInterfaceName_;
  1627. if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
  1628. to_bitField0_ |= 0x00008000;
  1629. }
  1630. result.removedOnDate_ = removedOnDate_;
  1631. if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
  1632. to_bitField0_ |= 0x00010000;
  1633. }
  1634. result.sinceDate_ = sinceDate_;
  1635. result.bitField0_ = to_bitField0_;
  1636. onBuilt();
  1637. return result;
  1638. }
  1639. public Builder mergeFrom(com.google.protobuf.Message other) {
  1640. if (other instanceof org.iso.nepool.PnodeProto.IsoNode) {
  1641. return mergeFrom((org.iso.nepool.PnodeProto.IsoNode)other);
  1642. } else {
  1643. super.mergeFrom(other);
  1644. return this;
  1645. }
  1646. }
  1647. public Builder mergeFrom(org.iso.nepool.PnodeProto.IsoNode other) {
  1648. if (other == org.iso.nepool.PnodeProto.IsoNode.getDefaultInstance()) return this;
  1649. if (other.hasNodeName()) {
  1650. setNodeName(other.getNodeName());
  1651. }
  1652. if (other.hasPtid()) {
  1653. setPtid(other.getPtid());
  1654. }
  1655. if (other.hasType()) {
  1656. setType(other.getType());
  1657. }
  1658. if (other.hasStationName()) {
  1659. setStationName(other.getStationName());
  1660. }
  1661. if (other.hasStationShortName()) {
  1662. setStationShortName(other.getStationShortName());
  1663. }
  1664. if (other.hasUnitName()) {
  1665. setUnitName(other.getUnitName());
  1666. }
  1667. if (other.hasUnitShortName()) {
  1668. setUnitShortName(other.getUnitShortName());
  1669. }
  1670. if (other.hasZoneId()) {
  1671. setZoneId(other.getZoneId());
  1672. }
  1673. if (other.hasReserveId()) {
  1674. setReserveId(other.getReserveId());
  1675. }
  1676. if (other.hasRspArea()) {
  1677. setRspArea(other.getRspArea());
  1678. }
  1679. if (other.hasDispatchZone()) {
  1680. setDispatchZone(other.getDispatchZone());
  1681. }
  1682. if (other.hasPtfStatus()) {
  1683. setPtfStatus(other.getPtfStatus());
  1684. }
  1685. if (other.hasZoneName()) {
  1686. setZoneName(other.getZoneName());
  1687. }
  1688. if (other.hasReserveZoneName()) {
  1689. setReserveZoneName(other.getReserveZoneName());
  1690. }
  1691. if (other.hasExternalInterfaceName()) {
  1692. setExternalInterfaceName(other.getExternalInterfaceName());
  1693. }
  1694. if (other.hasRemovedOnDate()) {
  1695. setRemovedOnDate(other.getRemovedOnDate());
  1696. }
  1697. if (other.hasSinceDate()) {
  1698. setSinceDate(other.getSinceDate());
  1699. }
  1700. this.mergeUnknownFields(other.getUnknownFields());
  1701. return this;
  1702. }
  1703. public final boolean isInitialized() {
  1704. if (!hasNodeName()) {
  1705. return false;
  1706. }
  1707. if (!hasPtid()) {
  1708. return false;
  1709. }
  1710. if (!hasType()) {
  1711. return false;
  1712. }
  1713. return true;
  1714. }
  1715. public Builder mergeFrom(
  1716. com.google.protobuf.CodedInputStream input,
  1717. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1718. throws java.io.IOException {
  1719. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  1720. com.google.protobuf.UnknownFieldSet.newBuilder(
  1721. this.getUnknownFields());
  1722. while (true) {
  1723. int tag = input.readTag();
  1724. switch (tag) {
  1725. case 0:
  1726. this.setUnknownFields(unknownFields.build());
  1727. onChanged();
  1728. return this;
  1729. default: {
  1730. if (!parseUnknownField(input, unknownFields,
  1731. extensionRegistry, tag)) {
  1732. this.setUnknownFields(unknownFields.build());
  1733. onChanged();
  1734. return this;
  1735. }
  1736. break;
  1737. }
  1738. case 10: {
  1739. bitField0_ |= 0x00000001;
  1740. nodeName_ = input.readBytes();
  1741. break;
  1742. }
  1743. case 16: {
  1744. bitField0_ |= 0x00000002;
  1745. ptid_ = input.readInt32();
  1746. break;
  1747. }
  1748. case 24: {
  1749. int rawValue = input.readEnum();
  1750. org.iso.nepool.PnodeProto.IsoNode.Type value = org.iso.nepool.PnodeProto.IsoNode.Type.valueOf(rawValue);
  1751. if (value == null) {
  1752. unknownFields.mergeVarintField(3, rawValue);
  1753. } else {
  1754. bitField0_ |= 0x00000004;
  1755. type_ = value;
  1756. }
  1757. break;
  1758. }
  1759. case 34: {
  1760. bitField0_ |= 0x00000008;
  1761. stationName_ = input.readBytes();
  1762. break;
  1763. }
  1764. case 42: {
  1765. bitField0_ |= 0x00000010;
  1766. stationShortName_ = input.readBytes();
  1767. break;
  1768. }
  1769. case 50: {
  1770. bitField0_ |= 0x00000020;
  1771. unitName_ = input.readBytes();
  1772. break;
  1773. }
  1774. case 58: {
  1775. bitField0_ |= 0x00000040;
  1776. unitShortName_ = input.readBytes();
  1777. break;
  1778. }
  1779. case 64: {
  1780. bitField0_ |= 0x00000080;
  1781. zoneId_ = input.readInt32();
  1782. break;
  1783. }
  1784. case 72: {
  1785. bitField0_ |= 0x00000100;
  1786. reserveId_ = input.readInt32();
  1787. break;
  1788. }
  1789. case 82: {
  1790. bitField0_ |= 0x00000200;
  1791. rspArea_ = input.readBytes();
  1792. break;
  1793. }
  1794. case 90: {
  1795. bitField0_ |= 0x00000400;