* Copy struct (shallow copy) * @this {!StructOptional} * @param {!StructOptional} other Other struct * @returns {!StructOptional} This struct
(other)
| 5503 | * @returns {!StructOptional} This struct |
| 5504 | */ |
| 5505 | copy (other) { |
| 5506 | super.copy(other) |
| 5507 | if (other.f100 != null) { |
| 5508 | this.f100 = other.f100 |
| 5509 | } else { |
| 5510 | this.f100 = undefined |
| 5511 | } |
| 5512 | if (other.f101 != null) { |
| 5513 | this.f101 = other.f101 |
| 5514 | } else { |
| 5515 | this.f101 = undefined |
| 5516 | } |
| 5517 | if (other.f102 != null) { |
| 5518 | this.f102 = other.f102 |
| 5519 | } else { |
| 5520 | this.f102 = undefined |
| 5521 | } |
| 5522 | if (other.f103 != null) { |
| 5523 | this.f103 = other.f103 |
| 5524 | } else { |
| 5525 | this.f103 = undefined |
| 5526 | } |
| 5527 | if (other.f104 != null) { |
| 5528 | this.f104 = other.f104 |
| 5529 | } else { |
| 5530 | this.f104 = undefined |
| 5531 | } |
| 5532 | if (other.f105 != null) { |
| 5533 | this.f105 = other.f105 |
| 5534 | } else { |
| 5535 | this.f105 = undefined |
| 5536 | } |
| 5537 | if (other.f106 != null) { |
| 5538 | if ((typeof other.f106 === 'string') || (other.f106 instanceof String)) { |
| 5539 | this.f106 = other.f106 |
| 5540 | } else { |
| 5541 | this.f106 = String.fromCharCode(other.f106) |
| 5542 | } |
| 5543 | } else { |
| 5544 | this.f106 = undefined |
| 5545 | } |
| 5546 | if (other.f107 != null) { |
| 5547 | if ((typeof other.f107 === 'string') || (other.f107 instanceof String)) { |
| 5548 | this.f107 = other.f107 |
| 5549 | } else { |
| 5550 | this.f107 = String.fromCharCode(other.f107) |
| 5551 | } |
| 5552 | } else { |
| 5553 | this.f107 = undefined |
| 5554 | } |
| 5555 | if (other.f108 != null) { |
| 5556 | if ((typeof other.f108 === 'string') || (other.f108 instanceof String)) { |
| 5557 | this.f108 = other.f108 |
| 5558 | } else { |
| 5559 | this.f108 = String.fromCharCode(other.f108) |
| 5560 | } |
| 5561 | } else { |
| 5562 | this.f108 = undefined |
nothing calls this directly
no test coverage detected