public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (duration_ == null) { duration_ = new global::POGOProtos.Networking.Platform.Telemetry.PlatformMetricData(); } input.ReadMessage(duration_); break; } case 16: { bootPhase_ = (global::POGOProtos.Data.BootTime.Types.BootPhase)input.ReadEnum(); break; } } } }
public void MergeFrom(BootTime other) { if (other == null) { return; } if (other.duration_ != null) { if (duration_ == null) { duration_ = new global::POGOProtos.Networking.Platform.Telemetry.PlatformMetricData(); } Duration.MergeFrom(other.Duration); } if (other.BootPhase != 0) { BootPhase = other.BootPhase; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }