/** <code>required .com.chaoslabgames.packet.MoverDataPkg moverData = 3;</code> */ public Builder setMoverData(com.chaoslabgames.packet.MoverDataPkg.Builder builderForValue) { if (moverDataBuilder_ == null) { moverData_ = builderForValue.build(); onChanged(); } else { moverDataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; }
private UpdateMoverEventPkg( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; id_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; tickId_ = input.readInt64(); break; } case 26: { com.chaoslabgames.packet.MoverDataPkg.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = moverData_.toBuilder(); } moverData_ = input.readMessage( com.chaoslabgames.packet.MoverDataPkg.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(moverData_); moverData_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e.getMessage()) .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } }