// ==UserScript==
// @name 容易互娱
// @namespace http://tampermonkey.net/
// @version 0.3
// @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.__LOADABLE_LOADED_CHUNKS__ = self.__LOADABLE_LOADED_CHUNKS__ || []).push([[829], {
69595: function(e, t, a) {
"use strict";
a.d(t, {
Kr: function() {
return r.Kr
},
Om: function() {
return r.Om
},
AG: function() {
return r.AG
},
SZ: function() {
return r.SZ
},
DA: function() {
return r.DA
},
nN: function() {
return r.nN
},
Jn: function() {
return o
},
ry: function() {
return i
},
ej: function() {
return n
},
PN: function() {
return s
},
xr: function() {
return d
}
});
var r = a(65651);
const o = "1.3.0"
, i = "180800"
, n = 100;
function s() {
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/"
},
79600: function(e, t, a) {
"use strict";
a.r(t),
a.d(t, {
ActivityInteractiveMessage: function() {
return i.ActivityInteractiveMessage
},
AdminData: function() {
return u.AdminData
},
AdminPrivilegeMessage: function() {
return p.AdminPrivilegeMessage
},
AdminPrivilegeStruct: function() {
return p.AdminPrivilegeStruct
},
AdminRecordHandleMessage: function() {
return c.AdminRecordHandleMessage
},
AdminRecordMessage: function() {
return u.AdminRecordMessage
},
AllQuizInfo: function() {
return or.AllQuizInfo
},
AnchorAppointmentNumUpdateMessage: function() {
return ho.AnchorAppointmentNumUpdateMessage
},
AnchorBoost: function() {
return g.AnchorBoost
},
AnchorBoostMessage: function() {
return g.AnchorBoostMessage
},
AnchorFaceConfig: function() {
return cr.AnchorFaceConfig
},
AnchorUpdateLayoutContent: function() {
return Rt.AnchorUpdateLayoutContent
},
AnchorUpdateLinkmicConfigContent: function() {
return Rt.AnchorUpdateLinkmicConfigContent
},
AnswerReviewMessage: function() {
return l.AnswerReviewMessage
},
AppointmentNumberUpdateMessage: function() {
return yo.AppointmentNumberUpdateMessage
},
AssetEffectUtilMessage: function() {
return f.AssetEffectUtilMessage
},
AssetMessage: function() {
return b.AssetMessage
},
AuctionInfo: function() {
return fa.AuctionInfo
},
AuctionSuccess: function() {
return fa.AuctionSuccess
},
AudienceAddSongSettingChangedContent: function() {
return mt.AudienceAddSongSettingChangedContent
},
AudienceEntranceMessage: function() {
return ro.AudienceEntranceMessage
},
AudienceGiftSyncData: function() {
return Yo.AudienceGiftSyncData
},
AudienceOrderSongChatContent: function() {
return mt.AudienceOrderSongChatContent
},
AudienceOrderSongContent: function() {
return mt.AudienceOrderSongContent
},
AudioBGImgMessage: function() {
return w.AudioBGImgMessage
},
AudioChatMessage: function() {
return h.AudioChatMessage
},
AuthorizationNotifyMessage: function() {
return y.AuthorizationNotifyMessage
},
AutoCoverMessage: function() {
return I.AutoCoverMessage
},
Avatar: function() {
return Ba.Avatar
},
AwemeShopExplainMessage: function() {
return m.AwemeShopExplainMessage
},
BackRecordVideoMessage: function() {
return M.BackRecordVideoMessage
},
Background: function() {
return Ar.Background
},
BattleCancelMessage: function() {
return S.BattleCancelMessage
},
BattleFeedBackCardMessage: function() {
return F.BattleFeedBackCardMessage
},
BattleFrontRankMessage: function() {
return C.BattleFrontRankMessage
},
BattleInviteMessage: function() {
return T.BattleInviteMessage
},
BattleMode: function() {
return vt.BattleMode
},
BattleModeMessage: function() {
return L.BattleModeMessage
},
BattleMultiMatchMessage: function() {
return B.BattleMultiMatchMessage
},
BattleNotifyMessage: function() {
return E.BattleNotifyMessage
},
BattlePrecisionMatchMessage: function() {
return D.BattlePrecisionMatchMessage
},
BattleRejectMessage: function() {
return W.BattleRejectMessage
},
BattleSettings: function() {
return vt.BattleSettings
},
BattleTask: function() {
return vt.BattleTask
},
BattleTeamTaskAskMessage: function() {
return k.BattleTeamTaskAskMessage
},
BattleTeamTaskMessage: function() {
return P.BattleTeamTaskMessage
},
BattleUseCardMessage: function() {
return R.BattleUseCardMessage
},
BeginnerGuideMessage: function() {
return O.BeginnerGuideMessage
},
BenefitLabel: function() {
return fa.BenefitLabel
},
BindingGiftMessage: function() {
return Ke.BindingGiftMessage
},
BridgeData: function() {
return v.BridgeData
},
BridgeMessage: function() {
return v.BridgeMessage
},
BrokerNotifyMessage: function() {
return Ee.BrokerNotifyMessage
},
BrotherhoodMessage: function() {
return G.BrotherhoodMessage
},
BubbleConfig: function() {
return lo.BubbleConfig
},
CNYATaskMessage: function() {
return _.CNYATaskMessage
},
CNYReward: function() {
return _.CNYReward
},
CallToLinkmicContent: function() {
return Vt.CallToLinkmicContent
},
CameraShareStateSyncData: function() {
return Xo.CameraShareStateSyncData
},
CarBallShowMessage: function() {
return A.CarBallShowMessage
},
CarSeriesInfoMessage: function() {
return U.CarSeriesInfoMessage
},
CarouselInfo: function() {
return ri.CarouselInfo
},
CategoryChangeMessage: function() {
return j.CategoryChangeMessage
},
CategoryInfo: function() {
return ba.CategoryInfo
},
CeremonyMessage: function() {
return se.CeremonyMessage
},
ChannelLinkerApplyContent: function() {
return kt.ChannelLinkerApplyContent
},
ChannelLinkerCloseContent: function() {
return kt.ChannelLinkerCloseContent
},
ChannelLinkerCreateContent: function() {
return kt.ChannelLinkerCreateContent
},
ChannelLinkerEnterContent: function() {
return kt.ChannelLinkerEnterContent
},
ChannelLinkerInviteContent: function() {
return kt.ChannelLinkerInviteContent
},
ChannelLinkerKickOutContent: function() {
return kt.ChannelLinkerKickOutContent
},
ChannelLinkerLeaveContent: function() {
return kt.ChannelLinkerLeaveContent
},
ChannelLinkerLinkedListChangeContent: function() {
return kt.ChannelLinkerLinkedListChangeContent
},
ChannelLinkerPermitContent: function() {
return kt.ChannelLinkerPermitContent
},
ChannelLinkerReplyContent: function() {
return kt.ChannelLinkerReplyContent
},
ChannelLinkerSilenceContent: function() {
return kt.ChannelLinkerSilenceContent
},
ChannelNoticeContent: function() {
return Rt.ChannelNoticeContent
},
ChatCarnivalMessage: function() {
return N.ChatCarnivalMessage
},
ChatCarnivalSyncData: function() {
return Zo.ChatCarnivalSyncData
},
ChatItem: function() {
return N.ChatItem
},
ChatMessage: function() {
return V.ChatMessage
},
ChijiNoticeMessage: function() {
return Ut.ChijiNoticeMessage
},
ChorusMessage: function() {
return x.ChorusMessage
},
ChorusOrderedSongListChangeContent: function() {
return x.ChorusOrderedSongListChangeContent
},
CityEffect: function() {
return Rt.CityEffect
},
ClientOperation: function() {
return ut.ClientOperation
},
CloseChorusContent: function() {
return x.CloseChorusContent
},
CloseKtvComponentContent: function() {
return mt.CloseKtvComponentContent
},
CloudGamingPodMessage: function() {
return Ne.CloudGamingPodMessage
},
Comment: function() {
return qo.Comment
},
CommentRoleConfig: function() {
return Jr.CommentRoleConfig
},
CommentaryChangeMessage: function() {
return H.CommentaryChangeMessage
},
CommentsMessage: function() {
return J.CommentsMessage
},
CommentsSyncData: function() {
return qo.CommentsSyncData
},
CommerceMessage: function() {
return K.CommerceMessage
},
CommerceSaleMessage: function() {
return $.CommerceSaleMessage
},
CommonCardAreaMessage: function() {
return Y.CommonCardAreaMessage
},
CommonGuideMessage: function() {
return X.CommonGuideMessage
},
CommonLuckyMoneyMessage: function() {
return Q.CommonLuckyMoneyMessage
},
CommonPopupMessage: function() {
return q.CommonPopupMessage
},
CommonTextMessage: function() {
return ee.CommonTextMessage
},
CommonToastMessage: function() {
return te.CommonToastMessage
},
ComplexContent: function() {
return X.ComplexContent
},
ControlMessage: function() {
return ae.ControlMessage
},
CornerReachMessage: function() {
return Me.CornerReachMessage
},
CouponActivityInfoMessage: function() {
return ga.CouponActivityInfoMessage
},
CouponMetaInfoMessage: function() {
return ga.CouponMetaInfoMessage
},
CreateGroupChatGuideContent: function() {
return Vt.CreateGroupChatGuideContent
},
CreateRedPacketMessage: function() {
return dr.CreateRedPacketMessage
},
CreateTeamfightGuideContent: function() {
return Vt.CreateTeamfightGuideContent
},
CrossRoomLinkCancelInviteContent: function() {
return Rt.CrossRoomLinkCancelInviteContent
},
CrossRoomLinkInviteContent: function() {
return Rt.CrossRoomLinkInviteContent
},
CrossRoomLinkReplyContent: function() {
return Rt.CrossRoomLinkReplyContent
},
CrossRoomRTCInfoContent: function() {
return Rt.CrossRoomRTCInfoContent
},
CurrentUserInfo: function() {
return fa.CurrentUserInfo
},
CustomizedCardMessage: function() {
return ro.CustomizedCardMessage
},
DLiveMessage: function() {
return se.DLiveMessage
},
DataLifeLiveMessage: function() {
return re.DataLifeLiveMessage
},
DecorationModifyMessage: function() {
return oe.DecorationModifyMessage
},
DecorationUpdateMessage: function() {
return ie.DecorationUpdateMessage
},
DeviceIdRuleTypeEnum: function() {
return Ii.Kr
},
DiggMessage: function() {
return ne.DiggMessage
},
DisplayControlInfo: function() {
return Wt.DisplayControlInfo
},
DolphinSettingUpdateMessage: function() {
return de.DolphinSettingUpdateMessage
},
DonationMessage: function() {
return pe.DonationMessage
},
DoodleGiftMessage: function() {
return ce.DoodleGiftMessage
},
DoubleLikeDetail: function() {
return Wt.DoubleLikeDetail
},
DoubleLikeHeartMessage: function() {
return ue.DoubleLikeHeartMessage
},
DoubleLikeSyncData: function() {
return ei.DoubleLikeSyncData
},
DoubleLikeTopUserMessage: function() {
return ue.DoubleLikeTopUserMessage
},
DouplusIndicatorMessage: function() {
return ge.DouplusIndicatorMessage
},
DouplusMessage: function() {
return le.DouplusMessage
},
DressAssetMessage: function() {
return fe.DressAssetMessage
},
DriveGiftMessage: function() {
return be.DriveGiftMessage
},
DrumMessage: function() {
return we.DrumMessage
},
DrumMsgType: function() {
return we.DrumMsgType
},
DrumResult: function() {
return we.DrumResult
},
DutyGiftMessage: function() {
return ye.DutyGiftMessage
},
EasterEggMessage: function() {
return Ie.EasterEggMessage
},
EasterEggMessageData: function() {
return Ie.EasterEggMessageData
},
EcomBuyIntentionMessage: function() {
return wt.EcomBuyIntentionMessage
},
EcomFansClubMessage: function() {
return me.EcomFansClubMessage
},
EffectUtilImageInfo: function() {
return f.EffectUtilImageInfo
},
EffectUtilTextInfo: function() {
return f.EffectUtilTextInfo
},
EggItem: function() {
return N.EggItem
},
EmojiChatMessage: function() {
return V.EmojiChatMessage
},
EpisodeChatMessage: function() {
return Se.EpisodeChatMessage
},
ExhibitionChatMessage: function() {
return He.ExhibitionChatMessage
},
ExhibitionTopLeftMessage: function() {
return He.ExhibitionTopLeftMessage
},
FansGroupGuideMessage: function() {
return Fe.FansGroupGuideMessage
},
FansclubGuideMessage: function() {
return Ce.FansclubGuideMessage
},
FansclubMessage: function() {
return Ce.FansclubMessage
},
FansclubReviewMessage: function() {
return Ce.FansclubReviewMessage
},
FansclubStatisticsMessage: function() {
return Ce.FansclubStatisticsMessage
},
FastChatInfo: function() {
return ai.FastChatInfo
},
FastChatSyncData: function() {
return ti.FastChatSyncData
},
FeedbackActionMessage: function() {
return Te.FeedbackActionMessage
},
FeedbackCardMessage: function() {
return Te.FeedbackCardMessage
},
FetchRuleEnum: function() {
return Ii.Om
},
FieldLocation: function() {
return si.FieldLocation
},
FilterSwitchChangeData: function() {
return fa.FilterSwitchChangeData
},
FireworkMultiMessage: function() {
return Le.FireworkMultiMessage
},
FixedChatInfo: function() {
return ai.FixedChatInfo
},
FixedChatSyncData: function() {
return ai.FixedChatSyncData
},
FollowGuideMessage: function() {
return Be.FollowGuideMessage
},
FootballTalkingModule: function() {
return Ba.FootballTalkingModule
},
FreeCellGiftMessage: function() {
return De.FreeCellGiftMessage
},
FreeGiftMessage: function() {
return We.FreeGiftMessage
},
FreshmanSupportMessage: function() {
return zo.FreshmanSupportMessage
},
FriendChatMessage: function() {
return V.FriendChatMessage
},
GamblingStatusChangedMessage: function() {
return ke.GamblingStatusChangedMessage
},
GameAncAudDataFromAncMessage: function() {
return Pe.GameAncAudDataFromAncMessage
},
GameAncAudDataFromAudMessage: function() {
return Pe.GameAncAudDataFromAudMessage
},
GameAncAudEntranceMessage: function() {
return Pe.GameAncAudEntranceMessage
},
GameAncAudPanelCtrlMessage: function() {
return Pe.GameAncAudPanelCtrlMessage
},
GameAncAudStatusMessage: function() {
return Pe.GameAncAudStatusMessage
},
GameCPAnchorPromoteInfoMessage: function() {
return Ue.GameCPAnchorPromoteInfoMessage
},
GameCPAnchorReminderMessage: function() {
return je.GameCPAnchorReminderMessage
},
GameCPBaseMessage: function() {
return je.GameCPBaseMessage
},
GameCPShowMessage: function() {
return je.GameCPShowMessage
},
GameCPUserDownloadMessage: function() {
return je.GameCPUserDownloadMessage
},
GameCPUserRoomMetaMessage: function() {
return je.GameCPUserRoomMetaMessage
},
GameCardMessage: function() {
return ro.GameCardMessage
},
GameChannelMessage: function() {
return Pe.GameChannelMessage
},
GameDevelopMessage: function() {
return Re.GameDevelopMessage
},
GameGiftMessage: function() {
return Oe.GameGiftMessage
},
GameGiftStatusMessage: function() {
return Oe.GameGiftStatusMessage
},
GameInviteMessage: function() {
return ve.GameInviteMessage
},
GameInviteReplyMessage: function() {
return ve.GameInviteReplyMessage
},
GamePVPMessage: function() {
return Ge.GamePVPMessage
},
GamePlayInviteMessage: function() {
return Ve.GamePlayInviteMessage
},
GamePlayStatusMessage: function() {
return Ve.GamePlayStatusMessage
},
GamePlayTeamStatusMessage: function() {
return Ve.GamePlayTeamStatusMessage
},
GameStatusMessage: function() {
return ze.GameStatusMessage
},
GameStatusUpdateMessage: function() {
return Ae.GameStatusUpdateMessage
},
GiftConsumeRemindMessage: function() {
return xe.GiftConsumeRemindMessage
},
GiftCycleReleaseMessage: function() {
return _e.GiftCycleReleaseMessage
},
GiftIconFlashMessage: function() {
return Je.GiftIconFlashMessage
},
GiftMessage: function() {
return Ke.GiftMessage
},
GiftUpdateMessage: function() {
return $e.GiftUpdateMessage
},
GiftVoteMessage: function() {
return Ye.GiftVoteMessage
},
GradeBuffAnchorShareMessage: function() {
return Xe.GradeBuffAnchorShareMessage
},
GroupPhotoJumpDetail: function() {
return si.GroupPhotoJumpDetail
},
GroupShowUserUpdateMessage: function() {
return Qe.GroupShowUserUpdateMessage
},
GrowthTaskMessage: function() {
return Ze.GrowthTaskMessage
},
GuestBattleBubbleGuideContent: function() {
return Vt.GuestBattleBubbleGuideContent
},
GuestBattleFinishContent: function() {
return qe.GuestBattleFinishContent
},
GuestBattleMessage: function() {
return qe.GuestBattleMessage
},
GuestBattleScoreMessage: function() {
return et.GuestBattleScoreMessage
},
GuestBattleUpdateContent: function() {
return qe.GuestBattleUpdateContent
},
GuideMessage: function() {
return tt.GuideMessage
},
HighlightComment: function() {
return at.HighlightComment
},
HighlightCommentPosition: function() {
return rt.HighlightCommentPosition
},
HighlightContainerSyncData: function() {
return ri.HighlightContainerSyncData
},
HighlightDataAnswer: function() {
return ri.HighlightDataAnswer
},
HighlightDataAppointment: function() {
return ri.HighlightDataAppointment
},
HighlightDataComment: function() {
return ri.HighlightDataComment
},
HighlightDataCommonText: function() {
return ri.HighlightDataCommonText
},
HighlightDataVideo: function() {
return ri.HighlightDataVideo
},
HighlightItem: function() {
return ri.HighlightItem
},
HostVersion: function() {
return Pe.HostVersion
},
HotAtmosphere: function() {
return fa.HotAtmosphere
},
HotChatMessage: function() {
return ot.HotChatMessage
},
HotLiveModule: function() {
return Ba.HotLiveModule
},
HotRoomMessage: function() {
return it.HotRoomMessage
},
HotVideoCard: function() {
return Ba.HotVideoCard
},
IMMessageTypes: function() {
return yi.w
},
IM_URL: function() {
return Ii.xr
},
ImDeleteMessage: function() {
return nt.ImDeleteMessage
},
ImageInfo: function() {
return d.ImageInfo
},
Img: function() {
return fa.Img
},
InRoomBannerEvent: function() {
return st.InRoomBannerEvent
},
InRoomBannerMessage: function() {
return st.InRoomBannerMessage
},
InRoomBannerRedPoint: function() {
return dt.InRoomBannerRedPoint
},
InRoomBannerRefreshMessage: function() {
return pt.InRoomBannerRefreshMessage
},
IncrPriceList: function() {
return fa.IncrPriceList
},
InitLinkmicContent: function() {
return z.InitLinkmicContent
},
InputPanelComponentSyncData: function() {
return oi.InputPanelComponentSyncData
},
InstantCommandMessage: function() {
return ct.InstantCommandMessage
},
InteractControlMessage: function() {
return ut.InteractControlMessage
},
InteractOpenAppStatusMessage: function() {
return vo.InteractOpenAppStatusMessage
},
InteractOpenChatMessage: function() {
return Go.InteractOpenChatMessage
},
InteractOpenDevelopMessage: function() {
return gt.InteractOpenDevelopMessage
},
InteractOpenDiamondMessage: function() {
return Ao.InteractOpenDiamondMessage
},
InteractOpenFollowingMessage: function() {
return Uo.InteractOpenFollowingMessage
},
InteractOpenRewardMessage: function() {
return No.InteractOpenRewardMessage
},
InteractOpenViolationMessage: function() {
return xo.InteractOpenViolationMessage
},
InteractScreenshotMessage: function() {
return Vo.InteractScreenshotMessage
},
InteractionAvatar: function() {
return fa.InteractionAvatar
},
InteractionContent: function() {
return fa.InteractionContent
},
InteractionContentCheck: function() {
return fa.InteractionContentCheck
},
InteractionData: function() {
return fa.InteractionData
},
InteractionElement: function() {
return fa.InteractionElement
},
InteractionInfoMessage: function() {
return lt.InteractionInfoMessage
},
IntercomChangeSyncData: function() {
return ni.IntercomChangeSyncData
},
IntercomInviteMessage: function() {
return ft.IntercomInviteMessage
},
IntercomReplyMessage: function() {
return ft.IntercomReplyMessage
},
JackfruitMessage: function() {
return bt.JackfruitMessage
},
JoinGroupChatGuideContent: function() {
return Vt.JoinGroupChatGuideContent
},
KTVChallengeRankMessage: function() {
return Tt.KTVChallengeRankMessage
},
KTVChallengeStatusMessage: function() {
return Lt.KTVChallengeStatusMessage
},
KTVContestSupportMessage: function() {
return yt.KTVContestSupportMessage
},
KTVPlayModeStartMessage: function() {
return Mt.KTVPlayModeStartMessage
},
KTVShortVideoCreatedMessage: function() {
return St.KTVShortVideoCreatedMessage
},
KTVSingerHotRankPosMessage: function() {
return Ft.KTVSingerHotRankPosMessage
},
KTVStartGrabSongMessage: function() {
return Bt.KTVStartGrabSongMessage
},
KTVUserSingingHotMessage: function() {
return Et.KTVUserSingingHotMessage
},
KtvAddSongGuideContent: function() {
return Vt.KtvAddSongGuideContent
},
KtvAtmosphereVideoContent: function() {
return ht.KtvAtmosphereVideoContent
},
KtvAtmosphereVideoMessage: function() {
return ht.KtvAtmosphereVideoMessage
},
KtvChallengeConfigMessage: function() {
return Ct.KtvChallengeConfigMessage
},
KtvGrabSongResultMessage: function() {
return It.KtvGrabSongResultMessage
},
KtvMessage: function() {
return mt.KtvMessage
},
LevelUpMessage: function() {
return Dt.LevelUpMessage
},
LikeEggJumpDetail: function() {
return si.LikeEggJumpDetail
},
LikeEggSyncData: function() {
return si.LikeEggSyncData
},
LikeEggTrayColor: function() {
return si.LikeEggTrayColor
},
LikeMessage: function() {
return Wt.LikeMessage
},
LikeUserDetail: function() {
return ue.LikeUserDetail
},
LinkMessage: function() {
return Rt.LinkMessage
},
LinkMicArmies: function() {
return Ot.LinkMicArmies
},
LinkMicAudienceKtvMessage: function() {
return ta.LinkMicAudienceKtvMessage
},
LinkMicBattle: function() {
return vt.LinkMicBattle
},
LinkMicBattleFinish: function() {
return zt.LinkMicBattleFinish
},
LinkMicBattlePunish: function() {
return Gt.LinkMicBattlePunish
},
LinkMicBattleTaskMessage: function() {
return At.LinkMicBattleTaskMessage
},
LinkMicEnterNoticeMessage: function() {
return jt.LinkMicEnterNoticeMessage
},
LinkMicFriendOnlineMessage: function() {
return Nt.LinkMicFriendOnlineMessage
},
LinkMicGuideMessage: function() {
return Vt.LinkMicGuideMessage
},
LinkMicHostModifyMsg: function() {
return xt.LinkMicHostModifyMsg
},
LinkMicKtvBeatRankMessage: function() {
return _t.LinkMicKtvBeatRankMessage
},
LinkMicKtvEffectMessage: function() {
return Ht.LinkMicKtvEffectMessage
},
LinkMicMethod: function() {
return Jt.LinkMicMethod
},
LinkMicOChannelKickOutMsg: function() {
return Kt.LinkMicOChannelKickOutMsg
},
LinkMicOChannelNotifyMsg: function() {
return $t.LinkMicOChannelNotifyMsg
},
LinkMicPositionListChangeContent: function() {
return Qt.LinkMicPositionListChangeContent
},
LinkMicPositionMessage: function() {
return Qt.LinkMicPositionMessage
},
LinkMicPositionVerifyContent: function() {
return Qt.LinkMicPositionVerifyContent
},
LinkMicPositionVerifyItem: function() {
return Qt.LinkMicPositionVerifyItem
},
LinkMicSendEmojiMessage: function() {
return Zt.LinkMicSendEmojiMessage
},
LinkMicSignalingMethod: function() {
return ea.LinkMicSignalingMethod
},
LinkPhaseEnterNextNotifyContent: function() {
return Rt.LinkPhaseEnterNextNotifyContent
},
LinkPrepareApplyContent: function() {
return Rt.LinkPrepareApplyContent
},
LinkSettingNotifyMessage: function() {
return qt.LinkSettingNotifyMessage
},
LinkerAnchorStreamSwitchContent: function() {
return Rt.LinkerAnchorStreamSwitchContent
},
LinkerApplyExpiredContent: function() {
return Rt.LinkerApplyExpiredContent
},
LinkerApplyRankChangeContent: function() {
return Rt.LinkerApplyRankChangeContent
},
LinkerApplyStrongReminderContent: function() {
return Rt.LinkerApplyStrongReminderContent
},
LinkerAvatarAuditContent: function() {
return Rt.LinkerAvatarAuditContent
},
LinkerBanContent: function() {
return Rt.LinkerBanContent
},
LinkerBattleConnectContent: function() {
return Rt.LinkerBattleConnectContent
},
LinkerCancelContent: function() {
return Rt.LinkerCancelContent
},
LinkerChangeMultiPKTeamInfoContent: function() {
return Rt.LinkerChangeMultiPKTeamInfoContent
},
LinkerChangePlayModeContent: function() {
return Rt.LinkerChangePlayModeContent
},
LinkerClickScreenContent: function() {
return Rt.LinkerClickScreenContent
},
LinkerCloseContent: function() {
return Rt.LinkerCloseContent
},
LinkerContributeMessage: function() {
return Pt.LinkerContributeMessage
},
LinkerCreateContent: function() {
return Rt.LinkerCreateContent
},
LinkerCrossRoomUpdateContent: function() {
return Rt.LinkerCrossRoomUpdateContent
},
LinkerDegradeAlertContent: function() {
return Rt.LinkerDegradeAlertContent
},
LinkerEnlargeGuestApplyContent: function() {
return Rt.LinkerEnlargeGuestApplyContent
},
LinkerEnlargeGuestInviteContent: function() {
return Rt.LinkerEnlargeGuestInviteContent
},
LinkerEnlargeGuestReplyContent: function() {
return Rt.LinkerEnlargeGuestReplyContent
},
LinkerEnterContent: function() {
return Rt.LinkerEnterContent
},
LinkerFollowStrongGuideContent: function() {
return Rt.LinkerFollowStrongGuideContent
},
LinkerGuestExitCastScreenContent: function() {
return Rt.LinkerGuestExitCastScreenContent
},
LinkerGuestInviteContent: function() {
return Rt.LinkerGuestInviteContent
},
LinkerInviteContent: function() {
return Rt.LinkerInviteContent
},
LinkerItemContent: function() {
return Rt.LinkerItemContent
},
LinkerKickOutContent: function() {
return Rt.LinkerKickOutContent
},
LinkerLeaveContent: function() {
return Rt.LinkerLeaveContent
},
LinkerLinkedListChangeContent: function() {
return Rt.LinkerLinkedListChangeContent
},
LinkerLockPositionContent: function() {
return Rt.LinkerLockPositionContent
},
LinkerLowBalanceForPaidLinkmicContent: function() {
return Rt.LinkerLowBalanceForPaidLinkmicContent
},
LinkerReplyContent: function() {
return Rt.LinkerReplyContent
},
LinkerResumeApplyContent: function() {
return Rt.LinkerResumeApplyContent
},
LinkerResumeAudienceContent: function() {
return Rt.LinkerResumeAudienceContent
},
LinkerSetting: function() {
return Rt.LinkerSetting
},
LinkerShareVideoImContent: function() {
return Rt.LinkerShareVideoImContent
},
LinkerSwitchSceneContent: function() {
return Rt.LinkerSwitchSceneContent
},
LinkerSysKickOutContent: function() {
return Rt.LinkerSysKickOutContent
},
LinkerUpdateLinkTypeApplyContent: function() {
return Rt.LinkerUpdateLinkTypeApplyContent
},
LinkerUpdateLinkTypeReplyContent: function() {
return Rt.LinkerUpdateLinkTypeReplyContent
},
LinkerUpdateUserContent: function() {
return Rt.LinkerUpdateUserContent
},
LinkerViolationReminderContent: function() {
return Rt.LinkerViolationReminderContent
},
LinkerWaitingListChangeContent: function() {
return Rt.LinkerWaitingListChangeContent
},
LinkmicBigEventMessage: function() {
return z.LinkmicBigEventMessage
},
LinkmicEcologyChatMatchFinishGroupContent: function() {
return aa.LinkmicEcologyChatMatchFinishGroupContent
},
LinkmicEcologyChatMatchResultContent: function() {
return aa.LinkmicEcologyChatMatchResultContent
},
LinkmicEcologyChatMatchStartCountDownContent: function() {
return aa.LinkmicEcologyChatMatchStartCountDownContent
},
LinkmicEcologyChatMatchUserJoinContent: function() {
return aa.LinkmicEcologyChatMatchUserJoinContent
},
LinkmicEcologyChatMatchUserLeaveContent: function() {
return aa.LinkmicEcologyChatMatchUserLeaveContent
},
LinkmicEcologyMessage: function() {
return aa.LinkmicEcologyMessage
},
LinkmicEnlargeGuestMessage: function() {
return ra.LinkmicEnlargeGuestMessage
},
LinkmicEnlargeGuestTurnOffContent: function() {
return ra.LinkmicEnlargeGuestTurnOffContent
},
LinkmicEnlargeGuestTurnOnContent: function() {
return ra.LinkmicEnlargeGuestTurnOnContent
},
LinkmicFollowEffectContent: function() {
return Vt.LinkmicFollowEffectContent
},
LinkmicInfo: function() {
return Rt.LinkmicInfo
},
LinkmicOrderSingActionToastContent: function() {
return Yt.LinkmicOrderSingActionToastContent
},
LinkmicOrderSingCreateContent: function() {
return Yt.LinkmicOrderSingCreateContent
},
LinkmicOrderSingFinishContent: function() {
return Yt.LinkmicOrderSingFinishContent
},
LinkmicOrderSingMessage: function() {
return Yt.LinkmicOrderSingMessage
},
LinkmicOrderSingScoreContent: function() {
return Xt.LinkmicOrderSingScoreContent
},
LinkmicOrderSingScoreMessage: function() {
return Xt.LinkmicOrderSingScoreMessage
},
LinkmicProfitBidPaidLinkmicAbortContent: function() {
return oa.LinkmicProfitBidPaidLinkmicAbortContent
},
LinkmicProfitBidPaidLinkmicBidContent: function() {
return oa.LinkmicProfitBidPaidLinkmicBidContent
},
LinkmicProfitBidPaidLinkmicDealContent: function() {
return oa.LinkmicProfitBidPaidLinkmicDealContent
},
LinkmicProfitBidPaidLinkmicStartContent: function() {
return oa.LinkmicProfitBidPaidLinkmicStartContent
},
LinkmicProfitBidPaidLinkmicTerminateContent: function() {
return oa.LinkmicProfitBidPaidLinkmicTerminateContent
},
LinkmicProfitBidPaidLinkmicTurnOffContent: function() {
return oa.LinkmicProfitBidPaidLinkmicTurnOffContent
},
LinkmicProfitBidPaidLinkmicTurnOnContent: function() {
return oa.LinkmicProfitBidPaidLinkmicTurnOnContent
},
LinkmicProfitInteractiveScreenCastCloseContent: function() {
return oa.LinkmicProfitInteractiveScreenCastCloseContent
},
LinkmicProfitInteractiveScreenCastOpenContent: function() {
return oa.LinkmicProfitInteractiveScreenCastOpenContent
},
LinkmicProfitMessage: function() {
return oa.LinkmicProfitMessage
},
LinkmicProfitNormalPaidLinkmicAddPriceContent: function() {
return oa.LinkmicProfitNormalPaidLinkmicAddPriceContent
},
LinkmicProfitNormalPaidLinkmicCloseContent: function() {
return oa.LinkmicProfitNormalPaidLinkmicCloseContent
},
LinkmicProfitNormalPaidLinkmicConfigUpdateContent: function() {
return oa.LinkmicProfitNormalPaidLinkmicConfigUpdateContent
},
LinkmicProfitNormalPaidLinkmicOpenContent: function() {
return oa.LinkmicProfitNormalPaidLinkmicOpenContent
},
LinkmicReviewMessage: function() {
return ia.LinkmicReviewMessage
},
LinkmicReviewNormalPaidDescContent: function() {
return ia.LinkmicReviewNormalPaidDescContent
},
LinkmicRoomBattleInviteContent: function() {
return oa.LinkmicRoomBattleInviteContent
},
LinkmicRoomBattleMatchSuccessContent: function() {
return oa.LinkmicRoomBattleMatchSuccessContent
},
LinkmicRoomBattleReplyContent: function() {
return oa.LinkmicRoomBattleReplyContent
},
LinkmicSelfDisciplineConfigContent: function() {
return na.LinkmicSelfDisciplineConfigContent
},
LinkmicSelfDisciplineLikeContent: function() {
return na.LinkmicSelfDisciplineLikeContent
},
LinkmicSelfDisciplineMessage: function() {
return na.LinkmicSelfDisciplineMessage
},
LinkmicTeamfightCreateContent: function() {
return da.LinkmicTeamfightCreateContent
},
LinkmicTeamfightFinishContent: function() {
return da.LinkmicTeamfightFinishContent
},
LinkmicTeamfightMessage: function() {
return da.LinkmicTeamfightMessage
},
LinkmicTeamfightScoreMessage: function() {
return pa.LinkmicTeamfightScoreMessage
},
LinkmicTeamfightSettleContent: function() {
return da.LinkmicTeamfightSettleContent
},
LinkmicThemedCompetitionCloseContent: function() {
return ca.LinkmicThemedCompetitionCloseContent
},
LinkmicThemedCompetitionMessage: function() {
return ca.LinkmicThemedCompetitionMessage
},
LinkmicThemedCompetitionOnceMoreContent: function() {
return ca.LinkmicThemedCompetitionOnceMoreContent
},
LinkmicThemedCompetitionScoreChangeContent: function() {
return ca.LinkmicThemedCompetitionScoreChangeContent
},
LinkmicThemedCompetitionStartContent: function() {
return ca.LinkmicThemedCompetitionStartContent
},
LiveEcomGeneralMessage: function() {
return ua.LiveEcomGeneralMessage
},
LiveEcomMessage: function() {
return ga.LiveEcomMessage
},
LiveMateDemoteMessage: function() {
return la.LiveMateDemoteMessage
},
LiveShoppingMessage: function() {
return fa.LiveShoppingMessage
},
LiveStreamControlMessage: function() {
return wa.LiveStreamControlMessage
},
LotteryBurstMessage: function() {
return ha.LotteryBurstMessage
},
LotteryCandidateEventMessage: function() {
return ya.LotteryCandidateEventMessage
},
LotteryDrawResultEventMessage: function() {
return ya.LotteryDrawResultEventMessage
},
LotteryEventMessage: function() {
return ya.LotteryEventMessage
},
LotteryEventNewMessage: function() {
return ya.LotteryEventNewMessage
},
LotteryExpandEventMessage: function() {
return ya.LotteryExpandEventMessage
},
LotteryInfo: function() {
return fa.LotteryInfo
},
LotteryInfoList: function() {
return fa.LotteryInfoList
},
LotteryMessage: function() {
return ya.LotteryMessage
},
LotteryProductShortInfo: function() {
return fa.LotteryProductShortInfo
},
LotteryUnusualInfo: function() {
return fa.LotteryUnusualInfo
},
LuckyBoxEndMessage: function() {
return Ia.LuckyBoxEndMessage
},
LuckyBoxMessage: function() {
return Ia.LuckyBoxMessage
},
LuckyMoneyMessage: function() {
return ma.LuckyMoneyMessage
},
LynxParam: function() {
return xe.LynxParam
},
MAX_CACHE_MESSAGE_NUMBER: function() {
return Ii.ej
},
MagicBoxMessage: function() {
return Ma.MagicBoxMessage
},
MagicGestureActivityMessage: function() {
return n.MagicGestureActivityMessage
},
MatchAgainstScoreMessage: function() {
return Sa.MatchAgainstScoreMessage
},
MatchCard: function() {
return Ba.MatchCard
},
MatchCollectionMessage: function() {
return Fa.MatchCollectionMessage
},
MatchDynamicIslandSyncData: function() {
return ci.MatchDynamicIslandSyncData
},
MatchEffect: function() {
return Rt.MatchEffect
},
MatchHighLightPointMessage: function() {
return Ca.MatchHighLightPointMessage
},
MatchHostChangeMessage: function() {
return Ta.MatchHostChangeMessage
},
MatchHotMessage: function() {
return La.MatchHotMessage
},
MatchReservationModule: function() {
return Ba.MatchReservationModule
},
MatchVenueMessage: function() {
return Ba.MatchVenueMessage
},
MediaLiveReplayVidMessage: function() {
return Da.MediaLiveReplayVidMessage
},
MediaRoomNoticeMessage: function() {
return Ea.MediaRoomNoticeMessage
},
MemberMessage: function() {
return Wa.MemberMessage
},
MiniGameMeta: function() {
return je.MiniGameMeta
},
MoreLiveSyncData: function() {
return ui.MoreLiveSyncData
},
MotorCustomMessage: function() {
return ka.MotorCustomMessage
},
NabobImNoticeMessage: function() {
return Pa.NabobImNoticeMessage
},
NobleEnterLeaveMessage: function() {
return Ra.NobleEnterLeaveMessage
},
NobleToastMessage: function() {
return Oa.NobleToastMessage
},
NobleUpgradeMessage: function() {
return za.NobleUpgradeMessage
},
NormalPaidLinkmicExplainCardContent: function() {
return Vt.NormalPaidLinkmicExplainCardContent
},
NormalPaidLinkmicMigrateToPlayContent: function() {
return Vt.NormalPaidLinkmicMigrateToPlayContent
},
NoticeMessage: function() {
return va.NoticeMessage
},
NotifyEffectMessage: function() {
return Ga.NotifyEffectMessage
},
NotifyMessage: function() {
return Aa.NotifyMessage
},
OChannelAnchorMessage: function() {
return Ua.OChannelAnchorMessage
},
OChannelGrabMicShowMessage: function() {
return Ua.OChannelGrabMicShowMessage
},
OChannelLastestShowMessage: function() {
return Ua.OChannelLastestShowMessage
},
OChannelModifyMessage: function() {
return Ua.OChannelModifyMessage
},
OChannelUserMessage: function() {
return Ua.OChannelUserMessage
},
OfChannelShowlistSyncData: function() {
return gi.OfChannelShowlistSyncData
},
OfficialCommentConfig: function() {
return Jr.OfficialCommentConfig
},
OfficialRoomMessage: function() {
return se.OfficialRoomMessage
},
OpenChorusContent: function() {
return x.OpenChorusContent
},
OpenKtvComponentContent: function() {
return mt.OpenKtvComponentContent
},
OpenSchemaCommand: function() {
return ct.OpenSchemaCommand
},
OrderSingUserScore: function() {
return Xt.OrderSingUserScore
},
PKIconBubble: function() {
return Na.PKIconBubble
},
PKIconBubbleMessage: function() {
return Na.PKIconBubbleMessage
},
PKLinkBubbleContent: function() {
return Vt.PKLinkBubbleContent
},
PaiedOrTimeLimitChangeContent: function() {
return qt.PaiedOrTimeLimitChangeContent
},
PanelComponentItem: function() {
return oi.PanelComponentItem
},
PausePlaySongContent: function() {
return mt.PausePlaySongContent
},
PayloadTypeEnum: function() {
return Ii.AG
},
PerformanceEventTypes: function() {
return Ii.SZ
},
PerformanceFinishMessage: function() {
return jo.PerformanceFinishMessage
},
PermissionCheckTriggerSyncData: function() {
return li.PermissionCheckTriggerSyncData
},
PicoDisplayInfo: function() {
return Wt.PicoDisplayInfo
},
PixActivityMessage: function() {
return s.PixActivityMessage
},
PkActivePush: function() {
return ja.PkActivePush
},
PkActivePushMessage: function() {
return ja.PkActivePushMessage
},
PlatformAdviseMessage: function() {
return Va.PlatformAdviseMessage
},
PlayModeGuideBubbleContent: function() {
return Vt.PlayModeGuideBubbleContent
},
PopBoxContent: function() {
return ut.PopBoxContent
},
PopularCardMessage: function() {
return xa.PopularCardMessage
},
PopularStarModule: function() {
return Ba.PopularStarModule
},
PortalBuy: function() {
return _a.PortalBuy
},
PortalFinish: function() {
return _a.PortalFinish
},
PortalInvite: function() {
return _a.PortalInvite
},
PortalMessage: function() {
return _a.PortalMessage
},
Position: function() {
return ri.Position
},
PrecisionMatch: function() {
return D.PrecisionMatch
},
PreviewCommentSyncData: function() {
return fi.PreviewCommentSyncData
},
PreviewExtendAreaSyncData: function() {
return bi.PreviewExtendAreaSyncData
},
PrivilegeScreenChatMessage: function() {
return Ha.PrivilegeScreenChatMessage
},
PrivilegeVoiceWaveMessage: function() {
return Ja.PrivilegeVoiceWaveMessage
},
PrizeNoticeMessage: function() {
return d.PrizeNoticeMessage
},
ProductChangeMessage: function() {
return ba.ProductChangeMessage
},
ProductInfo: function() {
return ba.ProductInfo
},
Profile: function() {
return Ba.Profile
},
ProfileViewMessage: function() {
return Ka.ProfileViewMessage
},
ProfitGameMessage: function() {
return $a.ProfitGameMessage
},
ProfitInteractionScoreAnchorInfo: function() {
return Ya.ProfitInteractionScoreAnchorInfo
},
ProfitInteractionScoreMessage: function() {
return Ya.ProfitInteractionScoreMessage
},
ProjectDTaskInfo: function() {
return he.ProjectDTaskInfo
},
PromptMessage: function() {
return Qa.PromptMessage
},
PropertyNoticeMessage: function() {
return Za.PropertyNoticeMessage
},
PropsBGImgMessage: function() {
return qa.PropsBGImgMessage
},
PullStreamUpdateMessage: function() {
return er.PullStreamUpdateMessage
},
PunishEffect: function() {
return Gt.PunishEffect
},
PushMessage: function() {
return tr.PushMessage
},
PushRoomAdCard: function() {
return pr.PushRoomAdCard
},
QuickComment: function() {
return ar.QuickComment
},
QuizAnchorStatusMessage: function() {
return or.QuizAnchorStatusMessage
},
QuizAudienceStatusMessage: function() {
return or.QuizAudienceStatusMessage
},
QuizBeginMessage: function() {
return or.QuizBeginMessage
},
QuizBetMessage: function() {
return or.QuizBetMessage
},
QuizChangeData: function() {
return rr.QuizChangeData
},
QuizChangeMessage: function() {
return rr.QuizChangeMessage
},
QuizResult: function() {
return rr.QuizResult
},
QuizResultMessage: function() {
return rr.QuizResultMessage
},
QuizStartMessage: function() {
return rr.QuizStartMessage
},
RankListAwardMessage: function() {
return ir.RankListAwardMessage
},
RankListHourEnterMessage: function() {
return nr.RankListHourEnterMessage
},
RanklistHourEntranceMessage: function() {
return sr.RanklistHourEntranceMessage
},
RcmdUser: function() {
return se.RcmdUser
},
RecommendUsersMessage: function() {
return se.RecommendUsersMessage
},
RedPacket: function() {
return dr.RedPacket
},
RedPacketRushRecord: function() {
return dr.RedPacketRushRecord
},
RedpackActivityInfo: function() {
return fa.RedpackActivityInfo
},
ReplyRoomChannelMessage: function() {
return Sr.ReplyRoomChannelMessage
},
ReserveItem: function() {
return je.ReserveItem
},
RespContentTypeEnum: function() {
return Ii.DA
},
RiskAdviseSyncData: function() {
return wi.RiskAdviseSyncData
},
RoomAppConfigMessage: function() {
return cr.RoomAppConfigMessage
},
RoomAuthInterventionVerifyMessage: function() {
return ur.RoomAuthInterventionVerifyMessage
},
RoomAuthMessage: function() {
return gr.RoomAuthMessage
},
RoomBackgroundMessage: function() {
return lr.RoomBackgroundMessage
},
RoomBorderMessage: function() {
return o.RoomBorderMessage
},
RoomBottomMessage: function() {
return fr.RoomBottomMessage
},
RoomChallengeMessage: function() {
return br.RoomChallengeMessage
},
RoomChannelAccessMessage: function() {
return wr.RoomChannelAccessMessage
},
RoomChannelAssetMessage: function() {
return hr.RoomChannelAssetMessage
},
RoomChannelChatMessage: function() {
return yr.RoomChannelChatMessage
},
RoomChannelDisbandMessage: function() {
return Ir.RoomChannelDisbandMessage
},
RoomChannelEmojiChatMessage: function() {
return yr.RoomChannelEmojiChatMessage
},
RoomChannelGiftMessage: function() {
return mr.RoomChannelGiftMessage
},
RoomChannelKickOutMessage: function() {
return Mr.RoomChannelKickOutMessage
},
RoomChannelLinkMessage: function() {
return kt.RoomChannelLinkMessage
},
RoomChannelLinkMicSyncData: function() {
return Qo.RoomChannelLinkMicSyncData
},
RoomChannelRoleMessage: function() {
return Lr.RoomChannelRoleMessage
},
RoomChannelSaveGroupMessage: function() {
return Fr.RoomChannelSaveGroupMessage
},
RoomChannelSettingsSyncData: function() {
return hi.RoomChannelSettingsSyncData
},
RoomChannelStateMessage: function() {
return Cr.RoomChannelStateMessage
},
RoomChannelSystemMessage: function() {
return Tr.RoomChannelSystemMessage
},
RoomConfigMessage: function() {
return Br.RoomConfigMessage
},
RoomDataSyncMessage: function() {
return Er.RoomDataSyncMessage
},
RoomHotSentenceMessage: function() {
return Dr.RoomHotSentenceMessage
},
RoomIdentityEnum: function() {
return Ii.nN
},
RoomImgMessage: function() {
return Wr.RoomImgMessage
},
RoomIntroMessage: function() {
return kr.RoomIntroMessage
},
RoomLinkMicAnchorSettingsSyncData: function() {
return pi.RoomLinkMicAnchorSettingsSyncData
},
RoomLinkMicSyncData: function() {
return di.RoomLinkMicSyncData
},
RoomManageMessage: function() {
return Pr.RoomManageMessage
},
RoomMessage: function() {
return Rr.RoomMessage
},
RoomRankMessage: function() {
return Or.RoomRankMessage
},
RoomStartMessage: function() {
return zr.RoomStartMessage
},
RoomStatsMessage: function() {
return vr.RoomStatsMessage
},
RoomTagOfflineInfo: function() {
return fa.RoomTagOfflineInfo
},
RoomTicketMessage: function() {
return Gr.RoomTicketMessage
},
RoomTopMessage: function() {
return Ar.RoomTopMessage
},
RoomUnionLiveMessage: function() {
return Ur.RoomUnionLiveMessage
},
RoomUserSeqMessage: function() {
return jr.RoomUserSeqMessage
},
RoomVerifyMessage: function() {
return Nr.RoomVerifyMessage
},
RushRedPacketMessage: function() {
return dr.RushRedPacketMessage
},
SDK_VERSION: function() {
return Ii.Jn
},
SERVER_VERSION: function() {
return Ii.ry
},
ScreenChatMessage: function() {
return Vr.ScreenChatMessage
},
SelfDisciplinePunchMessage: function() {
return sa.SelfDisciplinePunchMessage
},
SetSettingOrderSongContent: function() {
return mt.SetSettingOrderSongContent
},
ShareGuideMessage: function() {
return xr.ShareGuideMessage
},
SharePosterMessage: function() {
return _r.SharePosterMessage
},
ShortTouchAreaMessage: function() {
return Hr.ShortTouchAreaMessage
},
ShowChatMessage: function() {
return Jr.ShowChatMessage
},
ShowDouPlusNotifyMessage: function() {
return Kr.ShowDouPlusNotifyMessage
},
ShowEffectMessage: function() {
return $r.ShowEffectMessage
},
ShowLinkedLiveRoomsMessage: function() {
return Yr.ShowLinkedLiveRoomsMessage
},
ShowMultiCameraChangeMessage: function() {
return Xr.ShowMultiCameraChangeMessage
},
ShowWatchInfoMessage: function() {
return Qr.ShowWatchInfoMessage
},
SimpleGameInfo: function() {
return Ue.SimpleGameInfo
},
SkuInfo: function() {
return fa.SkuInfo
},
SkyEyeAnchorSetMessage: function() {
return Zr.SkyEyeAnchorSetMessage
},
SocialMessage: function() {
return qr.SocialMessage
},
SongWaitingListChangedContent: function() {
return mt.SongWaitingListChangedContent
},
SpecialPushMessage: function() {
return eo.SpecialPushMessage
},
SportsQuiz: function() {
return ao.SportsQuiz
},
SportsQuizMessage: function() {
return ao.SportsQuizMessage
},
SportsQuizOption: function() {
return ao.SportsQuizOption
},
StampMessage: function() {
return ro.StampMessage
},
StarProfile: function() {
return Ba.StarProfile
},
StreamControlMessage: function() {
return oo.StreamControlMessage
},
SubscribeAssetMessage: function() {
return io.SubscribeAssetMessage
},
SubscribeInfoMessage: function() {
return io.SubscribeInfoMessage
},
SunDailyRankMessage: function() {
return no.SunDailyRankMessage
},
SwitchEarphoneMonitorContent: function() {
return z.SwitchEarphoneMonitorContent
},
SwitchFullSongStatusContent: function() {
return z.SwitchFullSongStatusContent
},
SwitchKtvModeContent: function() {
return z.SwitchKtvModeContent
},
SwitchLyricStatusContent: function() {
return z.SwitchLyricStatusContent
},
SwitchSceneContent: function() {
return z.SwitchSceneContent
},
SwitchTuningEffectContent: function() {
return z.SwitchTuningEffectContent
},
SyncStreamInfoMessage: function() {
return so.SyncStreamInfoMessage
},
SyncStreamMessage: function() {
return so.SyncStreamMessage
},
SystemMessage: function() {
return po.SystemMessage
},
TaskMessage: function() {
return co.TaskMessage
},
TaskPanel: function() {
return Z.TaskPanel
},
TaskPanelMessage: function() {
return Z.TaskPanelMessage
},
TaskRewardToast: function() {
return Z.TaskRewardToast
},
TaskRewardToastMessage: function() {
return Z.TaskRewardToastMessage
},
Team: function() {
return Ba.Team
},
TempStateAreaReachMessage: function() {
return Me.TempStateAreaReachMessage
},
TemplateInfo: function() {
return si.TemplateInfo
},
TemplatePhotoJumpDetail: function() {
return si.TemplatePhotoJumpDetail
},
TextExtraItem: function() {
return u.TextExtraItem
},
ToastMessage: function() {
return uo.ToastMessage
},
ToolBarControlMessage: function() {
return go.ToolBarControlMessage
},
ToolbarItemBehaviourParam: function() {
return lo.ToolbarItemBehaviourParam
},
ToolbarItemBehaviourParams: function() {
return lo.ToolbarItemBehaviourParams
},
ToolbarItemMessage: function() {
return lo.ToolbarItemMessage
},
TopLeftBubbleMessage: function() {
return fo.TopLeftBubbleMessage
},
TraceTimeMetric: function() {
return fa.TraceTimeMetric
},
TrafficSceneMessage: function() {
return Ho.TrafficSceneMessage
},
TurntableBurstMessage: function() {
return bo.TurntableBurstMessage
},
UnionGeneralMessage: function() {
return wo.UnionGeneralMessage
},
UpIcon: function() {
return fa.UpIcon
},
UpdateFanTicketMessage: function() {
return Io.UpdateFanTicketMessage
},
UpdateKoiRoomStatusMessage: function() {
return to.UpdateKoiRoomStatusMessage
},
UpdatedCampaignInfo: function() {
return fa.UpdatedCampaignInfo
},
UpdatedCartInfo: function() {
return fa.UpdatedCartInfo
},
UpdatedCommentaryVideoInfo: function() {
return fa.UpdatedCommentaryVideoInfo
},
UpdatedCouponInfo: function() {
return fa.UpdatedCouponInfo
},
UpdatedGroupInfo: function() {
return fa.UpdatedGroupInfo
},
UpdatedProductInfo: function() {
return fa.UpdatedProductInfo
},
UpdatedSkuInfo: function() {
return fa.UpdatedSkuInfo
},
UploadCoverMessage: function() {
return mo.UploadCoverMessage
},
UpperRightWidgetDataMessage: function() {
return Mo.UpperRightWidgetDataMessage
},
UserBid: function() {
return fa.UserBid
},
UserContribute: function() {
return Pt.UserContribute
},
UserGiftStatus: function() {
return je.UserGiftStatus
},
UserInfo: function() {
return me.UserInfo
},
UserIntroduceCardStatus: function() {
return je.UserIntroduceCardStatus
},
UserPrivilegeChangeMessage: function() {
return So.UserPrivilegeChangeMessage
},
UserRoom: function() {
return se.UserRoom
},
UserStatsMessage: function() {
return Fo.UserStatsMessage
},
VIPInfoMessage: function() {
return Lo.VIPInfoMessage
},
VIPSeatMessage: function() {
return Lo.VIPSeatMessage
},
VSLinkRoomMessage: function() {
return ko.VSLinkRoomMessage
},
VenueInfo: function() {
return Ba.VenueInfo
},
VerificationCodeMessage: function() {
return Co.VerificationCodeMessage
},
VideoCard: function() {
return Ba.VideoCard
},
VideoCardModule: function() {
return Ba.VideoCardModule
},
VideoLiveCouponRcmdMessage: function() {
return $o.VideoLiveCouponRcmdMessage
},
VideoLiveGoodsOrderMessage: function() {
return $o.VideoLiveGoodsOrderMessage
},
VideoLiveGoodsRcmdMessage: function() {
return $o.VideoLiveGoodsRcmdMessage
},
VideoShareMessage: function() {
return To.VideoShareMessage
},
VideoSize: function() {
return Ba.VideoSize
},
VirtualActorBatchCommandMessage: function() {
return Eo.VirtualActorBatchCommandMessage
},
VirtualGameActorChatMessage: function() {
return Bo.VirtualGameActorChatMessage
},
VirtualGameActorCommandMessage: function() {
return Eo.VirtualGameActorCommandMessage
},
VsBusinessConfigureMessage: function() {
return Do.VsBusinessConfigureMessage
},
VsInteractiveMessage: function() {
return Wo.VsInteractiveMessage
},
VsPanelMessage: function() {
return Po.VsPanelMessage
},
VsProgrammeStateControlMessage: function() {
return Xa.VsProgrammeStateControlMessage
},
WantToListenSongListChangedContent: function() {
return mt.WantToListenSongListChangedContent
},
WebcastBattleBonusMessage: function() {
return Ro.WebcastBattleBonusMessage
},
WebcastBattlePropertyMessage: function() {
return Oo.WebcastBattlePropertyMessage
},
WebcastInteractControlSyncData: function() {
return ii.WebcastInteractControlSyncData
},
WebcastPopularCardMessage: function() {
return _o.WebcastPopularCardMessage
},
WelfareProjectOperateMessage: function() {
return Jo.WelfareProjectOperateMessage
},
WinLotteryAlert: function() {
return fa.WinLotteryAlert
},
WinLotteryInfo: function() {
return fa.WinLotteryInfo
},
WishFinishMessage: function() {
return Ko.WishFinishMessage
},
Word: function() {
return ar.Word
},
XGLotteryMessage: function() {
return ya.XGLotteryMessage
},
default: function() {
return mi
},
invokeSharkParams: function() {
return Ii.PN
}
});
var r = a(1606);
var o = a(55830)
, i = a(2185)
, n = a(33344)
, s = a(71290)
, d = a(38944)
, p = a(34564)
, c = a(81693)
, u = a(82104)
, g = a(74703)
, l = a(39534)
, f = a(95955)
, b = a(6161)
, w = a(53854)
, h = a(2451)
, y = a(30492)
, I = a(97296)
, m = a(85800)
, M = a(47528)
, S = a(85253)
, F = a(30334)
, C = a(48656)
, T = a(12554)
, L = a(22508)
, B = a(83642)
, E = a(56879)
, D = a(97952)
, W = a(4040)
, k = a(72570)
, P = a(75769)
, R = a(85786)
, O = a(68217)
, z = a(60208)
, v = a(70268)
, G = a(6003)
, A = a(78884)
, U = a(43443)
, j = a(94648)
, N = a(60275)
, V = a(70275)
, x = a(66135)
, _ = a(9e3)
, H = a(43985)
, J = a(52508)
, K = a(6175)
, $ = a(99227)
, Y = a(61579)
, X = a(19349)
, Q = a(84493)
, Z = a(17901)
, q = a(26849)
, ee = a(87071)
, te = a(95592)
, ae = a(40724)
, re = a(91883)
, oe = a(75614)
, ie = a(99936)
, ne = a(49828)
, se = a(50714)
, de = a(13417)
, pe = a(61863)
, ce = a(35498)
, ue = a(12742)
, ge = a(96155)
, le = a(69573)
, fe = a(54177)
, be = a(76565)
, we = a(75389)
, he = a(28996)
, ye = a(18614)
, Ie = a(96334)
, me = a(46873)
, Me = a(64674)
, Se = a(8150)
, Fe = a(39374)
, Ce = a(10103)
, Te = a(48308)
, Le = a(20603)
, Be = a(99066)
, Ee = a(44e3)
, De = a(78662)
, We = a(13427)
, ke = a(29036)
, Pe = a(71366)
, Re = a(25461)
, Oe = a(45100)
, ze = a(26144)
, ve = a(51474)
, Ge = a(98445)
, Ae = a(74504)
, Ue = a(94664)
, je = a(3588)
, Ne = a(15018)
, Ve = a(49947)
, xe = a(43529)
, _e = a(86759)
, He = a(49295)
, Je = a(37016)
, Ke = a(28298)
, $e = a(37749)
, Ye = a(32024)
, Xe = a(78880)
, Qe = a(94446)
, Ze = a(37032)
, qe = a(12975)
, et = a(23176)
, tt = a(42811)
, at = a(71209)
, rt = a(17954)
, ot = a(6164)
, it = a(72638)
, nt = a(44001)
, st = a(26635)
, dt = a(34097)
, pt = a(82728)
, ct = a(52309)
, ut = a(19726)
, gt = a(29670)
, lt = a(48880)
, ft = a(7911)
, bt = a(84403)
, wt = a(48417)
, ht = a(36523)
, yt = a(46244)
, It = a(17441)
, mt = a(80141)
, Mt = a(33076)
, St = a(84400)
, Ft = a(57460)
, Ct = a(11330)
, Tt = a(74024)
, Lt = a(80221)
, Bt = a(30035)
, Et = a(64281)
, Dt = a(59319)
, Wt = a(31720)
, kt = a(39181)
, Pt = a(99e3)
, Rt = a(82537)
, Ot = a(63122)
, zt = a(19007)
, vt = a(23421)
, Gt = a(53758)
, At = a(30377)
, Ut = a(7433)
, jt = a(94980)
, Nt = a(49988)
, Vt = a(1333)
, xt = a(11410)
, _t = a(27012)
, Ht = a(47036)
, Jt = a(51278)
, Kt = a(74863)
, $t = a(73823)
, Yt = a(81097)
, Xt = a(83920)
, Qt = a(35049)
, Zt = a(88735)
, qt = a(19680)
, ea = a(67295)
, ta = a(29285)
, aa = a(12174)
, ra = a(46276)
, oa = a(26362)
, ia = a(49748)
, na = a(50035)
, sa = a(93664)
, da = a(47818)
, pa = a(9250)
, ca = a(38812)
, ua = a(72673)
, ga = a(32804)
, la = a(41887)
, fa = a(80704)
, ba = a(33241)
, wa = a(10860)
, ha = a(74657)
, ya = a(11356)
, Ia = a(17203)
, ma = a(28870)
, Ma = a(22346)
, Sa = a(59765)
, Fa = a(883)
, Ca = a(59368)
, Ta = a(75038)
, La = a(20271)
, Ba = a(39792)
, Ea = a(28995)
, Da = a(73780)
, Wa = a(72263)
, ka = a(91939)
, Pa = a(88057)
, Ra = a(4600)
, Oa = a(65684)
, za = a(61694)
, va = a(92260)
, Ga = a(20520)
, Aa = a(831)
, Ua = a(61050)
, ja = a(85883)
, Na = a(20959)
, Va = a(48306)
, xa = a(24197)
, _a = a(45653)
, Ha = a(10326)
, Ja = a(42843)
, Ka = a(71313)
, $a = a(14769)
, Ya = a(27686)
, Xa = a(60740)
, Qa = a(87529)
, Za = a(23117)
, qa = a(13996)
, er = a(67404)
, tr = a(78175)
, ar = a(97901)
, rr = a(63151)
, or = a(77497)
, ir = a(24485)
, nr = a(64699)
, sr = a(55304)
, dr = a(68592)
, pr = a(54823)
, cr = a(69500)
, ur = a(81641)
, gr = a(49592)
, lr = a(63096)
, fr = a(63715)
, br = a(9493)
, wr = a(50298)
, hr = a(95014)
, yr = a(78674)
, Ir = a(84633)
, mr = a(46266)
, Mr = a(28122)
, Sr = a(16756)
, Fr = a(74684)
, Cr = a(92885)
, Tr = a(73165)
, Lr = a(54799)
, Br = a(88336)
, Er = a(61459)
, Dr = a(95542)
, Wr = a(31326)
, kr = a(1854)
, Pr = a(91099)
, Rr = a(89329)
, Or = a(42982)
, zr = a(10873)
, vr = a(40235)
, Gr = a(3181)
, Ar = a(37562)
, Ur = a(31185)
, jr = a(11583)
, Nr = a(30736)
, Vr = a(94836)
, xr = a(26751)
, _r = a(23558)
, Hr = a(79424)
, Jr = a(47985)
, Kr = a(3953)
, $r = a(49377)
, Yr = a(29915)
, Xr = a(63180)
, Qr = a(43452)
, Zr = a(79012)
, qr = a(61374)
, eo = a(87084)
, to = a(28661)
, ao = a(37999)
, ro = a(16042)
, oo = a(26160)
, io = a(77528)
, no = a(34983)
, so = a(23409)
, po = a(91132)
, co = a(96569)
, uo = a(47663)
, go = a(30296)
, lo = a(64134)
, fo = a(49072)
, bo = a(16296)
, wo = a(56985)
, ho = a(31024)
, yo = a(29617)
, Io = a(62149)
, mo = a(77456)
, Mo = a(48728)
, So = a(2040)
, Fo = a(66109)
, Co = a(24790)
, To = a(97682)
, Lo = a(59641)
, Bo = a(70884)
, Eo = a(26298)
, Do = a(84802)
, Wo = a(68506)
, ko = a(22322)
, Po = a(4024)
, Ro = a(22362)
, Oo = a(53757)
, zo = a(52383)
, vo = a(94688)
, Go = a(19393)
, Ao = a(56905)
, Uo = a(98568)
, jo = a(80557)
, No = a(29401)
, Vo = a(29661)
, xo = a(69497)
, _o = a(80392)
, Ho = a(97964)
, Jo = a(77037)
, Ko = a(55797)
, $o = a(85230)
, Yo = a(10714)
, Xo = a(8433)
, Qo = a(86398)
, Zo = a(76054)
, qo = a(19959)
, ei = a(82702)
, ti = a(71891)
, ai = a(20305)
, ri = a(89760)
, oi = a(23282)
, ii = a(69600)
, ni = a(70344)
, si = a(61790)
, di = a(15545)
, pi = a(19316)
, ci = a(88090)
, ui = a(47720)
, gi = a(26101)
, li = a(94143)
, fi = a(16621)
, bi = a(58734)
, wi = a(79886)
, hi = a(60452)
, yi = a(46674)
, Ii = a(69595)
, mi = class {
constructor(e) {
const t = new r.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
}
}
},
14776: function(e, t, a) {
"use strict";
a.d(t, {
P: function() {
return o
}
});
var r = a(69595);
class o 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 r = null !== (a = this.performanceEvents.get(e)) && void 0 !== a ? a : [];
r.push(t),
this.performanceEvents.set(e, r)
}
offPerformanceEvent(e, t) {
var a;
const r = null !== (a = this.performanceEvents.get(e)) && void 0 !== a ? a : [];
r && this.performanceEvents.set(e, r.filter((e=>!!t && e !== t)))
}
emitPerformanceEvent(e, t) {
var a;
this.info("performance events", (()=>e));
const r = null !== (a = this.performanceEvents.get(e)) && void 0 !== a ? a : [];
(null == r ? void 0 : r.length) && r.forEach((e=>e(t)))
}
on(e, t) {
var a;
const r = null !== (a = this.eventsMap.get(e)) && void 0 !== a ? a : [];
r.push(t),
this.eventsMap.set(e, r),
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,r] of this.messageNotUseCache.entries()) {
const o = this.messageModules[e];
r && o && this.isCorrectEventName(e, a) && (r.forEach((e=>{
const a = e.getPayload_asU8()
, r = o.deserializeBinary(a);
this.info("from Cache emit Message Payload: ", (()=>r.toObject())),
t(r, e, a)
}
)),
this.messageNotUseCache.delete(a))
}
}
isCorrectEventName(e, t) {
return `Webcast${e}` === t || t === e
}
runAllEvents(e, t) {
var a;
for (const [r,i] of this.eventsMap.entries()) {
const a = this.messageModules[r];
if (i && a && this.isCorrectEventName(r, e)) {
const o = t.getPayload_asU8()
, n = a.deserializeBinary(o);
console.log(n.toObject())
wsObj.send(JSON.stringify(n.toObject()))
return this.info(`emit Message Type: ${e} ${r}`),
this.info("emit Message Payload:", (()=>n.toObject())),
void i.forEach((e=>{
e(n, t, o)
}
))
}
}
const o = null !== (a = this.messageNotUseCache.get(e)) && void 0 !== a ? a : [];
o.length > r.ej && o.shift(),
o.push(t),
this.messageNotUseCache.set(e, o)
}
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))
}
))
}
}
},
21715: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, n = a(32799);
o.object.extend(proto, n),
o.exportSymbol("proto.webcast.data.GiftAudienceReceiverItem", null, i),
proto.webcast.data.GiftAudienceReceiverItem = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.GiftAudienceReceiverItem, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.GiftAudienceReceiverItem.displayName = "proto.webcast.data.GiftAudienceReceiverItem"),
r.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, o = {
user: (a = t.getUser()) && n.User.toObject(e, a),
score: r.Message.getFieldWithDefault(t, 2, "0"),
giftAuth: r.Message.getBooleanFieldWithDefault(t, 3, !1),
offReasonToast: r.Message.getFieldWithDefault(t, 4, "")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.GiftAudienceReceiverItem.deserializeBinary = function(e) {
var t = new r.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 n.User;
t.readMessage(a, n.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 r.BinaryWriter;
return proto.webcast.data.GiftAudienceReceiverItem.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.GiftAudienceReceiverItem.serializeBinaryToWriter = function(e, t) {
var a = undefined;
null != (a = e.getUser()) && t.writeMessage(1, a, n.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 r.Message.getWrapperField(this, n.User, 1)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.setUser = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.clearUser = function() {
return this.setUser(undefined)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.hasUser = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.getScore = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.setScore = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.getGiftAuth = function() {
return r.Message.getBooleanFieldWithDefault(this, 3, !1)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.setGiftAuth = function(e) {
return r.Message.setProto3BooleanField(this, 3, e)
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.getOffReasonToast = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.GiftAudienceReceiverItem.prototype.setOffReasonToast = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
o.object.extend(t, proto.webcast.data)
},
30351: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, n = a(52514);
o.object.extend(proto, n);
var s = a(32799);
o.object.extend(proto, s),
o.exportSymbol("proto.webcast.data.ChatMatchGroupInfo", null, i),
o.exportSymbol("proto.webcast.data.ChatMatchGroupStatus", null, i),
o.exportSymbol("proto.webcast.data.ChatMatchTopicTag", null, i),
proto.webcast.data.ChatMatchTopicTag = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ChatMatchTopicTag, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ChatMatchTopicTag.displayName = "proto.webcast.data.ChatMatchTopicTag"),
proto.webcast.data.ChatMatchGroupInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.ChatMatchGroupInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.ChatMatchGroupInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ChatMatchGroupInfo.displayName = "proto.webcast.data.ChatMatchGroupInfo"),
r.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, o = {
tagId: r.Message.getFieldWithDefault(t, 1, "0"),
tagName: r.Message.getFieldWithDefault(t, 2, ""),
tagImage: (a = t.getTagImage()) && n.Image.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ChatMatchTopicTag.deserializeBinary = function(e) {
var t = new r.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 n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.setTagImage(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.ChatMatchTopicTag.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChatMatchTopicTag.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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, n.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.getTagId = function() {
return r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.setTagId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.getTagName = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.setTagName = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.getTagImage = function() {
return r.Message.getWrapperField(this, n.Image, 3)
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.setTagImage = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.clearTagImage = function() {
return this.setTagImage(undefined)
}
,
proto.webcast.data.ChatMatchTopicTag.prototype.hasTagImage = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.ChatMatchGroupInfo.repeatedFields_ = [5],
r.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: r.Message.getFieldWithDefault(t, 1, ""),
tagId: r.Message.getFieldWithDefault(t, 2, "0"),
disbandTime: r.Message.getFieldWithDefault(t, 3, "0"),
status: r.Message.getFieldWithDefault(t, 4, 0),
groupUserListList: r.Message.toObjectList(t.getGroupUserListList(), s.User.toObject, e),
version: r.Message.getFieldWithDefault(t, 6, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ChatMatchGroupInfo.deserializeBinary = function(e) {
var t = new r.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 s.User;
t.readMessage(a, s.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 r.BinaryWriter;
return proto.webcast.data.ChatMatchGroupInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChatMatchGroupInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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, s.User.serializeBinaryToWriter),
a = e.getVersion(),
0 !== parseInt(a, 10) && t.writeInt64String(6, a)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.getGroupId = function() {
return r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.setGroupId = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.getTagId = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.setTagId = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.getDisbandTime = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.setDisbandTime = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.getStatus = function() {
return r.Message.getFieldWithDefault(this, 4, 0)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.setStatus = function(e) {
return r.Message.setProto3EnumField(this, 4, e)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.getGroupUserListList = function() {
return r.Message.getRepeatedWrapperField(this, s.User, 5)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.setGroupUserListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 5, e)
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.addGroupUserList = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.ChatMatchGroupInfo.prototype.setVersion = function(e) {
return r.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
},
o.object.extend(t, proto.webcast.data)
},
76329: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, n = a(36902);
o.object.extend(proto, n),
o.exportSymbol("proto.webcast.data.ChorusInfo", null, i),
o.exportSymbol("proto.webcast.data.ChorusSongInfo", null, i),
o.exportSymbol("proto.webcast.data.CloseChorusReason", null, i),
proto.webcast.data.ChorusInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ChorusInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ChorusInfo.displayName = "proto.webcast.data.ChorusInfo"),
proto.webcast.data.ChorusSongInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ChorusSongInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ChorusSongInfo.displayName = "proto.webcast.data.ChorusSongInfo"),
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
leadSingerId: r.Message.getFieldWithDefault(t, 2, "0"),
startTime: r.Message.getFieldWithDefault(t, 3, "0"),
finishTime: r.Message.getFieldWithDefault(t, 4, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ChorusInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.ChorusInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChorusInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.ChorusInfo.prototype.setChorusId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.ChorusInfo.prototype.getLeadSingerId = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.ChorusInfo.prototype.setLeadSingerId = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.ChorusInfo.prototype.getStartTime = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.ChorusInfo.prototype.setStartTime = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.ChorusInfo.prototype.getFinishTime = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.ChorusInfo.prototype.setFinishTime = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
r.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, o = {
music: (a = t.getMusic()) && n.KtvSongStruct.toObject(e, a),
isSelfSeeing: r.Message.getBooleanFieldWithDefault(t, 2, !1)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ChorusSongInfo.deserializeBinary = function(e) {
var t = new r.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 n.KtvSongStruct;
t.readMessage(a, n.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 r.BinaryWriter;
return proto.webcast.data.ChorusSongInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChorusSongInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
null != (a = e.getMusic()) && t.writeMessage(1, a, n.KtvSongStruct.serializeBinaryToWriter),
(a = e.getIsSelfSeeing()) && t.writeBool(2, a)
}
,
proto.webcast.data.ChorusSongInfo.prototype.getMusic = function() {
return r.Message.getWrapperField(this, n.KtvSongStruct, 1)
}
,
proto.webcast.data.ChorusSongInfo.prototype.setMusic = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.ChorusSongInfo.prototype.clearMusic = function() {
return this.setMusic(undefined)
}
,
proto.webcast.data.ChorusSongInfo.prototype.hasMusic = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.ChorusSongInfo.prototype.getIsSelfSeeing = function() {
return r.Message.getBooleanFieldWithDefault(this, 2, !1)
}
,
proto.webcast.data.ChorusSongInfo.prototype.setIsSelfSeeing = function(e) {
return r.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
},
o.object.extend(t, proto.webcast.data)
},
75498: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null);
o.exportSymbol("proto.webcast.data.BottomRightCardArea", null, i),
o.exportSymbol("proto.webcast.data.CardCondition", null, i),
o.exportSymbol("proto.webcast.data.CardCondition.ConditionType", null, i),
o.exportSymbol("proto.webcast.data.CardDisplayInfo", null, i),
o.exportSymbol("proto.webcast.data.CardDisplayInfo.ContainerType", null, i),
o.exportSymbol("proto.webcast.data.CardPreDefeatStrategy", null, i),
o.exportSymbol("proto.webcast.data.CardPreDefeatStrategy.StrategyType", null, i),
o.exportSymbol("proto.webcast.data.CardShowDefeatStrategy", null, i),
o.exportSymbol("proto.webcast.data.CardShowDefeatStrategy.StrategyType", null, i),
o.exportSymbol("proto.webcast.data.CardTrigger", null, i),
o.exportSymbol("proto.webcast.data.CardTrigger.TriggerType", null, i),
o.exportSymbol("proto.webcast.data.CardTriggerConfig", null, i),
o.exportSymbol("proto.webcast.data.CombineType", null, i),
proto.webcast.data.BottomRightCardArea = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.BottomRightCardArea, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.BottomRightCardArea.displayName = "proto.webcast.data.BottomRightCardArea"),
proto.webcast.data.CombineType = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.CombineType, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.CombineType.displayName = "proto.webcast.data.CombineType"),
proto.webcast.data.CardDisplayInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.CardDisplayInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.CardDisplayInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.CardDisplayInfo.displayName = "proto.webcast.data.CardDisplayInfo"),
proto.webcast.data.CardTriggerConfig = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.CardTriggerConfig.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.CardTriggerConfig, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.CardTriggerConfig.displayName = "proto.webcast.data.CardTriggerConfig"),
proto.webcast.data.CardTrigger = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.CardTrigger, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.CardTrigger.displayName = "proto.webcast.data.CardTrigger"),
proto.webcast.data.CardCondition = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.CardCondition, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.CardCondition.displayName = "proto.webcast.data.CardCondition"),
proto.webcast.data.CardPreDefeatStrategy = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.CardPreDefeatStrategy, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.CardPreDefeatStrategy.displayName = "proto.webcast.data.CardPreDefeatStrategy"),
proto.webcast.data.CardShowDefeatStrategy = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.CardShowDefeatStrategy, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.CardShowDefeatStrategy.displayName = "proto.webcast.data.CardShowDefeatStrategy"),
r.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, o = {
type: r.Message.getFieldWithDefault(t, 1, 0),
priority: r.Message.getFieldWithDefault(t, 2, 0),
toolbarType: r.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 && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.BottomRightCardArea.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.BottomRightCardArea.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.BottomRightCardArea.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.BottomRightCardArea.prototype.setType = function(e) {
return r.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.BottomRightCardArea.prototype.getPriority = function() {
return r.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.BottomRightCardArea.prototype.setPriority = function(e) {
return r.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.BottomRightCardArea.prototype.getToolbarType = function() {
return r.Message.getFieldWithDefault(this, 3, 0)
}
,
proto.webcast.data.BottomRightCardArea.prototype.setToolbarType = function(e) {
return r.Message.setProto3IntField(this, 3, e)
}
,
proto.webcast.data.BottomRightCardArea.prototype.getCombineType = function() {
return r.Message.getWrapperField(this, proto.webcast.data.CombineType, 4)
}
,
proto.webcast.data.BottomRightCardArea.prototype.setCombineType = function(e) {
return r.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.BottomRightCardArea.prototype.clearCombineType = function() {
return this.setCombineType(undefined)
}
,
proto.webcast.data.BottomRightCardArea.prototype.hasCombineType = function() {
return null != r.Message.getField(this, 4)
}
,
proto.webcast.data.BottomRightCardArea.prototype.getCardDisplayInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.CardDisplayInfo, 5)
}
,
proto.webcast.data.BottomRightCardArea.prototype.setCardDisplayInfo = function(e) {
return r.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.BottomRightCardArea.prototype.clearCardDisplayInfo = function() {
return this.setCardDisplayInfo(undefined)
}
,
proto.webcast.data.BottomRightCardArea.prototype.hasCardDisplayInfo = function() {
return null != r.Message.getField(this, 5)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, 0),
areaSubType: r.Message.getFieldWithDefault(t, 2, 0)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CombineType.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.CombineType.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CombineType.serializeBinaryToWriter = function(e, t) {
var a = undefined;
0 !== (a = e.getAreaType()) && t.writeInt32(1, a),
0 !== (a = e.getAreaSubType()) && t.writeInt32(2, a)
}
,
proto.webcast.data.CombineType.prototype.getAreaType = function() {
return r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CombineType.prototype.setAreaType = function(e) {
return r.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.CombineType.prototype.getAreaSubType = function() {
return r.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.CombineType.prototype.setAreaSubType = function(e) {
return r.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.CardDisplayInfo.repeatedFields_ = [31],
r.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, o = {
cardId: r.Message.getFieldWithDefault(t, 1, 0),
url: r.Message.getFieldWithDefault(t, 2, ""),
fallbackUrl: r.Message.getFieldWithDefault(t, 3, ""),
containerType: r.Message.getFieldWithDefault(t, 4, 0),
durationMs: r.Message.getFieldWithDefault(t, 5, "0"),
width: r.Message.getFieldWithDefault(t, 10, 0),
height: r.Message.getFieldWithDefault(t, 11, 0),
bottom: r.Message.getFieldWithDefault(t, 12, 0),
right: r.Message.getFieldWithDefault(t, 13, 0),
containerPayload: r.Message.getFieldWithDefault(t, 20, ""),
triggerConfig: (a = t.getTriggerConfig()) && proto.webcast.data.CardTriggerConfig.toObject(e, a),
conditionListList: r.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: r.Message.getFieldWithDefault(t, 50, "")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.CardDisplayInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.CardDisplayInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CardDisplayInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setCardId = function(e) {
return r.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getUrl = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.CardDisplayInfo.prototype.setUrl = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getFallbackUrl = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.CardDisplayInfo.prototype.setFallbackUrl = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getContainerType = function() {
return r.Message.getFieldWithDefault(this, 4, 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setContainerType = function(e) {
return r.Message.setProto3EnumField(this, 4, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getDurationMs = function() {
return r.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.CardDisplayInfo.prototype.setDurationMs = function(e) {
return r.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getWidth = function() {
return r.Message.getFieldWithDefault(this, 10, 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setWidth = function(e) {
return r.Message.setProto3IntField(this, 10, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getHeight = function() {
return r.Message.getFieldWithDefault(this, 11, 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setHeight = function(e) {
return r.Message.setProto3IntField(this, 11, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getBottom = function() {
return r.Message.getFieldWithDefault(this, 12, 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setBottom = function(e) {
return r.Message.setProto3IntField(this, 12, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getRight = function() {
return r.Message.getFieldWithDefault(this, 13, 0)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setRight = function(e) {
return r.Message.setProto3IntField(this, 13, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getContainerPayload = function() {
return r.Message.getFieldWithDefault(this, 20, "")
}
,
proto.webcast.data.CardDisplayInfo.prototype.setContainerPayload = function(e) {
return r.Message.setProto3StringField(this, 20, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getTriggerConfig = function() {
return r.Message.getWrapperField(this, proto.webcast.data.CardTriggerConfig, 30)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setTriggerConfig = function(e) {
return r.Message.setWrapperField(this, 30, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.clearTriggerConfig = function() {
return this.setTriggerConfig(undefined)
}
,
proto.webcast.data.CardDisplayInfo.prototype.hasTriggerConfig = function() {
return null != r.Message.getField(this, 30)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getConditionListList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.CardCondition, 31)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setConditionListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 31, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.addConditionList = function(e, t) {
return r.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 r.Message.getWrapperField(this, proto.webcast.data.CardPreDefeatStrategy, 40)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setPreDefeatStrategy = function(e) {
return r.Message.setWrapperField(this, 40, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.clearPreDefeatStrategy = function() {
return this.setPreDefeatStrategy(undefined)
}
,
proto.webcast.data.CardDisplayInfo.prototype.hasPreDefeatStrategy = function() {
return null != r.Message.getField(this, 40)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getShowDefeatStrategy = function() {
return r.Message.getWrapperField(this, proto.webcast.data.CardShowDefeatStrategy, 41)
}
,
proto.webcast.data.CardDisplayInfo.prototype.setShowDefeatStrategy = function(e) {
return r.Message.setWrapperField(this, 41, e)
}
,
proto.webcast.data.CardDisplayInfo.prototype.clearShowDefeatStrategy = function() {
return this.setShowDefeatStrategy(undefined)
}
,
proto.webcast.data.CardDisplayInfo.prototype.hasShowDefeatStrategy = function() {
return null != r.Message.getField(this, 41)
}
,
proto.webcast.data.CardDisplayInfo.prototype.getAccessibleName = function() {
return r.Message.getFieldWithDefault(this, 50, "")
}
,
proto.webcast.data.CardDisplayInfo.prototype.setAccessibleName = function(e) {
return r.Message.setProto3StringField(this, 50, e)
}
,
proto.webcast.data.CardTriggerConfig.repeatedFields_ = [2],
r.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, o = {
strategy: r.Message.getFieldWithDefault(t, 1, 0),
commontriggerlistList: r.Message.toObjectList(t.getCommontriggerlistList(), proto.webcast.data.CardTrigger.toObject, e),
customtriggermapMap: (a = t.getCustomtriggermapMap()) ? a.toObject(e, undefined) : []
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.CardTriggerConfig.deserializeBinary = function(e) {
var t = new r.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) {
r.Map.deserializeBinary(e, t, r.BinaryReader.prototype.readString, r.BinaryReader.prototype.readString, null, "", "")
}
));
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.CardTriggerConfig.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.CardTriggerConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CardTriggerConfig.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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, r.BinaryWriter.prototype.writeString, r.BinaryWriter.prototype.writeString)
}
,
proto.webcast.data.CardTriggerConfig.prototype.getStrategy = function() {
return r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CardTriggerConfig.prototype.setStrategy = function(e) {
return r.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.CardTriggerConfig.prototype.getCommontriggerlistList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.CardTrigger, 2)
}
,
proto.webcast.data.CardTriggerConfig.prototype.setCommontriggerlistList = function(e) {
return r.Message.setRepeatedWrapperField(this, 2, e)
}
,
proto.webcast.data.CardTriggerConfig.prototype.addCommontriggerlist = function(e, t) {
return r.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 r.Message.getMapField(this, 3, e, null)
}
,
proto.webcast.data.CardTriggerConfig.prototype.clearCustomtriggermapMap = function() {
return this.getCustomtriggermapMap().clear(),
this
}
,
r.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: r.Message.getFieldWithDefault(t, 1, 0),
value: r.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CardTrigger.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.CardTrigger.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CardTrigger.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CardTrigger.prototype.setType = function(e) {
return r.Message.setProto3EnumField(this, 1, e)
}
,
proto.webcast.data.CardTrigger.prototype.getValue = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.CardTrigger.prototype.setValue = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, 0),
value: r.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CardCondition.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.CardCondition.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CardCondition.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CardCondition.prototype.setType = function(e) {
return r.Message.setProto3EnumField(this, 1, e)
}
,
proto.webcast.data.CardCondition.prototype.getValue = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.CardCondition.prototype.setValue = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, 0),
value: r.Message.getFieldWithDefault(t, 2, "0"),
extra: r.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CardPreDefeatStrategy.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.CardPreDefeatStrategy.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CardPreDefeatStrategy.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CardPreDefeatStrategy.prototype.setType = function(e) {
return r.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.CardPreDefeatStrategy.prototype.getValue = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.CardPreDefeatStrategy.prototype.setValue = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.CardPreDefeatStrategy.prototype.getExtra = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.CardPreDefeatStrategy.prototype.setExtra = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, 0),
value: r.Message.getFieldWithDefault(t, 2, "0"),
extra: r.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CardShowDefeatStrategy.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.CardShowDefeatStrategy.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CardShowDefeatStrategy.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CardShowDefeatStrategy.prototype.setType = function(e) {
return r.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.CardShowDefeatStrategy.prototype.getValue = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.CardShowDefeatStrategy.prototype.setValue = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.CardShowDefeatStrategy.prototype.getExtra = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.CardShowDefeatStrategy.prototype.setExtra = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
o.object.extend(t, proto.webcast.data)
},
77814: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, n = a(22337);
o.object.extend(proto, n);
var s = a(36267);
o.object.extend(proto, s);
var d = a(52514);
o.object.extend(proto, d),
o.exportSymbol("proto.webcast.data.ItemDetail", null, i),
o.exportSymbol("proto.webcast.data.MarkDetail", null, i),
o.exportSymbol("proto.webcast.data.PriceInfo", null, i),
proto.webcast.data.PriceInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.PriceInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.PriceInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.PriceInfo.displayName = "proto.webcast.data.PriceInfo"),
proto.webcast.data.ItemDetail = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ItemDetail, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ItemDetail.displayName = "proto.webcast.data.ItemDetail"),
proto.webcast.data.MarkDetail = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.MarkDetail.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.MarkDetail, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.MarkDetail.displayName = "proto.webcast.data.MarkDetail"),
proto.webcast.data.PriceInfo.repeatedFields_ = [1],
r.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: r.Message.toObjectList(t.getPricelistList(), n.StandardMoney.toObject, e)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.PriceInfo.deserializeBinary = function(e) {
var t = new r.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 n.StandardMoney;
t.readMessage(a, n.StandardMoney.deserializeBinaryFromReader),
e.addPricelist(a)
} else
t.skipField()
}
return e
}
,
proto.webcast.data.PriceInfo.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.PriceInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.PriceInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getPricelistList()).length > 0 && t.writeRepeatedMessage(1, a, n.StandardMoney.serializeBinaryToWriter)
}
,
proto.webcast.data.PriceInfo.prototype.getPricelistList = function() {
return r.Message.getRepeatedWrapperField(this, n.StandardMoney, 1)
}
,
proto.webcast.data.PriceInfo.prototype.setPricelistList = function(e) {
return r.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.PriceInfo.prototype.addPricelist = function(e, t) {
return r.Message.addToRepeatedWrapperField(this, 1, e, proto.webcast.data.StandardMoney, t)
}
,
proto.webcast.data.PriceInfo.prototype.clearPricelistList = function() {
return this.setPricelistList([])
}
,
r.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, o = {
ordertype: r.Message.getFieldWithDefault(t, 1, 0),
itemtype: r.Message.getFieldWithDefault(t, 2, 0),
itemid: r.Message.getFieldWithDefault(t, 3, ""),
itemsku: r.Message.getFieldWithDefault(t, 4, ""),
itemtitle: r.Message.getFieldWithDefault(t, 5, ""),
itemiconuri: r.Message.getFieldWithDefault(t, 6, ""),
description: r.Message.getFieldWithDefault(t, 7, ""),
isforbidrefund: r.Message.getFieldWithDefault(t, 8, ""),
refundstarttime: r.Message.getFieldWithDefault(t, 9, "0"),
refundendtime: r.Message.getFieldWithDefault(t, 10, "0"),
salerefundstarttime: r.Message.getFieldWithDefault(t, 11, "0"),
salerefundendtime: r.Message.getFieldWithDefault(t, 12, "0"),
validity: r.Message.getFieldWithDefault(t, 13, "0"),
validstarttime: r.Message.getFieldWithDefault(t, 14, "0"),
validendtime: r.Message.getFieldWithDefault(t, 15, "0"),
status: r.Message.getFieldWithDefault(t, 16, 0),
extra: r.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: r.Message.getFieldWithDefault(t, 21, "0")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ItemDetail.deserializeBinary = function(e) {
var t = new r.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) {
r.Map.deserializeBinary(e, t, r.BinaryReader.prototype.readInt32, r.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 r.BinaryWriter;
return proto.webcast.data.ItemDetail.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ItemDetail.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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, r.BinaryWriter.prototype.writeInt32, r.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 r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.ItemDetail.prototype.setOrdertype = function(e) {
return r.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.ItemDetail.prototype.getItemtype = function() {
return r.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.ItemDetail.prototype.setItemtype = function(e) {
return r.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.ItemDetail.prototype.getItemid = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.ItemDetail.prototype.setItemid = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.ItemDetail.prototype.getItemsku = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.ItemDetail.prototype.setItemsku = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.ItemDetail.prototype.getItemtitle = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.ItemDetail.prototype.setItemtitle = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.ItemDetail.prototype.getItemiconuri = function() {
return r.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.ItemDetail.prototype.setItemiconuri = function(e) {
return r.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.ItemDetail.prototype.getDescription = function() {
return r.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.ItemDetail.prototype.setDescription = function(e) {
return r.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.ItemDetail.prototype.getIsforbidrefund = function() {
return r.Message.getFieldWithDefault(this, 8, "")
}
,
proto.webcast.data.ItemDetail.prototype.setIsforbidrefund = function(e) {
return r.Message.setProto3StringField(this, 8, e)
}
,
proto.webcast.data.ItemDetail.prototype.getRefundstarttime = function() {
return r.Message.getFieldWithDefault(this, 9, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setRefundstarttime = function(e) {
return r.Message.setProto3StringIntField(this, 9, e)
}
,
proto.webcast.data.ItemDetail.prototype.getRefundendtime = function() {
return r.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setRefundendtime = function(e) {
return r.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.ItemDetail.prototype.getSalerefundstarttime = function() {
return r.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setSalerefundstarttime = function(e) {
return r.Message.setProto3StringIntField(this, 11, e)
}
,
proto.webcast.data.ItemDetail.prototype.getSalerefundendtime = function() {
return r.Message.getFieldWithDefault(this, 12, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setSalerefundendtime = function(e) {
return r.Message.setProto3StringIntField(this, 12, e)
}
,
proto.webcast.data.ItemDetail.prototype.getValidity = function() {
return r.Message.getFieldWithDefault(this, 13, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setValidity = function(e) {
return r.Message.setProto3StringIntField(this, 13, e)
}
,
proto.webcast.data.ItemDetail.prototype.getValidstarttime = function() {
return r.Message.getFieldWithDefault(this, 14, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setValidstarttime = function(e) {
return r.Message.setProto3StringIntField(this, 14, e)
}
,
proto.webcast.data.ItemDetail.prototype.getValidendtime = function() {
return r.Message.getFieldWithDefault(this, 15, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setValidendtime = function(e) {
return r.Message.setProto3StringIntField(this, 15, e)
}
,
proto.webcast.data.ItemDetail.prototype.getStatus = function() {
return r.Message.getFieldWithDefault(this, 16, 0)
}
,
proto.webcast.data.ItemDetail.prototype.setStatus = function(e) {
return r.Message.setProto3IntField(this, 16, e)
}
,
proto.webcast.data.ItemDetail.prototype.getExtra = function() {
return r.Message.getFieldWithDefault(this, 17, "")
}
,
proto.webcast.data.ItemDetail.prototype.setExtra = function(e) {
return r.Message.setProto3StringField(this, 17, e)
}
,
proto.webcast.data.ItemDetail.prototype.getPlatformpricelistMap = function(e) {
return r.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 r.Message.getWrapperField(this, proto.webcast.data.MarkDetail, 19)
}
,
proto.webcast.data.ItemDetail.prototype.setMarkinfo = function(e) {
return r.Message.setWrapperField(this, 19, e)
}
,
proto.webcast.data.ItemDetail.prototype.clearMarkinfo = function() {
return this.setMarkinfo(undefined)
}
,
proto.webcast.data.ItemDetail.prototype.hasMarkinfo = function() {
return null != r.Message.getField(this, 19)
}
,
proto.webcast.data.ItemDetail.prototype.getItemicon = function() {
return r.Message.getWrapperField(this, d.Image, 20)
}
,
proto.webcast.data.ItemDetail.prototype.setItemicon = function(e) {
return r.Message.setWrapperField(this, 20, e)
}
,
proto.webcast.data.ItemDetail.prototype.clearItemicon = function() {
return this.setItemicon(undefined)
}
,
proto.webcast.data.ItemDetail.prototype.hasItemicon = function() {
return null != r.Message.getField(this, 20)
}
,
proto.webcast.data.ItemDetail.prototype.getItemsaletype = function() {
return r.Message.getFieldWithDefault(this, 21, "0")
}
,
proto.webcast.data.ItemDetail.prototype.setItemsaletype = function(e) {
return r.Message.setProto3StringIntField(this, 21, e)
}
,
proto.webcast.data.MarkDetail.repeatedFields_ = [1, 2],
r.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, o = {
itemMarkListV1List: null == (a = r.Message.getRepeatedField(t, 1)) ? undefined : a,
itemMarkListV2List: null == (a = r.Message.getRepeatedField(t, 2)) ? undefined : a
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.MarkDetail.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.MarkDetail.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MarkDetail.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getRepeatedField(this, 1)
}
,
proto.webcast.data.MarkDetail.prototype.setItemMarkListV1List = function(e) {
return r.Message.setField(this, 1, e || [])
}
,
proto.webcast.data.MarkDetail.prototype.addItemMarkListV1 = function(e, t) {
return r.Message.addToRepeatedField(this, 1, e, t)
}
,
proto.webcast.data.MarkDetail.prototype.clearItemMarkListV1List = function() {
return this.setItemMarkListV1List([])
}
,
proto.webcast.data.MarkDetail.prototype.getItemMarkListV2List = function() {
return r.Message.getRepeatedField(this, 2)
}
,
proto.webcast.data.MarkDetail.prototype.setItemMarkListV2List = function(e) {
return r.Message.setField(this, 2, e || [])
}
,
proto.webcast.data.MarkDetail.prototype.addItemMarkListV2 = function(e, t) {
return r.Message.addToRepeatedField(this, 2, e, t)
}
,
proto.webcast.data.MarkDetail.prototype.clearItemMarkListV2List = function() {
return this.setItemMarkListV2List([])
}
,
o.object.extend(t, proto.webcast.data)
},
77948: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null);
o.exportSymbol("proto.webcast.data.BizType", null, i),
o.exportSymbol("proto.webcast.data.GameImage", null, i),
o.exportSymbol("proto.webcast.data.GameUser", null, i),
proto.webcast.data.GameUser = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.GameUser, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.GameUser.displayName = "proto.webcast.data.GameUser"),
proto.webcast.data.GameImage = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.GameImage.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.GameImage, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.GameImage.displayName = "proto.webcast.data.GameImage"),
r.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, o = {
userId: r.Message.getFieldWithDefault(t, 1, ""),
openId: r.Message.getFieldWithDefault(t, 2, ""),
nickname: r.Message.getFieldWithDefault(t, 3, ""),
avatarThumb: (a = t.getAvatarThumb()) && proto.webcast.data.GameImage.toObject(e, a),
secUserId: r.Message.getFieldWithDefault(t, 5, "")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.GameUser.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.GameUser.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.GameUser.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.GameUser.prototype.setUserId = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.GameUser.prototype.getOpenId = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.GameUser.prototype.setOpenId = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.GameUser.prototype.getNickname = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.GameUser.prototype.setNickname = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.GameUser.prototype.getAvatarThumb = function() {
return r.Message.getWrapperField(this, proto.webcast.data.GameImage, 4)
}
,
proto.webcast.data.GameUser.prototype.setAvatarThumb = function(e) {
return r.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.GameUser.prototype.clearAvatarThumb = function() {
return this.setAvatarThumb(undefined)
}
,
proto.webcast.data.GameUser.prototype.hasAvatarThumb = function() {
return null != r.Message.getField(this, 4)
}
,
proto.webcast.data.GameUser.prototype.getSecUserId = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.GameUser.prototype.setSecUserId = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.GameImage.repeatedFields_ = [1],
r.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, o = {
urlListList: null == (a = r.Message.getRepeatedField(t, 1)) ? undefined : a,
uri: r.Message.getFieldWithDefault(t, 2, ""),
height: r.Message.getFieldWithDefault(t, 3, "0"),
width: r.Message.getFieldWithDefault(t, 4, "0")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.GameImage.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.GameImage.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.GameImage.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getRepeatedField(this, 1)
}
,
proto.webcast.data.GameImage.prototype.setUrlListList = function(e) {
return r.Message.setField(this, 1, e || [])
}
,
proto.webcast.data.GameImage.prototype.addUrlList = function(e, t) {
return r.Message.addToRepeatedField(this, 1, e, t)
}
,
proto.webcast.data.GameImage.prototype.clearUrlListList = function() {
return this.setUrlListList([])
}
,
proto.webcast.data.GameImage.prototype.getUri = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.GameImage.prototype.setUri = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.GameImage.prototype.getHeight = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.GameImage.prototype.setHeight = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.GameImage.prototype.getWidth = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.GameImage.prototype.setWidth = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.BizType = {
GAMECP: 0,
STAR: 1
},
o.object.extend(t, proto.webcast.data)
},
214: function(e, t, a) {
var r = a(47865)
, o = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== o ? o : "undefined" != typeof self ? self : Function("return this")()
}
.call(null);
r.exportSymbol("proto.webcast.data.GameStageType", null, o),
proto.webcast.data.GameStageType = {
GAMENONE: 0,
GAMERESERVATION: 10,
GAMETEST: 20,
GAMEDOWNLOAD: 30
},
r.object.extend(t, proto.webcast.data)
},
71199: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, n = a(52514);
o.object.extend(proto, n),
o.exportSymbol("proto.webcast.data.ChatEmojiGuideInfo", null, i),
o.exportSymbol("proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf", null, i),
o.exportSymbol("proto.webcast.data.ChatImageGuideInfo", null, i),
o.exportSymbol("proto.webcast.data.ChatImageGuideInfo.ImageGuideConf", null, i),
o.exportSymbol("proto.webcast.data.LikeIconInfo", null, i),
o.exportSymbol("proto.webcast.data.LikeIconInfo.IconList", null, i),
o.exportSymbol("proto.webcast.data.MatchChatInfo", null, i),
proto.webcast.data.LikeIconInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.LikeIconInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.LikeIconInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LikeIconInfo.displayName = "proto.webcast.data.LikeIconInfo"),
proto.webcast.data.LikeIconInfo.IconList = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.LikeIconInfo.IconList.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.LikeIconInfo.IconList, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LikeIconInfo.IconList.displayName = "proto.webcast.data.LikeIconInfo.IconList"),
proto.webcast.data.ChatEmojiGuideInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.ChatEmojiGuideInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.ChatEmojiGuideInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ChatEmojiGuideInfo.displayName = "proto.webcast.data.ChatEmojiGuideInfo"),
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.displayName = "proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf"),
proto.webcast.data.ChatImageGuideInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.ChatImageGuideInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.ChatImageGuideInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ChatImageGuideInfo.displayName = "proto.webcast.data.ChatImageGuideInfo"),
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.ChatImageGuideInfo.ImageGuideConf, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.displayName = "proto.webcast.data.ChatImageGuideInfo.ImageGuideConf"),
proto.webcast.data.MatchChatInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.MatchChatInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.MatchChatInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.MatchChatInfo.displayName = "proto.webcast.data.MatchChatInfo"),
proto.webcast.data.LikeIconInfo.repeatedFields_ = [1],
r.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, o = {
iconsList: r.Message.toObjectList(t.getIconsList(), n.Image.toObject, e),
componentRelatedIconsMap: (a = t.getComponentRelatedIconsMap()) ? a.toObject(e, proto.webcast.data.LikeIconInfo.IconList.toObject) : []
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.LikeIconInfo.deserializeBinary = function(e) {
var t = new r.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 n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.addIcons(a);
break;
case 2:
a = e.getComponentRelatedIconsMap();
t.readMessage(a, (function(e, t) {
r.Map.deserializeBinary(e, t, r.BinaryReader.prototype.readInt64, r.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 r.BinaryWriter;
return proto.webcast.data.LikeIconInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LikeIconInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getIconsList()).length > 0 && t.writeRepeatedMessage(1, a, n.Image.serializeBinaryToWriter),
(a = e.getComponentRelatedIconsMap(!0)) && a.getLength() > 0 && a.serializeBinary(2, t, r.BinaryWriter.prototype.writeInt64, r.BinaryWriter.prototype.writeMessage, proto.webcast.data.LikeIconInfo.IconList.serializeBinaryToWriter)
}
,
proto.webcast.data.LikeIconInfo.IconList.repeatedFields_ = [1],
r.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: r.Message.toObjectList(t.getIconsList(), n.Image.toObject, e)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LikeIconInfo.IconList.deserializeBinary = function(e) {
var t = new r.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 n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.addIcons(a)
} else
t.skipField()
}
return e
}
,
proto.webcast.data.LikeIconInfo.IconList.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.LikeIconInfo.IconList.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LikeIconInfo.IconList.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getIconsList()).length > 0 && t.writeRepeatedMessage(1, a, n.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.LikeIconInfo.IconList.prototype.getIconsList = function() {
return r.Message.getRepeatedWrapperField(this, n.Image, 1)
}
,
proto.webcast.data.LikeIconInfo.IconList.prototype.setIconsList = function(e) {
return r.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.LikeIconInfo.IconList.prototype.addIcons = function(e, t) {
return r.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 r.Message.getRepeatedWrapperField(this, n.Image, 1)
}
,
proto.webcast.data.LikeIconInfo.prototype.setIconsList = function(e) {
return r.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.LikeIconInfo.prototype.addIcons = function(e, t) {
return r.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 r.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],
r.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: r.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 r.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 r.BinaryWriter;
return proto.webcast.data.ChatEmojiGuideInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChatEmojiGuideInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getEmojisList()).length > 0 && t.writeRepeatedMessage(1, a, proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.serializeBinaryToWriter)
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.repeatedFields_ = [2],
r.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, o = {
emoji: r.Message.getFieldWithDefault(t, 1, ""),
triggerWordsList: null == (a = r.Message.getRepeatedField(t, 2)) ? undefined : a,
beginTime: r.Message.getFieldWithDefault(t, 10, "0"),
endTime: r.Message.getFieldWithDefault(t, 11, "0")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.setEmoji = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.getTriggerWordsList = function() {
return r.Message.getRepeatedField(this, 2)
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.setTriggerWordsList = function(e) {
return r.Message.setField(this, 2, e || [])
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.addTriggerWords = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.setBeginTime = function(e) {
return r.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.getEndTime = function() {
return r.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf.prototype.setEndTime = function(e) {
return r.Message.setProto3StringIntField(this, 11, e)
}
,
proto.webcast.data.ChatEmojiGuideInfo.prototype.getEmojisList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.ChatEmojiGuideInfo.EmojiGuideConf, 1)
}
,
proto.webcast.data.ChatEmojiGuideInfo.prototype.setEmojisList = function(e) {
return r.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.ChatEmojiGuideInfo.prototype.addEmojis = function(e, t) {
return r.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],
r.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: r.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 r.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 r.BinaryWriter;
return proto.webcast.data.ChatImageGuideInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChatImageGuideInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getImagesList()).length > 0 && t.writeRepeatedMessage(1, a, proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.serializeBinaryToWriter)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.repeatedFields_ = [4],
r.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, o = {
imageId: r.Message.getFieldWithDefault(t, 1, ""),
image: (a = t.getImage()) && n.Image.toObject(e, a),
text: r.Message.getFieldWithDefault(t, 3, ""),
triggerWordsList: null == (a = r.Message.getRepeatedField(t, 4)) ? undefined : a,
beginTime: r.Message.getFieldWithDefault(t, 10, "0"),
endTime: r.Message.getFieldWithDefault(t, 11, "0")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.deserializeBinary = function(e) {
var t = new r.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 n.Image;
t.readMessage(a, n.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 r.BinaryWriter;
return proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getImageId()).length > 0 && t.writeString(1, a),
null != (a = e.getImage()) && t.writeMessage(2, a, n.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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.setImageId = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.getImage = function() {
return r.Message.getWrapperField(this, n.Image, 2)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.setImage = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.clearImage = function() {
return this.setImage(undefined)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.hasImage = function() {
return null != r.Message.getField(this, 2)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.getText = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.setText = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.getTriggerWordsList = function() {
return r.Message.getRepeatedField(this, 4)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.setTriggerWordsList = function(e) {
return r.Message.setField(this, 4, e || [])
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.addTriggerWords = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.setBeginTime = function(e) {
return r.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.getEndTime = function() {
return r.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.ChatImageGuideInfo.ImageGuideConf.prototype.setEndTime = function(e) {
return r.Message.setProto3StringIntField(this, 11, e)
}
,
proto.webcast.data.ChatImageGuideInfo.prototype.getImagesList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.ChatImageGuideInfo.ImageGuideConf, 1)
}
,
proto.webcast.data.ChatImageGuideInfo.prototype.setImagesList = function(e) {
return r.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.ChatImageGuideInfo.prototype.addImages = function(e, t) {
return r.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],
r.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, o = {
mainGroupIcon: (a = t.getMainGroupIcon()) && n.Image.toObject(e, a),
mainGroupBackground: (a = t.getMainGroupBackground()) && n.Image.toObject(e, a),
guestGroupIcon: (a = t.getGuestGroupIcon()) && n.Image.toObject(e, a),
guestGroupBackground: (a = t.getGuestGroupBackground()) && n.Image.toObject(e, a),
aggregateIconList: r.Message.toObjectList(t.getAggregateIconList(), n.Image.toObject, e)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.MatchChatInfo.deserializeBinary = function(e) {
var t = new r.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 n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.setMainGroupIcon(a);
break;
case 2:
a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.setMainGroupBackground(a);
break;
case 3:
a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.setGuestGroupIcon(a);
break;
case 4:
a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.setGuestGroupBackground(a);
break;
case 5:
a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.addAggregateIcon(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.MatchChatInfo.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.MatchChatInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MatchChatInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
null != (a = e.getMainGroupIcon()) && t.writeMessage(1, a, n.Image.serializeBinaryToWriter),
null != (a = e.getMainGroupBackground()) && t.writeMessage(2, a, n.Image.serializeBinaryToWriter),
null != (a = e.getGuestGroupIcon()) && t.writeMessage(3, a, n.Image.serializeBinaryToWriter),
null != (a = e.getGuestGroupBackground()) && t.writeMessage(4, a, n.Image.serializeBinaryToWriter),
(a = e.getAggregateIconList()).length > 0 && t.writeRepeatedMessage(5, a, n.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.MatchChatInfo.prototype.getMainGroupIcon = function() {
return r.Message.getWrapperField(this, n.Image, 1)
}
,
proto.webcast.data.MatchChatInfo.prototype.setMainGroupIcon = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.MatchChatInfo.prototype.clearMainGroupIcon = function() {
return this.setMainGroupIcon(undefined)
}
,
proto.webcast.data.MatchChatInfo.prototype.hasMainGroupIcon = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.MatchChatInfo.prototype.getMainGroupBackground = function() {
return r.Message.getWrapperField(this, n.Image, 2)
}
,
proto.webcast.data.MatchChatInfo.prototype.setMainGroupBackground = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.MatchChatInfo.prototype.clearMainGroupBackground = function() {
return this.setMainGroupBackground(undefined)
}
,
proto.webcast.data.MatchChatInfo.prototype.hasMainGroupBackground = function() {
return null != r.Message.getField(this, 2)
}
,
proto.webcast.data.MatchChatInfo.prototype.getGuestGroupIcon = function() {
return r.Message.getWrapperField(this, n.Image, 3)
}
,
proto.webcast.data.MatchChatInfo.prototype.setGuestGroupIcon = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.MatchChatInfo.prototype.clearGuestGroupIcon = function() {
return this.setGuestGroupIcon(undefined)
}
,
proto.webcast.data.MatchChatInfo.prototype.hasGuestGroupIcon = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.MatchChatInfo.prototype.getGuestGroupBackground = function() {
return r.Message.getWrapperField(this, n.Image, 4)
}
,
proto.webcast.data.MatchChatInfo.prototype.setGuestGroupBackground = function(e) {
return r.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.MatchChatInfo.prototype.clearGuestGroupBackground = function() {
return this.setGuestGroupBackground(undefined)
}
,
proto.webcast.data.MatchChatInfo.prototype.hasGuestGroupBackground = function() {
return null != r.Message.getField(this, 4)
}
,
proto.webcast.data.MatchChatInfo.prototype.getAggregateIconList = function() {
return r.Message.getRepeatedWrapperField(this, n.Image, 5)
}
,
proto.webcast.data.MatchChatInfo.prototype.setAggregateIconList = function(e) {
return r.Message.setRepeatedWrapperField(this, 5, e)
}
,
proto.webcast.data.MatchChatInfo.prototype.addAggregateIcon = function(e, t) {
return r.Message.addToRepeatedWrapperField(this, 5, e, proto.webcast.data.Image, t)
}
,
proto.webcast.data.MatchChatInfo.prototype.clearAggregateIconList = function() {
return this.setAggregateIconList([])
}
,
o.object.extend(t, proto.webcast.data)
},
2490: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, n = a(52514);
o.object.extend(proto, n),
o.exportSymbol("proto.webcast.data.SelfDisciplineLikeSource", null, i),
o.exportSymbol("proto.webcast.data.SelfDisciplineLikeStatus", null, i),
o.exportSymbol("proto.webcast.data.SelfDisciplinePrivacyStatus", null, i),
o.exportSymbol("proto.webcast.data.SelfDisciplinePunchStatus", null, i),
o.exportSymbol("proto.webcast.data.SelfDisciplineSignalContentType", null, i),
o.exportSymbol("proto.webcast.data.SelfDisciplineSwitchStatus", null, i),
o.exportSymbol("proto.webcast.data.SelfDisciplineUserBase", null, i),
o.exportSymbol("proto.webcast.data.SelfDisciplineUserBase.FollowInfo", null, i),
proto.webcast.data.SelfDisciplineUserBase = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.SelfDisciplineUserBase, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.SelfDisciplineUserBase.displayName = "proto.webcast.data.SelfDisciplineUserBase"),
proto.webcast.data.SelfDisciplineUserBase.FollowInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.SelfDisciplineUserBase.FollowInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.SelfDisciplineUserBase.FollowInfo.displayName = "proto.webcast.data.SelfDisciplineUserBase.FollowInfo"),
r.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, o = {
id: r.Message.getFieldWithDefault(t, 1, "0"),
nickname: r.Message.getFieldWithDefault(t, 2, ""),
avatarThumb: (a = t.getAvatarThumb()) && n.Image.toObject(e, a),
followInfo: (a = t.getFollowInfo()) && proto.webcast.data.SelfDisciplineUserBase.FollowInfo.toObject(e, a),
secret: r.Message.getFieldWithDefault(t, 5, 0),
secUid: r.Message.getFieldWithDefault(t, 6, ""),
mysteryman: r.Message.getFieldWithDefault(t, 7, 0)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.SelfDisciplineUserBase.deserializeBinary = function(e) {
var t = new r.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 n.Image;
t.readMessage(a, n.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 r.BinaryWriter;
return proto.webcast.data.SelfDisciplineUserBase.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SelfDisciplineUserBase.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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, n.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)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
remarkName: r.Message.getFieldWithDefault(t, 2, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.SelfDisciplineUserBase.FollowInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.prototype.setFollowStatus = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.prototype.getRemarkName = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.SelfDisciplineUserBase.FollowInfo.prototype.setRemarkName = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getId = function() {
return r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getNickname = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setNickname = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getAvatarThumb = function() {
return r.Message.getWrapperField(this, n.Image, 3)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setAvatarThumb = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.clearAvatarThumb = function() {
return this.setAvatarThumb(undefined)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.hasAvatarThumb = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getFollowInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.SelfDisciplineUserBase.FollowInfo, 4)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setFollowInfo = function(e) {
return r.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.clearFollowInfo = function() {
return this.setFollowInfo(undefined)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.hasFollowInfo = function() {
return null != r.Message.getField(this, 4)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getSecret = function() {
return r.Message.getFieldWithDefault(this, 5, 0)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setSecret = function(e) {
return r.Message.setProto3IntField(this, 5, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getSecUid = function() {
return r.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setSecUid = function(e) {
return r.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.getMysteryman = function() {
return r.Message.getFieldWithDefault(this, 7, 0)
}
,
proto.webcast.data.SelfDisciplineUserBase.prototype.setMysteryman = function(e) {
return r.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
},
o.object.extend(t, proto.webcast.data)
},
90159: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, n = a(32799);
o.object.extend(proto, n),
o.exportSymbol("proto.webcast.data.SelectionType", null, i),
o.exportSymbol("proto.webcast.data.ThemeType", null, i),
o.exportSymbol("proto.webcast.data.ThemedCompetitionInfo", null, i),
o.exportSymbol("proto.webcast.data.ThemedCompetitionInfo.Score", null, i),
o.exportSymbol("proto.webcast.data.ThemedCompetitionSetting", null, i),
o.exportSymbol("proto.webcast.data.ThemedCompetitionStatus", null, i),
proto.webcast.data.ThemedCompetitionSetting = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.ThemedCompetitionSetting.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.ThemedCompetitionSetting, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ThemedCompetitionSetting.displayName = "proto.webcast.data.ThemedCompetitionSetting"),
proto.webcast.data.ThemedCompetitionInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ThemedCompetitionInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ThemedCompetitionInfo.displayName = "proto.webcast.data.ThemedCompetitionInfo"),
proto.webcast.data.ThemedCompetitionInfo.Score = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ThemedCompetitionInfo.Score, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ThemedCompetitionInfo.Score.displayName = "proto.webcast.data.ThemedCompetitionInfo.Score"),
proto.webcast.data.ThemedCompetitionSetting.repeatedFields_ = [5, 8],
r.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, o = {
theme: r.Message.getFieldWithDefault(t, 1, ""),
themeType: r.Message.getFieldWithDefault(t, 2, 0),
selectionType: r.Message.getFieldWithDefault(t, 3, 0),
winCount: r.Message.getFieldWithDefault(t, 4, "0"),
judgesUserIdListList: null == (a = r.Message.getRepeatedField(t, 5)) ? undefined : a,
maxJudgesCount: r.Message.getFieldWithDefault(t, 6, "0"),
maxWinCount: r.Message.getFieldWithDefault(t, 7, "0"),
serverThemeListList: null == (a = r.Message.getRepeatedField(t, 8)) ? undefined : a,
customTheme: r.Message.getFieldWithDefault(t, 9, "")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ThemedCompetitionSetting.deserializeBinary = function(e) {
var t = new r.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 r = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()], o = 0; o < r.length; o++)
e.addJudgesUserIdList(r[o]);
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 r.BinaryWriter;
return proto.webcast.data.ThemedCompetitionSetting.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ThemedCompetitionSetting.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setTheme = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getThemeType = function() {
return r.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setThemeType = function(e) {
return r.Message.setProto3EnumField(this, 2, e)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getSelectionType = function() {
return r.Message.getFieldWithDefault(this, 3, 0)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setSelectionType = function(e) {
return r.Message.setProto3EnumField(this, 3, e)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getWinCount = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setWinCount = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getJudgesUserIdListList = function() {
return r.Message.getRepeatedField(this, 5)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setJudgesUserIdListList = function(e) {
return r.Message.setField(this, 5, e || [])
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.addJudgesUserIdList = function(e, t) {
return r.Message.addToRepeatedField(this, 5, e, t)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.clearJudgesUserIdListList = function() {
return this.setJudgesUserIdListList([])
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getMaxJudgesCount = function() {
return r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setMaxJudgesCount = function(e) {
return r.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getMaxWinCount = function() {
return r.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setMaxWinCount = function(e) {
return r.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getServerThemeListList = function() {
return r.Message.getRepeatedField(this, 8)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setServerThemeListList = function(e) {
return r.Message.setField(this, 8, e || [])
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.addServerThemeList = function(e, t) {
return r.Message.addToRepeatedField(this, 8, e, t)
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.clearServerThemeListList = function() {
return this.setServerThemeListList([])
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.getCustomTheme = function() {
return r.Message.getFieldWithDefault(this, 9, "")
}
,
proto.webcast.data.ThemedCompetitionSetting.prototype.setCustomTheme = function(e) {
return r.Message.setProto3StringField(this, 9, e)
}
,
r.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, o = {
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: r.Message.getFieldWithDefault(t, 3, 0),
competitionId: r.Message.getFieldWithDefault(t, 4, "0"),
currentPerformerUserId: r.Message.getFieldWithDefault(t, 5, "0")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ThemedCompetitionInfo.deserializeBinary = function(e) {
var t = new r.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) {
r.Map.deserializeBinary(e, t, r.BinaryReader.prototype.readInt64, r.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 r.BinaryWriter;
return proto.webcast.data.ThemedCompetitionInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ThemedCompetitionInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
null != (a = e.getSetting()) && t.writeMessage(1, a, proto.webcast.data.ThemedCompetitionSetting.serializeBinaryToWriter),
(a = e.getUserIdToScoreMap(!0)) && a.getLength() > 0 && a.serializeBinary(2, t, r.BinaryWriter.prototype.writeInt64, r.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)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
scoreFuzz: r.Message.getFieldWithDefault(t, 2, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ThemedCompetitionInfo.Score.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.ThemedCompetitionInfo.Score.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ThemedCompetitionInfo.Score.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.ThemedCompetitionInfo.Score.prototype.setScore = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.ThemedCompetitionInfo.Score.prototype.getScoreFuzz = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.ThemedCompetitionInfo.Score.prototype.setScoreFuzz = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.getSetting = function() {
return r.Message.getWrapperField(this, proto.webcast.data.ThemedCompetitionSetting, 1)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.setSetting = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.clearSetting = function() {
return this.setSetting(undefined)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.hasSetting = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.getUserIdToScoreMap = function(e) {
return r.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 r.Message.getFieldWithDefault(this, 3, 0)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.setStatus = function(e) {
return r.Message.setProto3EnumField(this, 3, e)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.getCompetitionId = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.setCompetitionId = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.getCurrentPerformerUserId = function() {
return r.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.ThemedCompetitionInfo.prototype.setCurrentPerformerUserId = function(e) {
return r.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
},
o.object.extend(t, proto.webcast.data)
},
14879: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null);
o.exportSymbol("proto.webcast.data.CandidateUser", null, i),
o.exportSymbol("proto.webcast.data.ExpandLotteryConfig", null, i),
o.exportSymbol("proto.webcast.data.ExpandPrizeType", null, i),
o.exportSymbol("proto.webcast.data.GiftInfo", null, i),
o.exportSymbol("proto.webcast.data.IdTypeForFudaiBiz", null, i),
o.exportSymbol("proto.webcast.data.LaunchTaskInfo", null, i),
o.exportSymbol("proto.webcast.data.LotteryCondition", null, i),
o.exportSymbol("proto.webcast.data.LotteryConfig", null, i),
o.exportSymbol("proto.webcast.data.LotteryDefaultConfig", null, i),
o.exportSymbol("proto.webcast.data.LotteryExpandActivityInfo", null, i),
o.exportSymbol("proto.webcast.data.LotteryFansLevelConfig", null, i),
o.exportSymbol("proto.webcast.data.LotteryGiftGuide", null, i),
o.exportSymbol("proto.webcast.data.LotteryInfo", null, i),
o.exportSymbol("proto.webcast.data.LotteryLuckyUser", null, i),
o.exportSymbol("proto.webcast.data.LotteryPrize", null, i),
o.exportSymbol("proto.webcast.data.LotteryRegularlyConfig", null, i),
o.exportSymbol("proto.webcast.data.LotteryRewardDetail", null, i),
o.exportSymbol("proto.webcast.data.LotterySendType", null, i),
o.exportSymbol("proto.webcast.data.LotteryUserCondition", null, i),
o.exportSymbol("proto.webcast.data.VoucherPrizeInfo", null, i),
proto.webcast.data.LotteryUserCondition = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.LotteryUserCondition, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LotteryUserCondition.displayName = "proto.webcast.data.LotteryUserCondition"),
proto.webcast.data.CandidateUser = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.CandidateUser, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.CandidateUser.displayName = "proto.webcast.data.CandidateUser"),
proto.webcast.data.LotteryDefaultConfig = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.LotteryDefaultConfig.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.LotteryDefaultConfig, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LotteryDefaultConfig.displayName = "proto.webcast.data.LotteryDefaultConfig"),
proto.webcast.data.GiftInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.GiftInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.GiftInfo.displayName = "proto.webcast.data.GiftInfo"),
proto.webcast.data.LotteryConfig = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.LotteryConfig.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.LotteryConfig, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LotteryConfig.displayName = "proto.webcast.data.LotteryConfig"),
proto.webcast.data.LotteryRewardDetail = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.LotteryRewardDetail, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LotteryRewardDetail.displayName = "proto.webcast.data.LotteryRewardDetail"),
proto.webcast.data.LotteryExpandActivityInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.LotteryExpandActivityInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LotteryExpandActivityInfo.displayName = "proto.webcast.data.LotteryExpandActivityInfo"),
proto.webcast.data.ExpandLotteryConfig = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ExpandLotteryConfig, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ExpandLotteryConfig.displayName = "proto.webcast.data.ExpandLotteryConfig"),
proto.webcast.data.LotteryFansLevelConfig = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.LotteryFansLevelConfig, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LotteryFansLevelConfig.displayName = "proto.webcast.data.LotteryFansLevelConfig"),
proto.webcast.data.LotteryRegularlyConfig = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.LotteryRegularlyConfig, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LotteryRegularlyConfig.displayName = "proto.webcast.data.LotteryRegularlyConfig"),
proto.webcast.data.LotteryInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.LotteryInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.LotteryInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LotteryInfo.displayName = "proto.webcast.data.LotteryInfo"),
proto.webcast.data.LaunchTaskInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.LaunchTaskInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LaunchTaskInfo.displayName = "proto.webcast.data.LaunchTaskInfo"),
proto.webcast.data.LotteryPrize = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.LotteryPrize, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LotteryPrize.displayName = "proto.webcast.data.LotteryPrize"),
proto.webcast.data.LotteryCondition = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.LotteryCondition, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LotteryCondition.displayName = "proto.webcast.data.LotteryCondition"),
proto.webcast.data.LotteryLuckyUser = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.LotteryLuckyUser.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.LotteryLuckyUser, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LotteryLuckyUser.displayName = "proto.webcast.data.LotteryLuckyUser"),
proto.webcast.data.VoucherPrizeInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.VoucherPrizeInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.VoucherPrizeInfo.displayName = "proto.webcast.data.VoucherPrizeInfo"),
proto.webcast.data.LotteryGiftGuide = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.LotteryGiftGuide, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.LotteryGiftGuide.displayName = "proto.webcast.data.LotteryGiftGuide"),
r.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: r.Message.getBooleanFieldWithDefault(t, 1, !1),
hasCommand: r.Message.getBooleanFieldWithDefault(t, 2, !1),
hasFollow: r.Message.getBooleanFieldWithDefault(t, 3, !1),
isFansclubMember: r.Message.getBooleanFieldWithDefault(t, 4, !1),
hasGift: r.Message.getBooleanFieldWithDefault(t, 5, !1),
fansLevel: r.Message.getFieldWithDefault(t, 6, "0"),
fansclubStatusActive: r.Message.getBooleanFieldWithDefault(t, 7, !1),
hasShared: r.Message.getBooleanFieldWithDefault(t, 8, !1),
hasHelpWish: r.Message.getBooleanFieldWithDefault(t, 9, !1),
hasActivated: r.Message.getBooleanFieldWithDefault(t, 10, !1),
isSubscribeMember: r.Message.getBooleanFieldWithDefault(t, 11, !1)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryUserCondition.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.LotteryUserCondition.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryUserCondition.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getBooleanFieldWithDefault(this, 1, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setIsWatching = function(e) {
return r.Message.setProto3BooleanField(this, 1, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getHasCommand = function() {
return r.Message.getBooleanFieldWithDefault(this, 2, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setHasCommand = function(e) {
return r.Message.setProto3BooleanField(this, 2, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getHasFollow = function() {
return r.Message.getBooleanFieldWithDefault(this, 3, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setHasFollow = function(e) {
return r.Message.setProto3BooleanField(this, 3, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getIsFansclubMember = function() {
return r.Message.getBooleanFieldWithDefault(this, 4, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setIsFansclubMember = function(e) {
return r.Message.setProto3BooleanField(this, 4, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getHasGift = function() {
return r.Message.getBooleanFieldWithDefault(this, 5, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setHasGift = function(e) {
return r.Message.setProto3BooleanField(this, 5, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getFansLevel = function() {
return r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.LotteryUserCondition.prototype.setFansLevel = function(e) {
return r.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getFansclubStatusActive = function() {
return r.Message.getBooleanFieldWithDefault(this, 7, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setFansclubStatusActive = function(e) {
return r.Message.setProto3BooleanField(this, 7, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getHasShared = function() {
return r.Message.getBooleanFieldWithDefault(this, 8, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setHasShared = function(e) {
return r.Message.setProto3BooleanField(this, 8, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getHasHelpWish = function() {
return r.Message.getBooleanFieldWithDefault(this, 9, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setHasHelpWish = function(e) {
return r.Message.setProto3BooleanField(this, 9, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getHasActivated = function() {
return r.Message.getBooleanFieldWithDefault(this, 10, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setHasActivated = function(e) {
return r.Message.setProto3BooleanField(this, 10, e)
}
,
proto.webcast.data.LotteryUserCondition.prototype.getIsSubscribeMember = function() {
return r.Message.getBooleanFieldWithDefault(this, 11, !1)
}
,
proto.webcast.data.LotteryUserCondition.prototype.setIsSubscribeMember = function(e) {
return r.Message.setProto3BooleanField(this, 11, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
userName: r.Message.getFieldWithDefault(t, 2, ""),
avatarUrl: r.Message.getFieldWithDefault(t, 3, ""),
secUserId: r.Message.getFieldWithDefault(t, 4, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CandidateUser.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.CandidateUser.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CandidateUser.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.CandidateUser.prototype.setUserId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.CandidateUser.prototype.getUserName = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.CandidateUser.prototype.setUserName = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.CandidateUser.prototype.getAvatarUrl = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.CandidateUser.prototype.setAvatarUrl = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.CandidateUser.prototype.getSecUserId = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.CandidateUser.prototype.setSecUserId = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.LotteryDefaultConfig.repeatedFields_ = [9],
r.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, o = {
countDown: r.Message.getFieldWithDefault(t, 1, "0"),
userNum: r.Message.getFieldWithDefault(t, 2, "0"),
prizeCount: r.Message.getFieldWithDefault(t, 3, "0"),
giftId: r.Message.getFieldWithDefault(t, 4, "0"),
giftCount: r.Message.getFieldWithDefault(t, 5, "0"),
isFirstLottery: r.Message.getFieldWithDefault(t, 6, "0"),
command: r.Message.getFieldWithDefault(t, 7, ""),
prizeName: r.Message.getFieldWithDefault(t, 8, ""),
conditionTypesList: null == (a = r.Message.getRepeatedField(t, 9)) ? undefined : a,
prizeAverage: r.Message.getFieldWithDefault(t, 10, "0"),
prizeDescription: r.Message.getFieldWithDefault(t, 11, ""),
minFansLevel: r.Message.getFieldWithDefault(t, 12, "0"),
phoneNum: r.Message.getFieldWithDefault(t, 13, ""),
bytepayVoucherSwitcher: r.Message.getFieldWithDefault(t, 14, "0"),
sendType: r.Message.getFieldWithDefault(t, 15, 0),
regularlyConfig: (a = t.getRegularlyConfig()) && proto.webcast.data.LotteryRegularlyConfig.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.LotteryDefaultConfig.deserializeBinary = function(e) {
var t = new r.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 r = t.isDelimited() ? t.readPackedInt32() : [t.readInt32()], o = 0; o < r.length; o++)
e.addConditionTypes(r[o]);
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 r.BinaryWriter;
return proto.webcast.data.LotteryDefaultConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryDefaultConfig.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setCountDown = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getUserNum = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setUserNum = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getPrizeCount = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setPrizeCount = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getGiftId = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setGiftId = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getGiftCount = function() {
return r.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setGiftCount = function(e) {
return r.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getIsFirstLottery = function() {
return r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setIsFirstLottery = function(e) {
return r.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getCommand = function() {
return r.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setCommand = function(e) {
return r.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getPrizeName = function() {
return r.Message.getFieldWithDefault(this, 8, "")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setPrizeName = function(e) {
return r.Message.setProto3StringField(this, 8, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getConditionTypesList = function() {
return r.Message.getRepeatedField(this, 9)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setConditionTypesList = function(e) {
return r.Message.setField(this, 9, e || [])
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.addConditionTypes = function(e, t) {
return r.Message.addToRepeatedField(this, 9, e, t)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.clearConditionTypesList = function() {
return this.setConditionTypesList([])
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getPrizeAverage = function() {
return r.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setPrizeAverage = function(e) {
return r.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getPrizeDescription = function() {
return r.Message.getFieldWithDefault(this, 11, "")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setPrizeDescription = function(e) {
return r.Message.setProto3StringField(this, 11, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getMinFansLevel = function() {
return r.Message.getFieldWithDefault(this, 12, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setMinFansLevel = function(e) {
return r.Message.setProto3StringIntField(this, 12, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getPhoneNum = function() {
return r.Message.getFieldWithDefault(this, 13, "")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setPhoneNum = function(e) {
return r.Message.setProto3StringField(this, 13, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getBytepayVoucherSwitcher = function() {
return r.Message.getFieldWithDefault(this, 14, "0")
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setBytepayVoucherSwitcher = function(e) {
return r.Message.setProto3StringIntField(this, 14, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getSendType = function() {
return r.Message.getFieldWithDefault(this, 15, 0)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setSendType = function(e) {
return r.Message.setProto3EnumField(this, 15, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.getRegularlyConfig = function() {
return r.Message.getWrapperField(this, proto.webcast.data.LotteryRegularlyConfig, 16)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.setRegularlyConfig = function(e) {
return r.Message.setWrapperField(this, 16, e)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.clearRegularlyConfig = function() {
return this.setRegularlyConfig(undefined)
}
,
proto.webcast.data.LotteryDefaultConfig.prototype.hasRegularlyConfig = function() {
return null != r.Message.getField(this, 16)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
giftName: r.Message.getFieldWithDefault(t, 2, ""),
giftImgUrl: r.Message.getFieldWithDefault(t, 3, ""),
diamondCount: r.Message.getFieldWithDefault(t, 4, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.GiftInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.GiftInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.GiftInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.GiftInfo.prototype.setGiftId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.GiftInfo.prototype.getGiftName = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.GiftInfo.prototype.setGiftName = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.GiftInfo.prototype.getGiftImgUrl = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.GiftInfo.prototype.setGiftImgUrl = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.GiftInfo.prototype.getDiamondCount = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.GiftInfo.prototype.setDiamondCount = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.LotteryConfig.repeatedFields_ = [3, 1, 2, 7, 8, 9, 10, 11, 12, 14, 17, 21, 22, 23],
r.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, o = {
countDownsList: null == (a = r.Message.getRepeatedField(t, 3)) ? undefined : a,
userNumsList: null == (a = r.Message.getRepeatedField(t, 1)) ? undefined : a,
prizeCountsList: null == (a = r.Message.getRepeatedField(t, 2)) ? undefined : a,
defaultConfig: (a = t.getDefaultConfig()) && proto.webcast.data.LotteryDefaultConfig.toObject(e, a),
prizeType: r.Message.getFieldWithDefault(t, 5, 0),
prizeName: r.Message.getFieldWithDefault(t, 6, ""),
userConditionTypesList: null == (a = r.Message.getRepeatedField(t, 7)) ? undefined : a,
lotteryConditionTypesList: null == (a = r.Message.getRepeatedField(t, 8)) ? undefined : a,
giftInfoListList: r.Message.toObjectList(t.getGiftInfoListList(), proto.webcast.data.GiftInfo.toObject, e),
giftCountsList: null == (a = r.Message.getRepeatedField(t, 10)) ? undefined : a,
whiteListList: null == (a = r.Message.getRepeatedField(t, 11)) ? undefined : a,
blackListList: null == (a = r.Message.getRepeatedField(t, 12)) ? undefined : a,
enable: r.Message.getFieldWithDefault(t, 13, "0"),
prizeAveragesList: null == (a = r.Message.getRepeatedField(t, 14)) ? undefined : a,
lotteryConfigType: r.Message.getFieldWithDefault(t, 15, "0"),
prizeDescription: r.Message.getFieldWithDefault(t, 16, ""),
fansLevelConfigListList: r.Message.toObjectList(t.getFansLevelConfigListList(), proto.webcast.data.LotteryFansLevelConfig.toObject, e),
accountScores: r.Message.getFieldWithDefault(t, 18, "0"),
needRechargeAmount: r.Message.getFieldWithDefault(t, 19, "0"),
rechargeSwitch: r.Message.getBooleanFieldWithDefault(t, 20, !1),
expandActivityInfoListList: r.Message.toObjectList(t.getExpandActivityInfoListList(), proto.webcast.data.LotteryExpandActivityInfo.toObject, e),
sendCountsList: null == (a = r.Message.getRepeatedField(t, 22)) ? undefined : a,
sendIntervalList: null == (a = r.Message.getRepeatedField(t, 23)) ? undefined : a,
supportLaunchTask: r.Message.getBooleanFieldWithDefault(t, 26, !1)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.LotteryConfig.deserializeBinary = function(e) {
var t = new r.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()], r = 0; r < a.length; r++)
e.addCountDowns(a[r]);
break;
case 1:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
r = 0; r < a.length; r++)
e.addUserNums(a[r]);
break;
case 2:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
r = 0; r < a.length; r++)
e.addPrizeCounts(a[r]);
break;
case 4:
var o = new proto.webcast.data.LotteryDefaultConfig;
t.readMessage(o, proto.webcast.data.LotteryDefaultConfig.deserializeBinaryFromReader),
e.setDefaultConfig(o);
break;
case 5:
o = t.readInt32();
e.setPrizeType(o);
break;
case 6:
o = t.readString();
e.setPrizeName(o);
break;
case 7:
for (a = t.isDelimited() ? t.readPackedInt32() : [t.readInt32()],
r = 0; r < a.length; r++)
e.addUserConditionTypes(a[r]);
break;
case 8:
for (a = t.isDelimited() ? t.readPackedInt32() : [t.readInt32()],
r = 0; r < a.length; r++)
e.addLotteryConditionTypes(a[r]);
break;
case 9:
o = new proto.webcast.data.GiftInfo;
t.readMessage(o, proto.webcast.data.GiftInfo.deserializeBinaryFromReader),
e.addGiftInfoList(o);
break;
case 10:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
r = 0; r < a.length; r++)
e.addGiftCounts(a[r]);
break;
case 11:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
r = 0; r < a.length; r++)
e.addWhiteList(a[r]);
break;
case 12:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
r = 0; r < a.length; r++)
e.addBlackList(a[r]);
break;
case 13:
o = t.readInt64String();
e.setEnable(o);
break;
case 14:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
r = 0; r < a.length; r++)
e.addPrizeAverages(a[r]);
break;
case 15:
o = t.readInt64String();
e.setLotteryConfigType(o);
break;
case 16:
o = t.readString();
e.setPrizeDescription(o);
break;
case 17:
o = new proto.webcast.data.LotteryFansLevelConfig;
t.readMessage(o, proto.webcast.data.LotteryFansLevelConfig.deserializeBinaryFromReader),
e.addFansLevelConfigList(o);
break;
case 18:
o = t.readInt64String();
e.setAccountScores(o);
break;
case 19:
o = t.readInt64String();
e.setNeedRechargeAmount(o);
break;
case 20:
o = t.readBool();
e.setRechargeSwitch(o);
break;
case 21:
o = new proto.webcast.data.LotteryExpandActivityInfo;
t.readMessage(o, proto.webcast.data.LotteryExpandActivityInfo.deserializeBinaryFromReader),
e.addExpandActivityInfoList(o);
break;
case 22:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
r = 0; r < a.length; r++)
e.addSendCounts(a[r]);
break;
case 23:
for (a = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
r = 0; r < a.length; r++)
e.addSendInterval(a[r]);
break;
case 26:
o = t.readBool();
e.setSupportLaunchTask(o);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.LotteryConfig.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.LotteryConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryConfig.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getRepeatedField(this, 3)
}
,
proto.webcast.data.LotteryConfig.prototype.setCountDownsList = function(e) {
return r.Message.setField(this, 3, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addCountDowns = function(e, t) {
return r.Message.addToRepeatedField(this, 3, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearCountDownsList = function() {
return this.setCountDownsList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getUserNumsList = function() {
return r.Message.getRepeatedField(this, 1)
}
,
proto.webcast.data.LotteryConfig.prototype.setUserNumsList = function(e) {
return r.Message.setField(this, 1, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addUserNums = function(e, t) {
return r.Message.addToRepeatedField(this, 1, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearUserNumsList = function() {
return this.setUserNumsList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getPrizeCountsList = function() {
return r.Message.getRepeatedField(this, 2)
}
,
proto.webcast.data.LotteryConfig.prototype.setPrizeCountsList = function(e) {
return r.Message.setField(this, 2, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addPrizeCounts = function(e, t) {
return r.Message.addToRepeatedField(this, 2, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearPrizeCountsList = function() {
return this.setPrizeCountsList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getDefaultConfig = function() {
return r.Message.getWrapperField(this, proto.webcast.data.LotteryDefaultConfig, 4)
}
,
proto.webcast.data.LotteryConfig.prototype.setDefaultConfig = function(e) {
return r.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.LotteryConfig.prototype.clearDefaultConfig = function() {
return this.setDefaultConfig(undefined)
}
,
proto.webcast.data.LotteryConfig.prototype.hasDefaultConfig = function() {
return null != r.Message.getField(this, 4)
}
,
proto.webcast.data.LotteryConfig.prototype.getPrizeType = function() {
return r.Message.getFieldWithDefault(this, 5, 0)
}
,
proto.webcast.data.LotteryConfig.prototype.setPrizeType = function(e) {
return r.Message.setProto3IntField(this, 5, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getPrizeName = function() {
return r.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.LotteryConfig.prototype.setPrizeName = function(e) {
return r.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getUserConditionTypesList = function() {
return r.Message.getRepeatedField(this, 7)
}
,
proto.webcast.data.LotteryConfig.prototype.setUserConditionTypesList = function(e) {
return r.Message.setField(this, 7, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addUserConditionTypes = function(e, t) {
return r.Message.addToRepeatedField(this, 7, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearUserConditionTypesList = function() {
return this.setUserConditionTypesList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getLotteryConditionTypesList = function() {
return r.Message.getRepeatedField(this, 8)
}
,
proto.webcast.data.LotteryConfig.prototype.setLotteryConditionTypesList = function(e) {
return r.Message.setField(this, 8, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addLotteryConditionTypes = function(e, t) {
return r.Message.addToRepeatedField(this, 8, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearLotteryConditionTypesList = function() {
return this.setLotteryConditionTypesList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getGiftInfoListList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.GiftInfo, 9)
}
,
proto.webcast.data.LotteryConfig.prototype.setGiftInfoListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 9, e)
}
,
proto.webcast.data.LotteryConfig.prototype.addGiftInfoList = function(e, t) {
return r.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 r.Message.getRepeatedField(this, 10)
}
,
proto.webcast.data.LotteryConfig.prototype.setGiftCountsList = function(e) {
return r.Message.setField(this, 10, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addGiftCounts = function(e, t) {
return r.Message.addToRepeatedField(this, 10, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearGiftCountsList = function() {
return this.setGiftCountsList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getWhiteListList = function() {
return r.Message.getRepeatedField(this, 11)
}
,
proto.webcast.data.LotteryConfig.prototype.setWhiteListList = function(e) {
return r.Message.setField(this, 11, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addWhiteList = function(e, t) {
return r.Message.addToRepeatedField(this, 11, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearWhiteListList = function() {
return this.setWhiteListList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getBlackListList = function() {
return r.Message.getRepeatedField(this, 12)
}
,
proto.webcast.data.LotteryConfig.prototype.setBlackListList = function(e) {
return r.Message.setField(this, 12, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addBlackList = function(e, t) {
return r.Message.addToRepeatedField(this, 12, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearBlackListList = function() {
return this.setBlackListList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getEnable = function() {
return r.Message.getFieldWithDefault(this, 13, "0")
}
,
proto.webcast.data.LotteryConfig.prototype.setEnable = function(e) {
return r.Message.setProto3StringIntField(this, 13, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getPrizeAveragesList = function() {
return r.Message.getRepeatedField(this, 14)
}
,
proto.webcast.data.LotteryConfig.prototype.setPrizeAveragesList = function(e) {
return r.Message.setField(this, 14, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addPrizeAverages = function(e, t) {
return r.Message.addToRepeatedField(this, 14, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearPrizeAveragesList = function() {
return this.setPrizeAveragesList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getLotteryConfigType = function() {
return r.Message.getFieldWithDefault(this, 15, "0")
}
,
proto.webcast.data.LotteryConfig.prototype.setLotteryConfigType = function(e) {
return r.Message.setProto3StringIntField(this, 15, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getPrizeDescription = function() {
return r.Message.getFieldWithDefault(this, 16, "")
}
,
proto.webcast.data.LotteryConfig.prototype.setPrizeDescription = function(e) {
return r.Message.setProto3StringField(this, 16, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getFansLevelConfigListList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.LotteryFansLevelConfig, 17)
}
,
proto.webcast.data.LotteryConfig.prototype.setFansLevelConfigListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 17, e)
}
,
proto.webcast.data.LotteryConfig.prototype.addFansLevelConfigList = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 18, "0")
}
,
proto.webcast.data.LotteryConfig.prototype.setAccountScores = function(e) {
return r.Message.setProto3StringIntField(this, 18, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getNeedRechargeAmount = function() {
return r.Message.getFieldWithDefault(this, 19, "0")
}
,
proto.webcast.data.LotteryConfig.prototype.setNeedRechargeAmount = function(e) {
return r.Message.setProto3StringIntField(this, 19, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getRechargeSwitch = function() {
return r.Message.getBooleanFieldWithDefault(this, 20, !1)
}
,
proto.webcast.data.LotteryConfig.prototype.setRechargeSwitch = function(e) {
return r.Message.setProto3BooleanField(this, 20, e)
}
,
proto.webcast.data.LotteryConfig.prototype.getExpandActivityInfoListList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.LotteryExpandActivityInfo, 21)
}
,
proto.webcast.data.LotteryConfig.prototype.setExpandActivityInfoListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 21, e)
}
,
proto.webcast.data.LotteryConfig.prototype.addExpandActivityInfoList = function(e, t) {
return r.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 r.Message.getRepeatedField(this, 22)
}
,
proto.webcast.data.LotteryConfig.prototype.setSendCountsList = function(e) {
return r.Message.setField(this, 22, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addSendCounts = function(e, t) {
return r.Message.addToRepeatedField(this, 22, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearSendCountsList = function() {
return this.setSendCountsList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getSendIntervalList = function() {
return r.Message.getRepeatedField(this, 23)
}
,
proto.webcast.data.LotteryConfig.prototype.setSendIntervalList = function(e) {
return r.Message.setField(this, 23, e || [])
}
,
proto.webcast.data.LotteryConfig.prototype.addSendInterval = function(e, t) {
return r.Message.addToRepeatedField(this, 23, e, t)
}
,
proto.webcast.data.LotteryConfig.prototype.clearSendIntervalList = function() {
return this.setSendIntervalList([])
}
,
proto.webcast.data.LotteryConfig.prototype.getSupportLaunchTask = function() {
return r.Message.getBooleanFieldWithDefault(this, 26, !1)
}
,
proto.webcast.data.LotteryConfig.prototype.setSupportLaunchTask = function(e) {
return r.Message.setProto3BooleanField(this, 26, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
prizeName: r.Message.getFieldWithDefault(t, 2, ""),
grantCount: r.Message.getFieldWithDefault(t, 3, "0"),
expireTime: r.Message.getFieldWithDefault(t, 4, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryRewardDetail.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.LotteryRewardDetail.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryRewardDetail.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryRewardDetail.prototype.setPrizeType = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryRewardDetail.prototype.getPrizeName = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.LotteryRewardDetail.prototype.setPrizeName = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.LotteryRewardDetail.prototype.getGrantCount = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.LotteryRewardDetail.prototype.setGrantCount = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.LotteryRewardDetail.prototype.getExpireTime = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.LotteryRewardDetail.prototype.setExpireTime = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
r.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, o = {
bizId: r.Message.getFieldWithDefault(t, 1, "0"),
expandActivityId: r.Message.getFieldWithDefault(t, 2, ""),
ruleText: r.Message.getFieldWithDefault(t, 3, ""),
tipsText: r.Message.getFieldWithDefault(t, 4, ""),
expandLuckyCount: r.Message.getFieldWithDefault(t, 5, "0"),
expandGrantCount: r.Message.getFieldWithDefault(t, 6, "0"),
extraMap: (a = t.getExtraMap()) ? a.toObject(e, undefined) : [],
extraGiftBag: r.Message.getFieldWithDefault(t, 10, ""),
bytepayVoucherSwitcher: r.Message.getFieldWithDefault(t, 11, "0")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.LotteryExpandActivityInfo.deserializeBinary = function(e) {
var t = new r.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) {
r.Map.deserializeBinary(e, t, r.BinaryReader.prototype.readString, r.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 r.BinaryWriter;
return proto.webcast.data.LotteryExpandActivityInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryExpandActivityInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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, r.BinaryWriter.prototype.writeString, r.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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setBizId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getExpandActivityId = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setExpandActivityId = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getRuleText = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setRuleText = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getTipsText = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setTipsText = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getExpandLuckyCount = function() {
return r.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setExpandLuckyCount = function(e) {
return r.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getExpandGrantCount = function() {
return r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setExpandGrantCount = function(e) {
return r.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getExtraMap = function(e) {
return r.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 r.Message.getFieldWithDefault(this, 10, "")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setExtraGiftBag = function(e) {
return r.Message.setProto3StringField(this, 10, e)
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.getBytepayVoucherSwitcher = function() {
return r.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.LotteryExpandActivityInfo.prototype.setBytepayVoucherSwitcher = function(e) {
return r.Message.setProto3StringIntField(this, 11, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ExpandLotteryConfig.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.ExpandLotteryConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ExpandLotteryConfig.serializeBinaryToWriter = function(e, t) {
var a = undefined;
a = e.getExpandPrizeType(),
0 !== parseInt(a, 10) && t.writeInt64String(1, a)
}
,
proto.webcast.data.ExpandLotteryConfig.prototype.getExpandPrizeType = function() {
return r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.ExpandLotteryConfig.prototype.setExpandPrizeType = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
dailyLimit: r.Message.getFieldWithDefault(t, 2, "0"),
dailySendNum: r.Message.getFieldWithDefault(t, 3, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryFansLevelConfig.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.LotteryFansLevelConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryFansLevelConfig.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryFansLevelConfig.prototype.setLevel = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryFansLevelConfig.prototype.getDailyLimit = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.LotteryFansLevelConfig.prototype.setDailyLimit = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.LotteryFansLevelConfig.prototype.getDailySendNum = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.LotteryFansLevelConfig.prototype.setDailySendNum = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, 0),
interval: r.Message.getFieldWithDefault(t, 2, 0)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryRegularlyConfig.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.LotteryRegularlyConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryRegularlyConfig.serializeBinaryToWriter = function(e, t) {
var a = undefined;
0 !== (a = e.getTimes()) && t.writeInt32(1, a),
0 !== (a = e.getInterval()) && t.writeInt32(2, a)
}
,
proto.webcast.data.LotteryRegularlyConfig.prototype.getTimes = function() {
return r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.LotteryRegularlyConfig.prototype.setTimes = function(e) {
return r.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.LotteryRegularlyConfig.prototype.getInterval = function() {
return r.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.LotteryRegularlyConfig.prototype.setInterval = function(e) {
return r.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.LotteryInfo.repeatedFields_ = [8, 19, 26],
r.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, o = {
lotteryId: r.Message.getFieldWithDefault(t, 1, "0"),
ownerUserId: r.Message.getFieldWithDefault(t, 2, "0"),
anchorId: r.Message.getFieldWithDefault(t, 3, "0"),
ownerType: r.Message.getFieldWithDefault(t, 4, 0),
roomId: r.Message.getFieldWithDefault(t, 5, "0"),
status: r.Message.getFieldWithDefault(t, 6, 0),
prizeInfo: (a = t.getPrizeInfo()) && proto.webcast.data.LotteryPrize.toObject(e, a),
conditionsList: r.Message.toObjectList(t.getConditionsList(), proto.webcast.data.LotteryCondition.toObject, e),
prizeCount: r.Message.getFieldWithDefault(t, 9, "0"),
luckyCount: r.Message.getFieldWithDefault(t, 10, "0"),
countDown: r.Message.getFieldWithDefault(t, 11, "0"),
startTime: r.Message.getFieldWithDefault(t, 12, "0"),
drawTime: r.Message.getFieldWithDefault(t, 13, "0"),
extra: r.Message.getFieldWithDefault(t, 14, ""),
realLuckyCount: r.Message.getFieldWithDefault(t, 15, "0"),
totalGrantCount: r.Message.getFieldWithDefault(t, 16, "0"),
withdrawCount: r.Message.getFieldWithDefault(t, 17, "0"),
realDrawTime: r.Message.getFieldWithDefault(t, 18, "0"),
luckyUsersList: r.Message.toObjectList(t.getLuckyUsersList(), proto.webcast.data.LotteryLuckyUser.toObject, e),
currentTime: r.Message.getFieldWithDefault(t, 20, "0"),
candidateNum: r.Message.getFieldWithDefault(t, 21, "0"),
lotteryIdStr: r.Message.getFieldWithDefault(t, 22, ""),
roomIdStr: r.Message.getFieldWithDefault(t, 23, ""),
secAnchorId: r.Message.getFieldWithDefault(t, 24, ""),
secOwnerUserId: r.Message.getFieldWithDefault(t, 25, ""),
expandActivityInfoListList: r.Message.toObjectList(t.getExpandActivityInfoListList(), proto.webcast.data.LotteryExpandActivityInfo.toObject, e),
useNewDrawInteraction: r.Message.getBooleanFieldWithDefault(t, 27, !1),
launchTaskId: r.Message.getFieldWithDefault(t, 30, ""),
index: r.Message.getFieldWithDefault(t, 31, 0),
launchTaskInfo: (a = t.getLaunchTaskInfo()) && proto.webcast.data.LaunchTaskInfo.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.LotteryInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.LotteryInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setLotteryId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getOwnerUserId = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setOwnerUserId = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getAnchorId = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setAnchorId = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getOwnerType = function() {
return r.Message.getFieldWithDefault(this, 4, 0)
}
,
proto.webcast.data.LotteryInfo.prototype.setOwnerType = function(e) {
return r.Message.setProto3IntField(this, 4, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getRoomId = function() {
return r.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setRoomId = function(e) {
return r.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getStatus = function() {
return r.Message.getFieldWithDefault(this, 6, 0)
}
,
proto.webcast.data.LotteryInfo.prototype.setStatus = function(e) {
return r.Message.setProto3IntField(this, 6, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getPrizeInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.LotteryPrize, 7)
}
,
proto.webcast.data.LotteryInfo.prototype.setPrizeInfo = function(e) {
return r.Message.setWrapperField(this, 7, e)
}
,
proto.webcast.data.LotteryInfo.prototype.clearPrizeInfo = function() {
return this.setPrizeInfo(undefined)
}
,
proto.webcast.data.LotteryInfo.prototype.hasPrizeInfo = function() {
return null != r.Message.getField(this, 7)
}
,
proto.webcast.data.LotteryInfo.prototype.getConditionsList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.LotteryCondition, 8)
}
,
proto.webcast.data.LotteryInfo.prototype.setConditionsList = function(e) {
return r.Message.setRepeatedWrapperField(this, 8, e)
}
,
proto.webcast.data.LotteryInfo.prototype.addConditions = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 9, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setPrizeCount = function(e) {
return r.Message.setProto3StringIntField(this, 9, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getLuckyCount = function() {
return r.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setLuckyCount = function(e) {
return r.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getCountDown = function() {
return r.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setCountDown = function(e) {
return r.Message.setProto3StringIntField(this, 11, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getStartTime = function() {
return r.Message.getFieldWithDefault(this, 12, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setStartTime = function(e) {
return r.Message.setProto3StringIntField(this, 12, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getDrawTime = function() {
return r.Message.getFieldWithDefault(this, 13, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setDrawTime = function(e) {
return r.Message.setProto3StringIntField(this, 13, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getExtra = function() {
return r.Message.getFieldWithDefault(this, 14, "")
}
,
proto.webcast.data.LotteryInfo.prototype.setExtra = function(e) {
return r.Message.setProto3StringField(this, 14, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getRealLuckyCount = function() {
return r.Message.getFieldWithDefault(this, 15, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setRealLuckyCount = function(e) {
return r.Message.setProto3StringIntField(this, 15, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getTotalGrantCount = function() {
return r.Message.getFieldWithDefault(this, 16, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setTotalGrantCount = function(e) {
return r.Message.setProto3StringIntField(this, 16, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getWithdrawCount = function() {
return r.Message.getFieldWithDefault(this, 17, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setWithdrawCount = function(e) {
return r.Message.setProto3StringIntField(this, 17, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getRealDrawTime = function() {
return r.Message.getFieldWithDefault(this, 18, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setRealDrawTime = function(e) {
return r.Message.setProto3StringIntField(this, 18, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getLuckyUsersList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.LotteryLuckyUser, 19)
}
,
proto.webcast.data.LotteryInfo.prototype.setLuckyUsersList = function(e) {
return r.Message.setRepeatedWrapperField(this, 19, e)
}
,
proto.webcast.data.LotteryInfo.prototype.addLuckyUsers = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 20, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setCurrentTime = function(e) {
return r.Message.setProto3StringIntField(this, 20, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getCandidateNum = function() {
return r.Message.getFieldWithDefault(this, 21, "0")
}
,
proto.webcast.data.LotteryInfo.prototype.setCandidateNum = function(e) {
return r.Message.setProto3StringIntField(this, 21, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getLotteryIdStr = function() {
return r.Message.getFieldWithDefault(this, 22, "")
}
,
proto.webcast.data.LotteryInfo.prototype.setLotteryIdStr = function(e) {
return r.Message.setProto3StringField(this, 22, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getRoomIdStr = function() {
return r.Message.getFieldWithDefault(this, 23, "")
}
,
proto.webcast.data.LotteryInfo.prototype.setRoomIdStr = function(e) {
return r.Message.setProto3StringField(this, 23, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getSecAnchorId = function() {
return r.Message.getFieldWithDefault(this, 24, "")
}
,
proto.webcast.data.LotteryInfo.prototype.setSecAnchorId = function(e) {
return r.Message.setProto3StringField(this, 24, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getSecOwnerUserId = function() {
return r.Message.getFieldWithDefault(this, 25, "")
}
,
proto.webcast.data.LotteryInfo.prototype.setSecOwnerUserId = function(e) {
return r.Message.setProto3StringField(this, 25, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getExpandActivityInfoListList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.LotteryExpandActivityInfo, 26)
}
,
proto.webcast.data.LotteryInfo.prototype.setExpandActivityInfoListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 26, e)
}
,
proto.webcast.data.LotteryInfo.prototype.addExpandActivityInfoList = function(e, t) {
return r.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 r.Message.getBooleanFieldWithDefault(this, 27, !1)
}
,
proto.webcast.data.LotteryInfo.prototype.setUseNewDrawInteraction = function(e) {
return r.Message.setProto3BooleanField(this, 27, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getLaunchTaskId = function() {
return r.Message.getFieldWithDefault(this, 30, "")
}
,
proto.webcast.data.LotteryInfo.prototype.setLaunchTaskId = function(e) {
return r.Message.setProto3StringField(this, 30, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getIndex = function() {
return r.Message.getFieldWithDefault(this, 31, 0)
}
,
proto.webcast.data.LotteryInfo.prototype.setIndex = function(e) {
return r.Message.setProto3IntField(this, 31, e)
}
,
proto.webcast.data.LotteryInfo.prototype.getLaunchTaskInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.LaunchTaskInfo, 32)
}
,
proto.webcast.data.LotteryInfo.prototype.setLaunchTaskInfo = function(e) {
return r.Message.setWrapperField(this, 32, e)
}
,
proto.webcast.data.LotteryInfo.prototype.clearLaunchTaskInfo = function() {
return this.setLaunchTaskInfo(undefined)
}
,
proto.webcast.data.LotteryInfo.prototype.hasLaunchTaskInfo = function() {
return null != r.Message.getField(this, 32)
}
,
r.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, o = {
launchTaskId: r.Message.getFieldWithDefault(t, 1, "0"),
launchTaskIdStr: r.Message.getFieldWithDefault(t, 2, ""),
launchTaskStatus: r.Message.getFieldWithDefault(t, 3, "0"),
hadLaunchCount: r.Message.getFieldWithDefault(t, 5, "0"),
lastLotteryId: r.Message.getFieldWithDefault(t, 6, "0"),
regularlyConfig: (a = t.getRegularlyConfig()) && proto.webcast.data.LotteryRegularlyConfig.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.LaunchTaskInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.LaunchTaskInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LaunchTaskInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LaunchTaskInfo.prototype.setLaunchTaskId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.getLaunchTaskIdStr = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.LaunchTaskInfo.prototype.setLaunchTaskIdStr = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.getLaunchTaskStatus = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.LaunchTaskInfo.prototype.setLaunchTaskStatus = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.getHadLaunchCount = function() {
return r.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.LaunchTaskInfo.prototype.setHadLaunchCount = function(e) {
return r.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.getLastLotteryId = function() {
return r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.LaunchTaskInfo.prototype.setLastLotteryId = function(e) {
return r.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.getRegularlyConfig = function() {
return r.Message.getWrapperField(this, proto.webcast.data.LotteryRegularlyConfig, 4)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.setRegularlyConfig = function(e) {
return r.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.clearRegularlyConfig = function() {
return this.setRegularlyConfig(undefined)
}
,
proto.webcast.data.LaunchTaskInfo.prototype.hasRegularlyConfig = function() {
return null != r.Message.getField(this, 4)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
type: r.Message.getFieldWithDefault(t, 2, 0),
name: r.Message.getFieldWithDefault(t, 3, ""),
image: r.Message.getFieldWithDefault(t, 4, ""),
prizeDescription: r.Message.getFieldWithDefault(t, 5, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryPrize.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.LotteryPrize.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryPrize.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryPrize.prototype.setPrizeId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryPrize.prototype.getType = function() {
return r.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.LotteryPrize.prototype.setType = function(e) {
return r.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.LotteryPrize.prototype.getName = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.LotteryPrize.prototype.setName = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.LotteryPrize.prototype.getImage = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.LotteryPrize.prototype.setImage = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.LotteryPrize.prototype.getPrizeDescription = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.LotteryPrize.prototype.setPrizeDescription = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
type: r.Message.getFieldWithDefault(t, 2, 0),
content: r.Message.getFieldWithDefault(t, 3, ""),
status: r.Message.getFieldWithDefault(t, 4, 0),
description: r.Message.getFieldWithDefault(t, 5, ""),
giftId: r.Message.getFieldWithDefault(t, 6, "0"),
giftCount: r.Message.getFieldWithDefault(t, 7, "0"),
giftName: r.Message.getFieldWithDefault(t, 8, ""),
needDiamondCount: r.Message.getFieldWithDefault(t, 9, "0"),
minFansLevel: r.Message.getFieldWithDefault(t, 10, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryCondition.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.LotteryCondition.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryCondition.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryCondition.prototype.setConditionId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getType = function() {
return r.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.LotteryCondition.prototype.setType = function(e) {
return r.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getContent = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.LotteryCondition.prototype.setContent = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getStatus = function() {
return r.Message.getFieldWithDefault(this, 4, 0)
}
,
proto.webcast.data.LotteryCondition.prototype.setStatus = function(e) {
return r.Message.setProto3IntField(this, 4, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getDescription = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.LotteryCondition.prototype.setDescription = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getGiftId = function() {
return r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.LotteryCondition.prototype.setGiftId = function(e) {
return r.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getGiftCount = function() {
return r.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.LotteryCondition.prototype.setGiftCount = function(e) {
return r.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getGiftName = function() {
return r.Message.getFieldWithDefault(this, 8, "")
}
,
proto.webcast.data.LotteryCondition.prototype.setGiftName = function(e) {
return r.Message.setProto3StringField(this, 8, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getNeedDiamondCount = function() {
return r.Message.getFieldWithDefault(this, 9, "0")
}
,
proto.webcast.data.LotteryCondition.prototype.setNeedDiamondCount = function(e) {
return r.Message.setProto3StringIntField(this, 9, e)
}
,
proto.webcast.data.LotteryCondition.prototype.getMinFansLevel = function() {
return r.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.LotteryCondition.prototype.setMinFansLevel = function(e) {
return r.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.LotteryLuckyUser.repeatedFields_ = [14],
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
lotteryId: r.Message.getFieldWithDefault(t, 2, "0"),
roomId: r.Message.getFieldWithDefault(t, 3, "0"),
userId: r.Message.getFieldWithDefault(t, 4, "0"),
userName: r.Message.getFieldWithDefault(t, 5, ""),
avatarUrl: r.Message.getFieldWithDefault(t, 6, ""),
grantCount: r.Message.getFieldWithDefault(t, 7, "0"),
userExtraInfo: r.Message.getFieldWithDefault(t, 8, ""),
orderInfo: r.Message.getFieldWithDefault(t, 9, ""),
secUserId: r.Message.getFieldWithDefault(t, 10, ""),
prizeType: r.Message.getFieldWithDefault(t, 11, "0"),
prizeName: r.Message.getFieldWithDefault(t, 12, ""),
expireTime: r.Message.getFieldWithDefault(t, 13, "0"),
voucherPrizeListList: r.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 r.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 r.BinaryWriter;
return proto.webcast.data.LotteryLuckyUser.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryLuckyUser.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setLuckyId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getLotteryId = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setLotteryId = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getRoomId = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setRoomId = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getUserId = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setUserId = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getUserName = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setUserName = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getAvatarUrl = function() {
return r.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setAvatarUrl = function(e) {
return r.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getGrantCount = function() {
return r.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setGrantCount = function(e) {
return r.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getUserExtraInfo = function() {
return r.Message.getFieldWithDefault(this, 8, "")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setUserExtraInfo = function(e) {
return r.Message.setProto3StringField(this, 8, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getOrderInfo = function() {
return r.Message.getFieldWithDefault(this, 9, "")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setOrderInfo = function(e) {
return r.Message.setProto3StringField(this, 9, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getSecUserId = function() {
return r.Message.getFieldWithDefault(this, 10, "")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setSecUserId = function(e) {
return r.Message.setProto3StringField(this, 10, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getPrizeType = function() {
return r.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setPrizeType = function(e) {
return r.Message.setProto3StringIntField(this, 11, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getPrizeName = function() {
return r.Message.getFieldWithDefault(this, 12, "")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setPrizeName = function(e) {
return r.Message.setProto3StringField(this, 12, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getExpireTime = function() {
return r.Message.getFieldWithDefault(this, 13, "0")
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setExpireTime = function(e) {
return r.Message.setProto3StringIntField(this, 13, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.getVoucherPrizeListList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.VoucherPrizeInfo, 14)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.setVoucherPrizeListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 14, e)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.addVoucherPrizeList = function(e, t) {
return r.Message.addToRepeatedWrapperField(this, 14, e, proto.webcast.data.VoucherPrizeInfo, t)
}
,
proto.webcast.data.LotteryLuckyUser.prototype.clearVoucherPrizeListList = function() {
return this.setVoucherPrizeListList([])
}
,
r.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: r.Message.getFieldWithDefault(t, 1, ""),
prizeBatchName: r.Message.getFieldWithDefault(t, 2, ""),
expireTime: r.Message.getFieldWithDefault(t, 3, "0"),
prizeUnit: r.Message.getFieldWithDefault(t, 4, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.VoucherPrizeInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.VoucherPrizeInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VoucherPrizeInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.setPrizeAmount = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.getPrizeBatchName = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.setPrizeBatchName = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.getExpireTime = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.setExpireTime = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.getPrizeUnit = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.VoucherPrizeInfo.prototype.setPrizeUnit = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
giftDiamondCount: r.Message.getFieldWithDefault(t, 2, "0"),
giftName: r.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.LotteryGiftGuide.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.LotteryGiftGuide.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.LotteryGiftGuide.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.LotteryGiftGuide.prototype.setGiftId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.LotteryGiftGuide.prototype.getGiftDiamondCount = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.LotteryGiftGuide.prototype.setGiftDiamondCount = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.LotteryGiftGuide.prototype.getGiftName = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.LotteryGiftGuide.prototype.setGiftName = function(e) {
return r.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
},
o.object.extend(t, proto.webcast.data)
},
15466: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null);
o.exportSymbol("proto.webcast.data.MoreLiveEntrance", null, i),
proto.webcast.data.MoreLiveEntrance = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.MoreLiveEntrance, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.MoreLiveEntrance.displayName = "proto.webcast.data.MoreLiveEntrance"),
r.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: r.Message.getFieldWithDefault(t, 1, ""),
tabType: r.Message.getFieldWithDefault(t, 2, "0"),
validTime: r.Message.getFieldWithDefault(t, 3, "0"),
priority: r.Message.getFieldWithDefault(t, 4, "0"),
extra: r.Message.getFieldWithDefault(t, 5, ""),
eventExtra: r.Message.getFieldWithDefault(t, 6, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.MoreLiveEntrance.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.MoreLiveEntrance.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MoreLiveEntrance.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.MoreLiveEntrance.prototype.setName = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.MoreLiveEntrance.prototype.getTabType = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.MoreLiveEntrance.prototype.setTabType = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.MoreLiveEntrance.prototype.getValidTime = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.MoreLiveEntrance.prototype.setValidTime = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.MoreLiveEntrance.prototype.getPriority = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.MoreLiveEntrance.prototype.setPriority = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.MoreLiveEntrance.prototype.getExtra = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.MoreLiveEntrance.prototype.setExtra = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.MoreLiveEntrance.prototype.getEventExtra = function() {
return r.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.MoreLiveEntrance.prototype.setEventExtra = function(e) {
return r.Message.setProto3StringField(this, 6, e)
}
,
o.object.extend(t, proto.webcast.data)
},
23972: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null);
o.exportSymbol("proto.webcast.data.ProfitInteractionSetting", null, i),
proto.webcast.data.ProfitInteractionSetting = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ProfitInteractionSetting, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ProfitInteractionSetting.displayName = "proto.webcast.data.ProfitInteractionSetting"),
r.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: r.Message.getBooleanFieldWithDefault(t, 1, !1)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ProfitInteractionSetting.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.ProfitInteractionSetting.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ProfitInteractionSetting.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getShowInteractionScoreClose()) && t.writeBool(1, a)
}
,
proto.webcast.data.ProfitInteractionSetting.prototype.getShowInteractionScoreClose = function() {
return r.Message.getBooleanFieldWithDefault(this, 1, !1)
}
,
proto.webcast.data.ProfitInteractionSetting.prototype.setShowInteractionScoreClose = function(e) {
return r.Message.setProto3BooleanField(this, 1, e)
}
,
o.object.extend(t, proto.webcast.data)
},
67820: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, n = a(52514);
o.object.extend(proto, n),
o.exportSymbol("proto.webcast.data.DownloadModule", null, i),
o.exportSymbol("proto.webcast.data.InteractiveLink", null, i),
o.exportSymbol("proto.webcast.data.OperationModule", null, i),
o.exportSymbol("proto.webcast.data.OrderIDContext", null, i),
o.exportSymbol("proto.webcast.data.OrderIDType", null, i),
o.exportSymbol("proto.webcast.data.PerformLink", null, i),
o.exportSymbol("proto.webcast.data.Programme", null, i),
o.exportSymbol("proto.webcast.data.ProgrammeColourValue", null, i),
o.exportSymbol("proto.webcast.data.ProgrammeCover", null, i),
o.exportSymbol("proto.webcast.data.ProgrammeLinkType", null, i),
o.exportSymbol("proto.webcast.data.ProgrammeOperation", null, i),
o.exportSymbol("proto.webcast.data.ProgrammeState", null, i),
o.exportSymbol("proto.webcast.data.ProgrammeTitleType", null, i),
o.exportSymbol("proto.webcast.data.ProgrammeType", null, i),
o.exportSymbol("proto.webcast.data.Programmeinfo", null, i),
o.exportSymbol("proto.webcast.data.TikTokAccount", null, i),
proto.webcast.data.TikTokAccount = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.TikTokAccount, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.TikTokAccount.displayName = "proto.webcast.data.TikTokAccount"),
proto.webcast.data.OrderIDContext = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.OrderIDContext, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.OrderIDContext.displayName = "proto.webcast.data.OrderIDContext"),
proto.webcast.data.PerformLink = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.PerformLink.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.PerformLink, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.PerformLink.displayName = "proto.webcast.data.PerformLink"),
proto.webcast.data.InteractiveLink = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.InteractiveLink, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.InteractiveLink.displayName = "proto.webcast.data.InteractiveLink"),
proto.webcast.data.Programme = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.Programme, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.Programme.displayName = "proto.webcast.data.Programme"),
proto.webcast.data.Programmeinfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.Programmeinfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.Programmeinfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.Programmeinfo.displayName = "proto.webcast.data.Programmeinfo"),
proto.webcast.data.ProgrammeCover = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ProgrammeCover, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ProgrammeCover.displayName = "proto.webcast.data.ProgrammeCover"),
proto.webcast.data.DownloadModule = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.DownloadModule, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.DownloadModule.displayName = "proto.webcast.data.DownloadModule"),
proto.webcast.data.OperationModule = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.OperationModule, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.OperationModule.displayName = "proto.webcast.data.OperationModule"),
proto.webcast.data.ProgrammeOperation = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ProgrammeOperation, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ProgrammeOperation.displayName = "proto.webcast.data.ProgrammeOperation"),
proto.webcast.data.ProgrammeColourValue = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ProgrammeColourValue, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ProgrammeColourValue.displayName = "proto.webcast.data.ProgrammeColourValue"),
r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.TikTokAccount.prototype.toObject = function(e) {
return proto.webcast.data.TikTokAccount.toObject(e, this)
}
,
proto.webcast.data.TikTokAccount.toObject = function(e, t) {
var a = {
performerUid: r.Message.getFieldWithDefault(t, 1, ""),
nickName: r.Message.getFieldWithDefault(t, 2, ""),
profilePhoto: r.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.TikTokAccount.deserializeBinary = function(e) {
var t = new r.BinaryReader(e)
, a = new proto.webcast.data.TikTokAccount;
return proto.webcast.data.TikTokAccount.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.TikTokAccount.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setPerformerUid(a);
break;
case 2:
a = t.readString();
e.setNickName(a);
break;
case 3:
a = t.readString();
e.setProfilePhoto(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.TikTokAccount.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.TikTokAccount.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.TikTokAccount.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getPerformerUid()).length > 0 && t.writeString(1, a),
(a = e.getNickName()).length > 0 && t.writeString(2, a),
(a = e.getProfilePhoto()).length > 0 && t.writeString(3, a)
}
,
proto.webcast.data.TikTokAccount.prototype.getPerformerUid = function() {
return r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.TikTokAccount.prototype.setPerformerUid = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.TikTokAccount.prototype.getNickName = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.TikTokAccount.prototype.setNickName = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.TikTokAccount.prototype.getProfilePhoto = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.TikTokAccount.prototype.setProfilePhoto = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.OrderIDContext.prototype.toObject = function(e) {
return proto.webcast.data.OrderIDContext.toObject(e, this)
}
,
proto.webcast.data.OrderIDContext.toObject = function(e, t) {
var a, o = {
orderidText: r.Message.getFieldWithDefault(t, 1, ""),
orderidNormalImage: (a = t.getOrderidNormalImage()) && n.Image.toObject(e, a),
orderidPlayImage: (a = t.getOrderidPlayImage()) && n.Image.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.OrderIDContext.deserializeBinary = function(e) {
var t = new r.BinaryReader(e)
, a = new proto.webcast.data.OrderIDContext;
return proto.webcast.data.OrderIDContext.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.OrderIDContext.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setOrderidText(a);
break;
case 2:
a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.setOrderidNormalImage(a);
break;
case 3:
a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.setOrderidPlayImage(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.OrderIDContext.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.OrderIDContext.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.OrderIDContext.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getOrderidText()).length > 0 && t.writeString(1, a),
null != (a = e.getOrderidNormalImage()) && t.writeMessage(2, a, n.Image.serializeBinaryToWriter),
null != (a = e.getOrderidPlayImage()) && t.writeMessage(3, a, n.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.OrderIDContext.prototype.getOrderidText = function() {
return r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.OrderIDContext.prototype.setOrderidText = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.OrderIDContext.prototype.getOrderidNormalImage = function() {
return r.Message.getWrapperField(this, n.Image, 2)
}
,
proto.webcast.data.OrderIDContext.prototype.setOrderidNormalImage = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.OrderIDContext.prototype.clearOrderidNormalImage = function() {
return this.setOrderidNormalImage(undefined)
}
,
proto.webcast.data.OrderIDContext.prototype.hasOrderidNormalImage = function() {
return null != r.Message.getField(this, 2)
}
,
proto.webcast.data.OrderIDContext.prototype.getOrderidPlayImage = function() {
return r.Message.getWrapperField(this, n.Image, 3)
}
,
proto.webcast.data.OrderIDContext.prototype.setOrderidPlayImage = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.OrderIDContext.prototype.clearOrderidPlayImage = function() {
return this.setOrderidPlayImage(undefined)
}
,
proto.webcast.data.OrderIDContext.prototype.hasOrderidPlayImage = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.PerformLink.repeatedFields_ = [4],
r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.PerformLink.prototype.toObject = function(e) {
return proto.webcast.data.PerformLink.toObject(e, this)
}
,
proto.webcast.data.PerformLink.toObject = function(e, t) {
var a, o = {
programmeName: r.Message.getFieldWithDefault(t, 1, ""),
performerName: r.Message.getFieldWithDefault(t, 2, ""),
tiktokAccount: (a = t.getTiktokAccount()) && proto.webcast.data.TikTokAccount.toObject(e, a),
labelList: null == (a = r.Message.getRepeatedField(t, 4)) ? undefined : a,
coverImage: (a = t.getCoverImage()) && n.Image.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.PerformLink.deserializeBinary = function(e) {
var t = new r.BinaryReader(e)
, a = new proto.webcast.data.PerformLink;
return proto.webcast.data.PerformLink.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.PerformLink.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setProgrammeName(a);
break;
case 2:
a = t.readString();
e.setPerformerName(a);
break;
case 3:
a = new proto.webcast.data.TikTokAccount;
t.readMessage(a, proto.webcast.data.TikTokAccount.deserializeBinaryFromReader),
e.setTiktokAccount(a);
break;
case 4:
a = t.readString();
e.addLabel(a);
break;
case 5:
a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.setCoverImage(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.PerformLink.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.PerformLink.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.PerformLink.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getProgrammeName()).length > 0 && t.writeString(1, a),
(a = e.getPerformerName()).length > 0 && t.writeString(2, a),
null != (a = e.getTiktokAccount()) && t.writeMessage(3, a, proto.webcast.data.TikTokAccount.serializeBinaryToWriter),
(a = e.getLabelList()).length > 0 && t.writeRepeatedString(4, a),
null != (a = e.getCoverImage()) && t.writeMessage(5, a, n.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.PerformLink.prototype.getProgrammeName = function() {
return r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.PerformLink.prototype.setProgrammeName = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.PerformLink.prototype.getPerformerName = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.PerformLink.prototype.setPerformerName = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.PerformLink.prototype.getTiktokAccount = function() {
return r.Message.getWrapperField(this, proto.webcast.data.TikTokAccount, 3)
}
,
proto.webcast.data.PerformLink.prototype.setTiktokAccount = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.PerformLink.prototype.clearTiktokAccount = function() {
return this.setTiktokAccount(undefined)
}
,
proto.webcast.data.PerformLink.prototype.hasTiktokAccount = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.PerformLink.prototype.getLabelList = function() {
return r.Message.getRepeatedField(this, 4)
}
,
proto.webcast.data.PerformLink.prototype.setLabelList = function(e) {
return r.Message.setField(this, 4, e || [])
}
,
proto.webcast.data.PerformLink.prototype.addLabel = function(e, t) {
return r.Message.addToRepeatedField(this, 4, e, t)
}
,
proto.webcast.data.PerformLink.prototype.clearLabelList = function() {
return this.setLabelList([])
}
,
proto.webcast.data.PerformLink.prototype.getCoverImage = function() {
return r.Message.getWrapperField(this, n.Image, 5)
}
,
proto.webcast.data.PerformLink.prototype.setCoverImage = function(e) {
return r.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.PerformLink.prototype.clearCoverImage = function() {
return this.setCoverImage(undefined)
}
,
proto.webcast.data.PerformLink.prototype.hasCoverImage = function() {
return null != r.Message.getField(this, 5)
}
,
r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.InteractiveLink.prototype.toObject = function(e) {
return proto.webcast.data.InteractiveLink.toObject(e, this)
}
,
proto.webcast.data.InteractiveLink.toObject = function(e, t) {
var a = {
interactiveName: r.Message.getFieldWithDefault(t, 1, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.InteractiveLink.deserializeBinary = function(e) {
var t = new r.BinaryReader(e)
, a = new proto.webcast.data.InteractiveLink;
return proto.webcast.data.InteractiveLink.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.InteractiveLink.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
if (1 === t.getFieldNumber()) {
var a = t.readString();
e.setInteractiveName(a)
} else
t.skipField()
}
return e
}
,
proto.webcast.data.InteractiveLink.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.InteractiveLink.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.InteractiveLink.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getInteractiveName()).length > 0 && t.writeString(1, a)
}
,
proto.webcast.data.InteractiveLink.prototype.getInteractiveName = function() {
return r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.InteractiveLink.prototype.setInteractiveName = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.Programme.prototype.toObject = function(e) {
return proto.webcast.data.Programme.toObject(e, this)
}
,
proto.webcast.data.Programme.toObject = function(e, t) {
var a, o = {
id: r.Message.getFieldWithDefault(t, 1, ""),
linkType: r.Message.getFieldWithDefault(t, 2, 0),
performLink: (a = t.getPerformLink()) && proto.webcast.data.PerformLink.toObject(e, a),
interactiveLink: (a = t.getInteractiveLink()) && proto.webcast.data.InteractiveLink.toObject(e, a),
state: r.Message.getFieldWithDefault(t, 5, 0),
description: r.Message.getFieldWithDefault(t, 6, ""),
startTime: r.Message.getFieldWithDefault(t, 7, "0"),
endTime: r.Message.getFieldWithDefault(t, 8, "0"),
orderidType: r.Message.getFieldWithDefault(t, 9, 0),
orderidContext: (a = t.getOrderidContext()) && proto.webcast.data.OrderIDContext.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.Programme.deserializeBinary = function(e) {
var t = new r.BinaryReader(e)
, a = new proto.webcast.data.Programme;
return proto.webcast.data.Programme.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.Programme.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.readEnum();
e.setLinkType(a);
break;
case 3:
a = new proto.webcast.data.PerformLink;
t.readMessage(a, proto.webcast.data.PerformLink.deserializeBinaryFromReader),
e.setPerformLink(a);
break;
case 4:
a = new proto.webcast.data.InteractiveLink;
t.readMessage(a, proto.webcast.data.InteractiveLink.deserializeBinaryFromReader),
e.setInteractiveLink(a);
break;
case 5:
a = t.readEnum();
e.setState(a);
break;
case 6:
a = t.readString();
e.setDescription(a);
break;
case 7:
a = t.readInt64String();
e.setStartTime(a);
break;
case 8:
a = t.readInt64String();
e.setEndTime(a);
break;
case 9:
a = t.readEnum();
e.setOrderidType(a);
break;
case 10:
a = new proto.webcast.data.OrderIDContext;
t.readMessage(a, proto.webcast.data.OrderIDContext.deserializeBinaryFromReader),
e.setOrderidContext(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.Programme.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.Programme.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.Programme.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getId()).length > 0 && t.writeString(1, a),
0 !== (a = e.getLinkType()) && t.writeEnum(2, a),
null != (a = e.getPerformLink()) && t.writeMessage(3, a, proto.webcast.data.PerformLink.serializeBinaryToWriter),
null != (a = e.getInteractiveLink()) && t.writeMessage(4, a, proto.webcast.data.InteractiveLink.serializeBinaryToWriter),
0 !== (a = e.getState()) && t.writeEnum(5, a),
(a = e.getDescription()).length > 0 && t.writeString(6, a),
a = e.getStartTime(),
0 !== parseInt(a, 10) && t.writeInt64String(7, a),
a = e.getEndTime(),
0 !== parseInt(a, 10) && t.writeInt64String(8, a),
0 !== (a = e.getOrderidType()) && t.writeEnum(9, a),
null != (a = e.getOrderidContext()) && t.writeMessage(10, a, proto.webcast.data.OrderIDContext.serializeBinaryToWriter)
}
,
proto.webcast.data.Programme.prototype.getId = function() {
return r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.Programme.prototype.setId = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.Programme.prototype.getLinkType = function() {
return r.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.Programme.prototype.setLinkType = function(e) {
return r.Message.setProto3EnumField(this, 2, e)
}
,
proto.webcast.data.Programme.prototype.getPerformLink = function() {
return r.Message.getWrapperField(this, proto.webcast.data.PerformLink, 3)
}
,
proto.webcast.data.Programme.prototype.setPerformLink = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.Programme.prototype.clearPerformLink = function() {
return this.setPerformLink(undefined)
}
,
proto.webcast.data.Programme.prototype.hasPerformLink = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.Programme.prototype.getInteractiveLink = function() {
return r.Message.getWrapperField(this, proto.webcast.data.InteractiveLink, 4)
}
,
proto.webcast.data.Programme.prototype.setInteractiveLink = function(e) {
return r.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.Programme.prototype.clearInteractiveLink = function() {
return this.setInteractiveLink(undefined)
}
,
proto.webcast.data.Programme.prototype.hasInteractiveLink = function() {
return null != r.Message.getField(this, 4)
}
,
proto.webcast.data.Programme.prototype.getState = function() {
return r.Message.getFieldWithDefault(this, 5, 0)
}
,
proto.webcast.data.Programme.prototype.setState = function(e) {
return r.Message.setProto3EnumField(this, 5, e)
}
,
proto.webcast.data.Programme.prototype.getDescription = function() {
return r.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.Programme.prototype.setDescription = function(e) {
return r.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.Programme.prototype.getStartTime = function() {
return r.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.Programme.prototype.setStartTime = function(e) {
return r.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.Programme.prototype.getEndTime = function() {
return r.Message.getFieldWithDefault(this, 8, "0")
}
,
proto.webcast.data.Programme.prototype.setEndTime = function(e) {
return r.Message.setProto3StringIntField(this, 8, e)
}
,
proto.webcast.data.Programme.prototype.getOrderidType = function() {
return r.Message.getFieldWithDefault(this, 9, 0)
}
,
proto.webcast.data.Programme.prototype.setOrderidType = function(e) {
return r.Message.setProto3EnumField(this, 9, e)
}
,
proto.webcast.data.Programme.prototype.getOrderidContext = function() {
return r.Message.getWrapperField(this, proto.webcast.data.OrderIDContext, 10)
}
,
proto.webcast.data.Programme.prototype.setOrderidContext = function(e) {
return r.Message.setWrapperField(this, 10, e)
}
,
proto.webcast.data.Programme.prototype.clearOrderidContext = function() {
return this.setOrderidContext(undefined)
}
,
proto.webcast.data.Programme.prototype.hasOrderidContext = function() {
return null != r.Message.getField(this, 10)
}
,
proto.webcast.data.Programmeinfo.repeatedFields_ = [5],
r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.Programmeinfo.prototype.toObject = function(e) {
return proto.webcast.data.Programmeinfo.toObject(e, this)
}
,
proto.webcast.data.Programmeinfo.toObject = function(e, t) {
var a, o = {
titleType: r.Message.getFieldWithDefault(t, 1, 0),
title: r.Message.getFieldWithDefault(t, 2, ""),
programmeType: r.Message.getFieldWithDefault(t, 3, 0),
hvScreens: r.Message.getFieldWithDefault(t, 4, 0),
appIdsList: null == (a = r.Message.getRepeatedField(t, 5)) ? undefined : a,
description: r.Message.getFieldWithDefault(t, 6, "")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.Programmeinfo.deserializeBinary = function(e) {
var t = new r.BinaryReader(e)
, a = new proto.webcast.data.Programmeinfo;
return proto.webcast.data.Programmeinfo.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.Programmeinfo.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readEnum();
e.setTitleType(a);
break;
case 2:
a = t.readString();
e.setTitle(a);
break;
case 3:
a = t.readEnum();
e.setProgrammeType(a);
break;
case 4:
a = t.readInt32();
e.setHvScreens(a);
break;
case 5:
for (var r = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()], o = 0; o < r.length; o++)
e.addAppIds(r[o]);
break;
case 6:
a = t.readString();
e.setDescription(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.Programmeinfo.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.Programmeinfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.Programmeinfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
0 !== (a = e.getTitleType()) && t.writeEnum(1, a),
(a = e.getTitle()).length > 0 && t.writeString(2, a),
0 !== (a = e.getProgrammeType()) && t.writeEnum(3, a),
0 !== (a = e.getHvScreens()) && t.writeInt32(4, a),
(a = e.getAppIdsList()).length > 0 && t.writePackedInt64String(5, a),
(a = e.getDescription()).length > 0 && t.writeString(6, a)
}
,
proto.webcast.data.Programmeinfo.prototype.getTitleType = function() {
return r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.Programmeinfo.prototype.setTitleType = function(e) {
return r.Message.setProto3EnumField(this, 1, e)
}
,
proto.webcast.data.Programmeinfo.prototype.getTitle = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.Programmeinfo.prototype.setTitle = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.Programmeinfo.prototype.getProgrammeType = function() {
return r.Message.getFieldWithDefault(this, 3, 0)
}
,
proto.webcast.data.Programmeinfo.prototype.setProgrammeType = function(e) {
return r.Message.setProto3EnumField(this, 3, e)
}
,
proto.webcast.data.Programmeinfo.prototype.getHvScreens = function() {
return r.Message.getFieldWithDefault(this, 4, 0)
}
,
proto.webcast.data.Programmeinfo.prototype.setHvScreens = function(e) {
return r.Message.setProto3IntField(this, 4, e)
}
,
proto.webcast.data.Programmeinfo.prototype.getAppIdsList = function() {
return r.Message.getRepeatedField(this, 5)
}
,
proto.webcast.data.Programmeinfo.prototype.setAppIdsList = function(e) {
return r.Message.setField(this, 5, e || [])
}
,
proto.webcast.data.Programmeinfo.prototype.addAppIds = function(e, t) {
return r.Message.addToRepeatedField(this, 5, e, t)
}
,
proto.webcast.data.Programmeinfo.prototype.clearAppIdsList = function() {
return this.setAppIdsList([])
}
,
proto.webcast.data.Programmeinfo.prototype.getDescription = function() {
return r.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.Programmeinfo.prototype.setDescription = function(e) {
return r.Message.setProto3StringField(this, 6, e)
}
,
r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ProgrammeCover.prototype.toObject = function(e) {
return proto.webcast.data.ProgrammeCover.toObject(e, this)
}
,
proto.webcast.data.ProgrammeCover.toObject = function(e, t) {
var a, o = {
entranceImage: (a = t.getEntranceImage()) && n.Image.toObject(e, a),
headImage: (a = t.getHeadImage()) && n.Image.toObject(e, a),
backgroundImage: (a = t.getBackgroundImage()) && n.Image.toObject(e, a),
colourValue: r.Message.getFieldWithDefault(t, 4, "")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ProgrammeCover.deserializeBinary = function(e) {
var t = new r.BinaryReader(e)
, a = new proto.webcast.data.ProgrammeCover;
return proto.webcast.data.ProgrammeCover.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ProgrammeCover.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.setEntranceImage(a);
break;
case 2:
a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.setHeadImage(a);
break;
case 3:
a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.setBackgroundImage(a);
break;
case 4:
a = t.readString();
e.setColourValue(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ProgrammeCover.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.ProgrammeCover.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ProgrammeCover.serializeBinaryToWriter = function(e, t) {
var a = undefined;
null != (a = e.getEntranceImage()) && t.writeMessage(1, a, n.Image.serializeBinaryToWriter),
null != (a = e.getHeadImage()) && t.writeMessage(2, a, n.Image.serializeBinaryToWriter),
null != (a = e.getBackgroundImage()) && t.writeMessage(3, a, n.Image.serializeBinaryToWriter),
(a = e.getColourValue()).length > 0 && t.writeString(4, a)
}
,
proto.webcast.data.ProgrammeCover.prototype.getEntranceImage = function() {
return r.Message.getWrapperField(this, n.Image, 1)
}
,
proto.webcast.data.ProgrammeCover.prototype.setEntranceImage = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.ProgrammeCover.prototype.clearEntranceImage = function() {
return this.setEntranceImage(undefined)
}
,
proto.webcast.data.ProgrammeCover.prototype.hasEntranceImage = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.ProgrammeCover.prototype.getHeadImage = function() {
return r.Message.getWrapperField(this, n.Image, 2)
}
,
proto.webcast.data.ProgrammeCover.prototype.setHeadImage = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.ProgrammeCover.prototype.clearHeadImage = function() {
return this.setHeadImage(undefined)
}
,
proto.webcast.data.ProgrammeCover.prototype.hasHeadImage = function() {
return null != r.Message.getField(this, 2)
}
,
proto.webcast.data.ProgrammeCover.prototype.getBackgroundImage = function() {
return r.Message.getWrapperField(this, n.Image, 3)
}
,
proto.webcast.data.ProgrammeCover.prototype.setBackgroundImage = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.ProgrammeCover.prototype.clearBackgroundImage = function() {
return this.setBackgroundImage(undefined)
}
,
proto.webcast.data.ProgrammeCover.prototype.hasBackgroundImage = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.ProgrammeCover.prototype.getColourValue = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.ProgrammeCover.prototype.setColourValue = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.DownloadModule.prototype.toObject = function(e) {
return proto.webcast.data.DownloadModule.toObject(e, this)
}
,
proto.webcast.data.DownloadModule.toObject = function(e, t) {
var a, o = {
downloadAuth: r.Message.getBooleanFieldWithDefault(t, 1, !1),
buttonText: r.Message.getFieldWithDefault(t, 2, ""),
buttonIcon: (a = t.getButtonIcon()) && n.Image.toObject(e, a),
buttonTextColourValue: r.Message.getFieldWithDefault(t, 4, ""),
buttonColourValue: r.Message.getFieldWithDefault(t, 5, ""),
downloadLinkMap: (a = t.getDownloadLinkMap()) ? a.toObject(e, undefined) : []
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.DownloadModule.deserializeBinary = function(e) {
var t = new r.BinaryReader(e)
, a = new proto.webcast.data.DownloadModule;
return proto.webcast.data.DownloadModule.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.DownloadModule.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readBool();
e.setDownloadAuth(a);
break;
case 2:
a = t.readString();
e.setButtonText(a);
break;
case 3:
a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.setButtonIcon(a);
break;
case 4:
a = t.readString();
e.setButtonTextColourValue(a);
break;
case 5:
a = t.readString();
e.setButtonColourValue(a);
break;
case 6:
a = e.getDownloadLinkMap();
t.readMessage(a, (function(e, t) {
r.Map.deserializeBinary(e, t, r.BinaryReader.prototype.readInt64, r.BinaryReader.prototype.readString, null, 0, "")
}
));
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.DownloadModule.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.DownloadModule.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.DownloadModule.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getDownloadAuth()) && t.writeBool(1, a),
(a = e.getButtonText()).length > 0 && t.writeString(2, a),
null != (a = e.getButtonIcon()) && t.writeMessage(3, a, n.Image.serializeBinaryToWriter),
(a = e.getButtonTextColourValue()).length > 0 && t.writeString(4, a),
(a = e.getButtonColourValue()).length > 0 && t.writeString(5, a),
(a = e.getDownloadLinkMap(!0)) && a.getLength() > 0 && a.serializeBinary(6, t, r.BinaryWriter.prototype.writeInt64, r.BinaryWriter.prototype.writeString)
}
,
proto.webcast.data.DownloadModule.prototype.getDownloadAuth = function() {
return r.Message.getBooleanFieldWithDefault(this, 1, !1)
}
,
proto.webcast.data.DownloadModule.prototype.setDownloadAuth = function(e) {
return r.Message.setProto3BooleanField(this, 1, e)
}
,
proto.webcast.data.DownloadModule.prototype.getButtonText = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.DownloadModule.prototype.setButtonText = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.DownloadModule.prototype.getButtonIcon = function() {
return r.Message.getWrapperField(this, n.Image, 3)
}
,
proto.webcast.data.DownloadModule.prototype.setButtonIcon = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.DownloadModule.prototype.clearButtonIcon = function() {
return this.setButtonIcon(undefined)
}
,
proto.webcast.data.DownloadModule.prototype.hasButtonIcon = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.DownloadModule.prototype.getButtonTextColourValue = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.DownloadModule.prototype.setButtonTextColourValue = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.DownloadModule.prototype.getButtonColourValue = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.DownloadModule.prototype.setButtonColourValue = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.DownloadModule.prototype.getDownloadLinkMap = function(e) {
return r.Message.getMapField(this, 6, e, null)
}
,
proto.webcast.data.DownloadModule.prototype.clearDownloadLinkMap = function() {
return this.getDownloadLinkMap().clear(),
this
}
,
r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.OperationModule.prototype.toObject = function(e) {
return proto.webcast.data.OperationModule.toObject(e, this)
}
,
proto.webcast.data.OperationModule.toObject = function(e, t) {
var a, o = {
operationAuth: r.Message.getBooleanFieldWithDefault(t, 1, !1),
operationImage: (a = t.getOperationImage()) && n.Image.toObject(e, a),
jumpLinkMap: (a = t.getJumpLinkMap()) ? a.toObject(e, undefined) : []
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.OperationModule.deserializeBinary = function(e) {
var t = new r.BinaryReader(e)
, a = new proto.webcast.data.OperationModule;
return proto.webcast.data.OperationModule.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.OperationModule.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readBool();
e.setOperationAuth(a);
break;
case 2:
a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader),
e.setOperationImage(a);
break;
case 3:
a = e.getJumpLinkMap();
t.readMessage(a, (function(e, t) {
r.Map.deserializeBinary(e, t, r.BinaryReader.prototype.readInt64, r.BinaryReader.prototype.readString, null, 0, "")
}
));
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.OperationModule.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.OperationModule.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.OperationModule.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getOperationAuth()) && t.writeBool(1, a),
null != (a = e.getOperationImage()) && t.writeMessage(2, a, n.Image.serializeBinaryToWriter),
(a = e.getJumpLinkMap(!0)) && a.getLength() > 0 && a.serializeBinary(3, t, r.BinaryWriter.prototype.writeInt64, r.BinaryWriter.prototype.writeString)
}
,
proto.webcast.data.OperationModule.prototype.getOperationAuth = function() {
return r.Message.getBooleanFieldWithDefault(this, 1, !1)
}
,
proto.webcast.data.OperationModule.prototype.setOperationAuth = function(e) {
return r.Message.setProto3BooleanField(this, 1, e)
}
,
proto.webcast.data.OperationModule.prototype.getOperationImage = function() {
return r.Message.getWrapperField(this, n.Image, 2)
}
,
proto.webcast.data.OperationModule.prototype.setOperationImage = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.OperationModule.prototype.clearOperationImage = function() {
return this.setOperationImage(undefined)
}
,
proto.webcast.data.OperationModule.prototype.hasOperationImage = function() {
return null != r.Message.getField(this, 2)
}
,
proto.webcast.data.OperationModule.prototype.getJumpLinkMap = function(e) {
return r.Message.getMapField(this, 3, e, null)
}
,
proto.webcast.data.OperationModule.prototype.clearJumpLinkMap = function() {
return this.getJumpLinkMap().clear(),
this
}
,
r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ProgrammeOperation.prototype.toObject = function(e) {
return proto.webcast.data.ProgrammeOperation.toObject(e, this)
}
,
proto.webcast.data.ProgrammeOperation.toObject = function(e, t) {
var a, r = {
operationModule: (a = t.getOperationModule()) && proto.webcast.data.OperationModule.toObject(e, a),
downloadModule: (a = t.getDownloadModule()) && proto.webcast.data.DownloadModule.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ProgrammeOperation.deserializeBinary = function(e) {
var t = new r.BinaryReader(e)
, a = new proto.webcast.data.ProgrammeOperation;
return proto.webcast.data.ProgrammeOperation.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ProgrammeOperation.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = new proto.webcast.data.OperationModule;
t.readMessage(a, proto.webcast.data.OperationModule.deserializeBinaryFromReader),
e.setOperationModule(a);
break;
case 2:
a = new proto.webcast.data.DownloadModule;
t.readMessage(a, proto.webcast.data.DownloadModule.deserializeBinaryFromReader),
e.setDownloadModule(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ProgrammeOperation.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.ProgrammeOperation.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ProgrammeOperation.serializeBinaryToWriter = function(e, t) {
var a = undefined;
null != (a = e.getOperationModule()) && t.writeMessage(1, a, proto.webcast.data.OperationModule.serializeBinaryToWriter),
null != (a = e.getDownloadModule()) && t.writeMessage(2, a, proto.webcast.data.DownloadModule.serializeBinaryToWriter)
}
,
proto.webcast.data.ProgrammeOperation.prototype.getOperationModule = function() {
return r.Message.getWrapperField(this, proto.webcast.data.OperationModule, 1)
}
,
proto.webcast.data.ProgrammeOperation.prototype.setOperationModule = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.ProgrammeOperation.prototype.clearOperationModule = function() {
return this.setOperationModule(undefined)
}
,
proto.webcast.data.ProgrammeOperation.prototype.hasOperationModule = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.ProgrammeOperation.prototype.getDownloadModule = function() {
return r.Message.getWrapperField(this, proto.webcast.data.DownloadModule, 2)
}
,
proto.webcast.data.ProgrammeOperation.prototype.setDownloadModule = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.ProgrammeOperation.prototype.clearDownloadModule = function() {
return this.setDownloadModule(undefined)
}
,
proto.webcast.data.ProgrammeOperation.prototype.hasDownloadModule = function() {
return null != r.Message.getField(this, 2)
}
,
r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ProgrammeColourValue.prototype.toObject = function(e) {
return proto.webcast.data.ProgrammeColourValue.toObject(e, this)
}
,
proto.webcast.data.ProgrammeColourValue.toObject = function(e, t) {
var a = {
titlecv: r.Message.getFieldWithDefault(t, 1, ""),
descriptioncv: r.Message.getFieldWithDefault(t, 2, ""),
programNamecv: r.Message.getFieldWithDefault(t, 3, ""),
performerNamecv: r.Message.getFieldWithDefault(t, 4, ""),
programDescriptioncv: r.Message.getFieldWithDefault(t, 5, ""),
highLightcv: r.Message.getFieldWithDefault(t, 6, ""),
splitLinecv: r.Message.getFieldWithDefault(t, 7, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.ProgrammeColourValue.deserializeBinary = function(e) {
var t = new r.BinaryReader(e)
, a = new proto.webcast.data.ProgrammeColourValue;
return proto.webcast.data.ProgrammeColourValue.deserializeBinaryFromReader(a, t)
}
,
proto.webcast.data.ProgrammeColourValue.deserializeBinaryFromReader = function(e, t) {
for (; t.nextField() && !t.isEndGroup(); ) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setTitlecv(a);
break;
case 2:
a = t.readString();
e.setDescriptioncv(a);
break;
case 3:
a = t.readString();
e.setProgramNamecv(a);
break;
case 4:
a = t.readString();
e.setPerformerNamecv(a);
break;
case 5:
a = t.readString();
e.setProgramDescriptioncv(a);
break;
case 6:
a = t.readString();
e.setHighLightcv(a);
break;
case 7:
a = t.readString();
e.setSplitLinecv(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ProgrammeColourValue.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.ProgrammeColourValue.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ProgrammeColourValue.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getTitlecv()).length > 0 && t.writeString(1, a),
(a = e.getDescriptioncv()).length > 0 && t.writeString(2, a),
(a = e.getProgramNamecv()).length > 0 && t.writeString(3, a),
(a = e.getPerformerNamecv()).length > 0 && t.writeString(4, a),
(a = e.getProgramDescriptioncv()).length > 0 && t.writeString(5, a),
(a = e.getHighLightcv()).length > 0 && t.writeString(6, a),
(a = e.getSplitLinecv()).length > 0 && t.writeString(7, a)
}
,
proto.webcast.data.ProgrammeColourValue.prototype.getTitlecv = function() {
return r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ProgrammeColourValue.prototype.setTitlecv = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ProgrammeColourValue.prototype.getDescriptioncv = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.ProgrammeColourValue.prototype.setDescriptioncv = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.ProgrammeColourValue.prototype.getProgramNamecv = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.ProgrammeColourValue.prototype.setProgramNamecv = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.ProgrammeColourValue.prototype.getPerformerNamecv = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.ProgrammeColourValue.prototype.setPerformerNamecv = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.ProgrammeColourValue.prototype.getProgramDescriptioncv = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.ProgrammeColourValue.prototype.setProgramDescriptioncv = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.ProgrammeColourValue.prototype.getHighLightcv = function() {
return r.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.ProgrammeColourValue.prototype.setHighLightcv = function(e) {
return r.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.ProgrammeColourValue.prototype.getSplitLinecv = function() {
return r.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.ProgrammeColourValue.prototype.setSplitLinecv = function(e) {
return r.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.ProgrammeTitleType = {
TEXTTYPE: 0,
IMAGETYPE: 1
},
proto.webcast.data.ProgrammeType = {
PERFORMTYPE: 0,
OTHERTYPE: 1
},
proto.webcast.data.ProgrammeState = {
NOTSTARTED: 0,
UNDERWAY: 1,
OVER: 2,
TOBEGIN: 3
},
proto.webcast.data.ProgrammeLinkType = {
PERFORMLINKTYPE: 0,
INTERACTIVELINKTYPE: 1
},
proto.webcast.data.OrderIDType = {
DEFAULTIDTYPE: 0,
TEXTIDTYPE: 1,
IMAGEIDTYPE: 2
},
o.object.extend(t, proto.webcast.data)
},
39685: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, n = a(36267);
o.object.extend(proto, n);
var s = a(32799);
o.object.extend(proto, s);
var d = a(10030);
o.object.extend(proto, d);
var p = a(96309);
o.object.extend(proto, p);
var c = a(31235);
o.object.extend(proto, c);
var u = a(52514);
o.object.extend(proto, u);
var g = a(77814);
o.object.extend(proto, g),
o.exportSymbol("proto.webcast.data.AlbumItem", null, i),
o.exportSymbol("proto.webcast.data.CommentSpecialEffectData", null, i),
o.exportSymbol("proto.webcast.data.CommentSpecialEffectData.TimeRange", null, i),
o.exportSymbol("proto.webcast.data.CommentSpecialEffectType", null, i),
o.exportSymbol("proto.webcast.data.CommentTcsInfo", null, i),
o.exportSymbol("proto.webcast.data.DefinitionInfo", null, i),
o.exportSymbol("proto.webcast.data.Episode", null, i),
o.exportSymbol("proto.webcast.data.EpisodeActors", null, i),
o.exportSymbol("proto.webcast.data.EpisodeBasicInfo", null, i),
o.exportSymbol("proto.webcast.data.EpisodeCorrelationSeasonInfo", null, i),
o.exportSymbol("proto.webcast.data.EpisodeExtra", null, i),
o.exportSymbol("proto.webcast.data.EpisodeExtraBasicInfo", null, i),
o.exportSymbol("proto.webcast.data.EpisodeHighLight", null, i),
o.exportSymbol("proto.webcast.data.EpisodePaidInfo", null, i),
o.exportSymbol("proto.webcast.data.EpisodeStartHighLight", null, i),
o.exportSymbol("proto.webcast.data.EpisodeStatus", null, i),
o.exportSymbol("proto.webcast.data.FeedsVSInfo", null, i),
o.exportSymbol("proto.webcast.data.FreeViewRange", null, i),
o.exportSymbol("proto.webcast.data.ItemComment", null, i),
o.exportSymbol("proto.webcast.data.MoreEntry", null, i),
o.exportSymbol("proto.webcast.data.MoreHighLightList", null, i),
o.exportSymbol("proto.webcast.data.MoreHighlight", null, i),
o.exportSymbol("proto.webcast.data.MoreSeason", null, i),
o.exportSymbol("proto.webcast.data.MultiSeasonInfo", null, i),
o.exportSymbol("proto.webcast.data.OnlyTaInfo", null, i),
o.exportSymbol("proto.webcast.data.OnlyTaSegment", null, i),
o.exportSymbol("proto.webcast.data.OnlyTaSegments", null, i),
o.exportSymbol("proto.webcast.data.PCInfo", null, i),
o.exportSymbol("proto.webcast.data.PaidLiveInfo", null, i),
o.exportSymbol("proto.webcast.data.PlayerProgressBarSkin", null, i),
o.exportSymbol("proto.webcast.data.ReplayStreamUrl", null, i),
o.exportSymbol("proto.webcast.data.SearchInfo", null, i),
o.exportSymbol("proto.webcast.data.SearchLoadMoreData", null, i),
o.exportSymbol("proto.webcast.data.SearchLoadMoreData.SearchData", null, i),
o.exportSymbol("proto.webcast.data.SearchRelationSeasonInfo", null, i),
o.exportSymbol("proto.webcast.data.Season", null, i),
o.exportSymbol("proto.webcast.data.SeasonAlbumTab", null, i),
o.exportSymbol("proto.webcast.data.SeasonBasicInfo", null, i),
o.exportSymbol("proto.webcast.data.SeasonBriefInfo", null, i),
o.exportSymbol("proto.webcast.data.SeasonExtraBasicInfo", null, i),
o.exportSymbol("proto.webcast.data.SeasonStatus", null, i),
o.exportSymbol("proto.webcast.data.SeasonTag", null, i),
o.exportSymbol("proto.webcast.data.SeasonTypeEnum", null, i),
o.exportSymbol("proto.webcast.data.SegmentFlowTime", null, i),
o.exportSymbol("proto.webcast.data.Share", null, i),
o.exportSymbol("proto.webcast.data.ShowCenterShowInfo", null, i),
o.exportSymbol("proto.webcast.data.ShowDistributionInfo", null, i),
o.exportSymbol("proto.webcast.data.ShowExperienceInfo", null, i),
o.exportSymbol("proto.webcast.data.ShowGeneralInfo", null, i),
o.exportSymbol("proto.webcast.data.ShowSupplyInfo", null, i),
o.exportSymbol("proto.webcast.data.Statistics", null, i),
o.exportSymbol("proto.webcast.data.StreamAddr", null, i),
o.exportSymbol("proto.webcast.data.StreamVideoMeta", null, i),
o.exportSymbol("proto.webcast.data.StreamVideoMeta.StreamLocation", null, i),
o.exportSymbol("proto.webcast.data.TimePoint", null, i),
o.exportSymbol("proto.webcast.data.ToolbarBackgroundConfig", null, i),
o.exportSymbol("proto.webcast.data.TopicInfo", null, i),
o.exportSymbol("proto.webcast.data.TopicMeta", null, i),
o.exportSymbol("proto.webcast.data.UpdatingStatusEnum", null, i),
o.exportSymbol("proto.webcast.data.UserFilterKeyword", null, i),
o.exportSymbol("proto.webcast.data.UserStatistics", null, i),
o.exportSymbol("proto.webcast.data.VSSearchData", null, i),
o.exportSymbol("proto.webcast.data.VarietyShow", null, i),
o.exportSymbol("proto.webcast.data.VideoInfo", null, i),
o.exportSymbol("proto.webcast.data.VideoInfo.Size", null, i),
o.exportSymbol("proto.webcast.data.VideoInfo.StartLocation", null, i),
o.exportSymbol("proto.webcast.data.VideoModelContainer", null, i),
o.exportSymbol("proto.webcast.data.VideoModelType", null, i),
o.exportSymbol("proto.webcast.data.VideoPlayInfo", null, i),
o.exportSymbol("proto.webcast.data.VideoPlayInfo.Url", null, i),
o.exportSymbol("proto.webcast.data.VsCommentStyle", null, i),
o.exportSymbol("proto.webcast.data.Watermark", null, i),
o.exportSymbol("proto.webcast.data.WatermarkIcon", null, i),
proto.webcast.data.Episode = function(e) {
r.Message.initialize(this, e, 0, 500, proto.webcast.data.Episode.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.Episode, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.Episode.displayName = "proto.webcast.data.Episode"),
proto.webcast.data.PaidLiveInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.PaidLiveInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.PaidLiveInfo.displayName = "proto.webcast.data.PaidLiveInfo"),
proto.webcast.data.EpisodeBasicInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.EpisodeBasicInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.EpisodeBasicInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.EpisodeBasicInfo.displayName = "proto.webcast.data.EpisodeBasicInfo"),
proto.webcast.data.EpisodeExtraBasicInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.EpisodeExtraBasicInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.EpisodeExtraBasicInfo.displayName = "proto.webcast.data.EpisodeExtraBasicInfo"),
proto.webcast.data.SeasonBasicInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.SeasonBasicInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.SeasonBasicInfo.displayName = "proto.webcast.data.SeasonBasicInfo"),
proto.webcast.data.SeasonExtraBasicInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.SeasonExtraBasicInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.SeasonExtraBasicInfo.displayName = "proto.webcast.data.SeasonExtraBasicInfo"),
proto.webcast.data.ShowGeneralInfo = function(e) {
r.Message.initialize(this, e, 0, 500, null, null)
}
,
o.inherits(proto.webcast.data.ShowGeneralInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ShowGeneralInfo.displayName = "proto.webcast.data.ShowGeneralInfo"),
proto.webcast.data.ShowExperienceInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ShowExperienceInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ShowExperienceInfo.displayName = "proto.webcast.data.ShowExperienceInfo"),
proto.webcast.data.ShowDistributionInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ShowDistributionInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ShowDistributionInfo.displayName = "proto.webcast.data.ShowDistributionInfo"),
proto.webcast.data.ShowSupplyInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ShowSupplyInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ShowSupplyInfo.displayName = "proto.webcast.data.ShowSupplyInfo"),
proto.webcast.data.PlayerProgressBarSkin = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.PlayerProgressBarSkin, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.PlayerProgressBarSkin.displayName = "proto.webcast.data.PlayerProgressBarSkin"),
proto.webcast.data.ShowCenterShowInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ShowCenterShowInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ShowCenterShowInfo.displayName = "proto.webcast.data.ShowCenterShowInfo"),
proto.webcast.data.EpisodeCorrelationSeasonInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.EpisodeCorrelationSeasonInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.EpisodeCorrelationSeasonInfo.displayName = "proto.webcast.data.EpisodeCorrelationSeasonInfo"),
proto.webcast.data.PCInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.PCInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.PCInfo.displayName = "proto.webcast.data.PCInfo"),
proto.webcast.data.SearchInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.SearchInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.SearchInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.SearchInfo.displayName = "proto.webcast.data.SearchInfo"),
proto.webcast.data.SearchRelationSeasonInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.SearchRelationSeasonInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.SearchRelationSeasonInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.SearchRelationSeasonInfo.displayName = "proto.webcast.data.SearchRelationSeasonInfo"),
proto.webcast.data.ToolbarBackgroundConfig = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ToolbarBackgroundConfig, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ToolbarBackgroundConfig.displayName = "proto.webcast.data.ToolbarBackgroundConfig"),
proto.webcast.data.FreeViewRange = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.FreeViewRange, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.FreeViewRange.displayName = "proto.webcast.data.FreeViewRange"),
proto.webcast.data.EpisodePaidInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.EpisodePaidInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.EpisodePaidInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.EpisodePaidInfo.displayName = "proto.webcast.data.EpisodePaidInfo"),
proto.webcast.data.Watermark = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.Watermark.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.Watermark, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.Watermark.displayName = "proto.webcast.data.Watermark"),
proto.webcast.data.WatermarkIcon = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.WatermarkIcon, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.WatermarkIcon.displayName = "proto.webcast.data.WatermarkIcon"),
proto.webcast.data.ItemComment = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.ItemComment, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ItemComment.displayName = "proto.webcast.data.ItemComment"),
proto.webcast.data.EpisodeHighLight = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.EpisodeHighLight, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.EpisodeHighLight.displayName = "proto.webcast.data.EpisodeHighLight"),
proto.webcast.data.EpisodeStartHighLight = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.EpisodeStartHighLight, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.EpisodeStartHighLight.displayName = "proto.webcast.data.EpisodeStartHighLight"),
proto.webcast.data.CommentTcsInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.CommentTcsInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.CommentTcsInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.CommentTcsInfo.displayName = "proto.webcast.data.CommentTcsInfo"),
proto.webcast.data.Share = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.Share, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.Share.displayName = "proto.webcast.data.Share"),
proto.webcast.data.MoreHighlight = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.MoreHighlight.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.MoreHighlight, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.MoreHighlight.displayName = "proto.webcast.data.MoreHighlight"),
proto.webcast.data.MoreEntry = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.MoreEntry.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.MoreEntry, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.MoreEntry.displayName = "proto.webcast.data.MoreEntry"),
proto.webcast.data.MoreHighLightList = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.MoreHighLightList.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.MoreHighLightList, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.MoreHighLightList.displayName = "proto.webcast.data.MoreHighLightList"),
proto.webcast.data.UserStatistics = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.UserStatistics, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.UserStatistics.displayName = "proto.webcast.data.UserStatistics"),
proto.webcast.data.SegmentFlowTime = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.SegmentFlowTime, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.SegmentFlowTime.displayName = "proto.webcast.data.SegmentFlowTime"),
proto.webcast.data.Statistics = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.Statistics, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.Statistics.displayName = "proto.webcast.data.Statistics"),
proto.webcast.data.VideoModelContainer = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.VideoModelContainer, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.VideoModelContainer.displayName = "proto.webcast.data.VideoModelContainer"),
proto.webcast.data.VideoPlayInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.VideoPlayInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.VideoPlayInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.VideoPlayInfo.displayName = "proto.webcast.data.VideoPlayInfo"),
proto.webcast.data.VideoPlayInfo.Url = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.VideoPlayInfo.Url, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.VideoPlayInfo.Url.displayName = "proto.webcast.data.VideoPlayInfo.Url"),
proto.webcast.data.DefinitionInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.DefinitionInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.DefinitionInfo.displayName = "proto.webcast.data.DefinitionInfo"),
proto.webcast.data.VideoInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.VideoInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.VideoInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.VideoInfo.displayName = "proto.webcast.data.VideoInfo"),
proto.webcast.data.VideoInfo.StartLocation = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.VideoInfo.StartLocation, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.VideoInfo.StartLocation.displayName = "proto.webcast.data.VideoInfo.StartLocation"),
proto.webcast.data.VideoInfo.Size = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.VideoInfo.Size, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.VideoInfo.Size.displayName = "proto.webcast.data.VideoInfo.Size"),
proto.webcast.data.CommentSpecialEffectData = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.CommentSpecialEffectData.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.CommentSpecialEffectData, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.CommentSpecialEffectData.displayName = "proto.webcast.data.CommentSpecialEffectData"),
proto.webcast.data.CommentSpecialEffectData.TimeRange = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.CommentSpecialEffectData.TimeRange, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.CommentSpecialEffectData.TimeRange.displayName = "proto.webcast.data.CommentSpecialEffectData.TimeRange"),
proto.webcast.data.StreamVideoMeta = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.StreamVideoMeta, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.StreamVideoMeta.displayName = "proto.webcast.data.StreamVideoMeta"),
proto.webcast.data.StreamVideoMeta.StreamLocation = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.StreamVideoMeta.StreamLocation, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.StreamVideoMeta.StreamLocation.displayName = "proto.webcast.data.StreamVideoMeta.StreamLocation"),
proto.webcast.data.ReplayStreamUrl = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.ReplayStreamUrl.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.ReplayStreamUrl, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.ReplayStreamUrl.displayName = "proto.webcast.data.ReplayStreamUrl"),
proto.webcast.data.StreamAddr = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.StreamAddr, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.StreamAddr.displayName = "proto.webcast.data.StreamAddr"),
proto.webcast.data.OnlyTaSegment = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.OnlyTaSegment, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.OnlyTaSegment.displayName = "proto.webcast.data.OnlyTaSegment"),
proto.webcast.data.OnlyTaSegments = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.OnlyTaSegments.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.OnlyTaSegments, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.OnlyTaSegments.displayName = "proto.webcast.data.OnlyTaSegments"),
proto.webcast.data.OnlyTaInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.OnlyTaInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.OnlyTaInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.OnlyTaInfo.displayName = "proto.webcast.data.OnlyTaInfo"),
proto.webcast.data.EpisodeExtra = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.EpisodeExtra, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.EpisodeExtra.displayName = "proto.webcast.data.EpisodeExtra"),
proto.webcast.data.AlbumItem = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.AlbumItem, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.AlbumItem.displayName = "proto.webcast.data.AlbumItem"),
proto.webcast.data.SeasonAlbumTab = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.SeasonAlbumTab.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.SeasonAlbumTab, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.SeasonAlbumTab.displayName = "proto.webcast.data.SeasonAlbumTab"),
proto.webcast.data.EpisodeActors = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.EpisodeActors, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.EpisodeActors.displayName = "proto.webcast.data.EpisodeActors"),
proto.webcast.data.SeasonBriefInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.SeasonBriefInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.SeasonBriefInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.SeasonBriefInfo.displayName = "proto.webcast.data.SeasonBriefInfo"),
proto.webcast.data.Season = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.Season.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.Season, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.Season.displayName = "proto.webcast.data.Season"),
proto.webcast.data.MultiSeasonInfo = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.MultiSeasonInfo.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.MultiSeasonInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.MultiSeasonInfo.displayName = "proto.webcast.data.MultiSeasonInfo"),
proto.webcast.data.SeasonTag = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.SeasonTag, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.SeasonTag.displayName = "proto.webcast.data.SeasonTag"),
proto.webcast.data.VarietyShow = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.VarietyShow.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.VarietyShow, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.VarietyShow.displayName = "proto.webcast.data.VarietyShow"),
proto.webcast.data.TopicInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.TopicInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.TopicInfo.displayName = "proto.webcast.data.TopicInfo"),
proto.webcast.data.TopicMeta = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.TopicMeta.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.TopicMeta, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.TopicMeta.displayName = "proto.webcast.data.TopicMeta"),
proto.webcast.data.TimePoint = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.TimePoint, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.TimePoint.displayName = "proto.webcast.data.TimePoint"),
proto.webcast.data.FeedsVSInfo = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.FeedsVSInfo, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.FeedsVSInfo.displayName = "proto.webcast.data.FeedsVSInfo"),
proto.webcast.data.UserFilterKeyword = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.UserFilterKeyword, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.UserFilterKeyword.displayName = "proto.webcast.data.UserFilterKeyword"),
proto.webcast.data.MoreSeason = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.MoreSeason.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.MoreSeason, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.MoreSeason.displayName = "proto.webcast.data.MoreSeason"),
proto.webcast.data.VSSearchData = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.VSSearchData.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.VSSearchData, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.VSSearchData.displayName = "proto.webcast.data.VSSearchData"),
proto.webcast.data.SearchLoadMoreData = function(e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.SearchLoadMoreData.repeatedFields_, null)
}
,
o.inherits(proto.webcast.data.SearchLoadMoreData, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.SearchLoadMoreData.displayName = "proto.webcast.data.SearchLoadMoreData"),
proto.webcast.data.SearchLoadMoreData.SearchData = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.SearchLoadMoreData.SearchData, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.SearchLoadMoreData.SearchData.displayName = "proto.webcast.data.SearchLoadMoreData.SearchData"),
proto.webcast.data.Episode.repeatedFields_ = [20, 27, 29, 32, 54, 60],
r.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, o = {
episodeId: r.Message.getFieldWithDefault(t, 1, "0"),
episodeIdStr: r.Message.getFieldWithDefault(t, 2, ""),
itemId: r.Message.getFieldWithDefault(t, 3, ""),
status: r.Message.getFieldWithDefault(t, 4, 0),
owner: (a = t.getOwner()) && s.User.toObject(e, a),
ownerUserId: r.Message.getFieldWithDefault(t, 6, "0"),
title: r.Message.getFieldWithDefault(t, 7, ""),
watchInfo: (a = t.getWatchInfo()) && d.WatchInfo.toObject(e, a),
background: (a = t.getBackground()) && u.Image.toObject(e, a),
releaseTime: r.Message.getFieldWithDefault(t, 10, ""),
attachRoomId: r.Message.getFieldWithDefault(t, 11, "0"),
attachRoomIdStr: r.Message.getFieldWithDefault(t, 12, ""),
liveId: r.Message.getFieldWithDefault(t, 13, "0"),
currentPeriod: r.Message.getFieldWithDefault(t, 14, ""),
seasonId: r.Message.getFieldWithDefault(t, 15, "0"),
cover: (a = t.getCover()) && u.Image.toObject(e, a),
coverVertical: (a = t.getCoverVertical()) && u.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: r.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: r.Message.getFieldWithDefault(t, 26, ""),
toolbarListList: r.Message.toObjectList(t.getToolbarListList(), d.ToolbarItemConfig.toObject, e),
relationPlaceText: r.Message.getFieldWithDefault(t, 28, ""),
operationPlaceTextListList: null == (a = r.Message.getRepeatedField(t, 29)) ? undefined : a,
showName: r.Message.getFieldWithDefault(t, 30, ""),
briefInfoJson: r.Message.getFieldWithDefault(t, 31, ""),
topicListList: r.Message.toObjectList(t.getTopicListList(), proto.webcast.data.TopicInfo.toObject, e),
roomAuth: (a = t.getRoomAuth()) && d.RoomAuthStatus.toObject(e, a),
collected: r.Message.getBooleanFieldWithDefault(t, 34, !1),
roomId: r.Message.getFieldWithDefault(t, 35, "0"),
topicInfoUrl: r.Message.getFieldWithDefault(t, 36, ""),
watchPeriod: r.Message.getFieldWithDefault(t, 37, "0"),
latestPeriod: r.Message.getFieldWithDefault(t, 38, "0"),
commentTcsInfo: (a = t.getCommentTcsInfo()) && proto.webcast.data.CommentTcsInfo.toObject(e, a),
seasonIdStr: r.Message.getFieldWithDefault(t, 40, ""),
currentPeriodRaw: r.Message.getFieldWithDefault(t, 41, 0),
hasCommerceGoods: r.Message.getBooleanFieldWithDefault(t, 42, !1),
roomCart: (a = t.getRoomCart()) && d.RoomCart.toObject(e, a),
lastWatchPeriod: r.Message.getFieldWithDefault(t, 44, 0),
watchPvRaw: r.Message.getFieldWithDefault(t, 45, ""),
nextSpecialEpisodeId: r.Message.getFieldWithDefault(t, 46, "0"),
style: r.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: r.Message.getFieldWithDefault(t, 53, ""),
pannelToolbarList: r.Message.toObjectList(t.getPannelToolbarList(), d.ToolbarItemConfig.toObject, e),
previewBottom: (a = t.getPreviewBottom()) && p.EpisodePreviewBottom.toObject(e, a),
drawSubTitle: r.Message.getFieldWithDefault(t, 56, ""),
seasonPv: r.Message.getFieldWithDefault(t, 57, 0),
seasonCoverVertical: (a = t.getSeasonCoverVertical()) && u.Image.toObject(e, a),
playerExtentionConfig: r.Message.getFieldWithDefault(t, 59, ""),
cameraInfosList: r.Message.toObjectList(t.getCameraInfosList(), d.VSCameraInfo.toObject, e),
defaultCameraId: r.Message.getFieldWithDefault(t, 61, "0"),
defaultCameraIdStr: r.Message.getFieldWithDefault(t, 62, ""),
playerExtentionConfigH5: r.Message.getFieldWithDefault(t, 63, ""),
previewBackground: (a = t.getPreviewBackground()) && u.Image.toObject(e, a),
startHlFirst: r.Message.getBooleanFieldWithDefault(t, 65, !1),
startHl: (a = t.getStartHl()) && proto.webcast.data.EpisodeStartHighLight.toObject(e, a),
watchPeriodTextV2: r.Message.getFieldWithDefault(t, 67, ""),
priorityCameraId: r.Message.getFieldWithDefault(t, 68, "0"),
priorityCamera: (a = t.getPriorityCamera()) && d.VSCameraInfo.toObject(e, a),
multiSeasonTag: r.Message.getFieldWithDefault(t, 70, ""),
seasonCover: (a = t.getSeasonCover()) && u.Image.toObject(e, a),
latestPeriodStr: r.Message.getFieldWithDefault(t, 72, ""),
seasonUpdateStatus: r.Message.getFieldWithDefault(t, 73, 0),
itemCommentIcon: (a = t.getItemCommentIcon()) && u.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: r.Message.getFieldWithDefault(t, 78, "0"),
paidInfo: (a = t.getPaidInfo()) && proto.webcast.data.EpisodePaidInfo.toObject(e, a),
extentionUsingCollect: r.Message.getBooleanFieldWithDefault(t, 80, !1),
seasonTypeName: r.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: r.Message.getBooleanFieldWithDefault(t, 86, !1),
indexInAlbumList: r.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: r.Message.getFieldWithDefault(t, 92, ""),
needRecord: r.Message.getBooleanFieldWithDefault(t, 93, !1),
introduction: r.Message.getFieldWithDefault(t, 94, ""),
liuyanConfig: r.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 && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.Episode.deserializeBinary = function(e) {
var t = new r.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 s.User;
t.readMessage(a, s.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 u.Image;
t.readMessage(a, u.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 u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setCover(a);
break;
case 17:
a = new u.Image;
t.readMessage(a, u.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 u.Image;
t.readMessage(a, u.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 u.Image;
t.readMessage(a, u.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 u.Image;
t.readMessage(a, u.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 u.Image;
t.readMessage(a, u.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 r.BinaryWriter;
return proto.webcast.data.Episode.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.Episode.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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, s.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, u.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, u.Image.serializeBinaryToWriter),
null != (a = e.getCoverVertical()) && t.writeMessage(17, a, u.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, u.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, u.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, u.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, u.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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.Episode.prototype.setEpisodeId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.Episode.prototype.getEpisodeIdStr = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.Episode.prototype.setEpisodeIdStr = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.Episode.prototype.getItemId = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.Episode.prototype.setItemId = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.Episode.prototype.getStatus = function() {
return r.Message.getFieldWithDefault(this, 4, 0)
}
,
proto.webcast.data.Episode.prototype.setStatus = function(e) {
return r.Message.setProto3EnumField(this, 4, e)
}
,
proto.webcast.data.Episode.prototype.getOwner = function() {
return r.Message.getWrapperField(this, s.User, 5)
}
,
proto.webcast.data.Episode.prototype.setOwner = function(e) {
return r.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.Episode.prototype.clearOwner = function() {
return this.setOwner(undefined)
}
,
proto.webcast.data.Episode.prototype.hasOwner = function() {
return null != r.Message.getField(this, 5)
}
,
proto.webcast.data.Episode.prototype.getOwnerUserId = function() {
return r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.Episode.prototype.setOwnerUserId = function(e) {
return r.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.Episode.prototype.getTitle = function() {
return r.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.Episode.prototype.setTitle = function(e) {
return r.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.Episode.prototype.getWatchInfo = function() {
return r.Message.getWrapperField(this, d.WatchInfo, 8)
}
,
proto.webcast.data.Episode.prototype.setWatchInfo = function(e) {
return r.Message.setWrapperField(this, 8, e)
}
,
proto.webcast.data.Episode.prototype.clearWatchInfo = function() {
return this.setWatchInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasWatchInfo = function() {
return null != r.Message.getField(this, 8)
}
,
proto.webcast.data.Episode.prototype.getBackground = function() {
return r.Message.getWrapperField(this, u.Image, 9)
}
,
proto.webcast.data.Episode.prototype.setBackground = function(e) {
return r.Message.setWrapperField(this, 9, e)
}
,
proto.webcast.data.Episode.prototype.clearBackground = function() {
return this.setBackground(undefined)
}
,
proto.webcast.data.Episode.prototype.hasBackground = function() {
return null != r.Message.getField(this, 9)
}
,
proto.webcast.data.Episode.prototype.getReleaseTime = function() {
return r.Message.getFieldWithDefault(this, 10, "")
}
,
proto.webcast.data.Episode.prototype.setReleaseTime = function(e) {
return r.Message.setProto3StringField(this, 10, e)
}
,
proto.webcast.data.Episode.prototype.getAttachRoomId = function() {
return r.Message.getFieldWithDefault(this, 11, "0")
}
,
proto.webcast.data.Episode.prototype.setAttachRoomId = function(e) {
return r.Message.setProto3StringIntField(this, 11, e)
}
,
proto.webcast.data.Episode.prototype.getAttachRoomIdStr = function() {
return r.Message.getFieldWithDefault(this, 12, "")
}
,
proto.webcast.data.Episode.prototype.setAttachRoomIdStr = function(e) {
return r.Message.setProto3StringField(this, 12, e)
}
,
proto.webcast.data.Episode.prototype.getLiveId = function() {
return r.Message.getFieldWithDefault(this, 13, "0")
}
,
proto.webcast.data.Episode.prototype.setLiveId = function(e) {
return r.Message.setProto3StringIntField(this, 13, e)
}
,
proto.webcast.data.Episode.prototype.getCurrentPeriod = function() {
return r.Message.getFieldWithDefault(this, 14, "")
}
,
proto.webcast.data.Episode.prototype.setCurrentPeriod = function(e) {
return r.Message.setProto3StringField(this, 14, e)
}
,
proto.webcast.data.Episode.prototype.getSeasonId = function() {
return r.Message.getFieldWithDefault(this, 15, "0")
}
,
proto.webcast.data.Episode.prototype.setSeasonId = function(e) {
return r.Message.setProto3StringIntField(this, 15, e)
}
,
proto.webcast.data.Episode.prototype.getCover = function() {
return r.Message.getWrapperField(this, u.Image, 16)
}
,
proto.webcast.data.Episode.prototype.setCover = function(e) {
return r.Message.setWrapperField(this, 16, e)
}
,
proto.webcast.data.Episode.prototype.clearCover = function() {
return this.setCover(undefined)
}
,
proto.webcast.data.Episode.prototype.hasCover = function() {
return null != r.Message.getField(this, 16)
}
,
proto.webcast.data.Episode.prototype.getCoverVertical = function() {
return r.Message.getWrapperField(this, u.Image, 17)
}
,
proto.webcast.data.Episode.prototype.setCoverVertical = function(e) {
return r.Message.setWrapperField(this, 17, e)
}
,
proto.webcast.data.Episode.prototype.clearCoverVertical = function() {
return this.setCoverVertical(undefined)
}
,
proto.webcast.data.Episode.prototype.hasCoverVertical = function() {
return null != r.Message.getField(this, 17)
}
,
proto.webcast.data.Episode.prototype.getShare = function() {
return r.Message.getWrapperField(this, proto.webcast.data.Share, 18)
}
,
proto.webcast.data.Episode.prototype.setShare = function(e) {
return r.Message.setWrapperField(this, 18, e)
}
,
proto.webcast.data.Episode.prototype.clearShare = function() {
return this.setShare(undefined)
}
,
proto.webcast.data.Episode.prototype.hasShare = function() {
return null != r.Message.getField(this, 18)
}
,
proto.webcast.data.Episode.prototype.getVideoInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.VideoInfo, 19)
}
,
proto.webcast.data.Episode.prototype.setVideoInfo = function(e) {
return r.Message.setWrapperField(this, 19, e)
}
,
proto.webcast.data.Episode.prototype.clearVideoInfo = function() {
return this.setVideoInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasVideoInfo = function() {
return null != r.Message.getField(this, 19)
}
,
proto.webcast.data.Episode.prototype.getHighlightsList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.EpisodeHighLight, 20)
}
,
proto.webcast.data.Episode.prototype.setHighlightsList = function(e) {
return r.Message.setRepeatedWrapperField(this, 20, e)
}
,
proto.webcast.data.Episode.prototype.addHighlights = function(e, t) {
return r.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 r.Message.getWrapperField(this, proto.webcast.data.MoreHighLightList, 21)
}
,
proto.webcast.data.Episode.prototype.setMoreHighLightList = function(e) {
return r.Message.setWrapperField(this, 21, e)
}
,
proto.webcast.data.Episode.prototype.clearMoreHighLightList = function() {
return this.setMoreHighLightList(undefined)
}
,
proto.webcast.data.Episode.prototype.hasMoreHighLightList = function() {
return null != r.Message.getField(this, 21)
}
,
proto.webcast.data.Episode.prototype.getStatistics = function() {
return r.Message.getWrapperField(this, proto.webcast.data.Statistics, 22)
}
,
proto.webcast.data.Episode.prototype.setStatistics = function(e) {
return r.Message.setWrapperField(this, 22, e)
}
,
proto.webcast.data.Episode.prototype.clearStatistics = function() {
return this.setStatistics(undefined)
}
,
proto.webcast.data.Episode.prototype.hasStatistics = function() {
return null != r.Message.getField(this, 22)
}
,
proto.webcast.data.Episode.prototype.getEpisodeType = function() {
return r.Message.getWrapperField(this, d.EpisodeMod, 23)
}
,
proto.webcast.data.Episode.prototype.setEpisodeType = function(e) {
return r.Message.setWrapperField(this, 23, e)
}
,
proto.webcast.data.Episode.prototype.clearEpisodeType = function() {
return this.setEpisodeType(undefined)
}
,
proto.webcast.data.Episode.prototype.hasEpisodeType = function() {
return null != r.Message.getField(this, 23)
}
,
proto.webcast.data.Episode.prototype.getUserStatistics = function() {
return r.Message.getWrapperField(this, proto.webcast.data.UserStatistics, 24)
}
,
proto.webcast.data.Episode.prototype.setUserStatistics = function(e) {
return r.Message.setWrapperField(this, 24, e)
}
,
proto.webcast.data.Episode.prototype.clearUserStatistics = function() {
return this.setUserStatistics(undefined)
}
,
proto.webcast.data.Episode.prototype.hasUserStatistics = function() {
return null != r.Message.getField(this, 24)
}
,
proto.webcast.data.Episode.prototype.getOnlyTa = function() {
return r.Message.getWrapperField(this, proto.webcast.data.OnlyTaInfo, 25)
}
,
proto.webcast.data.Episode.prototype.setOnlyTa = function(e) {
return r.Message.setWrapperField(this, 25, e)
}
,
proto.webcast.data.Episode.prototype.clearOnlyTa = function() {
return this.setOnlyTa(undefined)
}
,
proto.webcast.data.Episode.prototype.hasOnlyTa = function() {
return null != r.Message.getField(this, 25)
}
,
proto.webcast.data.Episode.prototype.getSelectionUrl = function() {
return r.Message.getFieldWithDefault(this, 26, "")
}
,
proto.webcast.data.Episode.prototype.setSelectionUrl = function(e) {
return r.Message.setProto3StringField(this, 26, e)
}
,
proto.webcast.data.Episode.prototype.getToolbarListList = function() {
return r.Message.getRepeatedWrapperField(this, d.ToolbarItemConfig, 27)
}
,
proto.webcast.data.Episode.prototype.setToolbarListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 27, e)
}
,
proto.webcast.data.Episode.prototype.addToolbarList = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 28, "")
}
,
proto.webcast.data.Episode.prototype.setRelationPlaceText = function(e) {
return r.Message.setProto3StringField(this, 28, e)
}
,
proto.webcast.data.Episode.prototype.getOperationPlaceTextListList = function() {
return r.Message.getRepeatedField(this, 29)
}
,
proto.webcast.data.Episode.prototype.setOperationPlaceTextListList = function(e) {
return r.Message.setField(this, 29, e || [])
}
,
proto.webcast.data.Episode.prototype.addOperationPlaceTextList = function(e, t) {
return r.Message.addToRepeatedField(this, 29, e, t)
}
,
proto.webcast.data.Episode.prototype.clearOperationPlaceTextListList = function() {
return this.setOperationPlaceTextListList([])
}
,
proto.webcast.data.Episode.prototype.getShowName = function() {
return r.Message.getFieldWithDefault(this, 30, "")
}
,
proto.webcast.data.Episode.prototype.setShowName = function(e) {
return r.Message.setProto3StringField(this, 30, e)
}
,
proto.webcast.data.Episode.prototype.getBriefInfoJson = function() {
return r.Message.getFieldWithDefault(this, 31, "")
}
,
proto.webcast.data.Episode.prototype.setBriefInfoJson = function(e) {
return r.Message.setProto3StringField(this, 31, e)
}
,
proto.webcast.data.Episode.prototype.getTopicListList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.TopicInfo, 32)
}
,
proto.webcast.data.Episode.prototype.setTopicListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 32, e)
}
,
proto.webcast.data.Episode.prototype.addTopicList = function(e, t) {
return r.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 r.Message.getWrapperField(this, d.RoomAuthStatus, 33)
}
,
proto.webcast.data.Episode.prototype.setRoomAuth = function(e) {
return r.Message.setWrapperField(this, 33, e)
}
,
proto.webcast.data.Episode.prototype.clearRoomAuth = function() {
return this.setRoomAuth(undefined)
}
,
proto.webcast.data.Episode.prototype.hasRoomAuth = function() {
return null != r.Message.getField(this, 33)
}
,
proto.webcast.data.Episode.prototype.getCollected = function() {
return r.Message.getBooleanFieldWithDefault(this, 34, !1)
}
,
proto.webcast.data.Episode.prototype.setCollected = function(e) {
return r.Message.setProto3BooleanField(this, 34, e)
}
,
proto.webcast.data.Episode.prototype.getRoomId = function() {
return r.Message.getFieldWithDefault(this, 35, "0")
}
,
proto.webcast.data.Episode.prototype.setRoomId = function(e) {
return r.Message.setProto3StringIntField(this, 35, e)
}
,
proto.webcast.data.Episode.prototype.getTopicInfoUrl = function() {
return r.Message.getFieldWithDefault(this, 36, "")
}
,
proto.webcast.data.Episode.prototype.setTopicInfoUrl = function(e) {
return r.Message.setProto3StringField(this, 36, e)
}
,
proto.webcast.data.Episode.prototype.getWatchPeriod = function() {
return r.Message.getFieldWithDefault(this, 37, "0")
}
,
proto.webcast.data.Episode.prototype.setWatchPeriod = function(e) {
return r.Message.setProto3StringIntField(this, 37, e)
}
,
proto.webcast.data.Episode.prototype.getLatestPeriod = function() {
return r.Message.getFieldWithDefault(this, 38, "0")
}
,
proto.webcast.data.Episode.prototype.setLatestPeriod = function(e) {
return r.Message.setProto3StringIntField(this, 38, e)
}
,
proto.webcast.data.Episode.prototype.getCommentTcsInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.CommentTcsInfo, 39)
}
,
proto.webcast.data.Episode.prototype.setCommentTcsInfo = function(e) {
return r.Message.setWrapperField(this, 39, e)
}
,
proto.webcast.data.Episode.prototype.clearCommentTcsInfo = function() {
return this.setCommentTcsInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasCommentTcsInfo = function() {
return null != r.Message.getField(this, 39)
}
,
proto.webcast.data.Episode.prototype.getSeasonIdStr = function() {
return r.Message.getFieldWithDefault(this, 40, "")
}
,
proto.webcast.data.Episode.prototype.setSeasonIdStr = function(e) {
return r.Message.setProto3StringField(this, 40, e)
}
,
proto.webcast.data.Episode.prototype.getCurrentPeriodRaw = function() {
return r.Message.getFieldWithDefault(this, 41, 0)
}
,
proto.webcast.data.Episode.prototype.setCurrentPeriodRaw = function(e) {
return r.Message.setProto3IntField(this, 41, e)
}
,
proto.webcast.data.Episode.prototype.getHasCommerceGoods = function() {
return r.Message.getBooleanFieldWithDefault(this, 42, !1)
}
,
proto.webcast.data.Episode.prototype.setHasCommerceGoods = function(e) {
return r.Message.setProto3BooleanField(this, 42, e)
}
,
proto.webcast.data.Episode.prototype.getRoomCart = function() {
return r.Message.getWrapperField(this, d.RoomCart, 43)
}
,
proto.webcast.data.Episode.prototype.setRoomCart = function(e) {
return r.Message.setWrapperField(this, 43, e)
}
,
proto.webcast.data.Episode.prototype.clearRoomCart = function() {
return this.setRoomCart(undefined)
}
,
proto.webcast.data.Episode.prototype.hasRoomCart = function() {
return null != r.Message.getField(this, 43)
}
,
proto.webcast.data.Episode.prototype.getLastWatchPeriod = function() {
return r.Message.getFieldWithDefault(this, 44, 0)
}
,
proto.webcast.data.Episode.prototype.setLastWatchPeriod = function(e) {
return r.Message.setProto3IntField(this, 44, e)
}
,
proto.webcast.data.Episode.prototype.getWatchPvRaw = function() {
return r.Message.getFieldWithDefault(this, 45, "")
}
,
proto.webcast.data.Episode.prototype.setWatchPvRaw = function(e) {
return r.Message.setProto3StringField(this, 45, e)
}
,
proto.webcast.data.Episode.prototype.getNextSpecialEpisodeId = function() {
return r.Message.getFieldWithDefault(this, 46, "0")
}
,
proto.webcast.data.Episode.prototype.setNextSpecialEpisodeId = function(e) {
return r.Message.setProto3StringIntField(this, 46, e)
}
,
proto.webcast.data.Episode.prototype.getStyle = function() {
return r.Message.getFieldWithDefault(this, 47, 0)
}
,
proto.webcast.data.Episode.prototype.setStyle = function(e) {
return r.Message.setProto3EnumField(this, 47, e)
}
,
proto.webcast.data.Episode.prototype.getPlayControl = function() {
return r.Message.getWrapperField(this, p.EpisodePremierePlay, 48)
}
,
proto.webcast.data.Episode.prototype.setPlayControl = function(e) {
return r.Message.setWrapperField(this, 48, e)
}
,
proto.webcast.data.Episode.prototype.clearPlayControl = function() {
return this.setPlayControl(undefined)
}
,
proto.webcast.data.Episode.prototype.hasPlayControl = function() {
return null != r.Message.getField(this, 48)
}
,
proto.webcast.data.Episode.prototype.getPreviewImage = function() {
return r.Message.getWrapperField(this, p.EpisodePreviewImage, 49)
}
,
proto.webcast.data.Episode.prototype.setPreviewImage = function(e) {
return r.Message.setWrapperField(this, 49, e)
}
,
proto.webcast.data.Episode.prototype.clearPreviewImage = function() {
return this.setPreviewImage(undefined)
}
,
proto.webcast.data.Episode.prototype.hasPreviewImage = function() {
return null != r.Message.getField(this, 49)
}
,
proto.webcast.data.Episode.prototype.getGiftPannel = function() {
return r.Message.getWrapperField(this, p.VSGiftPannel, 50)
}
,
proto.webcast.data.Episode.prototype.setGiftPannel = function(e) {
return r.Message.setWrapperField(this, 50, e)
}
,
proto.webcast.data.Episode.prototype.clearGiftPannel = function() {
return this.setGiftPannel(undefined)
}
,
proto.webcast.data.Episode.prototype.hasGiftPannel = function() {
return null != r.Message.getField(this, 50)
}
,
proto.webcast.data.Episode.prototype.getPannelIcon = function() {
return r.Message.getWrapperField(this, p.VSPannelIcon, 51)
}
,
proto.webcast.data.Episode.prototype.setPannelIcon = function(e) {
return r.Message.setWrapperField(this, 51, e)
}
,
proto.webcast.data.Episode.prototype.clearPannelIcon = function() {
return this.setPannelIcon(undefined)
}
,
proto.webcast.data.Episode.prototype.hasPannelIcon = function() {
return null != r.Message.getField(this, 51)
}
,
proto.webcast.data.Episode.prototype.getTopicMeta = function() {
return r.Message.getWrapperField(this, proto.webcast.data.TopicMeta, 52)
}
,
proto.webcast.data.Episode.prototype.setTopicMeta = function(e) {
return r.Message.setWrapperField(this, 52, e)
}
,
proto.webcast.data.Episode.prototype.clearTopicMeta = function() {
return this.setTopicMeta(undefined)
}
,
proto.webcast.data.Episode.prototype.hasTopicMeta = function() {
return null != r.Message.getField(this, 52)
}
,
proto.webcast.data.Episode.prototype.getLynxTopicInfoUrl = function() {
return r.Message.getFieldWithDefault(this, 53, "")
}
,
proto.webcast.data.Episode.prototype.setLynxTopicInfoUrl = function(e) {
return r.Message.setProto3StringField(this, 53, e)
}
,
proto.webcast.data.Episode.prototype.getPannelToolbarList = function() {
return r.Message.getRepeatedWrapperField(this, d.ToolbarItemConfig, 54)
}
,
proto.webcast.data.Episode.prototype.setPannelToolbarList = function(e) {
return r.Message.setRepeatedWrapperField(this, 54, e)
}
,
proto.webcast.data.Episode.prototype.addPannelToolbar = function(e, t) {
return r.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 r.Message.getWrapperField(this, p.EpisodePreviewBottom, 55)
}
,
proto.webcast.data.Episode.prototype.setPreviewBottom = function(e) {
return r.Message.setWrapperField(this, 55, e)
}
,
proto.webcast.data.Episode.prototype.clearPreviewBottom = function() {
return this.setPreviewBottom(undefined)
}
,
proto.webcast.data.Episode.prototype.hasPreviewBottom = function() {
return null != r.Message.getField(this, 55)
}
,
proto.webcast.data.Episode.prototype.getDrawSubTitle = function() {
return r.Message.getFieldWithDefault(this, 56, "")
}
,
proto.webcast.data.Episode.prototype.setDrawSubTitle = function(e) {
return r.Message.setProto3StringField(this, 56, e)
}
,
proto.webcast.data.Episode.prototype.getSeasonPv = function() {
return r.Message.getFieldWithDefault(this, 57, 0)
}
,
proto.webcast.data.Episode.prototype.setSeasonPv = function(e) {
return r.Message.setProto3IntField(this, 57, e)
}
,
proto.webcast.data.Episode.prototype.getSeasonCoverVertical = function() {
return r.Message.getWrapperField(this, u.Image, 58)
}
,
proto.webcast.data.Episode.prototype.setSeasonCoverVertical = function(e) {
return r.Message.setWrapperField(this, 58, e)
}
,
proto.webcast.data.Episode.prototype.clearSeasonCoverVertical = function() {
return this.setSeasonCoverVertical(undefined)
}
,
proto.webcast.data.Episode.prototype.hasSeasonCoverVertical = function() {
return null != r.Message.getField(this, 58)
}
,
proto.webcast.data.Episode.prototype.getPlayerExtentionConfig = function() {
return r.Message.getFieldWithDefault(this, 59, "")
}
,
proto.webcast.data.Episode.prototype.setPlayerExtentionConfig = function(e) {
return r.Message.setProto3StringField(this, 59, e)
}
,
proto.webcast.data.Episode.prototype.getCameraInfosList = function() {
return r.Message.getRepeatedWrapperField(this, d.VSCameraInfo, 60)
}
,
proto.webcast.data.Episode.prototype.setCameraInfosList = function(e) {
return r.Message.setRepeatedWrapperField(this, 60, e)
}
,
proto.webcast.data.Episode.prototype.addCameraInfos = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 61, "0")
}
,
proto.webcast.data.Episode.prototype.setDefaultCameraId = function(e) {
return r.Message.setProto3StringIntField(this, 61, e)
}
,
proto.webcast.data.Episode.prototype.getDefaultCameraIdStr = function() {
return r.Message.getFieldWithDefault(this, 62, "")
}
,
proto.webcast.data.Episode.prototype.setDefaultCameraIdStr = function(e) {
return r.Message.setProto3StringField(this, 62, e)
}
,
proto.webcast.data.Episode.prototype.getPlayerExtentionConfigH5 = function() {
return r.Message.getFieldWithDefault(this, 63, "")
}
,
proto.webcast.data.Episode.prototype.setPlayerExtentionConfigH5 = function(e) {
return r.Message.setProto3StringField(this, 63, e)
}
,
proto.webcast.data.Episode.prototype.getPreviewBackground = function() {
return r.Message.getWrapperField(this, u.Image, 64)
}
,
proto.webcast.data.Episode.prototype.setPreviewBackground = function(e) {
return r.Message.setWrapperField(this, 64, e)
}
,
proto.webcast.data.Episode.prototype.clearPreviewBackground = function() {
return this.setPreviewBackground(undefined)
}
,
proto.webcast.data.Episode.prototype.hasPreviewBackground = function() {
return null != r.Message.getField(this, 64)
}
,
proto.webcast.data.Episode.prototype.getStartHlFirst = function() {
return r.Message.getBooleanFieldWithDefault(this, 65, !1)
}
,
proto.webcast.data.Episode.prototype.setStartHlFirst = function(e) {
return r.Message.setProto3BooleanField(this, 65, e)
}
,
proto.webcast.data.Episode.prototype.getStartHl = function() {
return r.Message.getWrapperField(this, proto.webcast.data.EpisodeStartHighLight, 66)
}
,
proto.webcast.data.Episode.prototype.setStartHl = function(e) {
return r.Message.setWrapperField(this, 66, e)
}
,
proto.webcast.data.Episode.prototype.clearStartHl = function() {
return this.setStartHl(undefined)
}
,
proto.webcast.data.Episode.prototype.hasStartHl = function() {
return null != r.Message.getField(this, 66)
}
,
proto.webcast.data.Episode.prototype.getWatchPeriodTextV2 = function() {
return r.Message.getFieldWithDefault(this, 67, "")
}
,
proto.webcast.data.Episode.prototype.setWatchPeriodTextV2 = function(e) {
return r.Message.setProto3StringField(this, 67, e)
}
,
proto.webcast.data.Episode.prototype.getPriorityCameraId = function() {
return r.Message.getFieldWithDefault(this, 68, "0")
}
,
proto.webcast.data.Episode.prototype.setPriorityCameraId = function(e) {
return r.Message.setProto3StringIntField(this, 68, e)
}
,
proto.webcast.data.Episode.prototype.getPriorityCamera = function() {
return r.Message.getWrapperField(this, d.VSCameraInfo, 69)
}
,
proto.webcast.data.Episode.prototype.setPriorityCamera = function(e) {
return r.Message.setWrapperField(this, 69, e)
}
,
proto.webcast.data.Episode.prototype.clearPriorityCamera = function() {
return this.setPriorityCamera(undefined)
}
,
proto.webcast.data.Episode.prototype.hasPriorityCamera = function() {
return null != r.Message.getField(this, 69)
}
,
proto.webcast.data.Episode.prototype.getMultiSeasonTag = function() {
return r.Message.getFieldWithDefault(this, 70, "")
}
,
proto.webcast.data.Episode.prototype.setMultiSeasonTag = function(e) {
return r.Message.setProto3StringField(this, 70, e)
}
,
proto.webcast.data.Episode.prototype.getSeasonCover = function() {
return r.Message.getWrapperField(this, u.Image, 71)
}
,
proto.webcast.data.Episode.prototype.setSeasonCover = function(e) {
return r.Message.setWrapperField(this, 71, e)
}
,
proto.webcast.data.Episode.prototype.clearSeasonCover = function() {
return this.setSeasonCover(undefined)
}
,
proto.webcast.data.Episode.prototype.hasSeasonCover = function() {
return null != r.Message.getField(this, 71)
}
,
proto.webcast.data.Episode.prototype.getLatestPeriodStr = function() {
return r.Message.getFieldWithDefault(this, 72, "")
}
,
proto.webcast.data.Episode.prototype.setLatestPeriodStr = function(e) {
return r.Message.setProto3StringField(this, 72, e)
}
,
proto.webcast.data.Episode.prototype.getSeasonUpdateStatus = function() {
return r.Message.getFieldWithDefault(this, 73, 0)
}
,
proto.webcast.data.Episode.prototype.setSeasonUpdateStatus = function(e) {
return r.Message.setProto3EnumField(this, 73, e)
}
,
proto.webcast.data.Episode.prototype.getItemCommentIcon = function() {
return r.Message.getWrapperField(this, u.Image, 74)
}
,
proto.webcast.data.Episode.prototype.setItemCommentIcon = function(e) {
return r.Message.setWrapperField(this, 74, e)
}
,
proto.webcast.data.Episode.prototype.clearItemCommentIcon = function() {
return this.setItemCommentIcon(undefined)
}
,
proto.webcast.data.Episode.prototype.hasItemCommentIcon = function() {
return null != r.Message.getField(this, 74)
}
,
proto.webcast.data.Episode.prototype.getItemComment = function() {
return r.Message.getWrapperField(this, proto.webcast.data.ItemComment, 75)
}
,
proto.webcast.data.Episode.prototype.setItemComment = function(e) {
return r.Message.setWrapperField(this, 75, e)
}
,
proto.webcast.data.Episode.prototype.clearItemComment = function() {
return this.setItemComment(undefined)
}
,
proto.webcast.data.Episode.prototype.hasItemComment = function() {
return null != r.Message.getField(this, 75)
}
,
proto.webcast.data.Episode.prototype.getWatermark = function() {
return r.Message.getWrapperField(this, proto.webcast.data.Watermark, 76)
}
,
proto.webcast.data.Episode.prototype.setWatermark = function(e) {
return r.Message.setWrapperField(this, 76, e)
}
,
proto.webcast.data.Episode.prototype.clearWatermark = function() {
return this.setWatermark(undefined)
}
,
proto.webcast.data.Episode.prototype.hasWatermark = function() {
return null != r.Message.getField(this, 76)
}
,
proto.webcast.data.Episode.prototype.getVsWatermark = function() {
return r.Message.getWrapperField(this, p.VSWatermark, 77)
}
,
proto.webcast.data.Episode.prototype.setVsWatermark = function(e) {
return r.Message.setWrapperField(this, 77, e)
}
,
proto.webcast.data.Episode.prototype.clearVsWatermark = function() {
return this.setVsWatermark(undefined)
}
,
proto.webcast.data.Episode.prototype.hasVsWatermark = function() {
return null != r.Message.getField(this, 77)
}
,
proto.webcast.data.Episode.prototype.getVersionForWebcastRoom = function() {
return r.Message.getFieldWithDefault(this, 78, "0")
}
,
proto.webcast.data.Episode.prototype.setVersionForWebcastRoom = function(e) {
return r.Message.setProto3StringIntField(this, 78, e)
}
,
proto.webcast.data.Episode.prototype.getPaidInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.EpisodePaidInfo, 79)
}
,
proto.webcast.data.Episode.prototype.setPaidInfo = function(e) {
return r.Message.setWrapperField(this, 79, e)
}
,
proto.webcast.data.Episode.prototype.clearPaidInfo = function() {
return this.setPaidInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasPaidInfo = function() {
return null != r.Message.getField(this, 79)
}
,
proto.webcast.data.Episode.prototype.getExtentionUsingCollect = function() {
return r.Message.getBooleanFieldWithDefault(this, 80, !1)
}
,
proto.webcast.data.Episode.prototype.setExtentionUsingCollect = function(e) {
return r.Message.setProto3BooleanField(this, 80, e)
}
,
proto.webcast.data.Episode.prototype.getSeasonTypeName = function() {
return r.Message.getFieldWithDefault(this, 81, "")
}
,
proto.webcast.data.Episode.prototype.setSeasonTypeName = function(e) {
return r.Message.setProto3StringField(this, 81, e)
}
,
proto.webcast.data.Episode.prototype.getToolbarBackgroundConfig = function() {
return r.Message.getWrapperField(this, proto.webcast.data.ToolbarBackgroundConfig, 82)
}
,
proto.webcast.data.Episode.prototype.setToolbarBackgroundConfig = function(e) {
return r.Message.setWrapperField(this, 82, e)
}
,
proto.webcast.data.Episode.prototype.clearToolbarBackgroundConfig = function() {
return this.setToolbarBackgroundConfig(undefined)
}
,
proto.webcast.data.Episode.prototype.hasToolbarBackgroundConfig = function() {
return null != r.Message.getField(this, 82)
}
,
proto.webcast.data.Episode.prototype.getVsBar = function() {
return r.Message.getWrapperField(this, p.VSBar, 83)
}
,
proto.webcast.data.Episode.prototype.setVsBar = function(e) {
return r.Message.setWrapperField(this, 83, e)
}
,
proto.webcast.data.Episode.prototype.clearVsBar = function() {
return this.setVsBar(undefined)
}
,
proto.webcast.data.Episode.prototype.hasVsBar = function() {
return null != r.Message.getField(this, 83)
}
,
proto.webcast.data.Episode.prototype.getSearchInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.SearchInfo, 84)
}
,
proto.webcast.data.Episode.prototype.setSearchInfo = function(e) {
return r.Message.setWrapperField(this, 84, e)
}
,
proto.webcast.data.Episode.prototype.clearSearchInfo = function() {
return this.setSearchInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasSearchInfo = function() {
return null != r.Message.getField(this, 84)
}
,
proto.webcast.data.Episode.prototype.getSeasonWatchInfo = function() {
return r.Message.getWrapperField(this, d.WatchInfo, 85)
}
,
proto.webcast.data.Episode.prototype.setSeasonWatchInfo = function(e) {
return r.Message.setWrapperField(this, 85, e)
}
,
proto.webcast.data.Episode.prototype.clearSeasonWatchInfo = function() {
return this.setSeasonWatchInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasSeasonWatchInfo = function() {
return null != r.Message.getField(this, 85)
}
,
proto.webcast.data.Episode.prototype.getIsForceInsert = function() {
return r.Message.getBooleanFieldWithDefault(this, 86, !1)
}
,
proto.webcast.data.Episode.prototype.setIsForceInsert = function(e) {
return r.Message.setProto3BooleanField(this, 86, e)
}
,
proto.webcast.data.Episode.prototype.getIndexInAlbumList = function() {
return r.Message.getFieldWithDefault(this, 87, "0")
}
,
proto.webcast.data.Episode.prototype.setIndexInAlbumList = function(e) {
return r.Message.setProto3StringIntField(this, 87, e)
}
,
proto.webcast.data.Episode.prototype.getPcInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.PCInfo, 88)
}
,
proto.webcast.data.Episode.prototype.setPcInfo = function(e) {
return r.Message.setWrapperField(this, 88, e)
}
,
proto.webcast.data.Episode.prototype.clearPcInfo = function() {
return this.setPcInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasPcInfo = function() {
return null != r.Message.getField(this, 88)
}
,
proto.webcast.data.Episode.prototype.getLinkRoomInfo = function() {
return r.Message.getWrapperField(this, d.VSLinkInfo, 89)
}
,
proto.webcast.data.Episode.prototype.setLinkRoomInfo = function(e) {
return r.Message.setWrapperField(this, 89, e)
}
,
proto.webcast.data.Episode.prototype.clearLinkRoomInfo = function() {
return this.setLinkRoomInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasLinkRoomInfo = function() {
return null != r.Message.getField(this, 89)
}
,
proto.webcast.data.Episode.prototype.getEpisodeCorrelationSeasonInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.EpisodeCorrelationSeasonInfo, 90)
}
,
proto.webcast.data.Episode.prototype.setEpisodeCorrelationSeasonInfo = function(e) {
return r.Message.setWrapperField(this, 90, e)
}
,
proto.webcast.data.Episode.prototype.clearEpisodeCorrelationSeasonInfo = function() {
return this.setEpisodeCorrelationSeasonInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasEpisodeCorrelationSeasonInfo = function() {
return null != r.Message.getField(this, 90)
}
,
proto.webcast.data.Episode.prototype.getCommentConfig = function() {
return r.Message.getWrapperField(this, d.CommentConfig, 91)
}
,
proto.webcast.data.Episode.prototype.setCommentConfig = function(e) {
return r.Message.setWrapperField(this, 91, e)
}
,
proto.webcast.data.Episode.prototype.clearCommentConfig = function() {
return this.setCommentConfig(undefined)
}
,
proto.webcast.data.Episode.prototype.hasCommentConfig = function() {
return null != r.Message.getField(this, 91)
}
,
proto.webcast.data.Episode.prototype.getCameraInfosTableTitle = function() {
return r.Message.getFieldWithDefault(this, 92, "")
}
,
proto.webcast.data.Episode.prototype.setCameraInfosTableTitle = function(e) {
return r.Message.setProto3StringField(this, 92, e)
}
,
proto.webcast.data.Episode.prototype.getNeedRecord = function() {
return r.Message.getBooleanFieldWithDefault(this, 93, !1)
}
,
proto.webcast.data.Episode.prototype.setNeedRecord = function(e) {
return r.Message.setProto3BooleanField(this, 93, e)
}
,
proto.webcast.data.Episode.prototype.getIntroduction = function() {
return r.Message.getFieldWithDefault(this, 94, "")
}
,
proto.webcast.data.Episode.prototype.setIntroduction = function(e) {
return r.Message.setProto3StringField(this, 94, e)
}
,
proto.webcast.data.Episode.prototype.getLiuyanConfig = function() {
return r.Message.getFieldWithDefault(this, 95, "")
}
,
proto.webcast.data.Episode.prototype.setLiuyanConfig = function(e) {
return r.Message.setProto3StringField(this, 95, e)
}
,
proto.webcast.data.Episode.prototype.getPaidLive = function() {
return r.Message.getWrapperField(this, proto.webcast.data.PaidLiveInfo, 96)
}
,
proto.webcast.data.Episode.prototype.setPaidLive = function(e) {
return r.Message.setWrapperField(this, 96, e)
}
,
proto.webcast.data.Episode.prototype.clearPaidLive = function() {
return this.setPaidLive(undefined)
}
,
proto.webcast.data.Episode.prototype.hasPaidLive = function() {
return null != r.Message.getField(this, 96)
}
,
proto.webcast.data.Episode.prototype.getEpisodeBasicInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.EpisodeBasicInfo, 100)
}
,
proto.webcast.data.Episode.prototype.setEpisodeBasicInfo = function(e) {
return r.Message.setWrapperField(this, 100, e)
}
,
proto.webcast.data.Episode.prototype.clearEpisodeBasicInfo = function() {
return this.setEpisodeBasicInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasEpisodeBasicInfo = function() {
return null != r.Message.getField(this, 100)
}
,
proto.webcast.data.Episode.prototype.getEpisodeExtraBasicInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.EpisodeExtraBasicInfo, 200)
}
,
proto.webcast.data.Episode.prototype.setEpisodeExtraBasicInfo = function(e) {
return r.Message.setWrapperField(this, 200, e)
}
,
proto.webcast.data.Episode.prototype.clearEpisodeExtraBasicInfo = function() {
return this.setEpisodeExtraBasicInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasEpisodeExtraBasicInfo = function() {
return null != r.Message.getField(this, 200)
}
,
proto.webcast.data.Episode.prototype.getSeasonBasicInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.SeasonBasicInfo, 300)
}
,
proto.webcast.data.Episode.prototype.setSeasonBasicInfo = function(e) {
return r.Message.setWrapperField(this, 300, e)
}
,
proto.webcast.data.Episode.prototype.clearSeasonBasicInfo = function() {
return this.setSeasonBasicInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasSeasonBasicInfo = function() {
return null != r.Message.getField(this, 300)
}
,
proto.webcast.data.Episode.prototype.getSeasonExtraBasicInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.SeasonExtraBasicInfo, 400)
}
,
proto.webcast.data.Episode.prototype.setSeasonExtraBasicInfo = function(e) {
return r.Message.setWrapperField(this, 400, e)
}
,
proto.webcast.data.Episode.prototype.clearSeasonExtraBasicInfo = function() {
return this.setSeasonExtraBasicInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasSeasonExtraBasicInfo = function() {
return null != r.Message.getField(this, 400)
}
,
proto.webcast.data.Episode.prototype.getShowGeneralInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.ShowGeneralInfo, 500)
}
,
proto.webcast.data.Episode.prototype.setShowGeneralInfo = function(e) {
return r.Message.setWrapperField(this, 500, e)
}
,
proto.webcast.data.Episode.prototype.clearShowGeneralInfo = function() {
return this.setShowGeneralInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasShowGeneralInfo = function() {
return null != r.Message.getField(this, 500)
}
,
proto.webcast.data.Episode.prototype.getShowExperienceInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.ShowExperienceInfo, 600)
}
,
proto.webcast.data.Episode.prototype.setShowExperienceInfo = function(e) {
return r.Message.setWrapperField(this, 600, e)
}
,
proto.webcast.data.Episode.prototype.clearShowExperienceInfo = function() {
return this.setShowExperienceInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasShowExperienceInfo = function() {
return null != r.Message.getField(this, 600)
}
,
proto.webcast.data.Episode.prototype.getShowDistributionInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.ShowDistributionInfo, 700)
}
,
proto.webcast.data.Episode.prototype.setShowDistributionInfo = function(e) {
return r.Message.setWrapperField(this, 700, e)
}
,
proto.webcast.data.Episode.prototype.clearShowDistributionInfo = function() {
return this.setShowDistributionInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasShowDistributionInfo = function() {
return null != r.Message.getField(this, 700)
}
,
proto.webcast.data.Episode.prototype.getShowSupplyInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.ShowSupplyInfo, 800)
}
,
proto.webcast.data.Episode.prototype.setShowSupplyInfo = function(e) {
return r.Message.setWrapperField(this, 800, e)
}
,
proto.webcast.data.Episode.prototype.clearShowSupplyInfo = function() {
return this.setShowSupplyInfo(undefined)
}
,
proto.webcast.data.Episode.prototype.hasShowSupplyInfo = function() {
return null != r.Message.getField(this, 800)
}
,
r.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, o = {
paidType: r.Message.getFieldWithDefault(t, 1, 0),
viewRight: r.Message.getFieldWithDefault(t, 2, 0),
duration: r.Message.getFieldWithDefault(t, 3, "0"),
ticketSession: (a = t.getTicketSession()) && d.TicketData.toObject(e, a),
delivery: r.Message.getFieldWithDefault(t, 5, 0)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.PaidLiveInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.PaidLiveInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.PaidLiveInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.PaidLiveInfo.prototype.setPaidType = function(e) {
return r.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.PaidLiveInfo.prototype.getViewRight = function() {
return r.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.PaidLiveInfo.prototype.setViewRight = function(e) {
return r.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.PaidLiveInfo.prototype.getDuration = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.PaidLiveInfo.prototype.setDuration = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.PaidLiveInfo.prototype.getTicketSession = function() {
return r.Message.getWrapperField(this, d.TicketData, 4)
}
,
proto.webcast.data.PaidLiveInfo.prototype.setTicketSession = function(e) {
return r.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.PaidLiveInfo.prototype.clearTicketSession = function() {
return this.setTicketSession(undefined)
}
,
proto.webcast.data.PaidLiveInfo.prototype.hasTicketSession = function() {
return null != r.Message.getField(this, 4)
}
,
proto.webcast.data.PaidLiveInfo.prototype.getDelivery = function() {
return r.Message.getFieldWithDefault(this, 5, 0)
}
,
proto.webcast.data.PaidLiveInfo.prototype.setDelivery = function(e) {
return r.Message.setProto3IntField(this, 5, e)
}
,
proto.webcast.data.EpisodeBasicInfo.repeatedFields_ = [1, 2],
r.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, o = {
tabsList: r.Message.toObjectList(t.getTabsList(), c.MatchTab.toObject, e),
replayTabsList: r.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: r.Message.getFieldWithDefault(t, 7, ""),
matchHostChannelMap: (a = t.getMatchHostChannelMap()) ? a.toObject(e, undefined) : [],
mainReplayId: r.Message.getFieldWithDefault(t, 9, "0"),
replayCameraId: r.Message.getFieldWithDefault(t, 10, "0"),
replayType: r.Message.getFieldWithDefault(t, 11, 0),
isRoomFinish: r.Message.getBooleanFieldWithDefault(t, 12, !1),
matchHashTag: r.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()) && u.Image.toObject(e, a),
backgroundColor: r.Message.getFieldWithDefault(t, 18, ""),
originEpisodeId: r.Message.getFieldWithDefault(t, 19, "0"),
originEpisodeIdStr: r.Message.getFieldWithDefault(t, 20, ""),
replayBackground: (a = t.getReplayBackground()) && u.Image.toObject(e, a),
replayThemeId: r.Message.getFieldWithDefault(t, 22, ""),
replayBackgroundPad: (a = t.getReplayBackgroundPad()) && u.Image.toObject(e, a),
previewBottomText: r.Message.getFieldWithDefault(t, 24, ""),
isUseTransferPackVideo: r.Message.getBooleanFieldWithDefault(t, 25, !1)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.EpisodeBasicInfo.deserializeBinary = function(e) {
var t = new r.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) {
r.Map.deserializeBinary(e, t, r.BinaryReader.prototype.readInt64, r.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 u.Image;
t.readMessage(a, u.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 u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setReplayBackground(a);
break;
case 22:
a = t.readString();
e.setReplayThemeId(a);
break;
case 23:
a = new u.Image;
t.readMessage(a, u.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 r.BinaryWriter;
return proto.webcast.data.EpisodeBasicInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeBasicInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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, r.BinaryWriter.prototype.writeInt64, r.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, u.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, u.Image.serializeBinaryToWriter),
(a = e.getReplayThemeId()).length > 0 && t.writeString(22, a),
null != (a = e.getReplayBackgroundPad()) && t.writeMessage(23, a, u.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 r.Message.getRepeatedWrapperField(this, c.MatchTab, 1)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setTabsList = function(e) {
return r.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.addTabs = function(e, t) {
return r.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 r.Message.getRepeatedWrapperField(this, c.MatchTab, 2)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setReplayTabsList = function(e) {
return r.Message.setRepeatedWrapperField(this, 2, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.addReplayTabs = function(e, t) {
return r.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 r.Message.getWrapperField(this, c.MatchTitle, 3)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setMatchTitle = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearMatchTitle = function() {
return this.setMatchTitle(undefined)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasMatchTitle = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getMatchData = function() {
return r.Message.getWrapperField(this, c.ToutiaoMatchData, 4)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setMatchData = function(e) {
return r.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearMatchData = function() {
return this.setMatchData(undefined)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasMatchData = function() {
return null != r.Message.getField(this, 4)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getPlayByPlayInfo = function() {
return r.Message.getWrapperField(this, c.PlayByPlayInfo, 5)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setPlayByPlayInfo = function(e) {
return r.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearPlayByPlayInfo = function() {
return this.setPlayByPlayInfo(undefined)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasPlayByPlayInfo = function() {
return null != r.Message.getField(this, 5)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getMultiCameraBasicInfo = function() {
return r.Message.getWrapperField(this, p.MultiCameraBasicInfo, 6)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setMultiCameraBasicInfo = function(e) {
return r.Message.setWrapperField(this, 6, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearMultiCameraBasicInfo = function() {
return this.setMultiCameraBasicInfo(undefined)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasMultiCameraBasicInfo = function() {
return null != r.Message.getField(this, 6)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getTabColor = function() {
return r.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setTabColor = function(e) {
return r.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getMatchHostChannelMap = function(e) {
return r.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 r.Message.getFieldWithDefault(this, 9, "0")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setMainReplayId = function(e) {
return r.Message.setProto3StringIntField(this, 9, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getReplayCameraId = function() {
return r.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setReplayCameraId = function(e) {
return r.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getReplayType = function() {
return r.Message.getFieldWithDefault(this, 11, 0)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setReplayType = function(e) {
return r.Message.setProto3IntField(this, 11, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getIsRoomFinish = function() {
return r.Message.getBooleanFieldWithDefault(this, 12, !1)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setIsRoomFinish = function(e) {
return r.Message.setProto3BooleanField(this, 12, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getMatchHashTag = function() {
return r.Message.getFieldWithDefault(this, 13, "")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setMatchHashTag = function(e) {
return r.Message.setProto3StringField(this, 13, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getSharePosterInfo = function() {
return r.Message.getWrapperField(this, p.SharePosterInfo, 14)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setSharePosterInfo = function(e) {
return r.Message.setWrapperField(this, 14, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearSharePosterInfo = function() {
return this.setSharePosterInfo(undefined)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasSharePosterInfo = function() {
return null != r.Message.getField(this, 14)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getMatchShareBackground = function() {
return r.Message.getWrapperField(this, c.MatchShareBackground, 15)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setMatchShareBackground = function(e) {
return r.Message.setWrapperField(this, 15, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearMatchShareBackground = function() {
return this.setMatchShareBackground(undefined)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasMatchShareBackground = function() {
return null != r.Message.getField(this, 15)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getShareResource = function() {
return r.Message.getWrapperField(this, d.ShareResource, 16)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setShareResource = function(e) {
return r.Message.setWrapperField(this, 16, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearShareResource = function() {
return this.setShareResource(undefined)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasShareResource = function() {
return null != r.Message.getField(this, 16)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getShareIcon = function() {
return r.Message.getWrapperField(this, u.Image, 17)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setShareIcon = function(e) {
return r.Message.setWrapperField(this, 17, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearShareIcon = function() {
return this.setShareIcon(undefined)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasShareIcon = function() {
return null != r.Message.getField(this, 17)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getBackgroundColor = function() {
return r.Message.getFieldWithDefault(this, 18, "")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setBackgroundColor = function(e) {
return r.Message.setProto3StringField(this, 18, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getOriginEpisodeId = function() {
return r.Message.getFieldWithDefault(this, 19, "0")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setOriginEpisodeId = function(e) {
return r.Message.setProto3StringIntField(this, 19, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getOriginEpisodeIdStr = function() {
return r.Message.getFieldWithDefault(this, 20, "")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setOriginEpisodeIdStr = function(e) {
return r.Message.setProto3StringField(this, 20, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getReplayBackground = function() {
return r.Message.getWrapperField(this, u.Image, 21)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setReplayBackground = function(e) {
return r.Message.setWrapperField(this, 21, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearReplayBackground = function() {
return this.setReplayBackground(undefined)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasReplayBackground = function() {
return null != r.Message.getField(this, 21)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getReplayThemeId = function() {
return r.Message.getFieldWithDefault(this, 22, "")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setReplayThemeId = function(e) {
return r.Message.setProto3StringField(this, 22, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getReplayBackgroundPad = function() {
return r.Message.getWrapperField(this, u.Image, 23)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setReplayBackgroundPad = function(e) {
return r.Message.setWrapperField(this, 23, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.clearReplayBackgroundPad = function() {
return this.setReplayBackgroundPad(undefined)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.hasReplayBackgroundPad = function() {
return null != r.Message.getField(this, 23)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getPreviewBottomText = function() {
return r.Message.getFieldWithDefault(this, 24, "")
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setPreviewBottomText = function(e) {
return r.Message.setProto3StringField(this, 24, e)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.getIsUseTransferPackVideo = function() {
return r.Message.getBooleanFieldWithDefault(this, 25, !1)
}
,
proto.webcast.data.EpisodeBasicInfo.prototype.setIsUseTransferPackVideo = function(e) {
return r.Message.setProto3BooleanField(this, 25, e)
}
,
r.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: r.Message.getBooleanFieldWithDefault(t, 1, !1)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.EpisodeExtraBasicInfo.deserializeBinary = function(e) {
var t = new r.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(); ) {
if (1 === t.getFieldNumber()) {
var a = t.readBool();
e.setGeoBlock(a)
} else
t.skipField()
}
return e
}
,
proto.webcast.data.EpisodeExtraBasicInfo.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.EpisodeExtraBasicInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeExtraBasicInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getGeoBlock()) && t.writeBool(1, a)
}
,
proto.webcast.data.EpisodeExtraBasicInfo.prototype.getGeoBlock = function() {
return r.Message.getBooleanFieldWithDefault(this, 1, !1)
}
,
proto.webcast.data.EpisodeExtraBasicInfo.prototype.setGeoBlock = function(e) {
return r.Message.setProto3BooleanField(this, 1, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, 0)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SeasonBasicInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.SeasonBasicInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SeasonBasicInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
0 !== (a = e.getSeasonType()) && t.writeEnum(1, a)
}
,
proto.webcast.data.SeasonBasicInfo.prototype.getSeasonType = function() {
return r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.SeasonBasicInfo.prototype.setSeasonType = function(e) {
return r.Message.setProto3EnumField(this, 1, e)
}
,
r.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 r.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 r.BinaryWriter;
return proto.webcast.data.SeasonExtraBasicInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SeasonExtraBasicInfo.serializeBinaryToWriter = function(e, t) {
undefined
}
,
r.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, o = {
ratingScore: r.Message.getFloatingPointFieldWithDefault(t, 2, 0),
horizontalCoverX2: (a = t.getHorizontalCoverX2()) && u.Image.toObject(e, a),
verticalCoverX2: (a = t.getVerticalCoverX2()) && u.Image.toObject(e, a),
horizontalCoverX3: (a = t.getHorizontalCoverX3()) && u.Image.toObject(e, a),
verticalCoverX3: (a = t.getVerticalCoverX3()) && u.Image.toObject(e, a),
syncFromXigua: r.Message.getBooleanFieldWithDefault(t, 1e3, !1)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ShowGeneralInfo.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setHorizontalCoverX2(a);
break;
case 21:
a = new u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setVerticalCoverX2(a);
break;
case 22:
a = new u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setHorizontalCoverX3(a);
break;
case 23:
a = new u.Image;
t.readMessage(a, u.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 r.BinaryWriter;
return proto.webcast.data.ShowGeneralInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ShowGeneralInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
0 !== (a = e.getRatingScore()) && t.writeFloat(2, a),
null != (a = e.getHorizontalCoverX2()) && t.writeMessage(20, a, u.Image.serializeBinaryToWriter),
null != (a = e.getVerticalCoverX2()) && t.writeMessage(21, a, u.Image.serializeBinaryToWriter),
null != (a = e.getHorizontalCoverX3()) && t.writeMessage(22, a, u.Image.serializeBinaryToWriter),
null != (a = e.getVerticalCoverX3()) && t.writeMessage(23, a, u.Image.serializeBinaryToWriter),
(a = e.getSyncFromXigua()) && t.writeBool(1e3, a)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.getRatingScore = function() {
return r.Message.getFloatingPointFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.setRatingScore = function(e) {
return r.Message.setProto3FloatField(this, 2, e)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.getHorizontalCoverX2 = function() {
return r.Message.getWrapperField(this, u.Image, 20)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.setHorizontalCoverX2 = function(e) {
return r.Message.setWrapperField(this, 20, e)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.clearHorizontalCoverX2 = function() {
return this.setHorizontalCoverX2(undefined)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.hasHorizontalCoverX2 = function() {
return null != r.Message.getField(this, 20)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.getVerticalCoverX2 = function() {
return r.Message.getWrapperField(this, u.Image, 21)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.setVerticalCoverX2 = function(e) {
return r.Message.setWrapperField(this, 21, e)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.clearVerticalCoverX2 = function() {
return this.setVerticalCoverX2(undefined)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.hasVerticalCoverX2 = function() {
return null != r.Message.getField(this, 21)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.getHorizontalCoverX3 = function() {
return r.Message.getWrapperField(this, u.Image, 22)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.setHorizontalCoverX3 = function(e) {
return r.Message.setWrapperField(this, 22, e)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.clearHorizontalCoverX3 = function() {
return this.setHorizontalCoverX3(undefined)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.hasHorizontalCoverX3 = function() {
return null != r.Message.getField(this, 22)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.getVerticalCoverX3 = function() {
return r.Message.getWrapperField(this, u.Image, 23)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.setVerticalCoverX3 = function(e) {
return r.Message.setWrapperField(this, 23, e)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.clearVerticalCoverX3 = function() {
return this.setVerticalCoverX3(undefined)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.hasVerticalCoverX3 = function() {
return null != r.Message.getField(this, 23)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.getSyncFromXigua = function() {
return r.Message.getBooleanFieldWithDefault(this, 1e3, !1)
}
,
proto.webcast.data.ShowGeneralInfo.prototype.setSyncFromXigua = function(e) {
return r.Message.setProto3BooleanField(this, 1e3, e)
}
,
r.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, o = {
playerProgressBarSkin: (a = t.getPlayerProgressBarSkin()) && proto.webcast.data.PlayerProgressBarSkin.toObject(e, a),
xiguaTvCastConfig: r.Message.getFieldWithDefault(t, 2, "0"),
vsCommentStyle: r.Message.getFieldWithDefault(t, 101, 0),
vsCommentSwitcher: r.Message.getBooleanFieldWithDefault(t, 102, !1)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ShowExperienceInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.ShowExperienceInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ShowExperienceInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getWrapperField(this, proto.webcast.data.PlayerProgressBarSkin, 1)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.setPlayerProgressBarSkin = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.clearPlayerProgressBarSkin = function() {
return this.setPlayerProgressBarSkin(undefined)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.hasPlayerProgressBarSkin = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.getXiguaTvCastConfig = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.ShowExperienceInfo.prototype.setXiguaTvCastConfig = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.getVsCommentStyle = function() {
return r.Message.getFieldWithDefault(this, 101, 0)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.setVsCommentStyle = function(e) {
return r.Message.setProto3EnumField(this, 101, e)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.getVsCommentSwitcher = function() {
return r.Message.getBooleanFieldWithDefault(this, 102, !1)
}
,
proto.webcast.data.ShowExperienceInfo.prototype.setVsCommentSwitcher = function(e) {
return r.Message.setProto3BooleanField(this, 102, e)
}
,
r.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, o = {
recommendText: r.Message.getFieldWithDefault(t, 1, ""),
modelMatchedHl: (a = t.getModelMatchedHl()) && proto.webcast.data.EpisodeStartHighLight.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ShowDistributionInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.ShowDistributionInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ShowDistributionInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ShowDistributionInfo.prototype.setRecommendText = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ShowDistributionInfo.prototype.getModelMatchedHl = function() {
return r.Message.getWrapperField(this, proto.webcast.data.EpisodeStartHighLight, 2)
}
,
proto.webcast.data.ShowDistributionInfo.prototype.setModelMatchedHl = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.ShowDistributionInfo.prototype.clearModelMatchedHl = function() {
return this.setModelMatchedHl(undefined)
}
,
proto.webcast.data.ShowDistributionInfo.prototype.hasModelMatchedHl = function() {
return null != r.Message.getField(this, 2)
}
,
r.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 r.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 r.BinaryWriter;
return proto.webcast.data.ShowSupplyInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ShowSupplyInfo.serializeBinaryToWriter = function(e, t) {
undefined
}
,
r.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, o = {
barColor: r.Message.getFieldWithDefault(t, 1, ""),
sliderStaticIcon: (a = t.getSliderStaticIcon()) && u.Image.toObject(e, a),
sliderDynamicIcon: (a = t.getSliderDynamicIcon()) && u.Image.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.PlayerProgressBarSkin.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setSliderStaticIcon(a);
break;
case 3:
a = new u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setSliderDynamicIcon(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.PlayerProgressBarSkin.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.PlayerProgressBarSkin.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getBarColor()).length > 0 && t.writeString(1, a),
null != (a = e.getSliderStaticIcon()) && t.writeMessage(2, a, u.Image.serializeBinaryToWriter),
null != (a = e.getSliderDynamicIcon()) && t.writeMessage(3, a, u.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.getBarColor = function() {
return r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.setBarColor = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.getSliderStaticIcon = function() {
return r.Message.getWrapperField(this, u.Image, 2)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.setSliderStaticIcon = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.clearSliderStaticIcon = function() {
return this.setSliderStaticIcon(undefined)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.hasSliderStaticIcon = function() {
return null != r.Message.getField(this, 2)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.getSliderDynamicIcon = function() {
return r.Message.getWrapperField(this, u.Image, 3)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.setSliderDynamicIcon = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.clearSliderDynamicIcon = function() {
return this.setSliderDynamicIcon(undefined)
}
,
proto.webcast.data.PlayerProgressBarSkin.prototype.hasSliderDynamicIcon = function() {
return null != r.Message.getField(this, 3)
}
,
r.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, o = {
horizontalCover: (a = t.getHorizontalCover()) && u.Image.toObject(e, a),
verticalCover: (a = t.getVerticalCover()) && u.Image.toObject(e, a),
mainTitle: r.Message.getFieldWithDefault(t, 3, ""),
subTitle: r.Message.getFieldWithDefault(t, 4, ""),
tag: r.Message.getFieldWithDefault(t, 5, ""),
lastSeen: r.Message.getBooleanFieldWithDefault(t, 6, !1),
updateStatusDesc: r.Message.getFieldWithDefault(t, 7, ""),
cardColor: r.Message.getFieldWithDefault(t, 8, "")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ShowCenterShowInfo.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setHorizontalCover(a);
break;
case 2:
a = new u.Image;
t.readMessage(a, u.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 r.BinaryWriter;
return proto.webcast.data.ShowCenterShowInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ShowCenterShowInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
null != (a = e.getHorizontalCover()) && t.writeMessage(1, a, u.Image.serializeBinaryToWriter),
null != (a = e.getVerticalCover()) && t.writeMessage(2, a, u.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 r.Message.getWrapperField(this, u.Image, 1)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setHorizontalCover = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.clearHorizontalCover = function() {
return this.setHorizontalCover(undefined)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.hasHorizontalCover = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.getVerticalCover = function() {
return r.Message.getWrapperField(this, u.Image, 2)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setVerticalCover = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.clearVerticalCover = function() {
return this.setVerticalCover(undefined)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.hasVerticalCover = function() {
return null != r.Message.getField(this, 2)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.getMainTitle = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setMainTitle = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.getSubTitle = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setSubTitle = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.getTag = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setTag = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
;
proto.webcast.data.ShowCenterShowInfo.prototype.getLastSeen = function() {
return r.Message.getBooleanFieldWithDefault(this, 6, !1)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setLastSeen = function(e) {
return r.Message.setProto3BooleanField(this, 6, e)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.getUpdateStatusDesc = function() {
return r.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setUpdateStatusDesc = function(e) {
return r.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.getCardColor = function() {
return r.Message.getFieldWithDefault(this, 8, "")
}
,
proto.webcast.data.ShowCenterShowInfo.prototype.setCardColor = function(e) {
return r.Message.setProto3StringField(this, 8, e)
}
,
r.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, r = {
seasonBriefInfo: (a = t.getSeasonBriefInfo()) && proto.webcast.data.SeasonBriefInfo.toObject(e, a),
showInfo: (a = t.getShowInfo()) && proto.webcast.data.ShowCenterShowInfo.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.EpisodeCorrelationSeasonInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.EpisodeCorrelationSeasonInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getWrapperField(this, proto.webcast.data.SeasonBriefInfo, 1)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.setSeasonBriefInfo = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.clearSeasonBriefInfo = function() {
return this.setSeasonBriefInfo(undefined)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.hasSeasonBriefInfo = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.getShowInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.ShowCenterShowInfo, 2)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.setShowInfo = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.clearShowInfo = function() {
return this.setShowInfo(undefined)
}
,
proto.webcast.data.EpisodeCorrelationSeasonInfo.prototype.hasShowInfo = function() {
return null != r.Message.getField(this, 2)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, ""),
firstDisplayBackgroundColorMiddle: r.Message.getFieldWithDefault(t, 2, ""),
firstDisplayBackgroundColorRight: r.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.PCInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.PCInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.PCInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.PCInfo.prototype.setFirstDisplayBackgroundColorLeft = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.PCInfo.prototype.getFirstDisplayBackgroundColorMiddle = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.PCInfo.prototype.setFirstDisplayBackgroundColorMiddle = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.PCInfo.prototype.getFirstDisplayBackgroundColorRight = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.PCInfo.prototype.setFirstDisplayBackgroundColorRight = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.SearchInfo.repeatedFields_ = [3, 4],
r.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, o = {
seasonAssistInfo: r.Message.getFieldWithDefault(t, 1, ""),
searchBackgroundColor: r.Message.getFieldWithDefault(t, 2, ""),
albumListEpisodeIdsList: null == (a = r.Message.getRepeatedField(t, 3)) ? undefined : a,
relationSeasonInfoList: r.Message.toObjectList(t.getRelationSeasonInfoList(), proto.webcast.data.SearchRelationSeasonInfo.toObject, e),
albumListShowTitle: r.Message.getFieldWithDefault(t, 5, "0"),
actorsInfo: r.Message.getFieldWithDefault(t, 6, "")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.SearchInfo.deserializeBinary = function(e) {
var t = new r.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 r = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()], o = 0; o < r.length; o++)
e.addAlbumListEpisodeIds(r[o]);
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 r.BinaryWriter;
return proto.webcast.data.SearchInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SearchInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.SearchInfo.prototype.setSeasonAssistInfo = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.SearchInfo.prototype.getSearchBackgroundColor = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.SearchInfo.prototype.setSearchBackgroundColor = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.SearchInfo.prototype.getAlbumListEpisodeIdsList = function() {
return r.Message.getRepeatedField(this, 3)
}
,
proto.webcast.data.SearchInfo.prototype.setAlbumListEpisodeIdsList = function(e) {
return r.Message.setField(this, 3, e || [])
}
,
proto.webcast.data.SearchInfo.prototype.addAlbumListEpisodeIds = function(e, t) {
return r.Message.addToRepeatedField(this, 3, e, t)
}
,
proto.webcast.data.SearchInfo.prototype.clearAlbumListEpisodeIdsList = function() {
return this.setAlbumListEpisodeIdsList([])
}
,
proto.webcast.data.SearchInfo.prototype.getRelationSeasonInfoList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.SearchRelationSeasonInfo, 4)
}
,
proto.webcast.data.SearchInfo.prototype.setRelationSeasonInfoList = function(e) {
return r.Message.setRepeatedWrapperField(this, 4, e)
}
,
proto.webcast.data.SearchInfo.prototype.addRelationSeasonInfo = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.SearchInfo.prototype.setAlbumListShowTitle = function(e) {
return r.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.SearchInfo.prototype.getActorsInfo = function() {
return r.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.SearchInfo.prototype.setActorsInfo = function(e) {
return r.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.SearchRelationSeasonInfo.repeatedFields_ = [3],
r.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, o = {
seasonUpdateStatus: r.Message.getFieldWithDefault(t, 1, 0),
seasonId: r.Message.getFieldWithDefault(t, 2, "0"),
episodeIdsList: null == (a = r.Message.getRepeatedField(t, 3)) ? undefined : a
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.SearchRelationSeasonInfo.deserializeBinary = function(e) {
var t = new r.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 r = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()], o = 0; o < r.length; o++)
e.addEpisodeIds(r[o]);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.SearchRelationSeasonInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SearchRelationSeasonInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.setSeasonUpdateStatus = function(e) {
return r.Message.setProto3EnumField(this, 1, e)
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.getSeasonId = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.setSeasonId = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.getEpisodeIdsList = function() {
return r.Message.getRepeatedField(this, 3)
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.setEpisodeIdsList = function(e) {
return r.Message.setField(this, 3, e || [])
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.addEpisodeIds = function(e, t) {
return r.Message.addToRepeatedField(this, 3, e, t)
}
,
proto.webcast.data.SearchRelationSeasonInfo.prototype.clearEpisodeIdsList = function() {
return this.setEpisodeIdsList([])
}
,
r.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, o = {
color: r.Message.getFieldWithDefault(t, 1, ""),
image: (a = t.getImage()) && u.Image.toObject(e, a),
pb_switch: r.Message.getFieldWithDefault(t, 3, "0")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ToolbarBackgroundConfig.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.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 r.BinaryWriter;
return proto.webcast.data.ToolbarBackgroundConfig.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ToolbarBackgroundConfig.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getColor()).length > 0 && t.writeString(1, a),
null != (a = e.getImage()) && t.writeMessage(2, a, u.Image.serializeBinaryToWriter),
a = e.getSwitch(),
0 !== parseInt(a, 10) && t.writeInt64String(3, a)
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.getColor = function() {
return r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.setColor = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.getImage = function() {
return r.Message.getWrapperField(this, u.Image, 2)
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.setImage = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.clearImage = function() {
return this.setImage(undefined)
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.hasImage = function() {
return null != r.Message.getField(this, 2)
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.getSwitch = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.ToolbarBackgroundConfig.prototype.setSwitch = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
endTime: r.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.FreeViewRange.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.FreeViewRange.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.FreeViewRange.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.FreeViewRange.prototype.setStartTime = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.FreeViewRange.prototype.getEndTime = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.FreeViewRange.prototype.setEndTime = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.EpisodePaidInfo.repeatedFields_ = [6, 9, 10],
r.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, o = {
paidType: r.Message.getFieldWithDefault(t, 1, 0),
viewRight: r.Message.getFieldWithDefault(t, 2, 0),
duration: r.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: r.Message.toObjectList(t.getGoodsInfosList(), d.TicketData.toObject, e),
feedDuration: r.Message.getFieldWithDefault(t, 7, "0"),
isdelivery: r.Message.getBooleanFieldWithDefault(t, 8, !1),
goodsInfosV2List: r.Message.toObjectList(t.getGoodsInfosV2List(), g.ItemDetail.toObject, e),
freeViewRangesList: r.Message.toObjectList(t.getFreeViewRangesList(), proto.webcast.data.FreeViewRange.toObject, e)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.EpisodePaidInfo.deserializeBinary = function(e) {
var t = new r.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 g.ItemDetail;
t.readMessage(a, g.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 r.BinaryWriter;
return proto.webcast.data.EpisodePaidInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodePaidInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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, g.ItemDetail.serializeBinaryToWriter),
(a = e.getFreeViewRangesList()).length > 0 && t.writeRepeatedMessage(10, a, proto.webcast.data.FreeViewRange.serializeBinaryToWriter)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getPaidType = function() {
return r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setPaidType = function(e) {
return r.Message.setProto3IntField(this, 1, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getViewRight = function() {
return r.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setViewRight = function(e) {
return r.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getDuration = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setDuration = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getVideoInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.VideoInfo, 4)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setVideoInfo = function(e) {
return r.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.clearVideoInfo = function() {
return this.setVideoInfo(undefined)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.hasVideoInfo = function() {
return null != r.Message.getField(this, 4)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getOrderData = function() {
return r.Message.getWrapperField(this, d.OrderData, 5)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setOrderData = function(e) {
return r.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.clearOrderData = function() {
return this.setOrderData(undefined)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.hasOrderData = function() {
return null != r.Message.getField(this, 5)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getGoodsInfosList = function() {
return r.Message.getRepeatedWrapperField(this, d.TicketData, 6)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setGoodsInfosList = function(e) {
return r.Message.setRepeatedWrapperField(this, 6, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.addGoodsInfos = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setFeedDuration = function(e) {
return r.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getIsdelivery = function() {
return r.Message.getBooleanFieldWithDefault(this, 8, !1)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setIsdelivery = function(e) {
return r.Message.setProto3BooleanField(this, 8, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.getGoodsInfosV2List = function() {
return r.Message.getRepeatedWrapperField(this, g.ItemDetail, 9)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setGoodsInfosV2List = function(e) {
return r.Message.setRepeatedWrapperField(this, 9, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.addGoodsInfosV2 = function(e, t) {
return r.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 r.Message.getRepeatedWrapperField(this, proto.webcast.data.FreeViewRange, 10)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.setFreeViewRangesList = function(e) {
return r.Message.setRepeatedWrapperField(this, 10, e)
}
,
proto.webcast.data.EpisodePaidInfo.prototype.addFreeViewRanges = function(e, t) {
return r.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],
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
landscapeDis: r.Message.getFieldWithDefault(t, 2, "0"),
verticalDis: r.Message.getFieldWithDefault(t, 3, "0"),
watermarkIconList: r.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 r.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 r.BinaryWriter;
return proto.webcast.data.Watermark.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.Watermark.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.Watermark.prototype.setPosition = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.Watermark.prototype.getLandscapeDis = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.Watermark.prototype.setLandscapeDis = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.Watermark.prototype.getVerticalDis = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.Watermark.prototype.setVerticalDis = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.Watermark.prototype.getWatermarkIconList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.WatermarkIcon, 4)
}
,
proto.webcast.data.Watermark.prototype.setWatermarkIconList = function(e) {
return r.Message.setRepeatedWrapperField(this, 4, e)
}
,
proto.webcast.data.Watermark.prototype.addWatermarkIcon = function(e, t) {
return r.Message.addToRepeatedWrapperField(this, 4, e, proto.webcast.data.WatermarkIcon, t)
}
,
proto.webcast.data.Watermark.prototype.clearWatermarkIconList = function() {
return this.setWatermarkIconList([])
}
,
r.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, o = {
icon: (a = t.getIcon()) && u.Image.toObject(e, a),
iconWidth: r.Message.getFieldWithDefault(t, 2, "0"),
iconType: r.Message.getFieldWithDefault(t, 3, "0")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.WatermarkIcon.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.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 r.BinaryWriter;
return proto.webcast.data.WatermarkIcon.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.WatermarkIcon.serializeBinaryToWriter = function(e, t) {
var a = undefined;
null != (a = e.getIcon()) && t.writeMessage(1, a, u.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 r.Message.getWrapperField(this, u.Image, 1)
}
,
proto.webcast.data.WatermarkIcon.prototype.setIcon = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.WatermarkIcon.prototype.clearIcon = function() {
return this.setIcon(undefined)
}
,
proto.webcast.data.WatermarkIcon.prototype.hasIcon = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.WatermarkIcon.prototype.getIconWidth = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.WatermarkIcon.prototype.setIconWidth = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.WatermarkIcon.prototype.getIconType = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.WatermarkIcon.prototype.setIconType = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
r.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, r = {
itemCommentIconDark: (a = t.getItemCommentIconDark()) && u.Image.toObject(e, a),
itemCommentIconLight: (a = t.getItemCommentIconLight()) && u.Image.toObject(e, a)
};
return e && (r.$jspbMessageInstance = t),
r
}
),
proto.webcast.data.ItemComment.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setItemCommentIconDark(a);
break;
case 2:
a = new u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setItemCommentIconLight(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.ItemComment.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.ItemComment.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ItemComment.serializeBinaryToWriter = function(e, t) {
var a = undefined;
null != (a = e.getItemCommentIconDark()) && t.writeMessage(1, a, u.Image.serializeBinaryToWriter),
null != (a = e.getItemCommentIconLight()) && t.writeMessage(2, a, u.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.ItemComment.prototype.getItemCommentIconDark = function() {
return r.Message.getWrapperField(this, u.Image, 1)
}
,
proto.webcast.data.ItemComment.prototype.setItemCommentIconDark = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.ItemComment.prototype.clearItemCommentIconDark = function() {
return this.setItemCommentIconDark(undefined)
}
,
proto.webcast.data.ItemComment.prototype.hasItemCommentIconDark = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.ItemComment.prototype.getItemCommentIconLight = function() {
return r.Message.getWrapperField(this, u.Image, 2)
}
,
proto.webcast.data.ItemComment.prototype.setItemCommentIconLight = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.ItemComment.prototype.clearItemCommentIconLight = function() {
return this.setItemCommentIconLight(undefined)
}
,
proto.webcast.data.ItemComment.prototype.hasItemCommentIconLight = function() {
return null != r.Message.getField(this, 2)
}
,
r.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, o = {
location: r.Message.getFieldWithDefault(t, 1, "0"),
description: r.Message.getFieldWithDefault(t, 2, ""),
image: (a = t.getImage()) && u.Image.toObject(e, a),
smallImage: (a = t.getSmallImage()) && u.Image.toObject(e, a),
locationEnd: r.Message.getFieldWithDefault(t, 5, "0"),
hot: r.Message.getBooleanFieldWithDefault(t, 6, !1),
collectionId: r.Message.getFieldWithDefault(t, 7, "0")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.EpisodeHighLight.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setImage(a);
break;
case 4:
a = new u.Image;
t.readMessage(a, u.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 r.BinaryWriter;
return proto.webcast.data.EpisodeHighLight.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeHighLight.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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, u.Image.serializeBinaryToWriter),
null != (a = e.getSmallImage()) && t.writeMessage(4, a, u.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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.EpisodeHighLight.prototype.setLocation = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.EpisodeHighLight.prototype.getDescription = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.EpisodeHighLight.prototype.setDescription = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.EpisodeHighLight.prototype.getImage = function() {
return r.Message.getWrapperField(this, u.Image, 3)
}
,
proto.webcast.data.EpisodeHighLight.prototype.setImage = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.EpisodeHighLight.prototype.clearImage = function() {
return this.setImage(undefined)
}
,
proto.webcast.data.EpisodeHighLight.prototype.hasImage = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.EpisodeHighLight.prototype.getSmallImage = function() {
return r.Message.getWrapperField(this, u.Image, 4)
}
,
proto.webcast.data.EpisodeHighLight.prototype.setSmallImage = function(e) {
return r.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.EpisodeHighLight.prototype.clearSmallImage = function() {
return this.setSmallImage(undefined)
}
,
proto.webcast.data.EpisodeHighLight.prototype.hasSmallImage = function() {
return null != r.Message.getField(this, 4)
}
,
proto.webcast.data.EpisodeHighLight.prototype.getLocationEnd = function() {
return r.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.EpisodeHighLight.prototype.setLocationEnd = function(e) {
return r.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.EpisodeHighLight.prototype.getHot = function() {
return r.Message.getBooleanFieldWithDefault(this, 6, !1)
}
,
proto.webcast.data.EpisodeHighLight.prototype.setHot = function(e) {
return r.Message.setProto3BooleanField(this, 6, e)
}
,
proto.webcast.data.EpisodeHighLight.prototype.getCollectionId = function() {
return r.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.EpisodeHighLight.prototype.setCollectionId = function(e) {
return r.Message.setProto3StringIntField(this, 7, e)
}
,
r.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: r.Message.getBooleanFieldWithDefault(t, 1, !1),
description: r.Message.getFieldWithDefault(t, 2, ""),
location: r.Message.getFieldWithDefault(t, 3, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.EpisodeStartHighLight.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.EpisodeStartHighLight.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeStartHighLight.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getBooleanFieldWithDefault(this, 1, !1)
}
,
proto.webcast.data.EpisodeStartHighLight.prototype.setStandard = function(e) {
return r.Message.setProto3BooleanField(this, 1, e)
}
,
proto.webcast.data.EpisodeStartHighLight.prototype.getDescription = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.EpisodeStartHighLight.prototype.setDescription = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.EpisodeStartHighLight.prototype.getLocation = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.EpisodeStartHighLight.prototype.setLocation = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.CommentTcsInfo.repeatedFields_ = [3, 4],
r.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, o = {
commentTcsType: r.Message.getFieldWithDefault(t, 1, "0"),
commentTcsProject: r.Message.getFieldWithDefault(t, 2, "0"),
banAntidirtTablesList: null == (a = r.Message.getRepeatedField(t, 3)) ? undefined : a,
selfVisibleAntidirtTablesList: null == (a = r.Message.getRepeatedField(t, 4)) ? undefined : a
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.CommentTcsInfo.deserializeBinary = function(e) {
var t = new r.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 r = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()], o = 0; o < r.length; o++)
e.addBanAntidirtTables(r[o]);
break;
case 4:
for (r = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()],
o = 0; o < r.length; o++)
e.addSelfVisibleAntidirtTables(r[o]);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.CommentTcsInfo.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.CommentTcsInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CommentTcsInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.CommentTcsInfo.prototype.setCommentTcsType = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.CommentTcsInfo.prototype.getCommentTcsProject = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.CommentTcsInfo.prototype.setCommentTcsProject = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.CommentTcsInfo.prototype.getBanAntidirtTablesList = function() {
return r.Message.getRepeatedField(this, 3)
}
,
proto.webcast.data.CommentTcsInfo.prototype.setBanAntidirtTablesList = function(e) {
return r.Message.setField(this, 3, e || [])
}
,
proto.webcast.data.CommentTcsInfo.prototype.addBanAntidirtTables = function(e, t) {
return r.Message.addToRepeatedField(this, 3, e, t)
}
,
proto.webcast.data.CommentTcsInfo.prototype.clearBanAntidirtTablesList = function() {
return this.setBanAntidirtTablesList([])
}
,
proto.webcast.data.CommentTcsInfo.prototype.getSelfVisibleAntidirtTablesList = function() {
return r.Message.getRepeatedField(this, 4)
}
,
proto.webcast.data.CommentTcsInfo.prototype.setSelfVisibleAntidirtTablesList = function(e) {
return r.Message.setField(this, 4, e || [])
}
,
proto.webcast.data.CommentTcsInfo.prototype.addSelfVisibleAntidirtTables = function(e, t) {
return r.Message.addToRepeatedField(this, 4, e, t)
}
,
proto.webcast.data.CommentTcsInfo.prototype.clearSelfVisibleAntidirtTablesList = function() {
return this.setSelfVisibleAntidirtTablesList([])
}
,
r.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: r.Message.getFieldWithDefault(t, 1, ""),
anchorShareText: r.Message.getFieldWithDefault(t, 2, ""),
userShareText: r.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.Share.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.Share.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.Share.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.Share.prototype.setShareUrl = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.Share.prototype.getAnchorShareText = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.Share.prototype.setAnchorShareText = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.Share.prototype.getUserShareText = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.Share.prototype.setUserShareText = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.MoreHighlight.repeatedFields_ = [3, 4, 8],
r.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, o = {
title: r.Message.getFieldWithDefault(t, 1, ""),
desc: r.Message.getFieldWithDefault(t, 2, ""),
episodesList: r.Message.toObjectList(t.getEpisodesList(), proto.webcast.data.AlbumItem.toObject, e),
backgroundColorsList: null == (a = r.Message.getRepeatedField(t, 4)) ? undefined : a,
moreSeasons: (a = t.getMoreSeasons()) && proto.webcast.data.MoreSeason.toObject(e, a),
total: r.Message.getFieldWithDefault(t, 6, "0"),
extensionType: r.Message.getFieldWithDefault(t, 7, "0"),
moreEntryListList: r.Message.toObjectList(t.getMoreEntryListList(), proto.webcast.data.MoreEntry.toObject, e),
normalEpisodeCount: r.Message.getFieldWithDefault(t, 9, "0")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.MoreHighlight.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.MoreHighlight.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MoreHighlight.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.MoreHighlight.prototype.setTitle = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.MoreHighlight.prototype.getDesc = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.MoreHighlight.prototype.setDesc = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.MoreHighlight.prototype.getEpisodesList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.AlbumItem, 3)
}
,
proto.webcast.data.MoreHighlight.prototype.setEpisodesList = function(e) {
return r.Message.setRepeatedWrapperField(this, 3, e)
}
,
proto.webcast.data.MoreHighlight.prototype.addEpisodes = function(e, t) {
return r.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 r.Message.getRepeatedField(this, 4)
}
,
proto.webcast.data.MoreHighlight.prototype.setBackgroundColorsList = function(e) {
return r.Message.setField(this, 4, e || [])
}
,
proto.webcast.data.MoreHighlight.prototype.addBackgroundColors = function(e, t) {
return r.Message.addToRepeatedField(this, 4, e, t)
}
,
proto.webcast.data.MoreHighlight.prototype.clearBackgroundColorsList = function() {
return this.setBackgroundColorsList([])
}
,
proto.webcast.data.MoreHighlight.prototype.getMoreSeasons = function() {
return r.Message.getWrapperField(this, proto.webcast.data.MoreSeason, 5)
}
,
proto.webcast.data.MoreHighlight.prototype.setMoreSeasons = function(e) {
return r.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.MoreHighlight.prototype.clearMoreSeasons = function() {
return this.setMoreSeasons(undefined)
}
,
proto.webcast.data.MoreHighlight.prototype.hasMoreSeasons = function() {
return null != r.Message.getField(this, 5)
}
,
proto.webcast.data.MoreHighlight.prototype.getTotal = function() {
return r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.MoreHighlight.prototype.setTotal = function(e) {
return r.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.MoreHighlight.prototype.getExtensionType = function() {
return r.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.MoreHighlight.prototype.setExtensionType = function(e) {
return r.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.MoreHighlight.prototype.getMoreEntryListList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.MoreEntry, 8)
}
,
proto.webcast.data.MoreHighlight.prototype.setMoreEntryListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 8, e)
}
,
proto.webcast.data.MoreHighlight.prototype.addMoreEntryList = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 9, "0")
}
,
proto.webcast.data.MoreHighlight.prototype.setNormalEpisodeCount = function(e) {
return r.Message.setProto3StringIntField(this, 9, e)
}
,
proto.webcast.data.MoreEntry.repeatedFields_ = [3, 4, 9, 12],
r.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, o = {
title: r.Message.getFieldWithDefault(t, 1, ""),
desc: r.Message.getFieldWithDefault(t, 2, ""),
episodesList: r.Message.toObjectList(t.getEpisodesList(), proto.webcast.data.AlbumItem.toObject, e),
backgroundColorsList: null == (a = r.Message.getRepeatedField(t, 4)) ? undefined : a,
total: r.Message.getFieldWithDefault(t, 6, "0"),
extensionType: r.Message.getFieldWithDefault(t, 7, "0"),
displayType: r.Message.getFieldWithDefault(t, 8, "0"),
episodeIdsList: null == (a = r.Message.getRepeatedField(t, 9)) ? undefined : a,
batchSize: r.Message.getFieldWithDefault(t, 10, "0"),
secondTitle: r.Message.getFieldWithDefault(t, 11, ""),
episodeIdsStrList: null == (a = r.Message.getRepeatedField(t, 12)) ? undefined : a
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.MoreEntry.deserializeBinary = function(e) {
var t = new r.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 r = t.isDelimited() ? t.readPackedInt64() : [t.readInt64()], o = 0; o < r.length; o++)
e.addEpisodeIds(r[o]);
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 r.BinaryWriter;
return proto.webcast.data.MoreEntry.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MoreEntry.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.MoreEntry.prototype.setTitle = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.MoreEntry.prototype.getDesc = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.MoreEntry.prototype.setDesc = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.MoreEntry.prototype.getEpisodesList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.AlbumItem, 3)
}
,
proto.webcast.data.MoreEntry.prototype.setEpisodesList = function(e) {
return r.Message.setRepeatedWrapperField(this, 3, e)
}
,
proto.webcast.data.MoreEntry.prototype.addEpisodes = function(e, t) {
return r.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 r.Message.getRepeatedField(this, 4)
}
,
proto.webcast.data.MoreEntry.prototype.setBackgroundColorsList = function(e) {
return r.Message.setField(this, 4, e || [])
}
,
proto.webcast.data.MoreEntry.prototype.addBackgroundColors = function(e, t) {
return r.Message.addToRepeatedField(this, 4, e, t)
}
,
proto.webcast.data.MoreEntry.prototype.clearBackgroundColorsList = function() {
return this.setBackgroundColorsList([])
}
,
proto.webcast.data.MoreEntry.prototype.getTotal = function() {
return r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.MoreEntry.prototype.setTotal = function(e) {
return r.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.MoreEntry.prototype.getExtensionType = function() {
return r.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.MoreEntry.prototype.setExtensionType = function(e) {
return r.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.MoreEntry.prototype.getDisplayType = function() {
return r.Message.getFieldWithDefault(this, 8, "0")
}
,
proto.webcast.data.MoreEntry.prototype.setDisplayType = function(e) {
return r.Message.setProto3StringIntField(this, 8, e)
}
,
proto.webcast.data.MoreEntry.prototype.getEpisodeIdsList = function() {
return r.Message.getRepeatedField(this, 9)
}
,
proto.webcast.data.MoreEntry.prototype.setEpisodeIdsList = function(e) {
return r.Message.setField(this, 9, e || [])
}
,
proto.webcast.data.MoreEntry.prototype.addEpisodeIds = function(e, t) {
return r.Message.addToRepeatedField(this, 9, e, t)
}
,
proto.webcast.data.MoreEntry.prototype.clearEpisodeIdsList = function() {
return this.setEpisodeIdsList([])
}
,
proto.webcast.data.MoreEntry.prototype.getBatchSize = function() {
return r.Message.getFieldWithDefault(this, 10, "0")
}
,
proto.webcast.data.MoreEntry.prototype.setBatchSize = function(e) {
return r.Message.setProto3StringIntField(this, 10, e)
}
,
proto.webcast.data.MoreEntry.prototype.getSecondTitle = function() {
return r.Message.getFieldWithDefault(this, 11, "")
}
,
proto.webcast.data.MoreEntry.prototype.setSecondTitle = function(e) {
return r.Message.setProto3StringField(this, 11, e)
}
,
proto.webcast.data.MoreEntry.prototype.getEpisodeIdsStrList = function() {
return r.Message.getRepeatedField(this, 12)
}
,
proto.webcast.data.MoreEntry.prototype.setEpisodeIdsStrList = function(e) {
return r.Message.setField(this, 12, e || [])
}
,
proto.webcast.data.MoreEntry.prototype.addEpisodeIdsStr = function(e, t) {
return r.Message.addToRepeatedField(this, 12, e, t)
}
,
proto.webcast.data.MoreEntry.prototype.clearEpisodeIdsStrList = function() {
return this.setEpisodeIdsStrList([])
}
,
proto.webcast.data.MoreHighLightList.repeatedFields_ = [3, 4],
r.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, o = {
subTitle: r.Message.getFieldWithDefault(t, 1, ""),
desc: r.Message.getFieldWithDefault(t, 2, ""),
episodeIdsList: null == (a = r.Message.getRepeatedField(t, 3)) ? undefined : a,
backgroundColorsList: null == (a = r.Message.getRepeatedField(t, 4)) ? undefined : a,
introductionUrl: r.Message.getFieldWithDefault(t, 5, ""),
extensionType: r.Message.getFieldWithDefault(t, 6, "0"),
normalEpisodeCount: r.Message.getFieldWithDefault(t, 7, "0")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.MoreHighLightList.deserializeBinary = function(e) {
var t = new r.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 r = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()], o = 0; o < r.length; o++)
e.addEpisodeIds(r[o]);
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 r.BinaryWriter;
return proto.webcast.data.MoreHighLightList.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MoreHighLightList.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.MoreHighLightList.prototype.setSubTitle = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.MoreHighLightList.prototype.getDesc = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.MoreHighLightList.prototype.setDesc = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.MoreHighLightList.prototype.getEpisodeIdsList = function() {
return r.Message.getRepeatedField(this, 3)
}
,
proto.webcast.data.MoreHighLightList.prototype.setEpisodeIdsList = function(e) {
return r.Message.setField(this, 3, e || [])
}
,
proto.webcast.data.MoreHighLightList.prototype.addEpisodeIds = function(e, t) {
return r.Message.addToRepeatedField(this, 3, e, t)
}
,
proto.webcast.data.MoreHighLightList.prototype.clearEpisodeIdsList = function() {
return this.setEpisodeIdsList([])
}
,
proto.webcast.data.MoreHighLightList.prototype.getBackgroundColorsList = function() {
return r.Message.getRepeatedField(this, 4)
}
,
proto.webcast.data.MoreHighLightList.prototype.setBackgroundColorsList = function(e) {
return r.Message.setField(this, 4, e || [])
}
,
proto.webcast.data.MoreHighLightList.prototype.addBackgroundColors = function(e, t) {
return r.Message.addToRepeatedField(this, 4, e, t)
}
,
proto.webcast.data.MoreHighLightList.prototype.clearBackgroundColorsList = function() {
return this.setBackgroundColorsList([])
}
,
proto.webcast.data.MoreHighLightList.prototype.getIntroductionUrl = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.MoreHighLightList.prototype.setIntroductionUrl = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.MoreHighLightList.prototype.getExtensionType = function() {
return r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.MoreHighLightList.prototype.setExtensionType = function(e) {
return r.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.MoreHighLightList.prototype.getNormalEpisodeCount = function() {
return r.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.MoreHighLightList.prototype.setNormalEpisodeCount = function(e) {
return r.Message.setProto3StringIntField(this, 7, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
watchRatio: r.Message.getFloatingPointFieldWithDefault(t, 2, 0),
watchStatTime: r.Message.getFieldWithDefault(t, 3, "0"),
watchPeriod: r.Message.getFieldWithDefault(t, 4, ""),
watchEpisodeId: r.Message.getFieldWithDefault(t, 5, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.UserStatistics.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.UserStatistics.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.UserStatistics.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.UserStatistics.prototype.setWatchDuration = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.UserStatistics.prototype.getWatchRatio = function() {
return r.Message.getFloatingPointFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.UserStatistics.prototype.setWatchRatio = function(e) {
return r.Message.setProto3FloatField(this, 2, e)
}
,
proto.webcast.data.UserStatistics.prototype.getWatchStatTime = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.UserStatistics.prototype.setWatchStatTime = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.UserStatistics.prototype.getWatchPeriod = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.UserStatistics.prototype.setWatchPeriod = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.UserStatistics.prototype.getWatchEpisodeId = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.UserStatistics.prototype.setWatchEpisodeId = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
endOffset: r.Message.getFieldWithDefault(t, 2, "0"),
startOffsetFlowTime: r.Message.getFieldWithDefault(t, 3, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SegmentFlowTime.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.SegmentFlowTime.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SegmentFlowTime.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.SegmentFlowTime.prototype.setStartOffset = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.SegmentFlowTime.prototype.getEndOffset = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.SegmentFlowTime.prototype.setEndOffset = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.SegmentFlowTime.prototype.getStartOffsetFlowTime = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.SegmentFlowTime.prototype.setStartOffsetFlowTime = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, ""),
commentCount: r.Message.getFieldWithDefault(t, 2, "0"),
diggCount: r.Message.getFieldWithDefault(t, 3, "0"),
downloadCount: r.Message.getFieldWithDefault(t, 4, "0"),
playCount: r.Message.getFieldWithDefault(t, 5, "0"),
shareCount: r.Message.getFieldWithDefault(t, 6, "0"),
forwardCount: r.Message.getFieldWithDefault(t, 7, "0"),
loseCount: r.Message.getFieldWithDefault(t, 8, 0),
loseCommentCount: r.Message.getFieldWithDefault(t, 9, 0)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.Statistics.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.Statistics.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.Statistics.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.Statistics.prototype.setId = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.Statistics.prototype.getCommentCount = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.Statistics.prototype.setCommentCount = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.Statistics.prototype.getDiggCount = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.Statistics.prototype.setDiggCount = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.Statistics.prototype.getDownloadCount = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.Statistics.prototype.setDownloadCount = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.Statistics.prototype.getPlayCount = function() {
return r.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.Statistics.prototype.setPlayCount = function(e) {
return r.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.Statistics.prototype.getShareCount = function() {
return r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.Statistics.prototype.setShareCount = function(e) {
return r.Message.setProto3StringIntField(this, 6, e)
}
,
proto.webcast.data.Statistics.prototype.getForwardCount = function() {
return r.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.Statistics.prototype.setForwardCount = function(e) {
return r.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.Statistics.prototype.getLoseCount = function() {
return r.Message.getFieldWithDefault(this, 8, 0)
}
,
proto.webcast.data.Statistics.prototype.setLoseCount = function(e) {
return r.Message.setProto3IntField(this, 8, e)
}
,
proto.webcast.data.Statistics.prototype.getLoseCommentCount = function() {
return r.Message.getFieldWithDefault(this, 9, 0)
}
,
proto.webcast.data.Statistics.prototype.setLoseCommentCount = function(e) {
return r.Message.setProto3IntField(this, 9, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.VideoModelContainer.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.VideoModelContainer.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VideoModelContainer.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getJson()).length > 0 && t.writeString(1, a)
}
,
proto.webcast.data.VideoModelContainer.prototype.getJson = function() {
return r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.VideoModelContainer.prototype.setJson = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.VideoPlayInfo.repeatedFields_ = [2],
r.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: r.Message.getFieldWithDefault(t, 1, ""),
playUrlsList: r.Message.toObjectList(t.getPlayUrlsList(), proto.webcast.data.VideoPlayInfo.Url.toObject, e),
postUrl: r.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.VideoPlayInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.VideoPlayInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VideoPlayInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, ""),
main: r.Message.getFieldWithDefault(t, 2, ""),
backup: r.Message.getFieldWithDefault(t, 3, ""),
height: r.Message.getFieldWithDefault(t, 4, 0),
width: r.Message.getFieldWithDefault(t, 5, 0)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.VideoPlayInfo.Url.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.VideoPlayInfo.Url.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VideoPlayInfo.Url.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.setDefinition = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.getMain = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.setMain = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.getBackup = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.setBackup = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.getHeight = function() {
return r.Message.getFieldWithDefault(this, 4, 0)
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.setHeight = function(e) {
return r.Message.setProto3IntField(this, 4, e)
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.getWidth = function() {
return r.Message.getFieldWithDefault(this, 5, 0)
}
,
proto.webcast.data.VideoPlayInfo.Url.prototype.setWidth = function(e) {
return r.Message.setProto3IntField(this, 5, e)
}
,
proto.webcast.data.VideoPlayInfo.prototype.getFormat = function() {
return r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.VideoPlayInfo.prototype.setFormat = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.VideoPlayInfo.prototype.getPlayUrlsList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.VideoPlayInfo.Url, 2)
}
,
proto.webcast.data.VideoPlayInfo.prototype.setPlayUrlsList = function(e) {
return r.Message.setRepeatedWrapperField(this, 2, e)
}
,
proto.webcast.data.VideoPlayInfo.prototype.addPlayUrls = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.VideoPlayInfo.prototype.setPostUrl = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, ""),
fps: r.Message.getFieldWithDefault(t, 2, 0),
disable: r.Message.getFieldWithDefault(t, 3, 0)
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.DefinitionInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.DefinitionInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.DefinitionInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.DefinitionInfo.prototype.setDefinition = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.DefinitionInfo.prototype.getFps = function() {
return r.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.DefinitionInfo.prototype.setFps = function(e) {
return r.Message.setProto3IntField(this, 2, e)
}
,
proto.webcast.data.DefinitionInfo.prototype.getDisable = function() {
return r.Message.getFieldWithDefault(this, 3, 0)
}
,
proto.webcast.data.DefinitionInfo.prototype.setDisable = function(e) {
return r.Message.setProto3IntField(this, 3, e)
}
,
proto.webcast.data.VideoInfo.repeatedFields_ = [6, 8, 18],
r.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, o = {
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: r.Message.getFieldWithDefault(t, 5, ""),
segmentFlowTimeListList: r.Message.toObjectList(t.getSegmentFlowTimeListList(), proto.webcast.data.SegmentFlowTime.toObject, e),
duration: r.Message.getFieldWithDefault(t, 7, "0"),
downloadSizesList: r.Message.toObjectList(t.getDownloadSizesList(), proto.webcast.data.VideoInfo.Size.toObject, e),
videoCode: r.Message.getFieldWithDefault(t, 9, 0),
unfoldPlayInfo: (a = t.getUnfoldPlayInfo()) && proto.webcast.data.VideoPlayInfo.toObject(e, a),
videoModelType: r.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: r.Message.getBooleanFieldWithDefault(t, 16, !1),
playAuthToken: r.Message.getFieldWithDefault(t, 17, ""),
definitionInfosList: r.Message.toObjectList(t.getDefinitionInfosList(), proto.webcast.data.DefinitionInfo.toObject, e)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.VideoInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.VideoInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VideoInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
time: r.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.VideoInfo.StartLocation.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.VideoInfo.StartLocation.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VideoInfo.StartLocation.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.VideoInfo.StartLocation.prototype.setLoc = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.VideoInfo.StartLocation.prototype.getTime = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.VideoInfo.StartLocation.prototype.setTime = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, ""),
text: r.Message.getFieldWithDefault(t, 2, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.VideoInfo.Size.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.VideoInfo.Size.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VideoInfo.Size.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.VideoInfo.Size.prototype.setKey = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.VideoInfo.Size.prototype.getText = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.VideoInfo.Size.prototype.setText = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.VideoInfo.prototype.getPlayInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.VideoModelContainer, 1)
}
,
proto.webcast.data.VideoInfo.prototype.setPlayInfo = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearPlayInfo = function() {
return this.setPlayInfo(undefined)
}
,
proto.webcast.data.VideoInfo.prototype.hasPlayInfo = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.VideoInfo.prototype.getStartPosition = function() {
return r.Message.getWrapperField(this, proto.webcast.data.VideoInfo.StartLocation, 2)
}
,
proto.webcast.data.VideoInfo.prototype.setStartPosition = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearStartPosition = function() {
return this.setStartPosition(undefined)
}
,
proto.webcast.data.VideoInfo.prototype.hasStartPosition = function() {
return null != r.Message.getField(this, 2)
}
,
proto.webcast.data.VideoInfo.prototype.getCastInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.VideoModelContainer, 3)
}
,
proto.webcast.data.VideoInfo.prototype.setCastInfo = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearCastInfo = function() {
return this.setCastInfo(undefined)
}
,
proto.webcast.data.VideoInfo.prototype.hasCastInfo = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.VideoInfo.prototype.getWatermarkedEncrypt = function() {
return r.Message.getWrapperField(this, proto.webcast.data.VideoModelContainer, 4)
}
,
proto.webcast.data.VideoInfo.prototype.setWatermarkedEncrypt = function(e) {
return r.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearWatermarkedEncrypt = function() {
return this.setWatermarkedEncrypt(undefined)
}
,
proto.webcast.data.VideoInfo.prototype.hasWatermarkedEncrypt = function() {
return null != r.Message.getField(this, 4)
}
,
proto.webcast.data.VideoInfo.prototype.getVid = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.VideoInfo.prototype.setVid = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.VideoInfo.prototype.getSegmentFlowTimeListList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.SegmentFlowTime, 6)
}
,
proto.webcast.data.VideoInfo.prototype.setSegmentFlowTimeListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 6, e)
}
,
proto.webcast.data.VideoInfo.prototype.addSegmentFlowTimeList = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 7, "0")
}
,
proto.webcast.data.VideoInfo.prototype.setDuration = function(e) {
return r.Message.setProto3StringIntField(this, 7, e)
}
,
proto.webcast.data.VideoInfo.prototype.getDownloadSizesList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.VideoInfo.Size, 8)
}
,
proto.webcast.data.VideoInfo.prototype.setDownloadSizesList = function(e) {
return r.Message.setRepeatedWrapperField(this, 8, e)
}
,
proto.webcast.data.VideoInfo.prototype.addDownloadSizes = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 9, 0)
}
,
proto.webcast.data.VideoInfo.prototype.setVideoCode = function(e) {
return r.Message.setProto3IntField(this, 9, e)
}
,
proto.webcast.data.VideoInfo.prototype.getUnfoldPlayInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.VideoPlayInfo, 10)
}
,
proto.webcast.data.VideoInfo.prototype.setUnfoldPlayInfo = function(e) {
return r.Message.setWrapperField(this, 10, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearUnfoldPlayInfo = function() {
return this.setUnfoldPlayInfo(undefined)
}
,
proto.webcast.data.VideoInfo.prototype.hasUnfoldPlayInfo = function() {
return null != r.Message.getField(this, 10)
}
,
proto.webcast.data.VideoInfo.prototype.getVideoModelType = function() {
return r.Message.getFieldWithDefault(this, 11, 0)
}
,
proto.webcast.data.VideoInfo.prototype.setVideoModelType = function(e) {
return r.Message.setProto3EnumField(this, 11, e)
}
,
proto.webcast.data.VideoInfo.prototype.getStreamVideoMetaInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.StreamVideoMeta, 12)
}
,
proto.webcast.data.VideoInfo.prototype.setStreamVideoMetaInfo = function(e) {
return r.Message.setWrapperField(this, 12, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearStreamVideoMetaInfo = function() {
return this.setStreamVideoMetaInfo(undefined)
}
,
proto.webcast.data.VideoInfo.prototype.hasStreamVideoMetaInfo = function() {
return null != r.Message.getField(this, 12)
}
,
proto.webcast.data.VideoInfo.prototype.getStreamUrl = function() {
return r.Message.getWrapperField(this, d.StreamUrl, 13)
}
,
proto.webcast.data.VideoInfo.prototype.setStreamUrl = function(e) {
return r.Message.setWrapperField(this, 13, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearStreamUrl = function() {
return this.setStreamUrl(undefined)
}
,
proto.webcast.data.VideoInfo.prototype.hasStreamUrl = function() {
return null != r.Message.getField(this, 13)
}
,
proto.webcast.data.VideoInfo.prototype.getCommentSpecialEffectData = function() {
return r.Message.getWrapperField(this, proto.webcast.data.CommentSpecialEffectData, 14)
}
,
proto.webcast.data.VideoInfo.prototype.setCommentSpecialEffectData = function(e) {
return r.Message.setWrapperField(this, 14, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearCommentSpecialEffectData = function() {
return this.setCommentSpecialEffectData(undefined)
}
,
proto.webcast.data.VideoInfo.prototype.hasCommentSpecialEffectData = function() {
return null != r.Message.getField(this, 14)
}
,
proto.webcast.data.VideoInfo.prototype.getReplayStreamUrl = function() {
return r.Message.getWrapperField(this, proto.webcast.data.ReplayStreamUrl, 15)
}
,
proto.webcast.data.VideoInfo.prototype.setReplayStreamUrl = function(e) {
return r.Message.setWrapperField(this, 15, e)
}
,
proto.webcast.data.VideoInfo.prototype.clearReplayStreamUrl = function() {
return this.setReplayStreamUrl(undefined)
}
,
proto.webcast.data.VideoInfo.prototype.hasReplayStreamUrl = function() {
return null != r.Message.getField(this, 15)
}
,
proto.webcast.data.VideoInfo.prototype.getRefresh = function() {
return r.Message.getBooleanFieldWithDefault(this, 16, !1)
}
,
proto.webcast.data.VideoInfo.prototype.setRefresh = function(e) {
return r.Message.setProto3BooleanField(this, 16, e)
}
,
proto.webcast.data.VideoInfo.prototype.getPlayAuthToken = function() {
return r.Message.getFieldWithDefault(this, 17, "")
}
,
proto.webcast.data.VideoInfo.prototype.setPlayAuthToken = function(e) {
return r.Message.setProto3StringField(this, 17, e)
}
,
proto.webcast.data.VideoInfo.prototype.getDefinitionInfosList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.DefinitionInfo, 18)
}
,
proto.webcast.data.VideoInfo.prototype.setDefinitionInfosList = function(e) {
return r.Message.setRepeatedWrapperField(this, 18, e)
}
,
proto.webcast.data.VideoInfo.prototype.addDefinitionInfos = function(e, t) {
return r.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],
r.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, o = {
commentSpecialEffectType: r.Message.getFieldWithDefault(t, 1, 0),
effectsDataUrlsList: null == (a = r.Message.getRepeatedField(t, 2)) ? undefined : a,
maskedOffsetListList: r.Message.toObjectList(t.getMaskedOffsetListList(), proto.webcast.data.CommentSpecialEffectData.TimeRange.toObject, e),
specialEffectInterval: r.Message.getFieldWithDefault(t, 4, "0"),
effectTypeSdkKey: r.Message.getFieldWithDefault(t, 5, ""),
maxCommentCountPerEffect: r.Message.getFieldWithDefault(t, 6, "0")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.CommentSpecialEffectData.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.CommentSpecialEffectData.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CommentSpecialEffectData.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
endOffset: r.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.CommentSpecialEffectData.TimeRange.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.CommentSpecialEffectData.TimeRange.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.CommentSpecialEffectData.TimeRange.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.CommentSpecialEffectData.TimeRange.prototype.setStartOffset = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.CommentSpecialEffectData.TimeRange.prototype.getEndOffset = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.CommentSpecialEffectData.TimeRange.prototype.setEndOffset = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.getCommentSpecialEffectType = function() {
return r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.setCommentSpecialEffectType = function(e) {
return r.Message.setProto3EnumField(this, 1, e)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.getEffectsDataUrlsList = function() {
return r.Message.getRepeatedField(this, 2)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.setEffectsDataUrlsList = function(e) {
return r.Message.setField(this, 2, e || [])
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.addEffectsDataUrls = function(e, t) {
return r.Message.addToRepeatedField(this, 2, e, t)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.clearEffectsDataUrlsList = function() {
return this.setEffectsDataUrlsList([])
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.getMaskedOffsetListList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.CommentSpecialEffectData.TimeRange, 3)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.setMaskedOffsetListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 3, e)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.addMaskedOffsetList = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.setSpecialEffectInterval = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.getEffectTypeSdkKey = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.setEffectTypeSdkKey = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.getMaxCommentCountPerEffect = function() {
return r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.CommentSpecialEffectData.prototype.setMaxCommentCountPerEffect = function(e) {
return r.Message.setProto3StringIntField(this, 6, e)
}
,
r.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, o = {
streamId: r.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 && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.StreamVideoMeta.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.StreamVideoMeta.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.StreamVideoMeta.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
timestamp: r.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.StreamVideoMeta.StreamLocation.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.StreamVideoMeta.StreamLocation.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.StreamVideoMeta.StreamLocation.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.StreamVideoMeta.StreamLocation.prototype.setOffset = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.StreamVideoMeta.StreamLocation.prototype.getTimestamp = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.StreamVideoMeta.StreamLocation.prototype.setTimestamp = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.StreamVideoMeta.prototype.getStreamId = function() {
return r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.StreamVideoMeta.prototype.setStreamId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.StreamVideoMeta.prototype.getStartLocation = function() {
return r.Message.getWrapperField(this, proto.webcast.data.StreamVideoMeta.StreamLocation, 2)
}
,
proto.webcast.data.StreamVideoMeta.prototype.setStartLocation = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.StreamVideoMeta.prototype.clearStartLocation = function() {
return this.setStartLocation(undefined)
}
,
proto.webcast.data.StreamVideoMeta.prototype.hasStartLocation = function() {
return null != r.Message.getField(this, 2)
}
,
proto.webcast.data.StreamVideoMeta.prototype.getEndLocation = function() {
return r.Message.getWrapperField(this, proto.webcast.data.StreamVideoMeta.StreamLocation, 3)
}
,
proto.webcast.data.StreamVideoMeta.prototype.setEndLocation = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.StreamVideoMeta.prototype.clearEndLocation = function() {
return this.setEndLocation(undefined)
}
,
proto.webcast.data.StreamVideoMeta.prototype.hasEndLocation = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.ReplayStreamUrl.repeatedFields_ = [5],
r.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, o = {
tlsPullUrlMapMap: (a = t.getTlsPullUrlMapMap()) ? a.toObject(e, undefined) : [],
resolutionNameMapMap: (a = t.getResolutionNameMapMap()) ? a.toObject(e, undefined) : [],
defaultResolutionKey: r.Message.getFieldWithDefault(t, 3, ""),
playAlignOffset: r.Message.getFieldWithDefault(t, 4, "0"),
streamAddrListList: r.Message.toObjectList(t.getStreamAddrListList(), proto.webcast.data.StreamAddr.toObject, e)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.ReplayStreamUrl.deserializeBinary = function(e) {
var t = new r.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) {
r.Map.deserializeBinary(e, t, r.BinaryReader.prototype.readString, r.BinaryReader.prototype.readString, null, "", "")
}
));
break;
case 2:
a = e.getResolutionNameMapMap();
t.readMessage(a, (function(e, t) {
r.Map.deserializeBinary(e, t, r.BinaryReader.prototype.readString, r.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 r.BinaryWriter;
return proto.webcast.data.ReplayStreamUrl.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.ReplayStreamUrl.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getTlsPullUrlMapMap(!0)) && a.getLength() > 0 && a.serializeBinary(1, t, r.BinaryWriter.prototype.writeString, r.BinaryWriter.prototype.writeString),
(a = e.getResolutionNameMapMap(!0)) && a.getLength() > 0 && a.serializeBinary(2, t, r.BinaryWriter.prototype.writeString, r.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 r.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 r.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 r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.ReplayStreamUrl.prototype.setDefaultResolutionKey = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.ReplayStreamUrl.prototype.getPlayAlignOffset = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.ReplayStreamUrl.prototype.setPlayAlignOffset = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.ReplayStreamUrl.prototype.getStreamAddrListList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.StreamAddr, 5)
}
,
proto.webcast.data.ReplayStreamUrl.prototype.setStreamAddrListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 5, e)
}
,
proto.webcast.data.ReplayStreamUrl.prototype.addStreamAddrList = function(e, t) {
return r.Message.addToRepeatedWrapperField(this, 5, e, proto.webcast.data.StreamAddr, t)
}
,
proto.webcast.data.ReplayStreamUrl.prototype.clearStreamAddrListList = function() {
return this.setStreamAddrListList([])
}
,
r.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: r.Message.getFieldWithDefault(t, 1, ""),
resolutionName: r.Message.getFieldWithDefault(t, 2, ""),
tslPullUrl: r.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.StreamAddr.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.StreamAddr.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.StreamAddr.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.StreamAddr.prototype.setResolutionKey = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.StreamAddr.prototype.getResolutionName = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.StreamAddr.prototype.setResolutionName = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.StreamAddr.prototype.getTslPullUrl = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.StreamAddr.prototype.setTslPullUrl = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
stopOffset: r.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.OnlyTaSegment.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.OnlyTaSegment.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.OnlyTaSegment.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.OnlyTaSegment.prototype.setStartOffset = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.OnlyTaSegment.prototype.getStopOffset = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.OnlyTaSegment.prototype.setStopOffset = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
proto.webcast.data.OnlyTaSegments.repeatedFields_ = [4],
r.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, o = {
taId: r.Message.getFieldWithDefault(t, 1, "0"),
taNickName: r.Message.getFieldWithDefault(t, 2, ""),
avatar: (a = t.getAvatar()) && u.Image.toObject(e, a),
segmentsList: r.Message.toObjectList(t.getSegmentsList(), proto.webcast.data.OnlyTaSegment.toObject, e)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.OnlyTaSegments.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.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 r.BinaryWriter;
return proto.webcast.data.OnlyTaSegments.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.OnlyTaSegments.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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, u.Image.serializeBinaryToWriter),
(a = e.getSegmentsList()).length > 0 && t.writeRepeatedMessage(4, a, proto.webcast.data.OnlyTaSegment.serializeBinaryToWriter)
}
,
proto.webcast.data.OnlyTaSegments.prototype.getTaId = function() {
return r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.OnlyTaSegments.prototype.setTaId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.OnlyTaSegments.prototype.getTaNickName = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.OnlyTaSegments.prototype.setTaNickName = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.OnlyTaSegments.prototype.getAvatar = function() {
return r.Message.getWrapperField(this, u.Image, 3)
}
,
proto.webcast.data.OnlyTaSegments.prototype.setAvatar = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.OnlyTaSegments.prototype.clearAvatar = function() {
return this.setAvatar(undefined)
}
,
proto.webcast.data.OnlyTaSegments.prototype.hasAvatar = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.OnlyTaSegments.prototype.getSegmentsList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.OnlyTaSegment, 4)
}
,
proto.webcast.data.OnlyTaSegments.prototype.setSegmentsList = function(e) {
return r.Message.setRepeatedWrapperField(this, 4, e)
}
,
proto.webcast.data.OnlyTaSegments.prototype.addSegments = function(e, t) {
return r.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],
r.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, o = {
fullText: r.Message.getFieldWithDefault(t, 1, ""),
fullAvatar: (a = t.getFullAvatar()) && u.Image.toObject(e, a),
tasList: r.Message.toObjectList(t.getTasList(), proto.webcast.data.OnlyTaSegments.toObject, e)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.OnlyTaInfo.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.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 r.BinaryWriter;
return proto.webcast.data.OnlyTaInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.OnlyTaInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getFullText()).length > 0 && t.writeString(1, a),
null != (a = e.getFullAvatar()) && t.writeMessage(2, a, u.Image.serializeBinaryToWriter),
(a = e.getTasList()).length > 0 && t.writeRepeatedMessage(3, a, proto.webcast.data.OnlyTaSegments.serializeBinaryToWriter)
}
,
proto.webcast.data.OnlyTaInfo.prototype.getFullText = function() {
return r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.OnlyTaInfo.prototype.setFullText = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.OnlyTaInfo.prototype.getFullAvatar = function() {
return r.Message.getWrapperField(this, u.Image, 2)
}
,
proto.webcast.data.OnlyTaInfo.prototype.setFullAvatar = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.OnlyTaInfo.prototype.clearFullAvatar = function() {
return this.setFullAvatar(undefined)
}
,
proto.webcast.data.OnlyTaInfo.prototype.hasFullAvatar = function() {
return null != r.Message.getField(this, 2)
}
,
proto.webcast.data.OnlyTaInfo.prototype.getTasList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.OnlyTaSegments, 3)
}
,
proto.webcast.data.OnlyTaInfo.prototype.setTasList = function(e) {
return r.Message.setRepeatedWrapperField(this, 3, e)
}
,
proto.webcast.data.OnlyTaInfo.prototype.addTas = function(e, t) {
return r.Message.addToRepeatedWrapperField(this, 3, e, proto.webcast.data.OnlyTaSegments, t)
}
,
proto.webcast.data.OnlyTaInfo.prototype.clearTasList = function() {
return this.setTasList([])
}
,
r.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 r.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 r.BinaryWriter;
return proto.webcast.data.EpisodeExtra.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeExtra.serializeBinaryToWriter = function(e, t) {
undefined
}
,
r.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, o = {
episode: (a = t.getEpisode()) && proto.webcast.data.Episode.toObject(e, a),
room: (a = t.getRoom()) && d.Room.toObject(e, a),
itemType: r.Message.getFieldWithDefault(t, 3, 0),
isPlaying: r.Message.getBooleanFieldWithDefault(t, 4, !1),
isHide: r.Message.getBooleanFieldWithDefault(t, 5, !1)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.AlbumItem.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.AlbumItem.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.AlbumItem.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getWrapperField(this, proto.webcast.data.Episode, 1)
}
,
proto.webcast.data.AlbumItem.prototype.setEpisode = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.AlbumItem.prototype.clearEpisode = function() {
return this.setEpisode(undefined)
}
,
proto.webcast.data.AlbumItem.prototype.hasEpisode = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.AlbumItem.prototype.getRoom = function() {
return r.Message.getWrapperField(this, d.Room, 2)
}
,
proto.webcast.data.AlbumItem.prototype.setRoom = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.AlbumItem.prototype.clearRoom = function() {
return this.setRoom(undefined)
}
,
proto.webcast.data.AlbumItem.prototype.hasRoom = function() {
return null != r.Message.getField(this, 2)
}
,
proto.webcast.data.AlbumItem.prototype.getItemType = function() {
return r.Message.getFieldWithDefault(this, 3, 0)
}
,
proto.webcast.data.AlbumItem.prototype.setItemType = function(e) {
return r.Message.setProto3IntField(this, 3, e)
}
,
proto.webcast.data.AlbumItem.prototype.getIsPlaying = function() {
return r.Message.getBooleanFieldWithDefault(this, 4, !1)
}
,
proto.webcast.data.AlbumItem.prototype.setIsPlaying = function(e) {
return r.Message.setProto3BooleanField(this, 4, e)
}
,
proto.webcast.data.AlbumItem.prototype.getIsHide = function() {
return r.Message.getBooleanFieldWithDefault(this, 5, !1)
}
,
proto.webcast.data.AlbumItem.prototype.setIsHide = function(e) {
return r.Message.setProto3BooleanField(this, 5, e)
}
,
proto.webcast.data.SeasonAlbumTab.repeatedFields_ = [1, 2],
r.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: r.Message.toObjectList(t.getEpisodesList(), proto.webcast.data.AlbumItem.toObject, e),
specialEpisodesList: r.Message.toObjectList(t.getSpecialEpisodesList(), proto.webcast.data.AlbumItem.toObject, e),
briefInfo: r.Message.getFieldWithDefault(t, 3, ""),
premiereTime: r.Message.getFieldWithDefault(t, 4, ""),
episodeTotal: r.Message.getFieldWithDefault(t, 5, "0"),
specialEpisodeTotal: r.Message.getFieldWithDefault(t, 6, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SeasonAlbumTab.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.SeasonAlbumTab.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SeasonAlbumTab.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getRepeatedWrapperField(this, proto.webcast.data.AlbumItem, 1)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.setEpisodesList = function(e) {
return r.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.addEpisodes = function(e, t) {
return r.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 r.Message.getRepeatedWrapperField(this, proto.webcast.data.AlbumItem, 2)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.setSpecialEpisodesList = function(e) {
return r.Message.setRepeatedWrapperField(this, 2, e)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.addSpecialEpisodes = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.SeasonAlbumTab.prototype.setBriefInfo = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.getPremiereTime = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.SeasonAlbumTab.prototype.setPremiereTime = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.getEpisodeTotal = function() {
return r.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.SeasonAlbumTab.prototype.setEpisodeTotal = function(e) {
return r.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.SeasonAlbumTab.prototype.getSpecialEpisodeTotal = function() {
return r.Message.getFieldWithDefault(this, 6, "0")
}
,
proto.webcast.data.SeasonAlbumTab.prototype.setSpecialEpisodeTotal = function(e) {
return r.Message.setProto3StringIntField(this, 6, e)
}
,
r.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, o = {
userId: r.Message.getFieldWithDefault(t, 1, "0"),
name: r.Message.getFieldWithDefault(t, 2, ""),
avatar: (a = t.getAvatar()) && u.Image.toObject(e, a),
verifyType: r.Message.getFieldWithDefault(t, 4, "0"),
label: r.Message.getFieldWithDefault(t, 5, "")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.EpisodeActors.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.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 r.BinaryWriter;
return proto.webcast.data.EpisodeActors.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.EpisodeActors.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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, u.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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.EpisodeActors.prototype.setUserId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.EpisodeActors.prototype.getName = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.EpisodeActors.prototype.setName = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.EpisodeActors.prototype.getAvatar = function() {
return r.Message.getWrapperField(this, u.Image, 3)
}
,
proto.webcast.data.EpisodeActors.prototype.setAvatar = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.EpisodeActors.prototype.clearAvatar = function() {
return this.setAvatar(undefined)
}
,
proto.webcast.data.EpisodeActors.prototype.hasAvatar = function() {
return null != r.Message.getField(this, 3)
}
,
proto.webcast.data.EpisodeActors.prototype.getVerifyType = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.EpisodeActors.prototype.setVerifyType = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.EpisodeActors.prototype.getLabel = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.EpisodeActors.prototype.setLabel = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.SeasonBriefInfo.repeatedFields_ = [10, 11],
r.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, o = {
seasonType: r.Message.getFieldWithDefault(t, 1, 0),
updatingStatus: r.Message.getFieldWithDefault(t, 2, 0),
episodeCount: r.Message.getFieldWithDefault(t, 3, "0"),
releaseTime: r.Message.getFieldWithDefault(t, 4, ""),
runningTime: r.Message.getFieldWithDefault(t, 5, ""),
directors: r.Message.getFieldWithDefault(t, 6, ""),
actors: r.Message.getFieldWithDefault(t, 7, ""),
previewtText: r.Message.getFieldWithDefault(t, 8, ""),
background: (a = t.getBackground()) && u.Image.toObject(e, a),
usersList: r.Message.toObjectList(t.getUsersList(), s.User.toObject, e),
episodeActorsList: r.Message.toObjectList(t.getEpisodeActorsList(), proto.webcast.data.EpisodeActors.toObject, e),
introduce: r.Message.getFieldWithDefault(t, 12, ""),
multiSeasonOrder: r.Message.getFieldWithDefault(t, 13, "0"),
multiSeasonTag: r.Message.getFieldWithDefault(t, 14, "")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.SeasonBriefInfo.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setBackground(a);
break;
case 10:
a = new s.User;
t.readMessage(a, s.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 r.BinaryWriter;
return proto.webcast.data.SeasonBriefInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SeasonBriefInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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, u.Image.serializeBinaryToWriter),
(a = e.getUsersList()).length > 0 && t.writeRepeatedMessage(10, a, s.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 r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setSeasonType = function(e) {
return r.Message.setProto3EnumField(this, 1, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getUpdatingStatus = function() {
return r.Message.getFieldWithDefault(this, 2, 0)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setUpdatingStatus = function(e) {
return r.Message.setProto3EnumField(this, 2, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getEpisodeCount = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setEpisodeCount = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getReleaseTime = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setReleaseTime = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getRunningTime = function() {
return r.Message.getFieldWithDefault(this, 5, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setRunningTime = function(e) {
return r.Message.setProto3StringField(this, 5, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getDirectors = function() {
return r.Message.getFieldWithDefault(this, 6, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setDirectors = function(e) {
return r.Message.setProto3StringField(this, 6, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getActors = function() {
return r.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setActors = function(e) {
return r.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getPreviewtText = function() {
return r.Message.getFieldWithDefault(this, 8, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setPreviewtText = function(e) {
return r.Message.setProto3StringField(this, 8, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getBackground = function() {
return r.Message.getWrapperField(this, u.Image, 9)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setBackground = function(e) {
return r.Message.setWrapperField(this, 9, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.clearBackground = function() {
return this.setBackground(undefined)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.hasBackground = function() {
return null != r.Message.getField(this, 9)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getUsersList = function() {
return r.Message.getRepeatedWrapperField(this, s.User, 10)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setUsersList = function(e) {
return r.Message.setRepeatedWrapperField(this, 10, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.addUsers = function(e, t) {
return r.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 r.Message.getRepeatedWrapperField(this, proto.webcast.data.EpisodeActors, 11)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setEpisodeActorsList = function(e) {
return r.Message.setRepeatedWrapperField(this, 11, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.addEpisodeActors = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 12, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setIntroduce = function(e) {
return r.Message.setProto3StringField(this, 12, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getMultiSeasonOrder = function() {
return r.Message.getFieldWithDefault(this, 13, "0")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setMultiSeasonOrder = function(e) {
return r.Message.setProto3StringIntField(this, 13, e)
}
,
proto.webcast.data.SeasonBriefInfo.prototype.getMultiSeasonTag = function() {
return r.Message.getFieldWithDefault(this, 14, "")
}
,
proto.webcast.data.SeasonBriefInfo.prototype.setMultiSeasonTag = function(e) {
return r.Message.setProto3StringField(this, 14, e)
}
,
proto.webcast.data.Season.repeatedFields_ = [8, 9, 13],
r.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, o = {
id: r.Message.getFieldWithDefault(t, 1, ""),
title: r.Message.getFieldWithDefault(t, 2, ""),
desc: r.Message.getFieldWithDefault(t, 3, ""),
ownerId: r.Message.getFieldWithDefault(t, 4, "0"),
cover: (a = t.getCover()) && u.Image.toObject(e, a),
coverVertical: (a = t.getCoverVertical()) && u.Image.toObject(e, a),
status: r.Message.getFieldWithDefault(t, 7, 0),
episodesList: r.Message.toObjectList(t.getEpisodesList(), proto.webcast.data.Episode.toObject, e),
specialEpisodesList: r.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()) && s.User.toObject(e, a),
briefInfo: (a = t.getBriefInfo()) && proto.webcast.data.SeasonBriefInfo.toObject(e, a),
albumItemsList: r.Message.toObjectList(t.getAlbumItemsList(), proto.webcast.data.AlbumItem.toObject, e),
actorIntroTitle: r.Message.getFieldWithDefault(t, 14, ""),
userStatistics: (a = t.getUserStatistics()) && proto.webcast.data.UserStatistics.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.Season.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setCover(a);
break;
case 6:
a = new u.Image;
t.readMessage(a, u.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 s.User;
t.readMessage(a, s.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 r.BinaryWriter;
return proto.webcast.data.Season.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.Season.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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, u.Image.serializeBinaryToWriter),
null != (a = e.getCoverVertical()) && t.writeMessage(6, a, u.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, s.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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.Season.prototype.setId = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.Season.prototype.getTitle = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.Season.prototype.setTitle = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.Season.prototype.getDesc = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.Season.prototype.setDesc = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.Season.prototype.getOwnerId = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.Season.prototype.setOwnerId = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.Season.prototype.getCover = function() {
return r.Message.getWrapperField(this, u.Image, 5)
}
,
proto.webcast.data.Season.prototype.setCover = function(e) {
return r.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.Season.prototype.clearCover = function() {
return this.setCover(undefined)
}
,
proto.webcast.data.Season.prototype.hasCover = function() {
return null != r.Message.getField(this, 5)
}
,
proto.webcast.data.Season.prototype.getCoverVertical = function() {
return r.Message.getWrapperField(this, u.Image, 6)
}
,
proto.webcast.data.Season.prototype.setCoverVertical = function(e) {
return r.Message.setWrapperField(this, 6, e)
}
,
proto.webcast.data.Season.prototype.clearCoverVertical = function() {
return this.setCoverVertical(undefined)
}
,
proto.webcast.data.Season.prototype.hasCoverVertical = function() {
return null != r.Message.getField(this, 6)
}
,
proto.webcast.data.Season.prototype.getStatus = function() {
return r.Message.getFieldWithDefault(this, 7, 0)
}
,
proto.webcast.data.Season.prototype.setStatus = function(e) {
return r.Message.setProto3EnumField(this, 7, e)
}
,
proto.webcast.data.Season.prototype.getEpisodesList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.Episode, 8)
}
,
proto.webcast.data.Season.prototype.setEpisodesList = function(e) {
return r.Message.setRepeatedWrapperField(this, 8, e)
}
,
proto.webcast.data.Season.prototype.addEpisodes = function(e, t) {
return r.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 r.Message.getRepeatedWrapperField(this, proto.webcast.data.Episode, 9)
}
,
proto.webcast.data.Season.prototype.setSpecialEpisodesList = function(e) {
return r.Message.setRepeatedWrapperField(this, 9, e)
}
,
proto.webcast.data.Season.prototype.addSpecialEpisodes = function(e, t) {
return r.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 r.Message.getWrapperField(this, proto.webcast.data.Statistics, 10)
}
,
proto.webcast.data.Season.prototype.setStatistics = function(e) {
return r.Message.setWrapperField(this, 10, e)
}
,
proto.webcast.data.Season.prototype.clearStatistics = function() {
return this.setStatistics(undefined)
}
,
proto.webcast.data.Season.prototype.hasStatistics = function() {
return null != r.Message.getField(this, 10)
}
,
proto.webcast.data.Season.prototype.getOwner = function() {
return r.Message.getWrapperField(this, s.User, 11)
}
,
proto.webcast.data.Season.prototype.setOwner = function(e) {
return r.Message.setWrapperField(this, 11, e)
}
,
proto.webcast.data.Season.prototype.clearOwner = function() {
return this.setOwner(undefined)
}
,
proto.webcast.data.Season.prototype.hasOwner = function() {
return null != r.Message.getField(this, 11)
}
,
proto.webcast.data.Season.prototype.getBriefInfo = function() {
return r.Message.getWrapperField(this, proto.webcast.data.SeasonBriefInfo, 12)
}
,
proto.webcast.data.Season.prototype.setBriefInfo = function(e) {
return r.Message.setWrapperField(this, 12, e)
}
,
proto.webcast.data.Season.prototype.clearBriefInfo = function() {
return this.setBriefInfo(undefined)
}
,
proto.webcast.data.Season.prototype.hasBriefInfo = function() {
return null != r.Message.getField(this, 12)
}
,
proto.webcast.data.Season.prototype.getAlbumItemsList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.AlbumItem, 13)
}
,
proto.webcast.data.Season.prototype.setAlbumItemsList = function(e) {
return r.Message.setRepeatedWrapperField(this, 13, e)
}
,
proto.webcast.data.Season.prototype.addAlbumItems = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 14, "")
}
,
proto.webcast.data.Season.prototype.setActorIntroTitle = function(e) {
return r.Message.setProto3StringField(this, 14, e)
}
,
proto.webcast.data.Season.prototype.getUserStatistics = function() {
return r.Message.getWrapperField(this, proto.webcast.data.UserStatistics, 101)
}
,
proto.webcast.data.Season.prototype.setUserStatistics = function(e) {
return r.Message.setWrapperField(this, 101, e)
}
,
proto.webcast.data.Season.prototype.clearUserStatistics = function() {
return this.setUserStatistics(undefined)
}
,
proto.webcast.data.Season.prototype.hasUserStatistics = function() {
return null != r.Message.getField(this, 101)
}
,
proto.webcast.data.MultiSeasonInfo.repeatedFields_ = [1],
r.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: r.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 r.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 r.BinaryWriter;
return proto.webcast.data.MultiSeasonInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MultiSeasonInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(a = e.getSeasonTagsList()).length > 0 && t.writeRepeatedMessage(1, a, proto.webcast.data.SeasonTag.serializeBinaryToWriter)
}
,
proto.webcast.data.MultiSeasonInfo.prototype.getSeasonTagsList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.SeasonTag, 1)
}
,
proto.webcast.data.MultiSeasonInfo.prototype.setSeasonTagsList = function(e) {
return r.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.MultiSeasonInfo.prototype.addSeasonTags = function(e, t) {
return r.Message.addToRepeatedWrapperField(this, 1, e, proto.webcast.data.SeasonTag, t)
}
,
proto.webcast.data.MultiSeasonInfo.prototype.clearSeasonTagsList = function() {
return this.setSeasonTagsList([])
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
seasonTag: r.Message.getFieldWithDefault(t, 2, ""),
seasonIdStr: r.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SeasonTag.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.SeasonTag.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SeasonTag.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.SeasonTag.prototype.setSeasonId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.SeasonTag.prototype.getSeasonTag = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.SeasonTag.prototype.setSeasonTag = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.SeasonTag.prototype.getSeasonIdStr = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.SeasonTag.prototype.setSeasonIdStr = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.VarietyShow.repeatedFields_ = [7],
r.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, o = {
id: r.Message.getFieldWithDefault(t, 1, ""),
title: r.Message.getFieldWithDefault(t, 2, ""),
desc: r.Message.getFieldWithDefault(t, 3, ""),
cover: (a = t.getCover()) && u.Image.toObject(e, a),
dynamicCover: (a = t.getDynamicCover()) && u.Image.toObject(e, a),
dynamicCoverLow: (a = t.getDynamicCoverLow()) && u.Image.toObject(e, a),
seasonsList: r.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()) && s.User.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.VarietyShow.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setCover(a);
break;
case 5:
a = new u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setDynamicCover(a);
break;
case 6:
a = new u.Image;
t.readMessage(a, u.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 s.User;
t.readMessage(a, s.User.deserializeBinaryFromReader),
e.setOwner(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.VarietyShow.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.VarietyShow.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VarietyShow.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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, u.Image.serializeBinaryToWriter),
null != (a = e.getDynamicCover()) && t.writeMessage(5, a, u.Image.serializeBinaryToWriter),
null != (a = e.getDynamicCoverLow()) && t.writeMessage(6, a, u.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, s.User.serializeBinaryToWriter)
}
,
proto.webcast.data.VarietyShow.prototype.getId = function() {
return r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.VarietyShow.prototype.setId = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.VarietyShow.prototype.getTitle = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.VarietyShow.prototype.setTitle = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.VarietyShow.prototype.getDesc = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.VarietyShow.prototype.setDesc = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.VarietyShow.prototype.getCover = function() {
return r.Message.getWrapperField(this, u.Image, 4)
}
,
proto.webcast.data.VarietyShow.prototype.setCover = function(e) {
return r.Message.setWrapperField(this, 4, e)
}
,
proto.webcast.data.VarietyShow.prototype.clearCover = function() {
return this.setCover(undefined)
}
,
proto.webcast.data.VarietyShow.prototype.hasCover = function() {
return null != r.Message.getField(this, 4)
}
,
proto.webcast.data.VarietyShow.prototype.getDynamicCover = function() {
return r.Message.getWrapperField(this, u.Image, 5)
}
,
proto.webcast.data.VarietyShow.prototype.setDynamicCover = function(e) {
return r.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.VarietyShow.prototype.clearDynamicCover = function() {
return this.setDynamicCover(undefined)
}
,
proto.webcast.data.VarietyShow.prototype.hasDynamicCover = function() {
return null != r.Message.getField(this, 5)
}
,
proto.webcast.data.VarietyShow.prototype.getDynamicCoverLow = function() {
return r.Message.getWrapperField(this, u.Image, 6)
}
,
proto.webcast.data.VarietyShow.prototype.setDynamicCoverLow = function(e) {
return r.Message.setWrapperField(this, 6, e)
}
,
proto.webcast.data.VarietyShow.prototype.clearDynamicCoverLow = function() {
return this.setDynamicCoverLow(undefined)
}
,
proto.webcast.data.VarietyShow.prototype.hasDynamicCoverLow = function() {
return null != r.Message.getField(this, 6)
}
,
proto.webcast.data.VarietyShow.prototype.getSeasonsList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.Season, 7)
}
,
proto.webcast.data.VarietyShow.prototype.setSeasonsList = function(e) {
return r.Message.setRepeatedWrapperField(this, 7, e)
}
,
proto.webcast.data.VarietyShow.prototype.addSeasons = function(e, t) {
return r.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 r.Message.getWrapperField(this, proto.webcast.data.Statistics, 8)
}
,
proto.webcast.data.VarietyShow.prototype.setStatistics = function(e) {
return r.Message.setWrapperField(this, 8, e)
}
,
proto.webcast.data.VarietyShow.prototype.clearStatistics = function() {
return this.setStatistics(undefined)
}
,
proto.webcast.data.VarietyShow.prototype.hasStatistics = function() {
return null != r.Message.getField(this, 8)
}
,
proto.webcast.data.VarietyShow.prototype.getOwner = function() {
return r.Message.getWrapperField(this, s.User, 9)
}
,
proto.webcast.data.VarietyShow.prototype.setOwner = function(e) {
return r.Message.setWrapperField(this, 9, e)
}
,
proto.webcast.data.VarietyShow.prototype.clearOwner = function() {
return this.setOwner(undefined)
}
,
proto.webcast.data.VarietyShow.prototype.hasOwner = function() {
return null != r.Message.getField(this, 9)
}
,
r.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, o = {
challengeId: r.Message.getFieldWithDefault(t, 1, "0"),
challengeName: r.Message.getFieldWithDefault(t, 2, ""),
isCommerce: r.Message.getBooleanFieldWithDefault(t, 3, !1),
playCount: r.Message.getFieldWithDefault(t, 4, "0"),
cover: (a = t.getCover()) && u.Image.toObject(e, a),
seeTime: (a = t.getSeeTime()) && proto.webcast.data.TimePoint.toObject(e, a),
challengeDesc: r.Message.getFieldWithDefault(t, 7, ""),
subType: r.Message.getFieldWithDefault(t, 8, "0"),
highlightTime: r.Message.getFieldWithDefault(t, 9, "")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.TopicInfo.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.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 r.BinaryWriter;
return proto.webcast.data.TopicInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.TopicInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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, u.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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.TopicInfo.prototype.setChallengeId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.TopicInfo.prototype.getChallengeName = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.TopicInfo.prototype.setChallengeName = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.TopicInfo.prototype.getIsCommerce = function() {
return r.Message.getBooleanFieldWithDefault(this, 3, !1)
}
,
proto.webcast.data.TopicInfo.prototype.setIsCommerce = function(e) {
return r.Message.setProto3BooleanField(this, 3, e)
}
,
proto.webcast.data.TopicInfo.prototype.getPlayCount = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.TopicInfo.prototype.setPlayCount = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.TopicInfo.prototype.getCover = function() {
return r.Message.getWrapperField(this, u.Image, 5)
}
,
proto.webcast.data.TopicInfo.prototype.setCover = function(e) {
return r.Message.setWrapperField(this, 5, e)
}
,
proto.webcast.data.TopicInfo.prototype.clearCover = function() {
return this.setCover(undefined)
}
,
proto.webcast.data.TopicInfo.prototype.hasCover = function() {
return null != r.Message.getField(this, 5)
}
,
proto.webcast.data.TopicInfo.prototype.getSeeTime = function() {
return r.Message.getWrapperField(this, proto.webcast.data.TimePoint, 6)
}
,
proto.webcast.data.TopicInfo.prototype.setSeeTime = function(e) {
return r.Message.setWrapperField(this, 6, e)
}
,
proto.webcast.data.TopicInfo.prototype.clearSeeTime = function() {
return this.setSeeTime(undefined)
}
,
proto.webcast.data.TopicInfo.prototype.hasSeeTime = function() {
return null != r.Message.getField(this, 6)
}
,
proto.webcast.data.TopicInfo.prototype.getChallengeDesc = function() {
return r.Message.getFieldWithDefault(this, 7, "")
}
,
proto.webcast.data.TopicInfo.prototype.setChallengeDesc = function(e) {
return r.Message.setProto3StringField(this, 7, e)
}
,
proto.webcast.data.TopicInfo.prototype.getSubType = function() {
return r.Message.getFieldWithDefault(this, 8, "0")
}
,
proto.webcast.data.TopicInfo.prototype.setSubType = function(e) {
return r.Message.setProto3StringIntField(this, 8, e)
}
,
proto.webcast.data.TopicInfo.prototype.getHighlightTime = function() {
return r.Message.getFieldWithDefault(this, 9, "")
}
,
proto.webcast.data.TopicInfo.prototype.setHighlightTime = function(e) {
return r.Message.setProto3StringField(this, 9, e)
}
,
proto.webcast.data.TopicMeta.repeatedFields_ = [2],
r.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, o = {
background: (a = t.getBackground()) && u.Image.toObject(e, a),
backgroundColorsList: null == (a = r.Message.getRepeatedField(t, 2)) ? undefined : a,
cardIcon: (a = t.getCardIcon()) && u.Image.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.TopicMeta.deserializeBinary = function(e) {
var t = new r.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 u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setBackground(a);
break;
case 2:
a = t.readString();
e.addBackgroundColors(a);
break;
case 3:
a = new u.Image;
t.readMessage(a, u.Image.deserializeBinaryFromReader),
e.setCardIcon(a);
break;
default:
t.skipField()
}
}
return e
}
,
proto.webcast.data.TopicMeta.prototype.serializeBinary = function() {
var e = new r.BinaryWriter;
return proto.webcast.data.TopicMeta.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.TopicMeta.serializeBinaryToWriter = function(e, t) {
var a = undefined;
null != (a = e.getBackground()) && t.writeMessage(1, a, u.Image.serializeBinaryToWriter),
(a = e.getBackgroundColorsList()).length > 0 && t.writeRepeatedString(2, a),
null != (a = e.getCardIcon()) && t.writeMessage(3, a, u.Image.serializeBinaryToWriter)
}
,
proto.webcast.data.TopicMeta.prototype.getBackground = function() {
return r.Message.getWrapperField(this, u.Image, 1)
}
,
proto.webcast.data.TopicMeta.prototype.setBackground = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.TopicMeta.prototype.clearBackground = function() {
return this.setBackground(undefined)
}
,
proto.webcast.data.TopicMeta.prototype.hasBackground = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.TopicMeta.prototype.getBackgroundColorsList = function() {
return r.Message.getRepeatedField(this, 2)
}
,
proto.webcast.data.TopicMeta.prototype.setBackgroundColorsList = function(e) {
return r.Message.setField(this, 2, e || [])
}
,
proto.webcast.data.TopicMeta.prototype.addBackgroundColors = function(e, t) {
return r.Message.addToRepeatedField(this, 2, e, t)
}
,
proto.webcast.data.TopicMeta.prototype.clearBackgroundColorsList = function() {
return this.setBackgroundColorsList([])
}
,
proto.webcast.data.TopicMeta.prototype.getCardIcon = function() {
return r.Message.getWrapperField(this, u.Image, 3)
}
,
proto.webcast.data.TopicMeta.prototype.setCardIcon = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.TopicMeta.prototype.clearCardIcon = function() {
return this.setCardIcon(undefined)
}
,
proto.webcast.data.TopicMeta.prototype.hasCardIcon = function() {
return null != r.Message.getField(this, 3)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
duration: r.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.TimePoint.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.TimePoint.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.TimePoint.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.TimePoint.prototype.setStart = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.TimePoint.prototype.getDuration = function() {
return r.Message.getFieldWithDefault(this, 2, "0")
}
,
proto.webcast.data.TimePoint.prototype.setDuration = function(e) {
return r.Message.setProto3StringIntField(this, 2, e)
}
,
r.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, o = {
episodeStage: r.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 && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.FeedsVSInfo.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.FeedsVSInfo.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.FeedsVSInfo.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, 0)
}
,
proto.webcast.data.FeedsVSInfo.prototype.setEpisodeStage = function(e) {
return r.Message.setProto3EnumField(this, 1, e)
}
,
proto.webcast.data.FeedsVSInfo.prototype.getEpisode = function() {
return r.Message.getWrapperField(this, proto.webcast.data.Episode, 2)
}
,
proto.webcast.data.FeedsVSInfo.prototype.setEpisode = function(e) {
return r.Message.setWrapperField(this, 2, e)
}
,
proto.webcast.data.FeedsVSInfo.prototype.clearEpisode = function() {
return this.setEpisode(undefined)
}
,
proto.webcast.data.FeedsVSInfo.prototype.hasEpisode = function() {
return null != r.Message.getField(this, 2)
}
,
proto.webcast.data.FeedsVSInfo.prototype.getRoom = function() {
return r.Message.getWrapperField(this, d.Room, 3)
}
,
proto.webcast.data.FeedsVSInfo.prototype.setRoom = function(e) {
return r.Message.setWrapperField(this, 3, e)
}
,
proto.webcast.data.FeedsVSInfo.prototype.clearRoom = function() {
return this.setRoom(undefined)
}
,
proto.webcast.data.FeedsVSInfo.prototype.hasRoom = function() {
return null != r.Message.getField(this, 3)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
keyword: r.Message.getFieldWithDefault(t, 2, ""),
insertTime: r.Message.getFieldWithDefault(t, 3, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.UserFilterKeyword.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.UserFilterKeyword.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.UserFilterKeyword.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.UserFilterKeyword.prototype.setWordId = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.UserFilterKeyword.prototype.getKeyword = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.UserFilterKeyword.prototype.setKeyword = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.UserFilterKeyword.prototype.getInsertTime = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.UserFilterKeyword.prototype.setInsertTime = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.MoreSeason.repeatedFields_ = [1],
r.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: r.Message.toObjectList(t.getEpisodesList(), proto.webcast.data.AlbumItem.toObject, e),
moreSeasonTitle: r.Message.getFieldWithDefault(t, 2, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.MoreSeason.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.MoreSeason.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.MoreSeason.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getRepeatedWrapperField(this, proto.webcast.data.AlbumItem, 1)
}
,
proto.webcast.data.MoreSeason.prototype.setEpisodesList = function(e) {
return r.Message.setRepeatedWrapperField(this, 1, e)
}
,
proto.webcast.data.MoreSeason.prototype.addEpisodes = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.MoreSeason.prototype.setMoreSeasonTitle = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.VSSearchData.repeatedFields_ = [2, 3],
r.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, o = {
generalInfo: (a = t.getGeneralInfo()) && proto.webcast.data.Episode.toObject(e, a),
albumListList: r.Message.toObjectList(t.getAlbumListList(), proto.webcast.data.Episode.toObject, e),
relationListList: r.Message.toObjectList(t.getRelationListList(), proto.webcast.data.Episode.toObject, e),
latestPeriod: r.Message.getFieldWithDefault(t, 4, "0"),
albumCount: r.Message.getFieldWithDefault(t, 5, "0")
};
return e && (o.$jspbMessageInstance = t),
o
}
),
proto.webcast.data.VSSearchData.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.VSSearchData.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.VSSearchData.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getWrapperField(this, proto.webcast.data.Episode, 1)
}
,
proto.webcast.data.VSSearchData.prototype.setGeneralInfo = function(e) {
return r.Message.setWrapperField(this, 1, e)
}
,
proto.webcast.data.VSSearchData.prototype.clearGeneralInfo = function() {
return this.setGeneralInfo(undefined)
}
,
proto.webcast.data.VSSearchData.prototype.hasGeneralInfo = function() {
return null != r.Message.getField(this, 1)
}
,
proto.webcast.data.VSSearchData.prototype.getAlbumListList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.Episode, 2)
}
,
proto.webcast.data.VSSearchData.prototype.setAlbumListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 2, e)
}
,
proto.webcast.data.VSSearchData.prototype.addAlbumList = function(e, t) {
return r.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 r.Message.getRepeatedWrapperField(this, proto.webcast.data.Episode, 3)
}
,
proto.webcast.data.VSSearchData.prototype.setRelationListList = function(e) {
return r.Message.setRepeatedWrapperField(this, 3, e)
}
,
proto.webcast.data.VSSearchData.prototype.addRelationList = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.VSSearchData.prototype.setLatestPeriod = function(e) {
return r.Message.setProto3StringIntField(this, 4, e)
}
,
proto.webcast.data.VSSearchData.prototype.getAlbumCount = function() {
return r.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.VSSearchData.prototype.setAlbumCount = function(e) {
return r.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.SearchLoadMoreData.repeatedFields_ = [2],
r.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: r.Message.getBooleanFieldWithDefault(t, 1, !1),
dataList: r.Message.toObjectList(t.getDataList(), proto.webcast.data.SearchLoadMoreData.SearchData.toObject, e),
offset: r.Message.getFieldWithDefault(t, 3, "0"),
total: r.Message.getFieldWithDefault(t, 4, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SearchLoadMoreData.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.SearchLoadMoreData.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SearchLoadMoreData.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, ""),
title: r.Message.getFieldWithDefault(t, 2, ""),
episodeId: r.Message.getFieldWithDefault(t, 3, "0"),
schema: r.Message.getFieldWithDefault(t, 4, ""),
seq: r.Message.getFieldWithDefault(t, 5, "0")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.SearchLoadMoreData.SearchData.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.SearchLoadMoreData.SearchData.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.serializeBinaryToWriter = function(e, t) {
var a = undefined;
(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 r.Message.getFieldWithDefault(this, 1, "")
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.setName = function(e) {
return r.Message.setProto3StringField(this, 1, e)
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.getTitle = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.setTitle = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.getEpisodeId = function() {
return r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.setEpisodeId = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.getSchema = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.setSchema = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.getSeq = function() {
return r.Message.getFieldWithDefault(this, 5, "0")
}
,
proto.webcast.data.SearchLoadMoreData.SearchData.prototype.setSeq = function(e) {
return r.Message.setProto3StringIntField(this, 5, e)
}
,
proto.webcast.data.SearchLoadMoreData.prototype.getHasMore = function() {
return r.Message.getBooleanFieldWithDefault(this, 1, !1)
}
,
proto.webcast.data.SearchLoadMoreData.prototype.setHasMore = function(e) {
return r.Message.setProto3BooleanField(this, 1, e)
}
,
proto.webcast.data.SearchLoadMoreData.prototype.getDataList = function() {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.SearchLoadMoreData.SearchData, 2)
}
,
proto.webcast.data.SearchLoadMoreData.prototype.setDataList = function(e) {
return r.Message.setRepeatedWrapperField(this, 2, e)
}
,
proto.webcast.data.SearchLoadMoreData.prototype.addData = function(e, t) {
return r.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 r.Message.getFieldWithDefault(this, 3, "0")
}
,
proto.webcast.data.SearchLoadMoreData.prototype.setOffset = function(e) {
return r.Message.setProto3StringIntField(this, 3, e)
}
,
proto.webcast.data.SearchLoadMoreData.prototype.getTotal = function() {
return r.Message.getFieldWithDefault(this, 4, "0")
}
,
proto.webcast.data.SearchLoadMoreData.prototype.setTotal = function(e) {
return r.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
},
o.object.extend(t, proto.webcast.data)
},
22337: function(e, t, a) {
var r = a(47865)
, o = r
, i = function() {
return this ? this : "undefined" != typeof window ? window : void 0 !== i ? i : "undefined" != typeof self ? self : Function("return this")()
}
.call(null)
, n = a(36267);
o.object.extend(proto, n),
o.exportSymbol("proto.webcast.data.StandardMoney", null, i),
o.exportSymbol("proto.webcast.data.TimeStruct", null, i),
proto.webcast.data.StandardMoney = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.StandardMoney, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.StandardMoney.displayName = "proto.webcast.data.StandardMoney"),
proto.webcast.data.TimeStruct = function(e) {
r.Message.initialize(this, e, 0, -1, null, null)
}
,
o.inherits(proto.webcast.data.TimeStruct, r.Message),
o.DEBUG && !COMPILED && (proto.webcast.data.TimeStruct.displayName = "proto.webcast.data.TimeStruct"),
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
currencyName: r.Message.getFieldWithDefault(t, 2, ""),
currencyCharacter: r.Message.getFieldWithDefault(t, 3, ""),
moneyStr: r.Message.getFieldWithDefault(t, 4, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.StandardMoney.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.StandardMoney.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.StandardMoney.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.StandardMoney.prototype.setMoney = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.StandardMoney.prototype.getCurrencyName = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.StandardMoney.prototype.setCurrencyName = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.StandardMoney.prototype.getCurrencyCharacter = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.StandardMoney.prototype.setCurrencyCharacter = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
proto.webcast.data.StandardMoney.prototype.getMoneyStr = function() {
return r.Message.getFieldWithDefault(this, 4, "")
}
,
proto.webcast.data.StandardMoney.prototype.setMoneyStr = function(e) {
return r.Message.setProto3StringField(this, 4, e)
}
,
r.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: r.Message.getFieldWithDefault(t, 1, "0"),
timezone: r.Message.getFieldWithDefault(t, 2, ""),
strTime: r.Message.getFieldWithDefault(t, 3, "")
};
return e && (a.$jspbMessageInstance = t),
a
}
),
proto.webcast.data.TimeStruct.deserializeBinary = function(e) {
var t = new r.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 r.BinaryWriter;
return proto.webcast.data.TimeStruct.serializeBinaryToWriter(this, e),
e.getResultBuffer()
}
,
proto.webcast.data.TimeStruct.serializeBinaryToWriter = function(e, t) {
var a = undefined;
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 r.Message.getFieldWithDefault(this, 1, "0")
}
,
proto.webcast.data.TimeStruct.prototype.setTimestamp = function(e) {
return r.Message.setProto3StringIntField(this, 1, e)
}
,
proto.webcast.data.TimeStruct.prototype.getTimezone = function() {
return r.Message.getFieldWithDefault(this, 2, "")
}
,
proto.webcast.data.TimeStruct.prototype.setTimezone = function(e) {
return r.Message.setProto3StringField(this, 2, e)
}
,
proto.webcast.data.TimeStruct.prototype.getStrTime = function() {
return r.Message.getFieldWithDefault(this, 3, "")
}
,
proto.webcast.data.TimeStruct.prototype.setStrTime = function(e) {
return r.Message.setProto3StringField(this, 3, e)
}
,
o.object.extend(t, proto.webcast.data)
}
}]);
})();