public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (header_ == null) { header_ = new global::Pb.Header(); } input.ReadMessage(header_); break; } case 18: { Body = input.ReadBytes(); break; } } } }
public void MergeFrom(Message other) { if (other == null) { return; } if (other.header_ != null) { if (header_ == null) { header_ = new global::Pb.Header(); } Header.MergeFrom(other.Header); } if (other.Body.Length != 0) { Body = other.Body; } }