public void MergeFrom(RateVideoRequest other) { if (other == null) { return; } if (other.videoId_ != null) { if (videoId_ == null) { videoId_ = new global::KillrVideo.Protobuf.Uuid(); } VideoId.MergeFrom(other.VideoId); } if (other.userId_ != null) { if (userId_ == null) { userId_ = new global::KillrVideo.Protobuf.Uuid(); } UserId.MergeFrom(other.UserId); } if (other.Rating != 0) { Rating = other.Rating; } }
public void MergeFrom(UploadedVideoPublished other) { if (other == null) { return; } if (other.videoId_ != null) { if (videoId_ == null) { videoId_ = new global::KillrVideo.Protobuf.Uuid(); } VideoId.MergeFrom(other.VideoId); } if (other.timestamp_ != null) { if (timestamp_ == null) { timestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } Timestamp.MergeFrom(other.Timestamp); } if (other.VideoUrl.Length != 0) { VideoUrl = other.VideoUrl; } if (other.ThumbnailUrl.Length != 0) { ThumbnailUrl = other.ThumbnailUrl; } }
public void MergeFrom(UserRatedVideo other) { if (other == null) { return; } if (other.videoId_ != null) { if (videoId_ == null) { videoId_ = new global::KillrVideo.Protobuf.Uuid(); } VideoId.MergeFrom(other.VideoId); } if (other.userId_ != null) { if (userId_ == null) { userId_ = new global::KillrVideo.Protobuf.Uuid(); } UserId.MergeFrom(other.UserId); } if (other.Rating != 0) { Rating = other.Rating; } if (other.ratingTimestamp_ != null) { if (ratingTimestamp_ == null) { ratingTimestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } RatingTimestamp.MergeFrom(other.RatingTimestamp); } }
public void MergeFrom(UploadedVideoAdded other) { if (other == null) { return; } if (other.videoId_ != null) { if (videoId_ == null) { videoId_ = new global::KillrVideo.Protobuf.Uuid(); } VideoId.MergeFrom(other.VideoId); } if (other.userId_ != null) { if (userId_ == null) { userId_ = new global::KillrVideo.Protobuf.Uuid(); } UserId.MergeFrom(other.UserId); } if (other.Name.Length != 0) { Name = other.Name; } if (other.Description.Length != 0) { Description = other.Description; } if (other.Location.Length != 0) { Location = other.Location; } if (other.PreviewImageLocation.Length != 0) { PreviewImageLocation = other.PreviewImageLocation; } tags_.Add(other.tags_); if (other.addedDate_ != null) { if (addedDate_ == null) { addedDate_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } AddedDate.MergeFrom(other.AddedDate); } if (other.timestamp_ != null) { if (timestamp_ == null) { timestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } Timestamp.MergeFrom(other.Timestamp); } }
public void MergeFrom(PlayStats other) { if (other == null) { return; } if (other.videoId_ != null) { if (videoId_ == null) { videoId_ = new global::KillrVideo.Protobuf.Uuid(); } VideoId.MergeFrom(other.VideoId); } if (other.Views != 0L) { Views = other.Views; } }
public void MergeFrom(GetRelatedVideosResponse other) { if (other == null) { return; } if (other.videoId_ != null) { if (videoId_ == null) { videoId_ = new global::KillrVideo.Protobuf.Uuid(); } VideoId.MergeFrom(other.VideoId); } videos_.Add(other.videos_); if (other.PagingState.Length != 0) { PagingState = other.PagingState; } }
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); } }
public void MergeFrom(SuggestedVideoPreview other) { if (other == null) { return; } if (other.videoId_ != null) { if (videoId_ == null) { videoId_ = new global::KillrVideo.Protobuf.Uuid(); } VideoId.MergeFrom(other.VideoId); } if (other.addedDate_ != null) { if (addedDate_ == null) { addedDate_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } AddedDate.MergeFrom(other.AddedDate); } if (other.Name.Length != 0) { Name = other.Name; } if (other.PreviewImageLocation.Length != 0) { PreviewImageLocation = other.PreviewImageLocation; } if (other.userId_ != null) { if (userId_ == null) { userId_ = new global::KillrVideo.Protobuf.Uuid(); } UserId.MergeFrom(other.UserId); } }
public void MergeFrom(UploadedVideoProcessingSucceeded other) { if (other == null) { return; } if (other.videoId_ != null) { if (videoId_ == null) { videoId_ = new global::KillrVideo.Protobuf.Uuid(); } VideoId.MergeFrom(other.VideoId); } if (other.timestamp_ != null) { if (timestamp_ == null) { timestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } Timestamp.MergeFrom(other.Timestamp); } }
public void MergeFrom(GetRatingResponse other) { if (other == null) { return; } if (other.videoId_ != null) { if (videoId_ == null) { videoId_ = new global::KillrVideo.Protobuf.Uuid(); } VideoId.MergeFrom(other.VideoId); } if (other.RatingsCount != 0L) { RatingsCount = other.RatingsCount; } if (other.RatingsTotal != 0L) { RatingsTotal = other.RatingsTotal; } }