public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    SessionId = input.ReadString();
                    break;
                }

                case 18: {
                    MessageId = input.ReadString();
                    break;
                }

                case 26: {
                    CommChannel = input.ReadString();
                    break;
                }

                case 34: {
                    MessageJson = input.ReadString();
                    break;
                }

                case 42: {
                    if (stampOne_ == null)
                    {
                        stampOne_ = new global::Common.Grpc.VisitStamp();
                    }
                    input.ReadMessage(stampOne_);
                    break;
                }

                case 50: {
                    if (stampTwo_ == null)
                    {
                        stampTwo_ = new global::Common.Grpc.VisitStamp();
                    }
                    input.ReadMessage(stampTwo_);
                    break;
                }

                case 58: {
                    if (stampThree_ == null)
                    {
                        stampThree_ = new global::Common.Grpc.VisitStamp();
                    }
                    input.ReadMessage(stampThree_);
                    break;
                }

                case 66: {
                    if (stampFour_ == null)
                    {
                        stampFour_ = new global::Common.Grpc.VisitStamp();
                    }
                    input.ReadMessage(stampFour_);
                    break;
                }

                case 74: {
                    if (stampFive_ == null)
                    {
                        stampFive_ = new global::Common.Grpc.VisitStamp();
                    }
                    input.ReadMessage(stampFive_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(ServiceMessage2 other)
 {
     if (other == null)
     {
         return;
     }
     if (other.SessionId.Length != 0)
     {
         SessionId = other.SessionId;
     }
     if (other.MessageId.Length != 0)
     {
         MessageId = other.MessageId;
     }
     if (other.CommChannel.Length != 0)
     {
         CommChannel = other.CommChannel;
     }
     if (other.MessageJson.Length != 0)
     {
         MessageJson = other.MessageJson;
     }
     if (other.stampOne_ != null)
     {
         if (stampOne_ == null)
         {
             stampOne_ = new global::Common.Grpc.VisitStamp();
         }
         StampOne.MergeFrom(other.StampOne);
     }
     if (other.stampTwo_ != null)
     {
         if (stampTwo_ == null)
         {
             stampTwo_ = new global::Common.Grpc.VisitStamp();
         }
         StampTwo.MergeFrom(other.StampTwo);
     }
     if (other.stampThree_ != null)
     {
         if (stampThree_ == null)
         {
             stampThree_ = new global::Common.Grpc.VisitStamp();
         }
         StampThree.MergeFrom(other.StampThree);
     }
     if (other.stampFour_ != null)
     {
         if (stampFour_ == null)
         {
             stampFour_ = new global::Common.Grpc.VisitStamp();
         }
         StampFour.MergeFrom(other.StampFour);
     }
     if (other.stampFive_ != null)
     {
         if (stampFive_ == null)
         {
             stampFive_ = new global::Common.Grpc.VisitStamp();
         }
         StampFive.MergeFrom(other.StampFive);
     }
 }