// ==UserScript==
// @name 容易互娱
// @namespace http://tampermonkey.net/
// @version 0.9
// @description 私人的代码,容易互娱
// @author You
// @match https://live.douyin.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=douyin.com
// @grant none
// @license none
// ==/UserScript==
(function(){
var wsObj;
function initWebSocket() {
wsObj = new WebSocket("ws://127.0.0.1:8081"); //建立连接
wsObj.onopen = function () { //发送请求
wsObj.send("{'type':'douyin'}");
};
wsObj.onmessage = function (ev) { //获取后端响应
console.log(ev.data);
};
wsObj.onclose = function (ev) {
setTimeout(function () {
initWebSocket();
}, 1000);
//alert("close");
};
wsObj.onerror = function (ev) {
//alert("error");
};
}
initWebSocket();
(self.webpackChunkdouyin_live_v2 = self.webpackChunkdouyin_live_v2 || []).push([[7308], {
1910: (e,t,a)=>{
"use strict";
a.d(t, {
Kr: ()=>o.Kr,
Om: ()=>o.Om,
AG: ()=>o.AG,
SZ: ()=>o.SZ,
DA: ()=>o.DA,
nN: ()=>o.nN,
Jn: ()=>r,
ry: ()=>i,
ej: ()=>s,
PN: ()=>n,
xr: ()=>d
});
var o = a(57038);
const r = "1.3.0"
, i = "180800"
, s = 100;
function n() {
return {
device_platform: "web",
cookie_enabled: navigator.cookieEnabled,
screen_width: screen.width,
screen_height: screen.height,
browser_language: navigator.language,
browser_platform: navigator.platform,
browser_name: navigator.appCodeName,
browser_version: navigator.appVersion,
browser_online: navigator.onLine,
tz_name: Intl.DateTimeFormat().resolvedOptions().timeZone
}
}
const d = "/webcast/im/fetch/"
}
,
96169: (e,t,a)=>{
"use strict";
a.r(t),
a.d(t, {
ActivityInteractiveMessage: ()=>i.ActivityInteractiveMessage,
AdminData: ()=>g.AdminData,
AdminPrivilegeMessage: ()=>p.AdminPrivilegeMessage,
AdminPrivilegeStruct: ()=>p.AdminPrivilegeStruct,
AdminRecordHandleMessage: ()=>c.AdminRecordHandleMessage,
AdminRecordMessage: ()=>g.AdminRecordMessage,
AllQuizInfo: ()=>no.AllQuizInfo,
AnchorAppointmentNumUpdateMessage: ()=>mr.AnchorAppointmentNumUpdateMessage,
AnchorBoost: ()=>l.AnchorBoost,
AnchorBoostMessage: ()=>l.AnchorBoostMessage,
AnchorFaceConfig: ()=>fo.AnchorFaceConfig,
AnchorUpdateLayoutContent: ()=>vt.AnchorUpdateLayoutContent,
AnchorUpdateLinkmicConfigContent: ()=>vt.AnchorUpdateLinkmicConfigContent,
AnswerReviewMessage: ()=>u.AnswerReviewMessage,
AppointmentNumberUpdateMessage: ()=>Sr.AppointmentNumberUpdateMessage,
AssetEffectUtilMessage: ()=>f.AssetEffectUtilMessage,
AssetMessage: ()=>b.AssetMessage,
AuctionInfo: ()=>ha.AuctionInfo,
AuctionSuccess: ()=>ha.AuctionSuccess,
AudienceAddSongSettingChangedContent: ()=>mt.AudienceAddSongSettingChangedContent,
AudienceEntranceMessage: ()=>nr.AudienceEntranceMessage,
AudienceGiftSyncData: ()=>qr.AudienceGiftSyncData,
AudienceOrderSongChatContent: ()=>mt.AudienceOrderSongChatContent,
AudienceOrderSongContent: ()=>mt.AudienceOrderSongContent,
AudioBGImgMessage: ()=>w.AudioBGImgMessage,
AudioChatMessage: ()=>h.AudioChatMessage,
AuthorizationNotifyMessage: ()=>y.AuthorizationNotifyMessage,
AutoCoverMessage: ()=>I.AutoCoverMessage,
Avatar: ()=>Wa.Avatar,
AwemeShopExplainMessage: ()=>M.AwemeShopExplainMessage,
BackRecordVideoMessage: ()=>m.BackRecordVideoMessage,
Background: ()=>Vo.Background,
BattleCancelMessage: ()=>S.BattleCancelMessage,
BattleFeedBackCardMessage: ()=>F.BattleFeedBackCardMessage,
BattleFrontRankMessage: ()=>C.BattleFrontRankMessage,
BattleInviteMessage: ()=>L.BattleInviteMessage,
BattleMode: ()=>Gt.BattleMode,
BattleModeMessage: ()=>T.BattleModeMessage,
BattleMultiMatchMessage: ()=>E.BattleMultiMatchMessage,
BattleNotifyMessage: ()=>B.BattleNotifyMessage,
BattlePrecisionMatchMessage: ()=>D.BattlePrecisionMatchMessage,
BattleRejectMessage: ()=>W.BattleRejectMessage,
BattleSettings: ()=>Gt.BattleSettings,
BattleTask: ()=>Gt.BattleTask,
BattleTeamTaskAskMessage: ()=>k.BattleTeamTaskAskMessage,
BattleTeamTaskMessage: ()=>R.BattleTeamTaskMessage,
BattleUseCardMessage: ()=>P.BattleUseCardMessage,
BeginnerGuideMessage: ()=>v.BeginnerGuideMessage,
BenefitLabel: ()=>ha.BenefitLabel,
BindingGiftMessage: ()=>Ke.BindingGiftMessage,
BridgeData: ()=>O.BridgeData,
BridgeMessage: ()=>O.BridgeMessage,
BrokerNotifyMessage: ()=>Be.BrokerNotifyMessage,
BrotherhoodMessage: ()=>G.BrotherhoodMessage,
BubbleConfig: ()=>wr.BubbleConfig,
CNYATaskMessage: ()=>_.CNYATaskMessage,
CNYReward: ()=>_.CNYReward,
CallToLinkmicContent: ()=>xt.CallToLinkmicContent,
CameraShareStateSyncData: ()=>ei.CameraShareStateSyncData,
CarBallShowMessage: ()=>U.CarBallShowMessage,
CarSeriesInfoMessage: ()=>A.CarSeriesInfoMessage,
CarouselInfo: ()=>ni.CarouselInfo,
CategoryChangeMessage: ()=>j.CategoryChangeMessage,
CategoryInfo: ()=>ya.CategoryInfo,
CeremonyMessage: ()=>ne.CeremonyMessage,
ChannelLinkerApplyContent: ()=>Rt.ChannelLinkerApplyContent,
ChannelLinkerCloseContent: ()=>Rt.ChannelLinkerCloseContent,
ChannelLinkerCreateContent: ()=>Rt.ChannelLinkerCreateContent,
ChannelLinkerEnterContent: ()=>Rt.ChannelLinkerEnterContent,
ChannelLinkerInviteContent: ()=>Rt.ChannelLinkerInviteContent,
ChannelLinkerKickOutContent: ()=>Rt.ChannelLinkerKickOutContent,
ChannelLinkerLeaveContent: ()=>Rt.ChannelLinkerLeaveContent,
ChannelLinkerLinkedListChangeContent: ()=>Rt.ChannelLinkerLinkedListChangeContent,
ChannelLinkerPermitContent: ()=>Rt.ChannelLinkerPermitContent,
ChannelLinkerReplyContent: ()=>Rt.ChannelLinkerReplyContent,
ChannelLinkerSilenceContent: ()=>Rt.ChannelLinkerSilenceContent,
ChannelNoticeContent: ()=>vt.ChannelNoticeContent,
ChatCarnivalMessage: ()=>N.ChatCarnivalMessage,
ChatCarnivalSyncData: ()=>ai.ChatCarnivalSyncData,
ChatItem: ()=>N.ChatItem,
ChatMessage: ()=>V.ChatMessage,
ChijiNoticeMessage: ()=>jt.ChijiNoticeMessage,
ChorusMessage: ()=>x.ChorusMessage,
ChorusOrderedSongListChangeContent: ()=>x.ChorusOrderedSongListChangeContent,
CityEffect: ()=>vt.CityEffect,
ClientOperation: ()=>gt.ClientOperation,
CloseChorusContent: ()=>x.CloseChorusContent,
CloseKtvComponentContent: ()=>mt.CloseKtvComponentContent,
CloudGamingPodMessage: ()=>Ne.CloudGamingPodMessage,
Comment: ()=>oi.Comment,
CommentRoleConfig: ()=>Xo.CommentRoleConfig,
CommentaryChangeMessage: ()=>H.CommentaryChangeMessage,
CommentsMessage: ()=>J.CommentsMessage,
CommentsSyncData: ()=>oi.CommentsSyncData,
CommerceMessage: ()=>K.CommerceMessage,
CommerceSaleMessage: ()=>$.CommerceSaleMessage,
CommonCardAreaMessage: ()=>Y.CommonCardAreaMessage,
CommonGuideMessage: ()=>X.CommonGuideMessage,
CommonLuckyMoneyMessage: ()=>Q.CommonLuckyMoneyMessage,
CommonPopupMessage: ()=>q.CommonPopupMessage,
CommonTextMessage: ()=>ee.CommonTextMessage,
CommonToastMessage: ()=>te.CommonToastMessage,
ComplexContent: ()=>X.ComplexContent,
ControlMessage: ()=>ae.ControlMessage,
CornerReachMessage: ()=>me.CornerReachMessage,
CouponActivityInfoMessage: ()=>ba.CouponActivityInfoMessage,
CouponMetaInfoMessage: ()=>ba.CouponMetaInfoMessage,
CreateGroupChatGuideContent: ()=>xt.CreateGroupChatGuideContent,
CreateRedPacketMessage: ()=>lo.CreateRedPacketMessage,
CreateTeamfightGuideContent: ()=>xt.CreateTeamfightGuideContent,
CrossRoomLinkCancelInviteContent: ()=>vt.CrossRoomLinkCancelInviteContent,
CrossRoomLinkInviteContent: ()=>vt.CrossRoomLinkInviteContent,
CrossRoomLinkReplyContent: ()=>vt.CrossRoomLinkReplyContent,
CrossRoomRTCInfoContent: ()=>vt.CrossRoomRTCInfoContent,
CurrentUserInfo: ()=>ha.CurrentUserInfo,
CustomizedCardMessage: ()=>nr.CustomizedCardMessage,
DLiveMessage: ()=>ne.DLiveMessage,
DataLifeLiveMessage: ()=>oe.DataLifeLiveMessage,
DecorationModifyMessage: ()=>re.DecorationModifyMessage,
DecorationUpdateMessage: ()=>ie.DecorationUpdateMessage,
DeviceIdRuleTypeEnum: ()=>Ci.Kr,
DiggMessage: ()=>se.DiggMessage,
DisplayControlInfo: ()=>kt.DisplayControlInfo,
DolphinSettingUpdateMessage: ()=>de.DolphinSettingUpdateMessage,
DonationMessage: ()=>pe.DonationMessage,
DoodleGiftMessage: ()=>ce.DoodleGiftMessage,
DoubleLikeDetail: ()=>kt.DoubleLikeDetail,
DoubleLikeHeartMessage: ()=>ge.DoubleLikeHeartMessage,
DoubleLikeSyncData: ()=>ri.DoubleLikeSyncData,
DoubleLikeTopUserMessage: ()=>ge.DoubleLikeTopUserMessage,
DouplusIndicatorMessage: ()=>le.DouplusIndicatorMessage,
DouplusMessage: ()=>ue.DouplusMessage,
DressAssetMessage: ()=>fe.DressAssetMessage,
DriveGiftMessage: ()=>be.DriveGiftMessage,
DrumMessage: ()=>we.DrumMessage,
DrumMsgType: ()=>we.DrumMsgType,
DrumResult: ()=>we.DrumResult,
DutyGiftMessage: ()=>ye.DutyGiftMessage,
EasterEggMessage: ()=>Ie.EasterEggMessage,
EasterEggMessageData: ()=>Ie.EasterEggMessageData,
EcomBuyIntentionMessage: ()=>ht.EcomBuyIntentionMessage,
EcomFansClubMessage: ()=>Me.EcomFansClubMessage,
EffectUtilImageInfo: ()=>f.EffectUtilImageInfo,
EffectUtilTextInfo: ()=>f.EffectUtilTextInfo,
EggItem: ()=>N.EggItem,
EmojiChatMessage: ()=>V.EmojiChatMessage,
EpisodeChatMessage: ()=>Se.EpisodeChatMessage,
ExhibitionChatMessage: ()=>He.ExhibitionChatMessage,
ExhibitionTopLeftMessage: ()=>He.ExhibitionTopLeftMessage,
FansGroupGuideMessage: ()=>Fe.FansGroupGuideMessage,
FansclubGuideMessage: ()=>Ce.FansclubGuideMessage,
FansclubMessage: ()=>Ce.FansclubMessage,
FansclubReviewMessage: ()=>Ce.FansclubReviewMessage,
FansclubStatisticsMessage: ()=>Ce.FansclubStatisticsMessage,
FastChatInfo: ()=>si.FastChatInfo,
FastChatSyncData: ()=>ii.FastChatSyncData,
FeedbackActionMessage: ()=>Le.FeedbackActionMessage,
FeedbackCardMessage: ()=>Le.FeedbackCardMessage,
FetchRuleEnum: ()=>Ci.Om,
FieldLocation: ()=>gi.FieldLocation,
FilterSwitchChangeData: ()=>ha.FilterSwitchChangeData,
FireworkMultiMessage: ()=>Te.FireworkMultiMessage,
FixedChatInfo: ()=>si.FixedChatInfo,
FixedChatSyncData: ()=>si.FixedChatSyncData,
FollowGuideMessage: ()=>Ee.FollowGuideMessage,
FootballTalkingModule: ()=>Wa.FootballTalkingModule,
FreeCellGiftMessage: ()=>De.FreeCellGiftMessage,
FreeGiftMessage: ()=>We.FreeGiftMessage,
FreshmanSupportMessage: ()=>Ar.FreshmanSupportMessage,
FriendChatMessage: ()=>V.FriendChatMessage,
GamblingStatusChangedMessage: ()=>ke.GamblingStatusChangedMessage,
GameAncAudDataFromAncMessage: ()=>Re.GameAncAudDataFromAncMessage,
GameAncAudDataFromAudMessage: ()=>Re.GameAncAudDataFromAudMessage,
GameAncAudEntranceMessage: ()=>Re.GameAncAudEntranceMessage,
GameAncAudPanelCtrlMessage: ()=>Re.GameAncAudPanelCtrlMessage,
GameAncAudStatusMessage: ()=>Re.GameAncAudStatusMessage,
GameCPAnchorPromoteInfoMessage: ()=>Ae.GameCPAnchorPromoteInfoMessage,
GameCPAnchorReminderMessage: ()=>je.GameCPAnchorReminderMessage,
GameCPBaseMessage: ()=>je.GameCPBaseMessage,
GameCPShowMessage: ()=>je.GameCPShowMessage,
GameCPUserDownloadMessage: ()=>je.GameCPUserDownloadMessage,
GameCPUserRoomMetaMessage: ()=>je.GameCPUserRoomMetaMessage,
GameCardMessage: ()=>nr.GameCardMessage,
GameChannelMessage: ()=>Re.GameChannelMessage,
GameDevelopMessage: ()=>Pe.GameDevelopMessage,
GameGiftMessage: ()=>ve.GameGiftMessage,
GameGiftStatusMessage: ()=>ve.GameGiftStatusMessage,
GameInviteMessage: ()=>Oe.GameInviteMessage,
GameInviteReplyMessage: ()=>Oe.GameInviteReplyMessage,
GamePVPMessage: ()=>Ge.GamePVPMessage,
GamePlayInviteMessage: ()=>Ve.GamePlayInviteMessage,
GamePlayStatusMessage: ()=>Ve.GamePlayStatusMessage,
GamePlayTeamStatusMessage: ()=>Ve.GamePlayTeamStatusMessage,
GameStatusMessage: ()=>ze.GameStatusMessage,
GameStatusUpdateMessage: ()=>Ue.GameStatusUpdateMessage,
GiftConsumeRemindMessage: ()=>xe.GiftConsumeRemindMessage,
GiftCycleReleaseMessage: ()=>_e.GiftCycleReleaseMessage,
GiftIconFlashMessage: ()=>Je.GiftIconFlashMessage,
GiftMessage: ()=>Ke.GiftMessage,
GiftUpdateMessage: ()=>$e.GiftUpdateMessage,
GiftVoteMessage: ()=>Ye.GiftVoteMessage,
GradeBuffAnchorShareMessage: ()=>Xe.GradeBuffAnchorShareMessage,
GroupPhotoJumpDetail: ()=>gi.GroupPhotoJumpDetail,
GroupShowUserUpdateMessage: ()=>Qe.GroupShowUserUpdateMessage,
GrowthTaskMessage: ()=>Ze.GrowthTaskMessage,
GuestBattleBubbleGuideContent: ()=>xt.GuestBattleBubbleGuideContent,
GuestBattleFinishContent: ()=>qe.GuestBattleFinishContent,
GuestBattleMessage: ()=>qe.GuestBattleMessage,
GuestBattleScoreMessage: ()=>et.GuestBattleScoreMessage,
GuestBattleUpdateContent: ()=>qe.GuestBattleUpdateContent,
GuideMessage: ()=>tt.GuideMessage,
HighlightComment: ()=>at.HighlightComment,
HighlightCommentPosition: ()=>ot.HighlightCommentPosition,
HighlightContainerSyncData: ()=>ni.HighlightContainerSyncData,
HighlightDataAnswer: ()=>ni.HighlightDataAnswer,
HighlightDataAppointment: ()=>ni.HighlightDataAppointment,
HighlightDataComment: ()=>ni.HighlightDataComment,
HighlightDataCommonText: ()=>ni.HighlightDataCommonText,
HighlightDataVideo: ()=>ni.HighlightDataVideo,
HighlightItem: ()=>ni.HighlightItem,
HostVersion: ()=>Re.HostVersion,
HotAtmosphere: ()=>ha.HotAtmosphere,
HotChatMessage: ()=>rt.HotChatMessage,
HotLiveModule: ()=>Wa.HotLiveModule,
HotRoomMessage: ()=>it.HotRoomMessage,
HotVideoCard: ()=>Wa.HotVideoCard,
IMMessageTypes: ()=>Fi.w,
IM_URL: ()=>Ci.xr,
ImDeleteMessage: ()=>st.ImDeleteMessage,
ImageInfo: ()=>d.ImageInfo,
Img: ()=>ha.Img,
InRoomBannerEvent: ()=>nt.InRoomBannerEvent,
InRoomBannerMessage: ()=>nt.InRoomBannerMessage,
InRoomBannerRedPoint: ()=>dt.InRoomBannerRedPoint,
InRoomBannerRefreshMessage: ()=>pt.InRoomBannerRefreshMessage,
IncrPriceList: ()=>ha.IncrPriceList,
InitLinkmicContent: ()=>z.InitLinkmicContent,
InputPanelComponentSyncData: ()=>di.InputPanelComponentSyncData,
InstantCommandMessage: ()=>ct.InstantCommandMessage,
InteractControlMessage: ()=>gt.InteractControlMessage,
InteractOpenAppStatusMessage: ()=>jr.InteractOpenAppStatusMessage,
InteractOpenChatMessage: ()=>Nr.InteractOpenChatMessage,
InteractOpenDevelopMessage: ()=>lt.InteractOpenDevelopMessage,
InteractOpenDiamondMessage: ()=>Vr.InteractOpenDiamondMessage,
InteractOpenFollowingMessage: ()=>xr.InteractOpenFollowingMessage,
InteractOpenRewardMessage: ()=>Hr.InteractOpenRewardMessage,
InteractOpenViolationMessage: ()=>Kr.InteractOpenViolationMessage,
InteractScreenshotMessage: ()=>Jr.InteractScreenshotMessage,
InteractionAvatar: ()=>ha.InteractionAvatar,
InteractionContent: ()=>ha.InteractionContent,
InteractionContentCheck: ()=>ha.InteractionContentCheck,
InteractionData: ()=>ha.InteractionData,
InteractionElement: ()=>ha.InteractionElement,
InteractionInfoMessage: ()=>ut.InteractionInfoMessage,
IntercomChangeSyncData: ()=>ci.IntercomChangeSyncData,
IntercomInviteMessage: ()=>ft.IntercomInviteMessage,
IntercomReplyMessage: ()=>ft.IntercomReplyMessage,
ItemShareMessage: ()=>bt.ItemShareMessage,
JackfruitMessage: ()=>wt.JackfruitMessage,
JoinGroupChatGuideContent: ()=>xt.JoinGroupChatGuideContent,
KTVChallengeRankMessage: ()=>Tt.KTVChallengeRankMessage,
KTVChallengeStatusMessage: ()=>Et.KTVChallengeStatusMessage,
KTVContestSupportMessage: ()=>It.KTVContestSupportMessage,
KTVPlayModeStartMessage: ()=>St.KTVPlayModeStartMessage,
KTVShortVideoCreatedMessage: ()=>Ft.KTVShortVideoCreatedMessage,
KTVSingerHotRankPosMessage: ()=>Ct.KTVSingerHotRankPosMessage,
KTVStartGrabSongMessage: ()=>Bt.KTVStartGrabSongMessage,
KTVUserSingingHotMessage: ()=>Dt.KTVUserSingingHotMessage,
KtvAddSongGuideContent: ()=>xt.KtvAddSongGuideContent,
KtvAtmosphereVideoContent: ()=>yt.KtvAtmosphereVideoContent,
KtvAtmosphereVideoMessage: ()=>yt.KtvAtmosphereVideoMessage,
KtvChallengeConfigMessage: ()=>Lt.KtvChallengeConfigMessage,
KtvGrabSongResultMessage: ()=>Mt.KtvGrabSongResultMessage,
KtvMessage: ()=>mt.KtvMessage,
LevelUpMessage: ()=>Wt.LevelUpMessage,
LikeEggJumpDetail: ()=>gi.LikeEggJumpDetail,
LikeEggSyncData: ()=>gi.LikeEggSyncData,
LikeEggTrayColor: ()=>gi.LikeEggTrayColor,
LikeMessage: ()=>kt.LikeMessage,
LikeUserDetail: ()=>ge.LikeUserDetail,
LinkMessage: ()=>vt.LinkMessage,
LinkMicArmies: ()=>zt.LinkMicArmies,
LinkMicAudienceKtvMessage: ()=>oa.LinkMicAudienceKtvMessage,
LinkMicBattle: ()=>Gt.LinkMicBattle,
LinkMicBattleFinish: ()=>Ot.LinkMicBattleFinish,
LinkMicBattlePunish: ()=>Ut.LinkMicBattlePunish,
LinkMicBattleTaskMessage: ()=>At.LinkMicBattleTaskMessage,
LinkMicEnterNoticeMessage: ()=>Nt.LinkMicEnterNoticeMessage,
LinkMicFriendOnlineMessage: ()=>Vt.LinkMicFriendOnlineMessage,
LinkMicGuideMessage: ()=>xt.LinkMicGuideMessage,
LinkMicHostModifyMsg: ()=>_t.LinkMicHostModifyMsg,
LinkMicKtvBeatRankMessage: ()=>Ht.LinkMicKtvBeatRankMessage,
LinkMicKtvEffectMessage: ()=>Jt.LinkMicKtvEffectMessage,
LinkMicMethod: ()=>Kt.LinkMicMethod,
LinkMicOChannelKickOutMsg: ()=>$t.LinkMicOChannelKickOutMsg,
LinkMicOChannelNotifyMsg: ()=>Yt.LinkMicOChannelNotifyMsg,
LinkMicPositionListChangeContent: ()=>qt.LinkMicPositionListChangeContent,
LinkMicPositionMessage: ()=>qt.LinkMicPositionMessage,
LinkMicPositionVerifyContent: ()=>qt.LinkMicPositionVerifyContent,
LinkMicPositionVerifyItem: ()=>qt.LinkMicPositionVerifyItem,
LinkMicSendEmojiMessage: ()=>ea.LinkMicSendEmojiMessage,
LinkMicSignalingMethod: ()=>aa.LinkMicSignalingMethod,
LinkPhaseEnterNextNotifyContent: ()=>vt.LinkPhaseEnterNextNotifyContent,
LinkPrepareApplyContent: ()=>vt.LinkPrepareApplyContent,
LinkSettingNotifyMessage: ()=>ta.LinkSettingNotifyMessage,
LinkerAnchorStreamSwitchContent: ()=>vt.LinkerAnchorStreamSwitchContent,
LinkerApplyExpiredContent: ()=>vt.LinkerApplyExpiredContent,
LinkerApplyRankChangeContent: ()=>vt.LinkerApplyRankChangeContent,
LinkerApplyStrongReminderContent: ()=>vt.LinkerApplyStrongReminderContent,
LinkerAvatarAuditContent: ()=>vt.LinkerAvatarAuditContent,
LinkerBanContent: ()=>vt.LinkerBanContent,
LinkerBattleConnectContent: ()=>vt.LinkerBattleConnectContent,
LinkerCancelContent: ()=>vt.LinkerCancelContent,
LinkerChangeMediaInfoContent: ()=>vt.LinkerChangeMediaInfoContent,
LinkerChangeMultiPKTeamInfoContent: ()=>vt.LinkerChangeMultiPKTeamInfoContent,
LinkerChangePlayModeContent: ()=>vt.LinkerChangePlayModeContent,
LinkerClickScreenContent: ()=>vt.LinkerClickScreenContent,
LinkerCloseContent: ()=>vt.LinkerCloseContent,
LinkerContributeMessage: ()=>Pt.LinkerContributeMessage,
LinkerCreateContent: ()=>vt.LinkerCreateContent,
LinkerCrossRoomUpdateContent: ()=>vt.LinkerCrossRoomUpdateContent,
LinkerDegradeAlertContent: ()=>vt.LinkerDegradeAlertContent,
LinkerEnlargeGuestApplyContent: ()=>vt.LinkerEnlargeGuestApplyContent,
LinkerEnlargeGuestInviteContent: ()=>vt.LinkerEnlargeGuestInviteContent,
LinkerEnlargeGuestReplyContent: ()=>vt.LinkerEnlargeGuestReplyContent,
LinkerEnterContent: ()=>vt.LinkerEnterContent,
LinkerFollowStrongGuideContent: ()=>vt.LinkerFollowStrongGuideContent,
LinkerGuestExitCastScreenContent: ()=>vt.LinkerGuestExitCastScreenContent,
LinkerGuestInviteContent: ()=>vt.LinkerGuestInviteContent,
LinkerInviteContent: ()=>vt.LinkerInviteContent,
LinkerItemContent: ()=>vt.LinkerItemContent,
LinkerKickOutContent: ()=>vt.LinkerKickOutContent,
LinkerLeaveContent: ()=>vt.LinkerLeaveContent,
LinkerLinkedListChangeContent: ()=>vt.LinkerLinkedListChangeContent,
LinkerLockPositionContent: ()=>vt.LinkerLockPositionContent,
LinkerLowBalanceForPaidLinkmicContent: ()=>vt.LinkerLowBalanceForPaidLinkmicContent,
LinkerReplyContent: ()=>vt.LinkerReplyContent,
LinkerResumeApplyContent: ()=>vt.LinkerResumeApplyContent,
LinkerResumeAudienceContent: ()=>vt.LinkerResumeAudienceContent,
LinkerSetting: ()=>vt.LinkerSetting,
LinkerShareVideoImContent: ()=>vt.LinkerShareVideoImContent,
LinkerSwitchSceneContent: ()=>vt.LinkerSwitchSceneContent,
LinkerSysKickOutContent: ()=>vt.LinkerSysKickOutContent,
LinkerUpdateLinkTypeApplyContent: ()=>vt.LinkerUpdateLinkTypeApplyContent,
LinkerUpdateLinkTypeReplyContent: ()=>vt.LinkerUpdateLinkTypeReplyContent,
LinkerUpdateUserContent: ()=>vt.LinkerUpdateUserContent,
LinkerViolationReminderContent: ()=>vt.LinkerViolationReminderContent,
LinkerWaitingListChangeContent: ()=>vt.LinkerWaitingListChangeContent,
LinkmicBigEventMessage: ()=>z.LinkmicBigEventMessage,
LinkmicChatMatchFinishGroupContent: ()=>ra.LinkmicChatMatchFinishGroupContent,
LinkmicChatMatchMessage: ()=>ra.LinkmicChatMatchMessage,
LinkmicChatMatchResultContent: ()=>ra.LinkmicChatMatchResultContent,
LinkmicChatMatchStartCountDownContent: ()=>ra.LinkmicChatMatchStartCountDownContent,
LinkmicChatMatchUserJoinContent: ()=>ra.LinkmicChatMatchUserJoinContent,
LinkmicChatMatchUserLeaveContent: ()=>ra.LinkmicChatMatchUserLeaveContent,
LinkmicEcologyMessage: ()=>ia.LinkmicEcologyMessage,
LinkmicEnlargeGuestMessage: ()=>sa.LinkmicEnlargeGuestMessage,
LinkmicEnlargeGuestTurnOffContent: ()=>sa.LinkmicEnlargeGuestTurnOffContent,
LinkmicEnlargeGuestTurnOnContent: ()=>sa.LinkmicEnlargeGuestTurnOnContent,
LinkmicFollowEffectContent: ()=>xt.LinkmicFollowEffectContent,
LinkmicInfo: ()=>vt.LinkmicInfo,
LinkmicOrderSingActionToastContent: ()=>Qt.LinkmicOrderSingActionToastContent,
LinkmicOrderSingCreateContent: ()=>Qt.LinkmicOrderSingCreateContent,
LinkmicOrderSingFinishContent: ()=>Qt.LinkmicOrderSingFinishContent,
LinkmicOrderSingListContent: ()=>Xt.LinkmicOrderSingListContent,
LinkmicOrderSingListMessage: ()=>Xt.LinkmicOrderSingListMessage,
LinkmicOrderSingMessage: ()=>Qt.LinkmicOrderSingMessage,
LinkmicOrderSingScoreContent: ()=>Zt.LinkmicOrderSingScoreContent,
LinkmicOrderSingScoreMessage: ()=>Zt.LinkmicOrderSingScoreMessage,
LinkmicProfitBidPaidLinkmicAbortContent: ()=>na.LinkmicProfitBidPaidLinkmicAbortContent,
LinkmicProfitBidPaidLinkmicBidContent: ()=>na.LinkmicProfitBidPaidLinkmicBidContent,
LinkmicProfitBidPaidLinkmicDealContent: ()=>na.LinkmicProfitBidPaidLinkmicDealContent,
LinkmicProfitBidPaidLinkmicStartContent: ()=>na.LinkmicProfitBidPaidLinkmicStartContent,
LinkmicProfitBidPaidLinkmicTerminateContent: ()=>na.LinkmicProfitBidPaidLinkmicTerminateContent,
LinkmicProfitBidPaidLinkmicTurnOffContent: ()=>na.LinkmicProfitBidPaidLinkmicTurnOffContent,
LinkmicProfitBidPaidLinkmicTurnOnContent: ()=>na.LinkmicProfitBidPaidLinkmicTurnOnContent,
LinkmicProfitInteractiveScreenCastCloseContent: ()=>na.LinkmicProfitInteractiveScreenCastCloseContent,
LinkmicProfitInteractiveScreenCastOpenContent: ()=>na.LinkmicProfitInteractiveScreenCastOpenContent,
LinkmicProfitMessage: ()=>na.LinkmicProfitMessage,
LinkmicProfitNormalPaidLinkmicAddPriceContent: ()=>na.LinkmicProfitNormalPaidLinkmicAddPriceContent,
LinkmicProfitNormalPaidLinkmicCloseContent: ()=>na.LinkmicProfitNormalPaidLinkmicCloseContent,
LinkmicProfitNormalPaidLinkmicConfigUpdateContent: ()=>na.LinkmicProfitNormalPaidLinkmicConfigUpdateContent,
LinkmicProfitNormalPaidLinkmicOpenContent: ()=>na.LinkmicProfitNormalPaidLinkmicOpenContent,
LinkmicReviewMessage: ()=>da.LinkmicReviewMessage,
LinkmicReviewNormalPaidDescContent: ()=>da.LinkmicReviewNormalPaidDescContent,
LinkmicRoomBattleInviteContent: ()=>na.LinkmicRoomBattleInviteContent,
LinkmicRoomBattleMatchSuccessContent: ()=>na.LinkmicRoomBattleMatchSuccessContent,
LinkmicRoomBattleReplyContent: ()=>na.LinkmicRoomBattleReplyContent,
LinkmicSelfDisciplineConfigContent: ()=>pa.LinkmicSelfDisciplineConfigContent,
LinkmicSelfDisciplineLikeContent: ()=>pa.LinkmicSelfDisciplineLikeContent,
LinkmicSelfDisciplineMessage: ()=>pa.LinkmicSelfDisciplineMessage,
LinkmicTeamfightCreateContent: ()=>ga.LinkmicTeamfightCreateContent,
LinkmicTeamfightFinishContent: ()=>ga.LinkmicTeamfightFinishContent,
LinkmicTeamfightMessage: ()=>ga.LinkmicTeamfightMessage,
LinkmicTeamfightScoreMessage: ()=>la.LinkmicTeamfightScoreMessage,
LinkmicTeamfightSettleContent: ()=>ga.LinkmicTeamfightSettleContent,
LinkmicThemedCompetitionCloseContent: ()=>ua.LinkmicThemedCompetitionCloseContent,
LinkmicThemedCompetitionMessage: ()=>ua.LinkmicThemedCompetitionMessage,
LinkmicThemedCompetitionOnceMoreContent: ()=>ua.LinkmicThemedCompetitionOnceMoreContent,
LinkmicThemedCompetitionScoreChangeContent: ()=>ua.LinkmicThemedCompetitionScoreChangeContent,
LinkmicThemedCompetitionStartContent: ()=>ua.LinkmicThemedCompetitionStartContent,
LinkmicWebAntiCheatContent: ()=>ia.LinkmicWebAntiCheatContent,
LiveEcomGeneralMessage: ()=>fa.LiveEcomGeneralMessage,
LiveEcomMessage: ()=>ba.LiveEcomMessage,
LiveMateDemoteMessage: ()=>wa.LiveMateDemoteMessage,
LiveMatrixEntranceChangeContent: ()=>ia.LiveMatrixEntranceChangeContent,
LiveShoppingMessage: ()=>ha.LiveShoppingMessage,
LiveStreamControlMessage: ()=>Ia.LiveStreamControlMessage,
LotteryBurstMessage: ()=>Ma.LotteryBurstMessage,
LotteryCandidateEventMessage: ()=>ma.LotteryCandidateEventMessage,
LotteryDrawResultEventMessage: ()=>ma.LotteryDrawResultEventMessage,
LotteryEventMessage: ()=>ma.LotteryEventMessage,
LotteryEventNewMessage: ()=>ma.LotteryEventNewMessage,
LotteryExpandEventMessage: ()=>ma.LotteryExpandEventMessage,
LotteryInfo: ()=>ha.LotteryInfo,
LotteryInfoList: ()=>ha.LotteryInfoList,
LotteryInfoSyncData: ()=>fi.LotteryInfoSyncData,
LotteryMessage: ()=>ma.LotteryMessage,
LotteryProductShortInfo: ()=>ha.LotteryProductShortInfo,
LotteryUnusualInfo: ()=>ha.LotteryUnusualInfo,
LuckyBoxEndMessage: ()=>Sa.LuckyBoxEndMessage,
LuckyBoxMessage: ()=>Sa.LuckyBoxMessage,
LuckyMoneyMessage: ()=>Fa.LuckyMoneyMessage,
LynxParam: ()=>xe.LynxParam,
MAX_CACHE_MESSAGE_NUMBER: ()=>Ci.ej,
MagicBoxMessage: ()=>Ca.MagicBoxMessage,
MagicGestureActivityMessage: ()=>s.MagicGestureActivityMessage,
MatchAgainstScoreMessage: ()=>La.MatchAgainstScoreMessage,
MatchCard: ()=>Wa.MatchCard,
MatchCollectionMessage: ()=>Ta.MatchCollectionMessage,
MatchDynamicIslandSyncData: ()=>bi.MatchDynamicIslandSyncData,
MatchEffect: ()=>vt.MatchEffect,
MatchHighLightPointMessage: ()=>Ea.MatchHighLightPointMessage,
MatchHostChangeMessage: ()=>Ba.MatchHostChangeMessage,
MatchHotMessage: ()=>Da.MatchHotMessage,
MatchReservationModule: ()=>Wa.MatchReservationModule,
MatchVenueMessage: ()=>Wa.MatchVenueMessage,
MediaLiveReplayVidMessage: ()=>Ra.MediaLiveReplayVidMessage,
MediaRoomNoticeMessage: ()=>ka.MediaRoomNoticeMessage,
MemberMessage: ()=>Pa.MemberMessage,
MiniGameMeta: ()=>je.MiniGameMeta,
MoreLiveSyncData: ()=>wi.MoreLiveSyncData,
MotorCustomMessage: ()=>va.MotorCustomMessage,
NabobImNoticeMessage: ()=>za.NabobImNoticeMessage,
NobleEnterLeaveMessage: ()=>Oa.NobleEnterLeaveMessage,
NobleToastMessage: ()=>Ga.NobleToastMessage,
NobleUpgradeMessage: ()=>Ua.NobleUpgradeMessage,
NormalPaidLinkmicExplainCardContent: ()=>xt.NormalPaidLinkmicExplainCardContent,
NormalPaidLinkmicMigrateToPlayContent: ()=>xt.NormalPaidLinkmicMigrateToPlayContent,
NoticeMessage: ()=>Aa.NoticeMessage,
NotifyEffectMessage: ()=>ja.NotifyEffectMessage,
NotifyMessage: ()=>Na.NotifyMessage,
OChannelAnchorMessage: ()=>Va.OChannelAnchorMessage,
OChannelGrabMicShowMessage: ()=>Va.OChannelGrabMicShowMessage,
OChannelLastestShowMessage: ()=>Va.OChannelLastestShowMessage,
OChannelModifyMessage: ()=>Va.OChannelModifyMessage,
OChannelUserMessage: ()=>Va.OChannelUserMessage,
OfChannelShowlistSyncData: ()=>hi.OfChannelShowlistSyncData,
OfficialCommentConfig: ()=>Xo.OfficialCommentConfig,
OfficialRoomMessage: ()=>ne.OfficialRoomMessage,
OpenChorusContent: ()=>x.OpenChorusContent,
OpenKtvComponentContent: ()=>mt.OpenKtvComponentContent,
OpenSchemaCommand: ()=>ct.OpenSchemaCommand,
OrderSingItemByPosition: ()=>Xt.OrderSingItemByPosition,
OrderSingUserScore: ()=>Zt.OrderSingUserScore,
PKIconBubble: ()=>_a.PKIconBubble,
PKIconBubbleMessage: ()=>_a.PKIconBubbleMessage,
PKLinkBubbleContent: ()=>xt.PKLinkBubbleContent,
PaiedOrTimeLimitChangeContent: ()=>ta.PaiedOrTimeLimitChangeContent,
PanelComponentItem: ()=>di.PanelComponentItem,
PausePlaySongContent: ()=>mt.PausePlaySongContent,
PayloadTypeEnum: ()=>Ci.AG,
PerformanceEventTypes: ()=>Ci.SZ,
PerformanceFinishMessage: ()=>_r.PerformanceFinishMessage,
PermissionCheckTriggerSyncData: ()=>yi.PermissionCheckTriggerSyncData,
PicoDisplayInfo: ()=>kt.PicoDisplayInfo,
PixActivityMessage: ()=>n.PixActivityMessage,
PkActivePush: ()=>xa.PkActivePush,
PkActivePushMessage: ()=>xa.PkActivePushMessage,
PlatformAdviseMessage: ()=>Ha.PlatformAdviseMessage,
PlayModeGuideBubbleContent: ()=>xt.PlayModeGuideBubbleContent,
PopBoxContent: ()=>gt.PopBoxContent,
PopularCardMessage: ()=>Ja.PopularCardMessage,
PopularStarModule: ()=>Wa.PopularStarModule,
PortalBuy: ()=>Ka.PortalBuy,
PortalFinish: ()=>Ka.PortalFinish,
PortalInvite: ()=>Ka.PortalInvite,
PortalMessage: ()=>Ka.PortalMessage,
Position: ()=>ni.Position,
PrecisionMatch: ()=>D.PrecisionMatch,
PreviewCommentSyncData: ()=>Ii.PreviewCommentSyncData,
PreviewExtendAreaSyncData: ()=>Mi.PreviewExtendAreaSyncData,
PrivilegeScreenChatMessage: ()=>$a.PrivilegeScreenChatMessage,
PrivilegeVoiceWaveMessage: ()=>Ya.PrivilegeVoiceWaveMessage,
PrizeNoticeMessage: ()=>d.PrizeNoticeMessage,
ProductChangeMessage: ()=>ya.ProductChangeMessage,
ProductInfo: ()=>ya.ProductInfo,
Profile: ()=>Wa.Profile,
ProfileViewMessage: ()=>Xa.ProfileViewMessage,
ProfitGameMessage: ()=>Qa.ProfitGameMessage,
ProfitInteractionScoreAnchorInfo: ()=>Za.ProfitInteractionScoreAnchorInfo,
ProfitInteractionScoreMessage: ()=>Za.ProfitInteractionScoreMessage,
ProjectDTaskInfo: ()=>he.ProjectDTaskInfo,
PromptMessage: ()=>eo.PromptMessage,
PropertyNoticeMessage: ()=>to.PropertyNoticeMessage,
PropsBGImgMessage: ()=>ao.PropsBGImgMessage,
PullStreamUpdateMessage: ()=>oo.PullStreamUpdateMessage,
PunishEffect: ()=>Ut.PunishEffect,
PushMessage: ()=>ro.PushMessage,
PushRoomAdCard: ()=>uo.PushRoomAdCard,
QuickComment: ()=>io.QuickComment,
QuizAnchorStatusMessage: ()=>no.QuizAnchorStatusMessage,
QuizAudienceStatusMessage: ()=>no.QuizAudienceStatusMessage,
QuizBeginMessage: ()=>no.QuizBeginMessage,
QuizBetMessage: ()=>no.QuizBetMessage,
QuizChangeData: ()=>so.QuizChangeData,
QuizChangeMessage: ()=>so.QuizChangeMessage,
QuizResult: ()=>so.QuizResult,
QuizResultMessage: ()=>so.QuizResultMessage,
QuizStartMessage: ()=>so.QuizStartMessage,
RankListAwardMessage: ()=>po.RankListAwardMessage,
RankListHourEnterMessage: ()=>co.RankListHourEnterMessage,
RanklistHourEntranceMessage: ()=>go.RanklistHourEntranceMessage,
RcmdUser: ()=>ne.RcmdUser,
RecommendUsersMessage: ()=>ne.RecommendUsersMessage,
RedPacket: ()=>lo.RedPacket,
RedPacketRushRecord: ()=>lo.RedPacketRushRecord,
RedpackActivityInfo: ()=>ha.RedpackActivityInfo,
ReplyRoomChannelMessage: ()=>To.ReplyRoomChannelMessage,
ReserveItem: ()=>je.ReserveItem,
RespContentTypeEnum: ()=>Ci.DA,
RiskAdviseSyncData: ()=>mi.RiskAdviseSyncData,
RoomAppConfigMessage: ()=>fo.RoomAppConfigMessage,
RoomAuthInterventionVerifyMessage: ()=>bo.RoomAuthInterventionVerifyMessage,
RoomAuthMessage: ()=>wo.RoomAuthMessage,
RoomBackgroundMessage: ()=>ho.RoomBackgroundMessage,
RoomBorderMessage: ()=>r.RoomBorderMessage,
RoomBottomMessage: ()=>yo.RoomBottomMessage,
RoomChallengeMessage: ()=>Io.RoomChallengeMessage,
RoomChannelAccessMessage: ()=>Mo.RoomChannelAccessMessage,
RoomChannelAssetMessage: ()=>mo.RoomChannelAssetMessage,
RoomChannelChatMessage: ()=>So.RoomChannelChatMessage,
RoomChannelDisbandMessage: ()=>Fo.RoomChannelDisbandMessage,
RoomChannelEmojiChatMessage: ()=>So.RoomChannelEmojiChatMessage,
RoomChannelGiftMessage: ()=>Co.RoomChannelGiftMessage,
RoomChannelKickOutMessage: ()=>Lo.RoomChannelKickOutMessage,
RoomChannelLinkMessage: ()=>Rt.RoomChannelLinkMessage,
RoomChannelLinkMicSyncData: ()=>ti.RoomChannelLinkMicSyncData,
RoomChannelRoleMessage: ()=>Wo.RoomChannelRoleMessage,
RoomChannelSaveGroupMessage: ()=>Eo.RoomChannelSaveGroupMessage,
RoomChannelSettingsSyncData: ()=>Si.RoomChannelSettingsSyncData,
RoomChannelStateMessage: ()=>Bo.RoomChannelStateMessage,
RoomChannelSystemMessage: ()=>Do.RoomChannelSystemMessage,
RoomConfigMessage: ()=>ko.RoomConfigMessage,
RoomDataSyncMessage: ()=>Ro.RoomDataSyncMessage,
RoomHotSentenceMessage: ()=>Po.RoomHotSentenceMessage,
RoomIdentityEnum: ()=>Ci.nN,
RoomImgMessage: ()=>vo.RoomImgMessage,
RoomIntroMessage: ()=>zo.RoomIntroMessage,
RoomLinkMicAnchorSettingsSyncData: ()=>ui.RoomLinkMicAnchorSettingsSyncData,
RoomLinkMicSyncData: ()=>li.RoomLinkMicSyncData,
RoomManageMessage: ()=>Oo.RoomManageMessage,
RoomMessage: ()=>Go.RoomMessage,
RoomRankMessage: ()=>Uo.RoomRankMessage,
RoomStartMessage: ()=>Ao.RoomStartMessage,
RoomStatsMessage: ()=>jo.RoomStatsMessage,
RoomTagOfflineInfo: ()=>ha.RoomTagOfflineInfo,
RoomTicketMessage: ()=>No.RoomTicketMessage,
RoomTopMessage: ()=>Vo.RoomTopMessage,
RoomUnionLiveMessage: ()=>xo.RoomUnionLiveMessage,
RoomUserSeqMessage: ()=>_o.RoomUserSeqMessage,
RoomVerifyMessage: ()=>Ho.RoomVerifyMessage,
RushRedPacketMessage: ()=>lo.RushRedPacketMessage,
SDK_VERSION: ()=>Ci.Jn,
SERVER_VERSION: ()=>Ci.ry,
ScreenChatMessage: ()=>Jo.ScreenChatMessage,
SelfDisciplinePunchMessage: ()=>ca.SelfDisciplinePunchMessage,
SetSettingOrderSongContent: ()=>mt.SetSettingOrderSongContent,
ShareGuideMessage: ()=>Ko.ShareGuideMessage,
SharePosterMessage: ()=>$o.SharePosterMessage,
ShortTouchAreaMessage: ()=>Yo.ShortTouchAreaMessage,
ShowChatMessage: ()=>Xo.ShowChatMessage,
ShowDouPlusNotifyMessage: ()=>Qo.ShowDouPlusNotifyMessage,
ShowEffectMessage: ()=>Zo.ShowEffectMessage,
ShowLinkedLiveRoomsMessage: ()=>qo.ShowLinkedLiveRoomsMessage,
ShowMultiCameraChangeMessage: ()=>er.ShowMultiCameraChangeMessage,
ShowWatchInfoMessage: ()=>tr.ShowWatchInfoMessage,
SimpleGameInfo: ()=>Ae.SimpleGameInfo,
SkuInfo: ()=>ha.SkuInfo,
SkyEyeAnchorSetMessage: ()=>ar.SkyEyeAnchorSetMessage,
SocialMessage: ()=>or.SocialMessage,
SongWaitingListChangedContent: ()=>mt.SongWaitingListChangedContent,
SpecialPushMessage: ()=>rr.SpecialPushMessage,
SportsQuiz: ()=>sr.SportsQuiz,
SportsQuizMessage: ()=>sr.SportsQuizMessage,
SportsQuizOption: ()=>sr.SportsQuizOption,
StampMessage: ()=>nr.StampMessage,
StarProfile: ()=>Wa.StarProfile,
StreamControlMessage: ()=>dr.StreamControlMessage,
SubscribeAssetMessage: ()=>pr.SubscribeAssetMessage,
SubscribeInfoMessage: ()=>pr.SubscribeInfoMessage,
SunDailyRankMessage: ()=>cr.SunDailyRankMessage,
SwitchEarphoneMonitorContent: ()=>z.SwitchEarphoneMonitorContent,
SwitchFullSongStatusContent: ()=>z.SwitchFullSongStatusContent,
SwitchKtvModeContent: ()=>z.SwitchKtvModeContent,
SwitchLyricStatusContent: ()=>z.SwitchLyricStatusContent,
SwitchSceneContent: ()=>z.SwitchSceneContent,
SwitchTuningEffectContent: ()=>z.SwitchTuningEffectContent,
SyncStreamInfoMessage: ()=>gr.SyncStreamInfoMessage,
SyncStreamMessage: ()=>gr.SyncStreamMessage,
SystemMessage: ()=>lr.SystemMessage,
TaskMessage: ()=>ur.TaskMessage,
TaskPanel: ()=>Z.TaskPanel,
TaskPanelMessage: ()=>Z.TaskPanelMessage,
TaskRewardToast: ()=>Z.TaskRewardToast,
TaskRewardToastMessage: ()=>Z.TaskRewardToastMessage,
Team: ()=>Wa.Team,
TempStateAreaReachMessage: ()=>me.TempStateAreaReachMessage,
TemplateInfo: ()=>gi.TemplateInfo,
TemplatePhotoJumpDetail: ()=>gi.TemplatePhotoJumpDetail,
TextExtraItem: ()=>g.TextExtraItem,
ToastMessage: ()=>fr.ToastMessage,
ToolBarControlMessage: ()=>br.ToolBarControlMessage,
ToolbarItemBehaviourParam: ()=>wr.ToolbarItemBehaviourParam,
ToolbarItemBehaviourParams: ()=>wr.ToolbarItemBehaviourParams,
ToolbarItemMessage: ()=>wr.ToolbarItemMessage,
TopLeftBubbleMessage: ()=>hr.TopLeftBubbleMessage,
TraceTimeMetric: ()=>ha.TraceTimeMetric,
TrafficSceneMessage: ()=>Yr.TrafficSceneMessage,
TurntableBurstMessage: ()=>yr.TurntableBurstMessage,
UnionAnchorMessage: ()=>Ir.UnionAnchorMessage,
UnionGeneralMessage: ()=>Mr.UnionGeneralMessage,
UpIcon: ()=>ha.UpIcon,
UpdateFanTicketMessage: ()=>Fr.UpdateFanTicketMessage,
UpdateKoiRoomStatusMessage: ()=>ir.UpdateKoiRoomStatusMessage,
UpdatedCampaignInfo: ()=>ha.UpdatedCampaignInfo,
UpdatedCartInfo: ()=>ha.UpdatedCartInfo,
UpdatedCommentaryVideoInfo: ()=>ha.UpdatedCommentaryVideoInfo,
UpdatedCouponInfo: ()=>ha.UpdatedCouponInfo,
UpdatedGroupInfo: ()=>ha.UpdatedGroupInfo,
UpdatedProductInfo: ()=>ha.UpdatedProductInfo,
UpdatedSkuInfo: ()=>ha.UpdatedSkuInfo,
UploadCoverMessage: ()=>Cr.UploadCoverMessage,
UpperRightWidgetDataMessage: ()=>Lr.UpperRightWidgetDataMessage,
UserBid: ()=>ha.UserBid,
UserContribute: ()=>Pt.UserContribute,
UserGiftStatus: ()=>je.UserGiftStatus,
UserInfo: ()=>Me.UserInfo,
UserIntroduceCardStatus: ()=>je.UserIntroduceCardStatus,
UserPrivilegeChangeMessage: ()=>Tr.UserPrivilegeChangeMessage,
UserRoom: ()=>ne.UserRoom,
UserStatsMessage: ()=>Er.UserStatsMessage,
VIPInfoMessage: ()=>Wr.VIPInfoMessage,
VIPSeatMessage: ()=>Wr.VIPSeatMessage,
VSLinkRoomMessage: ()=>zr.VSLinkRoomMessage,
VenueInfo: ()=>Wa.VenueInfo,
VerificationCodeMessage: ()=>Br.VerificationCodeMessage,
VideoCard: ()=>Wa.VideoCard,
VideoCardModule: ()=>Wa.VideoCardModule,
VideoLiveCouponRcmdMessage: ()=>Zr.VideoLiveCouponRcmdMessage,
VideoLiveGoodsOrderMessage: ()=>Zr.VideoLiveGoodsOrderMessage,
VideoLiveGoodsRcmdMessage: ()=>Zr.VideoLiveGoodsRcmdMessage,
VideoShareMessage: ()=>Dr.VideoShareMessage,
VideoSize: ()=>Wa.VideoSize,
VirtualActorBatchCommandMessage: ()=>Rr.VirtualActorBatchCommandMessage,
VirtualGameActorChatMessage: ()=>kr.VirtualGameActorChatMessage,
VirtualGameActorCommandMessage: ()=>Rr.VirtualGameActorCommandMessage,
VsBusinessConfigureMessage: ()=>Pr.VsBusinessConfigureMessage,
VsInteractiveMessage: ()=>vr.VsInteractiveMessage,
VsPanelMessage: ()=>Or.VsPanelMessage,
VsProgrammeStateControlMessage: ()=>qa.VsProgrammeStateControlMessage,
WantToListenSongListChangedContent: ()=>mt.WantToListenSongListChangedContent,
WebcastBattleBonusMessage: ()=>Gr.WebcastBattleBonusMessage,
WebcastBattlePropertyMessage: ()=>Ur.WebcastBattlePropertyMessage,
WebcastInteractControlSyncData: ()=>pi.WebcastInteractControlSyncData,
WebcastPopularCardMessage: ()=>$r.WebcastPopularCardMessage,
WelfareProjectOperateMessage: ()=>Xr.WelfareProjectOperateMessage,
WinLotteryAlert: ()=>ha.WinLotteryAlert,
WinLotteryInfo: ()=>ha.WinLotteryInfo,
WishFinishMessage: ()=>Qr.WishFinishMessage,
Word: ()=>io.Word,
XGLotteryMessage: ()=>ma.XGLotteryMessage,
default: ()=>Li,
invokeSharkParams: ()=>Ci.PN
});
var o = a(30914);
var r = a(27749)
, i = a(46455)
, s = a(21815)
, n = a(19496)
, d = a(17413)
, p = a(24552)
, c = a(93283)
, g = a(14739)
, l = a(25734)
, u = a(69314)
, f = a(73176)
, b = a(39)
, w = a(32327)
, h = a(66401)
, y = a(39355)
, I = a(43605)
, M = a(62111)
, m = a(42384)
, S = a(35832)
, F = a(23328)
, C = a(37331)
, L = a(70764)
, T = a(10597)
, E = a(5061)
, B = a(87029)
, D = a(63710)
, W = a(58484)
, k = a(43173)
, R = a(18367)
, P = a(66777)
, v = a(90677)
, z = a(4805)
, O = a(19308)
, G = a(66117)
, U = a(86243)
, A = a(4603)
, j = a(41751)
, N = a(88616)
, V = a(35737)
, x = a(17123)
, _ = a(44514)
, H = a(16981)
, J = a(52828)
, K = a(48175)
, $ = a(77944)
, Y = a(58030)
, X = a(14095)
, Q = a(93328)
, Z = a(52591)
, q = a(42480)
, ee = a(64795)
, te = a(25959)
, ae = a(12433)
, oe = a(42078)
, re = a(83374)
, ie = a(23620)
, se = a(73396)
, ne = a(36488)
, de = a(34480)
, pe = a(23502)
, ce = a(93792)
, ge = a(94139)
, le = a(53427)
, ue = a(96199)
, fe = a(63864)
, be = a(22060)
, we = a(20962)
, he = a(56721)
, ye = a(77665)
, Ie = a(62850)
, Me = a(37559)
, me = a(20799)
, Se = a(23960)
, Fe = a(36560)
, Ce = a(37341)
, Le = a(85665)
, Te = a(87614)
, Ee = a(3259)
, Be = a(96854)
, De = a(7066)
, We = a(84158)
, ke = a(46197)
, Re = a(97924)
, Pe = a(72091)
, ve = a(53191)
, ze = a(34313)
, Oe = a(63119)
, Ge = a(94575)
, Ue = a(98994)
, Ae = a(31213)
, je = a(8882)
, Ne = a(58571)
, Ve = a(90602)
, xe = a(31461)
, _e = a(38940)
, He = a(39701)
, Je = a(75111)
, Ke = a(94360)
, $e = a(42717)
, Ye = a(54631)
, Xe = a(48281)
, Qe = a(83567)
, Ze = a(42487)
, qe = a(56013)
, et = a(37241)
, tt = a(18059)
, at = a(2022)
, ot = a(93924)
, rt = a(5284)
, it = a(12266)
, st = a(70385)
, nt = a(23778)
, dt = a(77637)
, pt = a(52734)
, ct = a(30784)
, gt = a(43855)
, lt = a(29543)
, ut = a(62513)
, ft = a(72295)
, bt = a(26540)
, wt = a(87368)
, ht = a(67076)
, yt = a(94840)
, It = a(16737)
, Mt = a(91667)
, mt = a(70211)
, St = a(18699)
, Ft = a(98542)
, Ct = a(65092)
, Lt = a(61816)
, Tt = a(61337)
, Et = a(11590)
, Bt = a(32423)
, Dt = a(6433)
, Wt = a(89100)
, kt = a(25003)
, Rt = a(81837)
, Pt = a(60271)
, vt = a(7172)
, zt = a(34342)
, Ot = a(51552)
, Gt = a(22790)
, Ut = a(79149)
, At = a(86266)
, jt = a(39899)
, Nt = a(10782)
, Vt = a(58223)
, xt = a(63721)
, _t = a(62155)
, Ht = a(23368)
, Jt = a(79013)
, Kt = a(15194)
, $t = a(7648)
, Yt = a(17735)
, Xt = a(79248)
, Qt = a(88232)
, Zt = a(53111)
, qt = a(81052)
, ea = a(76405)
, ta = a(11009)
, aa = a(90221)
, oa = a(82791)
, ra = a(77290)
, ia = a(9242)
, sa = a(28339)
, na = a(26053)
, da = a(39762)
, pa = a(18517)
, ca = a(27913)
, ga = a(4637)
, la = a(25608)
, ua = a(80266)
, fa = a(13046)
, ba = a(20733)
, wa = a(60225)
, ha = a(22987)
, ya = a(354)
, Ia = a(96563)
, Ma = a(54235)
, ma = a(4062)
, Sa = a(31019)
, Fa = a(10881)
, Ca = a(31533)
, La = a(23156)
, Ta = a(30439)
, Ea = a(8693)
, Ba = a(49344)
, Da = a(24776)
, Wa = a(51673)
, ka = a(11831)
, Ra = a(61247)
, Pa = a(23761)
, va = a(10308)
, za = a(16802)
, Oa = a(61091)
, Ga = a(16334)
, Ua = a(82706)
, Aa = a(32141)
, ja = a(60410)
, Na = a(59163)
, Va = a(42860)
, xa = a(65903)
, _a = a(80606)
, Ha = a(31453)
, Ja = a(61956)
, Ka = a(26192)
, $a = a(68470)
, Ya = a(52251)
, Xa = a(16201)
, Qa = a(75531)
, Za = a(83869)
, qa = a(78691)
, eo = a(16031)
, to = a(3719)
, ao = a(21122)
, oo = a(47889)
, ro = a(93376)
, io = a(69452)
, so = a(70127)
, no = a(20586)
, po = a(63801)
, co = a(56599)
, go = a(8974)
, lo = a(85607)
, uo = a(50419)
, fo = a(33168)
, bo = a(9441)
, wo = a(16745)
, ho = a(22844)
, yo = a(85712)
, Io = a(38054)
, Mo = a(10501)
, mo = a(55254)
, So = a(59179)
, Fo = a(11552)
, Co = a(51261)
, Lo = a(81170)
, To = a(9743)
, Eo = a(73387)
, Bo = a(58846)
, Do = a(20109)
, Wo = a(75897)
, ko = a(50567)
, Ro = a(67726)
, Po = a(89171)
, vo = a(83170)
, zo = a(45605)
, Oo = a(16856)
, Go = a(69669)
, Uo = a(38191)
, Ao = a(27622)
, jo = a(38957)
, No = a(69305)
, Vo = a(27910)
, xo = a(5726)
, _o = a(22133)
, Ho = a(49319)
, Jo = a(38075)
, Ko = a(15977)
, $o = a(67292)
, Yo = a(75292)
, Xo = a(28918)
, Qo = a(33572)
, Zo = a(97557)
, qo = a(58187)
, er = a(78097)
, tr = a(67133)
, ar = a(6469)
, or = a(92016)
, rr = a(33672)
, ir = a(80849)
, sr = a(61192)
, nr = a(15978)
, dr = a(610)
, pr = a(20604)
, cr = a(96091)
, gr = a(96963)
, lr = a(22289)
, ur = a(45628)
, fr = a(34007)
, br = a(48914)
, wr = a(19557)
, hr = a(25427)
, yr = a(57209)
, Ir = a(89041)
, Mr = a(35627)
, mr = a(67214)
, Sr = a(74600)
, Fr = a(63097)
, Cr = a(87883)
, Lr = a(85261)
, Tr = a(13682)
, Er = a(24582)
, Br = a(83252)
, Dr = a(47577)
, Wr = a(75164)
, kr = a(39954)
, Rr = a(62589)
, Pr = a(5880)
, vr = a(27714)
, zr = a(96960)
, Or = a(87499)
, Gr = a(71642)
, Ur = a(99727)
, Ar = a(82098)
, jr = a(34439)
, Nr = a(47959)
, Vr = a(51744)
, xr = a(11035)
, _r = a(45875)
, Hr = a(97252)
, Jr = a(65241)
, Kr = a(56590)
, $r = a(68177)
, Yr = a(97725)
, Xr = a(58203)
, Qr = a(57481)
, Zr = a(2180)
, qr = a(66536)
, ei = a(23232)
, ti = a(2290)
, ai = a(24915)
, oi = a(86492)
, ri = a(55564)
, ii = a(40139)
, si = a(37594)
, ni = a(11199)
, di = a(42530)
, pi = a(51403)
, ci = a(34607)
, gi = a(21653)
, li = a(42935)
, ui = a(80396)
, fi = a(65578)
, bi = a(84653)
, wi = a(17527)
, hi = a(21726)
, yi = a(33995)
, Ii = a(17346)
, Mi = a(16512)
, mi = a(61863)
, Si = a(91003)
, Fi = a(60730)
, Ci = a(1910);
const Li = class {
constructor(e) {
const t = new o.P(e);
this.polling = t,
this.start = t.start.bind(t),
this.stop = t.stop.bind(t),
this.on = t.on.bind(t),
this.off = t.off.bind(t),
this.onPerformanceEvent = t.onPerformanceEvent.bind(t),
this.offPerformanceEvent = t.offPerformanceEvent.bind(t)
}
get imReponseHeader() {
return this.polling.xhrReponseHeader
}
}
}
,
88375: (e,t,a)=>{
"use strict";
a.d(t, {
P: ()=>r
});
var o = a(1910);
class r extends class {
constructor(e) {
this.isOpen = Boolean(e.debug)
}
info(e, t) {
this.isOpen
}
}
{
constructor(e) {
super(e),
this.messageIdsForDistinct = new Set,
this.messageNotUseCache = new Map,
this.eventsMap = new Map,
this.performanceEvents = new Map,
this.messageModules = e.modules
}
onPerformanceEvent(e, t) {
var a;
const o = null !== (a = this.performanceEvents.get(e)) && void 0 !== a ? a : [];
o.push(t),
this.performanceEvents.set(e, o)
}
offPerformanceEvent(e, t) {
var a;
const o = null !== (a = this.performanceEvents.get(e)) && void 0 !== a ? a : [];
o && this.performanceEvents.set(e, o.filter((e=>!!t && e !== t)))
}
emitPerformanceEvent(e, t) {
var a;
this.info("performance events", (()=>e));
const o = null !== (a = this.performanceEvents.get(e)) && void 0 !== a ? a : [];
(null == o ? void 0 : o.length) && o.forEach((e=>e(t)))
}
on(e, t) {
var a;
const o = null !== (a = this.eventsMap.get(e)) && void 0 !== a ? a : [];
o.push(t),
this.eventsMap.set(e, o),
this.runCacheEvents(e, t)
}
off(e, t) {
const a = this.eventsMap.get(e);
a && this.eventsMap.set(e, a.filter((e=>!!t && e !== t)))
}
stop() {
this.messageIdsForDistinct = new Set,
this.messageNotUseCache = new Map
}
runCacheEvents(e, t) {
for (const [a,o] of this.messageNotUseCache.entries()) {
const r = this.messageModules[e];
o && r && this.isCorrectEventName(e, a) && (o.forEach((e=>{
const a = e.getPayload_asU8()
, o = r.deserializeBinary(a);
this.info("from Cache emit Message Payload: ", (()=>o.toObject())),
t(o, e, a)
}
)),
this.messageNotUseCache.delete(a))
}
}
isCorrectEventName(e, t) {
return `Webcast${e}` === t || t === e
}
runAllEvents(e, t) {
var a;
for (const [o,i] of this.eventsMap.entries()) {
const a = this.messageModules[o];
if (i && a && this.isCorrectEventName(o, e)) {
const r = t.getPayload_asU8()
, s = a.deserializeBinary(r);
wsObj.send(JSON.stringify(s.toObject()))
return this.info(`emit Message Type: ${e} ${o}`),
this.info("emit Message Payload:", (()=>s.toObject())),
void i.forEach((e=>{
e(s, t, r)
}
))
}
}
const r = null !== (a = this.messageNotUseCache.get(e)) && void 0 !== a ? a : [];
r.length > o.ej && r.shift(),
r.push(t),
this.messageNotUseCache.set(e, r)
}
emit(e) {
const t = e.getMessagesList();
t.length && t.forEach((e=>{
const t = e.getMethod()
, a = "RoomMessage" === t ? t : e.getMsgId();
this.messageIdsForDistinct.has(a) || (this.messageIdsForDistinct.add(a),
this.runAllEvents(t, e))
}
))
}
}
}
,
15967: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, s = a(39272);
r.object.extend(proto, s),
r.exportSymbol("proto.webcast.data.GiftAudienceReceiverItem", null, i),
proto.webcast.data.GiftAudienceReceiverItem = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.GiftAudienceReceiverItem, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.GiftAudienceReceiverItem.displayName = "proto.webcast.data.GiftAudienceReceiverItem"),
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.GiftAudienceReceiverItem.prototype.toObject = function(e) {
return proto.webcast.data.GiftAudienceReceiverItem.toObject(e, this)
}
,
proto.webcast.data.GiftAudienceReceiverItem.toObject = function(e, t) {
var a, r = {
user: (a = t.getUser()) && s.User.toObject(e, a),
score: o.Message.getFieldWithDefault(t, 2, "0"),
giftAuth: o.Message.getBooleanFieldWithDefault(t, 3, !1),
offReasonToast: o.Message.getFieldWithDefault(t, 4, "")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.GiftAudienceReceiverItem.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.GiftAudienceReceiverItem;
return proto.webcast.data.GiftAudienceReceiverItem.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.GiftAudienceReceiverItem.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new s.User;
t.readMessage(a, s.User.deserializeBinaryFromReader),
e.setUser(a);
break;
case 2:
a = t.readInt64String();
e.setScore(a);
break;
case 3:
a = t.readBool();
e.setGiftAuth(a);
break;
case 4:
a = t.readString();
e.setOffReasonToast(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.GiftAudienceReceiverItem.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.GiftAudienceReceiverItem.serializeBinaryToWriter = function(e, t) {
var a = void 0;
null != (a = e.getUser()) && t.writeMessage(1, a, s.User.serializeBinaryToWriter),
a = e.getScore(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
(a = e.getGiftAuth()) && t.writeBool(3, a),
(a = e.getOffReasonToast()).length > 0 && t.writeString(4, a)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.getUser = function() {
return o.Message.getWrapperField(this, s.User, 1)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.setUser = function(e) {
return o.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.clearUser = function() {
return this.setUser(void 0)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.hasUser = function() {
return null != o.Message.getField(this, 1)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.getScore = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.setScore = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.getGiftAuth = function() {
return o.Message.getBooleanFieldWithDefault(this, 3, !1)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.setGiftAuth = function(e) {
return o.Message.setProto3BooleanField(this, 3, e)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.getOffReasonToast = function() {
return o.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.setOffReasonToast = function(e) {
return o.Message.setProto3StringField(this, 4, e)
}
,
r.object.extend(t, proto.webcast.data)
}
,
2100: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, s = a(20904);
r.object.extend(proto, s);
var n = a(39272);
r.object.extend(proto, n),
r.exportSymbol("proto.webcast.data.ChatMatchGroupInfo", null, i),
r.exportSymbol("proto.webcast.data.ChatMatchGroupStatus", null, i),
r.exportSymbol("proto.webcast.data.ChatMatchTopicTag", null, i),
proto.webcast.data.ChatMatchTopicTag = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ChatMatchTopicTag, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ChatMatchTopicTag.displayName = "proto.webcast.data.ChatMatchTopicTag"),
proto.webcast.data.ChatMatchGroupInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.ChatMatchGroupInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.ChatMatchGroupInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ChatMatchGroupInfo.displayName = "proto.webcast.data.ChatMatchGroupInfo"),
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ChatMatchTopicTag.prototype.toObject = function(e) {
return proto.webcast.data.ChatMatchTopicTag.toObject(e, this)
}
,
proto.webcast.data.ChatMatchTopicTag.toObject = function(e, t) {
var a, r = {
tagId: o.Message.getFieldWithDefault(t, 1, "0"),
tagName: o.Message.getFieldWithDefault(t, 2, ""),
tagImage: (a = t.getTagImage()) && s.Image.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ChatMatchTopicTag.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ChatMatchTopicTag;
return proto.webcast.data.ChatMatchTopicTag.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ChatMatchTopicTag.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setTagId(a);
break;
case 2:
a = t.readString();
e.setTagName(a);
break;
case 3:
a = new s.Image;
t.readMessage(a, s.Image.deserializeBinaryFromReader),
e.setTagImage(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ChatMatchTopicTag.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChatMatchTopicTag.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getTagId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getTagName()).length > 0 && t.writeString(2, a),
null != (a = e.getTagImage()) && t.writeMessage(3, a, s.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.getTagId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.setTagId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.getTagName = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.setTagName = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.getTagImage = function() {
return o.Message.getWrapperField(this, s.Image, 3)
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.setTagImage = function(e) {
return o.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.clearTagImage = function() {
return this.setTagImage(void 0)
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.hasTagImage = function() {
return null != o.Message.getField(this, 3)
}
,
proto.webcast.data.ChatMatchGroupInfo.repeatedFields_ = [5],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ChatMatchGroupInfo.prototype.toObject = function(e) {
return proto.webcast.data.ChatMatchGroupInfo.toObject(e, this)
}
,
proto.webcast.data.ChatMatchGroupInfo.toObject = function(e, t) {
var a = {
groupId: o.Message.getFieldWithDefault(t, 1, ""),
tagId: o.Message.getFieldWithDefault(t, 2, "0"),
disbandTime: o.Message.getFieldWithDefault(t, 3, "0"),
status: o.Message.getFieldWithDefault(t, 4, 0),
groupUserListList: o.Message.toObjectList(t.getGroupUserListList(), n.User.toObject, e),
version: o.Message.getFieldWithDefault(t, 6, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ChatMatchGroupInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ChatMatchGroupInfo;
return proto.webcast.data.ChatMatchGroupInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ChatMatchGroupInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setGroupId(a);
break;
case 2:
a = t.readInt64String();
e.setTagId(a);
break;
case 3:
a = t.readInt64String();
e.setDisbandTime(a);
break;
case 4:
a = t.readEnum();
e.setStatus(a);
break;
case 5:
a = new n.User;
t.readMessage(a, n.User.deserializeBinaryFromReader),
e.addGroupUserList(a);
break;
case 6:
a = t.readInt64String();
e.setVersion(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ChatMatchGroupInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChatMatchGroupInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getGroupId()).length > 0 && t.writeString(1, a),
a = e.getTagId(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
a = e.getDisbandTime(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
0 !== (a = e.getStatus()) && t.writeEnum(4, a),
(a = e.getGroupUserListList()).length > 0 && t.writeRepeatedMessage(5, a, n.User.serializeBinaryToWriter),
a = e.getVersion(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.getGroupId = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.setGroupId = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.getTagId = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.setTagId = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.getDisbandTime = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.setDisbandTime = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.getStatus = function() {
return o.Message.getFieldWithDefault(this, 4, 0)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.setStatus = function(e) {
return o.Message.setProto3EnumField(this, 4, e)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.getGroupUserListList = function() {
return o.Message.getRepeatedWrapperField(this, n.User, 5)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.setGroupUserListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 5, e)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.addGroupUserList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 5, e, proto.webcast.data.User, t)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.clearGroupUserListList = function() {
return this.setGroupUserListList([])
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.getVersion = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.setVersion = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.ChatMatchGroupStatus = {
CHAT_MATCH_STATUS_UNKNOWN: 0,
CHAT_MATCH_STATUS_MATCHING: 1,
CHAT_MATCH_STATUS_ROOM_TO_BE_CREATED: 2,
CHAT_MATCH_STATUS_ROOM_CREATED: 3
},
r.object.extend(t, proto.webcast.data)
}
,
24836: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, s = a(33576);
r.object.extend(proto, s),
r.exportSymbol("proto.webcast.data.ChorusInfo", null, i),
r.exportSymbol("proto.webcast.data.ChorusSongInfo", null, i),
r.exportSymbol("proto.webcast.data.CloseChorusReason", null, i),
proto.webcast.data.ChorusInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ChorusInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ChorusInfo.displayName = "proto.webcast.data.ChorusInfo"),
proto.webcast.data.ChorusSongInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ChorusSongInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ChorusSongInfo.displayName = "proto.webcast.data.ChorusSongInfo"),
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ChorusInfo.prototype.toObject = function(e) {
return proto.webcast.data.ChorusInfo.toObject(e, this)
}
,
proto.webcast.data.ChorusInfo.toObject = function(e, t) {
var a = {
chorusId: o.Message.getFieldWithDefault(t, 1, "0"),
leadSingerId: o.Message.getFieldWithDefault(t, 2, "0"),
startTime: o.Message.getFieldWithDefault(t, 3, "0"),
finishTime: o.Message.getFieldWithDefault(t, 4, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ChorusInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ChorusInfo;
return proto.webcast.data.ChorusInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ChorusInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setChorusId(a);
break;
case 2:
a = t.readInt64String();
e.setLeadSingerId(a);
break;
case 3:
a = t.readInt64String();
e.setStartTime(a);
break;
case 4:
a = t.readInt64String();
e.setFinishTime(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ChorusInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ChorusInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChorusInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getChorusId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getLeadSingerId(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
a = e.getStartTime(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
a = e.getFinishTime(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a)
}
,
proto.webcast.data.ChorusInfo.prototype.getChorusId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.ChorusInfo.prototype.setChorusId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.ChorusInfo.prototype.getLeadSingerId = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.ChorusInfo.prototype.setLeadSingerId = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.ChorusInfo.prototype.getStartTime = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.ChorusInfo.prototype.setStartTime = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.ChorusInfo.prototype.getFinishTime = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.ChorusInfo.prototype.setFinishTime = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ChorusSongInfo.prototype.toObject = function(e) {
return proto.webcast.data.ChorusSongInfo.toObject(e, this)
}
,
proto.webcast.data.ChorusSongInfo.toObject = function(e, t) {
var a, r = {
music: (a = t.getMusic()) && s.KtvSongStruct.toObject(e, a),
isSelfSeeing: o.Message.getBooleanFieldWithDefault(t, 2, !1)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ChorusSongInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ChorusSongInfo;
return proto.webcast.data.ChorusSongInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ChorusSongInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new s.KtvSongStruct;
t.readMessage(a, s.KtvSongStruct.deserializeBinaryFromReader),
e.setMusic(a);
break;
case 2:
a = t.readBool();
e.setIsSelfSeeing(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ChorusSongInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ChorusSongInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChorusSongInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
null != (a = e.getMusic()) && t.writeMessage(1, a, s.KtvSongStruct.serializeBinaryToWriter),
(a = e.getIsSelfSeeing()) && t.writeBool(2, a)
}
,
proto.webcast.data.ChorusSongInfo.prototype.getMusic = function() {
return o.Message.getWrapperField(this, s.KtvSongStruct, 1)
}
,
proto.webcast.data.ChorusSongInfo.prototype.setMusic = function(e) {
return o.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.ChorusSongInfo.prototype.clearMusic = function() {
return this.setMusic(void 0)
}
,
proto.webcast.data.ChorusSongInfo.prototype.hasMusic = function() {
return null != o.Message.getField(this, 1)
}
,
proto.webcast.data.ChorusSongInfo.prototype.getIsSelfSeeing = function() {
return o.Message.getBooleanFieldWithDefault(this, 2, !1)
}
,
proto.webcast.data.ChorusSongInfo.prototype.setIsSelfSeeing = function(e) {
return o.Message.setProto3BooleanField(this, 2, e)
}
,
proto.webcast.data.CloseChorusReason = {
CLOSECHORUSREASON_NONE: 0,
CLOSECHORUSREASON_NORMAL: 1,
CLOSECHORUSREASON_ANCHOR_JOIN: 2,
CLOSECHORUSREASON_ANCHOR_LEAVE: 3,
CLOSECHORUSREASON_SWITCH_SCENE: 4,
CLOSECHORUSREASON_LINKMIC_CLOSE: 5,
CLOSECHORUSREASON_LEAD_LEAVE: 6,
CLOSECHORUSREASON_AGAIN: 7,
CLOSECHORUSREASON_FALLBACK: 8,
CLOSECHORUSREASON_RTC_SERVER_MIX_FALLBACK: 9
},
r.object.extend(t, proto.webcast.data)
}
,
7323: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null);
r.exportSymbol("proto.webcast.data.BottomRightCardArea", null, i),
r.exportSymbol("proto.webcast.data.CardCondition", null, i),
r.exportSymbol("proto.webcast.data.CardCondition.ConditionType", null, i),
r.exportSymbol("proto.webcast.data.CardDisplayInfo", null, i),
r.exportSymbol("proto.webcast.data.CardDisplayInfo.ContainerType", null, i),
r.exportSymbol("proto.webcast.data.CardPreDefeatStrategy", null, i),
r.exportSymbol("proto.webcast.data.CardPreDefeatStrategy.StrategyType", null, i),
r.exportSymbol("proto.webcast.data.CardShowDefeatStrategy", null, i),
r.exportSymbol("proto.webcast.data.CardShowDefeatStrategy.StrategyType", null, i),
r.exportSymbol("proto.webcast.data.CardTrigger", null, i),
r.exportSymbol("proto.webcast.data.CardTrigger.TriggerType", null, i),
r.exportSymbol("proto.webcast.data.CardTriggerConfig", null, i),
r.exportSymbol("proto.webcast.data.CombineType", null, i),
proto.webcast.data.BottomRightCardArea = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.BottomRightCardArea, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.BottomRightCardArea.displayName = "proto.webcast.data.BottomRightCardArea"),
proto.webcast.data.CombineType = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.CombineType, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.CombineType.displayName = "proto.webcast.data.CombineType"),
proto.webcast.data.CardDisplayInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.CardDisplayInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.CardDisplayInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.CardDisplayInfo.displayName = "proto.webcast.data.CardDisplayInfo"),
proto.webcast.data.CardTriggerConfig = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.CardTriggerConfig.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.CardTriggerConfig, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.CardTriggerConfig.displayName = "proto.webcast.data.CardTriggerConfig"),
proto.webcast.data.CardTrigger = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.CardTrigger, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.CardTrigger.displayName = "proto.webcast.data.CardTrigger"),
proto.webcast.data.CardCondition = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.CardCondition, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.CardCondition.displayName = "proto.webcast.data.CardCondition"),
proto.webcast.data.CardPreDefeatStrategy = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.CardPreDefeatStrategy, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.CardPreDefeatStrategy.displayName = "proto.webcast.data.CardPreDefeatStrategy"),
proto.webcast.data.CardShowDefeatStrategy = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.CardShowDefeatStrategy, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.CardShowDefeatStrategy.displayName = "proto.webcast.data.CardShowDefeatStrategy"),
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.BottomRightCardArea.prototype.toObject = function(e) {
return proto.webcast.data.BottomRightCardArea.toObject(e, this)
}
,
proto.webcast.data.BottomRightCardArea.toObject = function(e, t) {
var a, r = {
type: o.Message.getFieldWithDefault(t, 1, 0),
priority: o.Message.getFieldWithDefault(t, 2, 0),
toolbarType: o.Message.getFieldWithDefault(t, 3, 0),
combineType: (a = t.getCombineType()) && proto.webcast.data.CombineType.toObject(e, a),
cardDisplayInfo: (a = t.getCardDisplayInfo()) && proto.webcast.data.CardDisplayInfo.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.BottomRightCardArea.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.BottomRightCardArea;
return proto.webcast.data.BottomRightCardArea.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.BottomRightCardArea.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt32();
e.setType(a);
break;
case 2:
a = t.readUint32();
e.setPriority(a);
break;
case 3:
a = t.readInt32();
e.setToolbarType(a);
break;
case 4:
a = new proto.webcast.data.CombineType;
t.readMessage(a, proto.webcast.data.CombineType.deserializeBinaryFromReader),
e.setCombineType(a);
break;
case 5:
a = new proto.webcast.data.CardDisplayInfo;
t.readMessage(a, proto.webcast.data.CardDisplayInfo.deserializeBinaryFromReader),
e.setCardDisplayInfo(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.BottomRightCardArea.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.BottomRightCardArea.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.BottomRightCardArea.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getType()) && t.writeInt32(1, a),
0 !== (a = e.getPriority()) && t.writeUint32(2, a),
0 !== (a = e.getToolbarType()) && t.writeInt32(3, a),
null != (a = e.getCombineType()) && t.writeMessage(4, a, proto.webcast.data.CombineType.serializeBinaryToWriter),
null != (a = e.getCardDisplayInfo()) && t.writeMessage(5, a, proto.webcast.data.CardDisplayInfo.serializeBinaryToWriter)
}
,
proto.webcast.data.BottomRightCardArea.prototype.getType = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.BottomRightCardArea.prototype.setType = function(e) {
return o.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.BottomRightCardArea.prototype.getPriority = function() {
return o.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.BottomRightCardArea.prototype.setPriority = function(e) {
return o.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.BottomRightCardArea.prototype.getToolbarType = function() {
return o.Message.getFieldWithDefault(this, 3, 0)
}
,
proto.webcast.data.BottomRightCardArea.prototype.setToolbarType = function(e) {
return o.Message.setProto3IntField(this, 3, e)
}
,
proto.webcast.data.BottomRightCardArea.prototype.getCombineType = function() {
return o.Message.getWrapperField(this, proto.webcast.data.CombineType, 4)
}
,
proto.webcast.data.BottomRightCardArea.prototype.setCombineType = function(e) {
return o.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.BottomRightCardArea.prototype.clearCombineType = function() {
return this.setCombineType(void 0)
}
,
proto.webcast.data.BottomRightCardArea.prototype.hasCombineType = function() {
return null != o.Message.getField(this, 4)
}
,
proto.webcast.data.BottomRightCardArea.prototype.getCardDisplayInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.CardDisplayInfo, 5)
}
,
proto.webcast.data.BottomRightCardArea.prototype.setCardDisplayInfo = function(e) {
return o.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.BottomRightCardArea.prototype.clearCardDisplayInfo = function() {
return this.setCardDisplayInfo(void 0)
}
,
proto.webcast.data.BottomRightCardArea.prototype.hasCardDisplayInfo = function() {
return null != o.Message.getField(this, 5)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.CombineType.prototype.toObject = function(e) {
return proto.webcast.data.CombineType.toObject(e, this)
}
,
proto.webcast.data.CombineType.toObject = function(e, t) {
var a = {
areaType: o.Message.getFieldWithDefault(t, 1, 0),
areaSubType: o.Message.getFieldWithDefault(t, 2, 0)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CombineType.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.CombineType;
return proto.webcast.data.CombineType.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.CombineType.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt32();
e.setAreaType(a);
break;
case 2:
a = t.readInt32();
e.setAreaSubType(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.CombineType.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.CombineType.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CombineType.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getAreaType()) && t.writeInt32(1, a),
0 !== (a = e.getAreaSubType()) && t.writeInt32(2, a)
}
,
proto.webcast.data.CombineType.prototype.getAreaType = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CombineType.prototype.setAreaType = function(e) {
return o.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.CombineType.prototype.getAreaSubType = function() {
return o.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.CombineType.prototype.setAreaSubType = function(e) {
return o.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.CardDisplayInfo.repeatedFields_ = [31],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.CardDisplayInfo.prototype.toObject = function(e) {
return proto.webcast.data.CardDisplayInfo.toObject(e, this)
}
,
proto.webcast.data.CardDisplayInfo.toObject = function(e, t) {
var a, r = {
cardId: o.Message.getFieldWithDefault(t, 1, 0),
url: o.Message.getFieldWithDefault(t, 2, ""),
fallbackUrl: o.Message.getFieldWithDefault(t, 3, ""),
containerType: o.Message.getFieldWithDefault(t, 4, 0),
durationMs: o.Message.getFieldWithDefault(t, 5, "0"),
width: o.Message.getFieldWithDefault(t, 10, 0),
height: o.Message.getFieldWithDefault(t, 11, 0),
bottom: o.Message.getFieldWithDefault(t, 12, 0),
right: o.Message.getFieldWithDefault(t, 13, 0),
containerPayload: o.Message.getFieldWithDefault(t, 20, ""),
triggerConfig: (a = t.getTriggerConfig()) && proto.webcast.data.CardTriggerConfig.toObject(e, a),
conditionListList: o.Message.toObjectList(t.getConditionListList(), proto.webcast.data.CardCondition.toObject, e),
preDefeatStrategy: (a = t.getPreDefeatStrategy()) && proto.webcast.data.CardPreDefeatStrategy.toObject(e, a),
showDefeatStrategy: (a = t.getShowDefeatStrategy()) && proto.webcast.data.CardShowDefeatStrategy.toObject(e, a),
accessibleName: o.Message.getFieldWithDefault(t, 50, "")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.CardDisplayInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.CardDisplayInfo;
return proto.webcast.data.CardDisplayInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.CardDisplayInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt32();
e.setCardId(a);
break;
case 2:
a = t.readString();
e.setUrl(a);
break;
case 3:
a = t.readString();
e.setFallbackUrl(a);
break;
case 4:
a = t.readEnum();
e.setContainerType(a);
break;
case 5:
a = t.readInt64String();
e.setDurationMs(a);
break;
case 10:
a = t.readUint32();
e.setWidth(a);
break;
case 11:
a = t.readUint32();
e.setHeight(a);
break;
case 12:
a = t.readUint32();
e.setBottom(a);
break;
case 13:
a = t.readUint32();
e.setRight(a);
break;
case 20:
a = t.readString();
e.setContainerPayload(a);
break;
case 30:
a = new proto.webcast.data.CardTriggerConfig;
t.readMessage(a, proto.webcast.data.CardTriggerConfig.deserializeBinaryFromReader),
e.setTriggerConfig(a);
break;
case 31:
a = new proto.webcast.data.CardCondition;
t.readMessage(a, proto.webcast.data.CardCondition.deserializeBinaryFromReader),
e.addConditionList(a);
break;
case 40:
a = new proto.webcast.data.CardPreDefeatStrategy;
t.readMessage(a, proto.webcast.data.CardPreDefeatStrategy.deserializeBinaryFromReader),
e.setPreDefeatStrategy(a);
break;
case 41:
a = new proto.webcast.data.CardShowDefeatStrategy;
t.readMessage(a, proto.webcast.data.CardShowDefeatStrategy.deserializeBinaryFromReader),
e.setShowDefeatStrategy(a);
break;
case 50:
a = t.readString();
e.setAccessibleName(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.CardDisplayInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.CardDisplayInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CardDisplayInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getCardId()) && t.writeInt32(1, a),
(a = e.getUrl()).length > 0 && t.writeString(2, a),
(a = e.getFallbackUrl()).length > 0 && t.writeString(3, a),
0 !== (a = e.getContainerType()) && t.writeEnum(4, a),
a = e.getDurationMs(),
0 !== parseInt(a, 10) && t.writeInt64String(5, a),
0 !== (a = e.getWidth()) && t.writeUint32(10, a),
0 !== (a = e.getHeight()) && t.writeUint32(11, a),
0 !== (a = e.getBottom()) && t.writeUint32(12, a),
0 !== (a = e.getRight()) && t.writeUint32(13, a),
(a = e.getContainerPayload()).length > 0 && t.writeString(20, a),
null != (a = e.getTriggerConfig()) && t.writeMessage(30, a, proto.webcast.data.CardTriggerConfig.serializeBinaryToWriter),
(a = e.getConditionListList()).length > 0 && t.writeRepeatedMessage(31, a, proto.webcast.data.CardCondition.serializeBinaryToWriter),
null != (a = e.getPreDefeatStrategy()) && t.writeMessage(40, a, proto.webcast.data.CardPreDefeatStrategy.serializeBinaryToWriter),
null != (a = e.getShowDefeatStrategy()) && t.writeMessage(41, a, proto.webcast.data.CardShowDefeatStrategy.serializeBinaryToWriter),
(a = e.getAccessibleName()).length > 0 && t.writeString(50, a)
}
,
proto.webcast.data.CardDisplayInfo.ContainerType = {
UNKNOWNCONTAINERTYPE: 0,
LYNX: 1,
WEBVIEW: 2
},
proto.webcast.data.CardDisplayInfo.prototype.getCardId = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setCardId = function(e) {
return o.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getUrl = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.CardDisplayInfo.prototype.setUrl = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getFallbackUrl = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.CardDisplayInfo.prototype.setFallbackUrl = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getContainerType = function() {
return o.Message.getFieldWithDefault(this, 4, 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setContainerType = function(e) {
return o.Message.setProto3EnumField(this, 4, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getDurationMs = function() {
return o.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.CardDisplayInfo.prototype.setDurationMs = function(e) {
return o.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getWidth = function() {
return o.Message.getFieldWithDefault(this, 10, 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setWidth = function(e) {
return o.Message.setProto3IntField(this, 10, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getHeight = function() {
return o.Message.getFieldWithDefault(this, 11, 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setHeight = function(e) {
return o.Message.setProto3IntField(this, 11, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getBottom = function() {
return o.Message.getFieldWithDefault(this, 12, 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setBottom = function(e) {
return o.Message.setProto3IntField(this, 12, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getRight = function() {
return o.Message.getFieldWithDefault(this, 13, 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setRight = function(e) {
return o.Message.setProto3IntField(this, 13, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getContainerPayload = function() {
return o.Message.getFieldWithDefault(this, 20, "")
}
,
proto.webcast.data.CardDisplayInfo.prototype.setContainerPayload = function(e) {
return o.Message.setProto3StringField(this, 20, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getTriggerConfig = function() {
return o.Message.getWrapperField(this, proto.webcast.data.CardTriggerConfig, 30)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setTriggerConfig = function(e) {
return o.Message.setWrapperField(this, 30, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.clearTriggerConfig = function() {
return this.setTriggerConfig(void 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.hasTriggerConfig = function() {
return null != o.Message.getField(this, 30)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getConditionListList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.CardCondition, 31)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setConditionListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 31, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.addConditionList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 31, e, proto.webcast.data.CardCondition, t)
}
,
proto.webcast.data.CardDisplayInfo.prototype.clearConditionListList = function() {
return this.setConditionListList([])
}
,
proto.webcast.data.CardDisplayInfo.prototype.getPreDefeatStrategy = function() {
return o.Message.getWrapperField(this, proto.webcast.data.CardPreDefeatStrategy, 40)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setPreDefeatStrategy = function(e) {
return o.Message.setWrapperField(this, 40, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.clearPreDefeatStrategy = function() {
return this.setPreDefeatStrategy(void 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.hasPreDefeatStrategy = function() {
return null != o.Message.getField(this, 40)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getShowDefeatStrategy = function() {
return o.Message.getWrapperField(this, proto.webcast.data.CardShowDefeatStrategy, 41)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setShowDefeatStrategy = function(e) {
return o.Message.setWrapperField(this, 41, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.clearShowDefeatStrategy = function() {
return this.setShowDefeatStrategy(void 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.hasShowDefeatStrategy = function() {
return null != o.Message.getField(this, 41)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getAccessibleName = function() {
return o.Message.getFieldWithDefault(this, 50, "")
}
,
proto.webcast.data.CardDisplayInfo.prototype.setAccessibleName = function(e) {
return o.Message.setProto3StringField(this, 50, e)
}
,
proto.webcast.data.CardTriggerConfig.repeatedFields_ = [2],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.CardTriggerConfig.prototype.toObject = function(e) {
return proto.webcast.data.CardTriggerConfig.toObject(e, this)
}
,
proto.webcast.data.CardTriggerConfig.toObject = function(e, t) {
var a, r = {
strategy: o.Message.getFieldWithDefault(t, 1, 0),
commontriggerlistList: o.Message.toObjectList(t.getCommontriggerlistList(), proto.webcast.data.CardTrigger.toObject, e),
customtriggermapMap: (a = t.getCustomtriggermapMap()) ? a.toObject(e, void 0) : []
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.CardTriggerConfig.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.CardTriggerConfig;
return proto.webcast.data.CardTriggerConfig.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.CardTriggerConfig.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readUint32();
e.setStrategy(a);
break;
case 2:
a = new proto.webcast.data.CardTrigger;
t.readMessage(a, proto.webcast.data.CardTrigger.deserializeBinaryFromReader),
e.addCommontriggerlist(a);
break;
case 3:
a = e.getCustomtriggermapMap();
t.readMessage(a, (function(e, t) {
o.Map.deserializeBinary(e, t, o.BinaryReader.prototype.readString, o.BinaryReader.prototype.readString, null, "", "")
}
));
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.CardTriggerConfig.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.CardTriggerConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CardTriggerConfig.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getStrategy()) && t.writeUint32(1, a),
(a = e.getCommontriggerlistList()).length > 0 && t.writeRepeatedMessage(2, a, proto.webcast.data.CardTrigger.serializeBinaryToWriter),
(a = e.getCustomtriggermapMap(!0)) && a.getLength() > 0 && a.serializeBinary(3, t, o.BinaryWriter.prototype.writeString, o.BinaryWriter.prototype.writeString)
}
,
proto.webcast.data.CardTriggerConfig.prototype.getStrategy = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CardTriggerConfig.prototype.setStrategy = function(e) {
return o.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.CardTriggerConfig.prototype.getCommontriggerlistList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.CardTrigger, 2)
}
,
proto.webcast.data.CardTriggerConfig.prototype.setCommontriggerlistList = function(e) {
return o.Message.setRepeatedWrapperField(this, 2, e)
}
,
proto.webcast.data.CardTriggerConfig.prototype.addCommontriggerlist = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 2, e, proto.webcast.data.CardTrigger, t)
}
,
proto.webcast.data.CardTriggerConfig.prototype.clearCommontriggerlistList = function() {
return this.setCommontriggerlistList([])
}
,
proto.webcast.data.CardTriggerConfig.prototype.getCustomtriggermapMap = function(e) {
return o.Message.getMapField(this, 3, e, null)
}
,
proto.webcast.data.CardTriggerConfig.prototype.clearCustomtriggermapMap = function() {
return this.getCustomtriggermapMap().clear(),
this
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.CardTrigger.prototype.toObject = function(e) {
return proto.webcast.data.CardTrigger.toObject(e, this)
}
,
proto.webcast.data.CardTrigger.toObject = function(e, t) {
var a = {
type: o.Message.getFieldWithDefault(t, 1, 0),
value: o.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CardTrigger.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.CardTrigger;
return proto.webcast.data.CardTrigger.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.CardTrigger.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readEnum();
e.setType(a);
break;
case 2:
a = t.readInt64String();
e.setValue(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.CardTrigger.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.CardTrigger.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CardTrigger.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getType()) && t.writeEnum(1, a),
a = e.getValue(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a)
}
,
proto.webcast.data.CardTrigger.TriggerType = {
UNKNOWNTRIGGERTYPE: 0,
DELAYDISPLAY: 1
},
proto.webcast.data.CardTrigger.prototype.getType = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CardTrigger.prototype.setType = function(e) {
return o.Message.setProto3EnumField(this, 1, e)
}
,
proto.webcast.data.CardTrigger.prototype.getValue = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.CardTrigger.prototype.setValue = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.CardCondition.prototype.toObject = function(e) {
return proto.webcast.data.CardCondition.toObject(e, this)
}
,
proto.webcast.data.CardCondition.toObject = function(e, t) {
var a = {
type: o.Message.getFieldWithDefault(t, 1, 0),
value: o.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CardCondition.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.CardCondition;
return proto.webcast.data.CardCondition.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.CardCondition.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readEnum();
e.setType(a);
break;
case 2:
a = t.readInt64String();
e.setValue(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.CardCondition.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.CardCondition.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CardCondition.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getType()) && t.writeEnum(1, a),
a = e.getValue(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a)
}
,
proto.webcast.data.CardCondition.ConditionType = {
UNKNOWNCONTAINERTYPE: 0,
DISPLAYGAP: 1,
MAXIMUMCLOSE: 2
},
proto.webcast.data.CardCondition.prototype.getType = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CardCondition.prototype.setType = function(e) {
return o.Message.setProto3EnumField(this, 1, e)
}
,
proto.webcast.data.CardCondition.prototype.getValue = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.CardCondition.prototype.setValue = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.CardPreDefeatStrategy.prototype.toObject = function(e) {
return proto.webcast.data.CardPreDefeatStrategy.toObject(e, this)
}
,
proto.webcast.data.CardPreDefeatStrategy.toObject = function(e, t) {
var a = {
type: o.Message.getFieldWithDefault(t, 1, 0),
value: o.Message.getFieldWithDefault(t, 2, "0"),
extra: o.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CardPreDefeatStrategy.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.CardPreDefeatStrategy;
return proto.webcast.data.CardPreDefeatStrategy.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.CardPreDefeatStrategy.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt32();
e.setType(a);
break;
case 2:
a = t.readInt64String();
e.setValue(a);
break;
case 3:
a = t.readString();
e.setExtra(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.CardPreDefeatStrategy.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.CardPreDefeatStrategy.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CardPreDefeatStrategy.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getType()) && t.writeInt32(1, a),
a = e.getValue(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
(a = e.getExtra()).length > 0 && t.writeString(3, a)
}
,
proto.webcast.data.CardPreDefeatStrategy.StrategyType = {
UNKNOWNTYPE: 0,
INQUEUE: 1,
IGNORE: 2
},
proto.webcast.data.CardPreDefeatStrategy.prototype.getType = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CardPreDefeatStrategy.prototype.setType = function(e) {
return o.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.CardPreDefeatStrategy.prototype.getValue = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.CardPreDefeatStrategy.prototype.setValue = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.CardPreDefeatStrategy.prototype.getExtra = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.CardPreDefeatStrategy.prototype.setExtra = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.CardShowDefeatStrategy.prototype.toObject = function(e) {
return proto.webcast.data.CardShowDefeatStrategy.toObject(e, this)
}
,
proto.webcast.data.CardShowDefeatStrategy.toObject = function(e, t) {
var a = {
type: o.Message.getFieldWithDefault(t, 1, 0),
value: o.Message.getFieldWithDefault(t, 2, "0"),
extra: o.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CardShowDefeatStrategy.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.CardShowDefeatStrategy;
return proto.webcast.data.CardShowDefeatStrategy.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.CardShowDefeatStrategy.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt32();
e.setType(a);
break;
case 2:
a = t.readInt64String();
e.setValue(a);
break;
case 3:
a = t.readString();
e.setExtra(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.CardShowDefeatStrategy.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.CardShowDefeatStrategy.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CardShowDefeatStrategy.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getType()) && t.writeInt32(1, a),
a = e.getValue(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
(a = e.getExtra()).length > 0 && t.writeString(3, a)
}
,
proto.webcast.data.CardShowDefeatStrategy.StrategyType = {
UNKNOWNTYPE: 0,
INQUEUE: 1,
IGNORE: 2
},
proto.webcast.data.CardShowDefeatStrategy.prototype.getType = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CardShowDefeatStrategy.prototype.setType = function(e) {
return o.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.CardShowDefeatStrategy.prototype.getValue = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.CardShowDefeatStrategy.prototype.setValue = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.CardShowDefeatStrategy.prototype.getExtra = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.CardShowDefeatStrategy.prototype.setExtra = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
r.object.extend(t, proto.webcast.data)
}
,
34257: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, s = a(5181);
r.object.extend(proto, s);
var n = a(23831);
r.object.extend(proto, n);
var d = a(20904);
r.object.extend(proto, d),
r.exportSymbol("proto.webcast.data.ItemDetail", null, i),
r.exportSymbol("proto.webcast.data.MarkDetail", null, i),
r.exportSymbol("proto.webcast.data.PriceInfo", null, i),
proto.webcast.data.PriceInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.PriceInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.PriceInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.PriceInfo.displayName = "proto.webcast.data.PriceInfo"),
proto.webcast.data.ItemDetail = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ItemDetail, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ItemDetail.displayName = "proto.webcast.data.ItemDetail"),
proto.webcast.data.MarkDetail = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.MarkDetail.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.MarkDetail, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.MarkDetail.displayName = "proto.webcast.data.MarkDetail"),
proto.webcast.data.PriceInfo.repeatedFields_ = [1],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.PriceInfo.prototype.toObject = function(e) {
return proto.webcast.data.PriceInfo.toObject(e, this)
}
,
proto.webcast.data.PriceInfo.toObject = function(e, t) {
var a = {
pricelistList: o.Message.toObjectList(t.getPricelistList(), s.StandardMoney.toObject, e)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.PriceInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.PriceInfo;
return proto.webcast.data.PriceInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.PriceInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
if (1 === t.getFieldNumber()) {
var a = new s.StandardMoney;
t.readMessage(a, s.StandardMoney.deserializeBinaryFromReader),
e.addPricelist(a)
} else
t.skipField()
}
return e
}
,
proto.webcast.data.PriceInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.PriceInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.PriceInfo.serializeBinaryToWriter = function(e, t) {
var a;
(a = e.getPricelistList()).length > 0 && t.writeRepeatedMessage(1, a, s.StandardMoney.serializeBinaryToWriter)
}
,
proto.webcast.data.PriceInfo.prototype.getPricelistList = function() {
return o.Message.getRepeatedWrapperField(this, s.StandardMoney, 1)
}
,
proto.webcast.data.PriceInfo.prototype.setPricelistList = function(e) {
return o.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.PriceInfo.prototype.addPricelist = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 1, e, proto.webcast.data.StandardMoney, t)
}
,
proto.webcast.data.PriceInfo.prototype.clearPricelistList = function() {
return this.setPricelistList([])
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ItemDetail.prototype.toObject = function(e) {
return proto.webcast.data.ItemDetail.toObject(e, this)
}
,
proto.webcast.data.ItemDetail.toObject = function(e, t) {
var a, r = {
ordertype: o.Message.getFieldWithDefault(t, 1, 0),
itemtype: o.Message.getFieldWithDefault(t, 2, 0),
itemid: o.Message.getFieldWithDefault(t, 3, ""),
itemsku: o.Message.getFieldWithDefault(t, 4, ""),
itemtitle: o.Message.getFieldWithDefault(t, 5, ""),
itemiconuri: o.Message.getFieldWithDefault(t, 6, ""),
description: o.Message.getFieldWithDefault(t, 7, ""),
isforbidrefund: o.Message.getFieldWithDefault(t, 8, ""),
refundstarttime: o.Message.getFieldWithDefault(t, 9, "0"),
refundendtime: o.Message.getFieldWithDefault(t, 10, "0"),
salerefundstarttime: o.Message.getFieldWithDefault(t, 11, "0"),
salerefundendtime: o.Message.getFieldWithDefault(t, 12, "0"),
validity: o.Message.getFieldWithDefault(t, 13, "0"),
validstarttime: o.Message.getFieldWithDefault(t, 14, "0"),
validendtime: o.Message.getFieldWithDefault(t, 15, "0"),
status: o.Message.getFieldWithDefault(t, 16, 0),
extra: o.Message.getFieldWithDefault(t, 17, ""),
platformpricelistMap: (a = t.getPlatformpricelistMap()) ? a.toObject(e, proto.webcast.data.PriceInfo.toObject) : [],
markinfo: (a = t.getMarkinfo()) && proto.webcast.data.MarkDetail.toObject(e, a),
itemicon: (a = t.getItemicon()) && d.Image.toObject(e, a),
itemsaletype: o.Message.getFieldWithDefault(t, 21, "0")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ItemDetail.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ItemDetail;
return proto.webcast.data.ItemDetail.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ItemDetail.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt32();
e.setOrdertype(a);
break;
case 2:
a = t.readInt32();
e.setItemtype(a);
break;
case 3:
a = t.readString();
e.setItemid(a);
break;
case 4:
a = t.readString();
e.setItemsku(a);
break;
case 5:
a = t.readString();
e.setItemtitle(a);
break;
case 6:
a = t.readString();
e.setItemiconuri(a);
break;
case 7:
a = t.readString();
e.setDescription(a);
break;
case 8:
a = t.readString();
e.setIsforbidrefund(a);
break;
case 9:
a = t.readInt64String();
e.setRefundstarttime(a);
break;
case 10:
a = t.readInt64String();
e.setRefundendtime(a);
break;
case 11:
a = t.readInt64String();
e.setSalerefundstarttime(a);
break;
case 12:
a = t.readInt64String();
e.setSalerefundendtime(a);
break;
case 13:
a = t.readInt64String();
e.setValidity(a);
break;
case 14:
a = t.readInt64String();
e.setValidstarttime(a);
break;
case 15:
a = t.readInt64String();
e.setValidendtime(a);
break;
case 16:
a = t.readInt32();
e.setStatus(a);
break;
case 17:
a = t.readString();
e.setExtra(a);
break;
case 18:
a = e.getPlatformpricelistMap();
t.readMessage(a, (function(e, t) {
o.Map.deserializeBinary(e, t, o.BinaryReader.prototype.readInt32, o.BinaryReader.prototype.readMessage, proto.webcast.data.PriceInfo.deserializeBinaryFromReader, 0, new proto.webcast.data.PriceInfo)
}
));
break;
case 19:
a = new proto.webcast.data.MarkDetail;
t.readMessage(a, proto.webcast.data.MarkDetail.deserializeBinaryFromReader),
e.setMarkinfo(a);
break;
case 20:
a = new d.Image;
t.readMessage(a, d.Image.deserializeBinaryFromReader),
e.setItemicon(a);
break;
case 21:
a = t.readInt64String();
e.setItemsaletype(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ItemDetail.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ItemDetail.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ItemDetail.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getOrdertype()) && t.writeInt32(1, a),
0 !== (a = e.getItemtype()) && t.writeInt32(2, a),
(a = e.getItemid()).length > 0 && t.writeString(3, a),
(a = e.getItemsku()).length > 0 && t.writeString(4, a),
(a = e.getItemtitle()).length > 0 && t.writeString(5, a),
(a = e.getItemiconuri()).length > 0 && t.writeString(6, a),
(a = e.getDescription()).length > 0 && t.writeString(7, a),
(a = e.getIsforbidrefund()).length > 0 && t.writeString(8, a),
a = e.getRefundstarttime(),
0 !== parseInt(a, 10) && t.writeInt64String(9, a),
a = e.getRefundendtime(),
0 !== parseInt(a, 10) && t.writeInt64String(10, a),
a = e.getSalerefundstarttime(),
0 !== parseInt(a, 10) && t.writeInt64String(11, a),
a = e.getSalerefundendtime(),
0 !== parseInt(a, 10) && t.writeInt64String(12, a),
a = e.getValidity(),
0 !== parseInt(a, 10) && t.writeInt64String(13, a),
a = e.getValidstarttime(),
0 !== parseInt(a, 10) && t.writeInt64String(14, a),
a = e.getValidendtime(),
0 !== parseInt(a, 10) && t.writeInt64String(15, a),
0 !== (a = e.getStatus()) && t.writeInt32(16, a),
(a = e.getExtra()).length > 0 && t.writeString(17, a),
(a = e.getPlatformpricelistMap(!0)) && a.getLength() > 0 && a.serializeBinary(18, t, o.BinaryWriter.prototype.writeInt32, o.BinaryWriter.prototype.writeMessage, proto.webcast.data.PriceInfo.serializeBinaryToWriter),
null != (a = e.getMarkinfo()) && t.writeMessage(19, a, proto.webcast.data.MarkDetail.serializeBinaryToWriter),
null != (a = e.getItemicon()) && t.writeMessage(20, a, d.Image.serializeBinaryToWriter),
a = e.getItemsaletype(),
0 !== parseInt(a, 10) && t.writeInt64String(21, a)
}
,
proto.webcast.data.ItemDetail.prototype.getOrdertype = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.ItemDetail.prototype.setOrdertype = function(e) {
return o.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.ItemDetail.prototype.getItemtype = function() {
return o.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.ItemDetail.prototype.setItemtype = function(e) {
return o.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.ItemDetail.prototype.getItemid = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.ItemDetail.prototype.setItemid = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.ItemDetail.prototype.getItemsku = function() {
return o.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.ItemDetail.prototype.setItemsku = function(e) {
return o.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.ItemDetail.prototype.getItemtitle = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.ItemDetail.prototype.setItemtitle = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.ItemDetail.prototype.getItemiconuri = function() {
return o.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.ItemDetail.prototype.setItemiconuri = function(e) {
return o.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.ItemDetail.prototype.getDescription = function() {
return o.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.ItemDetail.prototype.setDescription = function(e) {
return o.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.ItemDetail.prototype.getIsforbidrefund = function() {
return o.Message.getFieldWithDefault(this, 8, "")
}
,
proto.webcast.data.ItemDetail.prototype.setIsforbidrefund = function(e) {
return o.Message.setProto3StringField(this, 8, e)
}
,
proto.webcast.data.ItemDetail.prototype.getRefundstarttime = function() {
return o.Message.getFieldWithDefault(this, 9, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setRefundstarttime = function(e) {
return o.Message.setProto3StringIntField(this, 9, e)
}
,
proto.webcast.data.ItemDetail.prototype.getRefundendtime = function() {
return o.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setRefundendtime = function(e) {
return o.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.ItemDetail.prototype.getSalerefundstarttime = function() {
return o.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setSalerefundstarttime = function(e) {
return o.Message.setProto3StringIntField(this, 11, e)
}
,
proto.webcast.data.ItemDetail.prototype.getSalerefundendtime = function() {
return o.Message.getFieldWithDefault(this, 12, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setSalerefundendtime = function(e) {
return o.Message.setProto3StringIntField(this, 12, e)
}
,
proto.webcast.data.ItemDetail.prototype.getValidity = function() {
return o.Message.getFieldWithDefault(this, 13, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setValidity = function(e) {
return o.Message.setProto3StringIntField(this, 13, e)
}
,
proto.webcast.data.ItemDetail.prototype.getValidstarttime = function() {
return o.Message.getFieldWithDefault(this, 14, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setValidstarttime = function(e) {
return o.Message.setProto3StringIntField(this, 14, e)
}
,
proto.webcast.data.ItemDetail.prototype.getValidendtime = function() {
return o.Message.getFieldWithDefault(this, 15, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setValidendtime = function(e) {
return o.Message.setProto3StringIntField(this, 15, e)
}
,
proto.webcast.data.ItemDetail.prototype.getStatus = function() {
return o.Message.getFieldWithDefault(this, 16, 0)
}
,
proto.webcast.data.ItemDetail.prototype.setStatus = function(e) {
return o.Message.setProto3IntField(this, 16, e)
}
,
proto.webcast.data.ItemDetail.prototype.getExtra = function() {
return o.Message.getFieldWithDefault(this, 17, "")
}
,
proto.webcast.data.ItemDetail.prototype.setExtra = function(e) {
return o.Message.setProto3StringField(this, 17, e)
}
,
proto.webcast.data.ItemDetail.prototype.getPlatformpricelistMap = function(e) {
return o.Message.getMapField(this, 18, e, proto.webcast.data.PriceInfo)
}
,
proto.webcast.data.ItemDetail.prototype.clearPlatformpricelistMap = function() {
return this.getPlatformpricelistMap().clear(),
this
}
,
proto.webcast.data.ItemDetail.prototype.getMarkinfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.MarkDetail, 19)
}
,
proto.webcast.data.ItemDetail.prototype.setMarkinfo = function(e) {
return o.Message.setWrapperField(this, 19, e)
}
,
proto.webcast.data.ItemDetail.prototype.clearMarkinfo = function() {
return this.setMarkinfo(void 0)
}
,
proto.webcast.data.ItemDetail.prototype.hasMarkinfo = function() {
return null != o.Message.getField(this, 19)
}
,
proto.webcast.data.ItemDetail.prototype.getItemicon = function() {
return o.Message.getWrapperField(this, d.Image, 20)
}
,
proto.webcast.data.ItemDetail.prototype.setItemicon = function(e) {
return o.Message.setWrapperField(this, 20, e)
}
,
proto.webcast.data.ItemDetail.prototype.clearItemicon = function() {
return this.setItemicon(void 0)
}
,
proto.webcast.data.ItemDetail.prototype.hasItemicon = function() {
return null != o.Message.getField(this, 20)
}
,
proto.webcast.data.ItemDetail.prototype.getItemsaletype = function() {
return o.Message.getFieldWithDefault(this, 21, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setItemsaletype = function(e) {
return o.Message.setProto3StringIntField(this, 21, e)
}
,
proto.webcast.data.MarkDetail.repeatedFields_ = [1, 2],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.MarkDetail.prototype.toObject = function(e) {
return proto.webcast.data.MarkDetail.toObject(e, this)
}
,
proto.webcast.data.MarkDetail.toObject = function(e, t) {
var a, r = {
itemMarkListV1List: null == (a = o.Message.getRepeatedField(t, 1)) ? void 0 : a,
itemMarkListV2List: null == (a = o.Message.getRepeatedField(t, 2)) ? void 0 : a
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.MarkDetail.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.MarkDetail;
return proto.webcast.data.MarkDetail.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.MarkDetail.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.addItemMarkListV1(a);
break;
case 2:
a = t.readString();
e.addItemMarkListV2(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.MarkDetail.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.MarkDetail.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MarkDetail.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getItemMarkListV1List()).length > 0 && t.writeRepeatedString(1, a),
(a = e.getItemMarkListV2List()).length > 0 && t.writeRepeatedString(2, a)
}
,
proto.webcast.data.MarkDetail.prototype.getItemMarkListV1List = function() {
return o.Message.getRepeatedField(this, 1)
}
,
proto.webcast.data.MarkDetail.prototype.setItemMarkListV1List = function(e) {
return o.Message.setField(this, 1, e || [])
}
,
proto.webcast.data.MarkDetail.prototype.addItemMarkListV1 = function(e, t) {
return o.Message.addToRepeatedField(this, 1, e, t)
}
,
proto.webcast.data.MarkDetail.prototype.clearItemMarkListV1List = function() {
return this.setItemMarkListV1List([])
}
,
proto.webcast.data.MarkDetail.prototype.getItemMarkListV2List = function() {
return o.Message.getRepeatedField(this, 2)
}
,
proto.webcast.data.MarkDetail.prototype.setItemMarkListV2List = function(e) {
return o.Message.setField(this, 2, e || [])
}
,
proto.webcast.data.MarkDetail.prototype.addItemMarkListV2 = function(e, t) {
return o.Message.addToRepeatedField(this, 2, e, t)
}
,
proto.webcast.data.MarkDetail.prototype.clearItemMarkListV2List = function() {
return this.setItemMarkListV2List([])
}
,
r.object.extend(t, proto.webcast.data)
}
,
86916: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null);
r.exportSymbol("proto.webcast.data.BizType", null, i),
r.exportSymbol("proto.webcast.data.GameImage", null, i),
r.exportSymbol("proto.webcast.data.GameUser", null, i),
proto.webcast.data.GameUser = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.GameUser, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.GameUser.displayName = "proto.webcast.data.GameUser"),
proto.webcast.data.GameImage = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.GameImage.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.GameImage, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.GameImage.displayName = "proto.webcast.data.GameImage"),
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.GameUser.prototype.toObject = function(e) {
return proto.webcast.data.GameUser.toObject(e, this)
}
,
proto.webcast.data.GameUser.toObject = function(e, t) {
var a, r = {
userId: o.Message.getFieldWithDefault(t, 1, ""),
openId: o.Message.getFieldWithDefault(t, 2, ""),
nickname: o.Message.getFieldWithDefault(t, 3, ""),
avatarThumb: (a = t.getAvatarThumb()) && proto.webcast.data.GameImage.toObject(e, a),
secUserId: o.Message.getFieldWithDefault(t, 5, "")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.GameUser.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.GameUser;
return proto.webcast.data.GameUser.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.GameUser.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setUserId(a);
break;
case 2:
a = t.readString();
e.setOpenId(a);
break;
case 3:
a = t.readString();
e.setNickname(a);
break;
case 4:
a = new proto.webcast.data.GameImage;
t.readMessage(a, proto.webcast.data.GameImage.deserializeBinaryFromReader),
e.setAvatarThumb(a);
break;
case 5:
a = t.readString();
e.setSecUserId(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.GameUser.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.GameUser.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.GameUser.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getUserId()).length > 0 && t.writeString(1, a),
(a = e.getOpenId()).length > 0 && t.writeString(2, a),
(a = e.getNickname()).length > 0 && t.writeString(3, a),
null != (a = e.getAvatarThumb()) && t.writeMessage(4, a, proto.webcast.data.GameImage.serializeBinaryToWriter),
(a = e.getSecUserId()).length > 0 && t.writeString(5, a)
}
,
proto.webcast.data.GameUser.prototype.getUserId = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.GameUser.prototype.setUserId = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.GameUser.prototype.getOpenId = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.GameUser.prototype.setOpenId = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.GameUser.prototype.getNickname = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.GameUser.prototype.setNickname = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.GameUser.prototype.getAvatarThumb = function() {
return o.Message.getWrapperField(this, proto.webcast.data.GameImage, 4)
}
,
proto.webcast.data.GameUser.prototype.setAvatarThumb = function(e) {
return o.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.GameUser.prototype.clearAvatarThumb = function() {
return this.setAvatarThumb(void 0)
}
,
proto.webcast.data.GameUser.prototype.hasAvatarThumb = function() {
return null != o.Message.getField(this, 4)
}
,
proto.webcast.data.GameUser.prototype.getSecUserId = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.GameUser.prototype.setSecUserId = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.GameImage.repeatedFields_ = [1],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.GameImage.prototype.toObject = function(e) {
return proto.webcast.data.GameImage.toObject(e, this)
}
,
proto.webcast.data.GameImage.toObject = function(e, t) {
var a, r = {
urlListList: null == (a = o.Message.getRepeatedField(t, 1)) ? void 0 : a,
uri: o.Message.getFieldWithDefault(t, 2, ""),
height: o.Message.getFieldWithDefault(t, 3, "0"),
width: o.Message.getFieldWithDefault(t, 4, "0")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.GameImage.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.GameImage;
return proto.webcast.data.GameImage.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.GameImage.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.addUrlList(a);
break;
case 2:
a = t.readString();
e.setUri(a);
break;
case 3:
a = t.readInt64String();
e.setHeight(a);
break;
case 4:
a = t.readInt64String();
e.setWidth(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.GameImage.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.GameImage.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.GameImage.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getUrlListList()).length > 0 && t.writeRepeatedString(1, a),
(a = e.getUri()).length > 0 && t.writeString(2, a),
a = e.getHeight(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
a = e.getWidth(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a)
}
,
proto.webcast.data.GameImage.prototype.getUrlListList = function() {
return o.Message.getRepeatedField(this, 1)
}
,
proto.webcast.data.GameImage.prototype.setUrlListList = function(e) {
return o.Message.setField(this, 1, e || [])
}
,
proto.webcast.data.GameImage.prototype.addUrlList = function(e, t) {
return o.Message.addToRepeatedField(this, 1, e, t)
}
,
proto.webcast.data.GameImage.prototype.clearUrlListList = function() {
return this.setUrlListList([])
}
,
proto.webcast.data.GameImage.prototype.getUri = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.GameImage.prototype.setUri = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.GameImage.prototype.getHeight = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.GameImage.prototype.setHeight = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.GameImage.prototype.getWidth = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.GameImage.prototype.setWidth = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.BizType = {
GAMECP: 0,
STAR: 1
},
r.object.extend(t, proto.webcast.data)
}
,
1930: (e,t,a)=>{
var o = a(47865)
, r = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== r ? r : "undefined" != typeof self ? self : Function("return this")()
}
.call(null);
o.exportSymbol("proto.webcast.data.GameStageType", null, r),
proto.webcast.data.GameStageType = {
GAMENONE: 0,
GAMERESERVATION: 10,
GAMETEST: 20,
GAMEDOWNLOAD: 30
},
o.object.extend(t, proto.webcast.data)
}
,
31274: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, s = a(20904);
r.object.extend(proto, s),
r.exportSymbol("proto.webcast.data.ChatEmojiGuideInfo", null, i),
r.exportSymbol("proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf", null, i),
r.exportSymbol("proto.webcast.data.ChatImageGuideInfo", null, i),
r.exportSymbol("proto.webcast.data.ChatImageGuideInfo.ImageGuideConf", null, i),
r.exportSymbol("proto.webcast.data.LikeIconInfo", null, i),
r.exportSymbol("proto.webcast.data.LikeIconInfo.IconList", null, i),
r.exportSymbol("proto.webcast.data.MatchChatInfo", null, i),
r.exportSymbol("proto.webcast.data.ShareItemStyle", null, i),
proto.webcast.data.LikeIconInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.LikeIconInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.LikeIconInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LikeIconInfo.displayName = "proto.webcast.data.LikeIconInfo"),
proto.webcast.data.LikeIconInfo.IconList = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.LikeIconInfo.IconList.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.LikeIconInfo.IconList, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LikeIconInfo.IconList.displayName = "proto.webcast.data.LikeIconInfo.IconList"),
proto.webcast.data.ChatEmojiGuideInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.ChatEmojiGuideInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.ChatEmojiGuideInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ChatEmojiGuideInfo.displayName = "proto.webcast.data.ChatEmojiGuideInfo"),
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.displayName = "proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf"),
proto.webcast.data.ChatImageGuideInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.ChatImageGuideInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.ChatImageGuideInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ChatImageGuideInfo.displayName = "proto.webcast.data.ChatImageGuideInfo"),
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.ChatImageGuideInfo.ImageGuideConf, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.displayName = "proto.webcast.data.ChatImageGuideInfo.ImageGuideConf"),
proto.webcast.data.MatchChatInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.MatchChatInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.MatchChatInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.MatchChatInfo.displayName = "proto.webcast.data.MatchChatInfo"),
proto.webcast.data.ShareItemStyle = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ShareItemStyle, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ShareItemStyle.displayName = "proto.webcast.data.ShareItemStyle"),
proto.webcast.data.LikeIconInfo.repeatedFields_ = [1],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LikeIconInfo.prototype.toObject = function(e) {
return proto.webcast.data.LikeIconInfo.toObject(e, this)
}
,
proto.webcast.data.LikeIconInfo.toObject = function(e, t) {
var a, r = {
iconsList: o.Message.toObjectList(t.getIconsList(), s.Image.toObject, e),
componentRelatedIconsMap: (a = t.getComponentRelatedIconsMap()) ? a.toObject(e, proto.webcast.data.LikeIconInfo.IconList.toObject) : []
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.LikeIconInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LikeIconInfo;
return proto.webcast.data.LikeIconInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LikeIconInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new s.Image;
t.readMessage(a, s.Image.deserializeBinaryFromReader),
e.addIcons(a);
break;
case 2:
a = e.getComponentRelatedIconsMap();
t.readMessage(a, (function(e, t) {
o.Map.deserializeBinary(e, t, o.BinaryReader.prototype.readInt64, o.BinaryReader.prototype.readMessage, proto.webcast.data.LikeIconInfo.IconList.deserializeBinaryFromReader, 0, new proto.webcast.data.LikeIconInfo.IconList)
}
));
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LikeIconInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LikeIconInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LikeIconInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getIconsList()).length > 0 && t.writeRepeatedMessage(1, a, s.Image.serializeBinaryToWriter),
(a = e.getComponentRelatedIconsMap(!0)) && a.getLength() > 0 && a.serializeBinary(2, t, o.BinaryWriter.prototype.writeInt64, o.BinaryWriter.prototype.writeMessage, proto.webcast.data.LikeIconInfo.IconList.serializeBinaryToWriter)
}
,
proto.webcast.data.LikeIconInfo.IconList.repeatedFields_ = [1],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LikeIconInfo.IconList.prototype.toObject = function(e) {
return proto.webcast.data.LikeIconInfo.IconList.toObject(e, this)
}
,
proto.webcast.data.LikeIconInfo.IconList.toObject = function(e, t) {
var a = {
iconsList: o.Message.toObjectList(t.getIconsList(), s.Image.toObject, e)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LikeIconInfo.IconList.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LikeIconInfo.IconList;
return proto.webcast.data.LikeIconInfo.IconList.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LikeIconInfo.IconList.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
if (1 === t.getFieldNumber()) {
var a = new s.Image;
t.readMessage(a, s.Image.deserializeBinaryFromReader),
e.addIcons(a)
} else
t.skipField()
}
return e
}
,
proto.webcast.data.LikeIconInfo.IconList.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LikeIconInfo.IconList.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LikeIconInfo.IconList.serializeBinaryToWriter = function(e, t) {
var a;
(a = e.getIconsList()).length > 0 && t.writeRepeatedMessage(1, a, s.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.LikeIconInfo.IconList.prototype.getIconsList = function() {
return o.Message.getRepeatedWrapperField(this, s.Image, 1)
}
,
proto.webcast.data.LikeIconInfo.IconList.prototype.setIconsList = function(e) {
return o.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.LikeIconInfo.IconList.prototype.addIcons = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 1, e, proto.webcast.data.Image, t)
}
,
proto.webcast.data.LikeIconInfo.IconList.prototype.clearIconsList = function() {
return this.setIconsList([])
}
,
proto.webcast.data.LikeIconInfo.prototype.getIconsList = function() {
return o.Message.getRepeatedWrapperField(this, s.Image, 1)
}
,
proto.webcast.data.LikeIconInfo.prototype.setIconsList = function(e) {
return o.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.LikeIconInfo.prototype.addIcons = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 1, e, proto.webcast.data.Image, t)
}
,
proto.webcast.data.LikeIconInfo.prototype.clearIconsList = function() {
return this.setIconsList([])
}
,
proto.webcast.data.LikeIconInfo.prototype.getComponentRelatedIconsMap = function(e) {
return o.Message.getMapField(this, 2, e, proto.webcast.data.LikeIconInfo.IconList)
}
,
proto.webcast.data.LikeIconInfo.prototype.clearComponentRelatedIconsMap = function() {
return this.getComponentRelatedIconsMap().clear(),
this
}
,
proto.webcast.data.ChatEmojiGuideInfo.repeatedFields_ = [1],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ChatEmojiGuideInfo.prototype.toObject = function(e) {
return proto.webcast.data.ChatEmojiGuideInfo.toObject(e, this)
}
,
proto.webcast.data.ChatEmojiGuideInfo.toObject = function(e, t) {
var a = {
emojisList: o.Message.toObjectList(t.getEmojisList(), proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.toObject, e)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ChatEmojiGuideInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ChatEmojiGuideInfo;
return proto.webcast.data.ChatEmojiGuideInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ChatEmojiGuideInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
if (1 === t.getFieldNumber()) {
var a = new proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf;
t.readMessage(a, proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.deserializeBinaryFromReader),
e.addEmojis(a)
} else
t.skipField()
}
return e
}
,
proto.webcast.data.ChatEmojiGuideInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ChatEmojiGuideInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChatEmojiGuideInfo.serializeBinaryToWriter = function(e, t) {
var a;
(a = e.getEmojisList()).length > 0 && t.writeRepeatedMessage(1, a, proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.serializeBinaryToWriter)
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.repeatedFields_ = [2],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.toObject = function(e) {
return proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.toObject(e, this)
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.toObject = function(e, t) {
var a, r = {
emoji: o.Message.getFieldWithDefault(t, 1, ""),
triggerWordsList: null == (a = o.Message.getRepeatedField(t, 2)) ? void 0 : a,
beginTime: o.Message.getFieldWithDefault(t, 10, "0"),
endTime: o.Message.getFieldWithDefault(t, 11, "0")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf;
return proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setEmoji(a);
break;
case 2:
a = t.readString();
e.addTriggerWords(a);
break;
case 10:
a = t.readInt64String();
e.setBeginTime(a);
break;
case 11:
a = t.readInt64String();
e.setEndTime(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getEmoji()).length > 0 && t.writeString(1, a),
(a = e.getTriggerWordsList()).length > 0 && t.writeRepeatedString(2, a),
a = e.getBeginTime(),
0 !== parseInt(a, 10) && t.writeInt64String(10, a),
a = e.getEndTime(),
0 !== parseInt(a, 10) && t.writeInt64String(11, a)
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.getEmoji = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.setEmoji = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.getTriggerWordsList = function() {
return o.Message.getRepeatedField(this, 2)
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.setTriggerWordsList = function(e) {
return o.Message.setField(this, 2, e || [])
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.addTriggerWords = function(e, t) {
return o.Message.addToRepeatedField(this, 2, e, t)
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.clearTriggerWordsList = function() {
return this.setTriggerWordsList([])
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.getBeginTime = function() {
return o.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.setBeginTime = function(e) {
return o.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.getEndTime = function() {
return o.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.setEndTime = function(e) {
return o.Message.setProto3StringIntField(this, 11, e)
}
,
proto.webcast.data.ChatEmojiGuideInfo.prototype.getEmojisList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf, 1)
}
,
proto.webcast.data.ChatEmojiGuideInfo.prototype.setEmojisList = function(e) {
return o.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.ChatEmojiGuideInfo.prototype.addEmojis = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 1, e, proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf, t)
}
,
proto.webcast.data.ChatEmojiGuideInfo.prototype.clearEmojisList = function() {
return this.setEmojisList([])
}
,
proto.webcast.data.ChatImageGuideInfo.repeatedFields_ = [1],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ChatImageGuideInfo.prototype.toObject = function(e) {
return proto.webcast.data.ChatImageGuideInfo.toObject(e, this)
}
,
proto.webcast.data.ChatImageGuideInfo.toObject = function(e, t) {
var a = {
imagesList: o.Message.toObjectList(t.getImagesList(), proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.toObject, e)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ChatImageGuideInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ChatImageGuideInfo;
return proto.webcast.data.ChatImageGuideInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ChatImageGuideInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
if (1 === t.getFieldNumber()) {
var a = new proto.webcast.data.ChatImageGuideInfo.ImageGuideConf;
t.readMessage(a, proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.deserializeBinaryFromReader),
e.addImages(a)
} else
t.skipField()
}
return e
}
,
proto.webcast.data.ChatImageGuideInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ChatImageGuideInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChatImageGuideInfo.serializeBinaryToWriter = function(e, t) {
var a;
(a = e.getImagesList()).length > 0 && t.writeRepeatedMessage(1, a, proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.serializeBinaryToWriter)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.repeatedFields_ = [4],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.toObject = function(e) {
return proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.toObject(e, this)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.toObject = function(e, t) {
var a, r = {
imageId: o.Message.getFieldWithDefault(t, 1, ""),
image: (a = t.getImage()) && s.Image.toObject(e, a),
text: o.Message.getFieldWithDefault(t, 3, ""),
triggerWordsList: null == (a = o.Message.getRepeatedField(t, 4)) ? void 0 : a,
beginTime: o.Message.getFieldWithDefault(t, 10, "0"),
endTime: o.Message.getFieldWithDefault(t, 11, "0")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ChatImageGuideInfo.ImageGuideConf;
return proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setImageId(a);
break;
case 2:
a = new s.Image;
t.readMessage(a, s.Image.deserializeBinaryFromReader),
e.setImage(a);
break;
case 3:
a = t.readString();
e.setText(a);
break;
case 4:
a = t.readString();
e.addTriggerWords(a);
break;
case 10:
a = t.readInt64String();
e.setBeginTime(a);
break;
case 11:
a = t.readInt64String();
e.setEndTime(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getImageId()).length > 0 && t.writeString(1, a),
null != (a = e.getImage()) && t.writeMessage(2, a, s.Image.serializeBinaryToWriter),
(a = e.getText()).length > 0 && t.writeString(3, a),
(a = e.getTriggerWordsList()).length > 0 && t.writeRepeatedString(4, a),
a = e.getBeginTime(),
0 !== parseInt(a, 10) && t.writeInt64String(10, a),
a = e.getEndTime(),
0 !== parseInt(a, 10) && t.writeInt64String(11, a)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.getImageId = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.setImageId = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.getImage = function() {
return o.Message.getWrapperField(this, s.Image, 2)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.setImage = function(e) {
return o.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.clearImage = function() {
return this.setImage(void 0)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.hasImage = function() {
return null != o.Message.getField(this, 2)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.getText = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.setText = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.getTriggerWordsList = function() {
return o.Message.getRepeatedField(this, 4)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.setTriggerWordsList = function(e) {
return o.Message.setField(this, 4, e || [])
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.addTriggerWords = function(e, t) {
return o.Message.addToRepeatedField(this, 4, e, t)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.clearTriggerWordsList = function() {
return this.setTriggerWordsList([])
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.getBeginTime = function() {
return o.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.setBeginTime = function(e) {
return o.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.getEndTime = function() {
return o.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.setEndTime = function(e) {
return o.Message.setProto3StringIntField(this, 11, e)
}
,
proto.webcast.data.ChatImageGuideInfo.prototype.getImagesList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.ChatImageGuideInfo.ImageGuideConf, 1)
}
,
proto.webcast.data.ChatImageGuideInfo.prototype.setImagesList = function(e) {
return o.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.ChatImageGuideInfo.prototype.addImages = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 1, e, proto.webcast.data.ChatImageGuideInfo.ImageGuideConf, t)
}
,
proto.webcast.data.ChatImageGuideInfo.prototype.clearImagesList = function() {
return this.setImagesList([])
}
,
proto.webcast.data.MatchChatInfo.repeatedFields_ = [5],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.MatchChatInfo.prototype.toObject = function(e) {
return proto.webcast.data.MatchChatInfo.toObject(e, this)
}
,
proto.webcast.data.MatchChatInfo.toObject = function(e, t) {
var a, r = {
mainGroupIcon: (a = t.getMainGroupIcon()) && s.Image.toObject(e, a),
mainGroupBackground: (a = t.getMainGroupBackground()) && s.Image.toObject(e, a),
guestGroupIcon: (a = t.getGuestGroupIcon()) && s.Image.toObject(e, a),
guestGroupBackground: (a = t.getGuestGroupBackground()) && s.Image.toObject(e, a),
aggregateIconList: o.Message.toObjectList(t.getAggregateIconList(), s.Image.toObject, e)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.MatchChatInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.MatchChatInfo;
return proto.webcast.data.MatchChatInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.MatchChatInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new s.Image;
t.readMessage(a, s.Image.deserializeBinaryFromReader),
e.setMainGroupIcon(a);
break;
case 2:
a = new s.Image;
t.readMessage(a, s.Image.deserializeBinaryFromReader),
e.setMainGroupBackground(a);
break;
case 3:
a = new s.Image;
t.readMessage(a, s.Image.deserializeBinaryFromReader),
e.setGuestGroupIcon(a);
break;
case 4:
a = new s.Image;
t.readMessage(a, s.Image.deserializeBinaryFromReader),
e.setGuestGroupBackground(a);
break;
case 5:
a = new s.Image;
t.readMessage(a, s.Image.deserializeBinaryFromReader),
e.addAggregateIcon(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.MatchChatInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.MatchChatInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MatchChatInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
null != (a = e.getMainGroupIcon()) && t.writeMessage(1, a, s.Image.serializeBinaryToWriter),
null != (a = e.getMainGroupBackground()) && t.writeMessage(2, a, s.Image.serializeBinaryToWriter),
null != (a = e.getGuestGroupIcon()) && t.writeMessage(3, a, s.Image.serializeBinaryToWriter),
null != (a = e.getGuestGroupBackground()) && t.writeMessage(4, a, s.Image.serializeBinaryToWriter),
(a = e.getAggregateIconList()).length > 0 && t.writeRepeatedMessage(5, a, s.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.MatchChatInfo.prototype.getMainGroupIcon = function() {
return o.Message.getWrapperField(this, s.Image, 1)
}
,
proto.webcast.data.MatchChatInfo.prototype.setMainGroupIcon = function(e) {
return o.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.MatchChatInfo.prototype.clearMainGroupIcon = function() {
return this.setMainGroupIcon(void 0)
}
,
proto.webcast.data.MatchChatInfo.prototype.hasMainGroupIcon = function() {
return null != o.Message.getField(this, 1)
}
,
proto.webcast.data.MatchChatInfo.prototype.getMainGroupBackground = function() {
return o.Message.getWrapperField(this, s.Image, 2)
}
,
proto.webcast.data.MatchChatInfo.prototype.setMainGroupBackground = function(e) {
return o.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.MatchChatInfo.prototype.clearMainGroupBackground = function() {
return this.setMainGroupBackground(void 0)
}
,
proto.webcast.data.MatchChatInfo.prototype.hasMainGroupBackground = function() {
return null != o.Message.getField(this, 2)
}
,
proto.webcast.data.MatchChatInfo.prototype.getGuestGroupIcon = function() {
return o.Message.getWrapperField(this, s.Image, 3)
}
,
proto.webcast.data.MatchChatInfo.prototype.setGuestGroupIcon = function(e) {
return o.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.MatchChatInfo.prototype.clearGuestGroupIcon = function() {
return this.setGuestGroupIcon(void 0)
}
,
proto.webcast.data.MatchChatInfo.prototype.hasGuestGroupIcon = function() {
return null != o.Message.getField(this, 3)
}
,
proto.webcast.data.MatchChatInfo.prototype.getGuestGroupBackground = function() {
return o.Message.getWrapperField(this, s.Image, 4)
}
,
proto.webcast.data.MatchChatInfo.prototype.setGuestGroupBackground = function(e) {
return o.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.MatchChatInfo.prototype.clearGuestGroupBackground = function() {
return this.setGuestGroupBackground(void 0)
}
,
proto.webcast.data.MatchChatInfo.prototype.hasGuestGroupBackground = function() {
return null != o.Message.getField(this, 4)
}
,
proto.webcast.data.MatchChatInfo.prototype.getAggregateIconList = function() {
return o.Message.getRepeatedWrapperField(this, s.Image, 5)
}
,
proto.webcast.data.MatchChatInfo.prototype.setAggregateIconList = function(e) {
return o.Message.setRepeatedWrapperField(this, 5, e)
}
,
proto.webcast.data.MatchChatInfo.prototype.addAggregateIcon = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 5, e, proto.webcast.data.Image, t)
}
,
proto.webcast.data.MatchChatInfo.prototype.clearAggregateIconList = function() {
return this.setAggregateIconList([])
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ShareItemStyle.prototype.toObject = function(e) {
return proto.webcast.data.ShareItemStyle.toObject(e, this)
}
,
proto.webcast.data.ShareItemStyle.toObject = function(e, t) {
var a, r = {
itemType: o.Message.getFieldWithDefault(t, 1, ""),
itemId: o.Message.getFieldWithDefault(t, 2, ""),
icon: (a = t.getIcon()) && s.Image.toObject(e, a),
name: o.Message.getFieldWithDefault(t, 4, ""),
nameColor: o.Message.getFieldWithDefault(t, 5, ""),
schema: o.Message.getFieldWithDefault(t, 6, "")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ShareItemStyle.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ShareItemStyle;
return proto.webcast.data.ShareItemStyle.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ShareItemStyle.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setItemType(a);
break;
case 2:
a = t.readString();
e.setItemId(a);
break;
case 3:
a = new s.Image;
t.readMessage(a, s.Image.deserializeBinaryFromReader),
e.setIcon(a);
break;
case 4:
a = t.readString();
e.setName(a);
break;
case 5:
a = t.readString();
e.setNameColor(a);
break;
case 6:
a = t.readString();
e.setSchema(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ShareItemStyle.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ShareItemStyle.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ShareItemStyle.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getItemType()).length > 0 && t.writeString(1, a),
(a = e.getItemId()).length > 0 && t.writeString(2, a),
null != (a = e.getIcon()) && t.writeMessage(3, a, s.Image.serializeBinaryToWriter),
(a = e.getName()).length > 0 && t.writeString(4, a),
(a = e.getNameColor()).length > 0 && t.writeString(5, a),
(a = e.getSchema()).length > 0 && t.writeString(6, a)
}
,
proto.webcast.data.ShareItemStyle.prototype.getItemType = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ShareItemStyle.prototype.setItemType = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ShareItemStyle.prototype.getItemId = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.ShareItemStyle.prototype.setItemId = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.ShareItemStyle.prototype.getIcon = function() {
return o.Message.getWrapperField(this, s.Image, 3)
}
,
proto.webcast.data.ShareItemStyle.prototype.setIcon = function(e) {
return o.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.ShareItemStyle.prototype.clearIcon = function() {
return this.setIcon(void 0)
}
,
proto.webcast.data.ShareItemStyle.prototype.hasIcon = function() {
return null != o.Message.getField(this, 3)
}
,
proto.webcast.data.ShareItemStyle.prototype.getName = function() {
return o.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.ShareItemStyle.prototype.setName = function(e) {
return o.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.ShareItemStyle.prototype.getNameColor = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.ShareItemStyle.prototype.setNameColor = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.ShareItemStyle.prototype.getSchema = function() {
return o.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.ShareItemStyle.prototype.setSchema = function(e) {
return o.Message.setProto3StringField(this, 6, e)
}
,
r.object.extend(t, proto.webcast.data)
}
,
1064: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, s = a(20904);
r.object.extend(proto, s),
r.exportSymbol("proto.webcast.data.SelfDisciplineLikeSource", null, i),
r.exportSymbol("proto.webcast.data.SelfDisciplineLikeStatus", null, i),
r.exportSymbol("proto.webcast.data.SelfDisciplinePrivacyStatus", null, i),
r.exportSymbol("proto.webcast.data.SelfDisciplinePunchStatus", null, i),
r.exportSymbol("proto.webcast.data.SelfDisciplineSignalContentType", null, i),
r.exportSymbol("proto.webcast.data.SelfDisciplineSwitchStatus", null, i),
r.exportSymbol("proto.webcast.data.SelfDisciplineUserBase", null, i),
r.exportSymbol("proto.webcast.data.SelfDisciplineUserBase.FollowInfo", null, i),
proto.webcast.data.SelfDisciplineUserBase = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.SelfDisciplineUserBase, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.SelfDisciplineUserBase.displayName = "proto.webcast.data.SelfDisciplineUserBase"),
proto.webcast.data.SelfDisciplineUserBase.FollowInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.SelfDisciplineUserBase.FollowInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.SelfDisciplineUserBase.FollowInfo.displayName = "proto.webcast.data.SelfDisciplineUserBase.FollowInfo"),
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.SelfDisciplineUserBase.prototype.toObject = function(e) {
return proto.webcast.data.SelfDisciplineUserBase.toObject(e, this)
}
,
proto.webcast.data.SelfDisciplineUserBase.toObject = function(e, t) {
var a, r = {
id: o.Message.getFieldWithDefault(t, 1, "0"),
nickname: o.Message.getFieldWithDefault(t, 2, ""),
avatarThumb: (a = t.getAvatarThumb()) && s.Image.toObject(e, a),
followInfo: (a = t.getFollowInfo()) && proto.webcast.data.SelfDisciplineUserBase.FollowInfo.toObject(e, a),
secret: o.Message.getFieldWithDefault(t, 5, 0),
secUid: o.Message.getFieldWithDefault(t, 6, ""),
mysteryman: o.Message.getFieldWithDefault(t, 7, 0)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.SelfDisciplineUserBase.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.SelfDisciplineUserBase;
return proto.webcast.data.SelfDisciplineUserBase.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.SelfDisciplineUserBase.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setId(a);
break;
case 2:
a = t.readString();
e.setNickname(a);
break;
case 3:
a = new s.Image;
t.readMessage(a, s.Image.deserializeBinaryFromReader),
e.setAvatarThumb(a);
break;
case 4:
a = new proto.webcast.data.SelfDisciplineUserBase.FollowInfo;
t.readMessage(a, proto.webcast.data.SelfDisciplineUserBase.FollowInfo.deserializeBinaryFromReader),
e.setFollowInfo(a);
break;
case 5:
a = t.readInt32();
e.setSecret(a);
break;
case 6:
a = t.readString();
e.setSecUid(a);
break;
case 7:
a = t.readInt32();
e.setMysteryman(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.SelfDisciplineUserBase.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SelfDisciplineUserBase.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getNickname()).length > 0 && t.writeString(2, a),
null != (a = e.getAvatarThumb()) && t.writeMessage(3, a, s.Image.serializeBinaryToWriter),
null != (a = e.getFollowInfo()) && t.writeMessage(4, a, proto.webcast.data.SelfDisciplineUserBase.FollowInfo.serializeBinaryToWriter),
0 !== (a = e.getSecret()) && t.writeInt32(5, a),
(a = e.getSecUid()).length > 0 && t.writeString(6, a),
0 !== (a = e.getMysteryman()) && t.writeInt32(7, a)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.SelfDisciplineUserBase.FollowInfo.prototype.toObject = function(e) {
return proto.webcast.data.SelfDisciplineUserBase.FollowInfo.toObject(e, this)
}
,
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.toObject = function(e, t) {
var a = {
followStatus: o.Message.getFieldWithDefault(t, 1, "0"),
remarkName: o.Message.getFieldWithDefault(t, 2, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.SelfDisciplineUserBase.FollowInfo;
return proto.webcast.data.SelfDisciplineUserBase.FollowInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setFollowStatus(a);
break;
case 2:
a = t.readString();
e.setRemarkName(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.SelfDisciplineUserBase.FollowInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getFollowStatus(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getRemarkName()).length > 0 && t.writeString(2, a)
}
,
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.prototype.getFollowStatus = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.prototype.setFollowStatus = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.prototype.getRemarkName = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.prototype.setRemarkName = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getNickname = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setNickname = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getAvatarThumb = function() {
return o.Message.getWrapperField(this, s.Image, 3)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setAvatarThumb = function(e) {
return o.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.clearAvatarThumb = function() {
return this.setAvatarThumb(void 0)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.hasAvatarThumb = function() {
return null != o.Message.getField(this, 3)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getFollowInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.SelfDisciplineUserBase.FollowInfo, 4)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setFollowInfo = function(e) {
return o.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.clearFollowInfo = function() {
return this.setFollowInfo(void 0)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.hasFollowInfo = function() {
return null != o.Message.getField(this, 4)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getSecret = function() {
return o.Message.getFieldWithDefault(this, 5, 0)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setSecret = function(e) {
return o.Message.setProto3IntField(this, 5, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getSecUid = function() {
return o.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setSecUid = function(e) {
return o.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getMysteryman = function() {
return o.Message.getFieldWithDefault(this, 7, 0)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setMysteryman = function(e) {
return o.Message.setProto3IntField(this, 7, e)
}
,
proto.webcast.data.SelfDisciplineSwitchStatus = {
SELF_DISCIPLINE_SWITCH_UNKNOWN: 0,
SELF_DISCIPLINE_SWITCH_OPEN: 1,
SELF_DISCIPLINE_SWITCH_OFF: 2,
SELF_DISCIPLINE_SWITCH_STATUS_CHANGE: 3,
SELF_DISCIPLINE_SWITCH_ROOM_CONTINUE_OPEN: 4
},
proto.webcast.data.SelfDisciplineLikeStatus = {
SELF_DISCIPLINE_STATUS_UNKNOWN: 0,
SELF_DISCIPLINE_STATUS_LIKED: 1,
SELF_DISCIPLINE_STATUS_NONE_LIKE: 2
},
proto.webcast.data.SelfDisciplinePrivacyStatus = {
SELF_DISCIPLINE_PRIVACY_STATUS_UNKNOWN: 0,
SELF_DISCIPLINE_PRIVACY_STATUS_OPEN: 1,
SELF_DISCIPLINE_PRIVACY_STATUS_OFF: 2
},
proto.webcast.data.SelfDisciplineLikeSource = {
SELF_DISCIPLINE_LIKE_SOURCE_UNKNOWN: 0,
SELF_DISCIPLINE_LIKE_SOURCE_WEEKLY_RANK: 1,
SELF_DISCIPLINE_LIKE_SOURCE_PERSONAL_PANEL: 2
},
proto.webcast.data.SelfDisciplinePunchStatus = {
SELF_DISCIPLINE_PUNCH_STATUS_UNKNOWN: 0,
SELF_DISCIPLINE_PUNCH_STATUS_PUNCHING: 1,
SELF_DISCIPLINE_PUNCH_STATUS_PUNCHED: 2,
SELF_DISCIPLINE_PUNCH_STATUS_TIME_SETTLED: 3
},
proto.webcast.data.SelfDisciplineSignalContentType = {
SELF_DISCIPLINE_SIGNAL_CONTENT_TYPE_UNKNOWN: 0,
SELF_DISCIPLINE_SIGNAL_CONTENT_TYPE_BACKGROUND: 1,
SELF_DISCIPLINE_SIGNAL_CONTENT_TYPE_FORGROUND: 2,
SELF_DISCIPLINE_SIGNAL_CONTENT_TYPE_SMALL_WINDOW: 3
},
r.object.extend(t, proto.webcast.data)
}
,
83606: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, s = a(39272);
r.object.extend(proto, s),
r.exportSymbol("proto.webcast.data.SelectionType", null, i),
r.exportSymbol("proto.webcast.data.ThemeType", null, i),
r.exportSymbol("proto.webcast.data.ThemedCompetitionInfo", null, i),
r.exportSymbol("proto.webcast.data.ThemedCompetitionInfo.Score", null, i),
r.exportSymbol("proto.webcast.data.ThemedCompetitionSetting", null, i),
r.exportSymbol("proto.webcast.data.ThemedCompetitionStatus", null, i),
proto.webcast.data.ThemedCompetitionSetting = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.ThemedCompetitionSetting.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.ThemedCompetitionSetting, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ThemedCompetitionSetting.displayName = "proto.webcast.data.ThemedCompetitionSetting"),
proto.webcast.data.ThemedCompetitionInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ThemedCompetitionInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ThemedCompetitionInfo.displayName = "proto.webcast.data.ThemedCompetitionInfo"),
proto.webcast.data.ThemedCompetitionInfo.Score = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ThemedCompetitionInfo.Score, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ThemedCompetitionInfo.Score.displayName = "proto.webcast.data.ThemedCompetitionInfo.Score"),
proto.webcast.data.ThemedCompetitionSetting.repeatedFields_ = [5, 8],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ThemedCompetitionSetting.prototype.toObject = function(e) {
return proto.webcast.data.ThemedCompetitionSetting.toObject(e, this)
}
,
proto.webcast.data.ThemedCompetitionSetting.toObject = function(e, t) {
var a, r = {
theme: o.Message.getFieldWithDefault(t, 1, ""),
themeType: o.Message.getFieldWithDefault(t, 2, 0),
selectionType: o.Message.getFieldWithDefault(t, 3, 0),
winCount: o.Message.getFieldWithDefault(t, 4, "0"),
judgesUserIdListList: null == (a = o.Message.getRepeatedField(t, 5)) ? void 0 : a,
maxJudgesCount: o.Message.getFieldWithDefault(t, 6, "0"),
maxWinCount: o.Message.getFieldWithDefault(t, 7, "0"),
serverThemeListList: null == (a = o.Message.getRepeatedField(t, 8)) ? void 0 : a,
customTheme: o.Message.getFieldWithDefault(t, 9, "")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ThemedCompetitionSetting.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ThemedCompetitionSetting;
return proto.webcast.data.ThemedCompetitionSetting.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ThemedCompetitionSetting.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setTheme(a);
break;
case 2:
a = t.readEnum();
e.setThemeType(a);
break;
case 3:
a = t.readEnum();
e.setSelectionType(a);
break;
case 4:
a = t.readInt64String();
e.setWinCount(a);
break;
case 5:
for (var o = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()], r = 0; r < o.length; r++)
e.addJudgesUserIdList(o[r]);
break;
case 6:
a = t.readInt64String();
e.setMaxJudgesCount(a);
break;
case 7:
a = t.readInt64String();
e.setMaxWinCount(a);
break;
case 8:
a = t.readString();
e.addServerThemeList(a);
break;
case 9:
a = t.readString();
e.setCustomTheme(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ThemedCompetitionSetting.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ThemedCompetitionSetting.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getTheme()).length > 0 && t.writeString(1, a),
0 !== (a = e.getThemeType()) && t.writeEnum(2, a),
0 !== (a = e.getSelectionType()) && t.writeEnum(3, a),
a = e.getWinCount(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a),
(a = e.getJudgesUserIdListList()).length > 0 && t.writePackedInt64String(5, a),
a = e.getMaxJudgesCount(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a),
a = e.getMaxWinCount(),
0 !== parseInt(a, 10) && t.writeInt64String(7, a),
(a = e.getServerThemeListList()).length > 0 && t.writeRepeatedString(8, a),
(a = e.getCustomTheme()).length > 0 && t.writeString(9, a)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getTheme = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setTheme = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getThemeType = function() {
return o.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setThemeType = function(e) {
return o.Message.setProto3EnumField(this, 2, e)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getSelectionType = function() {
return o.Message.getFieldWithDefault(this, 3, 0)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setSelectionType = function(e) {
return o.Message.setProto3EnumField(this, 3, e)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getWinCount = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setWinCount = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getJudgesUserIdListList = function() {
return o.Message.getRepeatedField(this, 5)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setJudgesUserIdListList = function(e) {
return o.Message.setField(this, 5, e || [])
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.addJudgesUserIdList = function(e, t) {
return o.Message.addToRepeatedField(this, 5, e, t)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.clearJudgesUserIdListList = function() {
return this.setJudgesUserIdListList([])
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getMaxJudgesCount = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setMaxJudgesCount = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getMaxWinCount = function() {
return o.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setMaxWinCount = function(e) {
return o.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getServerThemeListList = function() {
return o.Message.getRepeatedField(this, 8)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setServerThemeListList = function(e) {
return o.Message.setField(this, 8, e || [])
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.addServerThemeList = function(e, t) {
return o.Message.addToRepeatedField(this, 8, e, t)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.clearServerThemeListList = function() {
return this.setServerThemeListList([])
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getCustomTheme = function() {
return o.Message.getFieldWithDefault(this, 9, "")
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setCustomTheme = function(e) {
return o.Message.setProto3StringField(this, 9, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ThemedCompetitionInfo.prototype.toObject = function(e) {
return proto.webcast.data.ThemedCompetitionInfo.toObject(e, this)
}
,
proto.webcast.data.ThemedCompetitionInfo.toObject = function(e, t) {
var a, r = {
setting: (a = t.getSetting()) && proto.webcast.data.ThemedCompetitionSetting.toObject(e, a),
userIdToScoreMap: (a = t.getUserIdToScoreMap()) ? a.toObject(e, proto.webcast.data.ThemedCompetitionInfo.Score.toObject) : [],
status: o.Message.getFieldWithDefault(t, 3, 0),
competitionId: o.Message.getFieldWithDefault(t, 4, "0"),
currentPerformerUserId: o.Message.getFieldWithDefault(t, 5, "0")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ThemedCompetitionInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ThemedCompetitionInfo;
return proto.webcast.data.ThemedCompetitionInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ThemedCompetitionInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new proto.webcast.data.ThemedCompetitionSetting;
t.readMessage(a, proto.webcast.data.ThemedCompetitionSetting.deserializeBinaryFromReader),
e.setSetting(a);
break;
case 2:
a = e.getUserIdToScoreMap();
t.readMessage(a, (function(e, t) {
o.Map.deserializeBinary(e, t, o.BinaryReader.prototype.readInt64, o.BinaryReader.prototype.readMessage, proto.webcast.data.ThemedCompetitionInfo.Score.deserializeBinaryFromReader, 0, new proto.webcast.data.ThemedCompetitionInfo.Score)
}
));
break;
case 3:
a = t.readEnum();
e.setStatus(a);
break;
case 4:
a = t.readInt64String();
e.setCompetitionId(a);
break;
case 5:
a = t.readInt64String();
e.setCurrentPerformerUserId(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ThemedCompetitionInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ThemedCompetitionInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
null != (a = e.getSetting()) && t.writeMessage(1, a, proto.webcast.data.ThemedCompetitionSetting.serializeBinaryToWriter),
(a = e.getUserIdToScoreMap(!0)) && a.getLength() > 0 && a.serializeBinary(2, t, o.BinaryWriter.prototype.writeInt64, o.BinaryWriter.prototype.writeMessage, proto.webcast.data.ThemedCompetitionInfo.Score.serializeBinaryToWriter),
0 !== (a = e.getStatus()) && t.writeEnum(3, a),
a = e.getCompetitionId(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a),
a = e.getCurrentPerformerUserId(),
0 !== parseInt(a, 10) && t.writeInt64String(5, a)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ThemedCompetitionInfo.Score.prototype.toObject = function(e) {
return proto.webcast.data.ThemedCompetitionInfo.Score.toObject(e, this)
}
,
proto.webcast.data.ThemedCompetitionInfo.Score.toObject = function(e, t) {
var a = {
score: o.Message.getFieldWithDefault(t, 1, "0"),
scoreFuzz: o.Message.getFieldWithDefault(t, 2, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ThemedCompetitionInfo.Score.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ThemedCompetitionInfo.Score;
return proto.webcast.data.ThemedCompetitionInfo.Score.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ThemedCompetitionInfo.Score.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setScore(a);
break;
case 2:
a = t.readString();
e.setScoreFuzz(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ThemedCompetitionInfo.Score.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ThemedCompetitionInfo.Score.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ThemedCompetitionInfo.Score.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getScore(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getScoreFuzz()).length > 0 && t.writeString(2, a)
}
,
proto.webcast.data.ThemedCompetitionInfo.Score.prototype.getScore = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.ThemedCompetitionInfo.Score.prototype.setScore = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.ThemedCompetitionInfo.Score.prototype.getScoreFuzz = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.ThemedCompetitionInfo.Score.prototype.setScoreFuzz = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.getSetting = function() {
return o.Message.getWrapperField(this, proto.webcast.data.ThemedCompetitionSetting, 1)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.setSetting = function(e) {
return o.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.clearSetting = function() {
return this.setSetting(void 0)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.hasSetting = function() {
return null != o.Message.getField(this, 1)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.getUserIdToScoreMap = function(e) {
return o.Message.getMapField(this, 2, e, proto.webcast.data.ThemedCompetitionInfo.Score)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.clearUserIdToScoreMap = function() {
return this.getUserIdToScoreMap().clear(),
this
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.getStatus = function() {
return o.Message.getFieldWithDefault(this, 3, 0)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.setStatus = function(e) {
return o.Message.setProto3EnumField(this, 3, e)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.getCompetitionId = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.setCompetitionId = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.getCurrentPerformerUserId = function() {
return o.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.setCurrentPerformerUserId = function(e) {
return o.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.SelectionType = {
SELECTIONTYPE_UNKNOWN: 0,
SELECTIONTYPE_NORMAL: 1,
SELECTIONTYPE_SCORING: 2
},
proto.webcast.data.ThemeType = {
THEMETYPE_UNKNOWN: 0,
THEMETYPE_NORMAL: 1,
THEMETYPE_CUSTOM: 2
},
proto.webcast.data.ThemedCompetitionStatus = {
THEMEDCOMPETITIONSTATUS_UNKNOWN: 0,
THEMEDCOMPETITIONSTATUS_START: 1,
THEMEDCOMPETITIONSTATUS_FINISH: 2
},
r.object.extend(t, proto.webcast.data)
}
,
84251: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null);
r.exportSymbol("proto.webcast.data.CandidateUser", null, i),
r.exportSymbol("proto.webcast.data.ExpandLotteryConfig", null, i),
r.exportSymbol("proto.webcast.data.ExpandPrizeType", null, i),
r.exportSymbol("proto.webcast.data.GiftInfo", null, i),
r.exportSymbol("proto.webcast.data.IdTypeForFudaiBiz", null, i),
r.exportSymbol("proto.webcast.data.LaunchTaskInfo", null, i),
r.exportSymbol("proto.webcast.data.LotteryCondition", null, i),
r.exportSymbol("proto.webcast.data.LotteryConfig", null, i),
r.exportSymbol("proto.webcast.data.LotteryDefaultConfig", null, i),
r.exportSymbol("proto.webcast.data.LotteryExpandActivityInfo", null, i),
r.exportSymbol("proto.webcast.data.LotteryFansLevelConfig", null, i),
r.exportSymbol("proto.webcast.data.LotteryGiftGuide", null, i),
r.exportSymbol("proto.webcast.data.LotteryInfo", null, i),
r.exportSymbol("proto.webcast.data.LotteryLuckyUser", null, i),
r.exportSymbol("proto.webcast.data.LotteryPrize", null, i),
r.exportSymbol("proto.webcast.data.LotteryRegularlyConfig", null, i),
r.exportSymbol("proto.webcast.data.LotteryRewardDetail", null, i),
r.exportSymbol("proto.webcast.data.LotterySendType", null, i),
r.exportSymbol("proto.webcast.data.LotteryUserCondition", null, i),
r.exportSymbol("proto.webcast.data.VoucherPrizeInfo", null, i),
proto.webcast.data.LotteryUserCondition = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.LotteryUserCondition, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LotteryUserCondition.displayName = "proto.webcast.data.LotteryUserCondition"),
proto.webcast.data.CandidateUser = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.CandidateUser, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.CandidateUser.displayName = "proto.webcast.data.CandidateUser"),
proto.webcast.data.LotteryDefaultConfig = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.LotteryDefaultConfig.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.LotteryDefaultConfig, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LotteryDefaultConfig.displayName = "proto.webcast.data.LotteryDefaultConfig"),
proto.webcast.data.GiftInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.GiftInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.GiftInfo.displayName = "proto.webcast.data.GiftInfo"),
proto.webcast.data.LotteryConfig = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.LotteryConfig.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.LotteryConfig, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LotteryConfig.displayName = "proto.webcast.data.LotteryConfig"),
proto.webcast.data.LotteryRewardDetail = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.LotteryRewardDetail, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LotteryRewardDetail.displayName = "proto.webcast.data.LotteryRewardDetail"),
proto.webcast.data.LotteryExpandActivityInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.LotteryExpandActivityInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LotteryExpandActivityInfo.displayName = "proto.webcast.data.LotteryExpandActivityInfo"),
proto.webcast.data.ExpandLotteryConfig = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ExpandLotteryConfig, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ExpandLotteryConfig.displayName = "proto.webcast.data.ExpandLotteryConfig"),
proto.webcast.data.LotteryFansLevelConfig = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.LotteryFansLevelConfig, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LotteryFansLevelConfig.displayName = "proto.webcast.data.LotteryFansLevelConfig"),
proto.webcast.data.LotteryRegularlyConfig = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.LotteryRegularlyConfig, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LotteryRegularlyConfig.displayName = "proto.webcast.data.LotteryRegularlyConfig"),
proto.webcast.data.LotteryInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.LotteryInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.LotteryInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LotteryInfo.displayName = "proto.webcast.data.LotteryInfo"),
proto.webcast.data.LaunchTaskInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.LaunchTaskInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LaunchTaskInfo.displayName = "proto.webcast.data.LaunchTaskInfo"),
proto.webcast.data.LotteryPrize = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.LotteryPrize, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LotteryPrize.displayName = "proto.webcast.data.LotteryPrize"),
proto.webcast.data.LotteryCondition = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.LotteryCondition, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LotteryCondition.displayName = "proto.webcast.data.LotteryCondition"),
proto.webcast.data.LotteryLuckyUser = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.LotteryLuckyUser.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.LotteryLuckyUser, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LotteryLuckyUser.displayName = "proto.webcast.data.LotteryLuckyUser"),
proto.webcast.data.VoucherPrizeInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.VoucherPrizeInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.VoucherPrizeInfo.displayName = "proto.webcast.data.VoucherPrizeInfo"),
proto.webcast.data.LotteryGiftGuide = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.LotteryGiftGuide, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.LotteryGiftGuide.displayName = "proto.webcast.data.LotteryGiftGuide"),
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LotteryUserCondition.prototype.toObject = function(e) {
return proto.webcast.data.LotteryUserCondition.toObject(e, this)
}
,
proto.webcast.data.LotteryUserCondition.toObject = function(e, t) {
var a = {
isWatching: o.Message.getBooleanFieldWithDefault(t, 1, !1),
hasCommand: o.Message.getBooleanFieldWithDefault(t, 2, !1),
hasFollow: o.Message.getBooleanFieldWithDefault(t, 3, !1),
isFansclubMember: o.Message.getBooleanFieldWithDefault(t, 4, !1),
hasGift: o.Message.getBooleanFieldWithDefault(t, 5, !1),
fansLevel: o.Message.getFieldWithDefault(t, 6, "0"),
fansclubStatusActive: o.Message.getBooleanFieldWithDefault(t, 7, !1),
hasShared: o.Message.getBooleanFieldWithDefault(t, 8, !1),
hasHelpWish: o.Message.getBooleanFieldWithDefault(t, 9, !1),
hasActivated: o.Message.getBooleanFieldWithDefault(t, 10, !1),
isSubscribeMember: o.Message.getBooleanFieldWithDefault(t, 11, !1)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryUserCondition.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LotteryUserCondition;
return proto.webcast.data.LotteryUserCondition.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LotteryUserCondition.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readBool();
e.setIsWatching(a);
break;
case 2:
a = t.readBool();
e.setHasCommand(a);
break;
case 3:
a = t.readBool();
e.setHasFollow(a);
break;
case 4:
a = t.readBool();
e.setIsFansclubMember(a);
break;
case 5:
a = t.readBool();
e.setHasGift(a);
break;
case 6:
a = t.readInt64String();
e.setFansLevel(a);
break;
case 7:
a = t.readBool();
e.setFansclubStatusActive(a);
break;
case 8:
a = t.readBool();
e.setHasShared(a);
break;
case 9:
a = t.readBool();
e.setHasHelpWish(a);
break;
case 10:
a = t.readBool();
e.setHasActivated(a);
break;
case 11:
a = t.readBool();
e.setIsSubscribeMember(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LotteryUserCondition.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LotteryUserCondition.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryUserCondition.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getIsWatching()) && t.writeBool(1, a),
(a = e.getHasCommand()) && t.writeBool(2, a),
(a = e.getHasFollow()) && t.writeBool(3, a),
(a = e.getIsFansclubMember()) && t.writeBool(4, a),
(a = e.getHasGift()) && t.writeBool(5, a),
a = e.getFansLevel(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a),
(a = e.getFansclubStatusActive()) && t.writeBool(7, a),
(a = e.getHasShared()) && t.writeBool(8, a),
(a = e.getHasHelpWish()) && t.writeBool(9, a),
(a = e.getHasActivated()) && t.writeBool(10, a),
(a = e.getIsSubscribeMember()) && t.writeBool(11, a)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getIsWatching = function() {
return o.Message.getBooleanFieldWithDefault(this, 1, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setIsWatching = function(e) {
return o.Message.setProto3BooleanField(this, 1, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getHasCommand = function() {
return o.Message.getBooleanFieldWithDefault(this, 2, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setHasCommand = function(e) {
return o.Message.setProto3BooleanField(this, 2, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getHasFollow = function() {
return o.Message.getBooleanFieldWithDefault(this, 3, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setHasFollow = function(e) {
return o.Message.setProto3BooleanField(this, 3, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getIsFansclubMember = function() {
return o.Message.getBooleanFieldWithDefault(this, 4, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setIsFansclubMember = function(e) {
return o.Message.setProto3BooleanField(this, 4, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getHasGift = function() {
return o.Message.getBooleanFieldWithDefault(this, 5, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setHasGift = function(e) {
return o.Message.setProto3BooleanField(this, 5, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getFansLevel = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.LotteryUserCondition.prototype.setFansLevel = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getFansclubStatusActive = function() {
return o.Message.getBooleanFieldWithDefault(this, 7, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setFansclubStatusActive = function(e) {
return o.Message.setProto3BooleanField(this, 7, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getHasShared = function() {
return o.Message.getBooleanFieldWithDefault(this, 8, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setHasShared = function(e) {
return o.Message.setProto3BooleanField(this, 8, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getHasHelpWish = function() {
return o.Message.getBooleanFieldWithDefault(this, 9, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setHasHelpWish = function(e) {
return o.Message.setProto3BooleanField(this, 9, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getHasActivated = function() {
return o.Message.getBooleanFieldWithDefault(this, 10, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setHasActivated = function(e) {
return o.Message.setProto3BooleanField(this, 10, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getIsSubscribeMember = function() {
return o.Message.getBooleanFieldWithDefault(this, 11, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setIsSubscribeMember = function(e) {
return o.Message.setProto3BooleanField(this, 11, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.CandidateUser.prototype.toObject = function(e) {
return proto.webcast.data.CandidateUser.toObject(e, this)
}
,
proto.webcast.data.CandidateUser.toObject = function(e, t) {
var a = {
userId: o.Message.getFieldWithDefault(t, 1, "0"),
userName: o.Message.getFieldWithDefault(t, 2, ""),
avatarUrl: o.Message.getFieldWithDefault(t, 3, ""),
secUserId: o.Message.getFieldWithDefault(t, 4, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CandidateUser.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.CandidateUser;
return proto.webcast.data.CandidateUser.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.CandidateUser.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setUserId(a);
break;
case 2:
a = t.readString();
e.setUserName(a);
break;
case 3:
a = t.readString();
e.setAvatarUrl(a);
break;
case 4:
a = t.readString();
e.setSecUserId(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.CandidateUser.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.CandidateUser.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CandidateUser.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getUserId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getUserName()).length > 0 && t.writeString(2, a),
(a = e.getAvatarUrl()).length > 0 && t.writeString(3, a),
(a = e.getSecUserId()).length > 0 && t.writeString(4, a)
}
,
proto.webcast.data.CandidateUser.prototype.getUserId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.CandidateUser.prototype.setUserId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.CandidateUser.prototype.getUserName = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.CandidateUser.prototype.setUserName = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.CandidateUser.prototype.getAvatarUrl = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.CandidateUser.prototype.setAvatarUrl = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.CandidateUser.prototype.getSecUserId = function() {
return o.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.CandidateUser.prototype.setSecUserId = function(e) {
return o.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.LotteryDefaultConfig.repeatedFields_ = [9],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LotteryDefaultConfig.prototype.toObject = function(e) {
return proto.webcast.data.LotteryDefaultConfig.toObject(e, this)
}
,
proto.webcast.data.LotteryDefaultConfig.toObject = function(e, t) {
var a, r = {
countDown: o.Message.getFieldWithDefault(t, 1, "0"),
userNum: o.Message.getFieldWithDefault(t, 2, "0"),
prizeCount: o.Message.getFieldWithDefault(t, 3, "0"),
giftId: o.Message.getFieldWithDefault(t, 4, "0"),
giftCount: o.Message.getFieldWithDefault(t, 5, "0"),
isFirstLottery: o.Message.getFieldWithDefault(t, 6, "0"),
command: o.Message.getFieldWithDefault(t, 7, ""),
prizeName: o.Message.getFieldWithDefault(t, 8, ""),
conditionTypesList: null == (a = o.Message.getRepeatedField(t, 9)) ? void 0 : a,
prizeAverage: o.Message.getFieldWithDefault(t, 10, "0"),
prizeDescription: o.Message.getFieldWithDefault(t, 11, ""),
minFansLevel: o.Message.getFieldWithDefault(t, 12, "0"),
phoneNum: o.Message.getFieldWithDefault(t, 13, ""),
bytepayVoucherSwitcher: o.Message.getFieldWithDefault(t, 14, "0"),
sendType: o.Message.getFieldWithDefault(t, 15, 0),
regularlyConfig: (a = t.getRegularlyConfig()) && proto.webcast.data.LotteryRegularlyConfig.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.LotteryDefaultConfig.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LotteryDefaultConfig;
return proto.webcast.data.LotteryDefaultConfig.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LotteryDefaultConfig.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setCountDown(a);
break;
case 2:
a = t.readInt64String();
e.setUserNum(a);
break;
case 3:
a = t.readInt64String();
e.setPrizeCount(a);
break;
case 4:
a = t.readInt64String();
e.setGiftId(a);
break;
case 5:
a = t.readInt64String();
e.setGiftCount(a);
break;
case 6:
a = t.readInt64String();
e.setIsFirstLottery(a);
break;
case 7:
a = t.readString();
e.setCommand(a);
break;
case 8:
a = t.readString();
e.setPrizeName(a);
break;
case 9:
for (var o = t.isDelimited() ? t.readPackedInt32() : [t.readInt32()], r = 0; r < o.length; r++)
e.addConditionTypes(o[r]);
break;
case 10:
a = t.readInt64String();
e.setPrizeAverage(a);
break;
case 11:
a = t.readString();
e.setPrizeDescription(a);
break;
case 12:
a = t.readInt64String();
e.setMinFansLevel(a);
break;
case 13:
a = t.readString();
e.setPhoneNum(a);
break;
case 14:
a = t.readInt64String();
e.setBytepayVoucherSwitcher(a);
break;
case 15:
a = t.readEnum();
e.setSendType(a);
break;
case 16:
a = new proto.webcast.data.LotteryRegularlyConfig;
t.readMessage(a, proto.webcast.data.LotteryRegularlyConfig.deserializeBinaryFromReader),
e.setRegularlyConfig(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LotteryDefaultConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryDefaultConfig.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getCountDown(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getUserNum(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
a = e.getPrizeCount(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
a = e.getGiftId(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a),
a = e.getGiftCount(),
0 !== parseInt(a, 10) && t.writeInt64String(5, a),
a = e.getIsFirstLottery(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a),
(a = e.getCommand()).length > 0 && t.writeString(7, a),
(a = e.getPrizeName()).length > 0 && t.writeString(8, a),
(a = e.getConditionTypesList()).length > 0 && t.writePackedInt32(9, a),
a = e.getPrizeAverage(),
0 !== parseInt(a, 10) && t.writeInt64String(10, a),
(a = e.getPrizeDescription()).length > 0 && t.writeString(11, a),
a = e.getMinFansLevel(),
0 !== parseInt(a, 10) && t.writeInt64String(12, a),
(a = e.getPhoneNum()).length > 0 && t.writeString(13, a),
a = e.getBytepayVoucherSwitcher(),
0 !== parseInt(a, 10) && t.writeInt64String(14, a),
0 !== (a = e.getSendType()) && t.writeEnum(15, a),
null != (a = e.getRegularlyConfig()) && t.writeMessage(16, a, proto.webcast.data.LotteryRegularlyConfig.serializeBinaryToWriter)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getCountDown = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setCountDown = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getUserNum = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setUserNum = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getPrizeCount = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setPrizeCount = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getGiftId = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setGiftId = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getGiftCount = function() {
return o.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setGiftCount = function(e) {
return o.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getIsFirstLottery = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setIsFirstLottery = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getCommand = function() {
return o.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setCommand = function(e) {
return o.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getPrizeName = function() {
return o.Message.getFieldWithDefault(this, 8, "")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setPrizeName = function(e) {
return o.Message.setProto3StringField(this, 8, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getConditionTypesList = function() {
return o.Message.getRepeatedField(this, 9)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setConditionTypesList = function(e) {
return o.Message.setField(this, 9, e || [])
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.addConditionTypes = function(e, t) {
return o.Message.addToRepeatedField(this, 9, e, t)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.clearConditionTypesList = function() {
return this.setConditionTypesList([])
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getPrizeAverage = function() {
return o.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setPrizeAverage = function(e) {
return o.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getPrizeDescription = function() {
return o.Message.getFieldWithDefault(this, 11, "")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setPrizeDescription = function(e) {
return o.Message.setProto3StringField(this, 11, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getMinFansLevel = function() {
return o.Message.getFieldWithDefault(this, 12, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setMinFansLevel = function(e) {
return o.Message.setProto3StringIntField(this, 12, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getPhoneNum = function() {
return o.Message.getFieldWithDefault(this, 13, "")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setPhoneNum = function(e) {
return o.Message.setProto3StringField(this, 13, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getBytepayVoucherSwitcher = function() {
return o.Message.getFieldWithDefault(this, 14, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setBytepayVoucherSwitcher = function(e) {
return o.Message.setProto3StringIntField(this, 14, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getSendType = function() {
return o.Message.getFieldWithDefault(this, 15, 0)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setSendType = function(e) {
return o.Message.setProto3EnumField(this, 15, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getRegularlyConfig = function() {
return o.Message.getWrapperField(this, proto.webcast.data.LotteryRegularlyConfig, 16)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setRegularlyConfig = function(e) {
return o.Message.setWrapperField(this, 16, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.clearRegularlyConfig = function() {
return this.setRegularlyConfig(void 0)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.hasRegularlyConfig = function() {
return null != o.Message.getField(this, 16)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.GiftInfo.prototype.toObject = function(e) {
return proto.webcast.data.GiftInfo.toObject(e, this)
}
,
proto.webcast.data.GiftInfo.toObject = function(e, t) {
var a = {
giftId: o.Message.getFieldWithDefault(t, 1, "0"),
giftName: o.Message.getFieldWithDefault(t, 2, ""),
giftImgUrl: o.Message.getFieldWithDefault(t, 3, ""),
diamondCount: o.Message.getFieldWithDefault(t, 4, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.GiftInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.GiftInfo;
return proto.webcast.data.GiftInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.GiftInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setGiftId(a);
break;
case 2:
a = t.readString();
e.setGiftName(a);
break;
case 3:
a = t.readString();
e.setGiftImgUrl(a);
break;
case 4:
a = t.readInt64String();
e.setDiamondCount(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.GiftInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.GiftInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.GiftInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getGiftId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getGiftName()).length > 0 && t.writeString(2, a),
(a = e.getGiftImgUrl()).length > 0 && t.writeString(3, a),
a = e.getDiamondCount(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a)
}
,
proto.webcast.data.GiftInfo.prototype.getGiftId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.GiftInfo.prototype.setGiftId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.GiftInfo.prototype.getGiftName = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.GiftInfo.prototype.setGiftName = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.GiftInfo.prototype.getGiftImgUrl = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.GiftInfo.prototype.setGiftImgUrl = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.GiftInfo.prototype.getDiamondCount = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.GiftInfo.prototype.setDiamondCount = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.LotteryConfig.repeatedFields_ = [3, 1, 2, 7, 8, 9, 10, 11, 12, 14, 17, 21, 22, 23],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LotteryConfig.prototype.toObject = function(e) {
return proto.webcast.data.LotteryConfig.toObject(e, this)
}
,
proto.webcast.data.LotteryConfig.toObject = function(e, t) {
var a, r = {
countDownsList: null == (a = o.Message.getRepeatedField(t, 3)) ? void 0 : a,
userNumsList: null == (a = o.Message.getRepeatedField(t, 1)) ? void 0 : a,
prizeCountsList: null == (a = o.Message.getRepeatedField(t, 2)) ? void 0 : a,
defaultConfig: (a = t.getDefaultConfig()) && proto.webcast.data.LotteryDefaultConfig.toObject(e, a),
prizeType: o.Message.getFieldWithDefault(t, 5, 0),
prizeName: o.Message.getFieldWithDefault(t, 6, ""),
userConditionTypesList: null == (a = o.Message.getRepeatedField(t, 7)) ? void 0 : a,
lotteryConditionTypesList: null == (a = o.Message.getRepeatedField(t, 8)) ? void 0 : a,
giftInfoListList: o.Message.toObjectList(t.getGiftInfoListList(), proto.webcast.data.GiftInfo.toObject, e),
giftCountsList: null == (a = o.Message.getRepeatedField(t, 10)) ? void 0 : a,
whiteListList: null == (a = o.Message.getRepeatedField(t, 11)) ? void 0 : a,
blackListList: null == (a = o.Message.getRepeatedField(t, 12)) ? void 0 : a,
enable: o.Message.getFieldWithDefault(t, 13, "0"),
prizeAveragesList: null == (a = o.Message.getRepeatedField(t, 14)) ? void 0 : a,
lotteryConfigType: o.Message.getFieldWithDefault(t, 15, "0"),
prizeDescription: o.Message.getFieldWithDefault(t, 16, ""),
fansLevelConfigListList: o.Message.toObjectList(t.getFansLevelConfigListList(), proto.webcast.data.LotteryFansLevelConfig.toObject, e),
accountScores: o.Message.getFieldWithDefault(t, 18, "0"),
needRechargeAmount: o.Message.getFieldWithDefault(t, 19, "0"),
rechargeSwitch: o.Message.getBooleanFieldWithDefault(t, 20, !1),
expandActivityInfoListList: o.Message.toObjectList(t.getExpandActivityInfoListList(), proto.webcast.data.LotteryExpandActivityInfo.toObject, e),
sendCountsList: null == (a = o.Message.getRepeatedField(t, 22)) ? void 0 : a,
sendIntervalList: null == (a = o.Message.getRepeatedField(t, 23)) ? void 0 : a,
supportLaunchTask: o.Message.getBooleanFieldWithDefault(t, 26, !1)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.LotteryConfig.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LotteryConfig;
return proto.webcast.data.LotteryConfig.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LotteryConfig.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 3:
for (var a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()], o = 0; o < a.length; o++)
e.addCountDowns(a[o]);
break;
case 1:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
o = 0; o < a.length; o++)
e.addUserNums(a[o]);
break;
case 2:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
o = 0; o < a.length; o++)
e.addPrizeCounts(a[o]);
break;
case 4:
var r = new proto.webcast.data.LotteryDefaultConfig;
t.readMessage(r, proto.webcast.data.LotteryDefaultConfig.deserializeBinaryFromReader),
e.setDefaultConfig(r);
break;
case 5:
r = t.readInt32();
e.setPrizeType(r);
break;
case 6:
r = t.readString();
e.setPrizeName(r);
break;
case 7:
for (a = t.isDelimited() ? t.readPackedInt32() : [t.readInt32()],
o = 0; o < a.length; o++)
e.addUserConditionTypes(a[o]);
break;
case 8:
for (a = t.isDelimited() ? t.readPackedInt32() : [t.readInt32()],
o = 0; o < a.length; o++)
e.addLotteryConditionTypes(a[o]);
break;
case 9:
r = new proto.webcast.data.GiftInfo;
t.readMessage(r, proto.webcast.data.GiftInfo.deserializeBinaryFromReader),
e.addGiftInfoList(r);
break;
case 10:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
o = 0; o < a.length; o++)
e.addGiftCounts(a[o]);
break;
case 11:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
o = 0; o < a.length; o++)
e.addWhiteList(a[o]);
break;
case 12:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
o = 0; o < a.length; o++)
e.addBlackList(a[o]);
break;
case 13:
r = t.readInt64String();
e.setEnable(r);
break;
case 14:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
o = 0; o < a.length; o++)
e.addPrizeAverages(a[o]);
break;
case 15:
r = t.readInt64String();
e.setLotteryConfigType(r);
break;
case 16:
r = t.readString();
e.setPrizeDescription(r);
break;
case 17:
r = new proto.webcast.data.LotteryFansLevelConfig;
t.readMessage(r, proto.webcast.data.LotteryFansLevelConfig.deserializeBinaryFromReader),
e.addFansLevelConfigList(r);
break;
case 18:
r = t.readInt64String();
e.setAccountScores(r);
break;
case 19:
r = t.readInt64String();
e.setNeedRechargeAmount(r);
break;
case 20:
r = t.readBool();
e.setRechargeSwitch(r);
break;
case 21:
r = new proto.webcast.data.LotteryExpandActivityInfo;
t.readMessage(r, proto.webcast.data.LotteryExpandActivityInfo.deserializeBinaryFromReader),
e.addExpandActivityInfoList(r);
break;
case 22:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
o = 0; o < a.length; o++)
e.addSendCounts(a[o]);
break;
case 23:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
o = 0; o < a.length; o++)
e.addSendInterval(a[o]);
break;
case 26:
r = t.readBool();
e.setSupportLaunchTask(r);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LotteryConfig.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LotteryConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryConfig.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getCountDownsList()).length > 0 && t.writePackedInt64String(3, a),
(a = e.getUserNumsList()).length > 0 && t.writePackedInt64String(1, a),
(a = e.getPrizeCountsList()).length > 0 && t.writePackedInt64String(2, a),
null != (a = e.getDefaultConfig()) && t.writeMessage(4, a, proto.webcast.data.LotteryDefaultConfig.serializeBinaryToWriter),
0 !== (a = e.getPrizeType()) && t.writeInt32(5, a),
(a = e.getPrizeName()).length > 0 && t.writeString(6, a),
(a = e.getUserConditionTypesList()).length > 0 && t.writePackedInt32(7, a),
(a = e.getLotteryConditionTypesList()).length > 0 && t.writePackedInt32(8, a),
(a = e.getGiftInfoListList()).length > 0 && t.writeRepeatedMessage(9, a, proto.webcast.data.GiftInfo.serializeBinaryToWriter),
(a = e.getGiftCountsList()).length > 0 && t.writePackedInt64String(10, a),
(a = e.getWhiteListList()).length > 0 && t.writePackedInt64String(11, a),
(a = e.getBlackListList()).length > 0 && t.writePackedInt64String(12, a),
a = e.getEnable(),
0 !== parseInt(a, 10) && t.writeInt64String(13, a),
(a = e.getPrizeAveragesList()).length > 0 && t.writePackedInt64String(14, a),
a = e.getLotteryConfigType(),
0 !== parseInt(a, 10) && t.writeInt64String(15, a),
(a = e.getPrizeDescription()).length > 0 && t.writeString(16, a),
(a = e.getFansLevelConfigListList()).length > 0 && t.writeRepeatedMessage(17, a, proto.webcast.data.LotteryFansLevelConfig.serializeBinaryToWriter),
a = e.getAccountScores(),
0 !== parseInt(a, 10) && t.writeInt64String(18, a),
a = e.getNeedRechargeAmount(),
0 !== parseInt(a, 10) && t.writeInt64String(19, a),
(a = e.getRechargeSwitch()) && t.writeBool(20, a),
(a = e.getExpandActivityInfoListList()).length > 0 && t.writeRepeatedMessage(21, a, proto.webcast.data.LotteryExpandActivityInfo.serializeBinaryToWriter),
(a = e.getSendCountsList()).length > 0 && t.writePackedInt64String(22, a),
(a = e.getSendIntervalList()).length > 0 && t.writePackedInt64String(23, a),
(a = e.getSupportLaunchTask()) && t.writeBool(26, a)
}
,
proto.webcast.data.LotteryConfig.prototype.getCountDownsList = function() {
return o.Message.getRepeatedField(this, 3)
}
,
proto.webcast.data.LotteryConfig.prototype.setCountDownsList = function(e) {
return o.Message.setField(this, 3, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addCountDowns = function(e, t) {
return o.Message.addToRepeatedField(this, 3, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearCountDownsList = function() {
return this.setCountDownsList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getUserNumsList = function() {
return o.Message.getRepeatedField(this, 1)
}
,
proto.webcast.data.LotteryConfig.prototype.setUserNumsList = function(e) {
return o.Message.setField(this, 1, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addUserNums = function(e, t) {
return o.Message.addToRepeatedField(this, 1, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearUserNumsList = function() {
return this.setUserNumsList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getPrizeCountsList = function() {
return o.Message.getRepeatedField(this, 2)
}
,
proto.webcast.data.LotteryConfig.prototype.setPrizeCountsList = function(e) {
return o.Message.setField(this, 2, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addPrizeCounts = function(e, t) {
return o.Message.addToRepeatedField(this, 2, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearPrizeCountsList = function() {
return this.setPrizeCountsList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getDefaultConfig = function() {
return o.Message.getWrapperField(this, proto.webcast.data.LotteryDefaultConfig, 4)
}
,
proto.webcast.data.LotteryConfig.prototype.setDefaultConfig = function(e) {
return o.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.LotteryConfig.prototype.clearDefaultConfig = function() {
return this.setDefaultConfig(void 0)
}
,
proto.webcast.data.LotteryConfig.prototype.hasDefaultConfig = function() {
return null != o.Message.getField(this, 4)
}
,
proto.webcast.data.LotteryConfig.prototype.getPrizeType = function() {
return o.Message.getFieldWithDefault(this, 5, 0)
}
,
proto.webcast.data.LotteryConfig.prototype.setPrizeType = function(e) {
return o.Message.setProto3IntField(this, 5, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getPrizeName = function() {
return o.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.LotteryConfig.prototype.setPrizeName = function(e) {
return o.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getUserConditionTypesList = function() {
return o.Message.getRepeatedField(this, 7)
}
,
proto.webcast.data.LotteryConfig.prototype.setUserConditionTypesList = function(e) {
return o.Message.setField(this, 7, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addUserConditionTypes = function(e, t) {
return o.Message.addToRepeatedField(this, 7, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearUserConditionTypesList = function() {
return this.setUserConditionTypesList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getLotteryConditionTypesList = function() {
return o.Message.getRepeatedField(this, 8)
}
,
proto.webcast.data.LotteryConfig.prototype.setLotteryConditionTypesList = function(e) {
return o.Message.setField(this, 8, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addLotteryConditionTypes = function(e, t) {
return o.Message.addToRepeatedField(this, 8, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearLotteryConditionTypesList = function() {
return this.setLotteryConditionTypesList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getGiftInfoListList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.GiftInfo, 9)
}
,
proto.webcast.data.LotteryConfig.prototype.setGiftInfoListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 9, e)
}
,
proto.webcast.data.LotteryConfig.prototype.addGiftInfoList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 9, e, proto.webcast.data.GiftInfo, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearGiftInfoListList = function() {
return this.setGiftInfoListList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getGiftCountsList = function() {
return o.Message.getRepeatedField(this, 10)
}
,
proto.webcast.data.LotteryConfig.prototype.setGiftCountsList = function(e) {
return o.Message.setField(this, 10, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addGiftCounts = function(e, t) {
return o.Message.addToRepeatedField(this, 10, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearGiftCountsList = function() {
return this.setGiftCountsList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getWhiteListList = function() {
return o.Message.getRepeatedField(this, 11)
}
,
proto.webcast.data.LotteryConfig.prototype.setWhiteListList = function(e) {
return o.Message.setField(this, 11, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addWhiteList = function(e, t) {
return o.Message.addToRepeatedField(this, 11, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearWhiteListList = function() {
return this.setWhiteListList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getBlackListList = function() {
return o.Message.getRepeatedField(this, 12)
}
,
proto.webcast.data.LotteryConfig.prototype.setBlackListList = function(e) {
return o.Message.setField(this, 12, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addBlackList = function(e, t) {
return o.Message.addToRepeatedField(this, 12, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearBlackListList = function() {
return this.setBlackListList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getEnable = function() {
return o.Message.getFieldWithDefault(this, 13, "0")
}
,
proto.webcast.data.LotteryConfig.prototype.setEnable = function(e) {
return o.Message.setProto3StringIntField(this, 13, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getPrizeAveragesList = function() {
return o.Message.getRepeatedField(this, 14)
}
,
proto.webcast.data.LotteryConfig.prototype.setPrizeAveragesList = function(e) {
return o.Message.setField(this, 14, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addPrizeAverages = function(e, t) {
return o.Message.addToRepeatedField(this, 14, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearPrizeAveragesList = function() {
return this.setPrizeAveragesList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getLotteryConfigType = function() {
return o.Message.getFieldWithDefault(this, 15, "0")
}
,
proto.webcast.data.LotteryConfig.prototype.setLotteryConfigType = function(e) {
return o.Message.setProto3StringIntField(this, 15, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getPrizeDescription = function() {
return o.Message.getFieldWithDefault(this, 16, "")
}
,
proto.webcast.data.LotteryConfig.prototype.setPrizeDescription = function(e) {
return o.Message.setProto3StringField(this, 16, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getFansLevelConfigListList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.LotteryFansLevelConfig, 17)
}
,
proto.webcast.data.LotteryConfig.prototype.setFansLevelConfigListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 17, e)
}
,
proto.webcast.data.LotteryConfig.prototype.addFansLevelConfigList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 17, e, proto.webcast.data.LotteryFansLevelConfig, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearFansLevelConfigListList = function() {
return this.setFansLevelConfigListList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getAccountScores = function() {
return o.Message.getFieldWithDefault(this, 18, "0")
}
,
proto.webcast.data.LotteryConfig.prototype.setAccountScores = function(e) {
return o.Message.setProto3StringIntField(this, 18, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getNeedRechargeAmount = function() {
return o.Message.getFieldWithDefault(this, 19, "0")
}
,
proto.webcast.data.LotteryConfig.prototype.setNeedRechargeAmount = function(e) {
return o.Message.setProto3StringIntField(this, 19, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getRechargeSwitch = function() {
return o.Message.getBooleanFieldWithDefault(this, 20, !1)
}
,
proto.webcast.data.LotteryConfig.prototype.setRechargeSwitch = function(e) {
return o.Message.setProto3BooleanField(this, 20, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getExpandActivityInfoListList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.LotteryExpandActivityInfo, 21)
}
,
proto.webcast.data.LotteryConfig.prototype.setExpandActivityInfoListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 21, e)
}
,
proto.webcast.data.LotteryConfig.prototype.addExpandActivityInfoList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 21, e, proto.webcast.data.LotteryExpandActivityInfo, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearExpandActivityInfoListList = function() {
return this.setExpandActivityInfoListList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getSendCountsList = function() {
return o.Message.getRepeatedField(this, 22)
}
,
proto.webcast.data.LotteryConfig.prototype.setSendCountsList = function(e) {
return o.Message.setField(this, 22, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addSendCounts = function(e, t) {
return o.Message.addToRepeatedField(this, 22, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearSendCountsList = function() {
return this.setSendCountsList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getSendIntervalList = function() {
return o.Message.getRepeatedField(this, 23)
}
,
proto.webcast.data.LotteryConfig.prototype.setSendIntervalList = function(e) {
return o.Message.setField(this, 23, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addSendInterval = function(e, t) {
return o.Message.addToRepeatedField(this, 23, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearSendIntervalList = function() {
return this.setSendIntervalList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getSupportLaunchTask = function() {
return o.Message.getBooleanFieldWithDefault(this, 26, !1)
}
,
proto.webcast.data.LotteryConfig.prototype.setSupportLaunchTask = function(e) {
return o.Message.setProto3BooleanField(this, 26, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LotteryRewardDetail.prototype.toObject = function(e) {
return proto.webcast.data.LotteryRewardDetail.toObject(e, this)
}
,
proto.webcast.data.LotteryRewardDetail.toObject = function(e, t) {
var a = {
prizeType: o.Message.getFieldWithDefault(t, 1, "0"),
prizeName: o.Message.getFieldWithDefault(t, 2, ""),
grantCount: o.Message.getFieldWithDefault(t, 3, "0"),
expireTime: o.Message.getFieldWithDefault(t, 4, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryRewardDetail.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LotteryRewardDetail;
return proto.webcast.data.LotteryRewardDetail.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LotteryRewardDetail.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setPrizeType(a);
break;
case 2:
a = t.readString();
e.setPrizeName(a);
break;
case 3:
a = t.readInt64String();
e.setGrantCount(a);
break;
case 4:
a = t.readInt64String();
e.setExpireTime(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LotteryRewardDetail.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LotteryRewardDetail.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryRewardDetail.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getPrizeType(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getPrizeName()).length > 0 && t.writeString(2, a),
a = e.getGrantCount(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
a = e.getExpireTime(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a)
}
,
proto.webcast.data.LotteryRewardDetail.prototype.getPrizeType = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryRewardDetail.prototype.setPrizeType = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryRewardDetail.prototype.getPrizeName = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.LotteryRewardDetail.prototype.setPrizeName = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.LotteryRewardDetail.prototype.getGrantCount = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.LotteryRewardDetail.prototype.setGrantCount = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.LotteryRewardDetail.prototype.getExpireTime = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.LotteryRewardDetail.prototype.setExpireTime = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LotteryExpandActivityInfo.prototype.toObject = function(e) {
return proto.webcast.data.LotteryExpandActivityInfo.toObject(e, this)
}
,
proto.webcast.data.LotteryExpandActivityInfo.toObject = function(e, t) {
var a, r = {
bizId: o.Message.getFieldWithDefault(t, 1, "0"),
expandActivityId: o.Message.getFieldWithDefault(t, 2, ""),
ruleText: o.Message.getFieldWithDefault(t, 3, ""),
tipsText: o.Message.getFieldWithDefault(t, 4, ""),
expandLuckyCount: o.Message.getFieldWithDefault(t, 5, "0"),
expandGrantCount: o.Message.getFieldWithDefault(t, 6, "0"),
extraMap: (a = t.getExtraMap()) ? a.toObject(e, void 0) : [],
extraGiftBag: o.Message.getFieldWithDefault(t, 10, ""),
bytepayVoucherSwitcher: o.Message.getFieldWithDefault(t, 11, "0")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.LotteryExpandActivityInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LotteryExpandActivityInfo;
return proto.webcast.data.LotteryExpandActivityInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LotteryExpandActivityInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setBizId(a);
break;
case 2:
a = t.readString();
e.setExpandActivityId(a);
break;
case 3:
a = t.readString();
e.setRuleText(a);
break;
case 4:
a = t.readString();
e.setTipsText(a);
break;
case 5:
a = t.readInt64String();
e.setExpandLuckyCount(a);
break;
case 6:
a = t.readInt64String();
e.setExpandGrantCount(a);
break;
case 7:
a = e.getExtraMap();
t.readMessage(a, (function(e, t) {
o.Map.deserializeBinary(e, t, o.BinaryReader.prototype.readString, o.BinaryReader.prototype.readString, null, "", "")
}
));
break;
case 10:
a = t.readString();
e.setExtraGiftBag(a);
break;
case 11:
a = t.readInt64String();
e.setBytepayVoucherSwitcher(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LotteryExpandActivityInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryExpandActivityInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getBizId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getExpandActivityId()).length > 0 && t.writeString(2, a),
(a = e.getRuleText()).length > 0 && t.writeString(3, a),
(a = e.getTipsText()).length > 0 && t.writeString(4, a),
a = e.getExpandLuckyCount(),
0 !== parseInt(a, 10) && t.writeInt64String(5, a),
a = e.getExpandGrantCount(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a),
(a = e.getExtraMap(!0)) && a.getLength() > 0 && a.serializeBinary(7, t, o.BinaryWriter.prototype.writeString, o.BinaryWriter.prototype.writeString),
(a = e.getExtraGiftBag()).length > 0 && t.writeString(10, a),
a = e.getBytepayVoucherSwitcher(),
0 !== parseInt(a, 10) && t.writeInt64String(11, a)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getBizId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setBizId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getExpandActivityId = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setExpandActivityId = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getRuleText = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setRuleText = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getTipsText = function() {
return o.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setTipsText = function(e) {
return o.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getExpandLuckyCount = function() {
return o.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setExpandLuckyCount = function(e) {
return o.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getExpandGrantCount = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setExpandGrantCount = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getExtraMap = function(e) {
return o.Message.getMapField(this, 7, e, null)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.clearExtraMap = function() {
return this.getExtraMap().clear(),
this
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getExtraGiftBag = function() {
return o.Message.getFieldWithDefault(this, 10, "")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setExtraGiftBag = function(e) {
return o.Message.setProto3StringField(this, 10, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getBytepayVoucherSwitcher = function() {
return o.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setBytepayVoucherSwitcher = function(e) {
return o.Message.setProto3StringIntField(this, 11, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ExpandLotteryConfig.prototype.toObject = function(e) {
return proto.webcast.data.ExpandLotteryConfig.toObject(e, this)
}
,
proto.webcast.data.ExpandLotteryConfig.toObject = function(e, t) {
var a = {
expandPrizeType: o.Message.getFieldWithDefault(t, 1, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ExpandLotteryConfig.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ExpandLotteryConfig;
return proto.webcast.data.ExpandLotteryConfig.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ExpandLotteryConfig.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
if (1 === t.getFieldNumber()) {
var a = t.readInt64String();
e.setExpandPrizeType(a)
} else
t.skipField()
}
return e
}
,
proto.webcast.data.ExpandLotteryConfig.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ExpandLotteryConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ExpandLotteryConfig.serializeBinaryToWriter = function(e, t) {
var a;
a = e.getExpandPrizeType(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a)
}
,
proto.webcast.data.ExpandLotteryConfig.prototype.getExpandPrizeType = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.ExpandLotteryConfig.prototype.setExpandPrizeType = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LotteryFansLevelConfig.prototype.toObject = function(e) {
return proto.webcast.data.LotteryFansLevelConfig.toObject(e, this)
}
,
proto.webcast.data.LotteryFansLevelConfig.toObject = function(e, t) {
var a = {
level: o.Message.getFieldWithDefault(t, 1, "0"),
dailyLimit: o.Message.getFieldWithDefault(t, 2, "0"),
dailySendNum: o.Message.getFieldWithDefault(t, 3, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryFansLevelConfig.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LotteryFansLevelConfig;
return proto.webcast.data.LotteryFansLevelConfig.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LotteryFansLevelConfig.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setLevel(a);
break;
case 2:
a = t.readInt64String();
e.setDailyLimit(a);
break;
case 3:
a = t.readInt64String();
e.setDailySendNum(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LotteryFansLevelConfig.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LotteryFansLevelConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryFansLevelConfig.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getLevel(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getDailyLimit(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
a = e.getDailySendNum(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a)
}
,
proto.webcast.data.LotteryFansLevelConfig.prototype.getLevel = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryFansLevelConfig.prototype.setLevel = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryFansLevelConfig.prototype.getDailyLimit = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.LotteryFansLevelConfig.prototype.setDailyLimit = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.LotteryFansLevelConfig.prototype.getDailySendNum = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.LotteryFansLevelConfig.prototype.setDailySendNum = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LotteryRegularlyConfig.prototype.toObject = function(e) {
return proto.webcast.data.LotteryRegularlyConfig.toObject(e, this)
}
,
proto.webcast.data.LotteryRegularlyConfig.toObject = function(e, t) {
var a = {
times: o.Message.getFieldWithDefault(t, 1, 0),
interval: o.Message.getFieldWithDefault(t, 2, 0)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryRegularlyConfig.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LotteryRegularlyConfig;
return proto.webcast.data.LotteryRegularlyConfig.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LotteryRegularlyConfig.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt32();
e.setTimes(a);
break;
case 2:
a = t.readInt32();
e.setInterval(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LotteryRegularlyConfig.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LotteryRegularlyConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryRegularlyConfig.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getTimes()) && t.writeInt32(1, a),
0 !== (a = e.getInterval()) && t.writeInt32(2, a)
}
,
proto.webcast.data.LotteryRegularlyConfig.prototype.getTimes = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.LotteryRegularlyConfig.prototype.setTimes = function(e) {
return o.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.LotteryRegularlyConfig.prototype.getInterval = function() {
return o.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.LotteryRegularlyConfig.prototype.setInterval = function(e) {
return o.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.LotteryInfo.repeatedFields_ = [8, 19, 26],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LotteryInfo.prototype.toObject = function(e) {
return proto.webcast.data.LotteryInfo.toObject(e, this)
}
,
proto.webcast.data.LotteryInfo.toObject = function(e, t) {
var a, r = {
lotteryId: o.Message.getFieldWithDefault(t, 1, "0"),
ownerUserId: o.Message.getFieldWithDefault(t, 2, "0"),
anchorId: o.Message.getFieldWithDefault(t, 3, "0"),
ownerType: o.Message.getFieldWithDefault(t, 4, 0),
roomId: o.Message.getFieldWithDefault(t, 5, "0"),
status: o.Message.getFieldWithDefault(t, 6, 0),
prizeInfo: (a = t.getPrizeInfo()) && proto.webcast.data.LotteryPrize.toObject(e, a),
conditionsList: o.Message.toObjectList(t.getConditionsList(), proto.webcast.data.LotteryCondition.toObject, e),
prizeCount: o.Message.getFieldWithDefault(t, 9, "0"),
luckyCount: o.Message.getFieldWithDefault(t, 10, "0"),
countDown: o.Message.getFieldWithDefault(t, 11, "0"),
startTime: o.Message.getFieldWithDefault(t, 12, "0"),
drawTime: o.Message.getFieldWithDefault(t, 13, "0"),
extra: o.Message.getFieldWithDefault(t, 14, ""),
realLuckyCount: o.Message.getFieldWithDefault(t, 15, "0"),
totalGrantCount: o.Message.getFieldWithDefault(t, 16, "0"),
withdrawCount: o.Message.getFieldWithDefault(t, 17, "0"),
realDrawTime: o.Message.getFieldWithDefault(t, 18, "0"),
luckyUsersList: o.Message.toObjectList(t.getLuckyUsersList(), proto.webcast.data.LotteryLuckyUser.toObject, e),
currentTime: o.Message.getFieldWithDefault(t, 20, "0"),
candidateNum: o.Message.getFieldWithDefault(t, 21, "0"),
lotteryIdStr: o.Message.getFieldWithDefault(t, 22, ""),
roomIdStr: o.Message.getFieldWithDefault(t, 23, ""),
secAnchorId: o.Message.getFieldWithDefault(t, 24, ""),
secOwnerUserId: o.Message.getFieldWithDefault(t, 25, ""),
expandActivityInfoListList: o.Message.toObjectList(t.getExpandActivityInfoListList(), proto.webcast.data.LotteryExpandActivityInfo.toObject, e),
useNewDrawInteraction: o.Message.getBooleanFieldWithDefault(t, 27, !1),
launchTaskId: o.Message.getFieldWithDefault(t, 30, ""),
index: o.Message.getFieldWithDefault(t, 31, 0),
launchTaskInfo: (a = t.getLaunchTaskInfo()) && proto.webcast.data.LaunchTaskInfo.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.LotteryInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LotteryInfo;
return proto.webcast.data.LotteryInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LotteryInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setLotteryId(a);
break;
case 2:
a = t.readInt64String();
e.setOwnerUserId(a);
break;
case 3:
a = t.readInt64String();
e.setAnchorId(a);
break;
case 4:
a = t.readInt32();
e.setOwnerType(a);
break;
case 5:
a = t.readInt64String();
e.setRoomId(a);
break;
case 6:
a = t.readInt32();
e.setStatus(a);
break;
case 7:
a = new proto.webcast.data.LotteryPrize;
t.readMessage(a, proto.webcast.data.LotteryPrize.deserializeBinaryFromReader),
e.setPrizeInfo(a);
break;
case 8:
a = new proto.webcast.data.LotteryCondition;
t.readMessage(a, proto.webcast.data.LotteryCondition.deserializeBinaryFromReader),
e.addConditions(a);
break;
case 9:
a = t.readInt64String();
e.setPrizeCount(a);
break;
case 10:
a = t.readInt64String();
e.setLuckyCount(a);
break;
case 11:
a = t.readInt64String();
e.setCountDown(a);
break;
case 12:
a = t.readInt64String();
e.setStartTime(a);
break;
case 13:
a = t.readInt64String();
e.setDrawTime(a);
break;
case 14:
a = t.readString();
e.setExtra(a);
break;
case 15:
a = t.readInt64String();
e.setRealLuckyCount(a);
break;
case 16:
a = t.readInt64String();
e.setTotalGrantCount(a);
break;
case 17:
a = t.readInt64String();
e.setWithdrawCount(a);
break;
case 18:
a = t.readInt64String();
e.setRealDrawTime(a);
break;
case 19:
a = new proto.webcast.data.LotteryLuckyUser;
t.readMessage(a, proto.webcast.data.LotteryLuckyUser.deserializeBinaryFromReader),
e.addLuckyUsers(a);
break;
case 20:
a = t.readInt64String();
e.setCurrentTime(a);
break;
case 21:
a = t.readInt64String();
e.setCandidateNum(a);
break;
case 22:
a = t.readString();
e.setLotteryIdStr(a);
break;
case 23:
a = t.readString();
e.setRoomIdStr(a);
break;
case 24:
a = t.readString();
e.setSecAnchorId(a);
break;
case 25:
a = t.readString();
e.setSecOwnerUserId(a);
break;
case 26:
a = new proto.webcast.data.LotteryExpandActivityInfo;
t.readMessage(a, proto.webcast.data.LotteryExpandActivityInfo.deserializeBinaryFromReader),
e.addExpandActivityInfoList(a);
break;
case 27:
a = t.readBool();
e.setUseNewDrawInteraction(a);
break;
case 30:
a = t.readString();
e.setLaunchTaskId(a);
break;
case 31:
a = t.readInt32();
e.setIndex(a);
break;
case 32:
a = new proto.webcast.data.LaunchTaskInfo;
t.readMessage(a, proto.webcast.data.LaunchTaskInfo.deserializeBinaryFromReader),
e.setLaunchTaskInfo(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LotteryInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LotteryInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getLotteryId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getOwnerUserId(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
a = e.getAnchorId(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
0 !== (a = e.getOwnerType()) && t.writeInt32(4, a),
a = e.getRoomId(),
0 !== parseInt(a, 10) && t.writeInt64String(5, a),
0 !== (a = e.getStatus()) && t.writeInt32(6, a),
null != (a = e.getPrizeInfo()) && t.writeMessage(7, a, proto.webcast.data.LotteryPrize.serializeBinaryToWriter),
(a = e.getConditionsList()).length > 0 && t.writeRepeatedMessage(8, a, proto.webcast.data.LotteryCondition.serializeBinaryToWriter),
a = e.getPrizeCount(),
0 !== parseInt(a, 10) && t.writeInt64String(9, a),
a = e.getLuckyCount(),
0 !== parseInt(a, 10) && t.writeInt64String(10, a),
a = e.getCountDown(),
0 !== parseInt(a, 10) && t.writeInt64String(11, a),
a = e.getStartTime(),
0 !== parseInt(a, 10) && t.writeInt64String(12, a),
a = e.getDrawTime(),
0 !== parseInt(a, 10) && t.writeInt64String(13, a),
(a = e.getExtra()).length > 0 && t.writeString(14, a),
a = e.getRealLuckyCount(),
0 !== parseInt(a, 10) && t.writeInt64String(15, a),
a = e.getTotalGrantCount(),
0 !== parseInt(a, 10) && t.writeInt64String(16, a),
a = e.getWithdrawCount(),
0 !== parseInt(a, 10) && t.writeInt64String(17, a),
a = e.getRealDrawTime(),
0 !== parseInt(a, 10) && t.writeInt64String(18, a),
(a = e.getLuckyUsersList()).length > 0 && t.writeRepeatedMessage(19, a, proto.webcast.data.LotteryLuckyUser.serializeBinaryToWriter),
a = e.getCurrentTime(),
0 !== parseInt(a, 10) && t.writeInt64String(20, a),
a = e.getCandidateNum(),
0 !== parseInt(a, 10) && t.writeInt64String(21, a),
(a = e.getLotteryIdStr()).length > 0 && t.writeString(22, a),
(a = e.getRoomIdStr()).length > 0 && t.writeString(23, a),
(a = e.getSecAnchorId()).length > 0 && t.writeString(24, a),
(a = e.getSecOwnerUserId()).length > 0 && t.writeString(25, a),
(a = e.getExpandActivityInfoListList()).length > 0 && t.writeRepeatedMessage(26, a, proto.webcast.data.LotteryExpandActivityInfo.serializeBinaryToWriter),
(a = e.getUseNewDrawInteraction()) && t.writeBool(27, a),
(a = e.getLaunchTaskId()).length > 0 && t.writeString(30, a),
0 !== (a = e.getIndex()) && t.writeInt32(31, a),
null != (a = e.getLaunchTaskInfo()) && t.writeMessage(32, a, proto.webcast.data.LaunchTaskInfo.serializeBinaryToWriter)
}
,
proto.webcast.data.LotteryInfo.prototype.getLotteryId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setLotteryId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getOwnerUserId = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setOwnerUserId = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getAnchorId = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setAnchorId = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getOwnerType = function() {
return o.Message.getFieldWithDefault(this, 4, 0)
}
,
proto.webcast.data.LotteryInfo.prototype.setOwnerType = function(e) {
return o.Message.setProto3IntField(this, 4, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getRoomId = function() {
return o.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setRoomId = function(e) {
return o.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getStatus = function() {
return o.Message.getFieldWithDefault(this, 6, 0)
}
,
proto.webcast.data.LotteryInfo.prototype.setStatus = function(e) {
return o.Message.setProto3IntField(this, 6, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getPrizeInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.LotteryPrize, 7)
}
,
proto.webcast.data.LotteryInfo.prototype.setPrizeInfo = function(e) {
return o.Message.setWrapperField(this, 7, e)
}
,
proto.webcast.data.LotteryInfo.prototype.clearPrizeInfo = function() {
return this.setPrizeInfo(void 0)
}
,
proto.webcast.data.LotteryInfo.prototype.hasPrizeInfo = function() {
return null != o.Message.getField(this, 7)
}
,
proto.webcast.data.LotteryInfo.prototype.getConditionsList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.LotteryCondition, 8)
}
,
proto.webcast.data.LotteryInfo.prototype.setConditionsList = function(e) {
return o.Message.setRepeatedWrapperField(this, 8, e)
}
,
proto.webcast.data.LotteryInfo.prototype.addConditions = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 8, e, proto.webcast.data.LotteryCondition, t)
}
,
proto.webcast.data.LotteryInfo.prototype.clearConditionsList = function() {
return this.setConditionsList([])
}
,
proto.webcast.data.LotteryInfo.prototype.getPrizeCount = function() {
return o.Message.getFieldWithDefault(this, 9, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setPrizeCount = function(e) {
return o.Message.setProto3StringIntField(this, 9, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getLuckyCount = function() {
return o.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setLuckyCount = function(e) {
return o.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getCountDown = function() {
return o.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setCountDown = function(e) {
return o.Message.setProto3StringIntField(this, 11, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getStartTime = function() {
return o.Message.getFieldWithDefault(this, 12, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setStartTime = function(e) {
return o.Message.setProto3StringIntField(this, 12, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getDrawTime = function() {
return o.Message.getFieldWithDefault(this, 13, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setDrawTime = function(e) {
return o.Message.setProto3StringIntField(this, 13, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getExtra = function() {
return o.Message.getFieldWithDefault(this, 14, "")
}
,
proto.webcast.data.LotteryInfo.prototype.setExtra = function(e) {
return o.Message.setProto3StringField(this, 14, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getRealLuckyCount = function() {
return o.Message.getFieldWithDefault(this, 15, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setRealLuckyCount = function(e) {
return o.Message.setProto3StringIntField(this, 15, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getTotalGrantCount = function() {
return o.Message.getFieldWithDefault(this, 16, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setTotalGrantCount = function(e) {
return o.Message.setProto3StringIntField(this, 16, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getWithdrawCount = function() {
return o.Message.getFieldWithDefault(this, 17, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setWithdrawCount = function(e) {
return o.Message.setProto3StringIntField(this, 17, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getRealDrawTime = function() {
return o.Message.getFieldWithDefault(this, 18, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setRealDrawTime = function(e) {
return o.Message.setProto3StringIntField(this, 18, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getLuckyUsersList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.LotteryLuckyUser, 19)
}
,
proto.webcast.data.LotteryInfo.prototype.setLuckyUsersList = function(e) {
return o.Message.setRepeatedWrapperField(this, 19, e)
}
,
proto.webcast.data.LotteryInfo.prototype.addLuckyUsers = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 19, e, proto.webcast.data.LotteryLuckyUser, t)
}
,
proto.webcast.data.LotteryInfo.prototype.clearLuckyUsersList = function() {
return this.setLuckyUsersList([])
}
,
proto.webcast.data.LotteryInfo.prototype.getCurrentTime = function() {
return o.Message.getFieldWithDefault(this, 20, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setCurrentTime = function(e) {
return o.Message.setProto3StringIntField(this, 20, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getCandidateNum = function() {
return o.Message.getFieldWithDefault(this, 21, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setCandidateNum = function(e) {
return o.Message.setProto3StringIntField(this, 21, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getLotteryIdStr = function() {
return o.Message.getFieldWithDefault(this, 22, "")
}
,
proto.webcast.data.LotteryInfo.prototype.setLotteryIdStr = function(e) {
return o.Message.setProto3StringField(this, 22, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getRoomIdStr = function() {
return o.Message.getFieldWithDefault(this, 23, "")
}
,
proto.webcast.data.LotteryInfo.prototype.setRoomIdStr = function(e) {
return o.Message.setProto3StringField(this, 23, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getSecAnchorId = function() {
return o.Message.getFieldWithDefault(this, 24, "")
}
,
proto.webcast.data.LotteryInfo.prototype.setSecAnchorId = function(e) {
return o.Message.setProto3StringField(this, 24, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getSecOwnerUserId = function() {
return o.Message.getFieldWithDefault(this, 25, "")
}
,
proto.webcast.data.LotteryInfo.prototype.setSecOwnerUserId = function(e) {
return o.Message.setProto3StringField(this, 25, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getExpandActivityInfoListList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.LotteryExpandActivityInfo, 26)
}
,
proto.webcast.data.LotteryInfo.prototype.setExpandActivityInfoListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 26, e)
}
,
proto.webcast.data.LotteryInfo.prototype.addExpandActivityInfoList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 26, e, proto.webcast.data.LotteryExpandActivityInfo, t)
}
,
proto.webcast.data.LotteryInfo.prototype.clearExpandActivityInfoListList = function() {
return this.setExpandActivityInfoListList([])
}
,
proto.webcast.data.LotteryInfo.prototype.getUseNewDrawInteraction = function() {
return o.Message.getBooleanFieldWithDefault(this, 27, !1)
}
,
proto.webcast.data.LotteryInfo.prototype.setUseNewDrawInteraction = function(e) {
return o.Message.setProto3BooleanField(this, 27, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getLaunchTaskId = function() {
return o.Message.getFieldWithDefault(this, 30, "")
}
,
proto.webcast.data.LotteryInfo.prototype.setLaunchTaskId = function(e) {
return o.Message.setProto3StringField(this, 30, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getIndex = function() {
return o.Message.getFieldWithDefault(this, 31, 0)
}
,
proto.webcast.data.LotteryInfo.prototype.setIndex = function(e) {
return o.Message.setProto3IntField(this, 31, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getLaunchTaskInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.LaunchTaskInfo, 32)
}
,
proto.webcast.data.LotteryInfo.prototype.setLaunchTaskInfo = function(e) {
return o.Message.setWrapperField(this, 32, e)
}
,
proto.webcast.data.LotteryInfo.prototype.clearLaunchTaskInfo = function() {
return this.setLaunchTaskInfo(void 0)
}
,
proto.webcast.data.LotteryInfo.prototype.hasLaunchTaskInfo = function() {
return null != o.Message.getField(this, 32)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LaunchTaskInfo.prototype.toObject = function(e) {
return proto.webcast.data.LaunchTaskInfo.toObject(e, this)
}
,
proto.webcast.data.LaunchTaskInfo.toObject = function(e, t) {
var a, r = {
launchTaskId: o.Message.getFieldWithDefault(t, 1, "0"),
launchTaskIdStr: o.Message.getFieldWithDefault(t, 2, ""),
launchTaskStatus: o.Message.getFieldWithDefault(t, 3, "0"),
hadLaunchCount: o.Message.getFieldWithDefault(t, 5, "0"),
lastLotteryId: o.Message.getFieldWithDefault(t, 6, "0"),
regularlyConfig: (a = t.getRegularlyConfig()) && proto.webcast.data.LotteryRegularlyConfig.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.LaunchTaskInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LaunchTaskInfo;
return proto.webcast.data.LaunchTaskInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LaunchTaskInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setLaunchTaskId(a);
break;
case 2:
a = t.readString();
e.setLaunchTaskIdStr(a);
break;
case 3:
a = t.readInt64String();
e.setLaunchTaskStatus(a);
break;
case 5:
a = t.readInt64String();
e.setHadLaunchCount(a);
break;
case 6:
a = t.readInt64String();
e.setLastLotteryId(a);
break;
case 4:
a = new proto.webcast.data.LotteryRegularlyConfig;
t.readMessage(a, proto.webcast.data.LotteryRegularlyConfig.deserializeBinaryFromReader),
e.setRegularlyConfig(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LaunchTaskInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LaunchTaskInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LaunchTaskInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getLaunchTaskId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getLaunchTaskIdStr()).length > 0 && t.writeString(2, a),
a = e.getLaunchTaskStatus(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
a = e.getHadLaunchCount(),
0 !== parseInt(a, 10) && t.writeInt64String(5, a),
a = e.getLastLotteryId(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a),
null != (a = e.getRegularlyConfig()) && t.writeMessage(4, a, proto.webcast.data.LotteryRegularlyConfig.serializeBinaryToWriter)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.getLaunchTaskId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LaunchTaskInfo.prototype.setLaunchTaskId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.getLaunchTaskIdStr = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.LaunchTaskInfo.prototype.setLaunchTaskIdStr = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.getLaunchTaskStatus = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.LaunchTaskInfo.prototype.setLaunchTaskStatus = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.getHadLaunchCount = function() {
return o.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.LaunchTaskInfo.prototype.setHadLaunchCount = function(e) {
return o.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.getLastLotteryId = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.LaunchTaskInfo.prototype.setLastLotteryId = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.getRegularlyConfig = function() {
return o.Message.getWrapperField(this, proto.webcast.data.LotteryRegularlyConfig, 4)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.setRegularlyConfig = function(e) {
return o.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.clearRegularlyConfig = function() {
return this.setRegularlyConfig(void 0)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.hasRegularlyConfig = function() {
return null != o.Message.getField(this, 4)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LotteryPrize.prototype.toObject = function(e) {
return proto.webcast.data.LotteryPrize.toObject(e, this)
}
,
proto.webcast.data.LotteryPrize.toObject = function(e, t) {
var a = {
prizeId: o.Message.getFieldWithDefault(t, 1, "0"),
type: o.Message.getFieldWithDefault(t, 2, 0),
name: o.Message.getFieldWithDefault(t, 3, ""),
image: o.Message.getFieldWithDefault(t, 4, ""),
prizeDescription: o.Message.getFieldWithDefault(t, 5, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryPrize.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LotteryPrize;
return proto.webcast.data.LotteryPrize.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LotteryPrize.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setPrizeId(a);
break;
case 2:
a = t.readInt32();
e.setType(a);
break;
case 3:
a = t.readString();
e.setName(a);
break;
case 4:
a = t.readString();
e.setImage(a);
break;
case 5:
a = t.readString();
e.setPrizeDescription(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LotteryPrize.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LotteryPrize.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryPrize.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getPrizeId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
0 !== (a = e.getType()) && t.writeInt32(2, a),
(a = e.getName()).length > 0 && t.writeString(3, a),
(a = e.getImage()).length > 0 && t.writeString(4, a),
(a = e.getPrizeDescription()).length > 0 && t.writeString(5, a)
}
,
proto.webcast.data.LotteryPrize.prototype.getPrizeId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryPrize.prototype.setPrizeId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryPrize.prototype.getType = function() {
return o.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.LotteryPrize.prototype.setType = function(e) {
return o.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.LotteryPrize.prototype.getName = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.LotteryPrize.prototype.setName = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.LotteryPrize.prototype.getImage = function() {
return o.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.LotteryPrize.prototype.setImage = function(e) {
return o.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.LotteryPrize.prototype.getPrizeDescription = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.LotteryPrize.prototype.setPrizeDescription = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LotteryCondition.prototype.toObject = function(e) {
return proto.webcast.data.LotteryCondition.toObject(e, this)
}
,
proto.webcast.data.LotteryCondition.toObject = function(e, t) {
var a = {
conditionId: o.Message.getFieldWithDefault(t, 1, "0"),
type: o.Message.getFieldWithDefault(t, 2, 0),
content: o.Message.getFieldWithDefault(t, 3, ""),
status: o.Message.getFieldWithDefault(t, 4, 0),
description: o.Message.getFieldWithDefault(t, 5, ""),
giftId: o.Message.getFieldWithDefault(t, 6, "0"),
giftCount: o.Message.getFieldWithDefault(t, 7, "0"),
giftName: o.Message.getFieldWithDefault(t, 8, ""),
needDiamondCount: o.Message.getFieldWithDefault(t, 9, "0"),
minFansLevel: o.Message.getFieldWithDefault(t, 10, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryCondition.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LotteryCondition;
return proto.webcast.data.LotteryCondition.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LotteryCondition.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setConditionId(a);
break;
case 2:
a = t.readInt32();
e.setType(a);
break;
case 3:
a = t.readString();
e.setContent(a);
break;
case 4:
a = t.readInt32();
e.setStatus(a);
break;
case 5:
a = t.readString();
e.setDescription(a);
break;
case 6:
a = t.readInt64String();
e.setGiftId(a);
break;
case 7:
a = t.readInt64String();
e.setGiftCount(a);
break;
case 8:
a = t.readString();
e.setGiftName(a);
break;
case 9:
a = t.readInt64String();
e.setNeedDiamondCount(a);
break;
case 10:
a = t.readInt64String();
e.setMinFansLevel(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LotteryCondition.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LotteryCondition.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryCondition.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getConditionId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
0 !== (a = e.getType()) && t.writeInt32(2, a),
(a = e.getContent()).length > 0 && t.writeString(3, a),
0 !== (a = e.getStatus()) && t.writeInt32(4, a),
(a = e.getDescription()).length > 0 && t.writeString(5, a),
a = e.getGiftId(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a),
a = e.getGiftCount(),
0 !== parseInt(a, 10) && t.writeInt64String(7, a),
(a = e.getGiftName()).length > 0 && t.writeString(8, a),
a = e.getNeedDiamondCount(),
0 !== parseInt(a, 10) && t.writeInt64String(9, a),
a = e.getMinFansLevel(),
0 !== parseInt(a, 10) && t.writeInt64String(10, a)
}
,
proto.webcast.data.LotteryCondition.prototype.getConditionId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryCondition.prototype.setConditionId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getType = function() {
return o.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.LotteryCondition.prototype.setType = function(e) {
return o.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getContent = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.LotteryCondition.prototype.setContent = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getStatus = function() {
return o.Message.getFieldWithDefault(this, 4, 0)
}
,
proto.webcast.data.LotteryCondition.prototype.setStatus = function(e) {
return o.Message.setProto3IntField(this, 4, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getDescription = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.LotteryCondition.prototype.setDescription = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getGiftId = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.LotteryCondition.prototype.setGiftId = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getGiftCount = function() {
return o.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.LotteryCondition.prototype.setGiftCount = function(e) {
return o.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getGiftName = function() {
return o.Message.getFieldWithDefault(this, 8, "")
}
,
proto.webcast.data.LotteryCondition.prototype.setGiftName = function(e) {
return o.Message.setProto3StringField(this, 8, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getNeedDiamondCount = function() {
return o.Message.getFieldWithDefault(this, 9, "0")
}
,
proto.webcast.data.LotteryCondition.prototype.setNeedDiamondCount = function(e) {
return o.Message.setProto3StringIntField(this, 9, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getMinFansLevel = function() {
return o.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.LotteryCondition.prototype.setMinFansLevel = function(e) {
return o.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.LotteryLuckyUser.repeatedFields_ = [14],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LotteryLuckyUser.prototype.toObject = function(e) {
return proto.webcast.data.LotteryLuckyUser.toObject(e, this)
}
,
proto.webcast.data.LotteryLuckyUser.toObject = function(e, t) {
var a = {
luckyId: o.Message.getFieldWithDefault(t, 1, "0"),
lotteryId: o.Message.getFieldWithDefault(t, 2, "0"),
roomId: o.Message.getFieldWithDefault(t, 3, "0"),
userId: o.Message.getFieldWithDefault(t, 4, "0"),
userName: o.Message.getFieldWithDefault(t, 5, ""),
avatarUrl: o.Message.getFieldWithDefault(t, 6, ""),
grantCount: o.Message.getFieldWithDefault(t, 7, "0"),
userExtraInfo: o.Message.getFieldWithDefault(t, 8, ""),
orderInfo: o.Message.getFieldWithDefault(t, 9, ""),
secUserId: o.Message.getFieldWithDefault(t, 10, ""),
prizeType: o.Message.getFieldWithDefault(t, 11, "0"),
prizeName: o.Message.getFieldWithDefault(t, 12, ""),
expireTime: o.Message.getFieldWithDefault(t, 13, "0"),
voucherPrizeListList: o.Message.toObjectList(t.getVoucherPrizeListList(), proto.webcast.data.VoucherPrizeInfo.toObject, e)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryLuckyUser.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LotteryLuckyUser;
return proto.webcast.data.LotteryLuckyUser.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LotteryLuckyUser.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setLuckyId(a);
break;
case 2:
a = t.readInt64String();
e.setLotteryId(a);
break;
case 3:
a = t.readInt64String();
e.setRoomId(a);
break;
case 4:
a = t.readInt64String();
e.setUserId(a);
break;
case 5:
a = t.readString();
e.setUserName(a);
break;
case 6:
a = t.readString();
e.setAvatarUrl(a);
break;
case 7:
a = t.readInt64String();
e.setGrantCount(a);
break;
case 8:
a = t.readString();
e.setUserExtraInfo(a);
break;
case 9:
a = t.readString();
e.setOrderInfo(a);
break;
case 10:
a = t.readString();
e.setSecUserId(a);
break;
case 11:
a = t.readInt64String();
e.setPrizeType(a);
break;
case 12:
a = t.readString();
e.setPrizeName(a);
break;
case 13:
a = t.readInt64String();
e.setExpireTime(a);
break;
case 14:
a = new proto.webcast.data.VoucherPrizeInfo;
t.readMessage(a, proto.webcast.data.VoucherPrizeInfo.deserializeBinaryFromReader),
e.addVoucherPrizeList(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LotteryLuckyUser.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LotteryLuckyUser.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryLuckyUser.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getLuckyId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getLotteryId(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
a = e.getRoomId(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
a = e.getUserId(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a),
(a = e.getUserName()).length > 0 && t.writeString(5, a),
(a = e.getAvatarUrl()).length > 0 && t.writeString(6, a),
a = e.getGrantCount(),
0 !== parseInt(a, 10) && t.writeInt64String(7, a),
(a = e.getUserExtraInfo()).length > 0 && t.writeString(8, a),
(a = e.getOrderInfo()).length > 0 && t.writeString(9, a),
(a = e.getSecUserId()).length > 0 && t.writeString(10, a),
a = e.getPrizeType(),
0 !== parseInt(a, 10) && t.writeInt64String(11, a),
(a = e.getPrizeName()).length > 0 && t.writeString(12, a),
a = e.getExpireTime(),
0 !== parseInt(a, 10) && t.writeInt64String(13, a),
(a = e.getVoucherPrizeListList()).length > 0 && t.writeRepeatedMessage(14, a, proto.webcast.data.VoucherPrizeInfo.serializeBinaryToWriter)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getLuckyId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setLuckyId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getLotteryId = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setLotteryId = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getRoomId = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setRoomId = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getUserId = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setUserId = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getUserName = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setUserName = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getAvatarUrl = function() {
return o.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setAvatarUrl = function(e) {
return o.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getGrantCount = function() {
return o.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setGrantCount = function(e) {
return o.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getUserExtraInfo = function() {
return o.Message.getFieldWithDefault(this, 8, "")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setUserExtraInfo = function(e) {
return o.Message.setProto3StringField(this, 8, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getOrderInfo = function() {
return o.Message.getFieldWithDefault(this, 9, "")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setOrderInfo = function(e) {
return o.Message.setProto3StringField(this, 9, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getSecUserId = function() {
return o.Message.getFieldWithDefault(this, 10, "")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setSecUserId = function(e) {
return o.Message.setProto3StringField(this, 10, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getPrizeType = function() {
return o.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setPrizeType = function(e) {
return o.Message.setProto3StringIntField(this, 11, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getPrizeName = function() {
return o.Message.getFieldWithDefault(this, 12, "")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setPrizeName = function(e) {
return o.Message.setProto3StringField(this, 12, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getExpireTime = function() {
return o.Message.getFieldWithDefault(this, 13, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setExpireTime = function(e) {
return o.Message.setProto3StringIntField(this, 13, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getVoucherPrizeListList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.VoucherPrizeInfo, 14)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setVoucherPrizeListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 14, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.addVoucherPrizeList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 14, e, proto.webcast.data.VoucherPrizeInfo, t)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.clearVoucherPrizeListList = function() {
return this.setVoucherPrizeListList([])
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VoucherPrizeInfo.prototype.toObject = function(e) {
return proto.webcast.data.VoucherPrizeInfo.toObject(e, this)
}
,
proto.webcast.data.VoucherPrizeInfo.toObject = function(e, t) {
var a = {
prizeAmount: o.Message.getFieldWithDefault(t, 1, ""),
prizeBatchName: o.Message.getFieldWithDefault(t, 2, ""),
expireTime: o.Message.getFieldWithDefault(t, 3, "0"),
prizeUnit: o.Message.getFieldWithDefault(t, 4, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.VoucherPrizeInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.VoucherPrizeInfo;
return proto.webcast.data.VoucherPrizeInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.VoucherPrizeInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setPrizeAmount(a);
break;
case 2:
a = t.readString();
e.setPrizeBatchName(a);
break;
case 3:
a = t.readInt64String();
e.setExpireTime(a);
break;
case 4:
a = t.readString();
e.setPrizeUnit(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.VoucherPrizeInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VoucherPrizeInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getPrizeAmount()).length > 0 && t.writeString(1, a),
(a = e.getPrizeBatchName()).length > 0 && t.writeString(2, a),
a = e.getExpireTime(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
(a = e.getPrizeUnit()).length > 0 && t.writeString(4, a)
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.getPrizeAmount = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.setPrizeAmount = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.getPrizeBatchName = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.setPrizeBatchName = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.getExpireTime = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.setExpireTime = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.getPrizeUnit = function() {
return o.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.setPrizeUnit = function(e) {
return o.Message.setProto3StringField(this, 4, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.LotteryGiftGuide.prototype.toObject = function(e) {
return proto.webcast.data.LotteryGiftGuide.toObject(e, this)
}
,
proto.webcast.data.LotteryGiftGuide.toObject = function(e, t) {
var a = {
giftId: o.Message.getFieldWithDefault(t, 1, "0"),
giftDiamondCount: o.Message.getFieldWithDefault(t, 2, "0"),
giftName: o.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryGiftGuide.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.LotteryGiftGuide;
return proto.webcast.data.LotteryGiftGuide.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.LotteryGiftGuide.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setGiftId(a);
break;
case 2:
a = t.readInt64String();
e.setGiftDiamondCount(a);
break;
case 3:
a = t.readString();
e.setGiftName(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LotteryGiftGuide.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.LotteryGiftGuide.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryGiftGuide.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getGiftId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getGiftDiamondCount(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
(a = e.getGiftName()).length > 0 && t.writeString(3, a)
}
,
proto.webcast.data.LotteryGiftGuide.prototype.getGiftId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryGiftGuide.prototype.setGiftId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryGiftGuide.prototype.getGiftDiamondCount = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.LotteryGiftGuide.prototype.setGiftDiamondCount = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.LotteryGiftGuide.prototype.getGiftName = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.LotteryGiftGuide.prototype.setGiftName = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.ExpandPrizeType = {
EXPANDPRIZETYPE_UNKNOWN: 0,
EXPANDPRIZETYPE_GAME: 100
},
proto.webcast.data.LotterySendType = {
LOTTERYSENDTYPEUNKNOWN: 0,
LOTTERYSENDTYPEIMMEDIATELY: 1,
LOTTERYSENDTYPEMANUAL: 2,
LOTTERYSENDTYPEREGULARLY: 3
},
proto.webcast.data.IdTypeForFudaiBiz = {
IDTYPEFUDAIBIZUNKNOWN: 0,
IDTYPEFUDAIBIZLOTTERYID: 1,
IDTYPEFUDAIBIZLAUNCHTASKID: 2,
IDTYPEFUDAIBIZROOMID: 3
},
r.object.extend(t, proto.webcast.data)
}
,
43206: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null);
r.exportSymbol("proto.webcast.data.MoreLiveEntrance", null, i),
proto.webcast.data.MoreLiveEntrance = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.MoreLiveEntrance, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.MoreLiveEntrance.displayName = "proto.webcast.data.MoreLiveEntrance"),
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.MoreLiveEntrance.prototype.toObject = function(e) {
return proto.webcast.data.MoreLiveEntrance.toObject(e, this)
}
,
proto.webcast.data.MoreLiveEntrance.toObject = function(e, t) {
var a = {
name: o.Message.getFieldWithDefault(t, 1, ""),
tabType: o.Message.getFieldWithDefault(t, 2, "0"),
validTime: o.Message.getFieldWithDefault(t, 3, "0"),
priority: o.Message.getFieldWithDefault(t, 4, "0"),
extra: o.Message.getFieldWithDefault(t, 5, ""),
eventExtra: o.Message.getFieldWithDefault(t, 6, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.MoreLiveEntrance.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.MoreLiveEntrance;
return proto.webcast.data.MoreLiveEntrance.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.MoreLiveEntrance.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setName(a);
break;
case 2:
a = t.readInt64String();
e.setTabType(a);
break;
case 3:
a = t.readInt64String();
e.setValidTime(a);
break;
case 4:
a = t.readInt64String();
e.setPriority(a);
break;
case 5:
a = t.readString();
e.setExtra(a);
break;
case 6:
a = t.readString();
e.setEventExtra(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.MoreLiveEntrance.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.MoreLiveEntrance.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MoreLiveEntrance.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getName()).length > 0 && t.writeString(1, a),
a = e.getTabType(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
a = e.getValidTime(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
a = e.getPriority(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a),
(a = e.getExtra()).length > 0 && t.writeString(5, a),
(a = e.getEventExtra()).length > 0 && t.writeString(6, a)
}
,
proto.webcast.data.MoreLiveEntrance.prototype.getName = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.MoreLiveEntrance.prototype.setName = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.MoreLiveEntrance.prototype.getTabType = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.MoreLiveEntrance.prototype.setTabType = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.MoreLiveEntrance.prototype.getValidTime = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.MoreLiveEntrance.prototype.setValidTime = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.MoreLiveEntrance.prototype.getPriority = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.MoreLiveEntrance.prototype.setPriority = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.MoreLiveEntrance.prototype.getExtra = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.MoreLiveEntrance.prototype.setExtra = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.MoreLiveEntrance.prototype.getEventExtra = function() {
return o.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.MoreLiveEntrance.prototype.setEventExtra = function(e) {
return o.Message.setProto3StringField(this, 6, e)
}
,
r.object.extend(t, proto.webcast.data)
}
,
21372: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null);
r.exportSymbol("proto.webcast.data.ProfitInteractionSetting", null, i),
proto.webcast.data.ProfitInteractionSetting = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ProfitInteractionSetting, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ProfitInteractionSetting.displayName = "proto.webcast.data.ProfitInteractionSetting"),
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ProfitInteractionSetting.prototype.toObject = function(e) {
return proto.webcast.data.ProfitInteractionSetting.toObject(e, this)
}
,
proto.webcast.data.ProfitInteractionSetting.toObject = function(e, t) {
var a = {
showInteractionScoreClose: o.Message.getBooleanFieldWithDefault(t, 1, !1)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ProfitInteractionSetting.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ProfitInteractionSetting;
return proto.webcast.data.ProfitInteractionSetting.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ProfitInteractionSetting.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
if (1 === t.getFieldNumber()) {
var a = t.readBool();
e.setShowInteractionScoreClose(a)
} else
t.skipField()
}
return e
}
,
proto.webcast.data.ProfitInteractionSetting.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ProfitInteractionSetting.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ProfitInteractionSetting.serializeBinaryToWriter = function(e, t) {
var a;
(a = e.getShowInteractionScoreClose()) && t.writeBool(1, a)
}
,
proto.webcast.data.ProfitInteractionSetting.prototype.getShowInteractionScoreClose = function() {
return o.Message.getBooleanFieldWithDefault(this, 1, !1)
}
,
proto.webcast.data.ProfitInteractionSetting.prototype.setShowInteractionScoreClose = function(e) {
return o.Message.setProto3BooleanField(this, 1, e)
}
,
r.object.extend(t, proto.webcast.data)
}
,
80084: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, s = a(23831);
r.object.extend(proto, s);
var n = a(39272);
r.object.extend(proto, n);
var d = a(1370);
r.object.extend(proto, d);
var p = a(65096);
r.object.extend(proto, p);
var c = a(56701);
r.object.extend(proto, c);
var g = a(20904);
r.object.extend(proto, g);
var l = a(34257);
r.object.extend(proto, l),
r.exportSymbol("proto.webcast.data.AlbumItem", null, i),
r.exportSymbol("proto.webcast.data.CommentSpecialEffectData", null, i),
r.exportSymbol("proto.webcast.data.CommentSpecialEffectData.TimeRange", null, i),
r.exportSymbol("proto.webcast.data.CommentSpecialEffectType", null, i),
r.exportSymbol("proto.webcast.data.CommentTcsInfo", null, i),
r.exportSymbol("proto.webcast.data.DefinitionInfo", null, i),
r.exportSymbol("proto.webcast.data.Episode", null, i),
r.exportSymbol("proto.webcast.data.EpisodeActors", null, i),
r.exportSymbol("proto.webcast.data.EpisodeBasicInfo", null, i),
r.exportSymbol("proto.webcast.data.EpisodeCorrelationSeasonInfo", null, i),
r.exportSymbol("proto.webcast.data.EpisodeExtra", null, i),
r.exportSymbol("proto.webcast.data.EpisodeExtraBasicInfo", null, i),
r.exportSymbol("proto.webcast.data.EpisodeHighLight", null, i),
r.exportSymbol("proto.webcast.data.EpisodePaidInfo", null, i),
r.exportSymbol("proto.webcast.data.EpisodeStartHighLight", null, i),
r.exportSymbol("proto.webcast.data.EpisodeStatus", null, i),
r.exportSymbol("proto.webcast.data.FeedsVSInfo", null, i),
r.exportSymbol("proto.webcast.data.FreeViewRange", null, i),
r.exportSymbol("proto.webcast.data.ItemComment", null, i),
r.exportSymbol("proto.webcast.data.MoreEntry", null, i),
r.exportSymbol("proto.webcast.data.MoreHighLightList", null, i),
r.exportSymbol("proto.webcast.data.MoreHighlight", null, i),
r.exportSymbol("proto.webcast.data.MoreSeason", null, i),
r.exportSymbol("proto.webcast.data.MultiSeasonInfo", null, i),
r.exportSymbol("proto.webcast.data.OnlyTaInfo", null, i),
r.exportSymbol("proto.webcast.data.OnlyTaSegment", null, i),
r.exportSymbol("proto.webcast.data.OnlyTaSegments", null, i),
r.exportSymbol("proto.webcast.data.PCInfo", null, i),
r.exportSymbol("proto.webcast.data.PaidLiveInfo", null, i),
r.exportSymbol("proto.webcast.data.PlayerProgressBarSkin", null, i),
r.exportSymbol("proto.webcast.data.ReplayStreamUrl", null, i),
r.exportSymbol("proto.webcast.data.SearchInfo", null, i),
r.exportSymbol("proto.webcast.data.SearchLoadMoreData", null, i),
r.exportSymbol("proto.webcast.data.SearchLoadMoreData.SearchData", null, i),
r.exportSymbol("proto.webcast.data.SearchRelationSeasonInfo", null, i),
r.exportSymbol("proto.webcast.data.Season", null, i),
r.exportSymbol("proto.webcast.data.SeasonAlbumTab", null, i),
r.exportSymbol("proto.webcast.data.SeasonBasicInfo", null, i),
r.exportSymbol("proto.webcast.data.SeasonBriefInfo", null, i),
r.exportSymbol("proto.webcast.data.SeasonExtraBasicInfo", null, i),
r.exportSymbol("proto.webcast.data.SeasonStatus", null, i),
r.exportSymbol("proto.webcast.data.SeasonTag", null, i),
r.exportSymbol("proto.webcast.data.SeasonTypeEnum", null, i),
r.exportSymbol("proto.webcast.data.SegmentFlowTime", null, i),
r.exportSymbol("proto.webcast.data.Share", null, i),
r.exportSymbol("proto.webcast.data.ShowCenterShowInfo", null, i),
r.exportSymbol("proto.webcast.data.ShowDistributionInfo", null, i),
r.exportSymbol("proto.webcast.data.ShowExperienceInfo", null, i),
r.exportSymbol("proto.webcast.data.ShowGeneralInfo", null, i),
r.exportSymbol("proto.webcast.data.ShowSupplyInfo", null, i),
r.exportSymbol("proto.webcast.data.Statistics", null, i),
r.exportSymbol("proto.webcast.data.StreamAddr", null, i),
r.exportSymbol("proto.webcast.data.StreamVideoMeta", null, i),
r.exportSymbol("proto.webcast.data.StreamVideoMeta.StreamLocation", null, i),
r.exportSymbol("proto.webcast.data.TimePoint", null, i),
r.exportSymbol("proto.webcast.data.ToolbarBackgroundConfig", null, i),
r.exportSymbol("proto.webcast.data.TopicInfo", null, i),
r.exportSymbol("proto.webcast.data.TopicMeta", null, i),
r.exportSymbol("proto.webcast.data.UpdatingStatusEnum", null, i),
r.exportSymbol("proto.webcast.data.UserFilterKeyword", null, i),
r.exportSymbol("proto.webcast.data.UserStatistics", null, i),
r.exportSymbol("proto.webcast.data.VSSearchData", null, i),
r.exportSymbol("proto.webcast.data.VarietyShow", null, i),
r.exportSymbol("proto.webcast.data.VideoInfo", null, i),
r.exportSymbol("proto.webcast.data.VideoInfo.Size", null, i),
r.exportSymbol("proto.webcast.data.VideoInfo.StartLocation", null, i),
r.exportSymbol("proto.webcast.data.VideoModelContainer", null, i),
r.exportSymbol("proto.webcast.data.VideoModelType", null, i),
r.exportSymbol("proto.webcast.data.VideoPlayInfo", null, i),
r.exportSymbol("proto.webcast.data.VideoPlayInfo.Url", null, i),
r.exportSymbol("proto.webcast.data.VsCommentStyle", null, i),
r.exportSymbol("proto.webcast.data.Watermark", null, i),
r.exportSymbol("proto.webcast.data.WatermarkIcon", null, i),
proto.webcast.data.Episode = function(e) {
o.Message.initialize(this, e, 0, 500, proto.webcast.data.Episode.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.Episode, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.Episode.displayName = "proto.webcast.data.Episode"),
proto.webcast.data.PaidLiveInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.PaidLiveInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.PaidLiveInfo.displayName = "proto.webcast.data.PaidLiveInfo"),
proto.webcast.data.EpisodeBasicInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.EpisodeBasicInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.EpisodeBasicInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.EpisodeBasicInfo.displayName = "proto.webcast.data.EpisodeBasicInfo"),
proto.webcast.data.EpisodeExtraBasicInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.EpisodeExtraBasicInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.EpisodeExtraBasicInfo.displayName = "proto.webcast.data.EpisodeExtraBasicInfo"),
proto.webcast.data.SeasonBasicInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.SeasonBasicInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.SeasonBasicInfo.displayName = "proto.webcast.data.SeasonBasicInfo"),
proto.webcast.data.SeasonExtraBasicInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.SeasonExtraBasicInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.SeasonExtraBasicInfo.displayName = "proto.webcast.data.SeasonExtraBasicInfo"),
proto.webcast.data.ShowGeneralInfo = function(e) {
o.Message.initialize(this, e, 0, 500, null, null)
}
,
r.inherits(proto.webcast.data.ShowGeneralInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ShowGeneralInfo.displayName = "proto.webcast.data.ShowGeneralInfo"),
proto.webcast.data.ShowExperienceInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ShowExperienceInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ShowExperienceInfo.displayName = "proto.webcast.data.ShowExperienceInfo"),
proto.webcast.data.ShowDistributionInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ShowDistributionInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ShowDistributionInfo.displayName = "proto.webcast.data.ShowDistributionInfo"),
proto.webcast.data.ShowSupplyInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ShowSupplyInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ShowSupplyInfo.displayName = "proto.webcast.data.ShowSupplyInfo"),
proto.webcast.data.PlayerProgressBarSkin = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.PlayerProgressBarSkin, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.PlayerProgressBarSkin.displayName = "proto.webcast.data.PlayerProgressBarSkin"),
proto.webcast.data.ShowCenterShowInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ShowCenterShowInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ShowCenterShowInfo.displayName = "proto.webcast.data.ShowCenterShowInfo"),
proto.webcast.data.EpisodeCorrelationSeasonInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.EpisodeCorrelationSeasonInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.EpisodeCorrelationSeasonInfo.displayName = "proto.webcast.data.EpisodeCorrelationSeasonInfo"),
proto.webcast.data.PCInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.PCInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.PCInfo.displayName = "proto.webcast.data.PCInfo"),
proto.webcast.data.SearchInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.SearchInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.SearchInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.SearchInfo.displayName = "proto.webcast.data.SearchInfo"),
proto.webcast.data.SearchRelationSeasonInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.SearchRelationSeasonInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.SearchRelationSeasonInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.SearchRelationSeasonInfo.displayName = "proto.webcast.data.SearchRelationSeasonInfo"),
proto.webcast.data.ToolbarBackgroundConfig = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ToolbarBackgroundConfig, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ToolbarBackgroundConfig.displayName = "proto.webcast.data.ToolbarBackgroundConfig"),
proto.webcast.data.FreeViewRange = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.FreeViewRange, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.FreeViewRange.displayName = "proto.webcast.data.FreeViewRange"),
proto.webcast.data.EpisodePaidInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.EpisodePaidInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.EpisodePaidInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.EpisodePaidInfo.displayName = "proto.webcast.data.EpisodePaidInfo"),
proto.webcast.data.Watermark = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.Watermark.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.Watermark, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.Watermark.displayName = "proto.webcast.data.Watermark"),
proto.webcast.data.WatermarkIcon = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.WatermarkIcon, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.WatermarkIcon.displayName = "proto.webcast.data.WatermarkIcon"),
proto.webcast.data.ItemComment = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.ItemComment, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ItemComment.displayName = "proto.webcast.data.ItemComment"),
proto.webcast.data.EpisodeHighLight = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.EpisodeHighLight, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.EpisodeHighLight.displayName = "proto.webcast.data.EpisodeHighLight"),
proto.webcast.data.EpisodeStartHighLight = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.EpisodeStartHighLight, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.EpisodeStartHighLight.displayName = "proto.webcast.data.EpisodeStartHighLight"),
proto.webcast.data.CommentTcsInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.CommentTcsInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.CommentTcsInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.CommentTcsInfo.displayName = "proto.webcast.data.CommentTcsInfo"),
proto.webcast.data.Share = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.Share, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.Share.displayName = "proto.webcast.data.Share"),
proto.webcast.data.MoreHighlight = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.MoreHighlight.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.MoreHighlight, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.MoreHighlight.displayName = "proto.webcast.data.MoreHighlight"),
proto.webcast.data.MoreEntry = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.MoreEntry.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.MoreEntry, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.MoreEntry.displayName = "proto.webcast.data.MoreEntry"),
proto.webcast.data.MoreHighLightList = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.MoreHighLightList.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.MoreHighLightList, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.MoreHighLightList.displayName = "proto.webcast.data.MoreHighLightList"),
proto.webcast.data.UserStatistics = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.UserStatistics, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.UserStatistics.displayName = "proto.webcast.data.UserStatistics"),
proto.webcast.data.SegmentFlowTime = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.SegmentFlowTime, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.SegmentFlowTime.displayName = "proto.webcast.data.SegmentFlowTime"),
proto.webcast.data.Statistics = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.Statistics, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.Statistics.displayName = "proto.webcast.data.Statistics"),
proto.webcast.data.VideoModelContainer = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.VideoModelContainer, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.VideoModelContainer.displayName = "proto.webcast.data.VideoModelContainer"),
proto.webcast.data.VideoPlayInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.VideoPlayInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.VideoPlayInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.VideoPlayInfo.displayName = "proto.webcast.data.VideoPlayInfo"),
proto.webcast.data.VideoPlayInfo.Url = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.VideoPlayInfo.Url, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.VideoPlayInfo.Url.displayName = "proto.webcast.data.VideoPlayInfo.Url"),
proto.webcast.data.DefinitionInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.DefinitionInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.DefinitionInfo.displayName = "proto.webcast.data.DefinitionInfo"),
proto.webcast.data.VideoInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.VideoInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.VideoInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.VideoInfo.displayName = "proto.webcast.data.VideoInfo"),
proto.webcast.data.VideoInfo.StartLocation = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.VideoInfo.StartLocation, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.VideoInfo.StartLocation.displayName = "proto.webcast.data.VideoInfo.StartLocation"),
proto.webcast.data.VideoInfo.Size = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.VideoInfo.Size, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.VideoInfo.Size.displayName = "proto.webcast.data.VideoInfo.Size"),
proto.webcast.data.CommentSpecialEffectData = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.CommentSpecialEffectData.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.CommentSpecialEffectData, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.CommentSpecialEffectData.displayName = "proto.webcast.data.CommentSpecialEffectData"),
proto.webcast.data.CommentSpecialEffectData.TimeRange = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.CommentSpecialEffectData.TimeRange, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.CommentSpecialEffectData.TimeRange.displayName = "proto.webcast.data.CommentSpecialEffectData.TimeRange"),
proto.webcast.data.StreamVideoMeta = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.StreamVideoMeta, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.StreamVideoMeta.displayName = "proto.webcast.data.StreamVideoMeta"),
proto.webcast.data.StreamVideoMeta.StreamLocation = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.StreamVideoMeta.StreamLocation, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.StreamVideoMeta.StreamLocation.displayName = "proto.webcast.data.StreamVideoMeta.StreamLocation"),
proto.webcast.data.ReplayStreamUrl = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.ReplayStreamUrl.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.ReplayStreamUrl, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.ReplayStreamUrl.displayName = "proto.webcast.data.ReplayStreamUrl"),
proto.webcast.data.StreamAddr = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.StreamAddr, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.StreamAddr.displayName = "proto.webcast.data.StreamAddr"),
proto.webcast.data.OnlyTaSegment = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.OnlyTaSegment, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.OnlyTaSegment.displayName = "proto.webcast.data.OnlyTaSegment"),
proto.webcast.data.OnlyTaSegments = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.OnlyTaSegments.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.OnlyTaSegments, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.OnlyTaSegments.displayName = "proto.webcast.data.OnlyTaSegments"),
proto.webcast.data.OnlyTaInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.OnlyTaInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.OnlyTaInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.OnlyTaInfo.displayName = "proto.webcast.data.OnlyTaInfo"),
proto.webcast.data.EpisodeExtra = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.EpisodeExtra, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.EpisodeExtra.displayName = "proto.webcast.data.EpisodeExtra"),
proto.webcast.data.AlbumItem = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.AlbumItem, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.AlbumItem.displayName = "proto.webcast.data.AlbumItem"),
proto.webcast.data.SeasonAlbumTab = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.SeasonAlbumTab.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.SeasonAlbumTab, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.SeasonAlbumTab.displayName = "proto.webcast.data.SeasonAlbumTab"),
proto.webcast.data.EpisodeActors = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.EpisodeActors, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.EpisodeActors.displayName = "proto.webcast.data.EpisodeActors"),
proto.webcast.data.SeasonBriefInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.SeasonBriefInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.SeasonBriefInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.SeasonBriefInfo.displayName = "proto.webcast.data.SeasonBriefInfo"),
proto.webcast.data.Season = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.Season.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.Season, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.Season.displayName = "proto.webcast.data.Season"),
proto.webcast.data.MultiSeasonInfo = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.MultiSeasonInfo.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.MultiSeasonInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.MultiSeasonInfo.displayName = "proto.webcast.data.MultiSeasonInfo"),
proto.webcast.data.SeasonTag = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.SeasonTag, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.SeasonTag.displayName = "proto.webcast.data.SeasonTag"),
proto.webcast.data.VarietyShow = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.VarietyShow.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.VarietyShow, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.VarietyShow.displayName = "proto.webcast.data.VarietyShow"),
proto.webcast.data.TopicInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.TopicInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.TopicInfo.displayName = "proto.webcast.data.TopicInfo"),
proto.webcast.data.TopicMeta = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.TopicMeta.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.TopicMeta, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.TopicMeta.displayName = "proto.webcast.data.TopicMeta"),
proto.webcast.data.TimePoint = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.TimePoint, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.TimePoint.displayName = "proto.webcast.data.TimePoint"),
proto.webcast.data.FeedsVSInfo = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.FeedsVSInfo, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.FeedsVSInfo.displayName = "proto.webcast.data.FeedsVSInfo"),
proto.webcast.data.UserFilterKeyword = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.UserFilterKeyword, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.UserFilterKeyword.displayName = "proto.webcast.data.UserFilterKeyword"),
proto.webcast.data.MoreSeason = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.MoreSeason.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.MoreSeason, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.MoreSeason.displayName = "proto.webcast.data.MoreSeason"),
proto.webcast.data.VSSearchData = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.VSSearchData.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.VSSearchData, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.VSSearchData.displayName = "proto.webcast.data.VSSearchData"),
proto.webcast.data.SearchLoadMoreData = function(e) {
o.Message.initialize(this, e, 0, -1, proto.webcast.data.SearchLoadMoreData.repeatedFields_, null)
}
,
r.inherits(proto.webcast.data.SearchLoadMoreData, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.SearchLoadMoreData.displayName = "proto.webcast.data.SearchLoadMoreData"),
proto.webcast.data.SearchLoadMoreData.SearchData = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.SearchLoadMoreData.SearchData, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.SearchLoadMoreData.SearchData.displayName = "proto.webcast.data.SearchLoadMoreData.SearchData"),
proto.webcast.data.Episode.repeatedFields_ = [20, 27, 29, 32, 54, 60],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.Episode.prototype.toObject = function(e) {
return proto.webcast.data.Episode.toObject(e, this)
}
,
proto.webcast.data.Episode.toObject = function(e, t) {
var a, r = {
episodeId: o.Message.getFieldWithDefault(t, 1, "0"),
episodeIdStr: o.Message.getFieldWithDefault(t, 2, ""),
itemId: o.Message.getFieldWithDefault(t, 3, ""),
status: o.Message.getFieldWithDefault(t, 4, 0),
owner: (a = t.getOwner()) && n.User.toObject(e, a),
ownerUserId: o.Message.getFieldWithDefault(t, 6, "0"),
title: o.Message.getFieldWithDefault(t, 7, ""),
watchInfo: (a = t.getWatchInfo()) && d.WatchInfo.toObject(e, a),
background: (a = t.getBackground()) && g.Image.toObject(e, a),
releaseTime: o.Message.getFieldWithDefault(t, 10, ""),
attachRoomId: o.Message.getFieldWithDefault(t, 11, "0"),
attachRoomIdStr: o.Message.getFieldWithDefault(t, 12, ""),
liveId: o.Message.getFieldWithDefault(t, 13, "0"),
currentPeriod: o.Message.getFieldWithDefault(t, 14, ""),
seasonId: o.Message.getFieldWithDefault(t, 15, "0"),
cover: (a = t.getCover()) && g.Image.toObject(e, a),
coverVertical: (a = t.getCoverVertical()) && g.Image.toObject(e, a),
share: (a = t.getShare()) && proto.webcast.data.Share.toObject(e, a),
videoInfo: (a = t.getVideoInfo()) && proto.webcast.data.VideoInfo.toObject(e, a),
highlightsList: o.Message.toObjectList(t.getHighlightsList(), proto.webcast.data.EpisodeHighLight.toObject, e),
moreHighLightList: (a = t.getMoreHighLightList()) && proto.webcast.data.MoreHighLightList.toObject(e, a),
statistics: (a = t.getStatistics()) && proto.webcast.data.Statistics.toObject(e, a),
episodeType: (a = t.getEpisodeType()) && d.EpisodeMod.toObject(e, a),
userStatistics: (a = t.getUserStatistics()) && proto.webcast.data.UserStatistics.toObject(e, a),
onlyTa: (a = t.getOnlyTa()) && proto.webcast.data.OnlyTaInfo.toObject(e, a),
selectionUrl: o.Message.getFieldWithDefault(t, 26, ""),
toolbarListList: o.Message.toObjectList(t.getToolbarListList(), d.ToolbarItemConfig.toObject, e),
relationPlaceText: o.Message.getFieldWithDefault(t, 28, ""),
operationPlaceTextListList: null == (a = o.Message.getRepeatedField(t, 29)) ? void 0 : a,
showName: o.Message.getFieldWithDefault(t, 30, ""),
briefInfoJson: o.Message.getFieldWithDefault(t, 31, ""),
topicListList: o.Message.toObjectList(t.getTopicListList(), proto.webcast.data.TopicInfo.toObject, e),
roomAuth: (a = t.getRoomAuth()) && d.RoomAuthStatus.toObject(e, a),
collected: o.Message.getBooleanFieldWithDefault(t, 34, !1),
roomId: o.Message.getFieldWithDefault(t, 35, "0"),
topicInfoUrl: o.Message.getFieldWithDefault(t, 36, ""),
watchPeriod: o.Message.getFieldWithDefault(t, 37, "0"),
latestPeriod: o.Message.getFieldWithDefault(t, 38, "0"),
commentTcsInfo: (a = t.getCommentTcsInfo()) && proto.webcast.data.CommentTcsInfo.toObject(e, a),
seasonIdStr: o.Message.getFieldWithDefault(t, 40, ""),
currentPeriodRaw: o.Message.getFieldWithDefault(t, 41, 0),
hasCommerceGoods: o.Message.getBooleanFieldWithDefault(t, 42, !1),
roomCart: (a = t.getRoomCart()) && d.RoomCart.toObject(e, a),
lastWatchPeriod: o.Message.getFieldWithDefault(t, 44, 0),
watchPvRaw: o.Message.getFieldWithDefault(t, 45, ""),
nextSpecialEpisodeId: o.Message.getFieldWithDefault(t, 46, "0"),
style: o.Message.getFieldWithDefault(t, 47, 0),
playControl: (a = t.getPlayControl()) && p.EpisodePremierePlay.toObject(e, a),
previewImage: (a = t.getPreviewImage()) && p.EpisodePreviewImage.toObject(e, a),
giftPannel: (a = t.getGiftPannel()) && p.VSGiftPannel.toObject(e, a),
pannelIcon: (a = t.getPannelIcon()) && p.VSPannelIcon.toObject(e, a),
topicMeta: (a = t.getTopicMeta()) && proto.webcast.data.TopicMeta.toObject(e, a),
lynxTopicInfoUrl: o.Message.getFieldWithDefault(t, 53, ""),
pannelToolbarList: o.Message.toObjectList(t.getPannelToolbarList(), d.ToolbarItemConfig.toObject, e),
previewBottom: (a = t.getPreviewBottom()) && p.EpisodePreviewBottom.toObject(e, a),
drawSubTitle: o.Message.getFieldWithDefault(t, 56, ""),
seasonPv: o.Message.getFieldWithDefault(t, 57, 0),
seasonCoverVertical: (a = t.getSeasonCoverVertical()) && g.Image.toObject(e, a),
playerExtentionConfig: o.Message.getFieldWithDefault(t, 59, ""),
cameraInfosList: o.Message.toObjectList(t.getCameraInfosList(), d.VSCameraInfo.toObject, e),
defaultCameraId: o.Message.getFieldWithDefault(t, 61, "0"),
defaultCameraIdStr: o.Message.getFieldWithDefault(t, 62, ""),
playerExtentionConfigH5: o.Message.getFieldWithDefault(t, 63, ""),
previewBackground: (a = t.getPreviewBackground()) && g.Image.toObject(e, a),
startHlFirst: o.Message.getBooleanFieldWithDefault(t, 65, !1),
startHl: (a = t.getStartHl()) && proto.webcast.data.EpisodeStartHighLight.toObject(e, a),
watchPeriodTextV2: o.Message.getFieldWithDefault(t, 67, ""),
priorityCameraId: o.Message.getFieldWithDefault(t, 68, "0"),
priorityCamera: (a = t.getPriorityCamera()) && d.VSCameraInfo.toObject(e, a),
multiSeasonTag: o.Message.getFieldWithDefault(t, 70, ""),
seasonCover: (a = t.getSeasonCover()) && g.Image.toObject(e, a),
latestPeriodStr: o.Message.getFieldWithDefault(t, 72, ""),
seasonUpdateStatus: o.Message.getFieldWithDefault(t, 73, 0),
itemCommentIcon: (a = t.getItemCommentIcon()) && g.Image.toObject(e, a),
itemComment: (a = t.getItemComment()) && proto.webcast.data.ItemComment.toObject(e, a),
watermark: (a = t.getWatermark()) && proto.webcast.data.Watermark.toObject(e, a),
vsWatermark: (a = t.getVsWatermark()) && p.VSWatermark.toObject(e, a),
versionForWebcastRoom: o.Message.getFieldWithDefault(t, 78, "0"),
paidInfo: (a = t.getPaidInfo()) && proto.webcast.data.EpisodePaidInfo.toObject(e, a),
extentionUsingCollect: o.Message.getBooleanFieldWithDefault(t, 80, !1),
seasonTypeName: o.Message.getFieldWithDefault(t, 81, ""),
toolbarBackgroundConfig: (a = t.getToolbarBackgroundConfig()) && proto.webcast.data.ToolbarBackgroundConfig.toObject(e, a),
vsBar: (a = t.getVsBar()) && p.VSBar.toObject(e, a),
searchInfo: (a = t.getSearchInfo()) && proto.webcast.data.SearchInfo.toObject(e, a),
seasonWatchInfo: (a = t.getSeasonWatchInfo()) && d.WatchInfo.toObject(e, a),
isForceInsert: o.Message.getBooleanFieldWithDefault(t, 86, !1),
indexInAlbumList: o.Message.getFieldWithDefault(t, 87, "0"),
pcInfo: (a = t.getPcInfo()) && proto.webcast.data.PCInfo.toObject(e, a),
linkRoomInfo: (a = t.getLinkRoomInfo()) && d.VSLinkInfo.toObject(e, a),
episodeCorrelationSeasonInfo: (a = t.getEpisodeCorrelationSeasonInfo()) && proto.webcast.data.EpisodeCorrelationSeasonInfo.toObject(e, a),
commentConfig: (a = t.getCommentConfig()) && d.CommentConfig.toObject(e, a),
cameraInfosTableTitle: o.Message.getFieldWithDefault(t, 92, ""),
needRecord: o.Message.getBooleanFieldWithDefault(t, 93, !1),
introduction: o.Message.getFieldWithDefault(t, 94, ""),
liuyanConfig: o.Message.getFieldWithDefault(t, 95, ""),
paidLive: (a = t.getPaidLive()) && proto.webcast.data.PaidLiveInfo.toObject(e, a),
episodeBasicInfo: (a = t.getEpisodeBasicInfo()) && proto.webcast.data.EpisodeBasicInfo.toObject(e, a),
episodeExtraBasicInfo: (a = t.getEpisodeExtraBasicInfo()) && proto.webcast.data.EpisodeExtraBasicInfo.toObject(e, a),
seasonBasicInfo: (a = t.getSeasonBasicInfo()) && proto.webcast.data.SeasonBasicInfo.toObject(e, a),
seasonExtraBasicInfo: (a = t.getSeasonExtraBasicInfo()) && proto.webcast.data.SeasonExtraBasicInfo.toObject(e, a),
showGeneralInfo: (a = t.getShowGeneralInfo()) && proto.webcast.data.ShowGeneralInfo.toObject(e, a),
showExperienceInfo: (a = t.getShowExperienceInfo()) && proto.webcast.data.ShowExperienceInfo.toObject(e, a),
showDistributionInfo: (a = t.getShowDistributionInfo()) && proto.webcast.data.ShowDistributionInfo.toObject(e, a),
showSupplyInfo: (a = t.getShowSupplyInfo()) && proto.webcast.data.ShowSupplyInfo.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.Episode.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.Episode;
return proto.webcast.data.Episode.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.Episode.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setEpisodeId(a);
break;
case 2:
a = t.readString();
e.setEpisodeIdStr(a);
break;
case 3:
a = t.readString();
e.setItemId(a);
break;
case 4:
a = t.readEnum();
e.setStatus(a);
break;
case 5:
a = new n.User;
t.readMessage(a, n.User.deserializeBinaryFromReader),
e.setOwner(a);
break;
case 6:
a = t.readInt64String();
e.setOwnerUserId(a);
break;
case 7:
a = t.readString();
e.setTitle(a);
break;
case 8:
a = new d.WatchInfo;
t.readMessage(a, d.WatchInfo.deserializeBinaryFromReader),
e.setWatchInfo(a);
break;
case 9:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setBackground(a);
break;
case 10:
a = t.readString();
e.setReleaseTime(a);
break;
case 11:
a = t.readInt64String();
e.setAttachRoomId(a);
break;
case 12:
a = t.readString();
e.setAttachRoomIdStr(a);
break;
case 13:
a = t.readInt64String();
e.setLiveId(a);
break;
case 14:
a = t.readString();
e.setCurrentPeriod(a);
break;
case 15:
a = t.readInt64String();
e.setSeasonId(a);
break;
case 16:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setCover(a);
break;
case 17:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setCoverVertical(a);
break;
case 18:
a = new proto.webcast.data.Share;
t.readMessage(a, proto.webcast.data.Share.deserializeBinaryFromReader),
e.setShare(a);
break;
case 19:
a = new proto.webcast.data.VideoInfo;
t.readMessage(a, proto.webcast.data.VideoInfo.deserializeBinaryFromReader),
e.setVideoInfo(a);
break;
case 20:
a = new proto.webcast.data.EpisodeHighLight;
t.readMessage(a, proto.webcast.data.EpisodeHighLight.deserializeBinaryFromReader),
e.addHighlights(a);
break;
case 21:
a = new proto.webcast.data.MoreHighLightList;
t.readMessage(a, proto.webcast.data.MoreHighLightList.deserializeBinaryFromReader),
e.setMoreHighLightList(a);
break;
case 22:
a = new proto.webcast.data.Statistics;
t.readMessage(a, proto.webcast.data.Statistics.deserializeBinaryFromReader),
e.setStatistics(a);
break;
case 23:
a = new d.EpisodeMod;
t.readMessage(a, d.EpisodeMod.deserializeBinaryFromReader),
e.setEpisodeType(a);
break;
case 24:
a = new proto.webcast.data.UserStatistics;
t.readMessage(a, proto.webcast.data.UserStatistics.deserializeBinaryFromReader),
e.setUserStatistics(a);
break;
case 25:
a = new proto.webcast.data.OnlyTaInfo;
t.readMessage(a, proto.webcast.data.OnlyTaInfo.deserializeBinaryFromReader),
e.setOnlyTa(a);
break;
case 26:
a = t.readString();
e.setSelectionUrl(a);
break;
case 27:
a = new d.ToolbarItemConfig;
t.readMessage(a, d.ToolbarItemConfig.deserializeBinaryFromReader),
e.addToolbarList(a);
break;
case 28:
a = t.readString();
e.setRelationPlaceText(a);
break;
case 29:
a = t.readString();
e.addOperationPlaceTextList(a);
break;
case 30:
a = t.readString();
e.setShowName(a);
break;
case 31:
a = t.readString();
e.setBriefInfoJson(a);
break;
case 32:
a = new proto.webcast.data.TopicInfo;
t.readMessage(a, proto.webcast.data.TopicInfo.deserializeBinaryFromReader),
e.addTopicList(a);
break;
case 33:
a = new d.RoomAuthStatus;
t.readMessage(a, d.RoomAuthStatus.deserializeBinaryFromReader),
e.setRoomAuth(a);
break;
case 34:
a = t.readBool();
e.setCollected(a);
break;
case 35:
a = t.readInt64String();
e.setRoomId(a);
break;
case 36:
a = t.readString();
e.setTopicInfoUrl(a);
break;
case 37:
a = t.readInt64String();
e.setWatchPeriod(a);
break;
case 38:
a = t.readInt64String();
e.setLatestPeriod(a);
break;
case 39:
a = new proto.webcast.data.CommentTcsInfo;
t.readMessage(a, proto.webcast.data.CommentTcsInfo.deserializeBinaryFromReader),
e.setCommentTcsInfo(a);
break;
case 40:
a = t.readString();
e.setSeasonIdStr(a);
break;
case 41:
a = t.readInt32();
e.setCurrentPeriodRaw(a);
break;
case 42:
a = t.readBool();
e.setHasCommerceGoods(a);
break;
case 43:
a = new d.RoomCart;
t.readMessage(a, d.RoomCart.deserializeBinaryFromReader),
e.setRoomCart(a);
break;
case 44:
a = t.readInt32();
e.setLastWatchPeriod(a);
break;
case 45:
a = t.readString();
e.setWatchPvRaw(a);
break;
case 46:
a = t.readInt64String();
e.setNextSpecialEpisodeId(a);
break;
case 47:
a = t.readEnum();
e.setStyle(a);
break;
case 48:
a = new p.EpisodePremierePlay;
t.readMessage(a, p.EpisodePremierePlay.deserializeBinaryFromReader),
e.setPlayControl(a);
break;
case 49:
a = new p.EpisodePreviewImage;
t.readMessage(a, p.EpisodePreviewImage.deserializeBinaryFromReader),
e.setPreviewImage(a);
break;
case 50:
a = new p.VSGiftPannel;
t.readMessage(a, p.VSGiftPannel.deserializeBinaryFromReader),
e.setGiftPannel(a);
break;
case 51:
a = new p.VSPannelIcon;
t.readMessage(a, p.VSPannelIcon.deserializeBinaryFromReader),
e.setPannelIcon(a);
break;
case 52:
a = new proto.webcast.data.TopicMeta;
t.readMessage(a, proto.webcast.data.TopicMeta.deserializeBinaryFromReader),
e.setTopicMeta(a);
break;
case 53:
a = t.readString();
e.setLynxTopicInfoUrl(a);
break;
case 54:
a = new d.ToolbarItemConfig;
t.readMessage(a, d.ToolbarItemConfig.deserializeBinaryFromReader),
e.addPannelToolbar(a);
break;
case 55:
a = new p.EpisodePreviewBottom;
t.readMessage(a, p.EpisodePreviewBottom.deserializeBinaryFromReader),
e.setPreviewBottom(a);
break;
case 56:
a = t.readString();
e.setDrawSubTitle(a);
break;
case 57:
a = t.readInt64();
e.setSeasonPv(a);
break;
case 58:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setSeasonCoverVertical(a);
break;
case 59:
a = t.readString();
e.setPlayerExtentionConfig(a);
break;
case 60:
a = new d.VSCameraInfo;
t.readMessage(a, d.VSCameraInfo.deserializeBinaryFromReader),
e.addCameraInfos(a);
break;
case 61:
a = t.readInt64String();
e.setDefaultCameraId(a);
break;
case 62:
a = t.readString();
e.setDefaultCameraIdStr(a);
break;
case 63:
a = t.readString();
e.setPlayerExtentionConfigH5(a);
break;
case 64:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setPreviewBackground(a);
break;
case 65:
a = t.readBool();
e.setStartHlFirst(a);
break;
case 66:
a = new proto.webcast.data.EpisodeStartHighLight;
t.readMessage(a, proto.webcast.data.EpisodeStartHighLight.deserializeBinaryFromReader),
e.setStartHl(a);
break;
case 67:
a = t.readString();
e.setWatchPeriodTextV2(a);
break;
case 68:
a = t.readInt64String();
e.setPriorityCameraId(a);
break;
case 69:
a = new d.VSCameraInfo;
t.readMessage(a, d.VSCameraInfo.deserializeBinaryFromReader),
e.setPriorityCamera(a);
break;
case 70:
a = t.readString();
e.setMultiSeasonTag(a);
break;
case 71:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setSeasonCover(a);
break;
case 72:
a = t.readString();
e.setLatestPeriodStr(a);
break;
case 73:
a = t.readEnum();
e.setSeasonUpdateStatus(a);
break;
case 74:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setItemCommentIcon(a);
break;
case 75:
a = new proto.webcast.data.ItemComment;
t.readMessage(a, proto.webcast.data.ItemComment.deserializeBinaryFromReader),
e.setItemComment(a);
break;
case 76:
a = new proto.webcast.data.Watermark;
t.readMessage(a, proto.webcast.data.Watermark.deserializeBinaryFromReader),
e.setWatermark(a);
break;
case 77:
a = new p.VSWatermark;
t.readMessage(a, p.VSWatermark.deserializeBinaryFromReader),
e.setVsWatermark(a);
break;
case 78:
a = t.readInt64String();
e.setVersionForWebcastRoom(a);
break;
case 79:
a = new proto.webcast.data.EpisodePaidInfo;
t.readMessage(a, proto.webcast.data.EpisodePaidInfo.deserializeBinaryFromReader),
e.setPaidInfo(a);
break;
case 80:
a = t.readBool();
e.setExtentionUsingCollect(a);
break;
case 81:
a = t.readString();
e.setSeasonTypeName(a);
break;
case 82:
a = new proto.webcast.data.ToolbarBackgroundConfig;
t.readMessage(a, proto.webcast.data.ToolbarBackgroundConfig.deserializeBinaryFromReader),
e.setToolbarBackgroundConfig(a);
break;
case 83:
a = new p.VSBar;
t.readMessage(a, p.VSBar.deserializeBinaryFromReader),
e.setVsBar(a);
break;
case 84:
a = new proto.webcast.data.SearchInfo;
t.readMessage(a, proto.webcast.data.SearchInfo.deserializeBinaryFromReader),
e.setSearchInfo(a);
break;
case 85:
a = new d.WatchInfo;
t.readMessage(a, d.WatchInfo.deserializeBinaryFromReader),
e.setSeasonWatchInfo(a);
break;
case 86:
a = t.readBool();
e.setIsForceInsert(a);
break;
case 87:
a = t.readInt64String();
e.setIndexInAlbumList(a);
break;
case 88:
a = new proto.webcast.data.PCInfo;
t.readMessage(a, proto.webcast.data.PCInfo.deserializeBinaryFromReader),
e.setPcInfo(a);
break;
case 89:
a = new d.VSLinkInfo;
t.readMessage(a, d.VSLinkInfo.deserializeBinaryFromReader),
e.setLinkRoomInfo(a);
break;
case 90:
a = new proto.webcast.data.EpisodeCorrelationSeasonInfo;
t.readMessage(a, proto.webcast.data.EpisodeCorrelationSeasonInfo.deserializeBinaryFromReader),
e.setEpisodeCorrelationSeasonInfo(a);
break;
case 91:
a = new d.CommentConfig;
t.readMessage(a, d.CommentConfig.deserializeBinaryFromReader),
e.setCommentConfig(a);
break;
case 92:
a = t.readString();
e.setCameraInfosTableTitle(a);
break;
case 93:
a = t.readBool();
e.setNeedRecord(a);
break;
case 94:
a = t.readString();
e.setIntroduction(a);
break;
case 95:
a = t.readString();
e.setLiuyanConfig(a);
break;
case 96:
a = new proto.webcast.data.PaidLiveInfo;
t.readMessage(a, proto.webcast.data.PaidLiveInfo.deserializeBinaryFromReader),
e.setPaidLive(a);
break;
case 100:
a = new proto.webcast.data.EpisodeBasicInfo;
t.readMessage(a, proto.webcast.data.EpisodeBasicInfo.deserializeBinaryFromReader),
e.setEpisodeBasicInfo(a);
break;
case 200:
a = new proto.webcast.data.EpisodeExtraBasicInfo;
t.readMessage(a, proto.webcast.data.EpisodeExtraBasicInfo.deserializeBinaryFromReader),
e.setEpisodeExtraBasicInfo(a);
break;
case 300:
a = new proto.webcast.data.SeasonBasicInfo;
t.readMessage(a, proto.webcast.data.SeasonBasicInfo.deserializeBinaryFromReader),
e.setSeasonBasicInfo(a);
break;
case 400:
a = new proto.webcast.data.SeasonExtraBasicInfo;
t.readMessage(a, proto.webcast.data.SeasonExtraBasicInfo.deserializeBinaryFromReader),
e.setSeasonExtraBasicInfo(a);
break;
case 500:
a = new proto.webcast.data.ShowGeneralInfo;
t.readMessage(a, proto.webcast.data.ShowGeneralInfo.deserializeBinaryFromReader),
e.setShowGeneralInfo(a);
break;
case 600:
a = new proto.webcast.data.ShowExperienceInfo;
t.readMessage(a, proto.webcast.data.ShowExperienceInfo.deserializeBinaryFromReader),
e.setShowExperienceInfo(a);
break;
case 700:
a = new proto.webcast.data.ShowDistributionInfo;
t.readMessage(a, proto.webcast.data.ShowDistributionInfo.deserializeBinaryFromReader),
e.setShowDistributionInfo(a);
break;
case 800:
a = new proto.webcast.data.ShowSupplyInfo;
t.readMessage(a, proto.webcast.data.ShowSupplyInfo.deserializeBinaryFromReader),
e.setShowSupplyInfo(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.Episode.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.Episode.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.Episode.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getEpisodeId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getEpisodeIdStr()).length > 0 && t.writeString(2, a),
(a = e.getItemId()).length > 0 && t.writeString(3, a),
0 !== (a = e.getStatus()) && t.writeEnum(4, a),
null != (a = e.getOwner()) && t.writeMessage(5, a, n.User.serializeBinaryToWriter),
a = e.getOwnerUserId(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a),
(a = e.getTitle()).length > 0 && t.writeString(7, a),
null != (a = e.getWatchInfo()) && t.writeMessage(8, a, d.WatchInfo.serializeBinaryToWriter),
null != (a = e.getBackground()) && t.writeMessage(9, a, g.Image.serializeBinaryToWriter),
(a = e.getReleaseTime()).length > 0 && t.writeString(10, a),
a = e.getAttachRoomId(),
0 !== parseInt(a, 10) && t.writeInt64String(11, a),
(a = e.getAttachRoomIdStr()).length > 0 && t.writeString(12, a),
a = e.getLiveId(),
0 !== parseInt(a, 10) && t.writeInt64String(13, a),
(a = e.getCurrentPeriod()).length > 0 && t.writeString(14, a),
a = e.getSeasonId(),
0 !== parseInt(a, 10) && t.writeInt64String(15, a),
null != (a = e.getCover()) && t.writeMessage(16, a, g.Image.serializeBinaryToWriter),
null != (a = e.getCoverVertical()) && t.writeMessage(17, a, g.Image.serializeBinaryToWriter),
null != (a = e.getShare()) && t.writeMessage(18, a, proto.webcast.data.Share.serializeBinaryToWriter),
null != (a = e.getVideoInfo()) && t.writeMessage(19, a, proto.webcast.data.VideoInfo.serializeBinaryToWriter),
(a = e.getHighlightsList()).length > 0 && t.writeRepeatedMessage(20, a, proto.webcast.data.EpisodeHighLight.serializeBinaryToWriter),
null != (a = e.getMoreHighLightList()) && t.writeMessage(21, a, proto.webcast.data.MoreHighLightList.serializeBinaryToWriter),
null != (a = e.getStatistics()) && t.writeMessage(22, a, proto.webcast.data.Statistics.serializeBinaryToWriter),
null != (a = e.getEpisodeType()) && t.writeMessage(23, a, d.EpisodeMod.serializeBinaryToWriter),
null != (a = e.getUserStatistics()) && t.writeMessage(24, a, proto.webcast.data.UserStatistics.serializeBinaryToWriter),
null != (a = e.getOnlyTa()) && t.writeMessage(25, a, proto.webcast.data.OnlyTaInfo.serializeBinaryToWriter),
(a = e.getSelectionUrl()).length > 0 && t.writeString(26, a),
(a = e.getToolbarListList()).length > 0 && t.writeRepeatedMessage(27, a, d.ToolbarItemConfig.serializeBinaryToWriter),
(a = e.getRelationPlaceText()).length > 0 && t.writeString(28, a),
(a = e.getOperationPlaceTextListList()).length > 0 && t.writeRepeatedString(29, a),
(a = e.getShowName()).length > 0 && t.writeString(30, a),
(a = e.getBriefInfoJson()).length > 0 && t.writeString(31, a),
(a = e.getTopicListList()).length > 0 && t.writeRepeatedMessage(32, a, proto.webcast.data.TopicInfo.serializeBinaryToWriter),
null != (a = e.getRoomAuth()) && t.writeMessage(33, a, d.RoomAuthStatus.serializeBinaryToWriter),
(a = e.getCollected()) && t.writeBool(34, a),
a = e.getRoomId(),
0 !== parseInt(a, 10) && t.writeInt64String(35, a),
(a = e.getTopicInfoUrl()).length > 0 && t.writeString(36, a),
a = e.getWatchPeriod(),
0 !== parseInt(a, 10) && t.writeInt64String(37, a),
a = e.getLatestPeriod(),
0 !== parseInt(a, 10) && t.writeInt64String(38, a),
null != (a = e.getCommentTcsInfo()) && t.writeMessage(39, a, proto.webcast.data.CommentTcsInfo.serializeBinaryToWriter),
(a = e.getSeasonIdStr()).length > 0 && t.writeString(40, a),
0 !== (a = e.getCurrentPeriodRaw()) && t.writeInt32(41, a),
(a = e.getHasCommerceGoods()) && t.writeBool(42, a),
null != (a = e.getRoomCart()) && t.writeMessage(43, a, d.RoomCart.serializeBinaryToWriter),
0 !== (a = e.getLastWatchPeriod()) && t.writeInt32(44, a),
(a = e.getWatchPvRaw()).length > 0 && t.writeString(45, a),
a = e.getNextSpecialEpisodeId(),
0 !== parseInt(a, 10) && t.writeInt64String(46, a),
0 !== (a = e.getStyle()) && t.writeEnum(47, a),
null != (a = e.getPlayControl()) && t.writeMessage(48, a, p.EpisodePremierePlay.serializeBinaryToWriter),
null != (a = e.getPreviewImage()) && t.writeMessage(49, a, p.EpisodePreviewImage.serializeBinaryToWriter),
null != (a = e.getGiftPannel()) && t.writeMessage(50, a, p.VSGiftPannel.serializeBinaryToWriter),
null != (a = e.getPannelIcon()) && t.writeMessage(51, a, p.VSPannelIcon.serializeBinaryToWriter),
null != (a = e.getTopicMeta()) && t.writeMessage(52, a, proto.webcast.data.TopicMeta.serializeBinaryToWriter),
(a = e.getLynxTopicInfoUrl()).length > 0 && t.writeString(53, a),
(a = e.getPannelToolbarList()).length > 0 && t.writeRepeatedMessage(54, a, d.ToolbarItemConfig.serializeBinaryToWriter),
null != (a = e.getPreviewBottom()) && t.writeMessage(55, a, p.EpisodePreviewBottom.serializeBinaryToWriter),
(a = e.getDrawSubTitle()).length > 0 && t.writeString(56, a),
0 !== (a = e.getSeasonPv()) && t.writeInt64(57, a),
null != (a = e.getSeasonCoverVertical()) && t.writeMessage(58, a, g.Image.serializeBinaryToWriter),
(a = e.getPlayerExtentionConfig()).length > 0 && t.writeString(59, a),
(a = e.getCameraInfosList()).length > 0 && t.writeRepeatedMessage(60, a, d.VSCameraInfo.serializeBinaryToWriter),
a = e.getDefaultCameraId(),
0 !== parseInt(a, 10) && t.writeInt64String(61, a),
(a = e.getDefaultCameraIdStr()).length > 0 && t.writeString(62, a),
(a = e.getPlayerExtentionConfigH5()).length > 0 && t.writeString(63, a),
null != (a = e.getPreviewBackground()) && t.writeMessage(64, a, g.Image.serializeBinaryToWriter),
(a = e.getStartHlFirst()) && t.writeBool(65, a),
null != (a = e.getStartHl()) && t.writeMessage(66, a, proto.webcast.data.EpisodeStartHighLight.serializeBinaryToWriter),
(a = e.getWatchPeriodTextV2()).length > 0 && t.writeString(67, a),
a = e.getPriorityCameraId(),
0 !== parseInt(a, 10) && t.writeInt64String(68, a),
null != (a = e.getPriorityCamera()) && t.writeMessage(69, a, d.VSCameraInfo.serializeBinaryToWriter),
(a = e.getMultiSeasonTag()).length > 0 && t.writeString(70, a),
null != (a = e.getSeasonCover()) && t.writeMessage(71, a, g.Image.serializeBinaryToWriter),
(a = e.getLatestPeriodStr()).length > 0 && t.writeString(72, a),
0 !== (a = e.getSeasonUpdateStatus()) && t.writeEnum(73, a),
null != (a = e.getItemCommentIcon()) && t.writeMessage(74, a, g.Image.serializeBinaryToWriter),
null != (a = e.getItemComment()) && t.writeMessage(75, a, proto.webcast.data.ItemComment.serializeBinaryToWriter),
null != (a = e.getWatermark()) && t.writeMessage(76, a, proto.webcast.data.Watermark.serializeBinaryToWriter),
null != (a = e.getVsWatermark()) && t.writeMessage(77, a, p.VSWatermark.serializeBinaryToWriter),
a = e.getVersionForWebcastRoom(),
0 !== parseInt(a, 10) && t.writeInt64String(78, a),
null != (a = e.getPaidInfo()) && t.writeMessage(79, a, proto.webcast.data.EpisodePaidInfo.serializeBinaryToWriter),
(a = e.getExtentionUsingCollect()) && t.writeBool(80, a),
(a = e.getSeasonTypeName()).length > 0 && t.writeString(81, a),
null != (a = e.getToolbarBackgroundConfig()) && t.writeMessage(82, a, proto.webcast.data.ToolbarBackgroundConfig.serializeBinaryToWriter),
null != (a = e.getVsBar()) && t.writeMessage(83, a, p.VSBar.serializeBinaryToWriter),
null != (a = e.getSearchInfo()) && t.writeMessage(84, a, proto.webcast.data.SearchInfo.serializeBinaryToWriter),
null != (a = e.getSeasonWatchInfo()) && t.writeMessage(85, a, d.WatchInfo.serializeBinaryToWriter),
(a = e.getIsForceInsert()) && t.writeBool(86, a),
a = e.getIndexInAlbumList(),
0 !== parseInt(a, 10) && t.writeInt64String(87, a),
null != (a = e.getPcInfo()) && t.writeMessage(88, a, proto.webcast.data.PCInfo.serializeBinaryToWriter),
null != (a = e.getLinkRoomInfo()) && t.writeMessage(89, a, d.VSLinkInfo.serializeBinaryToWriter),
null != (a = e.getEpisodeCorrelationSeasonInfo()) && t.writeMessage(90, a, proto.webcast.data.EpisodeCorrelationSeasonInfo.serializeBinaryToWriter),
null != (a = e.getCommentConfig()) && t.writeMessage(91, a, d.CommentConfig.serializeBinaryToWriter),
(a = e.getCameraInfosTableTitle()).length > 0 && t.writeString(92, a),
(a = e.getNeedRecord()) && t.writeBool(93, a),
(a = e.getIntroduction()).length > 0 && t.writeString(94, a),
(a = e.getLiuyanConfig()).length > 0 && t.writeString(95, a),
null != (a = e.getPaidLive()) && t.writeMessage(96, a, proto.webcast.data.PaidLiveInfo.serializeBinaryToWriter),
null != (a = e.getEpisodeBasicInfo()) && t.writeMessage(100, a, proto.webcast.data.EpisodeBasicInfo.serializeBinaryToWriter),
null != (a = e.getEpisodeExtraBasicInfo()) && t.writeMessage(200, a, proto.webcast.data.EpisodeExtraBasicInfo.serializeBinaryToWriter),
null != (a = e.getSeasonBasicInfo()) && t.writeMessage(300, a, proto.webcast.data.SeasonBasicInfo.serializeBinaryToWriter),
null != (a = e.getSeasonExtraBasicInfo()) && t.writeMessage(400, a, proto.webcast.data.SeasonExtraBasicInfo.serializeBinaryToWriter),
null != (a = e.getShowGeneralInfo()) && t.writeMessage(500, a, proto.webcast.data.ShowGeneralInfo.serializeBinaryToWriter),
null != (a = e.getShowExperienceInfo()) && t.writeMessage(600, a, proto.webcast.data.ShowExperienceInfo.serializeBinaryToWriter),
null != (a = e.getShowDistributionInfo()) && t.writeMessage(700, a, proto.webcast.data.ShowDistributionInfo.serializeBinaryToWriter),
null != (a = e.getShowSupplyInfo()) && t.writeMessage(800, a, proto.webcast.data.ShowSupplyInfo.serializeBinaryToWriter)
}
,
proto.webcast.data.Episode.prototype.getEpisodeId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.Episode.prototype.setEpisodeId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.Episode.prototype.getEpisodeIdStr = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.Episode.prototype.setEpisodeIdStr = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.Episode.prototype.getItemId = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.Episode.prototype.setItemId = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.Episode.prototype.getStatus = function() {
return o.Message.getFieldWithDefault(this, 4, 0)
}
,
proto.webcast.data.Episode.prototype.setStatus = function(e) {
return o.Message.setProto3EnumField(this, 4, e)
}
,
proto.webcast.data.Episode.prototype.getOwner = function() {
return o.Message.getWrapperField(this, n.User, 5)
}
,
proto.webcast.data.Episode.prototype.setOwner = function(e) {
return o.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.Episode.prototype.clearOwner = function() {
return this.setOwner(void 0)
}
,
proto.webcast.data.Episode.prototype.hasOwner = function() {
return null != o.Message.getField(this, 5)
}
,
proto.webcast.data.Episode.prototype.getOwnerUserId = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.Episode.prototype.setOwnerUserId = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.Episode.prototype.getTitle = function() {
return o.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.Episode.prototype.setTitle = function(e) {
return o.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.Episode.prototype.getWatchInfo = function() {
return o.Message.getWrapperField(this, d.WatchInfo, 8)
}
,
proto.webcast.data.Episode.prototype.setWatchInfo = function(e) {
return o.Message.setWrapperField(this, 8, e)
}
,
proto.webcast.data.Episode.prototype.clearWatchInfo = function() {
return this.setWatchInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasWatchInfo = function() {
return null != o.Message.getField(this, 8)
}
,
proto.webcast.data.Episode.prototype.getBackground = function() {
return o.Message.getWrapperField(this, g.Image, 9)
}
,
proto.webcast.data.Episode.prototype.setBackground = function(e) {
return o.Message.setWrapperField(this, 9, e)
}
,
proto.webcast.data.Episode.prototype.clearBackground = function() {
return this.setBackground(void 0)
}
,
proto.webcast.data.Episode.prototype.hasBackground = function() {
return null != o.Message.getField(this, 9)
}
,
proto.webcast.data.Episode.prototype.getReleaseTime = function() {
return o.Message.getFieldWithDefault(this, 10, "")
}
,
proto.webcast.data.Episode.prototype.setReleaseTime = function(e) {
return o.Message.setProto3StringField(this, 10, e)
}
,
proto.webcast.data.Episode.prototype.getAttachRoomId = function() {
return o.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.Episode.prototype.setAttachRoomId = function(e) {
return o.Message.setProto3StringIntField(this, 11, e)
}
,
proto.webcast.data.Episode.prototype.getAttachRoomIdStr = function() {
return o.Message.getFieldWithDefault(this, 12, "")
}
,
proto.webcast.data.Episode.prototype.setAttachRoomIdStr = function(e) {
return o.Message.setProto3StringField(this, 12, e)
}
,
proto.webcast.data.Episode.prototype.getLiveId = function() {
return o.Message.getFieldWithDefault(this, 13, "0")
}
,
proto.webcast.data.Episode.prototype.setLiveId = function(e) {
return o.Message.setProto3StringIntField(this, 13, e)
}
,
proto.webcast.data.Episode.prototype.getCurrentPeriod = function() {
return o.Message.getFieldWithDefault(this, 14, "")
}
,
proto.webcast.data.Episode.prototype.setCurrentPeriod = function(e) {
return o.Message.setProto3StringField(this, 14, e)
}
,
proto.webcast.data.Episode.prototype.getSeasonId = function() {
return o.Message.getFieldWithDefault(this, 15, "0")
}
,
proto.webcast.data.Episode.prototype.setSeasonId = function(e) {
return o.Message.setProto3StringIntField(this, 15, e)
}
,
proto.webcast.data.Episode.prototype.getCover = function() {
return o.Message.getWrapperField(this, g.Image, 16)
}
,
proto.webcast.data.Episode.prototype.setCover = function(e) {
return o.Message.setWrapperField(this, 16, e)
}
,
proto.webcast.data.Episode.prototype.clearCover = function() {
return this.setCover(void 0)
}
,
proto.webcast.data.Episode.prototype.hasCover = function() {
return null != o.Message.getField(this, 16)
}
,
proto.webcast.data.Episode.prototype.getCoverVertical = function() {
return o.Message.getWrapperField(this, g.Image, 17)
}
,
proto.webcast.data.Episode.prototype.setCoverVertical = function(e) {
return o.Message.setWrapperField(this, 17, e)
}
,
proto.webcast.data.Episode.prototype.clearCoverVertical = function() {
return this.setCoverVertical(void 0)
}
,
proto.webcast.data.Episode.prototype.hasCoverVertical = function() {
return null != o.Message.getField(this, 17)
}
,
proto.webcast.data.Episode.prototype.getShare = function() {
return o.Message.getWrapperField(this, proto.webcast.data.Share, 18)
}
,
proto.webcast.data.Episode.prototype.setShare = function(e) {
return o.Message.setWrapperField(this, 18, e)
}
,
proto.webcast.data.Episode.prototype.clearShare = function() {
return this.setShare(void 0)
}
,
proto.webcast.data.Episode.prototype.hasShare = function() {
return null != o.Message.getField(this, 18)
}
,
proto.webcast.data.Episode.prototype.getVideoInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.VideoInfo, 19)
}
,
proto.webcast.data.Episode.prototype.setVideoInfo = function(e) {
return o.Message.setWrapperField(this, 19, e)
}
,
proto.webcast.data.Episode.prototype.clearVideoInfo = function() {
return this.setVideoInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasVideoInfo = function() {
return null != o.Message.getField(this, 19)
}
,
proto.webcast.data.Episode.prototype.getHighlightsList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.EpisodeHighLight, 20)
}
,
proto.webcast.data.Episode.prototype.setHighlightsList = function(e) {
return o.Message.setRepeatedWrapperField(this, 20, e)
}
,
proto.webcast.data.Episode.prototype.addHighlights = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 20, e, proto.webcast.data.EpisodeHighLight, t)
}
,
proto.webcast.data.Episode.prototype.clearHighlightsList = function() {
return this.setHighlightsList([])
}
,
proto.webcast.data.Episode.prototype.getMoreHighLightList = function() {
return o.Message.getWrapperField(this, proto.webcast.data.MoreHighLightList, 21)
}
,
proto.webcast.data.Episode.prototype.setMoreHighLightList = function(e) {
return o.Message.setWrapperField(this, 21, e)
}
,
proto.webcast.data.Episode.prototype.clearMoreHighLightList = function() {
return this.setMoreHighLightList(void 0)
}
,
proto.webcast.data.Episode.prototype.hasMoreHighLightList = function() {
return null != o.Message.getField(this, 21)
}
,
proto.webcast.data.Episode.prototype.getStatistics = function() {
return o.Message.getWrapperField(this, proto.webcast.data.Statistics, 22)
}
,
proto.webcast.data.Episode.prototype.setStatistics = function(e) {
return o.Message.setWrapperField(this, 22, e)
}
,
proto.webcast.data.Episode.prototype.clearStatistics = function() {
return this.setStatistics(void 0)
}
,
proto.webcast.data.Episode.prototype.hasStatistics = function() {
return null != o.Message.getField(this, 22)
}
,
proto.webcast.data.Episode.prototype.getEpisodeType = function() {
return o.Message.getWrapperField(this, d.EpisodeMod, 23)
}
,
proto.webcast.data.Episode.prototype.setEpisodeType = function(e) {
return o.Message.setWrapperField(this, 23, e)
}
,
proto.webcast.data.Episode.prototype.clearEpisodeType = function() {
return this.setEpisodeType(void 0)
}
,
proto.webcast.data.Episode.prototype.hasEpisodeType = function() {
return null != o.Message.getField(this, 23)
}
,
proto.webcast.data.Episode.prototype.getUserStatistics = function() {
return o.Message.getWrapperField(this, proto.webcast.data.UserStatistics, 24)
}
,
proto.webcast.data.Episode.prototype.setUserStatistics = function(e) {
return o.Message.setWrapperField(this, 24, e)
}
,
proto.webcast.data.Episode.prototype.clearUserStatistics = function() {
return this.setUserStatistics(void 0)
}
,
proto.webcast.data.Episode.prototype.hasUserStatistics = function() {
return null != o.Message.getField(this, 24)
}
,
proto.webcast.data.Episode.prototype.getOnlyTa = function() {
return o.Message.getWrapperField(this, proto.webcast.data.OnlyTaInfo, 25)
}
,
proto.webcast.data.Episode.prototype.setOnlyTa = function(e) {
return o.Message.setWrapperField(this, 25, e)
}
,
proto.webcast.data.Episode.prototype.clearOnlyTa = function() {
return this.setOnlyTa(void 0)
}
,
proto.webcast.data.Episode.prototype.hasOnlyTa = function() {
return null != o.Message.getField(this, 25)
}
,
proto.webcast.data.Episode.prototype.getSelectionUrl = function() {
return o.Message.getFieldWithDefault(this, 26, "")
}
,
proto.webcast.data.Episode.prototype.setSelectionUrl = function(e) {
return o.Message.setProto3StringField(this, 26, e)
}
,
proto.webcast.data.Episode.prototype.getToolbarListList = function() {
return o.Message.getRepeatedWrapperField(this, d.ToolbarItemConfig, 27)
}
,
proto.webcast.data.Episode.prototype.setToolbarListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 27, e)
}
,
proto.webcast.data.Episode.prototype.addToolbarList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 27, e, proto.webcast.data.ToolbarItemConfig, t)
}
,
proto.webcast.data.Episode.prototype.clearToolbarListList = function() {
return this.setToolbarListList([])
}
,
proto.webcast.data.Episode.prototype.getRelationPlaceText = function() {
return o.Message.getFieldWithDefault(this, 28, "")
}
,
proto.webcast.data.Episode.prototype.setRelationPlaceText = function(e) {
return o.Message.setProto3StringField(this, 28, e)
}
,
proto.webcast.data.Episode.prototype.getOperationPlaceTextListList = function() {
return o.Message.getRepeatedField(this, 29)
}
,
proto.webcast.data.Episode.prototype.setOperationPlaceTextListList = function(e) {
return o.Message.setField(this, 29, e || [])
}
,
proto.webcast.data.Episode.prototype.addOperationPlaceTextList = function(e, t) {
return o.Message.addToRepeatedField(this, 29, e, t)
}
,
proto.webcast.data.Episode.prototype.clearOperationPlaceTextListList = function() {
return this.setOperationPlaceTextListList([])
}
,
proto.webcast.data.Episode.prototype.getShowName = function() {
return o.Message.getFieldWithDefault(this, 30, "")
}
,
proto.webcast.data.Episode.prototype.setShowName = function(e) {
return o.Message.setProto3StringField(this, 30, e)
}
,
proto.webcast.data.Episode.prototype.getBriefInfoJson = function() {
return o.Message.getFieldWithDefault(this, 31, "")
}
,
proto.webcast.data.Episode.prototype.setBriefInfoJson = function(e) {
return o.Message.setProto3StringField(this, 31, e)
}
,
proto.webcast.data.Episode.prototype.getTopicListList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.TopicInfo, 32)
}
,
proto.webcast.data.Episode.prototype.setTopicListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 32, e)
}
,
proto.webcast.data.Episode.prototype.addTopicList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 32, e, proto.webcast.data.TopicInfo, t)
}
,
proto.webcast.data.Episode.prototype.clearTopicListList = function() {
return this.setTopicListList([])
}
,
proto.webcast.data.Episode.prototype.getRoomAuth = function() {
return o.Message.getWrapperField(this, d.RoomAuthStatus, 33)
}
,
proto.webcast.data.Episode.prototype.setRoomAuth = function(e) {
return o.Message.setWrapperField(this, 33, e)
}
,
proto.webcast.data.Episode.prototype.clearRoomAuth = function() {
return this.setRoomAuth(void 0)
}
,
proto.webcast.data.Episode.prototype.hasRoomAuth = function() {
return null != o.Message.getField(this, 33)
}
,
proto.webcast.data.Episode.prototype.getCollected = function() {
return o.Message.getBooleanFieldWithDefault(this, 34, !1)
}
,
proto.webcast.data.Episode.prototype.setCollected = function(e) {
return o.Message.setProto3BooleanField(this, 34, e)
}
,
proto.webcast.data.Episode.prototype.getRoomId = function() {
return o.Message.getFieldWithDefault(this, 35, "0")
}
,
proto.webcast.data.Episode.prototype.setRoomId = function(e) {
return o.Message.setProto3StringIntField(this, 35, e)
}
,
proto.webcast.data.Episode.prototype.getTopicInfoUrl = function() {
return o.Message.getFieldWithDefault(this, 36, "")
}
,
proto.webcast.data.Episode.prototype.setTopicInfoUrl = function(e) {
return o.Message.setProto3StringField(this, 36, e)
}
,
proto.webcast.data.Episode.prototype.getWatchPeriod = function() {
return o.Message.getFieldWithDefault(this, 37, "0")
}
,
proto.webcast.data.Episode.prototype.setWatchPeriod = function(e) {
return o.Message.setProto3StringIntField(this, 37, e)
}
,
proto.webcast.data.Episode.prototype.getLatestPeriod = function() {
return o.Message.getFieldWithDefault(this, 38, "0")
}
,
proto.webcast.data.Episode.prototype.setLatestPeriod = function(e) {
return o.Message.setProto3StringIntField(this, 38, e)
}
,
proto.webcast.data.Episode.prototype.getCommentTcsInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.CommentTcsInfo, 39)
}
,
proto.webcast.data.Episode.prototype.setCommentTcsInfo = function(e) {
return o.Message.setWrapperField(this, 39, e)
}
,
proto.webcast.data.Episode.prototype.clearCommentTcsInfo = function() {
return this.setCommentTcsInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasCommentTcsInfo = function() {
return null != o.Message.getField(this, 39)
}
,
proto.webcast.data.Episode.prototype.getSeasonIdStr = function() {
return o.Message.getFieldWithDefault(this, 40, "")
}
,
proto.webcast.data.Episode.prototype.setSeasonIdStr = function(e) {
return o.Message.setProto3StringField(this, 40, e)
}
,
proto.webcast.data.Episode.prototype.getCurrentPeriodRaw = function() {
return o.Message.getFieldWithDefault(this, 41, 0)
}
,
proto.webcast.data.Episode.prototype.setCurrentPeriodRaw = function(e) {
return o.Message.setProto3IntField(this, 41, e)
}
,
proto.webcast.data.Episode.prototype.getHasCommerceGoods = function() {
return o.Message.getBooleanFieldWithDefault(this, 42, !1)
}
,
proto.webcast.data.Episode.prototype.setHasCommerceGoods = function(e) {
return o.Message.setProto3BooleanField(this, 42, e)
}
,
proto.webcast.data.Episode.prototype.getRoomCart = function() {
return o.Message.getWrapperField(this, d.RoomCart, 43)
}
,
proto.webcast.data.Episode.prototype.setRoomCart = function(e) {
return o.Message.setWrapperField(this, 43, e)
}
,
proto.webcast.data.Episode.prototype.clearRoomCart = function() {
return this.setRoomCart(void 0)
}
,
proto.webcast.data.Episode.prototype.hasRoomCart = function() {
return null != o.Message.getField(this, 43)
}
,
proto.webcast.data.Episode.prototype.getLastWatchPeriod = function() {
return o.Message.getFieldWithDefault(this, 44, 0)
}
,
proto.webcast.data.Episode.prototype.setLastWatchPeriod = function(e) {
return o.Message.setProto3IntField(this, 44, e)
}
,
proto.webcast.data.Episode.prototype.getWatchPvRaw = function() {
return o.Message.getFieldWithDefault(this, 45, "")
}
,
proto.webcast.data.Episode.prototype.setWatchPvRaw = function(e) {
return o.Message.setProto3StringField(this, 45, e)
}
,
proto.webcast.data.Episode.prototype.getNextSpecialEpisodeId = function() {
return o.Message.getFieldWithDefault(this, 46, "0")
}
,
proto.webcast.data.Episode.prototype.setNextSpecialEpisodeId = function(e) {
return o.Message.setProto3StringIntField(this, 46, e)
}
,
proto.webcast.data.Episode.prototype.getStyle = function() {
return o.Message.getFieldWithDefault(this, 47, 0)
}
,
proto.webcast.data.Episode.prototype.setStyle = function(e) {
return o.Message.setProto3EnumField(this, 47, e)
}
,
proto.webcast.data.Episode.prototype.getPlayControl = function() {
return o.Message.getWrapperField(this, p.EpisodePremierePlay, 48)
}
,
proto.webcast.data.Episode.prototype.setPlayControl = function(e) {
return o.Message.setWrapperField(this, 48, e)
}
,
proto.webcast.data.Episode.prototype.clearPlayControl = function() {
return this.setPlayControl(void 0)
}
,
proto.webcast.data.Episode.prototype.hasPlayControl = function() {
return null != o.Message.getField(this, 48)
}
,
proto.webcast.data.Episode.prototype.getPreviewImage = function() {
return o.Message.getWrapperField(this, p.EpisodePreviewImage, 49)
}
,
proto.webcast.data.Episode.prototype.setPreviewImage = function(e) {
return o.Message.setWrapperField(this, 49, e)
}
,
proto.webcast.data.Episode.prototype.clearPreviewImage = function() {
return this.setPreviewImage(void 0)
}
,
proto.webcast.data.Episode.prototype.hasPreviewImage = function() {
return null != o.Message.getField(this, 49)
}
,
proto.webcast.data.Episode.prototype.getGiftPannel = function() {
return o.Message.getWrapperField(this, p.VSGiftPannel, 50)
}
,
proto.webcast.data.Episode.prototype.setGiftPannel = function(e) {
return o.Message.setWrapperField(this, 50, e)
}
,
proto.webcast.data.Episode.prototype.clearGiftPannel = function() {
return this.setGiftPannel(void 0)
}
,
proto.webcast.data.Episode.prototype.hasGiftPannel = function() {
return null != o.Message.getField(this, 50)
}
,
proto.webcast.data.Episode.prototype.getPannelIcon = function() {
return o.Message.getWrapperField(this, p.VSPannelIcon, 51)
}
,
proto.webcast.data.Episode.prototype.setPannelIcon = function(e) {
return o.Message.setWrapperField(this, 51, e)
}
,
proto.webcast.data.Episode.prototype.clearPannelIcon = function() {
return this.setPannelIcon(void 0)
}
,
proto.webcast.data.Episode.prototype.hasPannelIcon = function() {
return null != o.Message.getField(this, 51)
}
,
proto.webcast.data.Episode.prototype.getTopicMeta = function() {
return o.Message.getWrapperField(this, proto.webcast.data.TopicMeta, 52)
}
,
proto.webcast.data.Episode.prototype.setTopicMeta = function(e) {
return o.Message.setWrapperField(this, 52, e)
}
,
proto.webcast.data.Episode.prototype.clearTopicMeta = function() {
return this.setTopicMeta(void 0)
}
,
proto.webcast.data.Episode.prototype.hasTopicMeta = function() {
return null != o.Message.getField(this, 52)
}
,
proto.webcast.data.Episode.prototype.getLynxTopicInfoUrl = function() {
return o.Message.getFieldWithDefault(this, 53, "")
}
,
proto.webcast.data.Episode.prototype.setLynxTopicInfoUrl = function(e) {
return o.Message.setProto3StringField(this, 53, e)
}
,
proto.webcast.data.Episode.prototype.getPannelToolbarList = function() {
return o.Message.getRepeatedWrapperField(this, d.ToolbarItemConfig, 54)
}
,
proto.webcast.data.Episode.prototype.setPannelToolbarList = function(e) {
return o.Message.setRepeatedWrapperField(this, 54, e)
}
,
proto.webcast.data.Episode.prototype.addPannelToolbar = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 54, e, proto.webcast.data.ToolbarItemConfig, t)
}
,
proto.webcast.data.Episode.prototype.clearPannelToolbarList = function() {
return this.setPannelToolbarList([])
}
,
proto.webcast.data.Episode.prototype.getPreviewBottom = function() {
return o.Message.getWrapperField(this, p.EpisodePreviewBottom, 55)
}
,
proto.webcast.data.Episode.prototype.setPreviewBottom = function(e) {
return o.Message.setWrapperField(this, 55, e)
}
,
proto.webcast.data.Episode.prototype.clearPreviewBottom = function() {
return this.setPreviewBottom(void 0)
}
,
proto.webcast.data.Episode.prototype.hasPreviewBottom = function() {
return null != o.Message.getField(this, 55)
}
,
proto.webcast.data.Episode.prototype.getDrawSubTitle = function() {
return o.Message.getFieldWithDefault(this, 56, "")
}
,
proto.webcast.data.Episode.prototype.setDrawSubTitle = function(e) {
return o.Message.setProto3StringField(this, 56, e)
}
,
proto.webcast.data.Episode.prototype.getSeasonPv = function() {
return o.Message.getFieldWithDefault(this, 57, 0)
}
,
proto.webcast.data.Episode.prototype.setSeasonPv = function(e) {
return o.Message.setProto3IntField(this, 57, e)
}
,
proto.webcast.data.Episode.prototype.getSeasonCoverVertical = function() {
return o.Message.getWrapperField(this, g.Image, 58)
}
,
proto.webcast.data.Episode.prototype.setSeasonCoverVertical = function(e) {
return o.Message.setWrapperField(this, 58, e)
}
,
proto.webcast.data.Episode.prototype.clearSeasonCoverVertical = function() {
return this.setSeasonCoverVertical(void 0)
}
,
proto.webcast.data.Episode.prototype.hasSeasonCoverVertical = function() {
return null != o.Message.getField(this, 58)
}
,
proto.webcast.data.Episode.prototype.getPlayerExtentionConfig = function() {
return o.Message.getFieldWithDefault(this, 59, "")
}
,
proto.webcast.data.Episode.prototype.setPlayerExtentionConfig = function(e) {
return o.Message.setProto3StringField(this, 59, e)
}
,
proto.webcast.data.Episode.prototype.getCameraInfosList = function() {
return o.Message.getRepeatedWrapperField(this, d.VSCameraInfo, 60)
}
,
proto.webcast.data.Episode.prototype.setCameraInfosList = function(e) {
return o.Message.setRepeatedWrapperField(this, 60, e)
}
,
proto.webcast.data.Episode.prototype.addCameraInfos = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 60, e, proto.webcast.data.VSCameraInfo, t)
}
,
proto.webcast.data.Episode.prototype.clearCameraInfosList = function() {
return this.setCameraInfosList([])
}
,
proto.webcast.data.Episode.prototype.getDefaultCameraId = function() {
return o.Message.getFieldWithDefault(this, 61, "0")
}
,
proto.webcast.data.Episode.prototype.setDefaultCameraId = function(e) {
return o.Message.setProto3StringIntField(this, 61, e)
}
,
proto.webcast.data.Episode.prototype.getDefaultCameraIdStr = function() {
return o.Message.getFieldWithDefault(this, 62, "")
}
,
proto.webcast.data.Episode.prototype.setDefaultCameraIdStr = function(e) {
return o.Message.setProto3StringField(this, 62, e)
}
,
proto.webcast.data.Episode.prototype.getPlayerExtentionConfigH5 = function() {
return o.Message.getFieldWithDefault(this, 63, "")
}
,
proto.webcast.data.Episode.prototype.setPlayerExtentionConfigH5 = function(e) {
return o.Message.setProto3StringField(this, 63, e)
}
,
proto.webcast.data.Episode.prototype.getPreviewBackground = function() {
return o.Message.getWrapperField(this, g.Image, 64)
}
,
proto.webcast.data.Episode.prototype.setPreviewBackground = function(e) {
return o.Message.setWrapperField(this, 64, e)
}
,
proto.webcast.data.Episode.prototype.clearPreviewBackground = function() {
return this.setPreviewBackground(void 0)
}
,
proto.webcast.data.Episode.prototype.hasPreviewBackground = function() {
return null != o.Message.getField(this, 64)
}
,
proto.webcast.data.Episode.prototype.getStartHlFirst = function() {
return o.Message.getBooleanFieldWithDefault(this, 65, !1)
}
,
proto.webcast.data.Episode.prototype.setStartHlFirst = function(e) {
return o.Message.setProto3BooleanField(this, 65, e)
}
,
proto.webcast.data.Episode.prototype.getStartHl = function() {
return o.Message.getWrapperField(this, proto.webcast.data.EpisodeStartHighLight, 66)
}
,
proto.webcast.data.Episode.prototype.setStartHl = function(e) {
return o.Message.setWrapperField(this, 66, e)
}
,
proto.webcast.data.Episode.prototype.clearStartHl = function() {
return this.setStartHl(void 0)
}
,
proto.webcast.data.Episode.prototype.hasStartHl = function() {
return null != o.Message.getField(this, 66)
}
,
proto.webcast.data.Episode.prototype.getWatchPeriodTextV2 = function() {
return o.Message.getFieldWithDefault(this, 67, "")
}
,
proto.webcast.data.Episode.prototype.setWatchPeriodTextV2 = function(e) {
return o.Message.setProto3StringField(this, 67, e)
}
,
proto.webcast.data.Episode.prototype.getPriorityCameraId = function() {
return o.Message.getFieldWithDefault(this, 68, "0")
}
,
proto.webcast.data.Episode.prototype.setPriorityCameraId = function(e) {
return o.Message.setProto3StringIntField(this, 68, e)
}
,
proto.webcast.data.Episode.prototype.getPriorityCamera = function() {
return o.Message.getWrapperField(this, d.VSCameraInfo, 69)
}
,
proto.webcast.data.Episode.prototype.setPriorityCamera = function(e) {
return o.Message.setWrapperField(this, 69, e)
}
,
proto.webcast.data.Episode.prototype.clearPriorityCamera = function() {
return this.setPriorityCamera(void 0)
}
,
proto.webcast.data.Episode.prototype.hasPriorityCamera = function() {
return null != o.Message.getField(this, 69)
}
,
proto.webcast.data.Episode.prototype.getMultiSeasonTag = function() {
return o.Message.getFieldWithDefault(this, 70, "")
}
,
proto.webcast.data.Episode.prototype.setMultiSeasonTag = function(e) {
return o.Message.setProto3StringField(this, 70, e)
}
,
proto.webcast.data.Episode.prototype.getSeasonCover = function() {
return o.Message.getWrapperField(this, g.Image, 71)
}
,
proto.webcast.data.Episode.prototype.setSeasonCover = function(e) {
return o.Message.setWrapperField(this, 71, e)
}
,
proto.webcast.data.Episode.prototype.clearSeasonCover = function() {
return this.setSeasonCover(void 0)
}
,
proto.webcast.data.Episode.prototype.hasSeasonCover = function() {
return null != o.Message.getField(this, 71)
}
,
proto.webcast.data.Episode.prototype.getLatestPeriodStr = function() {
return o.Message.getFieldWithDefault(this, 72, "")
}
,
proto.webcast.data.Episode.prototype.setLatestPeriodStr = function(e) {
return o.Message.setProto3StringField(this, 72, e)
}
,
proto.webcast.data.Episode.prototype.getSeasonUpdateStatus = function() {
return o.Message.getFieldWithDefault(this, 73, 0)
}
,
proto.webcast.data.Episode.prototype.setSeasonUpdateStatus = function(e) {
return o.Message.setProto3EnumField(this, 73, e)
}
,
proto.webcast.data.Episode.prototype.getItemCommentIcon = function() {
return o.Message.getWrapperField(this, g.Image, 74)
}
,
proto.webcast.data.Episode.prototype.setItemCommentIcon = function(e) {
return o.Message.setWrapperField(this, 74, e)
}
,
proto.webcast.data.Episode.prototype.clearItemCommentIcon = function() {
return this.setItemCommentIcon(void 0)
}
,
proto.webcast.data.Episode.prototype.hasItemCommentIcon = function() {
return null != o.Message.getField(this, 74)
}
,
proto.webcast.data.Episode.prototype.getItemComment = function() {
return o.Message.getWrapperField(this, proto.webcast.data.ItemComment, 75)
}
,
proto.webcast.data.Episode.prototype.setItemComment = function(e) {
return o.Message.setWrapperField(this, 75, e)
}
,
proto.webcast.data.Episode.prototype.clearItemComment = function() {
return this.setItemComment(void 0)
}
,
proto.webcast.data.Episode.prototype.hasItemComment = function() {
return null != o.Message.getField(this, 75)
}
,
proto.webcast.data.Episode.prototype.getWatermark = function() {
return o.Message.getWrapperField(this, proto.webcast.data.Watermark, 76)
}
,
proto.webcast.data.Episode.prototype.setWatermark = function(e) {
return o.Message.setWrapperField(this, 76, e)
}
,
proto.webcast.data.Episode.prototype.clearWatermark = function() {
return this.setWatermark(void 0)
}
,
proto.webcast.data.Episode.prototype.hasWatermark = function() {
return null != o.Message.getField(this, 76)
}
,
proto.webcast.data.Episode.prototype.getVsWatermark = function() {
return o.Message.getWrapperField(this, p.VSWatermark, 77)
}
,
proto.webcast.data.Episode.prototype.setVsWatermark = function(e) {
return o.Message.setWrapperField(this, 77, e)
}
,
proto.webcast.data.Episode.prototype.clearVsWatermark = function() {
return this.setVsWatermark(void 0)
}
,
proto.webcast.data.Episode.prototype.hasVsWatermark = function() {
return null != o.Message.getField(this, 77)
}
,
proto.webcast.data.Episode.prototype.getVersionForWebcastRoom = function() {
return o.Message.getFieldWithDefault(this, 78, "0")
}
,
proto.webcast.data.Episode.prototype.setVersionForWebcastRoom = function(e) {
return o.Message.setProto3StringIntField(this, 78, e)
}
,
proto.webcast.data.Episode.prototype.getPaidInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.EpisodePaidInfo, 79)
}
,
proto.webcast.data.Episode.prototype.setPaidInfo = function(e) {
return o.Message.setWrapperField(this, 79, e)
}
,
proto.webcast.data.Episode.prototype.clearPaidInfo = function() {
return this.setPaidInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasPaidInfo = function() {
return null != o.Message.getField(this, 79)
}
,
proto.webcast.data.Episode.prototype.getExtentionUsingCollect = function() {
return o.Message.getBooleanFieldWithDefault(this, 80, !1)
}
,
proto.webcast.data.Episode.prototype.setExtentionUsingCollect = function(e) {
return o.Message.setProto3BooleanField(this, 80, e)
}
,
proto.webcast.data.Episode.prototype.getSeasonTypeName = function() {
return o.Message.getFieldWithDefault(this, 81, "")
}
,
proto.webcast.data.Episode.prototype.setSeasonTypeName = function(e) {
return o.Message.setProto3StringField(this, 81, e)
}
,
proto.webcast.data.Episode.prototype.getToolbarBackgroundConfig = function() {
return o.Message.getWrapperField(this, proto.webcast.data.ToolbarBackgroundConfig, 82)
}
,
proto.webcast.data.Episode.prototype.setToolbarBackgroundConfig = function(e) {
return o.Message.setWrapperField(this, 82, e)
}
,
proto.webcast.data.Episode.prototype.clearToolbarBackgroundConfig = function() {
return this.setToolbarBackgroundConfig(void 0)
}
,
proto.webcast.data.Episode.prototype.hasToolbarBackgroundConfig = function() {
return null != o.Message.getField(this, 82)
}
,
proto.webcast.data.Episode.prototype.getVsBar = function() {
return o.Message.getWrapperField(this, p.VSBar, 83)
}
,
proto.webcast.data.Episode.prototype.setVsBar = function(e) {
return o.Message.setWrapperField(this, 83, e)
}
,
proto.webcast.data.Episode.prototype.clearVsBar = function() {
return this.setVsBar(void 0)
}
,
proto.webcast.data.Episode.prototype.hasVsBar = function() {
return null != o.Message.getField(this, 83)
}
,
proto.webcast.data.Episode.prototype.getSearchInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.SearchInfo, 84)
}
,
proto.webcast.data.Episode.prototype.setSearchInfo = function(e) {
return o.Message.setWrapperField(this, 84, e)
}
,
proto.webcast.data.Episode.prototype.clearSearchInfo = function() {
return this.setSearchInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasSearchInfo = function() {
return null != o.Message.getField(this, 84)
}
,
proto.webcast.data.Episode.prototype.getSeasonWatchInfo = function() {
return o.Message.getWrapperField(this, d.WatchInfo, 85)
}
,
proto.webcast.data.Episode.prototype.setSeasonWatchInfo = function(e) {
return o.Message.setWrapperField(this, 85, e)
}
,
proto.webcast.data.Episode.prototype.clearSeasonWatchInfo = function() {
return this.setSeasonWatchInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasSeasonWatchInfo = function() {
return null != o.Message.getField(this, 85)
}
,
proto.webcast.data.Episode.prototype.getIsForceInsert = function() {
return o.Message.getBooleanFieldWithDefault(this, 86, !1)
}
,
proto.webcast.data.Episode.prototype.setIsForceInsert = function(e) {
return o.Message.setProto3BooleanField(this, 86, e)
}
,
proto.webcast.data.Episode.prototype.getIndexInAlbumList = function() {
return o.Message.getFieldWithDefault(this, 87, "0")
}
,
proto.webcast.data.Episode.prototype.setIndexInAlbumList = function(e) {
return o.Message.setProto3StringIntField(this, 87, e)
}
,
proto.webcast.data.Episode.prototype.getPcInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.PCInfo, 88)
}
,
proto.webcast.data.Episode.prototype.setPcInfo = function(e) {
return o.Message.setWrapperField(this, 88, e)
}
,
proto.webcast.data.Episode.prototype.clearPcInfo = function() {
return this.setPcInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasPcInfo = function() {
return null != o.Message.getField(this, 88)
}
,
proto.webcast.data.Episode.prototype.getLinkRoomInfo = function() {
return o.Message.getWrapperField(this, d.VSLinkInfo, 89)
}
,
proto.webcast.data.Episode.prototype.setLinkRoomInfo = function(e) {
return o.Message.setWrapperField(this, 89, e)
}
,
proto.webcast.data.Episode.prototype.clearLinkRoomInfo = function() {
return this.setLinkRoomInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasLinkRoomInfo = function() {
return null != o.Message.getField(this, 89)
}
,
proto.webcast.data.Episode.prototype.getEpisodeCorrelationSeasonInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.EpisodeCorrelationSeasonInfo, 90)
}
,
proto.webcast.data.Episode.prototype.setEpisodeCorrelationSeasonInfo = function(e) {
return o.Message.setWrapperField(this, 90, e)
}
,
proto.webcast.data.Episode.prototype.clearEpisodeCorrelationSeasonInfo = function() {
return this.setEpisodeCorrelationSeasonInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasEpisodeCorrelationSeasonInfo = function() {
return null != o.Message.getField(this, 90)
}
,
proto.webcast.data.Episode.prototype.getCommentConfig = function() {
return o.Message.getWrapperField(this, d.CommentConfig, 91)
}
,
proto.webcast.data.Episode.prototype.setCommentConfig = function(e) {
return o.Message.setWrapperField(this, 91, e)
}
,
proto.webcast.data.Episode.prototype.clearCommentConfig = function() {
return this.setCommentConfig(void 0)
}
,
proto.webcast.data.Episode.prototype.hasCommentConfig = function() {
return null != o.Message.getField(this, 91)
}
,
proto.webcast.data.Episode.prototype.getCameraInfosTableTitle = function() {
return o.Message.getFieldWithDefault(this, 92, "")
}
,
proto.webcast.data.Episode.prototype.setCameraInfosTableTitle = function(e) {
return o.Message.setProto3StringField(this, 92, e)
}
,
proto.webcast.data.Episode.prototype.getNeedRecord = function() {
return o.Message.getBooleanFieldWithDefault(this, 93, !1)
}
,
proto.webcast.data.Episode.prototype.setNeedRecord = function(e) {
return o.Message.setProto3BooleanField(this, 93, e)
}
,
proto.webcast.data.Episode.prototype.getIntroduction = function() {
return o.Message.getFieldWithDefault(this, 94, "")
}
,
proto.webcast.data.Episode.prototype.setIntroduction = function(e) {
return o.Message.setProto3StringField(this, 94, e)
}
,
proto.webcast.data.Episode.prototype.getLiuyanConfig = function() {
return o.Message.getFieldWithDefault(this, 95, "")
}
,
proto.webcast.data.Episode.prototype.setLiuyanConfig = function(e) {
return o.Message.setProto3StringField(this, 95, e)
}
,
proto.webcast.data.Episode.prototype.getPaidLive = function() {
return o.Message.getWrapperField(this, proto.webcast.data.PaidLiveInfo, 96)
}
,
proto.webcast.data.Episode.prototype.setPaidLive = function(e) {
return o.Message.setWrapperField(this, 96, e)
}
,
proto.webcast.data.Episode.prototype.clearPaidLive = function() {
return this.setPaidLive(void 0)
}
,
proto.webcast.data.Episode.prototype.hasPaidLive = function() {
return null != o.Message.getField(this, 96)
}
,
proto.webcast.data.Episode.prototype.getEpisodeBasicInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.EpisodeBasicInfo, 100)
}
,
proto.webcast.data.Episode.prototype.setEpisodeBasicInfo = function(e) {
return o.Message.setWrapperField(this, 100, e)
}
,
proto.webcast.data.Episode.prototype.clearEpisodeBasicInfo = function() {
return this.setEpisodeBasicInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasEpisodeBasicInfo = function() {
return null != o.Message.getField(this, 100)
}
,
proto.webcast.data.Episode.prototype.getEpisodeExtraBasicInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.EpisodeExtraBasicInfo, 200)
}
,
proto.webcast.data.Episode.prototype.setEpisodeExtraBasicInfo = function(e) {
return o.Message.setWrapperField(this, 200, e)
}
,
proto.webcast.data.Episode.prototype.clearEpisodeExtraBasicInfo = function() {
return this.setEpisodeExtraBasicInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasEpisodeExtraBasicInfo = function() {
return null != o.Message.getField(this, 200)
}
,
proto.webcast.data.Episode.prototype.getSeasonBasicInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.SeasonBasicInfo, 300)
}
,
proto.webcast.data.Episode.prototype.setSeasonBasicInfo = function(e) {
return o.Message.setWrapperField(this, 300, e)
}
,
proto.webcast.data.Episode.prototype.clearSeasonBasicInfo = function() {
return this.setSeasonBasicInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasSeasonBasicInfo = function() {
return null != o.Message.getField(this, 300)
}
,
proto.webcast.data.Episode.prototype.getSeasonExtraBasicInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.SeasonExtraBasicInfo, 400)
}
,
proto.webcast.data.Episode.prototype.setSeasonExtraBasicInfo = function(e) {
return o.Message.setWrapperField(this, 400, e)
}
,
proto.webcast.data.Episode.prototype.clearSeasonExtraBasicInfo = function() {
return this.setSeasonExtraBasicInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasSeasonExtraBasicInfo = function() {
return null != o.Message.getField(this, 400)
}
,
proto.webcast.data.Episode.prototype.getShowGeneralInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.ShowGeneralInfo, 500)
}
,
proto.webcast.data.Episode.prototype.setShowGeneralInfo = function(e) {
return o.Message.setWrapperField(this, 500, e)
}
,
proto.webcast.data.Episode.prototype.clearShowGeneralInfo = function() {
return this.setShowGeneralInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasShowGeneralInfo = function() {
return null != o.Message.getField(this, 500)
}
,
proto.webcast.data.Episode.prototype.getShowExperienceInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.ShowExperienceInfo, 600)
}
,
proto.webcast.data.Episode.prototype.setShowExperienceInfo = function(e) {
return o.Message.setWrapperField(this, 600, e)
}
,
proto.webcast.data.Episode.prototype.clearShowExperienceInfo = function() {
return this.setShowExperienceInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasShowExperienceInfo = function() {
return null != o.Message.getField(this, 600)
}
,
proto.webcast.data.Episode.prototype.getShowDistributionInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.ShowDistributionInfo, 700)
}
,
proto.webcast.data.Episode.prototype.setShowDistributionInfo = function(e) {
return o.Message.setWrapperField(this, 700, e)
}
,
proto.webcast.data.Episode.prototype.clearShowDistributionInfo = function() {
return this.setShowDistributionInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasShowDistributionInfo = function() {
return null != o.Message.getField(this, 700)
}
,
proto.webcast.data.Episode.prototype.getShowSupplyInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.ShowSupplyInfo, 800)
}
,
proto.webcast.data.Episode.prototype.setShowSupplyInfo = function(e) {
return o.Message.setWrapperField(this, 800, e)
}
,
proto.webcast.data.Episode.prototype.clearShowSupplyInfo = function() {
return this.setShowSupplyInfo(void 0)
}
,
proto.webcast.data.Episode.prototype.hasShowSupplyInfo = function() {
return null != o.Message.getField(this, 800)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.PaidLiveInfo.prototype.toObject = function(e) {
return proto.webcast.data.PaidLiveInfo.toObject(e, this)
}
,
proto.webcast.data.PaidLiveInfo.toObject = function(e, t) {
var a, r = {
paidType: o.Message.getFieldWithDefault(t, 1, 0),
viewRight: o.Message.getFieldWithDefault(t, 2, 0),
duration: o.Message.getFieldWithDefault(t, 3, "0"),
ticketSession: (a = t.getTicketSession()) && d.TicketData.toObject(e, a),
delivery: o.Message.getFieldWithDefault(t, 5, 0)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.PaidLiveInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.PaidLiveInfo;
return proto.webcast.data.PaidLiveInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.PaidLiveInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt32();
e.setPaidType(a);
break;
case 2:
a = t.readInt32();
e.setViewRight(a);
break;
case 3:
a = t.readInt64String();
e.setDuration(a);
break;
case 4:
a = new d.TicketData;
t.readMessage(a, d.TicketData.deserializeBinaryFromReader),
e.setTicketSession(a);
break;
case 5:
a = t.readInt32();
e.setDelivery(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.PaidLiveInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.PaidLiveInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.PaidLiveInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getPaidType()) && t.writeInt32(1, a),
0 !== (a = e.getViewRight()) && t.writeInt32(2, a),
a = e.getDuration(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
null != (a = e.getTicketSession()) && t.writeMessage(4, a, d.TicketData.serializeBinaryToWriter),
0 !== (a = e.getDelivery()) && t.writeInt32(5, a)
}
,
proto.webcast.data.PaidLiveInfo.prototype.getPaidType = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.PaidLiveInfo.prototype.setPaidType = function(e) {
return o.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.PaidLiveInfo.prototype.getViewRight = function() {
return o.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.PaidLiveInfo.prototype.setViewRight = function(e) {
return o.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.PaidLiveInfo.prototype.getDuration = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.PaidLiveInfo.prototype.setDuration = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.PaidLiveInfo.prototype.getTicketSession = function() {
return o.Message.getWrapperField(this, d.TicketData, 4)
}
,
proto.webcast.data.PaidLiveInfo.prototype.setTicketSession = function(e) {
return o.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.PaidLiveInfo.prototype.clearTicketSession = function() {
return this.setTicketSession(void 0)
}
,
proto.webcast.data.PaidLiveInfo.prototype.hasTicketSession = function() {
return null != o.Message.getField(this, 4)
}
,
proto.webcast.data.PaidLiveInfo.prototype.getDelivery = function() {
return o.Message.getFieldWithDefault(this, 5, 0)
}
,
proto.webcast.data.PaidLiveInfo.prototype.setDelivery = function(e) {
return o.Message.setProto3IntField(this, 5, e)
}
,
proto.webcast.data.EpisodeBasicInfo.repeatedFields_ = [1, 2],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.EpisodeBasicInfo.prototype.toObject = function(e) {
return proto.webcast.data.EpisodeBasicInfo.toObject(e, this)
}
,
proto.webcast.data.EpisodeBasicInfo.toObject = function(e, t) {
var a, r = {
tabsList: o.Message.toObjectList(t.getTabsList(), c.MatchTab.toObject, e),
replayTabsList: o.Message.toObjectList(t.getReplayTabsList(), c.MatchTab.toObject, e),
matchTitle: (a = t.getMatchTitle()) && c.MatchTitle.toObject(e, a),
matchData: (a = t.getMatchData()) && c.ToutiaoMatchData.toObject(e, a),
playByPlayInfo: (a = t.getPlayByPlayInfo()) && c.PlayByPlayInfo.toObject(e, a),
multiCameraBasicInfo: (a = t.getMultiCameraBasicInfo()) && p.MultiCameraBasicInfo.toObject(e, a),
tabColor: o.Message.getFieldWithDefault(t, 7, ""),
matchHostChannelMap: (a = t.getMatchHostChannelMap()) ? a.toObject(e, void 0) : [],
mainReplayId: o.Message.getFieldWithDefault(t, 9, "0"),
replayCameraId: o.Message.getFieldWithDefault(t, 10, "0"),
replayType: o.Message.getFieldWithDefault(t, 11, 0),
isRoomFinish: o.Message.getBooleanFieldWithDefault(t, 12, !1),
matchHashTag: o.Message.getFieldWithDefault(t, 13, ""),
sharePosterInfo: (a = t.getSharePosterInfo()) && p.SharePosterInfo.toObject(e, a),
matchShareBackground: (a = t.getMatchShareBackground()) && c.MatchShareBackground.toObject(e, a),
shareResource: (a = t.getShareResource()) && d.ShareResource.toObject(e, a),
shareIcon: (a = t.getShareIcon()) && g.Image.toObject(e, a),
backgroundColor: o.Message.getFieldWithDefault(t, 18, ""),
originEpisodeId: o.Message.getFieldWithDefault(t, 19, "0"),
originEpisodeIdStr: o.Message.getFieldWithDefault(t, 20, ""),
replayBackground: (a = t.getReplayBackground()) && g.Image.toObject(e, a),
replayThemeId: o.Message.getFieldWithDefault(t, 22, ""),
replayBackgroundPad: (a = t.getReplayBackgroundPad()) && g.Image.toObject(e, a),
previewBottomText: o.Message.getFieldWithDefault(t, 24, ""),
isUseTransferPackVideo: o.Message.getBooleanFieldWithDefault(t, 25, !1)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.EpisodeBasicInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.EpisodeBasicInfo;
return proto.webcast.data.EpisodeBasicInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.EpisodeBasicInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new c.MatchTab;
t.readMessage(a, c.MatchTab.deserializeBinaryFromReader),
e.addTabs(a);
break;
case 2:
a = new c.MatchTab;
t.readMessage(a, c.MatchTab.deserializeBinaryFromReader),
e.addReplayTabs(a);
break;
case 3:
a = new c.MatchTitle;
t.readMessage(a, c.MatchTitle.deserializeBinaryFromReader),
e.setMatchTitle(a);
break;
case 4:
a = new c.ToutiaoMatchData;
t.readMessage(a, c.ToutiaoMatchData.deserializeBinaryFromReader),
e.setMatchData(a);
break;
case 5:
a = new c.PlayByPlayInfo;
t.readMessage(a, c.PlayByPlayInfo.deserializeBinaryFromReader),
e.setPlayByPlayInfo(a);
break;
case 6:
a = new p.MultiCameraBasicInfo;
t.readMessage(a, p.MultiCameraBasicInfo.deserializeBinaryFromReader),
e.setMultiCameraBasicInfo(a);
break;
case 7:
a = t.readString();
e.setTabColor(a);
break;
case 8:
a = e.getMatchHostChannelMap();
t.readMessage(a, (function(e, t) {
o.Map.deserializeBinary(e, t, o.BinaryReader.prototype.readInt64, o.BinaryReader.prototype.readInt64, null, 0, 0)
}
));
break;
case 9:
a = t.readInt64String();
e.setMainReplayId(a);
break;
case 10:
a = t.readInt64String();
e.setReplayCameraId(a);
break;
case 11:
a = t.readInt32();
e.setReplayType(a);
break;
case 12:
a = t.readBool();
e.setIsRoomFinish(a);
break;
case 13:
a = t.readString();
e.setMatchHashTag(a);
break;
case 14:
a = new p.SharePosterInfo;
t.readMessage(a, p.SharePosterInfo.deserializeBinaryFromReader),
e.setSharePosterInfo(a);
break;
case 15:
a = new c.MatchShareBackground;
t.readMessage(a, c.MatchShareBackground.deserializeBinaryFromReader),
e.setMatchShareBackground(a);
break;
case 16:
a = new d.ShareResource;
t.readMessage(a, d.ShareResource.deserializeBinaryFromReader),
e.setShareResource(a);
break;
case 17:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setShareIcon(a);
break;
case 18:
a = t.readString();
e.setBackgroundColor(a);
break;
case 19:
a = t.readInt64String();
e.setOriginEpisodeId(a);
break;
case 20:
a = t.readString();
e.setOriginEpisodeIdStr(a);
break;
case 21:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setReplayBackground(a);
break;
case 22:
a = t.readString();
e.setReplayThemeId(a);
break;
case 23:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setReplayBackgroundPad(a);
break;
case 24:
a = t.readString();
e.setPreviewBottomText(a);
break;
case 25:
a = t.readBool();
e.setIsUseTransferPackVideo(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.EpisodeBasicInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeBasicInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getTabsList()).length > 0 && t.writeRepeatedMessage(1, a, c.MatchTab.serializeBinaryToWriter),
(a = e.getReplayTabsList()).length > 0 && t.writeRepeatedMessage(2, a, c.MatchTab.serializeBinaryToWriter),
null != (a = e.getMatchTitle()) && t.writeMessage(3, a, c.MatchTitle.serializeBinaryToWriter),
null != (a = e.getMatchData()) && t.writeMessage(4, a, c.ToutiaoMatchData.serializeBinaryToWriter),
null != (a = e.getPlayByPlayInfo()) && t.writeMessage(5, a, c.PlayByPlayInfo.serializeBinaryToWriter),
null != (a = e.getMultiCameraBasicInfo()) && t.writeMessage(6, a, p.MultiCameraBasicInfo.serializeBinaryToWriter),
(a = e.getTabColor()).length > 0 && t.writeString(7, a),
(a = e.getMatchHostChannelMap(!0)) && a.getLength() > 0 && a.serializeBinary(8, t, o.BinaryWriter.prototype.writeInt64, o.BinaryWriter.prototype.writeInt64),
a = e.getMainReplayId(),
0 !== parseInt(a, 10) && t.writeInt64String(9, a),
a = e.getReplayCameraId(),
0 !== parseInt(a, 10) && t.writeInt64String(10, a),
0 !== (a = e.getReplayType()) && t.writeInt32(11, a),
(a = e.getIsRoomFinish()) && t.writeBool(12, a),
(a = e.getMatchHashTag()).length > 0 && t.writeString(13, a),
null != (a = e.getSharePosterInfo()) && t.writeMessage(14, a, p.SharePosterInfo.serializeBinaryToWriter),
null != (a = e.getMatchShareBackground()) && t.writeMessage(15, a, c.MatchShareBackground.serializeBinaryToWriter),
null != (a = e.getShareResource()) && t.writeMessage(16, a, d.ShareResource.serializeBinaryToWriter),
null != (a = e.getShareIcon()) && t.writeMessage(17, a, g.Image.serializeBinaryToWriter),
(a = e.getBackgroundColor()).length > 0 && t.writeString(18, a),
a = e.getOriginEpisodeId(),
0 !== parseInt(a, 10) && t.writeInt64String(19, a),
(a = e.getOriginEpisodeIdStr()).length > 0 && t.writeString(20, a),
null != (a = e.getReplayBackground()) && t.writeMessage(21, a, g.Image.serializeBinaryToWriter),
(a = e.getReplayThemeId()).length > 0 && t.writeString(22, a),
null != (a = e.getReplayBackgroundPad()) && t.writeMessage(23, a, g.Image.serializeBinaryToWriter),
(a = e.getPreviewBottomText()).length > 0 && t.writeString(24, a),
(a = e.getIsUseTransferPackVideo()) && t.writeBool(25, a)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getTabsList = function() {
return o.Message.getRepeatedWrapperField(this, c.MatchTab, 1)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setTabsList = function(e) {
return o.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.addTabs = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 1, e, proto.webcast.data.MatchTab, t)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearTabsList = function() {
return this.setTabsList([])
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getReplayTabsList = function() {
return o.Message.getRepeatedWrapperField(this, c.MatchTab, 2)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setReplayTabsList = function(e) {
return o.Message.setRepeatedWrapperField(this, 2, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.addReplayTabs = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 2, e, proto.webcast.data.MatchTab, t)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearReplayTabsList = function() {
return this.setReplayTabsList([])
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getMatchTitle = function() {
return o.Message.getWrapperField(this, c.MatchTitle, 3)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setMatchTitle = function(e) {
return o.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearMatchTitle = function() {
return this.setMatchTitle(void 0)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasMatchTitle = function() {
return null != o.Message.getField(this, 3)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getMatchData = function() {
return o.Message.getWrapperField(this, c.ToutiaoMatchData, 4)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setMatchData = function(e) {
return o.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearMatchData = function() {
return this.setMatchData(void 0)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasMatchData = function() {
return null != o.Message.getField(this, 4)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getPlayByPlayInfo = function() {
return o.Message.getWrapperField(this, c.PlayByPlayInfo, 5)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setPlayByPlayInfo = function(e) {
return o.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearPlayByPlayInfo = function() {
return this.setPlayByPlayInfo(void 0)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasPlayByPlayInfo = function() {
return null != o.Message.getField(this, 5)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getMultiCameraBasicInfo = function() {
return o.Message.getWrapperField(this, p.MultiCameraBasicInfo, 6)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setMultiCameraBasicInfo = function(e) {
return o.Message.setWrapperField(this, 6, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearMultiCameraBasicInfo = function() {
return this.setMultiCameraBasicInfo(void 0)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasMultiCameraBasicInfo = function() {
return null != o.Message.getField(this, 6)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getTabColor = function() {
return o.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setTabColor = function(e) {
return o.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getMatchHostChannelMap = function(e) {
return o.Message.getMapField(this, 8, e, null)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearMatchHostChannelMap = function() {
return this.getMatchHostChannelMap().clear(),
this
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getMainReplayId = function() {
return o.Message.getFieldWithDefault(this, 9, "0")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setMainReplayId = function(e) {
return o.Message.setProto3StringIntField(this, 9, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getReplayCameraId = function() {
return o.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setReplayCameraId = function(e) {
return o.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getReplayType = function() {
return o.Message.getFieldWithDefault(this, 11, 0)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setReplayType = function(e) {
return o.Message.setProto3IntField(this, 11, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getIsRoomFinish = function() {
return o.Message.getBooleanFieldWithDefault(this, 12, !1)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setIsRoomFinish = function(e) {
return o.Message.setProto3BooleanField(this, 12, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getMatchHashTag = function() {
return o.Message.getFieldWithDefault(this, 13, "")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setMatchHashTag = function(e) {
return o.Message.setProto3StringField(this, 13, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getSharePosterInfo = function() {
return o.Message.getWrapperField(this, p.SharePosterInfo, 14)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setSharePosterInfo = function(e) {
return o.Message.setWrapperField(this, 14, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearSharePosterInfo = function() {
return this.setSharePosterInfo(void 0)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasSharePosterInfo = function() {
return null != o.Message.getField(this, 14)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getMatchShareBackground = function() {
return o.Message.getWrapperField(this, c.MatchShareBackground, 15)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setMatchShareBackground = function(e) {
return o.Message.setWrapperField(this, 15, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearMatchShareBackground = function() {
return this.setMatchShareBackground(void 0)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasMatchShareBackground = function() {
return null != o.Message.getField(this, 15)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getShareResource = function() {
return o.Message.getWrapperField(this, d.ShareResource, 16)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setShareResource = function(e) {
return o.Message.setWrapperField(this, 16, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearShareResource = function() {
return this.setShareResource(void 0)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasShareResource = function() {
return null != o.Message.getField(this, 16)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getShareIcon = function() {
return o.Message.getWrapperField(this, g.Image, 17)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setShareIcon = function(e) {
return o.Message.setWrapperField(this, 17, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearShareIcon = function() {
return this.setShareIcon(void 0)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasShareIcon = function() {
return null != o.Message.getField(this, 17)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getBackgroundColor = function() {
return o.Message.getFieldWithDefault(this, 18, "")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setBackgroundColor = function(e) {
return o.Message.setProto3StringField(this, 18, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getOriginEpisodeId = function() {
return o.Message.getFieldWithDefault(this, 19, "0")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setOriginEpisodeId = function(e) {
return o.Message.setProto3StringIntField(this, 19, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getOriginEpisodeIdStr = function() {
return o.Message.getFieldWithDefault(this, 20, "")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setOriginEpisodeIdStr = function(e) {
return o.Message.setProto3StringField(this, 20, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getReplayBackground = function() {
return o.Message.getWrapperField(this, g.Image, 21)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setReplayBackground = function(e) {
return o.Message.setWrapperField(this, 21, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearReplayBackground = function() {
return this.setReplayBackground(void 0)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasReplayBackground = function() {
return null != o.Message.getField(this, 21)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getReplayThemeId = function() {
return o.Message.getFieldWithDefault(this, 22, "")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setReplayThemeId = function(e) {
return o.Message.setProto3StringField(this, 22, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getReplayBackgroundPad = function() {
return o.Message.getWrapperField(this, g.Image, 23)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setReplayBackgroundPad = function(e) {
return o.Message.setWrapperField(this, 23, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearReplayBackgroundPad = function() {
return this.setReplayBackgroundPad(void 0)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasReplayBackgroundPad = function() {
return null != o.Message.getField(this, 23)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getPreviewBottomText = function() {
return o.Message.getFieldWithDefault(this, 24, "")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setPreviewBottomText = function(e) {
return o.Message.setProto3StringField(this, 24, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getIsUseTransferPackVideo = function() {
return o.Message.getBooleanFieldWithDefault(this, 25, !1)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setIsUseTransferPackVideo = function(e) {
return o.Message.setProto3BooleanField(this, 25, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.EpisodeExtraBasicInfo.prototype.toObject = function(e) {
return proto.webcast.data.EpisodeExtraBasicInfo.toObject(e, this)
}
,
proto.webcast.data.EpisodeExtraBasicInfo.toObject = function(e, t) {
var a = {
geoBlock: o.Message.getBooleanFieldWithDefault(t, 1, !1),
roomStartTime: o.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.EpisodeExtraBasicInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.EpisodeExtraBasicInfo;
return proto.webcast.data.EpisodeExtraBasicInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.EpisodeExtraBasicInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readBool();
e.setGeoBlock(a);
break;
case 2:
a = t.readInt64String();
e.setRoomStartTime(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.EpisodeExtraBasicInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.EpisodeExtraBasicInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeExtraBasicInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getGeoBlock()) && t.writeBool(1, a),
a = e.getRoomStartTime(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a)
}
,
proto.webcast.data.EpisodeExtraBasicInfo.prototype.getGeoBlock = function() {
return o.Message.getBooleanFieldWithDefault(this, 1, !1)
}
,
proto.webcast.data.EpisodeExtraBasicInfo.prototype.setGeoBlock = function(e) {
return o.Message.setProto3BooleanField(this, 1, e)
}
,
proto.webcast.data.EpisodeExtraBasicInfo.prototype.getRoomStartTime = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.EpisodeExtraBasicInfo.prototype.setRoomStartTime = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.SeasonBasicInfo.prototype.toObject = function(e) {
return proto.webcast.data.SeasonBasicInfo.toObject(e, this)
}
,
proto.webcast.data.SeasonBasicInfo.toObject = function(e, t) {
var a = {
seasonType: o.Message.getFieldWithDefault(t, 1, 0)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SeasonBasicInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.SeasonBasicInfo;
return proto.webcast.data.SeasonBasicInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.SeasonBasicInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
if (1 === t.getFieldNumber()) {
var a = t.readEnum();
e.setSeasonType(a)
} else
t.skipField()
}
return e
}
,
proto.webcast.data.SeasonBasicInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.SeasonBasicInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SeasonBasicInfo.serializeBinaryToWriter = function(e, t) {
var a;
0 !== (a = e.getSeasonType()) && t.writeEnum(1, a)
}
,
proto.webcast.data.SeasonBasicInfo.prototype.getSeasonType = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.SeasonBasicInfo.prototype.setSeasonType = function(e) {
return o.Message.setProto3EnumField(this, 1, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.SeasonExtraBasicInfo.prototype.toObject = function(e) {
return proto.webcast.data.SeasonExtraBasicInfo.toObject(e, this)
}
,
proto.webcast.data.SeasonExtraBasicInfo.toObject = function(e, t) {
var a = {};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SeasonExtraBasicInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.SeasonExtraBasicInfo;
return proto.webcast.data.SeasonExtraBasicInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.SeasonExtraBasicInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
t.getFieldNumber();
t.skipField()
}
return e
}
,
proto.webcast.data.SeasonExtraBasicInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.SeasonExtraBasicInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SeasonExtraBasicInfo.serializeBinaryToWriter = function(e, t) {}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ShowGeneralInfo.prototype.toObject = function(e) {
return proto.webcast.data.ShowGeneralInfo.toObject(e, this)
}
,
proto.webcast.data.ShowGeneralInfo.toObject = function(e, t) {
var a, r = {
ratingScore: o.Message.getFloatingPointFieldWithDefault(t, 2, 0),
horizontalCoverX2: (a = t.getHorizontalCoverX2()) && g.Image.toObject(e, a),
verticalCoverX2: (a = t.getVerticalCoverX2()) && g.Image.toObject(e, a),
horizontalCoverX3: (a = t.getHorizontalCoverX3()) && g.Image.toObject(e, a),
verticalCoverX3: (a = t.getVerticalCoverX3()) && g.Image.toObject(e, a),
syncFromXigua: o.Message.getBooleanFieldWithDefault(t, 1e3, !1)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ShowGeneralInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ShowGeneralInfo;
return proto.webcast.data.ShowGeneralInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ShowGeneralInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 2:
var a = t.readFloat();
e.setRatingScore(a);
break;
case 20:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setHorizontalCoverX2(a);
break;
case 21:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setVerticalCoverX2(a);
break;
case 22:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setHorizontalCoverX3(a);
break;
case 23:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setVerticalCoverX3(a);
break;
case 1e3:
a = t.readBool();
e.setSyncFromXigua(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ShowGeneralInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ShowGeneralInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ShowGeneralInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getRatingScore()) && t.writeFloat(2, a),
null != (a = e.getHorizontalCoverX2()) && t.writeMessage(20, a, g.Image.serializeBinaryToWriter),
null != (a = e.getVerticalCoverX2()) && t.writeMessage(21, a, g.Image.serializeBinaryToWriter),
null != (a = e.getHorizontalCoverX3()) && t.writeMessage(22, a, g.Image.serializeBinaryToWriter),
null != (a = e.getVerticalCoverX3()) && t.writeMessage(23, a, g.Image.serializeBinaryToWriter),
(a = e.getSyncFromXigua()) && t.writeBool(1e3, a)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.getRatingScore = function() {
return o.Message.getFloatingPointFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.setRatingScore = function(e) {
return o.Message.setProto3FloatField(this, 2, e)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.getHorizontalCoverX2 = function() {
return o.Message.getWrapperField(this, g.Image, 20)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.setHorizontalCoverX2 = function(e) {
return o.Message.setWrapperField(this, 20, e)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.clearHorizontalCoverX2 = function() {
return this.setHorizontalCoverX2(void 0)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.hasHorizontalCoverX2 = function() {
return null != o.Message.getField(this, 20)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.getVerticalCoverX2 = function() {
return o.Message.getWrapperField(this, g.Image, 21)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.setVerticalCoverX2 = function(e) {
return o.Message.setWrapperField(this, 21, e)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.clearVerticalCoverX2 = function() {
return this.setVerticalCoverX2(void 0)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.hasVerticalCoverX2 = function() {
return null != o.Message.getField(this, 21)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.getHorizontalCoverX3 = function() {
return o.Message.getWrapperField(this, g.Image, 22)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.setHorizontalCoverX3 = function(e) {
return o.Message.setWrapperField(this, 22, e)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.clearHorizontalCoverX3 = function() {
return this.setHorizontalCoverX3(void 0)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.hasHorizontalCoverX3 = function() {
return null != o.Message.getField(this, 22)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.getVerticalCoverX3 = function() {
return o.Message.getWrapperField(this, g.Image, 23)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.setVerticalCoverX3 = function(e) {
return o.Message.setWrapperField(this, 23, e)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.clearVerticalCoverX3 = function() {
return this.setVerticalCoverX3(void 0)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.hasVerticalCoverX3 = function() {
return null != o.Message.getField(this, 23)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.getSyncFromXigua = function() {
return o.Message.getBooleanFieldWithDefault(this, 1e3, !1)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.setSyncFromXigua = function(e) {
return o.Message.setProto3BooleanField(this, 1e3, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ShowExperienceInfo.prototype.toObject = function(e) {
return proto.webcast.data.ShowExperienceInfo.toObject(e, this)
}
,
proto.webcast.data.ShowExperienceInfo.toObject = function(e, t) {
var a, r = {
playerProgressBarSkin: (a = t.getPlayerProgressBarSkin()) && proto.webcast.data.PlayerProgressBarSkin.toObject(e, a),
xiguaTvCastConfig: o.Message.getFieldWithDefault(t, 2, "0"),
vsCommentStyle: o.Message.getFieldWithDefault(t, 101, 0),
vsCommentSwitcher: o.Message.getBooleanFieldWithDefault(t, 102, !1)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ShowExperienceInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ShowExperienceInfo;
return proto.webcast.data.ShowExperienceInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ShowExperienceInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new proto.webcast.data.PlayerProgressBarSkin;
t.readMessage(a, proto.webcast.data.PlayerProgressBarSkin.deserializeBinaryFromReader),
e.setPlayerProgressBarSkin(a);
break;
case 2:
a = t.readInt64String();
e.setXiguaTvCastConfig(a);
break;
case 101:
a = t.readEnum();
e.setVsCommentStyle(a);
break;
case 102:
a = t.readBool();
e.setVsCommentSwitcher(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ShowExperienceInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ShowExperienceInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ShowExperienceInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
null != (a = e.getPlayerProgressBarSkin()) && t.writeMessage(1, a, proto.webcast.data.PlayerProgressBarSkin.serializeBinaryToWriter),
a = e.getXiguaTvCastConfig(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
0 !== (a = e.getVsCommentStyle()) && t.writeEnum(101, a),
(a = e.getVsCommentSwitcher()) && t.writeBool(102, a)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.getPlayerProgressBarSkin = function() {
return o.Message.getWrapperField(this, proto.webcast.data.PlayerProgressBarSkin, 1)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.setPlayerProgressBarSkin = function(e) {
return o.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.clearPlayerProgressBarSkin = function() {
return this.setPlayerProgressBarSkin(void 0)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.hasPlayerProgressBarSkin = function() {
return null != o.Message.getField(this, 1)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.getXiguaTvCastConfig = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.ShowExperienceInfo.prototype.setXiguaTvCastConfig = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.getVsCommentStyle = function() {
return o.Message.getFieldWithDefault(this, 101, 0)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.setVsCommentStyle = function(e) {
return o.Message.setProto3EnumField(this, 101, e)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.getVsCommentSwitcher = function() {
return o.Message.getBooleanFieldWithDefault(this, 102, !1)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.setVsCommentSwitcher = function(e) {
return o.Message.setProto3BooleanField(this, 102, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ShowDistributionInfo.prototype.toObject = function(e) {
return proto.webcast.data.ShowDistributionInfo.toObject(e, this)
}
,
proto.webcast.data.ShowDistributionInfo.toObject = function(e, t) {
var a, r = {
recommendText: o.Message.getFieldWithDefault(t, 1, ""),
modelMatchedHl: (a = t.getModelMatchedHl()) && proto.webcast.data.EpisodeStartHighLight.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ShowDistributionInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ShowDistributionInfo;
return proto.webcast.data.ShowDistributionInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ShowDistributionInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setRecommendText(a);
break;
case 2:
a = new proto.webcast.data.EpisodeStartHighLight;
t.readMessage(a, proto.webcast.data.EpisodeStartHighLight.deserializeBinaryFromReader),
e.setModelMatchedHl(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ShowDistributionInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ShowDistributionInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ShowDistributionInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getRecommendText()).length > 0 && t.writeString(1, a),
null != (a = e.getModelMatchedHl()) && t.writeMessage(2, a, proto.webcast.data.EpisodeStartHighLight.serializeBinaryToWriter)
}
,
proto.webcast.data.ShowDistributionInfo.prototype.getRecommendText = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ShowDistributionInfo.prototype.setRecommendText = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ShowDistributionInfo.prototype.getModelMatchedHl = function() {
return o.Message.getWrapperField(this, proto.webcast.data.EpisodeStartHighLight, 2)
}
,
proto.webcast.data.ShowDistributionInfo.prototype.setModelMatchedHl = function(e) {
return o.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.ShowDistributionInfo.prototype.clearModelMatchedHl = function() {
return this.setModelMatchedHl(void 0)
}
,
proto.webcast.data.ShowDistributionInfo.prototype.hasModelMatchedHl = function() {
return null != o.Message.getField(this, 2)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ShowSupplyInfo.prototype.toObject = function(e) {
return proto.webcast.data.ShowSupplyInfo.toObject(e, this)
}
,
proto.webcast.data.ShowSupplyInfo.toObject = function(e, t) {
var a = {};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ShowSupplyInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ShowSupplyInfo;
return proto.webcast.data.ShowSupplyInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ShowSupplyInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
t.getFieldNumber();
t.skipField()
}
return e
}
,
proto.webcast.data.ShowSupplyInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ShowSupplyInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ShowSupplyInfo.serializeBinaryToWriter = function(e, t) {}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.PlayerProgressBarSkin.prototype.toObject = function(e) {
return proto.webcast.data.PlayerProgressBarSkin.toObject(e, this)
}
,
proto.webcast.data.PlayerProgressBarSkin.toObject = function(e, t) {
var a, r = {
barColor: o.Message.getFieldWithDefault(t, 1, ""),
sliderStaticIcon: (a = t.getSliderStaticIcon()) && g.Image.toObject(e, a),
sliderDynamicIcon: (a = t.getSliderDynamicIcon()) && g.Image.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.PlayerProgressBarSkin.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.PlayerProgressBarSkin;
return proto.webcast.data.PlayerProgressBarSkin.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.PlayerProgressBarSkin.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setBarColor(a);
break;
case 2:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setSliderStaticIcon(a);
break;
case 3:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setSliderDynamicIcon(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.PlayerProgressBarSkin.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.PlayerProgressBarSkin.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getBarColor()).length > 0 && t.writeString(1, a),
null != (a = e.getSliderStaticIcon()) && t.writeMessage(2, a, g.Image.serializeBinaryToWriter),
null != (a = e.getSliderDynamicIcon()) && t.writeMessage(3, a, g.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.getBarColor = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.setBarColor = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.getSliderStaticIcon = function() {
return o.Message.getWrapperField(this, g.Image, 2)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.setSliderStaticIcon = function(e) {
return o.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.clearSliderStaticIcon = function() {
return this.setSliderStaticIcon(void 0)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.hasSliderStaticIcon = function() {
return null != o.Message.getField(this, 2)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.getSliderDynamicIcon = function() {
return o.Message.getWrapperField(this, g.Image, 3)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.setSliderDynamicIcon = function(e) {
return o.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.clearSliderDynamicIcon = function() {
return this.setSliderDynamicIcon(void 0)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.hasSliderDynamicIcon = function() {
return null != o.Message.getField(this, 3)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ShowCenterShowInfo.prototype.toObject = function(e) {
return proto.webcast.data.ShowCenterShowInfo.toObject(e, this)
}
,
proto.webcast.data.ShowCenterShowInfo.toObject = function(e, t) {
var a, r = {
horizontalCover: (a = t.getHorizontalCover()) && g.Image.toObject(e, a),
verticalCover: (a = t.getVerticalCover()) && g.Image.toObject(e, a),
mainTitle: o.Message.getFieldWithDefault(t, 3, ""),
subTitle: o.Message.getFieldWithDefault(t, 4, ""),
tag: o.Message.getFieldWithDefault(t, 5, ""),
lastSeen: o.Message.getBooleanFieldWithDefault(t, 6, !1),
updateStatusDesc: o.Message.getFieldWithDefault(t, 7, ""),
cardColor: o.Message.getFieldWithDefault(t, 8, "")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ShowCenterShowInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ShowCenterShowInfo;
return proto.webcast.data.ShowCenterShowInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ShowCenterShowInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setHorizontalCover(a);
break;
case 2:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setVerticalCover(a);
break;
case 3:
a = t.readString();
e.setMainTitle(a);
break;
case 4:
a = t.readString();
e.setSubTitle(a);
break;
case 5:
a = t.readString();
e.setTag(a);
break;
case 6:
a = t.readBool();
e.setLastSeen(a);
break;
case 7:
a = t.readString();
e.setUpdateStatusDesc(a);
break;
case 8:
a = t.readString();
e.setCardColor(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ShowCenterShowInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ShowCenterShowInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
null != (a = e.getHorizontalCover()) && t.writeMessage(1, a, g.Image.serializeBinaryToWriter),
null != (a = e.getVerticalCover()) && t.writeMessage(2, a, g.Image.serializeBinaryToWriter),
(a = e.getMainTitle()).length > 0 && t.writeString(3, a),
(a = e.getSubTitle()).length > 0 && t.writeString(4, a),
(a = e.getTag()).length > 0 && t.writeString(5, a),
(a = e.getLastSeen()) && t.writeBool(6, a),
(a = e.getUpdateStatusDesc()).length > 0 && t.writeString(7, a),
(a = e.getCardColor()).length > 0 && t.writeString(8, a)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.getHorizontalCover = function() {
return o.Message.getWrapperField(this, g.Image, 1)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setHorizontalCover = function(e) {
return o.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.clearHorizontalCover = function() {
return this.setHorizontalCover(void 0)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.hasHorizontalCover = function() {
return null != o.Message.getField(this, 1)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.getVerticalCover = function() {
return o.Message.getWrapperField(this, g.Image, 2)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setVerticalCover = function(e) {
return o.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.clearVerticalCover = function() {
return this.setVerticalCover(void 0)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.hasVerticalCover = function() {
return null != o.Message.getField(this, 2)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.getMainTitle = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setMainTitle = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.getSubTitle = function() {
return o.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setSubTitle = function(e) {
return o.Message.setProto3StringField(this, 4, e)
}
;
proto.webcast.data.ShowCenterShowInfo.prototype.getTag = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setTag = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.getLastSeen = function() {
return o.Message.getBooleanFieldWithDefault(this, 6, !1)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setLastSeen = function(e) {
return o.Message.setProto3BooleanField(this, 6, e)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.getUpdateStatusDesc = function() {
return o.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setUpdateStatusDesc = function(e) {
return o.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.getCardColor = function() {
return o.Message.getFieldWithDefault(this, 8, "")
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setCardColor = function(e) {
return o.Message.setProto3StringField(this, 8, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.toObject = function(e) {
return proto.webcast.data.EpisodeCorrelationSeasonInfo.toObject(e, this)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.toObject = function(e, t) {
var a, o = {
seasonBriefInfo: (a = t.getSeasonBriefInfo()) && proto.webcast.data.SeasonBriefInfo.toObject(e, a),
showInfo: (a = t.getShowInfo()) && proto.webcast.data.ShowCenterShowInfo.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.EpisodeCorrelationSeasonInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.EpisodeCorrelationSeasonInfo;
return proto.webcast.data.EpisodeCorrelationSeasonInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new proto.webcast.data.SeasonBriefInfo;
t.readMessage(a, proto.webcast.data.SeasonBriefInfo.deserializeBinaryFromReader),
e.setSeasonBriefInfo(a);
break;
case 2:
a = new proto.webcast.data.ShowCenterShowInfo;
t.readMessage(a, proto.webcast.data.ShowCenterShowInfo.deserializeBinaryFromReader),
e.setShowInfo(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.EpisodeCorrelationSeasonInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
null != (a = e.getSeasonBriefInfo()) && t.writeMessage(1, a, proto.webcast.data.SeasonBriefInfo.serializeBinaryToWriter),
null != (a = e.getShowInfo()) && t.writeMessage(2, a, proto.webcast.data.ShowCenterShowInfo.serializeBinaryToWriter)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.getSeasonBriefInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.SeasonBriefInfo, 1)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.setSeasonBriefInfo = function(e) {
return o.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.clearSeasonBriefInfo = function() {
return this.setSeasonBriefInfo(void 0)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.hasSeasonBriefInfo = function() {
return null != o.Message.getField(this, 1)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.getShowInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.ShowCenterShowInfo, 2)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.setShowInfo = function(e) {
return o.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.clearShowInfo = function() {
return this.setShowInfo(void 0)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.hasShowInfo = function() {
return null != o.Message.getField(this, 2)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.PCInfo.prototype.toObject = function(e) {
return proto.webcast.data.PCInfo.toObject(e, this)
}
,
proto.webcast.data.PCInfo.toObject = function(e, t) {
var a = {
firstDisplayBackgroundColorLeft: o.Message.getFieldWithDefault(t, 1, ""),
firstDisplayBackgroundColorMiddle: o.Message.getFieldWithDefault(t, 2, ""),
firstDisplayBackgroundColorRight: o.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.PCInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.PCInfo;
return proto.webcast.data.PCInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.PCInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setFirstDisplayBackgroundColorLeft(a);
break;
case 2:
a = t.readString();
e.setFirstDisplayBackgroundColorMiddle(a);
break;
case 3:
a = t.readString();
e.setFirstDisplayBackgroundColorRight(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.PCInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.PCInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.PCInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getFirstDisplayBackgroundColorLeft()).length > 0 && t.writeString(1, a),
(a = e.getFirstDisplayBackgroundColorMiddle()).length > 0 && t.writeString(2, a),
(a = e.getFirstDisplayBackgroundColorRight()).length > 0 && t.writeString(3, a)
}
,
proto.webcast.data.PCInfo.prototype.getFirstDisplayBackgroundColorLeft = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.PCInfo.prototype.setFirstDisplayBackgroundColorLeft = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.PCInfo.prototype.getFirstDisplayBackgroundColorMiddle = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.PCInfo.prototype.setFirstDisplayBackgroundColorMiddle = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.PCInfo.prototype.getFirstDisplayBackgroundColorRight = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.PCInfo.prototype.setFirstDisplayBackgroundColorRight = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.SearchInfo.repeatedFields_ = [3, 4],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.SearchInfo.prototype.toObject = function(e) {
return proto.webcast.data.SearchInfo.toObject(e, this)
}
,
proto.webcast.data.SearchInfo.toObject = function(e, t) {
var a, r = {
seasonAssistInfo: o.Message.getFieldWithDefault(t, 1, ""),
searchBackgroundColor: o.Message.getFieldWithDefault(t, 2, ""),
albumListEpisodeIdsList: null == (a = o.Message.getRepeatedField(t, 3)) ? void 0 : a,
relationSeasonInfoList: o.Message.toObjectList(t.getRelationSeasonInfoList(), proto.webcast.data.SearchRelationSeasonInfo.toObject, e),
albumListShowTitle: o.Message.getFieldWithDefault(t, 5, "0"),
actorsInfo: o.Message.getFieldWithDefault(t, 6, "")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.SearchInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.SearchInfo;
return proto.webcast.data.SearchInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.SearchInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setSeasonAssistInfo(a);
break;
case 2:
a = t.readString();
e.setSearchBackgroundColor(a);
break;
case 3:
for (var o = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()], r = 0; r < o.length; r++)
e.addAlbumListEpisodeIds(o[r]);
break;
case 4:
a = new proto.webcast.data.SearchRelationSeasonInfo;
t.readMessage(a, proto.webcast.data.SearchRelationSeasonInfo.deserializeBinaryFromReader),
e.addRelationSeasonInfo(a);
break;
case 5:
a = t.readInt64String();
e.setAlbumListShowTitle(a);
break;
case 6:
a = t.readString();
e.setActorsInfo(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.SearchInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.SearchInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SearchInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getSeasonAssistInfo()).length > 0 && t.writeString(1, a),
(a = e.getSearchBackgroundColor()).length > 0 && t.writeString(2, a),
(a = e.getAlbumListEpisodeIdsList()).length > 0 && t.writePackedInt64String(3, a),
(a = e.getRelationSeasonInfoList()).length > 0 && t.writeRepeatedMessage(4, a, proto.webcast.data.SearchRelationSeasonInfo.serializeBinaryToWriter),
a = e.getAlbumListShowTitle(),
0 !== parseInt(a, 10) && t.writeInt64String(5, a),
(a = e.getActorsInfo()).length > 0 && t.writeString(6, a)
}
,
proto.webcast.data.SearchInfo.prototype.getSeasonAssistInfo = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.SearchInfo.prototype.setSeasonAssistInfo = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.SearchInfo.prototype.getSearchBackgroundColor = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.SearchInfo.prototype.setSearchBackgroundColor = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.SearchInfo.prototype.getAlbumListEpisodeIdsList = function() {
return o.Message.getRepeatedField(this, 3)
}
,
proto.webcast.data.SearchInfo.prototype.setAlbumListEpisodeIdsList = function(e) {
return o.Message.setField(this, 3, e || [])
}
,
proto.webcast.data.SearchInfo.prototype.addAlbumListEpisodeIds = function(e, t) {
return o.Message.addToRepeatedField(this, 3, e, t)
}
,
proto.webcast.data.SearchInfo.prototype.clearAlbumListEpisodeIdsList = function() {
return this.setAlbumListEpisodeIdsList([])
}
,
proto.webcast.data.SearchInfo.prototype.getRelationSeasonInfoList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.SearchRelationSeasonInfo, 4)
}
,
proto.webcast.data.SearchInfo.prototype.setRelationSeasonInfoList = function(e) {
return o.Message.setRepeatedWrapperField(this, 4, e)
}
,
proto.webcast.data.SearchInfo.prototype.addRelationSeasonInfo = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 4, e, proto.webcast.data.SearchRelationSeasonInfo, t)
}
,
proto.webcast.data.SearchInfo.prototype.clearRelationSeasonInfoList = function() {
return this.setRelationSeasonInfoList([])
}
,
proto.webcast.data.SearchInfo.prototype.getAlbumListShowTitle = function() {
return o.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.SearchInfo.prototype.setAlbumListShowTitle = function(e) {
return o.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.SearchInfo.prototype.getActorsInfo = function() {
return o.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.SearchInfo.prototype.setActorsInfo = function(e) {
return o.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.SearchRelationSeasonInfo.repeatedFields_ = [3],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.SearchRelationSeasonInfo.prototype.toObject = function(e) {
return proto.webcast.data.SearchRelationSeasonInfo.toObject(e, this)
}
,
proto.webcast.data.SearchRelationSeasonInfo.toObject = function(e, t) {
var a, r = {
seasonUpdateStatus: o.Message.getFieldWithDefault(t, 1, 0),
seasonId: o.Message.getFieldWithDefault(t, 2, "0"),
episodeIdsList: null == (a = o.Message.getRepeatedField(t, 3)) ? void 0 : a
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.SearchRelationSeasonInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.SearchRelationSeasonInfo;
return proto.webcast.data.SearchRelationSeasonInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.SearchRelationSeasonInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readEnum();
e.setSeasonUpdateStatus(a);
break;
case 2:
a = t.readInt64String();
e.setSeasonId(a);
break;
case 3:
for (var o = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()], r = 0; r < o.length; r++)
e.addEpisodeIds(o[r]);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.SearchRelationSeasonInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SearchRelationSeasonInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getSeasonUpdateStatus()) && t.writeEnum(1, a),
a = e.getSeasonId(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
(a = e.getEpisodeIdsList()).length > 0 && t.writePackedInt64String(3, a)
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.getSeasonUpdateStatus = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.setSeasonUpdateStatus = function(e) {
return o.Message.setProto3EnumField(this, 1, e)
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.getSeasonId = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.setSeasonId = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.getEpisodeIdsList = function() {
return o.Message.getRepeatedField(this, 3)
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.setEpisodeIdsList = function(e) {
return o.Message.setField(this, 3, e || [])
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.addEpisodeIds = function(e, t) {
return o.Message.addToRepeatedField(this, 3, e, t)
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.clearEpisodeIdsList = function() {
return this.setEpisodeIdsList([])
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ToolbarBackgroundConfig.prototype.toObject = function(e) {
return proto.webcast.data.ToolbarBackgroundConfig.toObject(e, this)
}
,
proto.webcast.data.ToolbarBackgroundConfig.toObject = function(e, t) {
var a, r = {
color: o.Message.getFieldWithDefault(t, 1, ""),
image: (a = t.getImage()) && g.Image.toObject(e, a),
pb_switch: o.Message.getFieldWithDefault(t, 3, "0")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ToolbarBackgroundConfig.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ToolbarBackgroundConfig;
return proto.webcast.data.ToolbarBackgroundConfig.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ToolbarBackgroundConfig.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setColor(a);
break;
case 2:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setImage(a);
break;
case 3:
a = t.readInt64String();
e.setSwitch(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ToolbarBackgroundConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ToolbarBackgroundConfig.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getColor()).length > 0 && t.writeString(1, a),
null != (a = e.getImage()) && t.writeMessage(2, a, g.Image.serializeBinaryToWriter),
a = e.getSwitch(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a)
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.getColor = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.setColor = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.getImage = function() {
return o.Message.getWrapperField(this, g.Image, 2)
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.setImage = function(e) {
return o.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.clearImage = function() {
return this.setImage(void 0)
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.hasImage = function() {
return null != o.Message.getField(this, 2)
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.getSwitch = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.setSwitch = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.FreeViewRange.prototype.toObject = function(e) {
return proto.webcast.data.FreeViewRange.toObject(e, this)
}
,
proto.webcast.data.FreeViewRange.toObject = function(e, t) {
var a = {
startTime: o.Message.getFieldWithDefault(t, 1, "0"),
endTime: o.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.FreeViewRange.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.FreeViewRange;
return proto.webcast.data.FreeViewRange.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.FreeViewRange.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setStartTime(a);
break;
case 2:
a = t.readInt64String();
e.setEndTime(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.FreeViewRange.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.FreeViewRange.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.FreeViewRange.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getStartTime(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getEndTime(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a)
}
,
proto.webcast.data.FreeViewRange.prototype.getStartTime = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.FreeViewRange.prototype.setStartTime = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.FreeViewRange.prototype.getEndTime = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.FreeViewRange.prototype.setEndTime = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.EpisodePaidInfo.repeatedFields_ = [6, 9, 10],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.EpisodePaidInfo.prototype.toObject = function(e) {
return proto.webcast.data.EpisodePaidInfo.toObject(e, this)
}
,
proto.webcast.data.EpisodePaidInfo.toObject = function(e, t) {
var a, r = {
paidType: o.Message.getFieldWithDefault(t, 1, 0),
viewRight: o.Message.getFieldWithDefault(t, 2, 0),
duration: o.Message.getFieldWithDefault(t, 3, "0"),
videoInfo: (a = t.getVideoInfo()) && proto.webcast.data.VideoInfo.toObject(e, a),
orderData: (a = t.getOrderData()) && d.OrderData.toObject(e, a),
goodsInfosList: o.Message.toObjectList(t.getGoodsInfosList(), d.TicketData.toObject, e),
feedDuration: o.Message.getFieldWithDefault(t, 7, "0"),
isdelivery: o.Message.getBooleanFieldWithDefault(t, 8, !1),
goodsInfosV2List: o.Message.toObjectList(t.getGoodsInfosV2List(), l.ItemDetail.toObject, e),
freeViewRangesList: o.Message.toObjectList(t.getFreeViewRangesList(), proto.webcast.data.FreeViewRange.toObject, e)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.EpisodePaidInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.EpisodePaidInfo;
return proto.webcast.data.EpisodePaidInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.EpisodePaidInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt32();
e.setPaidType(a);
break;
case 2:
a = t.readInt32();
e.setViewRight(a);
break;
case 3:
a = t.readInt64String();
e.setDuration(a);
break;
case 4:
a = new proto.webcast.data.VideoInfo;
t.readMessage(a, proto.webcast.data.VideoInfo.deserializeBinaryFromReader),
e.setVideoInfo(a);
break;
case 5:
a = new d.OrderData;
t.readMessage(a, d.OrderData.deserializeBinaryFromReader),
e.setOrderData(a);
break;
case 6:
a = new d.TicketData;
t.readMessage(a, d.TicketData.deserializeBinaryFromReader),
e.addGoodsInfos(a);
break;
case 7:
a = t.readInt64String();
e.setFeedDuration(a);
break;
case 8:
a = t.readBool();
e.setIsdelivery(a);
break;
case 9:
a = new l.ItemDetail;
t.readMessage(a, l.ItemDetail.deserializeBinaryFromReader),
e.addGoodsInfosV2(a);
break;
case 10:
a = new proto.webcast.data.FreeViewRange;
t.readMessage(a, proto.webcast.data.FreeViewRange.deserializeBinaryFromReader),
e.addFreeViewRanges(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.EpisodePaidInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.EpisodePaidInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodePaidInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getPaidType()) && t.writeInt32(1, a),
0 !== (a = e.getViewRight()) && t.writeInt32(2, a),
a = e.getDuration(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
null != (a = e.getVideoInfo()) && t.writeMessage(4, a, proto.webcast.data.VideoInfo.serializeBinaryToWriter),
null != (a = e.getOrderData()) && t.writeMessage(5, a, d.OrderData.serializeBinaryToWriter),
(a = e.getGoodsInfosList()).length > 0 && t.writeRepeatedMessage(6, a, d.TicketData.serializeBinaryToWriter),
a = e.getFeedDuration(),
0 !== parseInt(a, 10) && t.writeInt64String(7, a),
(a = e.getIsdelivery()) && t.writeBool(8, a),
(a = e.getGoodsInfosV2List()).length > 0 && t.writeRepeatedMessage(9, a, l.ItemDetail.serializeBinaryToWriter),
(a = e.getFreeViewRangesList()).length > 0 && t.writeRepeatedMessage(10, a, proto.webcast.data.FreeViewRange.serializeBinaryToWriter)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getPaidType = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setPaidType = function(e) {
return o.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getViewRight = function() {
return o.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setViewRight = function(e) {
return o.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getDuration = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setDuration = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getVideoInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.VideoInfo, 4)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setVideoInfo = function(e) {
return o.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.clearVideoInfo = function() {
return this.setVideoInfo(void 0)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.hasVideoInfo = function() {
return null != o.Message.getField(this, 4)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getOrderData = function() {
return o.Message.getWrapperField(this, d.OrderData, 5)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setOrderData = function(e) {
return o.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.clearOrderData = function() {
return this.setOrderData(void 0)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.hasOrderData = function() {
return null != o.Message.getField(this, 5)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getGoodsInfosList = function() {
return o.Message.getRepeatedWrapperField(this, d.TicketData, 6)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setGoodsInfosList = function(e) {
return o.Message.setRepeatedWrapperField(this, 6, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.addGoodsInfos = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 6, e, proto.webcast.data.TicketData, t)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.clearGoodsInfosList = function() {
return this.setGoodsInfosList([])
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getFeedDuration = function() {
return o.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setFeedDuration = function(e) {
return o.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getIsdelivery = function() {
return o.Message.getBooleanFieldWithDefault(this, 8, !1)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setIsdelivery = function(e) {
return o.Message.setProto3BooleanField(this, 8, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getGoodsInfosV2List = function() {
return o.Message.getRepeatedWrapperField(this, l.ItemDetail, 9)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setGoodsInfosV2List = function(e) {
return o.Message.setRepeatedWrapperField(this, 9, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.addGoodsInfosV2 = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 9, e, proto.webcast.data.ItemDetail, t)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.clearGoodsInfosV2List = function() {
return this.setGoodsInfosV2List([])
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getFreeViewRangesList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.FreeViewRange, 10)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setFreeViewRangesList = function(e) {
return o.Message.setRepeatedWrapperField(this, 10, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.addFreeViewRanges = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 10, e, proto.webcast.data.FreeViewRange, t)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.clearFreeViewRangesList = function() {
return this.setFreeViewRangesList([])
}
,
proto.webcast.data.Watermark.repeatedFields_ = [4],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.Watermark.prototype.toObject = function(e) {
return proto.webcast.data.Watermark.toObject(e, this)
}
,
proto.webcast.data.Watermark.toObject = function(e, t) {
var a = {
position: o.Message.getFieldWithDefault(t, 1, "0"),
landscapeDis: o.Message.getFieldWithDefault(t, 2, "0"),
verticalDis: o.Message.getFieldWithDefault(t, 3, "0"),
watermarkIconList: o.Message.toObjectList(t.getWatermarkIconList(), proto.webcast.data.WatermarkIcon.toObject, e)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.Watermark.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.Watermark;
return proto.webcast.data.Watermark.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.Watermark.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setPosition(a);
break;
case 2:
a = t.readInt64String();
e.setLandscapeDis(a);
break;
case 3:
a = t.readInt64String();
e.setVerticalDis(a);
break;
case 4:
a = new proto.webcast.data.WatermarkIcon;
t.readMessage(a, proto.webcast.data.WatermarkIcon.deserializeBinaryFromReader),
e.addWatermarkIcon(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.Watermark.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.Watermark.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.Watermark.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getPosition(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getLandscapeDis(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
a = e.getVerticalDis(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
(a = e.getWatermarkIconList()).length > 0 && t.writeRepeatedMessage(4, a, proto.webcast.data.WatermarkIcon.serializeBinaryToWriter)
}
,
proto.webcast.data.Watermark.prototype.getPosition = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.Watermark.prototype.setPosition = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.Watermark.prototype.getLandscapeDis = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.Watermark.prototype.setLandscapeDis = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.Watermark.prototype.getVerticalDis = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.Watermark.prototype.setVerticalDis = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.Watermark.prototype.getWatermarkIconList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.WatermarkIcon, 4)
}
,
proto.webcast.data.Watermark.prototype.setWatermarkIconList = function(e) {
return o.Message.setRepeatedWrapperField(this, 4, e)
}
,
proto.webcast.data.Watermark.prototype.addWatermarkIcon = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 4, e, proto.webcast.data.WatermarkIcon, t)
}
,
proto.webcast.data.Watermark.prototype.clearWatermarkIconList = function() {
return this.setWatermarkIconList([])
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.WatermarkIcon.prototype.toObject = function(e) {
return proto.webcast.data.WatermarkIcon.toObject(e, this)
}
,
proto.webcast.data.WatermarkIcon.toObject = function(e, t) {
var a, r = {
icon: (a = t.getIcon()) && g.Image.toObject(e, a),
iconWidth: o.Message.getFieldWithDefault(t, 2, "0"),
iconType: o.Message.getFieldWithDefault(t, 3, "0")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.WatermarkIcon.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.WatermarkIcon;
return proto.webcast.data.WatermarkIcon.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.WatermarkIcon.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setIcon(a);
break;
case 2:
a = t.readInt64String();
e.setIconWidth(a);
break;
case 3:
a = t.readInt64String();
e.setIconType(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.WatermarkIcon.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.WatermarkIcon.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.WatermarkIcon.serializeBinaryToWriter = function(e, t) {
var a = void 0;
null != (a = e.getIcon()) && t.writeMessage(1, a, g.Image.serializeBinaryToWriter),
a = e.getIconWidth(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
a = e.getIconType(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a)
}
,
proto.webcast.data.WatermarkIcon.prototype.getIcon = function() {
return o.Message.getWrapperField(this, g.Image, 1)
}
,
proto.webcast.data.WatermarkIcon.prototype.setIcon = function(e) {
return o.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.WatermarkIcon.prototype.clearIcon = function() {
return this.setIcon(void 0)
}
,
proto.webcast.data.WatermarkIcon.prototype.hasIcon = function() {
return null != o.Message.getField(this, 1)
}
,
proto.webcast.data.WatermarkIcon.prototype.getIconWidth = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.WatermarkIcon.prototype.setIconWidth = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.WatermarkIcon.prototype.getIconType = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.WatermarkIcon.prototype.setIconType = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ItemComment.prototype.toObject = function(e) {
return proto.webcast.data.ItemComment.toObject(e, this)
}
,
proto.webcast.data.ItemComment.toObject = function(e, t) {
var a, o = {
itemCommentIconDark: (a = t.getItemCommentIconDark()) && g.Image.toObject(e, a),
itemCommentIconLight: (a = t.getItemCommentIconLight()) && g.Image.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ItemComment.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ItemComment;
return proto.webcast.data.ItemComment.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ItemComment.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setItemCommentIconDark(a);
break;
case 2:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setItemCommentIconLight(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ItemComment.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ItemComment.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ItemComment.serializeBinaryToWriter = function(e, t) {
var a = void 0;
null != (a = e.getItemCommentIconDark()) && t.writeMessage(1, a, g.Image.serializeBinaryToWriter),
null != (a = e.getItemCommentIconLight()) && t.writeMessage(2, a, g.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.ItemComment.prototype.getItemCommentIconDark = function() {
return o.Message.getWrapperField(this, g.Image, 1)
}
,
proto.webcast.data.ItemComment.prototype.setItemCommentIconDark = function(e) {
return o.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.ItemComment.prototype.clearItemCommentIconDark = function() {
return this.setItemCommentIconDark(void 0)
}
,
proto.webcast.data.ItemComment.prototype.hasItemCommentIconDark = function() {
return null != o.Message.getField(this, 1)
}
,
proto.webcast.data.ItemComment.prototype.getItemCommentIconLight = function() {
return o.Message.getWrapperField(this, g.Image, 2)
}
,
proto.webcast.data.ItemComment.prototype.setItemCommentIconLight = function(e) {
return o.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.ItemComment.prototype.clearItemCommentIconLight = function() {
return this.setItemCommentIconLight(void 0)
}
,
proto.webcast.data.ItemComment.prototype.hasItemCommentIconLight = function() {
return null != o.Message.getField(this, 2)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.EpisodeHighLight.prototype.toObject = function(e) {
return proto.webcast.data.EpisodeHighLight.toObject(e, this)
}
,
proto.webcast.data.EpisodeHighLight.toObject = function(e, t) {
var a, r = {
location: o.Message.getFieldWithDefault(t, 1, "0"),
description: o.Message.getFieldWithDefault(t, 2, ""),
image: (a = t.getImage()) && g.Image.toObject(e, a),
smallImage: (a = t.getSmallImage()) && g.Image.toObject(e, a),
locationEnd: o.Message.getFieldWithDefault(t, 5, "0"),
hot: o.Message.getBooleanFieldWithDefault(t, 6, !1),
collectionId: o.Message.getFieldWithDefault(t, 7, "0")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.EpisodeHighLight.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.EpisodeHighLight;
return proto.webcast.data.EpisodeHighLight.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.EpisodeHighLight.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setLocation(a);
break;
case 2:
a = t.readString();
e.setDescription(a);
break;
case 3:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setImage(a);
break;
case 4:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setSmallImage(a);
break;
case 5:
a = t.readInt64String();
e.setLocationEnd(a);
break;
case 6:
a = t.readBool();
e.setHot(a);
break;
case 7:
a = t.readInt64String();
e.setCollectionId(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.EpisodeHighLight.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.EpisodeHighLight.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeHighLight.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getLocation(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getDescription()).length > 0 && t.writeString(2, a),
null != (a = e.getImage()) && t.writeMessage(3, a, g.Image.serializeBinaryToWriter),
null != (a = e.getSmallImage()) && t.writeMessage(4, a, g.Image.serializeBinaryToWriter),
a = e.getLocationEnd(),
0 !== parseInt(a, 10) && t.writeInt64String(5, a),
(a = e.getHot()) && t.writeBool(6, a),
a = e.getCollectionId(),
0 !== parseInt(a, 10) && t.writeInt64String(7, a)
}
,
proto.webcast.data.EpisodeHighLight.prototype.getLocation = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.EpisodeHighLight.prototype.setLocation = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.EpisodeHighLight.prototype.getDescription = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.EpisodeHighLight.prototype.setDescription = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.EpisodeHighLight.prototype.getImage = function() {
return o.Message.getWrapperField(this, g.Image, 3)
}
,
proto.webcast.data.EpisodeHighLight.prototype.setImage = function(e) {
return o.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.EpisodeHighLight.prototype.clearImage = function() {
return this.setImage(void 0)
}
,
proto.webcast.data.EpisodeHighLight.prototype.hasImage = function() {
return null != o.Message.getField(this, 3)
}
,
proto.webcast.data.EpisodeHighLight.prototype.getSmallImage = function() {
return o.Message.getWrapperField(this, g.Image, 4)
}
,
proto.webcast.data.EpisodeHighLight.prototype.setSmallImage = function(e) {
return o.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.EpisodeHighLight.prototype.clearSmallImage = function() {
return this.setSmallImage(void 0)
}
,
proto.webcast.data.EpisodeHighLight.prototype.hasSmallImage = function() {
return null != o.Message.getField(this, 4)
}
,
proto.webcast.data.EpisodeHighLight.prototype.getLocationEnd = function() {
return o.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.EpisodeHighLight.prototype.setLocationEnd = function(e) {
return o.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.EpisodeHighLight.prototype.getHot = function() {
return o.Message.getBooleanFieldWithDefault(this, 6, !1)
}
,
proto.webcast.data.EpisodeHighLight.prototype.setHot = function(e) {
return o.Message.setProto3BooleanField(this, 6, e)
}
,
proto.webcast.data.EpisodeHighLight.prototype.getCollectionId = function() {
return o.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.EpisodeHighLight.prototype.setCollectionId = function(e) {
return o.Message.setProto3StringIntField(this, 7, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.EpisodeStartHighLight.prototype.toObject = function(e) {
return proto.webcast.data.EpisodeStartHighLight.toObject(e, this)
}
,
proto.webcast.data.EpisodeStartHighLight.toObject = function(e, t) {
var a = {
standard: o.Message.getBooleanFieldWithDefault(t, 1, !1),
description: o.Message.getFieldWithDefault(t, 2, ""),
location: o.Message.getFieldWithDefault(t, 3, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.EpisodeStartHighLight.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.EpisodeStartHighLight;
return proto.webcast.data.EpisodeStartHighLight.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.EpisodeStartHighLight.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readBool();
e.setStandard(a);
break;
case 2:
a = t.readString();
e.setDescription(a);
break;
case 3:
a = t.readInt64String();
e.setLocation(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.EpisodeStartHighLight.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.EpisodeStartHighLight.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeStartHighLight.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getStandard()) && t.writeBool(1, a),
(a = e.getDescription()).length > 0 && t.writeString(2, a),
a = e.getLocation(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a)
}
,
proto.webcast.data.EpisodeStartHighLight.prototype.getStandard = function() {
return o.Message.getBooleanFieldWithDefault(this, 1, !1)
}
,
proto.webcast.data.EpisodeStartHighLight.prototype.setStandard = function(e) {
return o.Message.setProto3BooleanField(this, 1, e)
}
,
proto.webcast.data.EpisodeStartHighLight.prototype.getDescription = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.EpisodeStartHighLight.prototype.setDescription = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.EpisodeStartHighLight.prototype.getLocation = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.EpisodeStartHighLight.prototype.setLocation = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.CommentTcsInfo.repeatedFields_ = [3, 4],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.CommentTcsInfo.prototype.toObject = function(e) {
return proto.webcast.data.CommentTcsInfo.toObject(e, this)
}
,
proto.webcast.data.CommentTcsInfo.toObject = function(e, t) {
var a, r = {
commentTcsType: o.Message.getFieldWithDefault(t, 1, "0"),
commentTcsProject: o.Message.getFieldWithDefault(t, 2, "0"),
banAntidirtTablesList: null == (a = o.Message.getRepeatedField(t, 3)) ? void 0 : a,
selfVisibleAntidirtTablesList: null == (a = o.Message.getRepeatedField(t, 4)) ? void 0 : a
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.CommentTcsInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.CommentTcsInfo;
return proto.webcast.data.CommentTcsInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.CommentTcsInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setCommentTcsType(a);
break;
case 2:
a = t.readInt64String();
e.setCommentTcsProject(a);
break;
case 3:
for (var o = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()], r = 0; r < o.length; r++)
e.addBanAntidirtTables(o[r]);
break;
case 4:
for (o = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
r = 0; r < o.length; r++)
e.addSelfVisibleAntidirtTables(o[r]);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.CommentTcsInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.CommentTcsInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CommentTcsInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getCommentTcsType(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getCommentTcsProject(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
(a = e.getBanAntidirtTablesList()).length > 0 && t.writePackedInt64String(3, a),
(a = e.getSelfVisibleAntidirtTablesList()).length > 0 && t.writePackedInt64String(4, a)
}
,
proto.webcast.data.CommentTcsInfo.prototype.getCommentTcsType = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.CommentTcsInfo.prototype.setCommentTcsType = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.CommentTcsInfo.prototype.getCommentTcsProject = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.CommentTcsInfo.prototype.setCommentTcsProject = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.CommentTcsInfo.prototype.getBanAntidirtTablesList = function() {
return o.Message.getRepeatedField(this, 3)
}
,
proto.webcast.data.CommentTcsInfo.prototype.setBanAntidirtTablesList = function(e) {
return o.Message.setField(this, 3, e || [])
}
,
proto.webcast.data.CommentTcsInfo.prototype.addBanAntidirtTables = function(e, t) {
return o.Message.addToRepeatedField(this, 3, e, t)
}
,
proto.webcast.data.CommentTcsInfo.prototype.clearBanAntidirtTablesList = function() {
return this.setBanAntidirtTablesList([])
}
,
proto.webcast.data.CommentTcsInfo.prototype.getSelfVisibleAntidirtTablesList = function() {
return o.Message.getRepeatedField(this, 4)
}
,
proto.webcast.data.CommentTcsInfo.prototype.setSelfVisibleAntidirtTablesList = function(e) {
return o.Message.setField(this, 4, e || [])
}
,
proto.webcast.data.CommentTcsInfo.prototype.addSelfVisibleAntidirtTables = function(e, t) {
return o.Message.addToRepeatedField(this, 4, e, t)
}
,
proto.webcast.data.CommentTcsInfo.prototype.clearSelfVisibleAntidirtTablesList = function() {
return this.setSelfVisibleAntidirtTablesList([])
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.Share.prototype.toObject = function(e) {
return proto.webcast.data.Share.toObject(e, this)
}
,
proto.webcast.data.Share.toObject = function(e, t) {
var a = {
shareUrl: o.Message.getFieldWithDefault(t, 1, ""),
anchorShareText: o.Message.getFieldWithDefault(t, 2, ""),
userShareText: o.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.Share.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.Share;
return proto.webcast.data.Share.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.Share.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setShareUrl(a);
break;
case 2:
a = t.readString();
e.setAnchorShareText(a);
break;
case 3:
a = t.readString();
e.setUserShareText(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.Share.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.Share.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.Share.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getShareUrl()).length > 0 && t.writeString(1, a),
(a = e.getAnchorShareText()).length > 0 && t.writeString(2, a),
(a = e.getUserShareText()).length > 0 && t.writeString(3, a)
}
,
proto.webcast.data.Share.prototype.getShareUrl = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.Share.prototype.setShareUrl = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.Share.prototype.getAnchorShareText = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.Share.prototype.setAnchorShareText = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.Share.prototype.getUserShareText = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.Share.prototype.setUserShareText = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.MoreHighlight.repeatedFields_ = [3, 4, 8],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.MoreHighlight.prototype.toObject = function(e) {
return proto.webcast.data.MoreHighlight.toObject(e, this)
}
,
proto.webcast.data.MoreHighlight.toObject = function(e, t) {
var a, r = {
title: o.Message.getFieldWithDefault(t, 1, ""),
desc: o.Message.getFieldWithDefault(t, 2, ""),
episodesList: o.Message.toObjectList(t.getEpisodesList(), proto.webcast.data.AlbumItem.toObject, e),
backgroundColorsList: null == (a = o.Message.getRepeatedField(t, 4)) ? void 0 : a,
moreSeasons: (a = t.getMoreSeasons()) && proto.webcast.data.MoreSeason.toObject(e, a),
total: o.Message.getFieldWithDefault(t, 6, "0"),
extensionType: o.Message.getFieldWithDefault(t, 7, "0"),
moreEntryListList: o.Message.toObjectList(t.getMoreEntryListList(), proto.webcast.data.MoreEntry.toObject, e),
normalEpisodeCount: o.Message.getFieldWithDefault(t, 9, "0")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.MoreHighlight.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.MoreHighlight;
return proto.webcast.data.MoreHighlight.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.MoreHighlight.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setTitle(a);
break;
case 2:
a = t.readString();
e.setDesc(a);
break;
case 3:
a = new proto.webcast.data.AlbumItem;
t.readMessage(a, proto.webcast.data.AlbumItem.deserializeBinaryFromReader),
e.addEpisodes(a);
break;
case 4:
a = t.readString();
e.addBackgroundColors(a);
break;
case 5:
a = new proto.webcast.data.MoreSeason;
t.readMessage(a, proto.webcast.data.MoreSeason.deserializeBinaryFromReader),
e.setMoreSeasons(a);
break;
case 6:
a = t.readInt64String();
e.setTotal(a);
break;
case 7:
a = t.readInt64String();
e.setExtensionType(a);
break;
case 8:
a = new proto.webcast.data.MoreEntry;
t.readMessage(a, proto.webcast.data.MoreEntry.deserializeBinaryFromReader),
e.addMoreEntryList(a);
break;
case 9:
a = t.readInt64String();
e.setNormalEpisodeCount(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.MoreHighlight.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.MoreHighlight.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MoreHighlight.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getTitle()).length > 0 && t.writeString(1, a),
(a = e.getDesc()).length > 0 && t.writeString(2, a),
(a = e.getEpisodesList()).length > 0 && t.writeRepeatedMessage(3, a, proto.webcast.data.AlbumItem.serializeBinaryToWriter),
(a = e.getBackgroundColorsList()).length > 0 && t.writeRepeatedString(4, a),
null != (a = e.getMoreSeasons()) && t.writeMessage(5, a, proto.webcast.data.MoreSeason.serializeBinaryToWriter),
a = e.getTotal(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a),
a = e.getExtensionType(),
0 !== parseInt(a, 10) && t.writeInt64String(7, a),
(a = e.getMoreEntryListList()).length > 0 && t.writeRepeatedMessage(8, a, proto.webcast.data.MoreEntry.serializeBinaryToWriter),
a = e.getNormalEpisodeCount(),
0 !== parseInt(a, 10) && t.writeInt64String(9, a)
}
,
proto.webcast.data.MoreHighlight.prototype.getTitle = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.MoreHighlight.prototype.setTitle = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.MoreHighlight.prototype.getDesc = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.MoreHighlight.prototype.setDesc = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.MoreHighlight.prototype.getEpisodesList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.AlbumItem, 3)
}
,
proto.webcast.data.MoreHighlight.prototype.setEpisodesList = function(e) {
return o.Message.setRepeatedWrapperField(this, 3, e)
}
,
proto.webcast.data.MoreHighlight.prototype.addEpisodes = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 3, e, proto.webcast.data.AlbumItem, t)
}
,
proto.webcast.data.MoreHighlight.prototype.clearEpisodesList = function() {
return this.setEpisodesList([])
}
,
proto.webcast.data.MoreHighlight.prototype.getBackgroundColorsList = function() {
return o.Message.getRepeatedField(this, 4)
}
,
proto.webcast.data.MoreHighlight.prototype.setBackgroundColorsList = function(e) {
return o.Message.setField(this, 4, e || [])
}
,
proto.webcast.data.MoreHighlight.prototype.addBackgroundColors = function(e, t) {
return o.Message.addToRepeatedField(this, 4, e, t)
}
,
proto.webcast.data.MoreHighlight.prototype.clearBackgroundColorsList = function() {
return this.setBackgroundColorsList([])
}
,
proto.webcast.data.MoreHighlight.prototype.getMoreSeasons = function() {
return o.Message.getWrapperField(this, proto.webcast.data.MoreSeason, 5)
}
,
proto.webcast.data.MoreHighlight.prototype.setMoreSeasons = function(e) {
return o.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.MoreHighlight.prototype.clearMoreSeasons = function() {
return this.setMoreSeasons(void 0)
}
,
proto.webcast.data.MoreHighlight.prototype.hasMoreSeasons = function() {
return null != o.Message.getField(this, 5)
}
,
proto.webcast.data.MoreHighlight.prototype.getTotal = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.MoreHighlight.prototype.setTotal = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.MoreHighlight.prototype.getExtensionType = function() {
return o.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.MoreHighlight.prototype.setExtensionType = function(e) {
return o.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.MoreHighlight.prototype.getMoreEntryListList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.MoreEntry, 8)
}
,
proto.webcast.data.MoreHighlight.prototype.setMoreEntryListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 8, e)
}
,
proto.webcast.data.MoreHighlight.prototype.addMoreEntryList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 8, e, proto.webcast.data.MoreEntry, t)
}
,
proto.webcast.data.MoreHighlight.prototype.clearMoreEntryListList = function() {
return this.setMoreEntryListList([])
}
,
proto.webcast.data.MoreHighlight.prototype.getNormalEpisodeCount = function() {
return o.Message.getFieldWithDefault(this, 9, "0")
}
,
proto.webcast.data.MoreHighlight.prototype.setNormalEpisodeCount = function(e) {
return o.Message.setProto3StringIntField(this, 9, e)
}
,
proto.webcast.data.MoreEntry.repeatedFields_ = [3, 4, 9, 12],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.MoreEntry.prototype.toObject = function(e) {
return proto.webcast.data.MoreEntry.toObject(e, this)
}
,
proto.webcast.data.MoreEntry.toObject = function(e, t) {
var a, r = {
title: o.Message.getFieldWithDefault(t, 1, ""),
desc: o.Message.getFieldWithDefault(t, 2, ""),
episodesList: o.Message.toObjectList(t.getEpisodesList(), proto.webcast.data.AlbumItem.toObject, e),
backgroundColorsList: null == (a = o.Message.getRepeatedField(t, 4)) ? void 0 : a,
total: o.Message.getFieldWithDefault(t, 6, "0"),
extensionType: o.Message.getFieldWithDefault(t, 7, "0"),
displayType: o.Message.getFieldWithDefault(t, 8, "0"),
episodeIdsList: null == (a = o.Message.getRepeatedField(t, 9)) ? void 0 : a,
batchSize: o.Message.getFieldWithDefault(t, 10, "0"),
secondTitle: o.Message.getFieldWithDefault(t, 11, ""),
episodeIdsStrList: null == (a = o.Message.getRepeatedField(t, 12)) ? void 0 : a
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.MoreEntry.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.MoreEntry;
return proto.webcast.data.MoreEntry.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.MoreEntry.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setTitle(a);
break;
case 2:
a = t.readString();
e.setDesc(a);
break;
case 3:
a = new proto.webcast.data.AlbumItem;
t.readMessage(a, proto.webcast.data.AlbumItem.deserializeBinaryFromReader),
e.addEpisodes(a);
break;
case 4:
a = t.readString();
e.addBackgroundColors(a);
break;
case 6:
a = t.readInt64String();
e.setTotal(a);
break;
case 7:
a = t.readInt64String();
e.setExtensionType(a);
break;
case 8:
a = t.readInt64String();
e.setDisplayType(a);
break;
case 9:
for (var o = t.isDelimited() ? t.readPackedInt64() : [t.readInt64()], r = 0; r < o.length; r++)
e.addEpisodeIds(o[r]);
break;
case 10:
a = t.readInt64String();
e.setBatchSize(a);
break;
case 11:
a = t.readString();
e.setSecondTitle(a);
break;
case 12:
a = t.readString();
e.addEpisodeIdsStr(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.MoreEntry.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.MoreEntry.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MoreEntry.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getTitle()).length > 0 && t.writeString(1, a),
(a = e.getDesc()).length > 0 && t.writeString(2, a),
(a = e.getEpisodesList()).length > 0 && t.writeRepeatedMessage(3, a, proto.webcast.data.AlbumItem.serializeBinaryToWriter),
(a = e.getBackgroundColorsList()).length > 0 && t.writeRepeatedString(4, a),
a = e.getTotal(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a),
a = e.getExtensionType(),
0 !== parseInt(a, 10) && t.writeInt64String(7, a),
a = e.getDisplayType(),
0 !== parseInt(a, 10) && t.writeInt64String(8, a),
(a = e.getEpisodeIdsList()).length > 0 && t.writePackedInt64(9, a),
a = e.getBatchSize(),
0 !== parseInt(a, 10) && t.writeInt64String(10, a),
(a = e.getSecondTitle()).length > 0 && t.writeString(11, a),
(a = e.getEpisodeIdsStrList()).length > 0 && t.writeRepeatedString(12, a)
}
,
proto.webcast.data.MoreEntry.prototype.getTitle = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.MoreEntry.prototype.setTitle = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.MoreEntry.prototype.getDesc = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.MoreEntry.prototype.setDesc = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.MoreEntry.prototype.getEpisodesList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.AlbumItem, 3)
}
,
proto.webcast.data.MoreEntry.prototype.setEpisodesList = function(e) {
return o.Message.setRepeatedWrapperField(this, 3, e)
}
,
proto.webcast.data.MoreEntry.prototype.addEpisodes = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 3, e, proto.webcast.data.AlbumItem, t)
}
,
proto.webcast.data.MoreEntry.prototype.clearEpisodesList = function() {
return this.setEpisodesList([])
}
,
proto.webcast.data.MoreEntry.prototype.getBackgroundColorsList = function() {
return o.Message.getRepeatedField(this, 4)
}
,
proto.webcast.data.MoreEntry.prototype.setBackgroundColorsList = function(e) {
return o.Message.setField(this, 4, e || [])
}
,
proto.webcast.data.MoreEntry.prototype.addBackgroundColors = function(e, t) {
return o.Message.addToRepeatedField(this, 4, e, t)
}
,
proto.webcast.data.MoreEntry.prototype.clearBackgroundColorsList = function() {
return this.setBackgroundColorsList([])
}
,
proto.webcast.data.MoreEntry.prototype.getTotal = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.MoreEntry.prototype.setTotal = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.MoreEntry.prototype.getExtensionType = function() {
return o.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.MoreEntry.prototype.setExtensionType = function(e) {
return o.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.MoreEntry.prototype.getDisplayType = function() {
return o.Message.getFieldWithDefault(this, 8, "0")
}
,
proto.webcast.data.MoreEntry.prototype.setDisplayType = function(e) {
return o.Message.setProto3StringIntField(this, 8, e)
}
,
proto.webcast.data.MoreEntry.prototype.getEpisodeIdsList = function() {
return o.Message.getRepeatedField(this, 9)
}
,
proto.webcast.data.MoreEntry.prototype.setEpisodeIdsList = function(e) {
return o.Message.setField(this, 9, e || [])
}
,
proto.webcast.data.MoreEntry.prototype.addEpisodeIds = function(e, t) {
return o.Message.addToRepeatedField(this, 9, e, t)
}
,
proto.webcast.data.MoreEntry.prototype.clearEpisodeIdsList = function() {
return this.setEpisodeIdsList([])
}
,
proto.webcast.data.MoreEntry.prototype.getBatchSize = function() {
return o.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.MoreEntry.prototype.setBatchSize = function(e) {
return o.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.MoreEntry.prototype.getSecondTitle = function() {
return o.Message.getFieldWithDefault(this, 11, "")
}
,
proto.webcast.data.MoreEntry.prototype.setSecondTitle = function(e) {
return o.Message.setProto3StringField(this, 11, e)
}
,
proto.webcast.data.MoreEntry.prototype.getEpisodeIdsStrList = function() {
return o.Message.getRepeatedField(this, 12)
}
,
proto.webcast.data.MoreEntry.prototype.setEpisodeIdsStrList = function(e) {
return o.Message.setField(this, 12, e || [])
}
,
proto.webcast.data.MoreEntry.prototype.addEpisodeIdsStr = function(e, t) {
return o.Message.addToRepeatedField(this, 12, e, t)
}
,
proto.webcast.data.MoreEntry.prototype.clearEpisodeIdsStrList = function() {
return this.setEpisodeIdsStrList([])
}
,
proto.webcast.data.MoreHighLightList.repeatedFields_ = [3, 4],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.MoreHighLightList.prototype.toObject = function(e) {
return proto.webcast.data.MoreHighLightList.toObject(e, this)
}
,
proto.webcast.data.MoreHighLightList.toObject = function(e, t) {
var a, r = {
subTitle: o.Message.getFieldWithDefault(t, 1, ""),
desc: o.Message.getFieldWithDefault(t, 2, ""),
episodeIdsList: null == (a = o.Message.getRepeatedField(t, 3)) ? void 0 : a,
backgroundColorsList: null == (a = o.Message.getRepeatedField(t, 4)) ? void 0 : a,
introductionUrl: o.Message.getFieldWithDefault(t, 5, ""),
extensionType: o.Message.getFieldWithDefault(t, 6, "0"),
normalEpisodeCount: o.Message.getFieldWithDefault(t, 7, "0")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.MoreHighLightList.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.MoreHighLightList;
return proto.webcast.data.MoreHighLightList.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.MoreHighLightList.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setSubTitle(a);
break;
case 2:
a = t.readString();
e.setDesc(a);
break;
case 3:
for (var o = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()], r = 0; r < o.length; r++)
e.addEpisodeIds(o[r]);
break;
case 4:
a = t.readString();
e.addBackgroundColors(a);
break;
case 5:
a = t.readString();
e.setIntroductionUrl(a);
break;
case 6:
a = t.readInt64String();
e.setExtensionType(a);
break;
case 7:
a = t.readInt64String();
e.setNormalEpisodeCount(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.MoreHighLightList.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.MoreHighLightList.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MoreHighLightList.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getSubTitle()).length > 0 && t.writeString(1, a),
(a = e.getDesc()).length > 0 && t.writeString(2, a),
(a = e.getEpisodeIdsList()).length > 0 && t.writePackedInt64String(3, a),
(a = e.getBackgroundColorsList()).length > 0 && t.writeRepeatedString(4, a),
(a = e.getIntroductionUrl()).length > 0 && t.writeString(5, a),
a = e.getExtensionType(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a),
a = e.getNormalEpisodeCount(),
0 !== parseInt(a, 10) && t.writeInt64String(7, a)
}
,
proto.webcast.data.MoreHighLightList.prototype.getSubTitle = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.MoreHighLightList.prototype.setSubTitle = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.MoreHighLightList.prototype.getDesc = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.MoreHighLightList.prototype.setDesc = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.MoreHighLightList.prototype.getEpisodeIdsList = function() {
return o.Message.getRepeatedField(this, 3)
}
,
proto.webcast.data.MoreHighLightList.prototype.setEpisodeIdsList = function(e) {
return o.Message.setField(this, 3, e || [])
}
,
proto.webcast.data.MoreHighLightList.prototype.addEpisodeIds = function(e, t) {
return o.Message.addToRepeatedField(this, 3, e, t)
}
,
proto.webcast.data.MoreHighLightList.prototype.clearEpisodeIdsList = function() {
return this.setEpisodeIdsList([])
}
,
proto.webcast.data.MoreHighLightList.prototype.getBackgroundColorsList = function() {
return o.Message.getRepeatedField(this, 4)
}
,
proto.webcast.data.MoreHighLightList.prototype.setBackgroundColorsList = function(e) {
return o.Message.setField(this, 4, e || [])
}
,
proto.webcast.data.MoreHighLightList.prototype.addBackgroundColors = function(e, t) {
return o.Message.addToRepeatedField(this, 4, e, t)
}
,
proto.webcast.data.MoreHighLightList.prototype.clearBackgroundColorsList = function() {
return this.setBackgroundColorsList([])
}
,
proto.webcast.data.MoreHighLightList.prototype.getIntroductionUrl = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.MoreHighLightList.prototype.setIntroductionUrl = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.MoreHighLightList.prototype.getExtensionType = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.MoreHighLightList.prototype.setExtensionType = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.MoreHighLightList.prototype.getNormalEpisodeCount = function() {
return o.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.MoreHighLightList.prototype.setNormalEpisodeCount = function(e) {
return o.Message.setProto3StringIntField(this, 7, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.UserStatistics.prototype.toObject = function(e) {
return proto.webcast.data.UserStatistics.toObject(e, this)
}
,
proto.webcast.data.UserStatistics.toObject = function(e, t) {
var a = {
watchDuration: o.Message.getFieldWithDefault(t, 1, "0"),
watchRatio: o.Message.getFloatingPointFieldWithDefault(t, 2, 0),
watchStatTime: o.Message.getFieldWithDefault(t, 3, "0"),
watchPeriod: o.Message.getFieldWithDefault(t, 4, ""),
watchEpisodeId: o.Message.getFieldWithDefault(t, 5, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.UserStatistics.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.UserStatistics;
return proto.webcast.data.UserStatistics.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.UserStatistics.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setWatchDuration(a);
break;
case 2:
a = t.readFloat();
e.setWatchRatio(a);
break;
case 3:
a = t.readInt64String();
e.setWatchStatTime(a);
break;
case 4:
a = t.readString();
e.setWatchPeriod(a);
break;
case 5:
a = t.readString();
e.setWatchEpisodeId(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.UserStatistics.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.UserStatistics.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.UserStatistics.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getWatchDuration(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
0 !== (a = e.getWatchRatio()) && t.writeFloat(2, a),
a = e.getWatchStatTime(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
(a = e.getWatchPeriod()).length > 0 && t.writeString(4, a),
(a = e.getWatchEpisodeId()).length > 0 && t.writeString(5, a)
}
,
proto.webcast.data.UserStatistics.prototype.getWatchDuration = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.UserStatistics.prototype.setWatchDuration = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.UserStatistics.prototype.getWatchRatio = function() {
return o.Message.getFloatingPointFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.UserStatistics.prototype.setWatchRatio = function(e) {
return o.Message.setProto3FloatField(this, 2, e)
}
,
proto.webcast.data.UserStatistics.prototype.getWatchStatTime = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.UserStatistics.prototype.setWatchStatTime = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.UserStatistics.prototype.getWatchPeriod = function() {
return o.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.UserStatistics.prototype.setWatchPeriod = function(e) {
return o.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.UserStatistics.prototype.getWatchEpisodeId = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.UserStatistics.prototype.setWatchEpisodeId = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.SegmentFlowTime.prototype.toObject = function(e) {
return proto.webcast.data.SegmentFlowTime.toObject(e, this)
}
,
proto.webcast.data.SegmentFlowTime.toObject = function(e, t) {
var a = {
startOffset: o.Message.getFieldWithDefault(t, 1, "0"),
endOffset: o.Message.getFieldWithDefault(t, 2, "0"),
startOffsetFlowTime: o.Message.getFieldWithDefault(t, 3, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SegmentFlowTime.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.SegmentFlowTime;
return proto.webcast.data.SegmentFlowTime.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.SegmentFlowTime.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setStartOffset(a);
break;
case 2:
a = t.readInt64String();
e.setEndOffset(a);
break;
case 3:
a = t.readInt64String();
e.setStartOffsetFlowTime(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.SegmentFlowTime.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.SegmentFlowTime.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SegmentFlowTime.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getStartOffset(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getEndOffset(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
a = e.getStartOffsetFlowTime(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a)
}
,
proto.webcast.data.SegmentFlowTime.prototype.getStartOffset = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.SegmentFlowTime.prototype.setStartOffset = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.SegmentFlowTime.prototype.getEndOffset = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.SegmentFlowTime.prototype.setEndOffset = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.SegmentFlowTime.prototype.getStartOffsetFlowTime = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.SegmentFlowTime.prototype.setStartOffsetFlowTime = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.Statistics.prototype.toObject = function(e) {
return proto.webcast.data.Statistics.toObject(e, this)
}
,
proto.webcast.data.Statistics.toObject = function(e, t) {
var a = {
id: o.Message.getFieldWithDefault(t, 1, ""),
commentCount: o.Message.getFieldWithDefault(t, 2, "0"),
diggCount: o.Message.getFieldWithDefault(t, 3, "0"),
downloadCount: o.Message.getFieldWithDefault(t, 4, "0"),
playCount: o.Message.getFieldWithDefault(t, 5, "0"),
shareCount: o.Message.getFieldWithDefault(t, 6, "0"),
forwardCount: o.Message.getFieldWithDefault(t, 7, "0"),
loseCount: o.Message.getFieldWithDefault(t, 8, 0),
loseCommentCount: o.Message.getFieldWithDefault(t, 9, 0)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.Statistics.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.Statistics;
return proto.webcast.data.Statistics.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.Statistics.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setId(a);
break;
case 2:
a = t.readInt64String();
e.setCommentCount(a);
break;
case 3:
a = t.readInt64String();
e.setDiggCount(a);
break;
case 4:
a = t.readInt64String();
e.setDownloadCount(a);
break;
case 5:
a = t.readInt64String();
e.setPlayCount(a);
break;
case 6:
a = t.readInt64String();
e.setShareCount(a);
break;
case 7:
a = t.readInt64String();
e.setForwardCount(a);
break;
case 8:
a = t.readInt32();
e.setLoseCount(a);
break;
case 9:
a = t.readInt32();
e.setLoseCommentCount(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.Statistics.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.Statistics.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.Statistics.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getId()).length > 0 && t.writeString(1, a),
a = e.getCommentCount(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a),
a = e.getDiggCount(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
a = e.getDownloadCount(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a),
a = e.getPlayCount(),
0 !== parseInt(a, 10) && t.writeInt64String(5, a),
a = e.getShareCount(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a),
a = e.getForwardCount(),
0 !== parseInt(a, 10) && t.writeInt64String(7, a),
0 !== (a = e.getLoseCount()) && t.writeInt32(8, a),
0 !== (a = e.getLoseCommentCount()) && t.writeInt32(9, a)
}
,
proto.webcast.data.Statistics.prototype.getId = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.Statistics.prototype.setId = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.Statistics.prototype.getCommentCount = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.Statistics.prototype.setCommentCount = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.Statistics.prototype.getDiggCount = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.Statistics.prototype.setDiggCount = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.Statistics.prototype.getDownloadCount = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.Statistics.prototype.setDownloadCount = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.Statistics.prototype.getPlayCount = function() {
return o.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.Statistics.prototype.setPlayCount = function(e) {
return o.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.Statistics.prototype.getShareCount = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.Statistics.prototype.setShareCount = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.Statistics.prototype.getForwardCount = function() {
return o.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.Statistics.prototype.setForwardCount = function(e) {
return o.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.Statistics.prototype.getLoseCount = function() {
return o.Message.getFieldWithDefault(this, 8, 0)
}
,
proto.webcast.data.Statistics.prototype.setLoseCount = function(e) {
return o.Message.setProto3IntField(this, 8, e)
}
,
proto.webcast.data.Statistics.prototype.getLoseCommentCount = function() {
return o.Message.getFieldWithDefault(this, 9, 0)
}
,
proto.webcast.data.Statistics.prototype.setLoseCommentCount = function(e) {
return o.Message.setProto3IntField(this, 9, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VideoModelContainer.prototype.toObject = function(e) {
return proto.webcast.data.VideoModelContainer.toObject(e, this)
}
,
proto.webcast.data.VideoModelContainer.toObject = function(e, t) {
var a = {
json: o.Message.getFieldWithDefault(t, 1, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.VideoModelContainer.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.VideoModelContainer;
return proto.webcast.data.VideoModelContainer.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.VideoModelContainer.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
if (1 === t.getFieldNumber()) {
var a = t.readString();
e.setJson(a)
} else
t.skipField()
}
return e
}
,
proto.webcast.data.VideoModelContainer.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.VideoModelContainer.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VideoModelContainer.serializeBinaryToWriter = function(e, t) {
var a;
(a = e.getJson()).length > 0 && t.writeString(1, a)
}
,
proto.webcast.data.VideoModelContainer.prototype.getJson = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.VideoModelContainer.prototype.setJson = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.VideoPlayInfo.repeatedFields_ = [2],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VideoPlayInfo.prototype.toObject = function(e) {
return proto.webcast.data.VideoPlayInfo.toObject(e, this)
}
,
proto.webcast.data.VideoPlayInfo.toObject = function(e, t) {
var a = {
format: o.Message.getFieldWithDefault(t, 1, ""),
playUrlsList: o.Message.toObjectList(t.getPlayUrlsList(), proto.webcast.data.VideoPlayInfo.Url.toObject, e),
postUrl: o.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.VideoPlayInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.VideoPlayInfo;
return proto.webcast.data.VideoPlayInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.VideoPlayInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setFormat(a);
break;
case 2:
a = new proto.webcast.data.VideoPlayInfo.Url;
t.readMessage(a, proto.webcast.data.VideoPlayInfo.Url.deserializeBinaryFromReader),
e.addPlayUrls(a);
break;
case 3:
a = t.readString();
e.setPostUrl(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.VideoPlayInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.VideoPlayInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VideoPlayInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getFormat()).length > 0 && t.writeString(1, a),
(a = e.getPlayUrlsList()).length > 0 && t.writeRepeatedMessage(2, a, proto.webcast.data.VideoPlayInfo.Url.serializeBinaryToWriter),
(a = e.getPostUrl()).length > 0 && t.writeString(3, a)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VideoPlayInfo.Url.prototype.toObject = function(e) {
return proto.webcast.data.VideoPlayInfo.Url.toObject(e, this)
}
,
proto.webcast.data.VideoPlayInfo.Url.toObject = function(e, t) {
var a = {
definition: o.Message.getFieldWithDefault(t, 1, ""),
main: o.Message.getFieldWithDefault(t, 2, ""),
backup: o.Message.getFieldWithDefault(t, 3, ""),
height: o.Message.getFieldWithDefault(t, 4, 0),
width: o.Message.getFieldWithDefault(t, 5, 0)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.VideoPlayInfo.Url.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.VideoPlayInfo.Url;
return proto.webcast.data.VideoPlayInfo.Url.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.VideoPlayInfo.Url.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setDefinition(a);
break;
case 2:
a = t.readString();
e.setMain(a);
break;
case 3:
a = t.readString();
e.setBackup(a);
break;
case 4:
a = t.readInt64();
e.setHeight(a);
break;
case 5:
a = t.readInt64();
e.setWidth(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.VideoPlayInfo.Url.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VideoPlayInfo.Url.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getDefinition()).length > 0 && t.writeString(1, a),
(a = e.getMain()).length > 0 && t.writeString(2, a),
(a = e.getBackup()).length > 0 && t.writeString(3, a),
0 !== (a = e.getHeight()) && t.writeInt64(4, a),
0 !== (a = e.getWidth()) && t.writeInt64(5, a)
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.getDefinition = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.setDefinition = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.getMain = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.setMain = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.getBackup = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.setBackup = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.getHeight = function() {
return o.Message.getFieldWithDefault(this, 4, 0)
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.setHeight = function(e) {
return o.Message.setProto3IntField(this, 4, e)
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.getWidth = function() {
return o.Message.getFieldWithDefault(this, 5, 0)
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.setWidth = function(e) {
return o.Message.setProto3IntField(this, 5, e)
}
,
proto.webcast.data.VideoPlayInfo.prototype.getFormat = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.VideoPlayInfo.prototype.setFormat = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.VideoPlayInfo.prototype.getPlayUrlsList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.VideoPlayInfo.Url, 2)
}
,
proto.webcast.data.VideoPlayInfo.prototype.setPlayUrlsList = function(e) {
return o.Message.setRepeatedWrapperField(this, 2, e)
}
,
proto.webcast.data.VideoPlayInfo.prototype.addPlayUrls = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 2, e, proto.webcast.data.VideoPlayInfo.Url, t)
}
,
proto.webcast.data.VideoPlayInfo.prototype.clearPlayUrlsList = function() {
return this.setPlayUrlsList([])
}
,
proto.webcast.data.VideoPlayInfo.prototype.getPostUrl = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.VideoPlayInfo.prototype.setPostUrl = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.DefinitionInfo.prototype.toObject = function(e) {
return proto.webcast.data.DefinitionInfo.toObject(e, this)
}
,
proto.webcast.data.DefinitionInfo.toObject = function(e, t) {
var a = {
definition: o.Message.getFieldWithDefault(t, 1, ""),
fps: o.Message.getFieldWithDefault(t, 2, 0),
disable: o.Message.getFieldWithDefault(t, 3, 0)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.DefinitionInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.DefinitionInfo;
return proto.webcast.data.DefinitionInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.DefinitionInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setDefinition(a);
break;
case 2:
a = t.readInt32();
e.setFps(a);
break;
case 3:
a = t.readInt32();
e.setDisable(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.DefinitionInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.DefinitionInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.DefinitionInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getDefinition()).length > 0 && t.writeString(1, a),
0 !== (a = e.getFps()) && t.writeInt32(2, a),
0 !== (a = e.getDisable()) && t.writeInt32(3, a)
}
,
proto.webcast.data.DefinitionInfo.prototype.getDefinition = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.DefinitionInfo.prototype.setDefinition = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.DefinitionInfo.prototype.getFps = function() {
return o.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.DefinitionInfo.prototype.setFps = function(e) {
return o.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.DefinitionInfo.prototype.getDisable = function() {
return o.Message.getFieldWithDefault(this, 3, 0)
}
,
proto.webcast.data.DefinitionInfo.prototype.setDisable = function(e) {
return o.Message.setProto3IntField(this, 3, e)
}
,
proto.webcast.data.VideoInfo.repeatedFields_ = [6, 8, 18],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VideoInfo.prototype.toObject = function(e) {
return proto.webcast.data.VideoInfo.toObject(e, this)
}
,
proto.webcast.data.VideoInfo.toObject = function(e, t) {
var a, r = {
playInfo: (a = t.getPlayInfo()) && proto.webcast.data.VideoModelContainer.toObject(e, a),
startPosition: (a = t.getStartPosition()) && proto.webcast.data.VideoInfo.StartLocation.toObject(e, a),
castInfo: (a = t.getCastInfo()) && proto.webcast.data.VideoModelContainer.toObject(e, a),
watermarkedEncrypt: (a = t.getWatermarkedEncrypt()) && proto.webcast.data.VideoModelContainer.toObject(e, a),
vid: o.Message.getFieldWithDefault(t, 5, ""),
segmentFlowTimeListList: o.Message.toObjectList(t.getSegmentFlowTimeListList(), proto.webcast.data.SegmentFlowTime.toObject, e),
duration: o.Message.getFieldWithDefault(t, 7, "0"),
downloadSizesList: o.Message.toObjectList(t.getDownloadSizesList(), proto.webcast.data.VideoInfo.Size.toObject, e),
videoCode: o.Message.getFieldWithDefault(t, 9, 0),
unfoldPlayInfo: (a = t.getUnfoldPlayInfo()) && proto.webcast.data.VideoPlayInfo.toObject(e, a),
videoModelType: o.Message.getFieldWithDefault(t, 11, 0),
streamVideoMetaInfo: (a = t.getStreamVideoMetaInfo()) && proto.webcast.data.StreamVideoMeta.toObject(e, a),
streamUrl: (a = t.getStreamUrl()) && d.StreamUrl.toObject(e, a),
commentSpecialEffectData: (a = t.getCommentSpecialEffectData()) && proto.webcast.data.CommentSpecialEffectData.toObject(e, a),
replayStreamUrl: (a = t.getReplayStreamUrl()) && proto.webcast.data.ReplayStreamUrl.toObject(e, a),
refresh: o.Message.getBooleanFieldWithDefault(t, 16, !1),
playAuthToken: o.Message.getFieldWithDefault(t, 17, ""),
definitionInfosList: o.Message.toObjectList(t.getDefinitionInfosList(), proto.webcast.data.DefinitionInfo.toObject, e)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.VideoInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.VideoInfo;
return proto.webcast.data.VideoInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.VideoInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new proto.webcast.data.VideoModelContainer;
t.readMessage(a, proto.webcast.data.VideoModelContainer.deserializeBinaryFromReader),
e.setPlayInfo(a);
break;
case 2:
a = new proto.webcast.data.VideoInfo.StartLocation;
t.readMessage(a, proto.webcast.data.VideoInfo.StartLocation.deserializeBinaryFromReader),
e.setStartPosition(a);
break;
case 3:
a = new proto.webcast.data.VideoModelContainer;
t.readMessage(a, proto.webcast.data.VideoModelContainer.deserializeBinaryFromReader),
e.setCastInfo(a);
break;
case 4:
a = new proto.webcast.data.VideoModelContainer;
t.readMessage(a, proto.webcast.data.VideoModelContainer.deserializeBinaryFromReader),
e.setWatermarkedEncrypt(a);
break;
case 5:
a = t.readString();
e.setVid(a);
break;
case 6:
a = new proto.webcast.data.SegmentFlowTime;
t.readMessage(a, proto.webcast.data.SegmentFlowTime.deserializeBinaryFromReader),
e.addSegmentFlowTimeList(a);
break;
case 7:
a = t.readInt64String();
e.setDuration(a);
break;
case 8:
a = new proto.webcast.data.VideoInfo.Size;
t.readMessage(a, proto.webcast.data.VideoInfo.Size.deserializeBinaryFromReader),
e.addDownloadSizes(a);
break;
case 9:
a = t.readInt32();
e.setVideoCode(a);
break;
case 10:
a = new proto.webcast.data.VideoPlayInfo;
t.readMessage(a, proto.webcast.data.VideoPlayInfo.deserializeBinaryFromReader),
e.setUnfoldPlayInfo(a);
break;
case 11:
a = t.readEnum();
e.setVideoModelType(a);
break;
case 12:
a = new proto.webcast.data.StreamVideoMeta;
t.readMessage(a, proto.webcast.data.StreamVideoMeta.deserializeBinaryFromReader),
e.setStreamVideoMetaInfo(a);
break;
case 13:
a = new d.StreamUrl;
t.readMessage(a, d.StreamUrl.deserializeBinaryFromReader),
e.setStreamUrl(a);
break;
case 14:
a = new proto.webcast.data.CommentSpecialEffectData;
t.readMessage(a, proto.webcast.data.CommentSpecialEffectData.deserializeBinaryFromReader),
e.setCommentSpecialEffectData(a);
break;
case 15:
a = new proto.webcast.data.ReplayStreamUrl;
t.readMessage(a, proto.webcast.data.ReplayStreamUrl.deserializeBinaryFromReader),
e.setReplayStreamUrl(a);
break;
case 16:
a = t.readBool();
e.setRefresh(a);
break;
case 17:
a = t.readString();
e.setPlayAuthToken(a);
break;
case 18:
a = new proto.webcast.data.DefinitionInfo;
t.readMessage(a, proto.webcast.data.DefinitionInfo.deserializeBinaryFromReader),
e.addDefinitionInfos(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.VideoInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.VideoInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VideoInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
null != (a = e.getPlayInfo()) && t.writeMessage(1, a, proto.webcast.data.VideoModelContainer.serializeBinaryToWriter),
null != (a = e.getStartPosition()) && t.writeMessage(2, a, proto.webcast.data.VideoInfo.StartLocation.serializeBinaryToWriter),
null != (a = e.getCastInfo()) && t.writeMessage(3, a, proto.webcast.data.VideoModelContainer.serializeBinaryToWriter),
null != (a = e.getWatermarkedEncrypt()) && t.writeMessage(4, a, proto.webcast.data.VideoModelContainer.serializeBinaryToWriter),
(a = e.getVid()).length > 0 && t.writeString(5, a),
(a = e.getSegmentFlowTimeListList()).length > 0 && t.writeRepeatedMessage(6, a, proto.webcast.data.SegmentFlowTime.serializeBinaryToWriter),
a = e.getDuration(),
0 !== parseInt(a, 10) && t.writeInt64String(7, a),
(a = e.getDownloadSizesList()).length > 0 && t.writeRepeatedMessage(8, a, proto.webcast.data.VideoInfo.Size.serializeBinaryToWriter),
0 !== (a = e.getVideoCode()) && t.writeInt32(9, a),
null != (a = e.getUnfoldPlayInfo()) && t.writeMessage(10, a, proto.webcast.data.VideoPlayInfo.serializeBinaryToWriter),
0 !== (a = e.getVideoModelType()) && t.writeEnum(11, a),
null != (a = e.getStreamVideoMetaInfo()) && t.writeMessage(12, a, proto.webcast.data.StreamVideoMeta.serializeBinaryToWriter),
null != (a = e.getStreamUrl()) && t.writeMessage(13, a, d.StreamUrl.serializeBinaryToWriter),
null != (a = e.getCommentSpecialEffectData()) && t.writeMessage(14, a, proto.webcast.data.CommentSpecialEffectData.serializeBinaryToWriter),
null != (a = e.getReplayStreamUrl()) && t.writeMessage(15, a, proto.webcast.data.ReplayStreamUrl.serializeBinaryToWriter),
(a = e.getRefresh()) && t.writeBool(16, a),
(a = e.getPlayAuthToken()).length > 0 && t.writeString(17, a),
(a = e.getDefinitionInfosList()).length > 0 && t.writeRepeatedMessage(18, a, proto.webcast.data.DefinitionInfo.serializeBinaryToWriter)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VideoInfo.StartLocation.prototype.toObject = function(e) {
return proto.webcast.data.VideoInfo.StartLocation.toObject(e, this)
}
,
proto.webcast.data.VideoInfo.StartLocation.toObject = function(e, t) {
var a = {
loc: o.Message.getFieldWithDefault(t, 1, "0"),
time: o.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.VideoInfo.StartLocation.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.VideoInfo.StartLocation;
return proto.webcast.data.VideoInfo.StartLocation.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.VideoInfo.StartLocation.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setLoc(a);
break;
case 2:
a = t.readInt64String();
e.setTime(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.VideoInfo.StartLocation.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.VideoInfo.StartLocation.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VideoInfo.StartLocation.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getLoc(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getTime(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a)
}
,
proto.webcast.data.VideoInfo.StartLocation.prototype.getLoc = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.VideoInfo.StartLocation.prototype.setLoc = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.VideoInfo.StartLocation.prototype.getTime = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.VideoInfo.StartLocation.prototype.setTime = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VideoInfo.Size.prototype.toObject = function(e) {
return proto.webcast.data.VideoInfo.Size.toObject(e, this)
}
,
proto.webcast.data.VideoInfo.Size.toObject = function(e, t) {
var a = {
key: o.Message.getFieldWithDefault(t, 1, ""),
text: o.Message.getFieldWithDefault(t, 2, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.VideoInfo.Size.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.VideoInfo.Size;
return proto.webcast.data.VideoInfo.Size.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.VideoInfo.Size.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setKey(a);
break;
case 2:
a = t.readString();
e.setText(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.VideoInfo.Size.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.VideoInfo.Size.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VideoInfo.Size.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getKey()).length > 0 && t.writeString(1, a),
(a = e.getText()).length > 0 && t.writeString(2, a)
}
,
proto.webcast.data.VideoInfo.Size.prototype.getKey = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.VideoInfo.Size.prototype.setKey = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.VideoInfo.Size.prototype.getText = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.VideoInfo.Size.prototype.setText = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.VideoInfo.prototype.getPlayInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.VideoModelContainer, 1)
}
,
proto.webcast.data.VideoInfo.prototype.setPlayInfo = function(e) {
return o.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearPlayInfo = function() {
return this.setPlayInfo(void 0)
}
,
proto.webcast.data.VideoInfo.prototype.hasPlayInfo = function() {
return null != o.Message.getField(this, 1)
}
,
proto.webcast.data.VideoInfo.prototype.getStartPosition = function() {
return o.Message.getWrapperField(this, proto.webcast.data.VideoInfo.StartLocation, 2)
}
,
proto.webcast.data.VideoInfo.prototype.setStartPosition = function(e) {
return o.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearStartPosition = function() {
return this.setStartPosition(void 0)
}
,
proto.webcast.data.VideoInfo.prototype.hasStartPosition = function() {
return null != o.Message.getField(this, 2)
}
,
proto.webcast.data.VideoInfo.prototype.getCastInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.VideoModelContainer, 3)
}
,
proto.webcast.data.VideoInfo.prototype.setCastInfo = function(e) {
return o.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearCastInfo = function() {
return this.setCastInfo(void 0)
}
,
proto.webcast.data.VideoInfo.prototype.hasCastInfo = function() {
return null != o.Message.getField(this, 3)
}
,
proto.webcast.data.VideoInfo.prototype.getWatermarkedEncrypt = function() {
return o.Message.getWrapperField(this, proto.webcast.data.VideoModelContainer, 4)
}
,
proto.webcast.data.VideoInfo.prototype.setWatermarkedEncrypt = function(e) {
return o.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearWatermarkedEncrypt = function() {
return this.setWatermarkedEncrypt(void 0)
}
,
proto.webcast.data.VideoInfo.prototype.hasWatermarkedEncrypt = function() {
return null != o.Message.getField(this, 4)
}
,
proto.webcast.data.VideoInfo.prototype.getVid = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.VideoInfo.prototype.setVid = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.VideoInfo.prototype.getSegmentFlowTimeListList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.SegmentFlowTime, 6)
}
,
proto.webcast.data.VideoInfo.prototype.setSegmentFlowTimeListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 6, e)
}
,
proto.webcast.data.VideoInfo.prototype.addSegmentFlowTimeList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 6, e, proto.webcast.data.SegmentFlowTime, t)
}
,
proto.webcast.data.VideoInfo.prototype.clearSegmentFlowTimeListList = function() {
return this.setSegmentFlowTimeListList([])
}
,
proto.webcast.data.VideoInfo.prototype.getDuration = function() {
return o.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.VideoInfo.prototype.setDuration = function(e) {
return o.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.VideoInfo.prototype.getDownloadSizesList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.VideoInfo.Size, 8)
}
,
proto.webcast.data.VideoInfo.prototype.setDownloadSizesList = function(e) {
return o.Message.setRepeatedWrapperField(this, 8, e)
}
,
proto.webcast.data.VideoInfo.prototype.addDownloadSizes = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 8, e, proto.webcast.data.VideoInfo.Size, t)
}
,
proto.webcast.data.VideoInfo.prototype.clearDownloadSizesList = function() {
return this.setDownloadSizesList([])
}
,
proto.webcast.data.VideoInfo.prototype.getVideoCode = function() {
return o.Message.getFieldWithDefault(this, 9, 0)
}
,
proto.webcast.data.VideoInfo.prototype.setVideoCode = function(e) {
return o.Message.setProto3IntField(this, 9, e)
}
,
proto.webcast.data.VideoInfo.prototype.getUnfoldPlayInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.VideoPlayInfo, 10)
}
,
proto.webcast.data.VideoInfo.prototype.setUnfoldPlayInfo = function(e) {
return o.Message.setWrapperField(this, 10, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearUnfoldPlayInfo = function() {
return this.setUnfoldPlayInfo(void 0)
}
,
proto.webcast.data.VideoInfo.prototype.hasUnfoldPlayInfo = function() {
return null != o.Message.getField(this, 10)
}
,
proto.webcast.data.VideoInfo.prototype.getVideoModelType = function() {
return o.Message.getFieldWithDefault(this, 11, 0)
}
,
proto.webcast.data.VideoInfo.prototype.setVideoModelType = function(e) {
return o.Message.setProto3EnumField(this, 11, e)
}
,
proto.webcast.data.VideoInfo.prototype.getStreamVideoMetaInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.StreamVideoMeta, 12)
}
,
proto.webcast.data.VideoInfo.prototype.setStreamVideoMetaInfo = function(e) {
return o.Message.setWrapperField(this, 12, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearStreamVideoMetaInfo = function() {
return this.setStreamVideoMetaInfo(void 0)
}
,
proto.webcast.data.VideoInfo.prototype.hasStreamVideoMetaInfo = function() {
return null != o.Message.getField(this, 12)
}
,
proto.webcast.data.VideoInfo.prototype.getStreamUrl = function() {
return o.Message.getWrapperField(this, d.StreamUrl, 13)
}
,
proto.webcast.data.VideoInfo.prototype.setStreamUrl = function(e) {
return o.Message.setWrapperField(this, 13, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearStreamUrl = function() {
return this.setStreamUrl(void 0)
}
,
proto.webcast.data.VideoInfo.prototype.hasStreamUrl = function() {
return null != o.Message.getField(this, 13)
}
,
proto.webcast.data.VideoInfo.prototype.getCommentSpecialEffectData = function() {
return o.Message.getWrapperField(this, proto.webcast.data.CommentSpecialEffectData, 14)
}
,
proto.webcast.data.VideoInfo.prototype.setCommentSpecialEffectData = function(e) {
return o.Message.setWrapperField(this, 14, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearCommentSpecialEffectData = function() {
return this.setCommentSpecialEffectData(void 0)
}
,
proto.webcast.data.VideoInfo.prototype.hasCommentSpecialEffectData = function() {
return null != o.Message.getField(this, 14)
}
,
proto.webcast.data.VideoInfo.prototype.getReplayStreamUrl = function() {
return o.Message.getWrapperField(this, proto.webcast.data.ReplayStreamUrl, 15)
}
,
proto.webcast.data.VideoInfo.prototype.setReplayStreamUrl = function(e) {
return o.Message.setWrapperField(this, 15, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearReplayStreamUrl = function() {
return this.setReplayStreamUrl(void 0)
}
,
proto.webcast.data.VideoInfo.prototype.hasReplayStreamUrl = function() {
return null != o.Message.getField(this, 15)
}
,
proto.webcast.data.VideoInfo.prototype.getRefresh = function() {
return o.Message.getBooleanFieldWithDefault(this, 16, !1)
}
,
proto.webcast.data.VideoInfo.prototype.setRefresh = function(e) {
return o.Message.setProto3BooleanField(this, 16, e)
}
,
proto.webcast.data.VideoInfo.prototype.getPlayAuthToken = function() {
return o.Message.getFieldWithDefault(this, 17, "")
}
,
proto.webcast.data.VideoInfo.prototype.setPlayAuthToken = function(e) {
return o.Message.setProto3StringField(this, 17, e)
}
,
proto.webcast.data.VideoInfo.prototype.getDefinitionInfosList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.DefinitionInfo, 18)
}
,
proto.webcast.data.VideoInfo.prototype.setDefinitionInfosList = function(e) {
return o.Message.setRepeatedWrapperField(this, 18, e)
}
,
proto.webcast.data.VideoInfo.prototype.addDefinitionInfos = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 18, e, proto.webcast.data.DefinitionInfo, t)
}
,
proto.webcast.data.VideoInfo.prototype.clearDefinitionInfosList = function() {
return this.setDefinitionInfosList([])
}
,
proto.webcast.data.CommentSpecialEffectData.repeatedFields_ = [2, 3],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.CommentSpecialEffectData.prototype.toObject = function(e) {
return proto.webcast.data.CommentSpecialEffectData.toObject(e, this)
}
,
proto.webcast.data.CommentSpecialEffectData.toObject = function(e, t) {
var a, r = {
commentSpecialEffectType: o.Message.getFieldWithDefault(t, 1, 0),
effectsDataUrlsList: null == (a = o.Message.getRepeatedField(t, 2)) ? void 0 : a,
maskedOffsetListList: o.Message.toObjectList(t.getMaskedOffsetListList(), proto.webcast.data.CommentSpecialEffectData.TimeRange.toObject, e),
specialEffectInterval: o.Message.getFieldWithDefault(t, 4, "0"),
effectTypeSdkKey: o.Message.getFieldWithDefault(t, 5, ""),
maxCommentCountPerEffect: o.Message.getFieldWithDefault(t, 6, "0")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.CommentSpecialEffectData.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.CommentSpecialEffectData;
return proto.webcast.data.CommentSpecialEffectData.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.CommentSpecialEffectData.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readEnum();
e.setCommentSpecialEffectType(a);
break;
case 2:
a = t.readString();
e.addEffectsDataUrls(a);
break;
case 3:
a = new proto.webcast.data.CommentSpecialEffectData.TimeRange;
t.readMessage(a, proto.webcast.data.CommentSpecialEffectData.TimeRange.deserializeBinaryFromReader),
e.addMaskedOffsetList(a);
break;
case 4:
a = t.readInt64String();
e.setSpecialEffectInterval(a);
break;
case 5:
a = t.readString();
e.setEffectTypeSdkKey(a);
break;
case 6:
a = t.readInt64String();
e.setMaxCommentCountPerEffect(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.CommentSpecialEffectData.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CommentSpecialEffectData.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getCommentSpecialEffectType()) && t.writeEnum(1, a),
(a = e.getEffectsDataUrlsList()).length > 0 && t.writeRepeatedString(2, a),
(a = e.getMaskedOffsetListList()).length > 0 && t.writeRepeatedMessage(3, a, proto.webcast.data.CommentSpecialEffectData.TimeRange.serializeBinaryToWriter),
a = e.getSpecialEffectInterval(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a),
(a = e.getEffectTypeSdkKey()).length > 0 && t.writeString(5, a),
a = e.getMaxCommentCountPerEffect(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.CommentSpecialEffectData.TimeRange.prototype.toObject = function(e) {
return proto.webcast.data.CommentSpecialEffectData.TimeRange.toObject(e, this)
}
,
proto.webcast.data.CommentSpecialEffectData.TimeRange.toObject = function(e, t) {
var a = {
startOffset: o.Message.getFieldWithDefault(t, 1, "0"),
endOffset: o.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CommentSpecialEffectData.TimeRange.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.CommentSpecialEffectData.TimeRange;
return proto.webcast.data.CommentSpecialEffectData.TimeRange.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.CommentSpecialEffectData.TimeRange.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setStartOffset(a);
break;
case 2:
a = t.readInt64String();
e.setEndOffset(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.CommentSpecialEffectData.TimeRange.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.CommentSpecialEffectData.TimeRange.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CommentSpecialEffectData.TimeRange.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getStartOffset(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getEndOffset(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a)
}
,
proto.webcast.data.CommentSpecialEffectData.TimeRange.prototype.getStartOffset = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.CommentSpecialEffectData.TimeRange.prototype.setStartOffset = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.CommentSpecialEffectData.TimeRange.prototype.getEndOffset = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.CommentSpecialEffectData.TimeRange.prototype.setEndOffset = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.getCommentSpecialEffectType = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.setCommentSpecialEffectType = function(e) {
return o.Message.setProto3EnumField(this, 1, e)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.getEffectsDataUrlsList = function() {
return o.Message.getRepeatedField(this, 2)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.setEffectsDataUrlsList = function(e) {
return o.Message.setField(this, 2, e || [])
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.addEffectsDataUrls = function(e, t) {
return o.Message.addToRepeatedField(this, 2, e, t)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.clearEffectsDataUrlsList = function() {
return this.setEffectsDataUrlsList([])
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.getMaskedOffsetListList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.CommentSpecialEffectData.TimeRange, 3)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.setMaskedOffsetListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 3, e)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.addMaskedOffsetList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 3, e, proto.webcast.data.CommentSpecialEffectData.TimeRange, t)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.clearMaskedOffsetListList = function() {
return this.setMaskedOffsetListList([])
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.getSpecialEffectInterval = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.setSpecialEffectInterval = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.getEffectTypeSdkKey = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.setEffectTypeSdkKey = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.getMaxCommentCountPerEffect = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.setMaxCommentCountPerEffect = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.StreamVideoMeta.prototype.toObject = function(e) {
return proto.webcast.data.StreamVideoMeta.toObject(e, this)
}
,
proto.webcast.data.StreamVideoMeta.toObject = function(e, t) {
var a, r = {
streamId: o.Message.getFieldWithDefault(t, 1, "0"),
startLocation: (a = t.getStartLocation()) && proto.webcast.data.StreamVideoMeta.StreamLocation.toObject(e, a),
endLocation: (a = t.getEndLocation()) && proto.webcast.data.StreamVideoMeta.StreamLocation.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.StreamVideoMeta.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.StreamVideoMeta;
return proto.webcast.data.StreamVideoMeta.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.StreamVideoMeta.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setStreamId(a);
break;
case 2:
a = new proto.webcast.data.StreamVideoMeta.StreamLocation;
t.readMessage(a, proto.webcast.data.StreamVideoMeta.StreamLocation.deserializeBinaryFromReader),
e.setStartLocation(a);
break;
case 3:
a = new proto.webcast.data.StreamVideoMeta.StreamLocation;
t.readMessage(a, proto.webcast.data.StreamVideoMeta.StreamLocation.deserializeBinaryFromReader),
e.setEndLocation(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.StreamVideoMeta.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.StreamVideoMeta.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.StreamVideoMeta.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getStreamId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
null != (a = e.getStartLocation()) && t.writeMessage(2, a, proto.webcast.data.StreamVideoMeta.StreamLocation.serializeBinaryToWriter),
null != (a = e.getEndLocation()) && t.writeMessage(3, a, proto.webcast.data.StreamVideoMeta.StreamLocation.serializeBinaryToWriter)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.StreamVideoMeta.StreamLocation.prototype.toObject = function(e) {
return proto.webcast.data.StreamVideoMeta.StreamLocation.toObject(e, this)
}
,
proto.webcast.data.StreamVideoMeta.StreamLocation.toObject = function(e, t) {
var a = {
offset: o.Message.getFieldWithDefault(t, 1, "0"),
timestamp: o.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.StreamVideoMeta.StreamLocation.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.StreamVideoMeta.StreamLocation;
return proto.webcast.data.StreamVideoMeta.StreamLocation.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.StreamVideoMeta.StreamLocation.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setOffset(a);
break;
case 2:
a = t.readInt64String();
e.setTimestamp(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.StreamVideoMeta.StreamLocation.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.StreamVideoMeta.StreamLocation.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.StreamVideoMeta.StreamLocation.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getOffset(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getTimestamp(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a)
}
,
proto.webcast.data.StreamVideoMeta.StreamLocation.prototype.getOffset = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.StreamVideoMeta.StreamLocation.prototype.setOffset = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.StreamVideoMeta.StreamLocation.prototype.getTimestamp = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.StreamVideoMeta.StreamLocation.prototype.setTimestamp = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.StreamVideoMeta.prototype.getStreamId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.StreamVideoMeta.prototype.setStreamId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.StreamVideoMeta.prototype.getStartLocation = function() {
return o.Message.getWrapperField(this, proto.webcast.data.StreamVideoMeta.StreamLocation, 2)
}
,
proto.webcast.data.StreamVideoMeta.prototype.setStartLocation = function(e) {
return o.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.StreamVideoMeta.prototype.clearStartLocation = function() {
return this.setStartLocation(void 0)
}
,
proto.webcast.data.StreamVideoMeta.prototype.hasStartLocation = function() {
return null != o.Message.getField(this, 2)
}
,
proto.webcast.data.StreamVideoMeta.prototype.getEndLocation = function() {
return o.Message.getWrapperField(this, proto.webcast.data.StreamVideoMeta.StreamLocation, 3)
}
,
proto.webcast.data.StreamVideoMeta.prototype.setEndLocation = function(e) {
return o.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.StreamVideoMeta.prototype.clearEndLocation = function() {
return this.setEndLocation(void 0)
}
,
proto.webcast.data.StreamVideoMeta.prototype.hasEndLocation = function() {
return null != o.Message.getField(this, 3)
}
,
proto.webcast.data.ReplayStreamUrl.repeatedFields_ = [5],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ReplayStreamUrl.prototype.toObject = function(e) {
return proto.webcast.data.ReplayStreamUrl.toObject(e, this)
}
,
proto.webcast.data.ReplayStreamUrl.toObject = function(e, t) {
var a, r = {
tlsPullUrlMapMap: (a = t.getTlsPullUrlMapMap()) ? a.toObject(e, void 0) : [],
resolutionNameMapMap: (a = t.getResolutionNameMapMap()) ? a.toObject(e, void 0) : [],
defaultResolutionKey: o.Message.getFieldWithDefault(t, 3, ""),
playAlignOffset: o.Message.getFieldWithDefault(t, 4, "0"),
streamAddrListList: o.Message.toObjectList(t.getStreamAddrListList(), proto.webcast.data.StreamAddr.toObject, e)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ReplayStreamUrl.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.ReplayStreamUrl;
return proto.webcast.data.ReplayStreamUrl.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ReplayStreamUrl.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = e.getTlsPullUrlMapMap();
t.readMessage(a, (function(e, t) {
o.Map.deserializeBinary(e, t, o.BinaryReader.prototype.readString, o.BinaryReader.prototype.readString, null, "", "")
}
));
break;
case 2:
a = e.getResolutionNameMapMap();
t.readMessage(a, (function(e, t) {
o.Map.deserializeBinary(e, t, o.BinaryReader.prototype.readString, o.BinaryReader.prototype.readString, null, "", "")
}
));
break;
case 3:
a = t.readString();
e.setDefaultResolutionKey(a);
break;
case 4:
a = t.readInt64String();
e.setPlayAlignOffset(a);
break;
case 5:
a = new proto.webcast.data.StreamAddr;
t.readMessage(a, proto.webcast.data.StreamAddr.deserializeBinaryFromReader),
e.addStreamAddrList(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ReplayStreamUrl.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.ReplayStreamUrl.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ReplayStreamUrl.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getTlsPullUrlMapMap(!0)) && a.getLength() > 0 && a.serializeBinary(1, t, o.BinaryWriter.prototype.writeString, o.BinaryWriter.prototype.writeString),
(a = e.getResolutionNameMapMap(!0)) && a.getLength() > 0 && a.serializeBinary(2, t, o.BinaryWriter.prototype.writeString, o.BinaryWriter.prototype.writeString),
(a = e.getDefaultResolutionKey()).length > 0 && t.writeString(3, a),
a = e.getPlayAlignOffset(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a),
(a = e.getStreamAddrListList()).length > 0 && t.writeRepeatedMessage(5, a, proto.webcast.data.StreamAddr.serializeBinaryToWriter)
}
,
proto.webcast.data.ReplayStreamUrl.prototype.getTlsPullUrlMapMap = function(e) {
return o.Message.getMapField(this, 1, e, null)
}
,
proto.webcast.data.ReplayStreamUrl.prototype.clearTlsPullUrlMapMap = function() {
return this.getTlsPullUrlMapMap().clear(),
this
}
,
proto.webcast.data.ReplayStreamUrl.prototype.getResolutionNameMapMap = function(e) {
return o.Message.getMapField(this, 2, e, null)
}
,
proto.webcast.data.ReplayStreamUrl.prototype.clearResolutionNameMapMap = function() {
return this.getResolutionNameMapMap().clear(),
this
}
,
proto.webcast.data.ReplayStreamUrl.prototype.getDefaultResolutionKey = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.ReplayStreamUrl.prototype.setDefaultResolutionKey = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.ReplayStreamUrl.prototype.getPlayAlignOffset = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.ReplayStreamUrl.prototype.setPlayAlignOffset = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.ReplayStreamUrl.prototype.getStreamAddrListList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.StreamAddr, 5)
}
,
proto.webcast.data.ReplayStreamUrl.prototype.setStreamAddrListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 5, e)
}
,
proto.webcast.data.ReplayStreamUrl.prototype.addStreamAddrList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 5, e, proto.webcast.data.StreamAddr, t)
}
,
proto.webcast.data.ReplayStreamUrl.prototype.clearStreamAddrListList = function() {
return this.setStreamAddrListList([])
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.StreamAddr.prototype.toObject = function(e) {
return proto.webcast.data.StreamAddr.toObject(e, this)
}
,
proto.webcast.data.StreamAddr.toObject = function(e, t) {
var a = {
resolutionKey: o.Message.getFieldWithDefault(t, 1, ""),
resolutionName: o.Message.getFieldWithDefault(t, 2, ""),
tslPullUrl: o.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.StreamAddr.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.StreamAddr;
return proto.webcast.data.StreamAddr.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.StreamAddr.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setResolutionKey(a);
break;
case 2:
a = t.readString();
e.setResolutionName(a);
break;
case 3:
a = t.readString();
e.setTslPullUrl(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.StreamAddr.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.StreamAddr.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.StreamAddr.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getResolutionKey()).length > 0 && t.writeString(1, a),
(a = e.getResolutionName()).length > 0 && t.writeString(2, a),
(a = e.getTslPullUrl()).length > 0 && t.writeString(3, a)
}
,
proto.webcast.data.StreamAddr.prototype.getResolutionKey = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.StreamAddr.prototype.setResolutionKey = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.StreamAddr.prototype.getResolutionName = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.StreamAddr.prototype.setResolutionName = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.StreamAddr.prototype.getTslPullUrl = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.StreamAddr.prototype.setTslPullUrl = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.OnlyTaSegment.prototype.toObject = function(e) {
return proto.webcast.data.OnlyTaSegment.toObject(e, this)
}
,
proto.webcast.data.OnlyTaSegment.toObject = function(e, t) {
var a = {
startOffset: o.Message.getFieldWithDefault(t, 1, "0"),
stopOffset: o.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.OnlyTaSegment.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.OnlyTaSegment;
return proto.webcast.data.OnlyTaSegment.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.OnlyTaSegment.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setStartOffset(a);
break;
case 2:
a = t.readInt64String();
e.setStopOffset(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.OnlyTaSegment.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.OnlyTaSegment.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.OnlyTaSegment.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getStartOffset(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getStopOffset(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a)
}
,
proto.webcast.data.OnlyTaSegment.prototype.getStartOffset = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.OnlyTaSegment.prototype.setStartOffset = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.OnlyTaSegment.prototype.getStopOffset = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.OnlyTaSegment.prototype.setStopOffset = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.OnlyTaSegments.repeatedFields_ = [4],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.OnlyTaSegments.prototype.toObject = function(e) {
return proto.webcast.data.OnlyTaSegments.toObject(e, this)
}
,
proto.webcast.data.OnlyTaSegments.toObject = function(e, t) {
var a, r = {
taId: o.Message.getFieldWithDefault(t, 1, "0"),
taNickName: o.Message.getFieldWithDefault(t, 2, ""),
avatar: (a = t.getAvatar()) && g.Image.toObject(e, a),
segmentsList: o.Message.toObjectList(t.getSegmentsList(), proto.webcast.data.OnlyTaSegment.toObject, e)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.OnlyTaSegments.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.OnlyTaSegments;
return proto.webcast.data.OnlyTaSegments.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.OnlyTaSegments.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setTaId(a);
break;
case 2:
a = t.readString();
e.setTaNickName(a);
break;
case 3:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setAvatar(a);
break;
case 4:
a = new proto.webcast.data.OnlyTaSegment;
t.readMessage(a, proto.webcast.data.OnlyTaSegment.deserializeBinaryFromReader),
e.addSegments(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.OnlyTaSegments.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.OnlyTaSegments.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.OnlyTaSegments.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getTaId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getTaNickName()).length > 0 && t.writeString(2, a),
null != (a = e.getAvatar()) && t.writeMessage(3, a, g.Image.serializeBinaryToWriter),
(a = e.getSegmentsList()).length > 0 && t.writeRepeatedMessage(4, a, proto.webcast.data.OnlyTaSegment.serializeBinaryToWriter)
}
,
proto.webcast.data.OnlyTaSegments.prototype.getTaId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.OnlyTaSegments.prototype.setTaId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.OnlyTaSegments.prototype.getTaNickName = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.OnlyTaSegments.prototype.setTaNickName = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.OnlyTaSegments.prototype.getAvatar = function() {
return o.Message.getWrapperField(this, g.Image, 3)
}
,
proto.webcast.data.OnlyTaSegments.prototype.setAvatar = function(e) {
return o.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.OnlyTaSegments.prototype.clearAvatar = function() {
return this.setAvatar(void 0)
}
,
proto.webcast.data.OnlyTaSegments.prototype.hasAvatar = function() {
return null != o.Message.getField(this, 3)
}
,
proto.webcast.data.OnlyTaSegments.prototype.getSegmentsList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.OnlyTaSegment, 4)
}
,
proto.webcast.data.OnlyTaSegments.prototype.setSegmentsList = function(e) {
return o.Message.setRepeatedWrapperField(this, 4, e)
}
,
proto.webcast.data.OnlyTaSegments.prototype.addSegments = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 4, e, proto.webcast.data.OnlyTaSegment, t)
}
,
proto.webcast.data.OnlyTaSegments.prototype.clearSegmentsList = function() {
return this.setSegmentsList([])
}
,
proto.webcast.data.OnlyTaInfo.repeatedFields_ = [3],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.OnlyTaInfo.prototype.toObject = function(e) {
return proto.webcast.data.OnlyTaInfo.toObject(e, this)
}
,
proto.webcast.data.OnlyTaInfo.toObject = function(e, t) {
var a, r = {
fullText: o.Message.getFieldWithDefault(t, 1, ""),
fullAvatar: (a = t.getFullAvatar()) && g.Image.toObject(e, a),
tasList: o.Message.toObjectList(t.getTasList(), proto.webcast.data.OnlyTaSegments.toObject, e)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.OnlyTaInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.OnlyTaInfo;
return proto.webcast.data.OnlyTaInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.OnlyTaInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setFullText(a);
break;
case 2:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setFullAvatar(a);
break;
case 3:
a = new proto.webcast.data.OnlyTaSegments;
t.readMessage(a, proto.webcast.data.OnlyTaSegments.deserializeBinaryFromReader),
e.addTas(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.OnlyTaInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.OnlyTaInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.OnlyTaInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getFullText()).length > 0 && t.writeString(1, a),
null != (a = e.getFullAvatar()) && t.writeMessage(2, a, g.Image.serializeBinaryToWriter),
(a = e.getTasList()).length > 0 && t.writeRepeatedMessage(3, a, proto.webcast.data.OnlyTaSegments.serializeBinaryToWriter)
}
,
proto.webcast.data.OnlyTaInfo.prototype.getFullText = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.OnlyTaInfo.prototype.setFullText = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.OnlyTaInfo.prototype.getFullAvatar = function() {
return o.Message.getWrapperField(this, g.Image, 2)
}
,
proto.webcast.data.OnlyTaInfo.prototype.setFullAvatar = function(e) {
return o.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.OnlyTaInfo.prototype.clearFullAvatar = function() {
return this.setFullAvatar(void 0)
}
,
proto.webcast.data.OnlyTaInfo.prototype.hasFullAvatar = function() {
return null != o.Message.getField(this, 2)
}
,
proto.webcast.data.OnlyTaInfo.prototype.getTasList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.OnlyTaSegments, 3)
}
,
proto.webcast.data.OnlyTaInfo.prototype.setTasList = function(e) {
return o.Message.setRepeatedWrapperField(this, 3, e)
}
,
proto.webcast.data.OnlyTaInfo.prototype.addTas = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 3, e, proto.webcast.data.OnlyTaSegments, t)
}
,
proto.webcast.data.OnlyTaInfo.prototype.clearTasList = function() {
return this.setTasList([])
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.EpisodeExtra.prototype.toObject = function(e) {
return proto.webcast.data.EpisodeExtra.toObject(e, this)
}
,
proto.webcast.data.EpisodeExtra.toObject = function(e, t) {
var a = {};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.EpisodeExtra.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.EpisodeExtra;
return proto.webcast.data.EpisodeExtra.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.EpisodeExtra.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
t.getFieldNumber();
t.skipField()
}
return e
}
,
proto.webcast.data.EpisodeExtra.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.EpisodeExtra.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeExtra.serializeBinaryToWriter = function(e, t) {}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.AlbumItem.prototype.toObject = function(e) {
return proto.webcast.data.AlbumItem.toObject(e, this)
}
,
proto.webcast.data.AlbumItem.toObject = function(e, t) {
var a, r = {
episode: (a = t.getEpisode()) && proto.webcast.data.Episode.toObject(e, a),
room: (a = t.getRoom()) && d.Room.toObject(e, a),
itemType: o.Message.getFieldWithDefault(t, 3, 0),
isPlaying: o.Message.getBooleanFieldWithDefault(t, 4, !1),
isHide: o.Message.getBooleanFieldWithDefault(t, 5, !1)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.AlbumItem.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.AlbumItem;
return proto.webcast.data.AlbumItem.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.AlbumItem.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new proto.webcast.data.Episode;
t.readMessage(a, proto.webcast.data.Episode.deserializeBinaryFromReader),
e.setEpisode(a);
break;
case 2:
a = new d.Room;
t.readMessage(a, d.Room.deserializeBinaryFromReader),
e.setRoom(a);
break;
case 3:
a = t.readInt32();
e.setItemType(a);
break;
case 4:
a = t.readBool();
e.setIsPlaying(a);
break;
case 5:
a = t.readBool();
e.setIsHide(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.AlbumItem.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.AlbumItem.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.AlbumItem.serializeBinaryToWriter = function(e, t) {
var a = void 0;
null != (a = e.getEpisode()) && t.writeMessage(1, a, proto.webcast.data.Episode.serializeBinaryToWriter),
null != (a = e.getRoom()) && t.writeMessage(2, a, d.Room.serializeBinaryToWriter),
0 !== (a = e.getItemType()) && t.writeInt32(3, a),
(a = e.getIsPlaying()) && t.writeBool(4, a),
(a = e.getIsHide()) && t.writeBool(5, a)
}
,
proto.webcast.data.AlbumItem.prototype.getEpisode = function() {
return o.Message.getWrapperField(this, proto.webcast.data.Episode, 1)
}
,
proto.webcast.data.AlbumItem.prototype.setEpisode = function(e) {
return o.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.AlbumItem.prototype.clearEpisode = function() {
return this.setEpisode(void 0)
}
,
proto.webcast.data.AlbumItem.prototype.hasEpisode = function() {
return null != o.Message.getField(this, 1)
}
,
proto.webcast.data.AlbumItem.prototype.getRoom = function() {
return o.Message.getWrapperField(this, d.Room, 2)
}
,
proto.webcast.data.AlbumItem.prototype.setRoom = function(e) {
return o.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.AlbumItem.prototype.clearRoom = function() {
return this.setRoom(void 0)
}
,
proto.webcast.data.AlbumItem.prototype.hasRoom = function() {
return null != o.Message.getField(this, 2)
}
,
proto.webcast.data.AlbumItem.prototype.getItemType = function() {
return o.Message.getFieldWithDefault(this, 3, 0)
}
,
proto.webcast.data.AlbumItem.prototype.setItemType = function(e) {
return o.Message.setProto3IntField(this, 3, e)
}
,
proto.webcast.data.AlbumItem.prototype.getIsPlaying = function() {
return o.Message.getBooleanFieldWithDefault(this, 4, !1)
}
,
proto.webcast.data.AlbumItem.prototype.setIsPlaying = function(e) {
return o.Message.setProto3BooleanField(this, 4, e)
}
,
proto.webcast.data.AlbumItem.prototype.getIsHide = function() {
return o.Message.getBooleanFieldWithDefault(this, 5, !1)
}
,
proto.webcast.data.AlbumItem.prototype.setIsHide = function(e) {
return o.Message.setProto3BooleanField(this, 5, e)
}
,
proto.webcast.data.SeasonAlbumTab.repeatedFields_ = [1, 2],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.SeasonAlbumTab.prototype.toObject = function(e) {
return proto.webcast.data.SeasonAlbumTab.toObject(e, this)
}
,
proto.webcast.data.SeasonAlbumTab.toObject = function(e, t) {
var a = {
episodesList: o.Message.toObjectList(t.getEpisodesList(), proto.webcast.data.AlbumItem.toObject, e),
specialEpisodesList: o.Message.toObjectList(t.getSpecialEpisodesList(), proto.webcast.data.AlbumItem.toObject, e),
briefInfo: o.Message.getFieldWithDefault(t, 3, ""),
premiereTime: o.Message.getFieldWithDefault(t, 4, ""),
episodeTotal: o.Message.getFieldWithDefault(t, 5, "0"),
specialEpisodeTotal: o.Message.getFieldWithDefault(t, 6, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SeasonAlbumTab.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.SeasonAlbumTab;
return proto.webcast.data.SeasonAlbumTab.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.SeasonAlbumTab.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new proto.webcast.data.AlbumItem;
t.readMessage(a, proto.webcast.data.AlbumItem.deserializeBinaryFromReader),
e.addEpisodes(a);
break;
case 2:
a = new proto.webcast.data.AlbumItem;
t.readMessage(a, proto.webcast.data.AlbumItem.deserializeBinaryFromReader),
e.addSpecialEpisodes(a);
break;
case 3:
a = t.readString();
e.setBriefInfo(a);
break;
case 4:
a = t.readString();
e.setPremiereTime(a);
break;
case 5:
a = t.readInt64String();
e.setEpisodeTotal(a);
break;
case 6:
a = t.readInt64String();
e.setSpecialEpisodeTotal(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.SeasonAlbumTab.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.SeasonAlbumTab.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SeasonAlbumTab.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getEpisodesList()).length > 0 && t.writeRepeatedMessage(1, a, proto.webcast.data.AlbumItem.serializeBinaryToWriter),
(a = e.getSpecialEpisodesList()).length > 0 && t.writeRepeatedMessage(2, a, proto.webcast.data.AlbumItem.serializeBinaryToWriter),
(a = e.getBriefInfo()).length > 0 && t.writeString(3, a),
(a = e.getPremiereTime()).length > 0 && t.writeString(4, a),
a = e.getEpisodeTotal(),
0 !== parseInt(a, 10) && t.writeInt64String(5, a),
a = e.getSpecialEpisodeTotal(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.getEpisodesList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.AlbumItem, 1)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.setEpisodesList = function(e) {
return o.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.addEpisodes = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 1, e, proto.webcast.data.AlbumItem, t)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.clearEpisodesList = function() {
return this.setEpisodesList([])
}
,
proto.webcast.data.SeasonAlbumTab.prototype.getSpecialEpisodesList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.AlbumItem, 2)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.setSpecialEpisodesList = function(e) {
return o.Message.setRepeatedWrapperField(this, 2, e)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.addSpecialEpisodes = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 2, e, proto.webcast.data.AlbumItem, t)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.clearSpecialEpisodesList = function() {
return this.setSpecialEpisodesList([])
}
,
proto.webcast.data.SeasonAlbumTab.prototype.getBriefInfo = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.SeasonAlbumTab.prototype.setBriefInfo = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.getPremiereTime = function() {
return o.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.SeasonAlbumTab.prototype.setPremiereTime = function(e) {
return o.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.getEpisodeTotal = function() {
return o.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.SeasonAlbumTab.prototype.setEpisodeTotal = function(e) {
return o.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.getSpecialEpisodeTotal = function() {
return o.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.SeasonAlbumTab.prototype.setSpecialEpisodeTotal = function(e) {
return o.Message.setProto3StringIntField(this, 6, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.EpisodeActors.prototype.toObject = function(e) {
return proto.webcast.data.EpisodeActors.toObject(e, this)
}
,
proto.webcast.data.EpisodeActors.toObject = function(e, t) {
var a, r = {
userId: o.Message.getFieldWithDefault(t, 1, "0"),
name: o.Message.getFieldWithDefault(t, 2, ""),
avatar: (a = t.getAvatar()) && g.Image.toObject(e, a),
verifyType: o.Message.getFieldWithDefault(t, 4, "0"),
label: o.Message.getFieldWithDefault(t, 5, "")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.EpisodeActors.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.EpisodeActors;
return proto.webcast.data.EpisodeActors.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.EpisodeActors.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setUserId(a);
break;
case 2:
a = t.readString();
e.setName(a);
break;
case 3:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setAvatar(a);
break;
case 4:
a = t.readInt64String();
e.setVerifyType(a);
break;
case 5:
a = t.readString();
e.setLabel(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.EpisodeActors.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.EpisodeActors.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeActors.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getUserId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getName()).length > 0 && t.writeString(2, a),
null != (a = e.getAvatar()) && t.writeMessage(3, a, g.Image.serializeBinaryToWriter),
a = e.getVerifyType(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a),
(a = e.getLabel()).length > 0 && t.writeString(5, a)
}
,
proto.webcast.data.EpisodeActors.prototype.getUserId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.EpisodeActors.prototype.setUserId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.EpisodeActors.prototype.getName = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.EpisodeActors.prototype.setName = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.EpisodeActors.prototype.getAvatar = function() {
return o.Message.getWrapperField(this, g.Image, 3)
}
,
proto.webcast.data.EpisodeActors.prototype.setAvatar = function(e) {
return o.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.EpisodeActors.prototype.clearAvatar = function() {
return this.setAvatar(void 0)
}
,
proto.webcast.data.EpisodeActors.prototype.hasAvatar = function() {
return null != o.Message.getField(this, 3)
}
,
proto.webcast.data.EpisodeActors.prototype.getVerifyType = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.EpisodeActors.prototype.setVerifyType = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.EpisodeActors.prototype.getLabel = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.EpisodeActors.prototype.setLabel = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.SeasonBriefInfo.repeatedFields_ = [10, 11],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.SeasonBriefInfo.prototype.toObject = function(e) {
return proto.webcast.data.SeasonBriefInfo.toObject(e, this)
}
,
proto.webcast.data.SeasonBriefInfo.toObject = function(e, t) {
var a, r = {
seasonType: o.Message.getFieldWithDefault(t, 1, 0),
updatingStatus: o.Message.getFieldWithDefault(t, 2, 0),
episodeCount: o.Message.getFieldWithDefault(t, 3, "0"),
releaseTime: o.Message.getFieldWithDefault(t, 4, ""),
runningTime: o.Message.getFieldWithDefault(t, 5, ""),
directors: o.Message.getFieldWithDefault(t, 6, ""),
actors: o.Message.getFieldWithDefault(t, 7, ""),
previewtText: o.Message.getFieldWithDefault(t, 8, ""),
background: (a = t.getBackground()) && g.Image.toObject(e, a),
usersList: o.Message.toObjectList(t.getUsersList(), n.User.toObject, e),
episodeActorsList: o.Message.toObjectList(t.getEpisodeActorsList(), proto.webcast.data.EpisodeActors.toObject, e),
introduce: o.Message.getFieldWithDefault(t, 12, ""),
multiSeasonOrder: o.Message.getFieldWithDefault(t, 13, "0"),
multiSeasonTag: o.Message.getFieldWithDefault(t, 14, "")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.SeasonBriefInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.SeasonBriefInfo;
return proto.webcast.data.SeasonBriefInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.SeasonBriefInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readEnum();
e.setSeasonType(a);
break;
case 2:
a = t.readEnum();
e.setUpdatingStatus(a);
break;
case 3:
a = t.readInt64String();
e.setEpisodeCount(a);
break;
case 4:
a = t.readString();
e.setReleaseTime(a);
break;
case 5:
a = t.readString();
e.setRunningTime(a);
break;
case 6:
a = t.readString();
e.setDirectors(a);
break;
case 7:
a = t.readString();
e.setActors(a);
break;
case 8:
a = t.readString();
e.setPreviewtText(a);
break;
case 9:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setBackground(a);
break;
case 10:
a = new n.User;
t.readMessage(a, n.User.deserializeBinaryFromReader),
e.addUsers(a);
break;
case 11:
a = new proto.webcast.data.EpisodeActors;
t.readMessage(a, proto.webcast.data.EpisodeActors.deserializeBinaryFromReader),
e.addEpisodeActors(a);
break;
case 12:
a = t.readString();
e.setIntroduce(a);
break;
case 13:
a = t.readInt64String();
e.setMultiSeasonOrder(a);
break;
case 14:
a = t.readString();
e.setMultiSeasonTag(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.SeasonBriefInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.SeasonBriefInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SeasonBriefInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getSeasonType()) && t.writeEnum(1, a),
0 !== (a = e.getUpdatingStatus()) && t.writeEnum(2, a),
a = e.getEpisodeCount(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
(a = e.getReleaseTime()).length > 0 && t.writeString(4, a),
(a = e.getRunningTime()).length > 0 && t.writeString(5, a),
(a = e.getDirectors()).length > 0 && t.writeString(6, a),
(a = e.getActors()).length > 0 && t.writeString(7, a),
(a = e.getPreviewtText()).length > 0 && t.writeString(8, a),
null != (a = e.getBackground()) && t.writeMessage(9, a, g.Image.serializeBinaryToWriter),
(a = e.getUsersList()).length > 0 && t.writeRepeatedMessage(10, a, n.User.serializeBinaryToWriter),
(a = e.getEpisodeActorsList()).length > 0 && t.writeRepeatedMessage(11, a, proto.webcast.data.EpisodeActors.serializeBinaryToWriter),
(a = e.getIntroduce()).length > 0 && t.writeString(12, a),
a = e.getMultiSeasonOrder(),
0 !== parseInt(a, 10) && t.writeInt64String(13, a),
(a = e.getMultiSeasonTag()).length > 0 && t.writeString(14, a)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getSeasonType = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setSeasonType = function(e) {
return o.Message.setProto3EnumField(this, 1, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getUpdatingStatus = function() {
return o.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setUpdatingStatus = function(e) {
return o.Message.setProto3EnumField(this, 2, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getEpisodeCount = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setEpisodeCount = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getReleaseTime = function() {
return o.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setReleaseTime = function(e) {
return o.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getRunningTime = function() {
return o.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setRunningTime = function(e) {
return o.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getDirectors = function() {
return o.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setDirectors = function(e) {
return o.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getActors = function() {
return o.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setActors = function(e) {
return o.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getPreviewtText = function() {
return o.Message.getFieldWithDefault(this, 8, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setPreviewtText = function(e) {
return o.Message.setProto3StringField(this, 8, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getBackground = function() {
return o.Message.getWrapperField(this, g.Image, 9)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setBackground = function(e) {
return o.Message.setWrapperField(this, 9, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.clearBackground = function() {
return this.setBackground(void 0)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.hasBackground = function() {
return null != o.Message.getField(this, 9)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getUsersList = function() {
return o.Message.getRepeatedWrapperField(this, n.User, 10)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setUsersList = function(e) {
return o.Message.setRepeatedWrapperField(this, 10, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.addUsers = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 10, e, proto.webcast.data.User, t)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.clearUsersList = function() {
return this.setUsersList([])
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getEpisodeActorsList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.EpisodeActors, 11)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setEpisodeActorsList = function(e) {
return o.Message.setRepeatedWrapperField(this, 11, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.addEpisodeActors = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 11, e, proto.webcast.data.EpisodeActors, t)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.clearEpisodeActorsList = function() {
return this.setEpisodeActorsList([])
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getIntroduce = function() {
return o.Message.getFieldWithDefault(this, 12, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setIntroduce = function(e) {
return o.Message.setProto3StringField(this, 12, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getMultiSeasonOrder = function() {
return o.Message.getFieldWithDefault(this, 13, "0")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setMultiSeasonOrder = function(e) {
return o.Message.setProto3StringIntField(this, 13, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getMultiSeasonTag = function() {
return o.Message.getFieldWithDefault(this, 14, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setMultiSeasonTag = function(e) {
return o.Message.setProto3StringField(this, 14, e)
}
,
proto.webcast.data.Season.repeatedFields_ = [8, 9, 13],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.Season.prototype.toObject = function(e) {
return proto.webcast.data.Season.toObject(e, this)
}
,
proto.webcast.data.Season.toObject = function(e, t) {
var a, r = {
id: o.Message.getFieldWithDefault(t, 1, ""),
title: o.Message.getFieldWithDefault(t, 2, ""),
desc: o.Message.getFieldWithDefault(t, 3, ""),
ownerId: o.Message.getFieldWithDefault(t, 4, "0"),
cover: (a = t.getCover()) && g.Image.toObject(e, a),
coverVertical: (a = t.getCoverVertical()) && g.Image.toObject(e, a),
status: o.Message.getFieldWithDefault(t, 7, 0),
episodesList: o.Message.toObjectList(t.getEpisodesList(), proto.webcast.data.Episode.toObject, e),
specialEpisodesList: o.Message.toObjectList(t.getSpecialEpisodesList(), proto.webcast.data.Episode.toObject, e),
statistics: (a = t.getStatistics()) && proto.webcast.data.Statistics.toObject(e, a),
owner: (a = t.getOwner()) && n.User.toObject(e, a),
briefInfo: (a = t.getBriefInfo()) && proto.webcast.data.SeasonBriefInfo.toObject(e, a),
albumItemsList: o.Message.toObjectList(t.getAlbumItemsList(), proto.webcast.data.AlbumItem.toObject, e),
actorIntroTitle: o.Message.getFieldWithDefault(t, 14, ""),
userStatistics: (a = t.getUserStatistics()) && proto.webcast.data.UserStatistics.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.Season.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.Season;
return proto.webcast.data.Season.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.Season.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setId(a);
break;
case 2:
a = t.readString();
e.setTitle(a);
break;
case 3:
a = t.readString();
e.setDesc(a);
break;
case 4:
a = t.readInt64String();
e.setOwnerId(a);
break;
case 5:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setCover(a);
break;
case 6:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setCoverVertical(a);
break;
case 7:
a = t.readEnum();
e.setStatus(a);
break;
case 8:
a = new proto.webcast.data.Episode;
t.readMessage(a, proto.webcast.data.Episode.deserializeBinaryFromReader),
e.addEpisodes(a);
break;
case 9:
a = new proto.webcast.data.Episode;
t.readMessage(a, proto.webcast.data.Episode.deserializeBinaryFromReader),
e.addSpecialEpisodes(a);
break;
case 10:
a = new proto.webcast.data.Statistics;
t.readMessage(a, proto.webcast.data.Statistics.deserializeBinaryFromReader),
e.setStatistics(a);
break;
case 11:
a = new n.User;
t.readMessage(a, n.User.deserializeBinaryFromReader),
e.setOwner(a);
break;
case 12:
a = new proto.webcast.data.SeasonBriefInfo;
t.readMessage(a, proto.webcast.data.SeasonBriefInfo.deserializeBinaryFromReader),
e.setBriefInfo(a);
break;
case 13:
a = new proto.webcast.data.AlbumItem;
t.readMessage(a, proto.webcast.data.AlbumItem.deserializeBinaryFromReader),
e.addAlbumItems(a);
break;
case 14:
a = t.readString();
e.setActorIntroTitle(a);
break;
case 101:
a = new proto.webcast.data.UserStatistics;
t.readMessage(a, proto.webcast.data.UserStatistics.deserializeBinaryFromReader),
e.setUserStatistics(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.Season.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.Season.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.Season.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getId()).length > 0 && t.writeString(1, a),
(a = e.getTitle()).length > 0 && t.writeString(2, a),
(a = e.getDesc()).length > 0 && t.writeString(3, a),
a = e.getOwnerId(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a),
null != (a = e.getCover()) && t.writeMessage(5, a, g.Image.serializeBinaryToWriter),
null != (a = e.getCoverVertical()) && t.writeMessage(6, a, g.Image.serializeBinaryToWriter),
0 !== (a = e.getStatus()) && t.writeEnum(7, a),
(a = e.getEpisodesList()).length > 0 && t.writeRepeatedMessage(8, a, proto.webcast.data.Episode.serializeBinaryToWriter),
(a = e.getSpecialEpisodesList()).length > 0 && t.writeRepeatedMessage(9, a, proto.webcast.data.Episode.serializeBinaryToWriter),
null != (a = e.getStatistics()) && t.writeMessage(10, a, proto.webcast.data.Statistics.serializeBinaryToWriter),
null != (a = e.getOwner()) && t.writeMessage(11, a, n.User.serializeBinaryToWriter),
null != (a = e.getBriefInfo()) && t.writeMessage(12, a, proto.webcast.data.SeasonBriefInfo.serializeBinaryToWriter),
(a = e.getAlbumItemsList()).length > 0 && t.writeRepeatedMessage(13, a, proto.webcast.data.AlbumItem.serializeBinaryToWriter),
(a = e.getActorIntroTitle()).length > 0 && t.writeString(14, a),
null != (a = e.getUserStatistics()) && t.writeMessage(101, a, proto.webcast.data.UserStatistics.serializeBinaryToWriter)
}
,
proto.webcast.data.Season.prototype.getId = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.Season.prototype.setId = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.Season.prototype.getTitle = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.Season.prototype.setTitle = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.Season.prototype.getDesc = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.Season.prototype.setDesc = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.Season.prototype.getOwnerId = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.Season.prototype.setOwnerId = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.Season.prototype.getCover = function() {
return o.Message.getWrapperField(this, g.Image, 5)
}
,
proto.webcast.data.Season.prototype.setCover = function(e) {
return o.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.Season.prototype.clearCover = function() {
return this.setCover(void 0)
}
,
proto.webcast.data.Season.prototype.hasCover = function() {
return null != o.Message.getField(this, 5)
}
,
proto.webcast.data.Season.prototype.getCoverVertical = function() {
return o.Message.getWrapperField(this, g.Image, 6)
}
,
proto.webcast.data.Season.prototype.setCoverVertical = function(e) {
return o.Message.setWrapperField(this, 6, e)
}
,
proto.webcast.data.Season.prototype.clearCoverVertical = function() {
return this.setCoverVertical(void 0)
}
,
proto.webcast.data.Season.prototype.hasCoverVertical = function() {
return null != o.Message.getField(this, 6)
}
,
proto.webcast.data.Season.prototype.getStatus = function() {
return o.Message.getFieldWithDefault(this, 7, 0)
}
,
proto.webcast.data.Season.prototype.setStatus = function(e) {
return o.Message.setProto3EnumField(this, 7, e)
}
,
proto.webcast.data.Season.prototype.getEpisodesList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.Episode, 8)
}
,
proto.webcast.data.Season.prototype.setEpisodesList = function(e) {
return o.Message.setRepeatedWrapperField(this, 8, e)
}
,
proto.webcast.data.Season.prototype.addEpisodes = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 8, e, proto.webcast.data.Episode, t)
}
,
proto.webcast.data.Season.prototype.clearEpisodesList = function() {
return this.setEpisodesList([])
}
,
proto.webcast.data.Season.prototype.getSpecialEpisodesList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.Episode, 9)
}
,
proto.webcast.data.Season.prototype.setSpecialEpisodesList = function(e) {
return o.Message.setRepeatedWrapperField(this, 9, e)
}
,
proto.webcast.data.Season.prototype.addSpecialEpisodes = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 9, e, proto.webcast.data.Episode, t)
}
,
proto.webcast.data.Season.prototype.clearSpecialEpisodesList = function() {
return this.setSpecialEpisodesList([])
}
,
proto.webcast.data.Season.prototype.getStatistics = function() {
return o.Message.getWrapperField(this, proto.webcast.data.Statistics, 10)
}
,
proto.webcast.data.Season.prototype.setStatistics = function(e) {
return o.Message.setWrapperField(this, 10, e)
}
,
proto.webcast.data.Season.prototype.clearStatistics = function() {
return this.setStatistics(void 0)
}
,
proto.webcast.data.Season.prototype.hasStatistics = function() {
return null != o.Message.getField(this, 10)
}
,
proto.webcast.data.Season.prototype.getOwner = function() {
return o.Message.getWrapperField(this, n.User, 11)
}
,
proto.webcast.data.Season.prototype.setOwner = function(e) {
return o.Message.setWrapperField(this, 11, e)
}
,
proto.webcast.data.Season.prototype.clearOwner = function() {
return this.setOwner(void 0)
}
,
proto.webcast.data.Season.prototype.hasOwner = function() {
return null != o.Message.getField(this, 11)
}
,
proto.webcast.data.Season.prototype.getBriefInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.SeasonBriefInfo, 12)
}
,
proto.webcast.data.Season.prototype.setBriefInfo = function(e) {
return o.Message.setWrapperField(this, 12, e)
}
,
proto.webcast.data.Season.prototype.clearBriefInfo = function() {
return this.setBriefInfo(void 0)
}
,
proto.webcast.data.Season.prototype.hasBriefInfo = function() {
return null != o.Message.getField(this, 12)
}
,
proto.webcast.data.Season.prototype.getAlbumItemsList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.AlbumItem, 13)
}
,
proto.webcast.data.Season.prototype.setAlbumItemsList = function(e) {
return o.Message.setRepeatedWrapperField(this, 13, e)
}
,
proto.webcast.data.Season.prototype.addAlbumItems = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 13, e, proto.webcast.data.AlbumItem, t)
}
,
proto.webcast.data.Season.prototype.clearAlbumItemsList = function() {
return this.setAlbumItemsList([])
}
,
proto.webcast.data.Season.prototype.getActorIntroTitle = function() {
return o.Message.getFieldWithDefault(this, 14, "")
}
,
proto.webcast.data.Season.prototype.setActorIntroTitle = function(e) {
return o.Message.setProto3StringField(this, 14, e)
}
,
proto.webcast.data.Season.prototype.getUserStatistics = function() {
return o.Message.getWrapperField(this, proto.webcast.data.UserStatistics, 101)
}
,
proto.webcast.data.Season.prototype.setUserStatistics = function(e) {
return o.Message.setWrapperField(this, 101, e)
}
,
proto.webcast.data.Season.prototype.clearUserStatistics = function() {
return this.setUserStatistics(void 0)
}
,
proto.webcast.data.Season.prototype.hasUserStatistics = function() {
return null != o.Message.getField(this, 101)
}
,
proto.webcast.data.MultiSeasonInfo.repeatedFields_ = [1],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.MultiSeasonInfo.prototype.toObject = function(e) {
return proto.webcast.data.MultiSeasonInfo.toObject(e, this)
}
,
proto.webcast.data.MultiSeasonInfo.toObject = function(e, t) {
var a = {
seasonTagsList: o.Message.toObjectList(t.getSeasonTagsList(), proto.webcast.data.SeasonTag.toObject, e)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.MultiSeasonInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.MultiSeasonInfo;
return proto.webcast.data.MultiSeasonInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.MultiSeasonInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
if (1 === t.getFieldNumber()) {
var a = new proto.webcast.data.SeasonTag;
t.readMessage(a, proto.webcast.data.SeasonTag.deserializeBinaryFromReader),
e.addSeasonTags(a)
} else
t.skipField()
}
return e
}
,
proto.webcast.data.MultiSeasonInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.MultiSeasonInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MultiSeasonInfo.serializeBinaryToWriter = function(e, t) {
var a;
(a = e.getSeasonTagsList()).length > 0 && t.writeRepeatedMessage(1, a, proto.webcast.data.SeasonTag.serializeBinaryToWriter)
}
,
proto.webcast.data.MultiSeasonInfo.prototype.getSeasonTagsList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.SeasonTag, 1)
}
,
proto.webcast.data.MultiSeasonInfo.prototype.setSeasonTagsList = function(e) {
return o.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.MultiSeasonInfo.prototype.addSeasonTags = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 1, e, proto.webcast.data.SeasonTag, t)
}
,
proto.webcast.data.MultiSeasonInfo.prototype.clearSeasonTagsList = function() {
return this.setSeasonTagsList([])
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.SeasonTag.prototype.toObject = function(e) {
return proto.webcast.data.SeasonTag.toObject(e, this)
}
,
proto.webcast.data.SeasonTag.toObject = function(e, t) {
var a = {
seasonId: o.Message.getFieldWithDefault(t, 1, "0"),
seasonTag: o.Message.getFieldWithDefault(t, 2, ""),
seasonIdStr: o.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SeasonTag.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.SeasonTag;
return proto.webcast.data.SeasonTag.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.SeasonTag.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setSeasonId(a);
break;
case 2:
a = t.readString();
e.setSeasonTag(a);
break;
case 3:
a = t.readString();
e.setSeasonIdStr(a);
break;
default:
t.skipField()
}
}
return e
}
;
proto.webcast.data.SeasonTag.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.SeasonTag.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SeasonTag.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getSeasonId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getSeasonTag()).length > 0 && t.writeString(2, a),
(a = e.getSeasonIdStr()).length > 0 && t.writeString(3, a)
}
,
proto.webcast.data.SeasonTag.prototype.getSeasonId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.SeasonTag.prototype.setSeasonId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.SeasonTag.prototype.getSeasonTag = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.SeasonTag.prototype.setSeasonTag = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.SeasonTag.prototype.getSeasonIdStr = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.SeasonTag.prototype.setSeasonIdStr = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.VarietyShow.repeatedFields_ = [7],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VarietyShow.prototype.toObject = function(e) {
return proto.webcast.data.VarietyShow.toObject(e, this)
}
,
proto.webcast.data.VarietyShow.toObject = function(e, t) {
var a, r = {
id: o.Message.getFieldWithDefault(t, 1, ""),
title: o.Message.getFieldWithDefault(t, 2, ""),
desc: o.Message.getFieldWithDefault(t, 3, ""),
cover: (a = t.getCover()) && g.Image.toObject(e, a),
dynamicCover: (a = t.getDynamicCover()) && g.Image.toObject(e, a),
dynamicCoverLow: (a = t.getDynamicCoverLow()) && g.Image.toObject(e, a),
seasonsList: o.Message.toObjectList(t.getSeasonsList(), proto.webcast.data.Season.toObject, e),
statistics: (a = t.getStatistics()) && proto.webcast.data.Statistics.toObject(e, a),
owner: (a = t.getOwner()) && n.User.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.VarietyShow.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.VarietyShow;
return proto.webcast.data.VarietyShow.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.VarietyShow.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setId(a);
break;
case 2:
a = t.readString();
e.setTitle(a);
break;
case 3:
a = t.readString();
e.setDesc(a);
break;
case 4:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setCover(a);
break;
case 5:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setDynamicCover(a);
break;
case 6:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setDynamicCoverLow(a);
break;
case 7:
a = new proto.webcast.data.Season;
t.readMessage(a, proto.webcast.data.Season.deserializeBinaryFromReader),
e.addSeasons(a);
break;
case 8:
a = new proto.webcast.data.Statistics;
t.readMessage(a, proto.webcast.data.Statistics.deserializeBinaryFromReader),
e.setStatistics(a);
break;
case 9:
a = new n.User;
t.readMessage(a, n.User.deserializeBinaryFromReader),
e.setOwner(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.VarietyShow.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.VarietyShow.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VarietyShow.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getId()).length > 0 && t.writeString(1, a),
(a = e.getTitle()).length > 0 && t.writeString(2, a),
(a = e.getDesc()).length > 0 && t.writeString(3, a),
null != (a = e.getCover()) && t.writeMessage(4, a, g.Image.serializeBinaryToWriter),
null != (a = e.getDynamicCover()) && t.writeMessage(5, a, g.Image.serializeBinaryToWriter),
null != (a = e.getDynamicCoverLow()) && t.writeMessage(6, a, g.Image.serializeBinaryToWriter),
(a = e.getSeasonsList()).length > 0 && t.writeRepeatedMessage(7, a, proto.webcast.data.Season.serializeBinaryToWriter),
null != (a = e.getStatistics()) && t.writeMessage(8, a, proto.webcast.data.Statistics.serializeBinaryToWriter),
null != (a = e.getOwner()) && t.writeMessage(9, a, n.User.serializeBinaryToWriter)
}
,
proto.webcast.data.VarietyShow.prototype.getId = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.VarietyShow.prototype.setId = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.VarietyShow.prototype.getTitle = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.VarietyShow.prototype.setTitle = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.VarietyShow.prototype.getDesc = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.VarietyShow.prototype.setDesc = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.VarietyShow.prototype.getCover = function() {
return o.Message.getWrapperField(this, g.Image, 4)
}
,
proto.webcast.data.VarietyShow.prototype.setCover = function(e) {
return o.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.VarietyShow.prototype.clearCover = function() {
return this.setCover(void 0)
}
,
proto.webcast.data.VarietyShow.prototype.hasCover = function() {
return null != o.Message.getField(this, 4)
}
,
proto.webcast.data.VarietyShow.prototype.getDynamicCover = function() {
return o.Message.getWrapperField(this, g.Image, 5)
}
,
proto.webcast.data.VarietyShow.prototype.setDynamicCover = function(e) {
return o.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.VarietyShow.prototype.clearDynamicCover = function() {
return this.setDynamicCover(void 0)
}
,
proto.webcast.data.VarietyShow.prototype.hasDynamicCover = function() {
return null != o.Message.getField(this, 5)
}
,
proto.webcast.data.VarietyShow.prototype.getDynamicCoverLow = function() {
return o.Message.getWrapperField(this, g.Image, 6)
}
,
proto.webcast.data.VarietyShow.prototype.setDynamicCoverLow = function(e) {
return o.Message.setWrapperField(this, 6, e)
}
,
proto.webcast.data.VarietyShow.prototype.clearDynamicCoverLow = function() {
return this.setDynamicCoverLow(void 0)
}
,
proto.webcast.data.VarietyShow.prototype.hasDynamicCoverLow = function() {
return null != o.Message.getField(this, 6)
}
,
proto.webcast.data.VarietyShow.prototype.getSeasonsList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.Season, 7)
}
,
proto.webcast.data.VarietyShow.prototype.setSeasonsList = function(e) {
return o.Message.setRepeatedWrapperField(this, 7, e)
}
,
proto.webcast.data.VarietyShow.prototype.addSeasons = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 7, e, proto.webcast.data.Season, t)
}
,
proto.webcast.data.VarietyShow.prototype.clearSeasonsList = function() {
return this.setSeasonsList([])
}
,
proto.webcast.data.VarietyShow.prototype.getStatistics = function() {
return o.Message.getWrapperField(this, proto.webcast.data.Statistics, 8)
}
,
proto.webcast.data.VarietyShow.prototype.setStatistics = function(e) {
return o.Message.setWrapperField(this, 8, e)
}
,
proto.webcast.data.VarietyShow.prototype.clearStatistics = function() {
return this.setStatistics(void 0)
}
,
proto.webcast.data.VarietyShow.prototype.hasStatistics = function() {
return null != o.Message.getField(this, 8)
}
,
proto.webcast.data.VarietyShow.prototype.getOwner = function() {
return o.Message.getWrapperField(this, n.User, 9)
}
,
proto.webcast.data.VarietyShow.prototype.setOwner = function(e) {
return o.Message.setWrapperField(this, 9, e)
}
,
proto.webcast.data.VarietyShow.prototype.clearOwner = function() {
return this.setOwner(void 0)
}
,
proto.webcast.data.VarietyShow.prototype.hasOwner = function() {
return null != o.Message.getField(this, 9)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.TopicInfo.prototype.toObject = function(e) {
return proto.webcast.data.TopicInfo.toObject(e, this)
}
,
proto.webcast.data.TopicInfo.toObject = function(e, t) {
var a, r = {
challengeId: o.Message.getFieldWithDefault(t, 1, "0"),
challengeName: o.Message.getFieldWithDefault(t, 2, ""),
isCommerce: o.Message.getBooleanFieldWithDefault(t, 3, !1),
playCount: o.Message.getFieldWithDefault(t, 4, "0"),
cover: (a = t.getCover()) && g.Image.toObject(e, a),
seeTime: (a = t.getSeeTime()) && proto.webcast.data.TimePoint.toObject(e, a),
challengeDesc: o.Message.getFieldWithDefault(t, 7, ""),
subType: o.Message.getFieldWithDefault(t, 8, "0"),
highlightTime: o.Message.getFieldWithDefault(t, 9, "")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.TopicInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.TopicInfo;
return proto.webcast.data.TopicInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.TopicInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setChallengeId(a);
break;
case 2:
a = t.readString();
e.setChallengeName(a);
break;
case 3:
a = t.readBool();
e.setIsCommerce(a);
break;
case 4:
a = t.readInt64String();
e.setPlayCount(a);
break;
case 5:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setCover(a);
break;
case 6:
a = new proto.webcast.data.TimePoint;
t.readMessage(a, proto.webcast.data.TimePoint.deserializeBinaryFromReader),
e.setSeeTime(a);
break;
case 7:
a = t.readString();
e.setChallengeDesc(a);
break;
case 8:
a = t.readInt64String();
e.setSubType(a);
break;
case 9:
a = t.readString();
e.setHighlightTime(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.TopicInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.TopicInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.TopicInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getChallengeId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getChallengeName()).length > 0 && t.writeString(2, a),
(a = e.getIsCommerce()) && t.writeBool(3, a),
a = e.getPlayCount(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a),
null != (a = e.getCover()) && t.writeMessage(5, a, g.Image.serializeBinaryToWriter),
null != (a = e.getSeeTime()) && t.writeMessage(6, a, proto.webcast.data.TimePoint.serializeBinaryToWriter),
(a = e.getChallengeDesc()).length > 0 && t.writeString(7, a),
a = e.getSubType(),
0 !== parseInt(a, 10) && t.writeInt64String(8, a),
(a = e.getHighlightTime()).length > 0 && t.writeString(9, a)
}
,
proto.webcast.data.TopicInfo.prototype.getChallengeId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.TopicInfo.prototype.setChallengeId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.TopicInfo.prototype.getChallengeName = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.TopicInfo.prototype.setChallengeName = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.TopicInfo.prototype.getIsCommerce = function() {
return o.Message.getBooleanFieldWithDefault(this, 3, !1)
}
,
proto.webcast.data.TopicInfo.prototype.setIsCommerce = function(e) {
return o.Message.setProto3BooleanField(this, 3, e)
}
,
proto.webcast.data.TopicInfo.prototype.getPlayCount = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.TopicInfo.prototype.setPlayCount = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.TopicInfo.prototype.getCover = function() {
return o.Message.getWrapperField(this, g.Image, 5)
}
,
proto.webcast.data.TopicInfo.prototype.setCover = function(e) {
return o.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.TopicInfo.prototype.clearCover = function() {
return this.setCover(void 0)
}
,
proto.webcast.data.TopicInfo.prototype.hasCover = function() {
return null != o.Message.getField(this, 5)
}
,
proto.webcast.data.TopicInfo.prototype.getSeeTime = function() {
return o.Message.getWrapperField(this, proto.webcast.data.TimePoint, 6)
}
,
proto.webcast.data.TopicInfo.prototype.setSeeTime = function(e) {
return o.Message.setWrapperField(this, 6, e)
}
,
proto.webcast.data.TopicInfo.prototype.clearSeeTime = function() {
return this.setSeeTime(void 0)
}
,
proto.webcast.data.TopicInfo.prototype.hasSeeTime = function() {
return null != o.Message.getField(this, 6)
}
,
proto.webcast.data.TopicInfo.prototype.getChallengeDesc = function() {
return o.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.TopicInfo.prototype.setChallengeDesc = function(e) {
return o.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.TopicInfo.prototype.getSubType = function() {
return o.Message.getFieldWithDefault(this, 8, "0")
}
,
proto.webcast.data.TopicInfo.prototype.setSubType = function(e) {
return o.Message.setProto3StringIntField(this, 8, e)
}
,
proto.webcast.data.TopicInfo.prototype.getHighlightTime = function() {
return o.Message.getFieldWithDefault(this, 9, "")
}
,
proto.webcast.data.TopicInfo.prototype.setHighlightTime = function(e) {
return o.Message.setProto3StringField(this, 9, e)
}
,
proto.webcast.data.TopicMeta.repeatedFields_ = [2],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.TopicMeta.prototype.toObject = function(e) {
return proto.webcast.data.TopicMeta.toObject(e, this)
}
,
proto.webcast.data.TopicMeta.toObject = function(e, t) {
var a, r = {
background: (a = t.getBackground()) && g.Image.toObject(e, a),
backgroundColorsList: null == (a = o.Message.getRepeatedField(t, 2)) ? void 0 : a,
cardIcon: (a = t.getCardIcon()) && g.Image.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.TopicMeta.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.TopicMeta;
return proto.webcast.data.TopicMeta.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.TopicMeta.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setBackground(a);
break;
case 2:
a = t.readString();
e.addBackgroundColors(a);
break;
case 3:
a = new g.Image;
t.readMessage(a, g.Image.deserializeBinaryFromReader),
e.setCardIcon(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.TopicMeta.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.TopicMeta.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.TopicMeta.serializeBinaryToWriter = function(e, t) {
var a = void 0;
null != (a = e.getBackground()) && t.writeMessage(1, a, g.Image.serializeBinaryToWriter),
(a = e.getBackgroundColorsList()).length > 0 && t.writeRepeatedString(2, a),
null != (a = e.getCardIcon()) && t.writeMessage(3, a, g.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.TopicMeta.prototype.getBackground = function() {
return o.Message.getWrapperField(this, g.Image, 1)
}
,
proto.webcast.data.TopicMeta.prototype.setBackground = function(e) {
return o.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.TopicMeta.prototype.clearBackground = function() {
return this.setBackground(void 0)
}
,
proto.webcast.data.TopicMeta.prototype.hasBackground = function() {
return null != o.Message.getField(this, 1)
}
,
proto.webcast.data.TopicMeta.prototype.getBackgroundColorsList = function() {
return o.Message.getRepeatedField(this, 2)
}
,
proto.webcast.data.TopicMeta.prototype.setBackgroundColorsList = function(e) {
return o.Message.setField(this, 2, e || [])
}
,
proto.webcast.data.TopicMeta.prototype.addBackgroundColors = function(e, t) {
return o.Message.addToRepeatedField(this, 2, e, t)
}
,
proto.webcast.data.TopicMeta.prototype.clearBackgroundColorsList = function() {
return this.setBackgroundColorsList([])
}
,
proto.webcast.data.TopicMeta.prototype.getCardIcon = function() {
return o.Message.getWrapperField(this, g.Image, 3)
}
,
proto.webcast.data.TopicMeta.prototype.setCardIcon = function(e) {
return o.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.TopicMeta.prototype.clearCardIcon = function() {
return this.setCardIcon(void 0)
}
,
proto.webcast.data.TopicMeta.prototype.hasCardIcon = function() {
return null != o.Message.getField(this, 3)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.TimePoint.prototype.toObject = function(e) {
return proto.webcast.data.TimePoint.toObject(e, this)
}
,
proto.webcast.data.TimePoint.toObject = function(e, t) {
var a = {
start: o.Message.getFieldWithDefault(t, 1, "0"),
duration: o.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.TimePoint.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.TimePoint;
return proto.webcast.data.TimePoint.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.TimePoint.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setStart(a);
break;
case 2:
a = t.readInt64String();
e.setDuration(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.TimePoint.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.TimePoint.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.TimePoint.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getStart(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
a = e.getDuration(),
0 !== parseInt(a, 10) && t.writeInt64String(2, a)
}
,
proto.webcast.data.TimePoint.prototype.getStart = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.TimePoint.prototype.setStart = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.TimePoint.prototype.getDuration = function() {
return o.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.TimePoint.prototype.setDuration = function(e) {
return o.Message.setProto3StringIntField(this, 2, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.FeedsVSInfo.prototype.toObject = function(e) {
return proto.webcast.data.FeedsVSInfo.toObject(e, this)
}
,
proto.webcast.data.FeedsVSInfo.toObject = function(e, t) {
var a, r = {
episodeStage: o.Message.getFieldWithDefault(t, 1, 0),
episode: (a = t.getEpisode()) && proto.webcast.data.Episode.toObject(e, a),
room: (a = t.getRoom()) && d.Room.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.FeedsVSInfo.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.FeedsVSInfo;
return proto.webcast.data.FeedsVSInfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.FeedsVSInfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readEnum();
e.setEpisodeStage(a);
break;
case 2:
a = new proto.webcast.data.Episode;
t.readMessage(a, proto.webcast.data.Episode.deserializeBinaryFromReader),
e.setEpisode(a);
break;
case 3:
a = new d.Room;
t.readMessage(a, d.Room.deserializeBinaryFromReader),
e.setRoom(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.FeedsVSInfo.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.FeedsVSInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.FeedsVSInfo.serializeBinaryToWriter = function(e, t) {
var a = void 0;
0 !== (a = e.getEpisodeStage()) && t.writeEnum(1, a),
null != (a = e.getEpisode()) && t.writeMessage(2, a, proto.webcast.data.Episode.serializeBinaryToWriter),
null != (a = e.getRoom()) && t.writeMessage(3, a, d.Room.serializeBinaryToWriter)
}
,
proto.webcast.data.FeedsVSInfo.prototype.getEpisodeStage = function() {
return o.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.FeedsVSInfo.prototype.setEpisodeStage = function(e) {
return o.Message.setProto3EnumField(this, 1, e)
}
,
proto.webcast.data.FeedsVSInfo.prototype.getEpisode = function() {
return o.Message.getWrapperField(this, proto.webcast.data.Episode, 2)
}
,
proto.webcast.data.FeedsVSInfo.prototype.setEpisode = function(e) {
return o.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.FeedsVSInfo.prototype.clearEpisode = function() {
return this.setEpisode(void 0)
}
,
proto.webcast.data.FeedsVSInfo.prototype.hasEpisode = function() {
return null != o.Message.getField(this, 2)
}
,
proto.webcast.data.FeedsVSInfo.prototype.getRoom = function() {
return o.Message.getWrapperField(this, d.Room, 3)
}
,
proto.webcast.data.FeedsVSInfo.prototype.setRoom = function(e) {
return o.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.FeedsVSInfo.prototype.clearRoom = function() {
return this.setRoom(void 0)
}
,
proto.webcast.data.FeedsVSInfo.prototype.hasRoom = function() {
return null != o.Message.getField(this, 3)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.UserFilterKeyword.prototype.toObject = function(e) {
return proto.webcast.data.UserFilterKeyword.toObject(e, this)
}
,
proto.webcast.data.UserFilterKeyword.toObject = function(e, t) {
var a = {
wordId: o.Message.getFieldWithDefault(t, 1, "0"),
keyword: o.Message.getFieldWithDefault(t, 2, ""),
insertTime: o.Message.getFieldWithDefault(t, 3, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.UserFilterKeyword.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.UserFilterKeyword;
return proto.webcast.data.UserFilterKeyword.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.UserFilterKeyword.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setWordId(a);
break;
case 2:
a = t.readString();
e.setKeyword(a);
break;
case 3:
a = t.readInt64String();
e.setInsertTime(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.UserFilterKeyword.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.UserFilterKeyword.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.UserFilterKeyword.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getWordId(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getKeyword()).length > 0 && t.writeString(2, a),
a = e.getInsertTime(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a)
}
,
proto.webcast.data.UserFilterKeyword.prototype.getWordId = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.UserFilterKeyword.prototype.setWordId = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.UserFilterKeyword.prototype.getKeyword = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.UserFilterKeyword.prototype.setKeyword = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.UserFilterKeyword.prototype.getInsertTime = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.UserFilterKeyword.prototype.setInsertTime = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.MoreSeason.repeatedFields_ = [1],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.MoreSeason.prototype.toObject = function(e) {
return proto.webcast.data.MoreSeason.toObject(e, this)
}
,
proto.webcast.data.MoreSeason.toObject = function(e, t) {
var a = {
episodesList: o.Message.toObjectList(t.getEpisodesList(), proto.webcast.data.AlbumItem.toObject, e),
moreSeasonTitle: o.Message.getFieldWithDefault(t, 2, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.MoreSeason.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.MoreSeason;
return proto.webcast.data.MoreSeason.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.MoreSeason.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new proto.webcast.data.AlbumItem;
t.readMessage(a, proto.webcast.data.AlbumItem.deserializeBinaryFromReader),
e.addEpisodes(a);
break;
case 2:
a = t.readString();
e.setMoreSeasonTitle(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.MoreSeason.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.MoreSeason.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MoreSeason.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getEpisodesList()).length > 0 && t.writeRepeatedMessage(1, a, proto.webcast.data.AlbumItem.serializeBinaryToWriter),
(a = e.getMoreSeasonTitle()).length > 0 && t.writeString(2, a)
}
,
proto.webcast.data.MoreSeason.prototype.getEpisodesList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.AlbumItem, 1)
}
,
proto.webcast.data.MoreSeason.prototype.setEpisodesList = function(e) {
return o.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.MoreSeason.prototype.addEpisodes = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 1, e, proto.webcast.data.AlbumItem, t)
}
,
proto.webcast.data.MoreSeason.prototype.clearEpisodesList = function() {
return this.setEpisodesList([])
}
,
proto.webcast.data.MoreSeason.prototype.getMoreSeasonTitle = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.MoreSeason.prototype.setMoreSeasonTitle = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.VSSearchData.repeatedFields_ = [2, 3],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VSSearchData.prototype.toObject = function(e) {
return proto.webcast.data.VSSearchData.toObject(e, this)
}
,
proto.webcast.data.VSSearchData.toObject = function(e, t) {
var a, r = {
generalInfo: (a = t.getGeneralInfo()) && proto.webcast.data.Episode.toObject(e, a),
albumListList: o.Message.toObjectList(t.getAlbumListList(), proto.webcast.data.Episode.toObject, e),
relationListList: o.Message.toObjectList(t.getRelationListList(), proto.webcast.data.Episode.toObject, e),
latestPeriod: o.Message.getFieldWithDefault(t, 4, "0"),
albumCount: o.Message.getFieldWithDefault(t, 5, "0")
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.VSSearchData.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.VSSearchData;
return proto.webcast.data.VSSearchData.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.VSSearchData.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new proto.webcast.data.Episode;
t.readMessage(a, proto.webcast.data.Episode.deserializeBinaryFromReader),
e.setGeneralInfo(a);
break;
case 2:
a = new proto.webcast.data.Episode;
t.readMessage(a, proto.webcast.data.Episode.deserializeBinaryFromReader),
e.addAlbumList(a);
break;
case 3:
a = new proto.webcast.data.Episode;
t.readMessage(a, proto.webcast.data.Episode.deserializeBinaryFromReader),
e.addRelationList(a);
break;
case 4:
a = t.readInt64String();
e.setLatestPeriod(a);
break;
case 5:
a = t.readInt64String();
e.setAlbumCount(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.VSSearchData.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.VSSearchData.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VSSearchData.serializeBinaryToWriter = function(e, t) {
var a = void 0;
null != (a = e.getGeneralInfo()) && t.writeMessage(1, a, proto.webcast.data.Episode.serializeBinaryToWriter),
(a = e.getAlbumListList()).length > 0 && t.writeRepeatedMessage(2, a, proto.webcast.data.Episode.serializeBinaryToWriter),
(a = e.getRelationListList()).length > 0 && t.writeRepeatedMessage(3, a, proto.webcast.data.Episode.serializeBinaryToWriter),
a = e.getLatestPeriod(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a),
a = e.getAlbumCount(),
0 !== parseInt(a, 10) && t.writeInt64String(5, a)
}
,
proto.webcast.data.VSSearchData.prototype.getGeneralInfo = function() {
return o.Message.getWrapperField(this, proto.webcast.data.Episode, 1)
}
,
proto.webcast.data.VSSearchData.prototype.setGeneralInfo = function(e) {
return o.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.VSSearchData.prototype.clearGeneralInfo = function() {
return this.setGeneralInfo(void 0)
}
,
proto.webcast.data.VSSearchData.prototype.hasGeneralInfo = function() {
return null != o.Message.getField(this, 1)
}
,
proto.webcast.data.VSSearchData.prototype.getAlbumListList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.Episode, 2)
}
,
proto.webcast.data.VSSearchData.prototype.setAlbumListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 2, e)
}
,
proto.webcast.data.VSSearchData.prototype.addAlbumList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 2, e, proto.webcast.data.Episode, t)
}
,
proto.webcast.data.VSSearchData.prototype.clearAlbumListList = function() {
return this.setAlbumListList([])
}
,
proto.webcast.data.VSSearchData.prototype.getRelationListList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.Episode, 3)
}
,
proto.webcast.data.VSSearchData.prototype.setRelationListList = function(e) {
return o.Message.setRepeatedWrapperField(this, 3, e)
}
,
proto.webcast.data.VSSearchData.prototype.addRelationList = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 3, e, proto.webcast.data.Episode, t)
}
,
proto.webcast.data.VSSearchData.prototype.clearRelationListList = function() {
return this.setRelationListList([])
}
,
proto.webcast.data.VSSearchData.prototype.getLatestPeriod = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.VSSearchData.prototype.setLatestPeriod = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.VSSearchData.prototype.getAlbumCount = function() {
return o.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.VSSearchData.prototype.setAlbumCount = function(e) {
return o.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.SearchLoadMoreData.repeatedFields_ = [2],
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.SearchLoadMoreData.prototype.toObject = function(e) {
return proto.webcast.data.SearchLoadMoreData.toObject(e, this)
}
,
proto.webcast.data.SearchLoadMoreData.toObject = function(e, t) {
var a = {
hasMore: o.Message.getBooleanFieldWithDefault(t, 1, !1),
dataList: o.Message.toObjectList(t.getDataList(), proto.webcast.data.SearchLoadMoreData.SearchData.toObject, e),
offset: o.Message.getFieldWithDefault(t, 3, "0"),
total: o.Message.getFieldWithDefault(t, 4, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SearchLoadMoreData.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.SearchLoadMoreData;
return proto.webcast.data.SearchLoadMoreData.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.SearchLoadMoreData.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readBool();
e.setHasMore(a);
break;
case 2:
a = new proto.webcast.data.SearchLoadMoreData.SearchData;
t.readMessage(a, proto.webcast.data.SearchLoadMoreData.SearchData.deserializeBinaryFromReader),
e.addData(a);
break;
case 3:
a = t.readInt64String();
e.setOffset(a);
break;
case 4:
a = t.readInt64String();
e.setTotal(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.SearchLoadMoreData.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.SearchLoadMoreData.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SearchLoadMoreData.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getHasMore()) && t.writeBool(1, a),
(a = e.getDataList()).length > 0 && t.writeRepeatedMessage(2, a, proto.webcast.data.SearchLoadMoreData.SearchData.serializeBinaryToWriter),
a = e.getOffset(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
a = e.getTotal(),
0 !== parseInt(a, 10) && t.writeInt64String(4, a)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.SearchLoadMoreData.SearchData.prototype.toObject = function(e) {
return proto.webcast.data.SearchLoadMoreData.SearchData.toObject(e, this)
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.toObject = function(e, t) {
var a = {
name: o.Message.getFieldWithDefault(t, 1, ""),
title: o.Message.getFieldWithDefault(t, 2, ""),
episodeId: o.Message.getFieldWithDefault(t, 3, "0"),
schema: o.Message.getFieldWithDefault(t, 4, ""),
seq: o.Message.getFieldWithDefault(t, 5, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SearchLoadMoreData.SearchData.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.SearchLoadMoreData.SearchData;
return proto.webcast.data.SearchLoadMoreData.SearchData.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setName(a);
break;
case 2:
a = t.readString();
e.setTitle(a);
break;
case 3:
a = t.readInt64String();
e.setEpisodeId(a);
break;
case 4:
a = t.readString();
e.setSchema(a);
break;
case 5:
a = t.readInt64String();
e.setSeq(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.SearchLoadMoreData.SearchData.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.serializeBinaryToWriter = function(e, t) {
var a = void 0;
(a = e.getName()).length > 0 && t.writeString(1, a),
(a = e.getTitle()).length > 0 && t.writeString(2, a),
a = e.getEpisodeId(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a),
(a = e.getSchema()).length > 0 && t.writeString(4, a),
a = e.getSeq(),
0 !== parseInt(a, 10) && t.writeInt64String(5, a)
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.getName = function() {
return o.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.setName = function(e) {
return o.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.getTitle = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.setTitle = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.getEpisodeId = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.setEpisodeId = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.getSchema = function() {
return o.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.setSchema = function(e) {
return o.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.getSeq = function() {
return o.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.setSeq = function(e) {
return o.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.SearchLoadMoreData.prototype.getHasMore = function() {
return o.Message.getBooleanFieldWithDefault(this, 1, !1)
}
,
proto.webcast.data.SearchLoadMoreData.prototype.setHasMore = function(e) {
return o.Message.setProto3BooleanField(this, 1, e)
}
,
proto.webcast.data.SearchLoadMoreData.prototype.getDataList = function() {
return o.Message.getRepeatedWrapperField(this, proto.webcast.data.SearchLoadMoreData.SearchData, 2)
}
,
proto.webcast.data.SearchLoadMoreData.prototype.setDataList = function(e) {
return o.Message.setRepeatedWrapperField(this, 2, e)
}
,
proto.webcast.data.SearchLoadMoreData.prototype.addData = function(e, t) {
return o.Message.addToRepeatedWrapperField(this, 2, e, proto.webcast.data.SearchLoadMoreData.SearchData, t)
}
,
proto.webcast.data.SearchLoadMoreData.prototype.clearDataList = function() {
return this.setDataList([])
}
,
proto.webcast.data.SearchLoadMoreData.prototype.getOffset = function() {
return o.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.SearchLoadMoreData.prototype.setOffset = function(e) {
return o.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.SearchLoadMoreData.prototype.getTotal = function() {
return o.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.SearchLoadMoreData.prototype.setTotal = function(e) {
return o.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.EpisodeStatus = {
EPISODESTATUSPREPARE: 0,
EPISODESTATUSNORMAL: 1,
EPISODESTATUSDISABLE: 2
},
proto.webcast.data.VsCommentStyle = {
INTERACTIONCOMPONENTON: 0,
INTERACTIONCOMPONENTOFF: 1
},
proto.webcast.data.CommentSpecialEffectType = {
NONEEFFECT: 0,
OUTLINEEFFECT: 1,
SURROUNDEFFECT: 2
},
proto.webcast.data.VideoModelType = {
VID: 0,
STREAM: 1
},
proto.webcast.data.SeasonStatus = {
SEASONSTATUSPREPARE: 0,
SEASONSTATUSWARMUP: 1,
SEASONSTATUSNORMAL: 2,
SEASONSTATUSDISABLE: 3
},
proto.webcast.data.SeasonTypeEnum = {
SEASONTYPEUNKNOWN: 0,
SEASONTYPEVS: 1,
SEASONTYPETELEPLAY: 2,
SEASONTYPEMOVIE: 3,
SEASONTYPEMATCH: 4,
SEASONTYPEEVENINGPARTY: 5,
SEASONTYPEDOCUMENTARY: 6,
SEASONTYPESPORTS: 7,
SEASONTYPEOTHER: 8,
SEASONTYPESHOWPLAY: 9
},
proto.webcast.data.UpdatingStatusEnum = {
UPDATINGSTATUSUNKNOWN: 0,
UPDATINGSTATUSUPDATING: 1,
UPDATINGSTATUSOVER: 2
},
r.object.extend(t, proto.webcast.data)
}
,
5181: (e,t,a)=>{
var o = a(47865)
, r = o
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, s = a(23831);
r.object.extend(proto, s),
r.exportSymbol("proto.webcast.data.StandardMoney", null, i),
r.exportSymbol("proto.webcast.data.TimeStruct", null, i),
proto.webcast.data.StandardMoney = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.StandardMoney, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.StandardMoney.displayName = "proto.webcast.data.StandardMoney"),
proto.webcast.data.TimeStruct = function(e) {
o.Message.initialize(this, e, 0, -1, null, null)
}
,
r.inherits(proto.webcast.data.TimeStruct, o.Message),
r.DEBUG && !COMPILED && (proto.webcast.data.TimeStruct.displayName = "proto.webcast.data.TimeStruct"),
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.StandardMoney.prototype.toObject = function(e) {
return proto.webcast.data.StandardMoney.toObject(e, this)
}
,
proto.webcast.data.StandardMoney.toObject = function(e, t) {
var a = {
money: o.Message.getFieldWithDefault(t, 1, "0"),
currencyName: o.Message.getFieldWithDefault(t, 2, ""),
currencyCharacter: o.Message.getFieldWithDefault(t, 3, ""),
moneyStr: o.Message.getFieldWithDefault(t, 4, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.StandardMoney.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.StandardMoney;
return proto.webcast.data.StandardMoney.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.StandardMoney.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setMoney(a);
break;
case 2:
a = t.readString();
e.setCurrencyName(a);
break;
case 3:
a = t.readString();
e.setCurrencyCharacter(a);
break;
case 4:
a = t.readString();
e.setMoneyStr(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.StandardMoney.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.StandardMoney.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.StandardMoney.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getMoney(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getCurrencyName()).length > 0 && t.writeString(2, a),
(a = e.getCurrencyCharacter()).length > 0 && t.writeString(3, a),
(a = e.getMoneyStr()).length > 0 && t.writeString(4, a)
}
,
proto.webcast.data.StandardMoney.prototype.getMoney = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.StandardMoney.prototype.setMoney = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.StandardMoney.prototype.getCurrencyName = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.StandardMoney.prototype.setCurrencyName = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.StandardMoney.prototype.getCurrencyCharacter = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.StandardMoney.prototype.setCurrencyCharacter = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.StandardMoney.prototype.getMoneyStr = function() {
return o.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.StandardMoney.prototype.setMoneyStr = function(e) {
return o.Message.setProto3StringField(this, 4, e)
}
,
o.Message.GENERATE_TO_OBJECT && (proto.webcast.data.TimeStruct.prototype.toObject = function(e) {
return proto.webcast.data.TimeStruct.toObject(e, this)
}
,
proto.webcast.data.TimeStruct.toObject = function(e, t) {
var a = {
timestamp: o.Message.getFieldWithDefault(t, 1, "0"),
timezone: o.Message.getFieldWithDefault(t, 2, ""),
strTime: o.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.TimeStruct.deserializeBinary = function(e) {
var t = new o.BinaryReader(e)
, a = new proto.webcast.data.TimeStruct;
return proto.webcast.data.TimeStruct.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.TimeStruct.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setTimestamp(a);
break;
case 2:
a = t.readString();
e.setTimezone(a);
break;
case 3:
a = t.readString();
e.setStrTime(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.TimeStruct.prototype.serializeBinary = function() {
var e = new o.BinaryWriter;
return proto.webcast.data.TimeStruct.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.TimeStruct.serializeBinaryToWriter = function(e, t) {
var a = void 0;
a = e.getTimestamp(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a),
(a = e.getTimezone()).length > 0 && t.writeString(2, a),
(a = e.getStrTime()).length > 0 && t.writeString(3, a)
}
,
proto.webcast.data.TimeStruct.prototype.getTimestamp = function() {
return o.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.TimeStruct.prototype.setTimestamp = function(e) {
return o.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.TimeStruct.prototype.getTimezone = function() {
return o.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.TimeStruct.prototype.setTimezone = function(e) {
return o.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.TimeStruct.prototype.getStrTime = function() {
return o.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.TimeStruct.prototype.setStrTime = function(e) {
return o.Message.setProto3StringField(this, 3, e)
}
,
r.object.extend(t, proto.webcast.data)
}
}]);
})();