public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (accountingTransactionWithGuest_ == null) { accountingTransactionWithGuest_ = new global::HOLMS.Types.Money.Accounting.AccountingTransactionWithGuest(); } input.ReadMessage(accountingTransactionWithGuest_); break; } case 18: { if (guest_ == null) { guest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } input.ReadMessage(guest_); break; } } } }
public void MergeFrom(AssignGuestOwnerToTxnReq other) { if (other == null) { return; } if (other.accountingTransactionWithGuest_ != null) { if (accountingTransactionWithGuest_ == null) { accountingTransactionWithGuest_ = new global::HOLMS.Types.Money.Accounting.AccountingTransactionWithGuest(); } AccountingTransactionWithGuest.MergeFrom(other.AccountingTransactionWithGuest); } if (other.guest_ != null) { if (guest_ == null) { guest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } Guest.MergeFrom(other.Guest); } }