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

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

                case 10: {
                    if (userId_ == null)
                    {
                        userId_ = new global::KillrVideo.Protobuf.Uuid();
                    }
                    input.ReadMessage(userId_);
                    break;
                }

                case 18: {
                    if (videoId_ == null)
                    {
                        videoId_ = new global::KillrVideo.Protobuf.Uuid();
                    }
                    input.ReadMessage(videoId_);
                    break;
                }

                case 26: {
                    if (commentId_ == null)
                    {
                        commentId_ = new global::KillrVideo.Protobuf.TimeUuid();
                    }
                    input.ReadMessage(commentId_);
                    break;
                }

                case 34: {
                    if (commentTimestamp_ == null)
                    {
                        commentTimestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(commentTimestamp_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(UserCommentedOnVideo other)
 {
     if (other == null)
     {
         return;
     }
     if (other.userId_ != null)
     {
         if (userId_ == null)
         {
             userId_ = new global::KillrVideo.Protobuf.Uuid();
         }
         UserId.MergeFrom(other.UserId);
     }
     if (other.videoId_ != null)
     {
         if (videoId_ == null)
         {
             videoId_ = new global::KillrVideo.Protobuf.Uuid();
         }
         VideoId.MergeFrom(other.VideoId);
     }
     if (other.commentId_ != null)
     {
         if (commentId_ == null)
         {
             commentId_ = new global::KillrVideo.Protobuf.TimeUuid();
         }
         CommentId.MergeFrom(other.CommentId);
     }
     if (other.commentTimestamp_ != null)
     {
         if (commentTimestamp_ == null)
         {
             commentTimestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CommentTimestamp.MergeFrom(other.CommentTimestamp);
     }
 }