public override int GetHashCode()
        {
            int hash = 1;

            if (SessionId.Length != 0)
            {
                hash ^= SessionId.GetHashCode();
            }
            if (MessageId.Length != 0)
            {
                hash ^= MessageId.GetHashCode();
            }
            if (CommChannel.Length != 0)
            {
                hash ^= CommChannel.GetHashCode();
            }
            if (MessageJson.Length != 0)
            {
                hash ^= MessageJson.GetHashCode();
            }
            if (stampOne_ != null)
            {
                hash ^= StampOne.GetHashCode();
            }
            if (stampTwo_ != null)
            {
                hash ^= StampTwo.GetHashCode();
            }
            if (stampThree_ != null)
            {
                hash ^= StampThree.GetHashCode();
            }
            if (stampFour_ != null)
            {
                hash ^= StampFour.GetHashCode();
            }
            if (stampFive_ != null)
            {
                hash ^= StampFive.GetHashCode();
            }
            return(hash);
        }
 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);
     }
 }