diff --git a/client/daemon_grpc_web_pb.js b/client/daemon_grpc_web_pb.js index 90073ab1..6d5cffb1 100644 --- a/client/daemon_grpc_web_pb.js +++ b/client/daemon_grpc_web_pb.js @@ -7,6 +7,10 @@ // GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + + const grpc = {}; grpc.web = require('grpc-web'); @@ -37,16 +41,6 @@ proto.daemon.DaemonClient = */ this.hostname_ = hostname; - /** - * @private @const {?Object} The credentials to be used to connect - * to the server - */ - this.credentials_ = credentials; - - /** - * @private @const {?Object} Options for the client - */ - this.options_ = options; }; @@ -73,16 +67,6 @@ proto.daemon.DaemonPromiseClient = */ this.hostname_ = hostname; - /** - * @private @const {?Object} The credentials to be used to connect - * to the server - */ - this.credentials_ = credentials; - - /** - * @private @const {?Object} Options for the client - */ - this.options_ = options; }; @@ -97,7 +81,10 @@ const methodDescriptor_Daemon_LoginUser = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.LoginUserRequest, proto.daemon.LoginUserResponse, - /** @param {!proto.daemon.LoginUserRequest} request */ + /** + * @param {!proto.daemon.LoginUserRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -113,7 +100,10 @@ const methodDescriptor_Daemon_LoginUser = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_LoginUser = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.LoginUserResponse, - /** @param {!proto.daemon.LoginUserRequest} request */ + /** + * @param {!proto.daemon.LoginUserRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -148,7 +138,7 @@ proto.daemon.DaemonClient.prototype.loginUser = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.loginUser = function(request, metadata) { @@ -171,7 +161,10 @@ const methodDescriptor_Daemon_SignupUser = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.SignupUserRequest, proto.daemon.LoginUserResponse, - /** @param {!proto.daemon.SignupUserRequest} request */ + /** + * @param {!proto.daemon.SignupUserRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -187,7 +180,10 @@ const methodDescriptor_Daemon_SignupUser = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_SignupUser = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.LoginUserResponse, - /** @param {!proto.daemon.SignupUserRequest} request */ + /** + * @param {!proto.daemon.SignupUserRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -222,7 +218,7 @@ proto.daemon.DaemonClient.prototype.signupUser = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.signupUser = function(request, metadata) { @@ -245,7 +241,10 @@ const methodDescriptor_Daemon_InviteUser = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.InviteUserRequest, proto.daemon.InviteUserResponse, - /** @param {!proto.daemon.InviteUserRequest} request */ + /** + * @param {!proto.daemon.InviteUserRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -261,7 +260,10 @@ const methodDescriptor_Daemon_InviteUser = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_InviteUser = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.InviteUserResponse, - /** @param {!proto.daemon.InviteUserRequest} request */ + /** + * @param {!proto.daemon.InviteUserRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -296,7 +298,7 @@ proto.daemon.DaemonClient.prototype.inviteUser = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.inviteUser = function(request, metadata) { @@ -319,7 +321,10 @@ const methodDescriptor_Daemon_ListUsers = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.Empty, proto.daemon.ListUsersResponse, - /** @param {!proto.daemon.Empty} request */ + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -335,7 +340,10 @@ const methodDescriptor_Daemon_ListUsers = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_ListUsers = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.ListUsersResponse, - /** @param {!proto.daemon.Empty} request */ + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -370,7 +378,7 @@ proto.daemon.DaemonClient.prototype.listUsers = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.listUsers = function(request, metadata) { @@ -393,7 +401,10 @@ const methodDescriptor_Daemon_ChangeUserPasswd = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.UpdatePasswdRequest, proto.daemon.UpdatePasswdResponse, - /** @param {!proto.daemon.UpdatePasswdRequest} request */ + /** + * @param {!proto.daemon.UpdatePasswdRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -409,7 +420,10 @@ const methodDescriptor_Daemon_ChangeUserPasswd = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_ChangeUserPasswd = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.UpdatePasswdResponse, - /** @param {!proto.daemon.UpdatePasswdRequest} request */ + /** + * @param {!proto.daemon.UpdatePasswdRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -444,7 +458,7 @@ proto.daemon.DaemonClient.prototype.changeUserPasswd = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.changeUserPasswd = function(request, metadata) { @@ -467,7 +481,10 @@ const methodDescriptor_Daemon_DestroyUser = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.DestroyUserRequest, proto.daemon.DestroyUserResponse, - /** @param {!proto.daemon.DestroyUserRequest} request */ + /** + * @param {!proto.daemon.DestroyUserRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -483,7 +500,10 @@ const methodDescriptor_Daemon_DestroyUser = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_DestroyUser = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.DestroyUserResponse, - /** @param {!proto.daemon.DestroyUserRequest} request */ + /** + * @param {!proto.daemon.DestroyUserRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -518,7 +538,7 @@ proto.daemon.DaemonClient.prototype.destroyUser = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.destroyUser = function(request, metadata) { @@ -541,7 +561,10 @@ const methodDescriptor_Daemon_SetTeamSuspend = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.SetTeamSuspendRequest, proto.daemon.Empty, - /** @param {!proto.daemon.SetTeamSuspendRequest} request */ + /** + * @param {!proto.daemon.SetTeamSuspendRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -557,7 +580,10 @@ const methodDescriptor_Daemon_SetTeamSuspend = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_SetTeamSuspend = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.Empty, - /** @param {!proto.daemon.SetTeamSuspendRequest} request */ + /** + * @param {!proto.daemon.SetTeamSuspendRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -592,7 +618,7 @@ proto.daemon.DaemonClient.prototype.setTeamSuspend = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.setTeamSuspend = function(request, metadata) { @@ -615,7 +641,10 @@ const methodDescriptor_Daemon_UpdateTeamPassword = new grpc.web.MethodDescriptor grpc.web.MethodType.UNARY, proto.daemon.UpdateTeamPassRequest, proto.daemon.UpdateTeamPassResponse, - /** @param {!proto.daemon.UpdateTeamPassRequest} request */ + /** + * @param {!proto.daemon.UpdateTeamPassRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -631,7 +660,10 @@ const methodDescriptor_Daemon_UpdateTeamPassword = new grpc.web.MethodDescriptor */ const methodInfo_Daemon_UpdateTeamPassword = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.UpdateTeamPassResponse, - /** @param {!proto.daemon.UpdateTeamPassRequest} request */ + /** + * @param {!proto.daemon.UpdateTeamPassRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -666,7 +698,7 @@ proto.daemon.DaemonClient.prototype.updateTeamPassword = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.updateTeamPassword = function(request, metadata) { @@ -689,7 +721,10 @@ const methodDescriptor_Daemon_GetAPICreds = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.Empty, proto.daemon.CredsResponse, - /** @param {!proto.daemon.Empty} request */ + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -705,7 +740,10 @@ const methodDescriptor_Daemon_GetAPICreds = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_GetAPICreds = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.CredsResponse, - /** @param {!proto.daemon.Empty} request */ + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -740,7 +778,7 @@ proto.daemon.DaemonClient.prototype.getAPICreds = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.getAPICreds = function(request, metadata) { @@ -763,7 +801,10 @@ const methodDescriptor_Daemon_CreateEvent = new grpc.web.MethodDescriptor( grpc.web.MethodType.SERVER_STREAMING, proto.daemon.CreateEventRequest, proto.daemon.LabStatus, - /** @param {!proto.daemon.CreateEventRequest} request */ + /** + * @param {!proto.daemon.CreateEventRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -779,7 +820,10 @@ const methodDescriptor_Daemon_CreateEvent = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_CreateEvent = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.LabStatus, - /** @param {!proto.daemon.CreateEventRequest} request */ + /** + * @param {!proto.daemon.CreateEventRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -832,7 +876,10 @@ const methodDescriptor_Daemon_StopEvent = new grpc.web.MethodDescriptor( grpc.web.MethodType.SERVER_STREAMING, proto.daemon.StopEventRequest, proto.daemon.EventStatus, - /** @param {!proto.daemon.StopEventRequest} request */ + /** + * @param {!proto.daemon.StopEventRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -848,7 +895,10 @@ const methodDescriptor_Daemon_StopEvent = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_StopEvent = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.EventStatus, - /** @param {!proto.daemon.StopEventRequest} request */ + /** + * @param {!proto.daemon.StopEventRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -901,7 +951,10 @@ const methodDescriptor_Daemon_SuspendEvent = new grpc.web.MethodDescriptor( grpc.web.MethodType.SERVER_STREAMING, proto.daemon.SuspendEventRequest, proto.daemon.EventStatus, - /** @param {!proto.daemon.SuspendEventRequest} request */ + /** + * @param {!proto.daemon.SuspendEventRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -917,7 +970,10 @@ const methodDescriptor_Daemon_SuspendEvent = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_SuspendEvent = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.EventStatus, - /** @param {!proto.daemon.SuspendEventRequest} request */ + /** + * @param {!proto.daemon.SuspendEventRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -970,7 +1026,10 @@ const methodDescriptor_Daemon_ListEvents = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.ListEventsRequest, proto.daemon.ListEventsResponse, - /** @param {!proto.daemon.ListEventsRequest} request */ + /** + * @param {!proto.daemon.ListEventsRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -986,7 +1045,10 @@ const methodDescriptor_Daemon_ListEvents = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_ListEvents = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.ListEventsResponse, - /** @param {!proto.daemon.ListEventsRequest} request */ + /** + * @param {!proto.daemon.ListEventsRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1021,7 +1083,7 @@ proto.daemon.DaemonClient.prototype.listEvents = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.listEvents = function(request, metadata) { @@ -1044,7 +1106,10 @@ const methodDescriptor_Daemon_ListEventTeams = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.ListEventTeamsRequest, proto.daemon.ListEventTeamsResponse, - /** @param {!proto.daemon.ListEventTeamsRequest} request */ + /** + * @param {!proto.daemon.ListEventTeamsRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1060,7 +1125,10 @@ const methodDescriptor_Daemon_ListEventTeams = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_ListEventTeams = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.ListEventTeamsResponse, - /** @param {!proto.daemon.ListEventTeamsRequest} request */ + /** + * @param {!proto.daemon.ListEventTeamsRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1095,7 +1163,7 @@ proto.daemon.DaemonClient.prototype.listEventTeams = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.listEventTeams = function(request, metadata) { @@ -1118,7 +1186,10 @@ const methodDescriptor_Daemon_RestartTeamLab = new grpc.web.MethodDescriptor( grpc.web.MethodType.SERVER_STREAMING, proto.daemon.RestartTeamLabRequest, proto.daemon.EventStatus, - /** @param {!proto.daemon.RestartTeamLabRequest} request */ + /** + * @param {!proto.daemon.RestartTeamLabRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1134,7 +1205,10 @@ const methodDescriptor_Daemon_RestartTeamLab = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_RestartTeamLab = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.EventStatus, - /** @param {!proto.daemon.RestartTeamLabRequest} request */ + /** + * @param {!proto.daemon.RestartTeamLabRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1187,7 +1261,10 @@ const methodDescriptor_Daemon_SolveChallenge = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.SolveChallengeRequest, proto.daemon.SolveChallengeResponse, - /** @param {!proto.daemon.SolveChallengeRequest} request */ + /** + * @param {!proto.daemon.SolveChallengeRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1203,7 +1280,10 @@ const methodDescriptor_Daemon_SolveChallenge = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_SolveChallenge = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.SolveChallengeResponse, - /** @param {!proto.daemon.SolveChallengeRequest} request */ + /** + * @param {!proto.daemon.SolveChallengeRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1238,7 +1318,7 @@ proto.daemon.DaemonClient.prototype.solveChallenge = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.solveChallenge = function(request, metadata) { @@ -1261,7 +1341,10 @@ const methodDescriptor_Daemon_AddChallenge = new grpc.web.MethodDescriptor( grpc.web.MethodType.SERVER_STREAMING, proto.daemon.AddChallengeRequest, proto.daemon.AddChallengeResponse, - /** @param {!proto.daemon.AddChallengeRequest} request */ + /** + * @param {!proto.daemon.AddChallengeRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1277,7 +1360,10 @@ const methodDescriptor_Daemon_AddChallenge = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_AddChallenge = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.AddChallengeResponse, - /** @param {!proto.daemon.AddChallengeRequest} request */ + /** + * @param {!proto.daemon.AddChallengeRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1330,7 +1416,10 @@ const methodDescriptor_Daemon_AddNotification = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.AddNotificationRequest, proto.daemon.AddNotificationResponse, - /** @param {!proto.daemon.AddNotificationRequest} request */ + /** + * @param {!proto.daemon.AddNotificationRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1346,7 +1435,10 @@ const methodDescriptor_Daemon_AddNotification = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_AddNotification = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.AddNotificationResponse, - /** @param {!proto.daemon.AddNotificationRequest} request */ + /** + * @param {!proto.daemon.AddNotificationRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1381,7 +1473,7 @@ proto.daemon.DaemonClient.prototype.addNotification = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.addNotification = function(request, metadata) { @@ -1404,7 +1496,10 @@ const methodDescriptor_Daemon_DeleteTeam = new grpc.web.MethodDescriptor( grpc.web.MethodType.SERVER_STREAMING, proto.daemon.DeleteTeamRequest, proto.daemon.DeleteTeamResponse, - /** @param {!proto.daemon.DeleteTeamRequest} request */ + /** + * @param {!proto.daemon.DeleteTeamRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1420,7 +1515,10 @@ const methodDescriptor_Daemon_DeleteTeam = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_DeleteTeam = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.DeleteTeamResponse, - /** @param {!proto.daemon.DeleteTeamRequest} request */ + /** + * @param {!proto.daemon.DeleteTeamRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1473,7 +1571,10 @@ const methodDescriptor_Daemon_GetTeamChals = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.GetTeamInfoRequest, proto.daemon.TeamChalsInfo, - /** @param {!proto.daemon.GetTeamInfoRequest} request */ + /** + * @param {!proto.daemon.GetTeamInfoRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1489,7 +1590,10 @@ const methodDescriptor_Daemon_GetTeamChals = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_GetTeamChals = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.TeamChalsInfo, - /** @param {!proto.daemon.GetTeamInfoRequest} request */ + /** + * @param {!proto.daemon.GetTeamInfoRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1524,7 +1628,7 @@ proto.daemon.DaemonClient.prototype.getTeamChals = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.getTeamChals = function(request, metadata) { @@ -1547,7 +1651,10 @@ const methodDescriptor_Daemon_StressEvent = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.TestEventLoadReq, proto.daemon.TestEventLoadResp, - /** @param {!proto.daemon.TestEventLoadReq} request */ + /** + * @param {!proto.daemon.TestEventLoadReq} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1563,7 +1670,10 @@ const methodDescriptor_Daemon_StressEvent = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_StressEvent = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.TestEventLoadResp, - /** @param {!proto.daemon.TestEventLoadReq} request */ + /** + * @param {!proto.daemon.TestEventLoadReq} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1598,7 +1708,7 @@ proto.daemon.DaemonClient.prototype.stressEvent = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.stressEvent = function(request, metadata) { @@ -1621,7 +1731,10 @@ const methodDescriptor_Daemon_ListExercises = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.Empty, proto.daemon.ListExercisesResponse, - /** @param {!proto.daemon.Empty} request */ + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1637,7 +1750,10 @@ const methodDescriptor_Daemon_ListExercises = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_ListExercises = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.ListExercisesResponse, - /** @param {!proto.daemon.Empty} request */ + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1672,7 +1788,7 @@ proto.daemon.DaemonClient.prototype.listExercises = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.listExercises = function(request, metadata) { @@ -1695,7 +1811,10 @@ const methodDescriptor_Daemon_ResetExercise = new grpc.web.MethodDescriptor( grpc.web.MethodType.SERVER_STREAMING, proto.daemon.ResetExerciseRequest, proto.daemon.ResetTeamStatus, - /** @param {!proto.daemon.ResetExerciseRequest} request */ + /** + * @param {!proto.daemon.ResetExerciseRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1711,7 +1830,10 @@ const methodDescriptor_Daemon_ResetExercise = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_ResetExercise = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.ResetTeamStatus, - /** @param {!proto.daemon.ResetExerciseRequest} request */ + /** + * @param {!proto.daemon.ResetExerciseRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1764,7 +1886,10 @@ const methodDescriptor_Daemon_GetExercisesByTags = new grpc.web.MethodDescriptor grpc.web.MethodType.UNARY, proto.daemon.GetExsByTagsReq, proto.daemon.GetExsByTagsResp, - /** @param {!proto.daemon.GetExsByTagsReq} request */ + /** + * @param {!proto.daemon.GetExsByTagsReq} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1780,7 +1905,10 @@ const methodDescriptor_Daemon_GetExercisesByTags = new grpc.web.MethodDescriptor */ const methodInfo_Daemon_GetExercisesByTags = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.GetExsByTagsResp, - /** @param {!proto.daemon.GetExsByTagsReq} request */ + /** + * @param {!proto.daemon.GetExsByTagsReq} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1815,7 +1943,7 @@ proto.daemon.DaemonClient.prototype.getExercisesByTags = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.getExercisesByTags = function(request, metadata) { @@ -1838,7 +1966,10 @@ const methodDescriptor_Daemon_ListFrontends = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.Empty, proto.daemon.ListFrontendsResponse, - /** @param {!proto.daemon.Empty} request */ + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1854,7 +1985,10 @@ const methodDescriptor_Daemon_ListFrontends = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_ListFrontends = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.ListFrontendsResponse, - /** @param {!proto.daemon.Empty} request */ + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1889,7 +2023,7 @@ proto.daemon.DaemonClient.prototype.listFrontends = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.listFrontends = function(request, metadata) { @@ -1912,7 +2046,10 @@ const methodDescriptor_Daemon_ResetFrontends = new grpc.web.MethodDescriptor( grpc.web.MethodType.SERVER_STREAMING, proto.daemon.ResetFrontendsRequest, proto.daemon.ResetTeamStatus, - /** @param {!proto.daemon.ResetFrontendsRequest} request */ + /** + * @param {!proto.daemon.ResetFrontendsRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1928,7 +2065,10 @@ const methodDescriptor_Daemon_ResetFrontends = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_ResetFrontends = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.ResetTeamStatus, - /** @param {!proto.daemon.ResetFrontendsRequest} request */ + /** + * @param {!proto.daemon.ResetFrontendsRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1981,7 +2121,10 @@ const methodDescriptor_Daemon_SetFrontendMemory = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.SetFrontendMemoryRequest, proto.daemon.Empty, - /** @param {!proto.daemon.SetFrontendMemoryRequest} request */ + /** + * @param {!proto.daemon.SetFrontendMemoryRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -1997,7 +2140,10 @@ const methodDescriptor_Daemon_SetFrontendMemory = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_SetFrontendMemory = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.Empty, - /** @param {!proto.daemon.SetFrontendMemoryRequest} request */ + /** + * @param {!proto.daemon.SetFrontendMemoryRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -2032,7 +2178,7 @@ proto.daemon.DaemonClient.prototype.setFrontendMemory = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.setFrontendMemory = function(request, metadata) { @@ -2055,7 +2201,10 @@ const methodDescriptor_Daemon_SetFrontendCpu = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.SetFrontendCpuRequest, proto.daemon.Empty, - /** @param {!proto.daemon.SetFrontendCpuRequest} request */ + /** + * @param {!proto.daemon.SetFrontendCpuRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -2071,7 +2220,10 @@ const methodDescriptor_Daemon_SetFrontendCpu = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_SetFrontendCpu = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.Empty, - /** @param {!proto.daemon.SetFrontendCpuRequest} request */ + /** + * @param {!proto.daemon.SetFrontendCpuRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -2106,7 +2258,7 @@ proto.daemon.DaemonClient.prototype.setFrontendCpu = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.setFrontendCpu = function(request, metadata) { @@ -2129,7 +2281,10 @@ const methodDescriptor_Daemon_GetTeamInfo = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.GetTeamInfoRequest, proto.daemon.GetTeamInfoResponse, - /** @param {!proto.daemon.GetTeamInfoRequest} request */ + /** + * @param {!proto.daemon.GetTeamInfoRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -2145,7 +2300,10 @@ const methodDescriptor_Daemon_GetTeamInfo = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_GetTeamInfo = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.GetTeamInfoResponse, - /** @param {!proto.daemon.GetTeamInfoRequest} request */ + /** + * @param {!proto.daemon.GetTeamInfoRequest} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -2180,7 +2338,7 @@ proto.daemon.DaemonClient.prototype.getTeamInfo = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.getTeamInfo = function(request, metadata) { @@ -2203,7 +2361,10 @@ const methodDescriptor_Daemon_MonitorHost = new grpc.web.MethodDescriptor( grpc.web.MethodType.SERVER_STREAMING, proto.daemon.Empty, proto.daemon.MonitorHostResponse, - /** @param {!proto.daemon.Empty} request */ + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -2219,7 +2380,10 @@ const methodDescriptor_Daemon_MonitorHost = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_MonitorHost = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.MonitorHostResponse, - /** @param {!proto.daemon.Empty} request */ + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -2272,7 +2436,10 @@ const methodDescriptor_Daemon_Version = new grpc.web.MethodDescriptor( grpc.web.MethodType.UNARY, proto.daemon.Empty, proto.daemon.VersionResponse, - /** @param {!proto.daemon.Empty} request */ + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -2288,7 +2455,10 @@ const methodDescriptor_Daemon_Version = new grpc.web.MethodDescriptor( */ const methodInfo_Daemon_Version = new grpc.web.AbstractClientBase.MethodInfo( proto.daemon.VersionResponse, - /** @param {!proto.daemon.Empty} request */ + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ function(request) { return request.serializeBinary(); }, @@ -2323,7 +2493,7 @@ proto.daemon.DaemonClient.prototype.version = * @param {?Object} metadata User defined * call metadata * @return {!Promise} - * A native promise that resolves to the response + * Promise that resolves to the response */ proto.daemon.DaemonPromiseClient.prototype.version = function(request, metadata) { @@ -2335,5 +2505,85 @@ proto.daemon.DaemonPromiseClient.prototype.version = }; +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.daemon.Empty, + * !proto.daemon.ListCategoriesResponse>} + */ +const methodDescriptor_Daemon_ListCategories = new grpc.web.MethodDescriptor( + '/daemon.Daemon/ListCategories', + grpc.web.MethodType.UNARY, + proto.daemon.Empty, + proto.daemon.ListCategoriesResponse, + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.daemon.ListCategoriesResponse.deserializeBinary +); + + +/** + * @const + * @type {!grpc.web.AbstractClientBase.MethodInfo< + * !proto.daemon.Empty, + * !proto.daemon.ListCategoriesResponse>} + */ +const methodInfo_Daemon_ListCategories = new grpc.web.AbstractClientBase.MethodInfo( + proto.daemon.ListCategoriesResponse, + /** + * @param {!proto.daemon.Empty} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.daemon.ListCategoriesResponse.deserializeBinary +); + + +/** + * @param {!proto.daemon.Empty} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.Error, ?proto.daemon.ListCategoriesResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.daemon.DaemonClient.prototype.listCategories = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/daemon.Daemon/ListCategories', + request, + metadata || {}, + methodDescriptor_Daemon_ListCategories, + callback); +}; + + +/** + * @param {!proto.daemon.Empty} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.daemon.DaemonPromiseClient.prototype.listCategories = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/daemon.Daemon/ListCategories', + request, + metadata || {}, + methodDescriptor_Daemon_ListCategories); +}; + + module.exports = proto.daemon; diff --git a/client/daemon_pb.js b/client/daemon_pb.js index 8e9f7e20..b43c35e7 100644 --- a/client/daemon_pb.js +++ b/client/daemon_pb.js @@ -1,15 +1,11 @@ -// source: daemon.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; @@ -37,6 +33,8 @@ goog.exportSymbol('proto.daemon.GetTeamInfoResponse.Instance', null, global); goog.exportSymbol('proto.daemon.InviteUserRequest', null, global); goog.exportSymbol('proto.daemon.InviteUserResponse', null, global); goog.exportSymbol('proto.daemon.LabStatus', null, global); +goog.exportSymbol('proto.daemon.ListCategoriesResponse', null, global); +goog.exportSymbol('proto.daemon.ListCategoriesResponse.Category', null, global); goog.exportSymbol('proto.daemon.ListEventTeamsRequest', null, global); goog.exportSymbol('proto.daemon.ListEventTeamsResponse', null, global); goog.exportSymbol('proto.daemon.ListEventTeamsResponse.Teams', null, global); @@ -74,6 +72,7 @@ goog.exportSymbol('proto.daemon.UpdatePasswdResponse', null, global); goog.exportSymbol('proto.daemon.UpdateTeamPassRequest', null, global); goog.exportSymbol('proto.daemon.UpdateTeamPassResponse', null, global); goog.exportSymbol('proto.daemon.VersionResponse', null, global); + /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -84,1238 +83,15 @@ goog.exportSymbol('proto.daemon.VersionResponse', null, global); * @extends {jspb.Message} * @constructor */ -proto.daemon.AddNotificationRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.AddNotificationRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.AddNotificationRequest.displayName = 'proto.daemon.AddNotificationRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.AddNotificationResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.AddNotificationResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.AddNotificationResponse.displayName = 'proto.daemon.AddNotificationResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.AddChallengeRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.AddChallengeRequest.repeatedFields_, null); -}; -goog.inherits(proto.daemon.AddChallengeRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.AddChallengeRequest.displayName = 'proto.daemon.AddChallengeRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.AddChallengeResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.AddChallengeResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.AddChallengeResponse.displayName = 'proto.daemon.AddChallengeResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.GetExsByTagsReq = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.GetExsByTagsReq.repeatedFields_, null); -}; -goog.inherits(proto.daemon.GetExsByTagsReq, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.GetExsByTagsReq.displayName = 'proto.daemon.GetExsByTagsReq'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.GetExsByTagsResp = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.GetExsByTagsResp.repeatedFields_, null); -}; -goog.inherits(proto.daemon.GetExsByTagsResp, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.GetExsByTagsResp.displayName = 'proto.daemon.GetExsByTagsResp'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.GetExsByTagsResp.ExInfo = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.GetExsByTagsResp.ExInfo, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.GetExsByTagsResp.ExInfo.displayName = 'proto.daemon.GetExsByTagsResp.ExInfo'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.DeleteTeamRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.DeleteTeamRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.DeleteTeamRequest.displayName = 'proto.daemon.DeleteTeamRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.DeleteTeamResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.DeleteTeamResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.DeleteTeamResponse.displayName = 'proto.daemon.DeleteTeamResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.UpdateTeamPassRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.UpdateTeamPassRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.UpdateTeamPassRequest.displayName = 'proto.daemon.UpdateTeamPassRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.UpdateTeamPassResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.UpdateTeamPassResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.UpdateTeamPassResponse.displayName = 'proto.daemon.UpdateTeamPassResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.SolveChallengeRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.SolveChallengeRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.SolveChallengeRequest.displayName = 'proto.daemon.SolveChallengeRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.SolveChallengeResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.SolveChallengeResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.SolveChallengeResponse.displayName = 'proto.daemon.SolveChallengeResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.Flag = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.Flag, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.Flag.displayName = 'proto.daemon.Flag'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.TeamChalsInfo = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.TeamChalsInfo.repeatedFields_, null); -}; -goog.inherits(proto.daemon.TeamChalsInfo, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.TeamChalsInfo.displayName = 'proto.daemon.TeamChalsInfo'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.CredsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.CredsResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.CredsResponse.displayName = 'proto.daemon.CredsResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.Team = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.Team, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.Team.displayName = 'proto.daemon.Team'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.SuspendEventRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.SuspendEventRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.SuspendEventRequest.displayName = 'proto.daemon.SuspendEventRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.SetTeamSuspendRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.SetTeamSuspendRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.SetTeamSuspendRequest.displayName = 'proto.daemon.SetTeamSuspendRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.DestroyUserRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.DestroyUserRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.DestroyUserRequest.displayName = 'proto.daemon.DestroyUserRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.DestroyUserResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.DestroyUserResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.DestroyUserResponse.displayName = 'proto.daemon.DestroyUserResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.UpdatePasswdRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.UpdatePasswdRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.UpdatePasswdRequest.displayName = 'proto.daemon.UpdatePasswdRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.UpdatePasswdResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.UpdatePasswdResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.UpdatePasswdResponse.displayName = 'proto.daemon.UpdatePasswdResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.LoginUserRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.LoginUserRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.LoginUserRequest.displayName = 'proto.daemon.LoginUserRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.LoginUserResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.LoginUserResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.LoginUserResponse.displayName = 'proto.daemon.LoginUserResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.SignupUserRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.SignupUserRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.SignupUserRequest.displayName = 'proto.daemon.SignupUserRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.InviteUserRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.InviteUserRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.InviteUserRequest.displayName = 'proto.daemon.InviteUserRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.InviteUserResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.InviteUserResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.InviteUserResponse.displayName = 'proto.daemon.InviteUserResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ListUsersResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ListUsersResponse.repeatedFields_, null); -}; -goog.inherits(proto.daemon.ListUsersResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ListUsersResponse.displayName = 'proto.daemon.ListUsersResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ListUsersResponse.UserInfo = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.ListUsersResponse.UserInfo, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ListUsersResponse.UserInfo.displayName = 'proto.daemon.ListUsersResponse.UserInfo'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.CreateEventRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.CreateEventRequest.repeatedFields_, null); -}; -goog.inherits(proto.daemon.CreateEventRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.CreateEventRequest.displayName = 'proto.daemon.CreateEventRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.TestEventLoadReq = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.TestEventLoadReq, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.TestEventLoadReq.displayName = 'proto.daemon.TestEventLoadReq'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.TestEventLoadResp = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.TestEventLoadResp, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.TestEventLoadResp.displayName = 'proto.daemon.TestEventLoadResp'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ListEventsRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.ListEventsRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ListEventsRequest.displayName = 'proto.daemon.ListEventsRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ListEventsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ListEventsResponse.repeatedFields_, null); -}; -goog.inherits(proto.daemon.ListEventsResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ListEventsResponse.displayName = 'proto.daemon.ListEventsResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ListEventsResponse.Events = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.ListEventsResponse.Events, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ListEventsResponse.Events.displayName = 'proto.daemon.ListEventsResponse.Events'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ListEventTeamsRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.ListEventTeamsRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ListEventTeamsRequest.displayName = 'proto.daemon.ListEventTeamsRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ListEventTeamsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ListEventTeamsResponse.repeatedFields_, null); -}; -goog.inherits(proto.daemon.ListEventTeamsResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ListEventTeamsResponse.displayName = 'proto.daemon.ListEventTeamsResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ListEventTeamsResponse.Teams = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.ListEventTeamsResponse.Teams, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ListEventTeamsResponse.Teams.displayName = 'proto.daemon.ListEventTeamsResponse.Teams'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.RestartTeamLabRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.RestartTeamLabRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.RestartTeamLabRequest.displayName = 'proto.daemon.RestartTeamLabRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ResetExerciseRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ResetExerciseRequest.repeatedFields_, null); -}; -goog.inherits(proto.daemon.ResetExerciseRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ResetExerciseRequest.displayName = 'proto.daemon.ResetExerciseRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ListExercisesResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ListExercisesResponse.repeatedFields_, null); -}; -goog.inherits(proto.daemon.ListExercisesResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ListExercisesResponse.displayName = 'proto.daemon.ListExercisesResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ListExercisesResponse.Exercise = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ListExercisesResponse.Exercise.repeatedFields_, null); -}; -goog.inherits(proto.daemon.ListExercisesResponse.Exercise, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ListExercisesResponse.Exercise.displayName = 'proto.daemon.ListExercisesResponse.Exercise'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.displayName = 'proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ResetTeamStatus = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.ResetTeamStatus, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ResetTeamStatus.displayName = 'proto.daemon.ResetTeamStatus'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.StopEventRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.StopEventRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.StopEventRequest.displayName = 'proto.daemon.StopEventRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.EventStatus = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.EventStatus, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.EventStatus.displayName = 'proto.daemon.EventStatus'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.LabStatus = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.LabStatus, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.LabStatus.displayName = 'proto.daemon.LabStatus'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.MonitorHostResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.MonitorHostResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.MonitorHostResponse.displayName = 'proto.daemon.MonitorHostResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.Empty = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.Empty, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.Empty.displayName = 'proto.daemon.Empty'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.VersionResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.VersionResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.VersionResponse.displayName = 'proto.daemon.VersionResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ListFrontendsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ListFrontendsResponse.repeatedFields_, null); -}; -goog.inherits(proto.daemon.ListFrontendsResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ListFrontendsResponse.displayName = 'proto.daemon.ListFrontendsResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ListFrontendsResponse.Frontend = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.ListFrontendsResponse.Frontend, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ListFrontendsResponse.Frontend.displayName = 'proto.daemon.ListFrontendsResponse.Frontend'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.ResetFrontendsRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ResetFrontendsRequest.repeatedFields_, null); -}; -goog.inherits(proto.daemon.ResetFrontendsRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.ResetFrontendsRequest.displayName = 'proto.daemon.ResetFrontendsRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.SetFrontendMemoryRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.SetFrontendMemoryRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.SetFrontendMemoryRequest.displayName = 'proto.daemon.SetFrontendMemoryRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.SetFrontendCpuRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.SetFrontendCpuRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.SetFrontendCpuRequest.displayName = 'proto.daemon.SetFrontendCpuRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.GetTeamInfoRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.daemon.GetTeamInfoRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.GetTeamInfoRequest.displayName = 'proto.daemon.GetTeamInfoRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.GetTeamInfoResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.GetTeamInfoResponse.repeatedFields_, null); -}; -goog.inherits(proto.daemon.GetTeamInfoResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.GetTeamInfoResponse.displayName = 'proto.daemon.GetTeamInfoResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.daemon.GetTeamInfoResponse.Instance = function(opt_data) { +proto.daemon.AddNotificationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.daemon.GetTeamInfoResponse.Instance, jspb.Message); +goog.inherits(proto.daemon.AddNotificationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.daemon.GetTeamInfoResponse.Instance.displayName = 'proto.daemon.GetTeamInfoResponse.Instance'; + proto.daemon.AddNotificationRequest.displayName = 'proto.daemon.AddNotificationRequest'; } - if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto suitable for use in Soy templates. @@ -1468,6 +244,23 @@ proto.daemon.AddNotificationRequest.prototype.setLoggedusers = function(value) { +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.AddNotificationResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.AddNotificationResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.AddNotificationResponse.displayName = 'proto.daemon.AddNotificationResponse'; +} if (jspb.Message.GENERATE_TO_OBJECT) { @@ -1593,6 +386,23 @@ proto.daemon.AddNotificationResponse.prototype.setResponse = function(value) { +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.AddChallengeRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.AddChallengeRequest.repeatedFields_, null); +}; +goog.inherits(proto.daemon.AddChallengeRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.AddChallengeRequest.displayName = 'proto.daemon.AddChallengeRequest'; +} /** * List of repeated fields within this message type. * @private {!Array} @@ -1752,7 +562,7 @@ proto.daemon.AddChallengeRequest.prototype.setChallengetagList = function(value) /** - * @param {string} value + * @param {!string} value * @param {number=} opt_index */ proto.daemon.AddChallengeRequest.prototype.addChallengetag = function(value, opt_index) { @@ -1760,15 +570,29 @@ proto.daemon.AddChallengeRequest.prototype.addChallengetag = function(value, opt }; -/** - * Clears the list making it empty but non-null. - */ proto.daemon.AddChallengeRequest.prototype.clearChallengetagList = function() { this.setChallengetagList([]); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.AddChallengeResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.AddChallengeResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.AddChallengeResponse.displayName = 'proto.daemon.AddChallengeResponse'; +} if (jspb.Message.GENERATE_TO_OBJECT) { @@ -1894,6 +718,23 @@ proto.daemon.AddChallengeResponse.prototype.setMessage = function(value) { +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.GetExsByTagsReq = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.GetExsByTagsReq.repeatedFields_, null); +}; +goog.inherits(proto.daemon.GetExsByTagsReq, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.GetExsByTagsReq.displayName = 'proto.daemon.GetExsByTagsReq'; +} /** * List of repeated fields within this message type. * @private {!Array} @@ -1905,15 +746,13 @@ proto.daemon.GetExsByTagsReq.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.GetExsByTagsReq.prototype.toObject = function(opt_includeInstance) { @@ -1923,8 +762,8 @@ proto.daemon.GetExsByTagsReq.prototype.toObject = function(opt_includeInstance) /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.GetExsByTagsReq} msg The msg instance to transform. * @return {!Object} @@ -1932,7 +771,7 @@ proto.daemon.GetExsByTagsReq.prototype.toObject = function(opt_includeInstance) */ proto.daemon.GetExsByTagsReq.toObject = function(includeInstance, msg) { var f, obj = { - tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + tagsList: jspb.Message.getRepeatedField(msg, 1) }; if (includeInstance) { @@ -2021,35 +860,44 @@ proto.daemon.GetExsByTagsReq.prototype.getTagsList = function() { }; -/** - * @param {!Array} value - * @return {!proto.daemon.GetExsByTagsReq} returns this - */ +/** @param {!Array} value */ proto.daemon.GetExsByTagsReq.prototype.setTagsList = function(value) { - return jspb.Message.setField(this, 1, value || []); + jspb.Message.setField(this, 1, value || []); }; /** - * @param {string} value + * @param {!string} value * @param {number=} opt_index - * @return {!proto.daemon.GetExsByTagsReq} returns this */ proto.daemon.GetExsByTagsReq.prototype.addTags = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 1, value, opt_index); + jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; -/** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.GetExsByTagsReq} returns this - */ proto.daemon.GetExsByTagsReq.prototype.clearTagsList = function() { - return this.setTagsList([]); + this.setTagsList([]); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.GetExsByTagsResp = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.GetExsByTagsResp.repeatedFields_, null); +}; +goog.inherits(proto.daemon.GetExsByTagsResp, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.GetExsByTagsResp.displayName = 'proto.daemon.GetExsByTagsResp'; +} /** * List of repeated fields within this message type. * @private {!Array} @@ -2061,15 +909,13 @@ proto.daemon.GetExsByTagsResp.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.GetExsByTagsResp.prototype.toObject = function(opt_includeInstance) { @@ -2079,8 +925,8 @@ proto.daemon.GetExsByTagsResp.prototype.toObject = function(opt_includeInstance) /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.GetExsByTagsResp} msg The msg instance to transform. * @return {!Object} @@ -2172,19 +1018,34 @@ proto.daemon.GetExsByTagsResp.serializeBinaryToWriter = function(message, writer +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.GetExsByTagsResp.ExInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.GetExsByTagsResp.ExInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.GetExsByTagsResp.ExInfo.displayName = 'proto.daemon.GetExsByTagsResp.ExInfo'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.GetExsByTagsResp.ExInfo.prototype.toObject = function(opt_includeInstance) { @@ -2194,8 +1055,8 @@ proto.daemon.GetExsByTagsResp.ExInfo.prototype.toObject = function(opt_includeIn /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.GetExsByTagsResp.ExInfo} msg The msg instance to transform. * @return {!Object} @@ -2304,12 +1165,9 @@ proto.daemon.GetExsByTagsResp.ExInfo.prototype.getName = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.GetExsByTagsResp.ExInfo} returns this - */ +/** @param {string} value */ proto.daemon.GetExsByTagsResp.ExInfo.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -2322,12 +1180,9 @@ proto.daemon.GetExsByTagsResp.ExInfo.prototype.getTag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.GetExsByTagsResp.ExInfo} returns this - */ +/** @param {string} value */ proto.daemon.GetExsByTagsResp.ExInfo.prototype.setTag = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; @@ -2341,12 +1196,9 @@ proto.daemon.GetExsByTagsResp.prototype.getExercisesList = function() { }; -/** - * @param {!Array} value - * @return {!proto.daemon.GetExsByTagsResp} returns this -*/ +/** @param {!Array} value */ proto.daemon.GetExsByTagsResp.prototype.setExercisesList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + jspb.Message.setRepeatedWrapperField(this, 1, value); }; @@ -2360,29 +1212,40 @@ proto.daemon.GetExsByTagsResp.prototype.addExercises = function(opt_value, opt_i }; -/** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.GetExsByTagsResp} returns this - */ proto.daemon.GetExsByTagsResp.prototype.clearExercisesList = function() { - return this.setExercisesList([]); + this.setExercisesList([]); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.DeleteTeamRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.DeleteTeamRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.DeleteTeamRequest.displayName = 'proto.daemon.DeleteTeamRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.DeleteTeamRequest.prototype.toObject = function(opt_includeInstance) { @@ -2392,8 +1255,8 @@ proto.daemon.DeleteTeamRequest.prototype.toObject = function(opt_includeInstance /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.DeleteTeamRequest} msg The msg instance to transform. * @return {!Object} @@ -2502,12 +1365,9 @@ proto.daemon.DeleteTeamRequest.prototype.getEvtag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.DeleteTeamRequest} returns this - */ +/** @param {string} value */ proto.daemon.DeleteTeamRequest.prototype.setEvtag = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -2520,29 +1380,41 @@ proto.daemon.DeleteTeamRequest.prototype.getTeamid = function() { }; +/** @param {string} value */ +proto.daemon.DeleteTeamRequest.prototype.setTeamid = function(value) { + jspb.Message.setProto3StringField(this, 2, value); +}; + + + /** - * @param {string} value - * @return {!proto.daemon.DeleteTeamRequest} returns this + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor */ -proto.daemon.DeleteTeamRequest.prototype.setTeamid = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); +proto.daemon.DeleteTeamResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; - - - +goog.inherits(proto.daemon.DeleteTeamResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.DeleteTeamResponse.displayName = 'proto.daemon.DeleteTeamResponse'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.DeleteTeamResponse.prototype.toObject = function(opt_includeInstance) { @@ -2552,8 +1424,8 @@ proto.daemon.DeleteTeamResponse.prototype.toObject = function(opt_includeInstanc /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.DeleteTeamResponse} msg The msg instance to transform. * @return {!Object} @@ -2650,29 +1522,41 @@ proto.daemon.DeleteTeamResponse.prototype.getMessage = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.DeleteTeamResponse} returns this - */ +/** @param {string} value */ proto.daemon.DeleteTeamResponse.prototype.setMessage = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.UpdateTeamPassRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.UpdateTeamPassRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.UpdateTeamPassRequest.displayName = 'proto.daemon.UpdateTeamPassRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.UpdateTeamPassRequest.prototype.toObject = function(opt_includeInstance) { @@ -2682,8 +1566,8 @@ proto.daemon.UpdateTeamPassRequest.prototype.toObject = function(opt_includeInst /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.UpdateTeamPassRequest} msg The msg instance to transform. * @return {!Object} @@ -2816,12 +1700,9 @@ proto.daemon.UpdateTeamPassRequest.prototype.getEventtag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.UpdateTeamPassRequest} returns this - */ +/** @param {string} value */ proto.daemon.UpdateTeamPassRequest.prototype.setEventtag = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -2834,12 +1715,9 @@ proto.daemon.UpdateTeamPassRequest.prototype.getTeamid = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.UpdateTeamPassRequest} returns this - */ +/** @param {string} value */ proto.daemon.UpdateTeamPassRequest.prototype.setTeamid = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; @@ -2852,12 +1730,9 @@ proto.daemon.UpdateTeamPassRequest.prototype.getPassword = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.UpdateTeamPassRequest} returns this - */ +/** @param {string} value */ proto.daemon.UpdateTeamPassRequest.prototype.setPassword = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); + jspb.Message.setProto3StringField(this, 3, value); }; @@ -2870,29 +1745,41 @@ proto.daemon.UpdateTeamPassRequest.prototype.getPasswordrepeat = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.UpdateTeamPassRequest} returns this - */ +/** @param {string} value */ proto.daemon.UpdateTeamPassRequest.prototype.setPasswordrepeat = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); + jspb.Message.setProto3StringField(this, 4, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.UpdateTeamPassResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.UpdateTeamPassResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.UpdateTeamPassResponse.displayName = 'proto.daemon.UpdateTeamPassResponse'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.UpdateTeamPassResponse.prototype.toObject = function(opt_includeInstance) { @@ -2902,8 +1789,8 @@ proto.daemon.UpdateTeamPassResponse.prototype.toObject = function(opt_includeIns /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.UpdateTeamPassResponse} msg The msg instance to transform. * @return {!Object} @@ -3000,29 +1887,41 @@ proto.daemon.UpdateTeamPassResponse.prototype.getStatus = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.UpdateTeamPassResponse} returns this - */ +/** @param {string} value */ proto.daemon.UpdateTeamPassResponse.prototype.setStatus = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.SolveChallengeRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.SolveChallengeRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.SolveChallengeRequest.displayName = 'proto.daemon.SolveChallengeRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.SolveChallengeRequest.prototype.toObject = function(opt_includeInstance) { @@ -3032,8 +1931,8 @@ proto.daemon.SolveChallengeRequest.prototype.toObject = function(opt_includeInst /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.SolveChallengeRequest} msg The msg instance to transform. * @return {!Object} @@ -3154,12 +2053,9 @@ proto.daemon.SolveChallengeRequest.prototype.getEventtag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SolveChallengeRequest} returns this - */ +/** @param {string} value */ proto.daemon.SolveChallengeRequest.prototype.setEventtag = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -3172,12 +2068,9 @@ proto.daemon.SolveChallengeRequest.prototype.getTeamid = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SolveChallengeRequest} returns this - */ +/** @param {string} value */ proto.daemon.SolveChallengeRequest.prototype.setTeamid = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; @@ -3190,29 +2083,41 @@ proto.daemon.SolveChallengeRequest.prototype.getChallengetag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SolveChallengeRequest} returns this - */ +/** @param {string} value */ proto.daemon.SolveChallengeRequest.prototype.setChallengetag = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); + jspb.Message.setProto3StringField(this, 3, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.SolveChallengeResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.SolveChallengeResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.SolveChallengeResponse.displayName = 'proto.daemon.SolveChallengeResponse'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.SolveChallengeResponse.prototype.toObject = function(opt_includeInstance) { @@ -3222,8 +2127,8 @@ proto.daemon.SolveChallengeResponse.prototype.toObject = function(opt_includeIns /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.SolveChallengeResponse} msg The msg instance to transform. * @return {!Object} @@ -3320,29 +2225,41 @@ proto.daemon.SolveChallengeResponse.prototype.getStatus = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SolveChallengeResponse} returns this - */ +/** @param {string} value */ proto.daemon.SolveChallengeResponse.prototype.setStatus = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.Flag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.Flag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.Flag.displayName = 'proto.daemon.Flag'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.Flag.prototype.toObject = function(opt_includeInstance) { @@ -3352,8 +2269,8 @@ proto.daemon.Flag.prototype.toObject = function(opt_includeInstance) { /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.Flag} msg The msg instance to transform. * @return {!Object} @@ -3474,12 +2391,9 @@ proto.daemon.Flag.prototype.getChallengename = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.Flag} returns this - */ +/** @param {string} value */ proto.daemon.Flag.prototype.setChallengename = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -3492,12 +2406,9 @@ proto.daemon.Flag.prototype.getChallengetag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.Flag} returns this - */ +/** @param {string} value */ proto.daemon.Flag.prototype.setChallengetag = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; @@ -3510,16 +2421,30 @@ proto.daemon.Flag.prototype.getChallengeflag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.Flag} returns this - */ +/** @param {string} value */ proto.daemon.Flag.prototype.setChallengeflag = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); + jspb.Message.setProto3StringField(this, 3, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.TeamChalsInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.TeamChalsInfo.repeatedFields_, null); +}; +goog.inherits(proto.daemon.TeamChalsInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.TeamChalsInfo.displayName = 'proto.daemon.TeamChalsInfo'; +} /** * List of repeated fields within this message type. * @private {!Array} @@ -3531,15 +2456,13 @@ proto.daemon.TeamChalsInfo.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.TeamChalsInfo.prototype.toObject = function(opt_includeInstance) { @@ -3549,8 +2472,8 @@ proto.daemon.TeamChalsInfo.prototype.toObject = function(opt_includeInstance) { /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.TeamChalsInfo} msg The msg instance to transform. * @return {!Object} @@ -3651,12 +2574,9 @@ proto.daemon.TeamChalsInfo.prototype.getFlagsList = function() { }; -/** - * @param {!Array} value - * @return {!proto.daemon.TeamChalsInfo} returns this -*/ +/** @param {!Array} value */ proto.daemon.TeamChalsInfo.prototype.setFlagsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + jspb.Message.setRepeatedWrapperField(this, 1, value); }; @@ -3670,29 +2590,40 @@ proto.daemon.TeamChalsInfo.prototype.addFlags = function(opt_value, opt_index) { }; -/** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.TeamChalsInfo} returns this - */ proto.daemon.TeamChalsInfo.prototype.clearFlagsList = function() { - return this.setFlagsList([]); + this.setFlagsList([]); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.CredsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.CredsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.CredsResponse.displayName = 'proto.daemon.CredsResponse'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.CredsResponse.prototype.toObject = function(opt_includeInstance) { @@ -3702,8 +2633,8 @@ proto.daemon.CredsResponse.prototype.toObject = function(opt_includeInstance) { /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.CredsResponse} msg The msg instance to transform. * @return {!Object} @@ -3812,12 +2743,9 @@ proto.daemon.CredsResponse.prototype.getUsername = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.CredsResponse} returns this - */ +/** @param {string} value */ proto.daemon.CredsResponse.prototype.setUsername = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -3830,29 +2758,41 @@ proto.daemon.CredsResponse.prototype.getPassword = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.CredsResponse} returns this - */ +/** @param {string} value */ proto.daemon.CredsResponse.prototype.setPassword = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.Team = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.Team, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.Team.displayName = 'proto.daemon.Team'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.Team.prototype.toObject = function(opt_includeInstance) { @@ -3862,8 +2802,8 @@ proto.daemon.Team.prototype.toObject = function(opt_includeInstance) { /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.Team} msg The msg instance to transform. * @return {!Object} @@ -3960,29 +2900,41 @@ proto.daemon.Team.prototype.getId = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.Team} returns this - */ +/** @param {string} value */ proto.daemon.Team.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.SuspendEventRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.SuspendEventRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.SuspendEventRequest.displayName = 'proto.daemon.SuspendEventRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.SuspendEventRequest.prototype.toObject = function(opt_includeInstance) { @@ -3992,8 +2944,8 @@ proto.daemon.SuspendEventRequest.prototype.toObject = function(opt_includeInstan /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.SuspendEventRequest} msg The msg instance to transform. * @return {!Object} @@ -4002,7 +2954,7 @@ proto.daemon.SuspendEventRequest.prototype.toObject = function(opt_includeInstan proto.daemon.SuspendEventRequest.toObject = function(includeInstance, msg) { var f, obj = { eventtag: jspb.Message.getFieldWithDefault(msg, 1, ""), - suspend: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + suspend: jspb.Message.getFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -4102,47 +3054,58 @@ proto.daemon.SuspendEventRequest.prototype.getEventtag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SuspendEventRequest} returns this - */ +/** @param {string} value */ proto.daemon.SuspendEventRequest.prototype.setEventtag = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; /** * optional bool suspend = 2; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. * @return {boolean} */ proto.daemon.SuspendEventRequest.prototype.getSuspend = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 2, false)); }; -/** - * @param {boolean} value - * @return {!proto.daemon.SuspendEventRequest} returns this - */ +/** @param {boolean} value */ proto.daemon.SuspendEventRequest.prototype.setSuspend = function(value) { - return jspb.Message.setProto3BooleanField(this, 2, value); + jspb.Message.setProto3BooleanField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.SetTeamSuspendRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.SetTeamSuspendRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.SetTeamSuspendRequest.displayName = 'proto.daemon.SetTeamSuspendRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.SetTeamSuspendRequest.prototype.toObject = function(opt_includeInstance) { @@ -4152,8 +3115,8 @@ proto.daemon.SetTeamSuspendRequest.prototype.toObject = function(opt_includeInst /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.SetTeamSuspendRequest} msg The msg instance to transform. * @return {!Object} @@ -4163,7 +3126,7 @@ proto.daemon.SetTeamSuspendRequest.toObject = function(includeInstance, msg) { var f, obj = { teamid: jspb.Message.getFieldWithDefault(msg, 1, ""), eventtag: jspb.Message.getFieldWithDefault(msg, 2, ""), - suspend: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + suspend: jspb.Message.getFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -4274,12 +3237,9 @@ proto.daemon.SetTeamSuspendRequest.prototype.getTeamid = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SetTeamSuspendRequest} returns this - */ +/** @param {string} value */ proto.daemon.SetTeamSuspendRequest.prototype.setTeamid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -4292,47 +3252,58 @@ proto.daemon.SetTeamSuspendRequest.prototype.getEventtag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SetTeamSuspendRequest} returns this - */ +/** @param {string} value */ proto.daemon.SetTeamSuspendRequest.prototype.setEventtag = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; /** * optional bool suspend = 3; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. * @return {boolean} */ proto.daemon.SetTeamSuspendRequest.prototype.getSuspend = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 3, false)); }; -/** - * @param {boolean} value - * @return {!proto.daemon.SetTeamSuspendRequest} returns this - */ +/** @param {boolean} value */ proto.daemon.SetTeamSuspendRequest.prototype.setSuspend = function(value) { - return jspb.Message.setProto3BooleanField(this, 3, value); + jspb.Message.setProto3BooleanField(this, 3, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.DestroyUserRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.DestroyUserRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.DestroyUserRequest.displayName = 'proto.daemon.DestroyUserRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.DestroyUserRequest.prototype.toObject = function(opt_includeInstance) { @@ -4342,8 +3313,8 @@ proto.daemon.DestroyUserRequest.prototype.toObject = function(opt_includeInstanc /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.DestroyUserRequest} msg The msg instance to transform. * @return {!Object} @@ -4440,29 +3411,41 @@ proto.daemon.DestroyUserRequest.prototype.getUsername = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.DestroyUserRequest} returns this - */ +/** @param {string} value */ proto.daemon.DestroyUserRequest.prototype.setUsername = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.DestroyUserResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.DestroyUserResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.DestroyUserResponse.displayName = 'proto.daemon.DestroyUserResponse'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.DestroyUserResponse.prototype.toObject = function(opt_includeInstance) { @@ -4472,8 +3455,8 @@ proto.daemon.DestroyUserResponse.prototype.toObject = function(opt_includeInstan /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.DestroyUserResponse} msg The msg instance to transform. * @return {!Object} @@ -4570,29 +3553,41 @@ proto.daemon.DestroyUserResponse.prototype.getMessage = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.DestroyUserResponse} returns this - */ +/** @param {string} value */ proto.daemon.DestroyUserResponse.prototype.setMessage = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.UpdatePasswdRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.UpdatePasswdRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.UpdatePasswdRequest.displayName = 'proto.daemon.UpdatePasswdRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.UpdatePasswdRequest.prototype.toObject = function(opt_includeInstance) { @@ -4602,8 +3597,8 @@ proto.daemon.UpdatePasswdRequest.prototype.toObject = function(opt_includeInstan /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.UpdatePasswdRequest} msg The msg instance to transform. * @return {!Object} @@ -4712,12 +3707,9 @@ proto.daemon.UpdatePasswdRequest.prototype.getUsername = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.UpdatePasswdRequest} returns this - */ +/** @param {string} value */ proto.daemon.UpdatePasswdRequest.prototype.setUsername = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -4730,29 +3722,41 @@ proto.daemon.UpdatePasswdRequest.prototype.getPassword = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.UpdatePasswdRequest} returns this - */ +/** @param {string} value */ proto.daemon.UpdatePasswdRequest.prototype.setPassword = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.UpdatePasswdResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.UpdatePasswdResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.UpdatePasswdResponse.displayName = 'proto.daemon.UpdatePasswdResponse'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.UpdatePasswdResponse.prototype.toObject = function(opt_includeInstance) { @@ -4762,8 +3766,8 @@ proto.daemon.UpdatePasswdResponse.prototype.toObject = function(opt_includeInsta /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.UpdatePasswdResponse} msg The msg instance to transform. * @return {!Object} @@ -4860,29 +3864,41 @@ proto.daemon.UpdatePasswdResponse.prototype.getMessage = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.UpdatePasswdResponse} returns this - */ +/** @param {string} value */ proto.daemon.UpdatePasswdResponse.prototype.setMessage = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.LoginUserRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.LoginUserRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.LoginUserRequest.displayName = 'proto.daemon.LoginUserRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.LoginUserRequest.prototype.toObject = function(opt_includeInstance) { @@ -4892,8 +3908,8 @@ proto.daemon.LoginUserRequest.prototype.toObject = function(opt_includeInstance) /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.LoginUserRequest} msg The msg instance to transform. * @return {!Object} @@ -5002,12 +4018,9 @@ proto.daemon.LoginUserRequest.prototype.getUsername = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.LoginUserRequest} returns this - */ +/** @param {string} value */ proto.daemon.LoginUserRequest.prototype.setUsername = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -5020,29 +4033,41 @@ proto.daemon.LoginUserRequest.prototype.getPassword = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.LoginUserRequest} returns this - */ +/** @param {string} value */ proto.daemon.LoginUserRequest.prototype.setPassword = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.LoginUserResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.LoginUserResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.LoginUserResponse.displayName = 'proto.daemon.LoginUserResponse'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.LoginUserResponse.prototype.toObject = function(opt_includeInstance) { @@ -5052,8 +4077,8 @@ proto.daemon.LoginUserResponse.prototype.toObject = function(opt_includeInstance /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.LoginUserResponse} msg The msg instance to transform. * @return {!Object} @@ -5162,12 +4187,9 @@ proto.daemon.LoginUserResponse.prototype.getToken = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.LoginUserResponse} returns this - */ +/** @param {string} value */ proto.daemon.LoginUserResponse.prototype.setToken = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -5180,29 +4202,41 @@ proto.daemon.LoginUserResponse.prototype.getError = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.LoginUserResponse} returns this - */ +/** @param {string} value */ proto.daemon.LoginUserResponse.prototype.setError = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.SignupUserRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.SignupUserRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.SignupUserRequest.displayName = 'proto.daemon.SignupUserRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.SignupUserRequest.prototype.toObject = function(opt_includeInstance) { @@ -5212,8 +4246,8 @@ proto.daemon.SignupUserRequest.prototype.toObject = function(opt_includeInstance /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.SignupUserRequest} msg The msg instance to transform. * @return {!Object} @@ -5370,12 +4404,9 @@ proto.daemon.SignupUserRequest.prototype.getKey = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SignupUserRequest} returns this - */ +/** @param {string} value */ proto.daemon.SignupUserRequest.prototype.setKey = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -5388,12 +4419,9 @@ proto.daemon.SignupUserRequest.prototype.getUsername = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SignupUserRequest} returns this - */ +/** @param {string} value */ proto.daemon.SignupUserRequest.prototype.setUsername = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; @@ -5406,12 +4434,9 @@ proto.daemon.SignupUserRequest.prototype.getName = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SignupUserRequest} returns this - */ +/** @param {string} value */ proto.daemon.SignupUserRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); + jspb.Message.setProto3StringField(this, 3, value); }; @@ -5424,12 +4449,9 @@ proto.daemon.SignupUserRequest.prototype.getSurname = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SignupUserRequest} returns this - */ +/** @param {string} value */ proto.daemon.SignupUserRequest.prototype.setSurname = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); + jspb.Message.setProto3StringField(this, 4, value); }; @@ -5442,12 +4464,9 @@ proto.daemon.SignupUserRequest.prototype.getEmail = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SignupUserRequest} returns this - */ +/** @param {string} value */ proto.daemon.SignupUserRequest.prototype.setEmail = function(value) { - return jspb.Message.setProto3StringField(this, 5, value); + jspb.Message.setProto3StringField(this, 5, value); }; @@ -5460,29 +4479,41 @@ proto.daemon.SignupUserRequest.prototype.getPassword = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SignupUserRequest} returns this - */ +/** @param {string} value */ proto.daemon.SignupUserRequest.prototype.setPassword = function(value) { - return jspb.Message.setProto3StringField(this, 6, value); + jspb.Message.setProto3StringField(this, 6, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.InviteUserRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.InviteUserRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.InviteUserRequest.displayName = 'proto.daemon.InviteUserRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.InviteUserRequest.prototype.toObject = function(opt_includeInstance) { @@ -5492,8 +4523,8 @@ proto.daemon.InviteUserRequest.prototype.toObject = function(opt_includeInstance /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.InviteUserRequest} msg The msg instance to transform. * @return {!Object} @@ -5501,8 +4532,8 @@ proto.daemon.InviteUserRequest.prototype.toObject = function(opt_includeInstance */ proto.daemon.InviteUserRequest.toObject = function(includeInstance, msg) { var f, obj = { - superUser: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - npUser: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + superUser: jspb.Message.getFieldWithDefault(msg, 1, false), + npUser: jspb.Message.getFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -5595,54 +4626,67 @@ proto.daemon.InviteUserRequest.serializeBinaryToWriter = function(message, write /** * optional bool super_user = 1; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. * @return {boolean} */ proto.daemon.InviteUserRequest.prototype.getSuperUser = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 1, false)); }; -/** - * @param {boolean} value - * @return {!proto.daemon.InviteUserRequest} returns this - */ +/** @param {boolean} value */ proto.daemon.InviteUserRequest.prototype.setSuperUser = function(value) { - return jspb.Message.setProto3BooleanField(this, 1, value); + jspb.Message.setProto3BooleanField(this, 1, value); }; /** * optional bool np_user = 2; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. * @return {boolean} */ proto.daemon.InviteUserRequest.prototype.getNpUser = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 2, false)); }; -/** - * @param {boolean} value - * @return {!proto.daemon.InviteUserRequest} returns this - */ +/** @param {boolean} value */ proto.daemon.InviteUserRequest.prototype.setNpUser = function(value) { - return jspb.Message.setProto3BooleanField(this, 2, value); + jspb.Message.setProto3BooleanField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.InviteUserResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.InviteUserResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.InviteUserResponse.displayName = 'proto.daemon.InviteUserResponse'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.InviteUserResponse.prototype.toObject = function(opt_includeInstance) { @@ -5652,8 +4696,8 @@ proto.daemon.InviteUserResponse.prototype.toObject = function(opt_includeInstanc /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.InviteUserResponse} msg The msg instance to transform. * @return {!Object} @@ -5762,12 +4806,9 @@ proto.daemon.InviteUserResponse.prototype.getKey = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.InviteUserResponse} returns this - */ +/** @param {string} value */ proto.daemon.InviteUserResponse.prototype.setKey = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -5780,16 +4821,30 @@ proto.daemon.InviteUserResponse.prototype.getError = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.InviteUserResponse} returns this - */ +/** @param {string} value */ proto.daemon.InviteUserResponse.prototype.setError = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.ListUsersResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ListUsersResponse.repeatedFields_, null); +}; +goog.inherits(proto.daemon.ListUsersResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListUsersResponse.displayName = 'proto.daemon.ListUsersResponse'; +} /** * List of repeated fields within this message type. * @private {!Array} @@ -5801,15 +4856,13 @@ proto.daemon.ListUsersResponse.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.ListUsersResponse.prototype.toObject = function(opt_includeInstance) { @@ -5819,8 +4872,8 @@ proto.daemon.ListUsersResponse.prototype.toObject = function(opt_includeInstance /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.ListUsersResponse} msg The msg instance to transform. * @return {!Object} @@ -5924,19 +4977,34 @@ proto.daemon.ListUsersResponse.serializeBinaryToWriter = function(message, write +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.ListUsersResponse.UserInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.ListUsersResponse.UserInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListUsersResponse.UserInfo.displayName = 'proto.daemon.ListUsersResponse.UserInfo'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.ListUsersResponse.UserInfo.prototype.toObject = function(opt_includeInstance) { @@ -5946,8 +5014,8 @@ proto.daemon.ListUsersResponse.UserInfo.prototype.toObject = function(opt_includ /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.ListUsersResponse.UserInfo} msg The msg instance to transform. * @return {!Object} @@ -5960,8 +5028,8 @@ proto.daemon.ListUsersResponse.UserInfo.toObject = function(includeInstance, msg surname: jspb.Message.getFieldWithDefault(msg, 3, ""), email: jspb.Message.getFieldWithDefault(msg, 4, ""), createdat: jspb.Message.getFieldWithDefault(msg, 5, ""), - issuperuser: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), - isnpuser: jspb.Message.getBooleanFieldWithDefault(msg, 7, false) + issuperuser: jspb.Message.getFieldWithDefault(msg, 6, false), + isnpuser: jspb.Message.getFieldWithDefault(msg, 7, false) }; if (includeInstance) { @@ -6116,12 +5184,9 @@ proto.daemon.ListUsersResponse.UserInfo.prototype.getUsername = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.ListUsersResponse.UserInfo} returns this - */ +/** @param {string} value */ proto.daemon.ListUsersResponse.UserInfo.prototype.setUsername = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -6134,12 +5199,9 @@ proto.daemon.ListUsersResponse.UserInfo.prototype.getName = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.ListUsersResponse.UserInfo} returns this - */ +/** @param {string} value */ proto.daemon.ListUsersResponse.UserInfo.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; @@ -6152,12 +5214,9 @@ proto.daemon.ListUsersResponse.UserInfo.prototype.getSurname = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.ListUsersResponse.UserInfo} returns this - */ +/** @param {string} value */ proto.daemon.ListUsersResponse.UserInfo.prototype.setSurname = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); + jspb.Message.setProto3StringField(this, 3, value); }; @@ -6170,12 +5229,9 @@ proto.daemon.ListUsersResponse.UserInfo.prototype.getEmail = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.ListUsersResponse.UserInfo} returns this - */ +/** @param {string} value */ proto.daemon.ListUsersResponse.UserInfo.prototype.setEmail = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); + jspb.Message.setProto3StringField(this, 4, value); }; @@ -6188,48 +5244,43 @@ proto.daemon.ListUsersResponse.UserInfo.prototype.getCreatedat = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.ListUsersResponse.UserInfo} returns this - */ +/** @param {string} value */ proto.daemon.ListUsersResponse.UserInfo.prototype.setCreatedat = function(value) { - return jspb.Message.setProto3StringField(this, 5, value); + jspb.Message.setProto3StringField(this, 5, value); }; /** * optional bool isSuperUser = 6; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. * @return {boolean} */ proto.daemon.ListUsersResponse.UserInfo.prototype.getIssuperuser = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 6, false)); }; -/** - * @param {boolean} value - * @return {!proto.daemon.ListUsersResponse.UserInfo} returns this - */ +/** @param {boolean} value */ proto.daemon.ListUsersResponse.UserInfo.prototype.setIssuperuser = function(value) { - return jspb.Message.setProto3BooleanField(this, 6, value); + jspb.Message.setProto3BooleanField(this, 6, value); }; /** * optional bool isNPUser = 7; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. * @return {boolean} */ proto.daemon.ListUsersResponse.UserInfo.prototype.getIsnpuser = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 7, false)); }; -/** - * @param {boolean} value - * @return {!proto.daemon.ListUsersResponse.UserInfo} returns this - */ +/** @param {boolean} value */ proto.daemon.ListUsersResponse.UserInfo.prototype.setIsnpuser = function(value) { - return jspb.Message.setProto3BooleanField(this, 7, value); + jspb.Message.setProto3BooleanField(this, 7, value); }; @@ -6243,12 +5294,9 @@ proto.daemon.ListUsersResponse.prototype.getUsersList = function() { }; -/** - * @param {!Array} value - * @return {!proto.daemon.ListUsersResponse} returns this -*/ +/** @param {!Array} value */ proto.daemon.ListUsersResponse.prototype.setUsersList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + jspb.Message.setRepeatedWrapperField(this, 1, value); }; @@ -6262,12 +5310,8 @@ proto.daemon.ListUsersResponse.prototype.addUsers = function(opt_value, opt_inde }; -/** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.ListUsersResponse} returns this - */ proto.daemon.ListUsersResponse.prototype.clearUsersList = function() { - return this.setUsersList([]); + this.setUsersList([]); }; @@ -6280,16 +5324,30 @@ proto.daemon.ListUsersResponse.prototype.getError = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.ListUsersResponse} returns this - */ +/** @param {string} value */ proto.daemon.ListUsersResponse.prototype.setError = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.CreateEventRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.CreateEventRequest.repeatedFields_, null); +}; +goog.inherits(proto.daemon.CreateEventRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.CreateEventRequest.displayName = 'proto.daemon.CreateEventRequest'; +} /** * List of repeated fields within this message type. * @private {!Array} @@ -6301,15 +5359,13 @@ proto.daemon.CreateEventRequest.repeatedFields_ = [3,4,11]; if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.CreateEventRequest.prototype.toObject = function(opt_includeInstance) { @@ -6319,8 +5375,8 @@ proto.daemon.CreateEventRequest.prototype.toObject = function(opt_includeInstanc /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.CreateEventRequest} msg The msg instance to transform. * @return {!Object} @@ -6330,15 +5386,15 @@ proto.daemon.CreateEventRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), tag: jspb.Message.getFieldWithDefault(msg, 2, ""), - frontendsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - exercisesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, + frontendsList: jspb.Message.getRepeatedField(msg, 3), + exercisesList: jspb.Message.getRepeatedField(msg, 4), available: jspb.Message.getFieldWithDefault(msg, 5, 0), capacity: jspb.Message.getFieldWithDefault(msg, 6, 0), starttime: jspb.Message.getFieldWithDefault(msg, 7, ""), finishtime: jspb.Message.getFieldWithDefault(msg, 8, ""), - onlyvpn: jspb.Message.getBooleanFieldWithDefault(msg, 9, false), + onlyvpn: jspb.Message.getFieldWithDefault(msg, 9, false), secretevent: jspb.Message.getFieldWithDefault(msg, 10, ""), - disableexercisesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f + disableexercisesList: jspb.Message.getRepeatedField(msg, 11) }; if (includeInstance) { @@ -6537,12 +5593,9 @@ proto.daemon.CreateEventRequest.prototype.getName = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.CreateEventRequest} returns this - */ +/** @param {string} value */ proto.daemon.CreateEventRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -6555,12 +5608,9 @@ proto.daemon.CreateEventRequest.prototype.getTag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.CreateEventRequest} returns this - */ +/** @param {string} value */ proto.daemon.CreateEventRequest.prototype.setTag = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; @@ -6573,31 +5623,23 @@ proto.daemon.CreateEventRequest.prototype.getFrontendsList = function() { }; -/** - * @param {!Array} value - * @return {!proto.daemon.CreateEventRequest} returns this - */ +/** @param {!Array} value */ proto.daemon.CreateEventRequest.prototype.setFrontendsList = function(value) { - return jspb.Message.setField(this, 3, value || []); + jspb.Message.setField(this, 3, value || []); }; /** - * @param {string} value + * @param {!string} value * @param {number=} opt_index - * @return {!proto.daemon.CreateEventRequest} returns this */ proto.daemon.CreateEventRequest.prototype.addFrontends = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 3, value, opt_index); + jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; -/** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.CreateEventRequest} returns this - */ proto.daemon.CreateEventRequest.prototype.clearFrontendsList = function() { - return this.setFrontendsList([]); + this.setFrontendsList([]); }; @@ -6610,31 +5652,23 @@ proto.daemon.CreateEventRequest.prototype.getExercisesList = function() { }; -/** - * @param {!Array} value - * @return {!proto.daemon.CreateEventRequest} returns this - */ +/** @param {!Array} value */ proto.daemon.CreateEventRequest.prototype.setExercisesList = function(value) { - return jspb.Message.setField(this, 4, value || []); + jspb.Message.setField(this, 4, value || []); }; /** - * @param {string} value + * @param {!string} value * @param {number=} opt_index - * @return {!proto.daemon.CreateEventRequest} returns this */ proto.daemon.CreateEventRequest.prototype.addExercises = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 4, value, opt_index); + jspb.Message.addToRepeatedField(this, 4, value, opt_index); }; -/** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.CreateEventRequest} returns this - */ proto.daemon.CreateEventRequest.prototype.clearExercisesList = function() { - return this.setExercisesList([]); + this.setExercisesList([]); }; @@ -6647,12 +5681,9 @@ proto.daemon.CreateEventRequest.prototype.getAvailable = function() { }; -/** - * @param {number} value - * @return {!proto.daemon.CreateEventRequest} returns this - */ +/** @param {number} value */ proto.daemon.CreateEventRequest.prototype.setAvailable = function(value) { - return jspb.Message.setProto3IntField(this, 5, value); + jspb.Message.setProto3IntField(this, 5, value); }; @@ -6665,12 +5696,9 @@ proto.daemon.CreateEventRequest.prototype.getCapacity = function() { }; -/** - * @param {number} value - * @return {!proto.daemon.CreateEventRequest} returns this - */ +/** @param {number} value */ proto.daemon.CreateEventRequest.prototype.setCapacity = function(value) { - return jspb.Message.setProto3IntField(this, 6, value); + jspb.Message.setProto3IntField(this, 6, value); }; @@ -6683,12 +5711,9 @@ proto.daemon.CreateEventRequest.prototype.getStarttime = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.CreateEventRequest} returns this - */ +/** @param {string} value */ proto.daemon.CreateEventRequest.prototype.setStarttime = function(value) { - return jspb.Message.setProto3StringField(this, 7, value); + jspb.Message.setProto3StringField(this, 7, value); }; @@ -6701,30 +5726,26 @@ proto.daemon.CreateEventRequest.prototype.getFinishtime = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.CreateEventRequest} returns this - */ +/** @param {string} value */ proto.daemon.CreateEventRequest.prototype.setFinishtime = function(value) { - return jspb.Message.setProto3StringField(this, 8, value); + jspb.Message.setProto3StringField(this, 8, value); }; /** * optional bool onlyVPN = 9; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. * @return {boolean} */ proto.daemon.CreateEventRequest.prototype.getOnlyvpn = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false)); + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 9, false)); }; -/** - * @param {boolean} value - * @return {!proto.daemon.CreateEventRequest} returns this - */ +/** @param {boolean} value */ proto.daemon.CreateEventRequest.prototype.setOnlyvpn = function(value) { - return jspb.Message.setProto3BooleanField(this, 9, value); + jspb.Message.setProto3BooleanField(this, 9, value); }; @@ -6737,12 +5758,9 @@ proto.daemon.CreateEventRequest.prototype.getSecretevent = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.CreateEventRequest} returns this - */ +/** @param {string} value */ proto.daemon.CreateEventRequest.prototype.setSecretevent = function(value) { - return jspb.Message.setProto3StringField(this, 10, value); + jspb.Message.setProto3StringField(this, 10, value); }; @@ -6755,48 +5773,55 @@ proto.daemon.CreateEventRequest.prototype.getDisableexercisesList = function() { }; -/** - * @param {!Array} value - * @return {!proto.daemon.CreateEventRequest} returns this - */ +/** @param {!Array} value */ proto.daemon.CreateEventRequest.prototype.setDisableexercisesList = function(value) { - return jspb.Message.setField(this, 11, value || []); + jspb.Message.setField(this, 11, value || []); }; /** - * @param {string} value + * @param {!string} value * @param {number=} opt_index - * @return {!proto.daemon.CreateEventRequest} returns this */ proto.daemon.CreateEventRequest.prototype.addDisableexercises = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 11, value, opt_index); + jspb.Message.addToRepeatedField(this, 11, value, opt_index); }; -/** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.CreateEventRequest} returns this - */ proto.daemon.CreateEventRequest.prototype.clearDisableexercisesList = function() { - return this.setDisableexercisesList([]); + this.setDisableexercisesList([]); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.TestEventLoadReq = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.TestEventLoadReq, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.TestEventLoadReq.displayName = 'proto.daemon.TestEventLoadReq'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.TestEventLoadReq.prototype.toObject = function(opt_includeInstance) { @@ -6806,8 +5831,8 @@ proto.daemon.TestEventLoadReq.prototype.toObject = function(opt_includeInstance) /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.TestEventLoadReq} msg The msg instance to transform. * @return {!Object} @@ -6916,12 +5941,9 @@ proto.daemon.TestEventLoadReq.prototype.getEventname = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.TestEventLoadReq} returns this - */ +/** @param {string} value */ proto.daemon.TestEventLoadReq.prototype.setEventname = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -6934,29 +5956,41 @@ proto.daemon.TestEventLoadReq.prototype.getNumberofteams = function() { }; -/** - * @param {number} value - * @return {!proto.daemon.TestEventLoadReq} returns this - */ +/** @param {number} value */ proto.daemon.TestEventLoadReq.prototype.setNumberofteams = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); + jspb.Message.setProto3IntField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.TestEventLoadResp = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.TestEventLoadResp, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.TestEventLoadResp.displayName = 'proto.daemon.TestEventLoadResp'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.TestEventLoadResp.prototype.toObject = function(opt_includeInstance) { @@ -6966,8 +6000,8 @@ proto.daemon.TestEventLoadResp.prototype.toObject = function(opt_includeInstance /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.TestEventLoadResp} msg The msg instance to transform. * @return {!Object} @@ -7064,29 +6098,41 @@ proto.daemon.TestEventLoadResp.prototype.getSignupresult = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.TestEventLoadResp} returns this - */ +/** @param {string} value */ proto.daemon.TestEventLoadResp.prototype.setSignupresult = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.ListEventsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.ListEventsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListEventsRequest.displayName = 'proto.daemon.ListEventsRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.ListEventsRequest.prototype.toObject = function(opt_includeInstance) { @@ -7096,8 +6142,8 @@ proto.daemon.ListEventsRequest.prototype.toObject = function(opt_includeInstance /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.ListEventsRequest} msg The msg instance to transform. * @return {!Object} @@ -7194,16 +6240,30 @@ proto.daemon.ListEventsRequest.prototype.getStatus = function() { }; -/** - * @param {number} value - * @return {!proto.daemon.ListEventsRequest} returns this - */ +/** @param {number} value */ proto.daemon.ListEventsRequest.prototype.setStatus = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); + jspb.Message.setProto3IntField(this, 1, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.ListEventsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ListEventsResponse.repeatedFields_, null); +}; +goog.inherits(proto.daemon.ListEventsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListEventsResponse.displayName = 'proto.daemon.ListEventsResponse'; +} /** * List of repeated fields within this message type. * @private {!Array} @@ -7215,15 +6275,13 @@ proto.daemon.ListEventsResponse.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.ListEventsResponse.prototype.toObject = function(opt_includeInstance) { @@ -7233,8 +6291,8 @@ proto.daemon.ListEventsResponse.prototype.toObject = function(opt_includeInstanc /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.ListEventsResponse} msg The msg instance to transform. * @return {!Object} @@ -7326,19 +6384,34 @@ proto.daemon.ListEventsResponse.serializeBinaryToWriter = function(message, writ +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.ListEventsResponse.Events = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.ListEventsResponse.Events, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListEventsResponse.Events.displayName = 'proto.daemon.ListEventsResponse.Events'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.ListEventsResponse.Events.prototype.toObject = function(opt_includeInstance) { @@ -7348,8 +6421,8 @@ proto.daemon.ListEventsResponse.Events.prototype.toObject = function(opt_include /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.ListEventsResponse.Events} msg The msg instance to transform. * @return {!Object} @@ -7566,266 +6639,523 @@ proto.daemon.ListEventsResponse.Events.prototype.getTag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.ListEventsResponse.Events} returns this - */ -proto.daemon.ListEventsResponse.Events.prototype.setTag = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); +/** @param {string} value */ +proto.daemon.ListEventsResponse.Events.prototype.setTag = function(value) { + jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.daemon.ListEventsResponse.Events.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** @param {string} value */ +proto.daemon.ListEventsResponse.Events.prototype.setName = function(value) { + jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional int32 teamCount = 3; + * @return {number} + */ +proto.daemon.ListEventsResponse.Events.prototype.getTeamcount = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** @param {number} value */ +proto.daemon.ListEventsResponse.Events.prototype.setTeamcount = function(value) { + jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional string exercises = 4; + * @return {string} + */ +proto.daemon.ListEventsResponse.Events.prototype.getExercises = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** @param {string} value */ +proto.daemon.ListEventsResponse.Events.prototype.setExercises = function(value) { + jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional int32 availability = 5; + * @return {number} + */ +proto.daemon.ListEventsResponse.Events.prototype.getAvailability = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** @param {number} value */ +proto.daemon.ListEventsResponse.Events.prototype.setAvailability = function(value) { + jspb.Message.setProto3IntField(this, 5, value); +}; + + +/** + * optional int32 capacity = 6; + * @return {number} + */ +proto.daemon.ListEventsResponse.Events.prototype.getCapacity = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +}; + + +/** @param {number} value */ +proto.daemon.ListEventsResponse.Events.prototype.setCapacity = function(value) { + jspb.Message.setProto3IntField(this, 6, value); +}; + + +/** + * optional string creationTime = 7; + * @return {string} + */ +proto.daemon.ListEventsResponse.Events.prototype.getCreationtime = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** @param {string} value */ +proto.daemon.ListEventsResponse.Events.prototype.setCreationtime = function(value) { + jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string finishTime = 8; + * @return {string} + */ +proto.daemon.ListEventsResponse.Events.prototype.getFinishtime = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** @param {string} value */ +proto.daemon.ListEventsResponse.Events.prototype.setFinishtime = function(value) { + jspb.Message.setProto3StringField(this, 8, value); +}; + + +/** + * optional int32 status = 9; + * @return {number} + */ +proto.daemon.ListEventsResponse.Events.prototype.getStatus = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); +}; + + +/** @param {number} value */ +proto.daemon.ListEventsResponse.Events.prototype.setStatus = function(value) { + jspb.Message.setProto3IntField(this, 9, value); +}; + + +/** + * optional string createdBy = 10; + * @return {string} + */ +proto.daemon.ListEventsResponse.Events.prototype.getCreatedby = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "")); +}; + + +/** @param {string} value */ +proto.daemon.ListEventsResponse.Events.prototype.setCreatedby = function(value) { + jspb.Message.setProto3StringField(this, 10, value); }; /** - * optional string name = 2; + * optional string secretEvent = 11; * @return {string} */ -proto.daemon.ListEventsResponse.Events.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.daemon.ListEventsResponse.Events.prototype.getSecretevent = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, "")); }; -/** - * @param {string} value - * @return {!proto.daemon.ListEventsResponse.Events} returns this - */ -proto.daemon.ListEventsResponse.Events.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); +/** @param {string} value */ +proto.daemon.ListEventsResponse.Events.prototype.setSecretevent = function(value) { + jspb.Message.setProto3StringField(this, 11, value); }; /** - * optional int32 teamCount = 3; - * @return {number} + * repeated Events events = 1; + * @return {!Array} */ -proto.daemon.ListEventsResponse.Events.prototype.getTeamcount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +proto.daemon.ListEventsResponse.prototype.getEventsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.daemon.ListEventsResponse.Events, 1)); }; -/** - * @param {number} value - * @return {!proto.daemon.ListEventsResponse.Events} returns this - */ -proto.daemon.ListEventsResponse.Events.prototype.setTeamcount = function(value) { - return jspb.Message.setProto3IntField(this, 3, value); +/** @param {!Array} value */ +proto.daemon.ListEventsResponse.prototype.setEventsList = function(value) { + jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * optional string exercises = 4; - * @return {string} + * @param {!proto.daemon.ListEventsResponse.Events=} opt_value + * @param {number=} opt_index + * @return {!proto.daemon.ListEventsResponse.Events} */ -proto.daemon.ListEventsResponse.Events.prototype.getExercises = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +proto.daemon.ListEventsResponse.prototype.addEvents = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.daemon.ListEventsResponse.Events, opt_index); +}; + + +proto.daemon.ListEventsResponse.prototype.clearEventsList = function() { + this.setEventsList([]); }; + /** - * @param {string} value - * @return {!proto.daemon.ListEventsResponse.Events} returns this + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor */ -proto.daemon.ListEventsResponse.Events.prototype.setExercises = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); +proto.daemon.ListEventTeamsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; +goog.inherits(proto.daemon.ListEventTeamsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListEventTeamsRequest.displayName = 'proto.daemon.ListEventTeamsRequest'; +} +if (jspb.Message.GENERATE_TO_OBJECT) { /** - * optional int32 availability = 5; - * @return {number} + * Creates an object representation of this proto suitable for use in Soy templates. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration + * @return {!Object} */ -proto.daemon.ListEventsResponse.Events.prototype.getAvailability = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +proto.daemon.ListEventTeamsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.daemon.ListEventTeamsRequest.toObject(opt_includeInstance, this); }; /** - * @param {number} value - * @return {!proto.daemon.ListEventsResponse.Events} returns this + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.daemon.ListEventTeamsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListEventsResponse.Events.prototype.setAvailability = function(value) { - return jspb.Message.setProto3IntField(this, 5, value); +proto.daemon.ListEventTeamsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + tag: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; }; +} /** - * optional int32 capacity = 6; - * @return {number} + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.daemon.ListEventTeamsRequest} */ -proto.daemon.ListEventsResponse.Events.prototype.getCapacity = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +proto.daemon.ListEventTeamsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.daemon.ListEventTeamsRequest; + return proto.daemon.ListEventTeamsRequest.deserializeBinaryFromReader(msg, reader); }; /** - * @param {number} value - * @return {!proto.daemon.ListEventsResponse.Events} returns this + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.daemon.ListEventTeamsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.daemon.ListEventTeamsRequest} */ -proto.daemon.ListEventsResponse.Events.prototype.setCapacity = function(value) { - return jspb.Message.setProto3IntField(this, 6, value); +proto.daemon.ListEventTeamsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTag(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; }; /** - * optional string creationTime = 7; - * @return {string} + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} */ -proto.daemon.ListEventsResponse.Events.prototype.getCreationtime = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +proto.daemon.ListEventTeamsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.daemon.ListEventTeamsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; /** - * @param {string} value - * @return {!proto.daemon.ListEventsResponse.Events} returns this + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.daemon.ListEventTeamsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListEventsResponse.Events.prototype.setCreationtime = function(value) { - return jspb.Message.setProto3StringField(this, 7, value); +proto.daemon.ListEventTeamsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTag(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } }; /** - * optional string finishTime = 8; + * optional string tag = 1; * @return {string} */ -proto.daemon.ListEventsResponse.Events.prototype.getFinishtime = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +proto.daemon.ListEventTeamsRequest.prototype.getTag = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; -/** - * @param {string} value - * @return {!proto.daemon.ListEventsResponse.Events} returns this - */ -proto.daemon.ListEventsResponse.Events.prototype.setFinishtime = function(value) { - return jspb.Message.setProto3StringField(this, 8, value); +/** @param {string} value */ +proto.daemon.ListEventTeamsRequest.prototype.setTag = function(value) { + jspb.Message.setProto3StringField(this, 1, value); }; + /** - * optional int32 status = 9; - * @return {number} + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor */ -proto.daemon.ListEventsResponse.Events.prototype.getStatus = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); +proto.daemon.ListEventTeamsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ListEventTeamsResponse.repeatedFields_, null); }; +goog.inherits(proto.daemon.ListEventTeamsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListEventTeamsResponse.displayName = 'proto.daemon.ListEventTeamsResponse'; +} +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.daemon.ListEventTeamsResponse.repeatedFields_ = [1]; + +if (jspb.Message.GENERATE_TO_OBJECT) { /** - * @param {number} value - * @return {!proto.daemon.ListEventsResponse.Events} returns this + * Creates an object representation of this proto suitable for use in Soy templates. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration + * @return {!Object} */ -proto.daemon.ListEventsResponse.Events.prototype.setStatus = function(value) { - return jspb.Message.setProto3IntField(this, 9, value); +proto.daemon.ListEventTeamsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.daemon.ListEventTeamsResponse.toObject(opt_includeInstance, this); }; /** - * optional string createdBy = 10; - * @return {string} + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.daemon.ListEventTeamsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListEventsResponse.Events.prototype.getCreatedby = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "")); +proto.daemon.ListEventTeamsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + teamsList: jspb.Message.toObjectList(msg.getTeamsList(), + proto.daemon.ListEventTeamsResponse.Teams.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; }; +} /** - * @param {string} value - * @return {!proto.daemon.ListEventsResponse.Events} returns this + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.daemon.ListEventTeamsResponse} */ -proto.daemon.ListEventsResponse.Events.prototype.setCreatedby = function(value) { - return jspb.Message.setProto3StringField(this, 10, value); +proto.daemon.ListEventTeamsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.daemon.ListEventTeamsResponse; + return proto.daemon.ListEventTeamsResponse.deserializeBinaryFromReader(msg, reader); }; /** - * optional string secretEvent = 11; - * @return {string} + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.daemon.ListEventTeamsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.daemon.ListEventTeamsResponse} */ -proto.daemon.ListEventsResponse.Events.prototype.getSecretevent = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, "")); +proto.daemon.ListEventTeamsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.daemon.ListEventTeamsResponse.Teams; + reader.readMessage(value,proto.daemon.ListEventTeamsResponse.Teams.deserializeBinaryFromReader); + msg.addTeams(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; }; /** - * @param {string} value - * @return {!proto.daemon.ListEventsResponse.Events} returns this + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} */ -proto.daemon.ListEventsResponse.Events.prototype.setSecretevent = function(value) { - return jspb.Message.setProto3StringField(this, 11, value); +proto.daemon.ListEventTeamsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.daemon.ListEventTeamsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; /** - * repeated Events events = 1; - * @return {!Array} + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.daemon.ListEventTeamsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListEventsResponse.prototype.getEventsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.daemon.ListEventsResponse.Events, 1)); -}; - - -/** - * @param {!Array} value - * @return {!proto.daemon.ListEventsResponse} returns this -*/ -proto.daemon.ListEventsResponse.prototype.setEventsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); +proto.daemon.ListEventTeamsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTeamsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.daemon.ListEventTeamsResponse.Teams.serializeBinaryToWriter + ); + } }; -/** - * @param {!proto.daemon.ListEventsResponse.Events=} opt_value - * @param {number=} opt_index - * @return {!proto.daemon.ListEventsResponse.Events} - */ -proto.daemon.ListEventsResponse.prototype.addEvents = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.daemon.ListEventsResponse.Events, opt_index); -}; - /** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.ListEventsResponse} returns this + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor */ -proto.daemon.ListEventsResponse.prototype.clearEventsList = function() { - return this.setEventsList([]); +proto.daemon.ListEventTeamsResponse.Teams = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; - - - +goog.inherits(proto.daemon.ListEventTeamsResponse.Teams, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListEventTeamsResponse.Teams.displayName = 'proto.daemon.ListEventTeamsResponse.Teams'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ -proto.daemon.ListEventTeamsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.daemon.ListEventTeamsRequest.toObject(opt_includeInstance, this); +proto.daemon.ListEventTeamsResponse.Teams.prototype.toObject = function(opt_includeInstance) { + return proto.daemon.ListEventTeamsResponse.Teams.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.daemon.ListEventTeamsRequest} msg The msg instance to transform. + * @param {!proto.daemon.ListEventTeamsResponse.Teams} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListEventTeamsRequest.toObject = function(includeInstance, msg) { +proto.daemon.ListEventTeamsResponse.Teams.toObject = function(includeInstance, msg) { var f, obj = { - tag: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + email: jspb.Message.getFieldWithDefault(msg, 3, ""), + accessedat: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -7839,23 +7169,23 @@ proto.daemon.ListEventTeamsRequest.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.daemon.ListEventTeamsRequest} + * @return {!proto.daemon.ListEventTeamsResponse.Teams} */ -proto.daemon.ListEventTeamsRequest.deserializeBinary = function(bytes) { +proto.daemon.ListEventTeamsResponse.Teams.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.daemon.ListEventTeamsRequest; - return proto.daemon.ListEventTeamsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.daemon.ListEventTeamsResponse.Teams; + return proto.daemon.ListEventTeamsResponse.Teams.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.daemon.ListEventTeamsRequest} msg The message object to deserialize into. + * @param {!proto.daemon.ListEventTeamsResponse.Teams} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.daemon.ListEventTeamsRequest} + * @return {!proto.daemon.ListEventTeamsResponse.Teams} */ -proto.daemon.ListEventTeamsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.daemon.ListEventTeamsResponse.Teams.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7864,7 +7194,19 @@ proto.daemon.ListEventTeamsRequest.deserializeBinaryFromReader = function(msg, r switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setTag(value); + msg.setId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setAccessedat(value); break; default: reader.skipField(); @@ -7879,9 +7221,9 @@ proto.daemon.ListEventTeamsRequest.deserializeBinaryFromReader = function(msg, r * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.daemon.ListEventTeamsRequest.prototype.serializeBinary = function() { +proto.daemon.ListEventTeamsResponse.Teams.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.daemon.ListEventTeamsRequest.serializeBinaryToWriter(this, writer); + proto.daemon.ListEventTeamsResponse.Teams.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7889,81 +7231,183 @@ proto.daemon.ListEventTeamsRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.daemon.ListEventTeamsRequest} message + * @param {!proto.daemon.ListEventTeamsResponse.Teams} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListEventTeamsRequest.serializeBinaryToWriter = function(message, writer) { +proto.daemon.ListEventTeamsResponse.Teams.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getTag(); + f = message.getId(); if (f.length > 0) { writer.writeString( 1, f ); } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getAccessedat(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } }; /** - * optional string tag = 1; + * optional string Id = 1; * @return {string} */ -proto.daemon.ListEventTeamsRequest.prototype.getTag = function() { +proto.daemon.ListEventTeamsResponse.Teams.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; +/** @param {string} value */ +proto.daemon.ListEventTeamsResponse.Teams.prototype.setId = function(value) { + jspb.Message.setProto3StringField(this, 1, value); +}; + + /** - * @param {string} value - * @return {!proto.daemon.ListEventTeamsRequest} returns this + * optional string Name = 2; + * @return {string} */ -proto.daemon.ListEventTeamsRequest.prototype.setTag = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); +proto.daemon.ListEventTeamsResponse.Teams.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; +/** @param {string} value */ +proto.daemon.ListEventTeamsResponse.Teams.prototype.setName = function(value) { + jspb.Message.setProto3StringField(this, 2, value); +}; + /** - * List of repeated fields within this message type. - * @private {!Array} - * @const + * optional string Email = 3; + * @return {string} */ -proto.daemon.ListEventTeamsResponse.repeatedFields_ = [1]; +proto.daemon.ListEventTeamsResponse.Teams.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** @param {string} value */ +proto.daemon.ListEventTeamsResponse.Teams.prototype.setEmail = function(value) { + jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string AccessedAt = 4; + * @return {string} + */ +proto.daemon.ListEventTeamsResponse.Teams.prototype.getAccessedat = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** @param {string} value */ +proto.daemon.ListEventTeamsResponse.Teams.prototype.setAccessedat = function(value) { + jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * repeated Teams teams = 1; + * @return {!Array} + */ +proto.daemon.ListEventTeamsResponse.prototype.getTeamsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.daemon.ListEventTeamsResponse.Teams, 1)); +}; + + +/** @param {!Array} value */ +proto.daemon.ListEventTeamsResponse.prototype.setTeamsList = function(value) { + jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.daemon.ListEventTeamsResponse.Teams=} opt_value + * @param {number=} opt_index + * @return {!proto.daemon.ListEventTeamsResponse.Teams} + */ +proto.daemon.ListEventTeamsResponse.prototype.addTeams = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.daemon.ListEventTeamsResponse.Teams, opt_index); +}; + + +proto.daemon.ListEventTeamsResponse.prototype.clearTeamsList = function() { + this.setTeamsList([]); +}; + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.RestartTeamLabRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.RestartTeamLabRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.RestartTeamLabRequest.displayName = 'proto.daemon.RestartTeamLabRequest'; +} + if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ -proto.daemon.ListEventTeamsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.daemon.ListEventTeamsResponse.toObject(opt_includeInstance, this); +proto.daemon.RestartTeamLabRequest.prototype.toObject = function(opt_includeInstance) { + return proto.daemon.RestartTeamLabRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.daemon.ListEventTeamsResponse} msg The msg instance to transform. + * @param {!proto.daemon.RestartTeamLabRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListEventTeamsResponse.toObject = function(includeInstance, msg) { +proto.daemon.RestartTeamLabRequest.toObject = function(includeInstance, msg) { var f, obj = { - teamsList: jspb.Message.toObjectList(msg.getTeamsList(), - proto.daemon.ListEventTeamsResponse.Teams.toObject, includeInstance) + eventtag: jspb.Message.getFieldWithDefault(msg, 1, ""), + teamid: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -7977,23 +7421,23 @@ proto.daemon.ListEventTeamsResponse.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.daemon.ListEventTeamsResponse} + * @return {!proto.daemon.RestartTeamLabRequest} */ -proto.daemon.ListEventTeamsResponse.deserializeBinary = function(bytes) { +proto.daemon.RestartTeamLabRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.daemon.ListEventTeamsResponse; - return proto.daemon.ListEventTeamsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.daemon.RestartTeamLabRequest; + return proto.daemon.RestartTeamLabRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.daemon.ListEventTeamsResponse} msg The message object to deserialize into. + * @param {!proto.daemon.RestartTeamLabRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.daemon.ListEventTeamsResponse} + * @return {!proto.daemon.RestartTeamLabRequest} */ -proto.daemon.ListEventTeamsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.daemon.RestartTeamLabRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8001,9 +7445,12 @@ proto.daemon.ListEventTeamsResponse.deserializeBinaryFromReader = function(msg, var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.daemon.ListEventTeamsResponse.Teams; - reader.readMessage(value,proto.daemon.ListEventTeamsResponse.Teams.deserializeBinaryFromReader); - msg.addTeams(value); + var value = /** @type {string} */ (reader.readString()); + msg.setEventtag(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setTeamid(value); break; default: reader.skipField(); @@ -8018,9 +7465,9 @@ proto.daemon.ListEventTeamsResponse.deserializeBinaryFromReader = function(msg, * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.daemon.ListEventTeamsResponse.prototype.serializeBinary = function() { +proto.daemon.RestartTeamLabRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.daemon.ListEventTeamsResponse.serializeBinaryToWriter(this, writer); + proto.daemon.RestartTeamLabRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8028,59 +7475,117 @@ proto.daemon.ListEventTeamsResponse.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.daemon.ListEventTeamsResponse} message + * @param {!proto.daemon.RestartTeamLabRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListEventTeamsResponse.serializeBinaryToWriter = function(message, writer) { +proto.daemon.RestartTeamLabRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getTeamsList(); + f = message.getEventtag(); if (f.length > 0) { - writer.writeRepeatedMessage( + writer.writeString( 1, - f, - proto.daemon.ListEventTeamsResponse.Teams.serializeBinaryToWriter + f + ); + } + f = message.getTeamid(); + if (f.length > 0) { + writer.writeString( + 2, + f ); } }; +/** + * optional string eventTag = 1; + * @return {string} + */ +proto.daemon.RestartTeamLabRequest.prototype.getEventtag = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** @param {string} value */ +proto.daemon.RestartTeamLabRequest.prototype.setEventtag = function(value) { + jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string teamId = 2; + * @return {string} + */ +proto.daemon.RestartTeamLabRequest.prototype.getTeamid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** @param {string} value */ +proto.daemon.RestartTeamLabRequest.prototype.setTeamid = function(value) { + jspb.Message.setProto3StringField(this, 2, value); +}; + + + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.ResetExerciseRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ResetExerciseRequest.repeatedFields_, null); +}; +goog.inherits(proto.daemon.ResetExerciseRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ResetExerciseRequest.displayName = 'proto.daemon.ResetExerciseRequest'; +} +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.daemon.ResetExerciseRequest.repeatedFields_ = [3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ -proto.daemon.ListEventTeamsResponse.Teams.prototype.toObject = function(opt_includeInstance) { - return proto.daemon.ListEventTeamsResponse.Teams.toObject(opt_includeInstance, this); +proto.daemon.ResetExerciseRequest.prototype.toObject = function(opt_includeInstance) { + return proto.daemon.ResetExerciseRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.daemon.ListEventTeamsResponse.Teams} msg The msg instance to transform. + * @param {!proto.daemon.ResetExerciseRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListEventTeamsResponse.Teams.toObject = function(includeInstance, msg) { +proto.daemon.ResetExerciseRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - email: jspb.Message.getFieldWithDefault(msg, 3, ""), - accessedat: jspb.Message.getFieldWithDefault(msg, 4, "") + exercisetag: jspb.Message.getFieldWithDefault(msg, 1, ""), + eventtag: jspb.Message.getFieldWithDefault(msg, 2, ""), + teamsList: jspb.Message.toObjectList(msg.getTeamsList(), + proto.daemon.Team.toObject, includeInstance) }; if (includeInstance) { @@ -8094,23 +7599,23 @@ proto.daemon.ListEventTeamsResponse.Teams.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.daemon.ListEventTeamsResponse.Teams} + * @return {!proto.daemon.ResetExerciseRequest} */ -proto.daemon.ListEventTeamsResponse.Teams.deserializeBinary = function(bytes) { +proto.daemon.ResetExerciseRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.daemon.ListEventTeamsResponse.Teams; - return proto.daemon.ListEventTeamsResponse.Teams.deserializeBinaryFromReader(msg, reader); + var msg = new proto.daemon.ResetExerciseRequest; + return proto.daemon.ResetExerciseRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.daemon.ListEventTeamsResponse.Teams} msg The message object to deserialize into. + * @param {!proto.daemon.ResetExerciseRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.daemon.ListEventTeamsResponse.Teams} + * @return {!proto.daemon.ResetExerciseRequest} */ -proto.daemon.ListEventTeamsResponse.Teams.deserializeBinaryFromReader = function(msg, reader) { +proto.daemon.ResetExerciseRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8119,19 +7624,16 @@ proto.daemon.ListEventTeamsResponse.Teams.deserializeBinaryFromReader = function switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setId(value); + msg.setExercisetag(value); break; case 2: var value = /** @type {string} */ (reader.readString()); - msg.setName(value); + msg.setEventtag(value); break; case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setEmail(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setAccessedat(value); + var value = new proto.daemon.Team; + reader.readMessage(value,proto.daemon.Team.deserializeBinaryFromReader); + msg.addTeams(value); break; default: reader.skipField(); @@ -8146,9 +7648,9 @@ proto.daemon.ListEventTeamsResponse.Teams.deserializeBinaryFromReader = function * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.daemon.ListEventTeamsResponse.Teams.prototype.serializeBinary = function() { +proto.daemon.ResetExerciseRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.daemon.ListEventTeamsResponse.Teams.serializeBinaryToWriter(this, writer); + proto.daemon.ResetExerciseRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8156,187 +7658,297 @@ proto.daemon.ListEventTeamsResponse.Teams.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.daemon.ListEventTeamsResponse.Teams} message + * @param {!proto.daemon.ResetExerciseRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListEventTeamsResponse.Teams.serializeBinaryToWriter = function(message, writer) { +proto.daemon.ResetExerciseRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getId(); + f = message.getExercisetag(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getName(); + f = message.getEventtag(); if (f.length > 0) { writer.writeString( 2, f ); } - f = message.getEmail(); + f = message.getTeamsList(); if (f.length > 0) { - writer.writeString( + writer.writeRepeatedMessage( 3, - f - ); - } - f = message.getAccessedat(); - if (f.length > 0) { - writer.writeString( - 4, - f + f, + proto.daemon.Team.serializeBinaryToWriter ); } }; /** - * optional string Id = 1; + * optional string exerciseTag = 1; * @return {string} */ -proto.daemon.ListEventTeamsResponse.Teams.prototype.getId = function() { +proto.daemon.ResetExerciseRequest.prototype.getExercisetag = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; -/** - * @param {string} value - * @return {!proto.daemon.ListEventTeamsResponse.Teams} returns this - */ -proto.daemon.ListEventTeamsResponse.Teams.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); +/** @param {string} value */ +proto.daemon.ResetExerciseRequest.prototype.setExercisetag = function(value) { + jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional string Name = 2; + * optional string eventTag = 2; * @return {string} */ -proto.daemon.ListEventTeamsResponse.Teams.prototype.getName = function() { +proto.daemon.ResetExerciseRequest.prototype.getEventtag = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; +/** @param {string} value */ +proto.daemon.ResetExerciseRequest.prototype.setEventtag = function(value) { + jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * repeated Team teams = 3; + * @return {!Array} + */ +proto.daemon.ResetExerciseRequest.prototype.getTeamsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.daemon.Team, 3)); +}; + + +/** @param {!Array} value */ +proto.daemon.ResetExerciseRequest.prototype.setTeamsList = function(value) { + jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + /** - * @param {string} value - * @return {!proto.daemon.ListEventTeamsResponse.Teams} returns this + * @param {!proto.daemon.Team=} opt_value + * @param {number=} opt_index + * @return {!proto.daemon.Team} */ -proto.daemon.ListEventTeamsResponse.Teams.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); +proto.daemon.ResetExerciseRequest.prototype.addTeams = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.daemon.Team, opt_index); +}; + + +proto.daemon.ResetExerciseRequest.prototype.clearTeamsList = function() { + this.setTeamsList([]); +}; + + + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.ListExercisesResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ListExercisesResponse.repeatedFields_, null); +}; +goog.inherits(proto.daemon.ListExercisesResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListExercisesResponse.displayName = 'proto.daemon.ListExercisesResponse'; +} +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.daemon.ListExercisesResponse.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto suitable for use in Soy templates. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration + * @return {!Object} + */ +proto.daemon.ListExercisesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.daemon.ListExercisesResponse.toObject(opt_includeInstance, this); }; /** - * optional string Email = 3; - * @return {string} + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.daemon.ListExercisesResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListEventTeamsResponse.Teams.prototype.getEmail = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +proto.daemon.ListExercisesResponse.toObject = function(includeInstance, msg) { + var f, obj = { + exercisesList: jspb.Message.toObjectList(msg.getExercisesList(), + proto.daemon.ListExercisesResponse.Exercise.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; }; +} /** - * @param {string} value - * @return {!proto.daemon.ListEventTeamsResponse.Teams} returns this + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.daemon.ListExercisesResponse} */ -proto.daemon.ListEventTeamsResponse.Teams.prototype.setEmail = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); +proto.daemon.ListExercisesResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.daemon.ListExercisesResponse; + return proto.daemon.ListExercisesResponse.deserializeBinaryFromReader(msg, reader); }; /** - * optional string AccessedAt = 4; - * @return {string} + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.daemon.ListExercisesResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.daemon.ListExercisesResponse} */ -proto.daemon.ListEventTeamsResponse.Teams.prototype.getAccessedat = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +proto.daemon.ListExercisesResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.daemon.ListExercisesResponse.Exercise; + reader.readMessage(value,proto.daemon.ListExercisesResponse.Exercise.deserializeBinaryFromReader); + msg.addExercises(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; }; /** - * @param {string} value - * @return {!proto.daemon.ListEventTeamsResponse.Teams} returns this + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} */ -proto.daemon.ListEventTeamsResponse.Teams.prototype.setAccessedat = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); +proto.daemon.ListExercisesResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.daemon.ListExercisesResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; /** - * repeated Teams teams = 1; - * @return {!Array} + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.daemon.ListExercisesResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListEventTeamsResponse.prototype.getTeamsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.daemon.ListEventTeamsResponse.Teams, 1)); +proto.daemon.ListExercisesResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExercisesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.daemon.ListExercisesResponse.Exercise.serializeBinaryToWriter + ); + } }; -/** - * @param {!Array} value - * @return {!proto.daemon.ListEventTeamsResponse} returns this -*/ -proto.daemon.ListEventTeamsResponse.prototype.setTeamsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - /** - * @param {!proto.daemon.ListEventTeamsResponse.Teams=} opt_value - * @param {number=} opt_index - * @return {!proto.daemon.ListEventTeamsResponse.Teams} + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor */ -proto.daemon.ListEventTeamsResponse.prototype.addTeams = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.daemon.ListEventTeamsResponse.Teams, opt_index); +proto.daemon.ListExercisesResponse.Exercise = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ListExercisesResponse.Exercise.repeatedFields_, null); }; - - +goog.inherits(proto.daemon.ListExercisesResponse.Exercise, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListExercisesResponse.Exercise.displayName = 'proto.daemon.ListExercisesResponse.Exercise'; +} /** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.ListEventTeamsResponse} returns this + * List of repeated fields within this message type. + * @private {!Array} + * @const */ -proto.daemon.ListEventTeamsResponse.prototype.clearTeamsList = function() { - return this.setTeamsList([]); -}; - - +proto.daemon.ListExercisesResponse.Exercise.repeatedFields_ = [1,5]; if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ -proto.daemon.RestartTeamLabRequest.prototype.toObject = function(opt_includeInstance) { - return proto.daemon.RestartTeamLabRequest.toObject(opt_includeInstance, this); +proto.daemon.ListExercisesResponse.Exercise.prototype.toObject = function(opt_includeInstance) { + return proto.daemon.ListExercisesResponse.Exercise.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.daemon.RestartTeamLabRequest} msg The msg instance to transform. + * @param {!proto.daemon.ListExercisesResponse.Exercise} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.RestartTeamLabRequest.toObject = function(includeInstance, msg) { +proto.daemon.ListExercisesResponse.Exercise.toObject = function(includeInstance, msg) { var f, obj = { - eventtag: jspb.Message.getFieldWithDefault(msg, 1, ""), - teamid: jspb.Message.getFieldWithDefault(msg, 2, "") + tagsList: jspb.Message.getRepeatedField(msg, 1), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + dockerimagecount: jspb.Message.getFieldWithDefault(msg, 3, 0), + vboximagecount: jspb.Message.getFieldWithDefault(msg, 4, 0), + secret: jspb.Message.getFieldWithDefault(msg, 6, false), + exerciseinfoList: jspb.Message.toObjectList(msg.getExerciseinfoList(), + proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.toObject, includeInstance), + orgdescription: jspb.Message.getFieldWithDefault(msg, 7, "") }; if (includeInstance) { @@ -8350,23 +7962,23 @@ proto.daemon.RestartTeamLabRequest.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.daemon.RestartTeamLabRequest} + * @return {!proto.daemon.ListExercisesResponse.Exercise} */ -proto.daemon.RestartTeamLabRequest.deserializeBinary = function(bytes) { +proto.daemon.ListExercisesResponse.Exercise.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.daemon.RestartTeamLabRequest; - return proto.daemon.RestartTeamLabRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.daemon.ListExercisesResponse.Exercise; + return proto.daemon.ListExercisesResponse.Exercise.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.daemon.RestartTeamLabRequest} msg The message object to deserialize into. + * @param {!proto.daemon.ListExercisesResponse.Exercise} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.daemon.RestartTeamLabRequest} + * @return {!proto.daemon.ListExercisesResponse.Exercise} */ -proto.daemon.RestartTeamLabRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.daemon.ListExercisesResponse.Exercise.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8375,11 +7987,32 @@ proto.daemon.RestartTeamLabRequest.deserializeBinaryFromReader = function(msg, r switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setEventtag(value); + msg.addTags(value); break; case 2: var value = /** @type {string} */ (reader.readString()); - msg.setTeamid(value); + msg.setName(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt32()); + msg.setDockerimagecount(value); + break; + case 4: + var value = /** @type {number} */ (reader.readInt32()); + msg.setVboximagecount(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setSecret(value); + break; + case 5: + var value = new proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo; + reader.readMessage(value,proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.deserializeBinaryFromReader); + msg.addExerciseinfo(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setOrgdescription(value); break; default: reader.skipField(); @@ -8394,9 +8027,9 @@ proto.daemon.RestartTeamLabRequest.deserializeBinaryFromReader = function(msg, r * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.daemon.RestartTeamLabRequest.prototype.serializeBinary = function() { +proto.daemon.ListExercisesResponse.Exercise.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.daemon.RestartTeamLabRequest.serializeBinaryToWriter(this, writer); + proto.daemon.ListExercisesResponse.Exercise.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8404,108 +8037,117 @@ proto.daemon.RestartTeamLabRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.daemon.RestartTeamLabRequest} message + * @param {!proto.daemon.ListExercisesResponse.Exercise} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.RestartTeamLabRequest.serializeBinaryToWriter = function(message, writer) { +proto.daemon.ListExercisesResponse.Exercise.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getEventtag(); + f = message.getTagsList(); if (f.length > 0) { - writer.writeString( + writer.writeRepeatedString( 1, f ); } - f = message.getTeamid(); + f = message.getName(); if (f.length > 0) { writer.writeString( 2, f ); } -}; - - -/** - * optional string eventTag = 1; - * @return {string} - */ -proto.daemon.RestartTeamLabRequest.prototype.getEventtag = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.daemon.RestartTeamLabRequest} returns this - */ -proto.daemon.RestartTeamLabRequest.prototype.setEventtag = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string teamId = 2; - * @return {string} - */ -proto.daemon.RestartTeamLabRequest.prototype.getTeamid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.daemon.RestartTeamLabRequest} returns this - */ -proto.daemon.RestartTeamLabRequest.prototype.setTeamid = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + f = message.getDockerimagecount(); + if (f !== 0) { + writer.writeInt32( + 3, + f + ); + } + f = message.getVboximagecount(); + if (f !== 0) { + writer.writeInt32( + 4, + f + ); + } + f = message.getSecret(); + if (f) { + writer.writeBool( + 6, + f + ); + } + f = message.getExerciseinfoList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 5, + f, + proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.serializeBinaryToWriter + ); + } + f = message.getOrgdescription(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } }; /** - * List of repeated fields within this message type. - * @private {!Array} - * @const + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor */ -proto.daemon.ResetExerciseRequest.repeatedFields_ = [3]; - +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.displayName = 'proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ -proto.daemon.ResetExerciseRequest.prototype.toObject = function(opt_includeInstance) { - return proto.daemon.ResetExerciseRequest.toObject(opt_includeInstance, this); +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.toObject = function(opt_includeInstance) { + return proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.daemon.ResetExerciseRequest} msg The msg instance to transform. + * @param {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ResetExerciseRequest.toObject = function(includeInstance, msg) { +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.toObject = function(includeInstance, msg) { var f, obj = { - exercisetag: jspb.Message.getFieldWithDefault(msg, 1, ""), - eventtag: jspb.Message.getFieldWithDefault(msg, 2, ""), - teamsList: jspb.Message.toObjectList(msg.getTeamsList(), - proto.daemon.Team.toObject, includeInstance) + tag: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + points: jspb.Message.getFieldWithDefault(msg, 3, 0), + category: jspb.Message.getFieldWithDefault(msg, 4, ""), + description: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -8519,23 +8161,23 @@ proto.daemon.ResetExerciseRequest.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.daemon.ResetExerciseRequest} + * @return {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} */ -proto.daemon.ResetExerciseRequest.deserializeBinary = function(bytes) { +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.daemon.ResetExerciseRequest; - return proto.daemon.ResetExerciseRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo; + return proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.daemon.ResetExerciseRequest} msg The message object to deserialize into. + * @param {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.daemon.ResetExerciseRequest} + * @return {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} */ -proto.daemon.ResetExerciseRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8544,16 +8186,23 @@ proto.daemon.ResetExerciseRequest.deserializeBinaryFromReader = function(msg, re switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setExercisetag(value); + msg.setTag(value); break; case 2: var value = /** @type {string} */ (reader.readString()); - msg.setEventtag(value); + msg.setName(value); break; case 3: - var value = new proto.daemon.Team; - reader.readMessage(value,proto.daemon.Team.deserializeBinaryFromReader); - msg.addTeams(value); + var value = /** @type {number} */ (reader.readInt32()); + msg.setPoints(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setCategory(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); break; default: reader.skipField(); @@ -8568,9 +8217,9 @@ proto.daemon.ResetExerciseRequest.deserializeBinaryFromReader = function(msg, re * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.daemon.ResetExerciseRequest.prototype.serializeBinary = function() { +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.daemon.ResetExerciseRequest.serializeBinaryToWriter(this, writer); + proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8578,280 +8227,349 @@ proto.daemon.ResetExerciseRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.daemon.ResetExerciseRequest} message + * @param {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ResetExerciseRequest.serializeBinaryToWriter = function(message, writer) { +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExercisetag(); + f = message.getTag(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getEventtag(); + f = message.getName(); if (f.length > 0) { writer.writeString( 2, f ); } - f = message.getTeamsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( + f = message.getPoints(); + if (f !== 0) { + writer.writeInt32( 3, - f, - proto.daemon.Team.serializeBinaryToWriter + f + ); + } + f = message.getCategory(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 5, + f ); } }; /** - * optional string exerciseTag = 1; + * optional string tag = 1; * @return {string} */ -proto.daemon.ResetExerciseRequest.prototype.getExercisetag = function() { +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.getTag = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; +/** @param {string} value */ +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.setTag = function(value) { + jspb.Message.setProto3StringField(this, 1, value); +}; + + /** - * @param {string} value - * @return {!proto.daemon.ResetExerciseRequest} returns this + * optional string name = 2; + * @return {string} */ -proto.daemon.ResetExerciseRequest.prototype.setExercisetag = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** @param {string} value */ +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.setName = function(value) { + jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional string eventTag = 2; + * optional int32 points = 3; + * @return {number} + */ +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.getPoints = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** @param {number} value */ +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.setPoints = function(value) { + jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional string category = 4; * @return {string} */ -proto.daemon.ResetExerciseRequest.prototype.getEventtag = function() { +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.getCategory = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** @param {string} value */ +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.setCategory = function(value) { + jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string description = 5; + * @return {string} + */ +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** @param {string} value */ +proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.setDescription = function(value) { + jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated string tags = 1; + * @return {!Array} + */ +proto.daemon.ListExercisesResponse.Exercise.prototype.getTagsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** @param {!Array} value */ +proto.daemon.ListExercisesResponse.Exercise.prototype.setTagsList = function(value) { + jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {!string} value + * @param {number=} opt_index + */ +proto.daemon.ListExercisesResponse.Exercise.prototype.addTags = function(value, opt_index) { + jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +proto.daemon.ListExercisesResponse.Exercise.prototype.clearTagsList = function() { + this.setTagsList([]); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.daemon.ListExercisesResponse.Exercise.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; +/** @param {string} value */ +proto.daemon.ListExercisesResponse.Exercise.prototype.setName = function(value) { + jspb.Message.setProto3StringField(this, 2, value); +}; + + /** - * @param {string} value - * @return {!proto.daemon.ResetExerciseRequest} returns this + * optional int32 dockerImageCount = 3; + * @return {number} */ -proto.daemon.ResetExerciseRequest.prototype.setEventtag = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); +proto.daemon.ListExercisesResponse.Exercise.prototype.getDockerimagecount = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** @param {number} value */ +proto.daemon.ListExercisesResponse.Exercise.prototype.setDockerimagecount = function(value) { + jspb.Message.setProto3IntField(this, 3, value); }; /** - * repeated Team teams = 3; - * @return {!Array} + * optional int32 vboxImageCount = 4; + * @return {number} */ -proto.daemon.ResetExerciseRequest.prototype.getTeamsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.daemon.Team, 3)); +proto.daemon.ListExercisesResponse.Exercise.prototype.getVboximagecount = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** @param {number} value */ +proto.daemon.ListExercisesResponse.Exercise.prototype.setVboximagecount = function(value) { + jspb.Message.setProto3IntField(this, 4, value); +}; + + +/** + * optional bool secret = 6; + * Note that Boolean fields may be set to 0/1 when serialized from a Java server. + * You should avoid comparisons like {@code val === true/false} in those cases. + * @return {boolean} + */ +proto.daemon.ListExercisesResponse.Exercise.prototype.getSecret = function() { + return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 6, false)); +}; + + +/** @param {boolean} value */ +proto.daemon.ListExercisesResponse.Exercise.prototype.setSecret = function(value) { + jspb.Message.setProto3BooleanField(this, 6, value); +}; + + +/** + * repeated ExerciseInfo exerciseinfo = 5; + * @return {!Array} + */ +proto.daemon.ListExercisesResponse.Exercise.prototype.getExerciseinfoList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo, 5)); }; -/** - * @param {!Array} value - * @return {!proto.daemon.ResetExerciseRequest} returns this -*/ -proto.daemon.ResetExerciseRequest.prototype.setTeamsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 3, value); +/** @param {!Array} value */ +proto.daemon.ListExercisesResponse.Exercise.prototype.setExerciseinfoList = function(value) { + jspb.Message.setRepeatedWrapperField(this, 5, value); }; /** - * @param {!proto.daemon.Team=} opt_value + * @param {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo=} opt_value * @param {number=} opt_index - * @return {!proto.daemon.Team} + * @return {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} */ -proto.daemon.ResetExerciseRequest.prototype.addTeams = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.daemon.Team, opt_index); +proto.daemon.ListExercisesResponse.Exercise.prototype.addExerciseinfo = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo, opt_index); }; -/** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.ResetExerciseRequest} returns this - */ -proto.daemon.ResetExerciseRequest.prototype.clearTeamsList = function() { - return this.setTeamsList([]); +proto.daemon.ListExercisesResponse.Exercise.prototype.clearExerciseinfoList = function() { + this.setExerciseinfoList([]); }; - /** - * List of repeated fields within this message type. - * @private {!Array} - * @const + * optional string orgdescription = 7; + * @return {string} */ -proto.daemon.ListExercisesResponse.repeatedFields_ = [1]; - +proto.daemon.ListExercisesResponse.Exercise.prototype.getOrgdescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.daemon.ListExercisesResponse.prototype.toObject = function(opt_includeInstance) { - return proto.daemon.ListExercisesResponse.toObject(opt_includeInstance, this); +/** @param {string} value */ +proto.daemon.ListExercisesResponse.Exercise.prototype.setOrgdescription = function(value) { + jspb.Message.setProto3StringField(this, 7, value); }; /** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.daemon.ListExercisesResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages + * repeated Exercise exercises = 1; + * @return {!Array} */ -proto.daemon.ListExercisesResponse.toObject = function(includeInstance, msg) { - var f, obj = { - exercisesList: jspb.Message.toObjectList(msg.getExercisesList(), - proto.daemon.ListExercisesResponse.Exercise.toObject, includeInstance) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; +proto.daemon.ListExercisesResponse.prototype.getExercisesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.daemon.ListExercisesResponse.Exercise, 1)); }; -} -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.daemon.ListExercisesResponse} - */ -proto.daemon.ListExercisesResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.daemon.ListExercisesResponse; - return proto.daemon.ListExercisesResponse.deserializeBinaryFromReader(msg, reader); +/** @param {!Array} value */ +proto.daemon.ListExercisesResponse.prototype.setExercisesList = function(value) { + jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.daemon.ListExercisesResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.daemon.ListExercisesResponse} + * @param {!proto.daemon.ListExercisesResponse.Exercise=} opt_value + * @param {number=} opt_index + * @return {!proto.daemon.ListExercisesResponse.Exercise} */ -proto.daemon.ListExercisesResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new proto.daemon.ListExercisesResponse.Exercise; - reader.readMessage(value,proto.daemon.ListExercisesResponse.Exercise.deserializeBinaryFromReader); - msg.addExercises(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; +proto.daemon.ListExercisesResponse.prototype.addExercises = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.daemon.ListExercisesResponse.Exercise, opt_index); }; -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.daemon.ListExercisesResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.daemon.ListExercisesResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.daemon.ListExercisesResponse.prototype.clearExercisesList = function() { + this.setExercisesList([]); }; + /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.daemon.ListExercisesResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor */ -proto.daemon.ListExercisesResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getExercisesList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - proto.daemon.ListExercisesResponse.Exercise.serializeBinaryToWriter - ); - } +proto.daemon.ListCategoriesResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ListCategoriesResponse.repeatedFields_, null); }; - - - +goog.inherits(proto.daemon.ListCategoriesResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListCategoriesResponse.displayName = 'proto.daemon.ListCategoriesResponse'; +} /** * List of repeated fields within this message type. * @private {!Array} * @const */ -proto.daemon.ListExercisesResponse.Exercise.repeatedFields_ = [1,5]; +proto.daemon.ListCategoriesResponse.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ -proto.daemon.ListExercisesResponse.Exercise.prototype.toObject = function(opt_includeInstance) { - return proto.daemon.ListExercisesResponse.Exercise.toObject(opt_includeInstance, this); +proto.daemon.ListCategoriesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.daemon.ListCategoriesResponse.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.daemon.ListExercisesResponse.Exercise} msg The msg instance to transform. + * @param {!proto.daemon.ListCategoriesResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListExercisesResponse.Exercise.toObject = function(includeInstance, msg) { +proto.daemon.ListCategoriesResponse.toObject = function(includeInstance, msg) { var f, obj = { - tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - dockerimagecount: jspb.Message.getFieldWithDefault(msg, 3, 0), - vboximagecount: jspb.Message.getFieldWithDefault(msg, 4, 0), - secret: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), - exerciseinfoList: jspb.Message.toObjectList(msg.getExerciseinfoList(), - proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.toObject, includeInstance), - orgdescription: jspb.Message.getFieldWithDefault(msg, 7, "") + categoriesList: jspb.Message.toObjectList(msg.getCategoriesList(), + proto.daemon.ListCategoriesResponse.Category.toObject, includeInstance) }; if (includeInstance) { @@ -8865,177 +8583,124 @@ proto.daemon.ListExercisesResponse.Exercise.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.daemon.ListExercisesResponse.Exercise} + * @return {!proto.daemon.ListCategoriesResponse} */ -proto.daemon.ListExercisesResponse.Exercise.deserializeBinary = function(bytes) { +proto.daemon.ListCategoriesResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.daemon.ListExercisesResponse.Exercise; - return proto.daemon.ListExercisesResponse.Exercise.deserializeBinaryFromReader(msg, reader); + var msg = new proto.daemon.ListCategoriesResponse; + return proto.daemon.ListCategoriesResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.daemon.ListExercisesResponse.Exercise} msg The message object to deserialize into. + * @param {!proto.daemon.ListCategoriesResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.daemon.ListExercisesResponse.Exercise} + * @return {!proto.daemon.ListCategoriesResponse} */ -proto.daemon.ListExercisesResponse.Exercise.deserializeBinaryFromReader = function(msg, reader) { +proto.daemon.ListCategoriesResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.addTags(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = /** @type {number} */ (reader.readInt32()); - msg.setDockerimagecount(value); - break; - case 4: - var value = /** @type {number} */ (reader.readInt32()); - msg.setVboximagecount(value); - break; - case 6: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setSecret(value); - break; - case 5: - var value = new proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo; - reader.readMessage(value,proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.deserializeBinaryFromReader); - msg.addExerciseinfo(value); - break; - case 7: - var value = /** @type {string} */ (reader.readString()); - msg.setOrgdescription(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.daemon.ListExercisesResponse.Exercise.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.daemon.ListExercisesResponse.Exercise} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.daemon.ListExercisesResponse.Exercise.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getTagsList(); - if (f.length > 0) { - writer.writeRepeatedString( - 1, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getDockerimagecount(); - if (f !== 0) { - writer.writeInt32( - 3, - f - ); - } - f = message.getVboximagecount(); - if (f !== 0) { - writer.writeInt32( - 4, - f - ); - } - f = message.getSecret(); - if (f) { - writer.writeBool( - 6, - f - ); + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.daemon.ListCategoriesResponse.Category; + reader.readMessage(value,proto.daemon.ListCategoriesResponse.Category.deserializeBinaryFromReader); + msg.addCategories(value); + break; + default: + reader.skipField(); + break; + } } - f = message.getExerciseinfoList(); + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.daemon.ListCategoriesResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.daemon.ListCategoriesResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.daemon.ListCategoriesResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.daemon.ListCategoriesResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCategoriesList(); if (f.length > 0) { writer.writeRepeatedMessage( - 5, + 1, f, - proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.serializeBinaryToWriter - ); - } - f = message.getOrgdescription(); - if (f.length > 0) { - writer.writeString( - 7, - f + proto.daemon.ListCategoriesResponse.Category.serializeBinaryToWriter ); } }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.ListCategoriesResponse.Category = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.ListCategoriesResponse.Category, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListCategoriesResponse.Category.displayName = 'proto.daemon.ListCategoriesResponse.Category'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.toObject = function(opt_includeInstance) { - return proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.toObject(opt_includeInstance, this); +proto.daemon.ListCategoriesResponse.Category.prototype.toObject = function(opt_includeInstance) { + return proto.daemon.ListCategoriesResponse.Category.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} msg The msg instance to transform. + * @param {!proto.daemon.ListCategoriesResponse.Category} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.toObject = function(includeInstance, msg) { +proto.daemon.ListCategoriesResponse.Category.toObject = function(includeInstance, msg) { var f, obj = { tag: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), - points: jspb.Message.getFieldWithDefault(msg, 3, 0), - category: jspb.Message.getFieldWithDefault(msg, 4, ""), - description: jspb.Message.getFieldWithDefault(msg, 5, "") + catdescription: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -9049,23 +8714,23 @@ proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} + * @return {!proto.daemon.ListCategoriesResponse.Category} */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.deserializeBinary = function(bytes) { +proto.daemon.ListCategoriesResponse.Category.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo; - return proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.deserializeBinaryFromReader(msg, reader); + var msg = new proto.daemon.ListCategoriesResponse.Category; + return proto.daemon.ListCategoriesResponse.Category.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} msg The message object to deserialize into. + * @param {!proto.daemon.ListCategoriesResponse.Category} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} + * @return {!proto.daemon.ListCategoriesResponse.Category} */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.deserializeBinaryFromReader = function(msg, reader) { +proto.daemon.ListCategoriesResponse.Category.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -9081,16 +8746,8 @@ proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.deserializeBinaryFromRe msg.setName(value); break; case 3: - var value = /** @type {number} */ (reader.readInt32()); - msg.setPoints(value); - break; - case 4: var value = /** @type {string} */ (reader.readString()); - msg.setCategory(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setDescription(value); + msg.setCatdescription(value); break; default: reader.skipField(); @@ -9105,9 +8762,9 @@ proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.serializeBinary = function() { +proto.daemon.ListCategoriesResponse.Category.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.serializeBinaryToWriter(this, writer); + proto.daemon.ListCategoriesResponse.Category.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9115,11 +8772,11 @@ proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} message + * @param {!proto.daemon.ListCategoriesResponse.Category} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.serializeBinaryToWriter = function(message, writer) { +proto.daemon.ListCategoriesResponse.Category.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTag(); if (f.length > 0) { @@ -9135,337 +8792,121 @@ proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.serializeBinaryToWriter f ); } - f = message.getPoints(); - if (f !== 0) { - writer.writeInt32( - 3, - f - ); - } - f = message.getCategory(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } - f = message.getDescription(); + f = message.getCatdescription(); if (f.length > 0) { writer.writeString( - 5, + 3, f - ); - } -}; - - -/** - * optional string tag = 1; - * @return {string} - */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.getTag = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.setTag = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string name = 2; - * @return {string} - */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional int32 points = 3; - * @return {number} - */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.getPoints = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.setPoints = function(value) { - return jspb.Message.setProto3IntField(this, 3, value); -}; - - -/** - * optional string category = 4; - * @return {string} - */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.getCategory = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - - -/** - * @param {string} value - * @return {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.setCategory = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - - -/** - * optional string description = 5; - * @return {string} - */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.getDescription = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - - -/** - * @param {string} value - * @return {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo.prototype.setDescription = function(value) { - return jspb.Message.setProto3StringField(this, 5, value); -}; - - -/** - * repeated string tags = 1; - * @return {!Array} - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.getTagsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); -}; - - -/** - * @param {!Array} value - * @return {!proto.daemon.ListExercisesResponse.Exercise} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.setTagsList = function(value) { - return jspb.Message.setField(this, 1, value || []); -}; - - -/** - * @param {string} value - * @param {number=} opt_index - * @return {!proto.daemon.ListExercisesResponse.Exercise} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.addTags = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 1, value, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.ListExercisesResponse.Exercise} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.clearTagsList = function() { - return this.setTagsList([]); -}; - - -/** - * optional string name = 2; - * @return {string} - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.daemon.ListExercisesResponse.Exercise} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional int32 dockerImageCount = 3; - * @return {number} - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.getDockerimagecount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.daemon.ListExercisesResponse.Exercise} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.setDockerimagecount = function(value) { - return jspb.Message.setProto3IntField(this, 3, value); -}; - - -/** - * optional int32 vboxImageCount = 4; - * @return {number} - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.getVboximagecount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.daemon.ListExercisesResponse.Exercise} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.setVboximagecount = function(value) { - return jspb.Message.setProto3IntField(this, 4, value); + ); + } }; /** - * optional bool secret = 6; - * @return {boolean} + * optional string tag = 1; + * @return {string} */ -proto.daemon.ListExercisesResponse.Exercise.prototype.getSecret = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +proto.daemon.ListCategoriesResponse.Category.prototype.getTag = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; -/** - * @param {boolean} value - * @return {!proto.daemon.ListExercisesResponse.Exercise} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.setSecret = function(value) { - return jspb.Message.setProto3BooleanField(this, 6, value); +/** @param {string} value */ +proto.daemon.ListCategoriesResponse.Category.prototype.setTag = function(value) { + jspb.Message.setProto3StringField(this, 1, value); }; /** - * repeated ExerciseInfo exerciseinfo = 5; - * @return {!Array} + * optional string name = 2; + * @return {string} */ -proto.daemon.ListExercisesResponse.Exercise.prototype.getExerciseinfoList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo, 5)); +proto.daemon.ListCategoriesResponse.Category.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; -/** - * @param {!Array} value - * @return {!proto.daemon.ListExercisesResponse.Exercise} returns this -*/ -proto.daemon.ListExercisesResponse.Exercise.prototype.setExerciseinfoList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 5, value); +/** @param {string} value */ +proto.daemon.ListCategoriesResponse.Category.prototype.setName = function(value) { + jspb.Message.setProto3StringField(this, 2, value); }; /** - * @param {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo=} opt_value - * @param {number=} opt_index - * @return {!proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo} + * optional string catDescription = 3; + * @return {string} */ -proto.daemon.ListExercisesResponse.Exercise.prototype.addExerciseinfo = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.daemon.ListExercisesResponse.Exercise.ExerciseInfo, opt_index); +proto.daemon.ListCategoriesResponse.Category.prototype.getCatdescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; -/** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.ListExercisesResponse.Exercise} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.clearExerciseinfoList = function() { - return this.setExerciseinfoList([]); +/** @param {string} value */ +proto.daemon.ListCategoriesResponse.Category.prototype.setCatdescription = function(value) { + jspb.Message.setProto3StringField(this, 3, value); }; /** - * optional string orgdescription = 7; - * @return {string} + * repeated Category categories = 1; + * @return {!Array} */ -proto.daemon.ListExercisesResponse.Exercise.prototype.getOrgdescription = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +proto.daemon.ListCategoriesResponse.prototype.getCategoriesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.daemon.ListCategoriesResponse.Category, 1)); }; -/** - * @param {string} value - * @return {!proto.daemon.ListExercisesResponse.Exercise} returns this - */ -proto.daemon.ListExercisesResponse.Exercise.prototype.setOrgdescription = function(value) { - return jspb.Message.setProto3StringField(this, 7, value); +/** @param {!Array} value */ +proto.daemon.ListCategoriesResponse.prototype.setCategoriesList = function(value) { + jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * repeated Exercise exercises = 1; - * @return {!Array} + * @param {!proto.daemon.ListCategoriesResponse.Category=} opt_value + * @param {number=} opt_index + * @return {!proto.daemon.ListCategoriesResponse.Category} */ -proto.daemon.ListExercisesResponse.prototype.getExercisesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.daemon.ListExercisesResponse.Exercise, 1)); +proto.daemon.ListCategoriesResponse.prototype.addCategories = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.daemon.ListCategoriesResponse.Category, opt_index); }; -/** - * @param {!Array} value - * @return {!proto.daemon.ListExercisesResponse} returns this -*/ -proto.daemon.ListExercisesResponse.prototype.setExercisesList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); +proto.daemon.ListCategoriesResponse.prototype.clearCategoriesList = function() { + this.setCategoriesList([]); }; -/** - * @param {!proto.daemon.ListExercisesResponse.Exercise=} opt_value - * @param {number=} opt_index - * @return {!proto.daemon.ListExercisesResponse.Exercise} - */ -proto.daemon.ListExercisesResponse.prototype.addExercises = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.daemon.ListExercisesResponse.Exercise, opt_index); -}; - /** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.ListExercisesResponse} returns this + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor */ -proto.daemon.ListExercisesResponse.prototype.clearExercisesList = function() { - return this.setExercisesList([]); +proto.daemon.ResetTeamStatus = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; - - - +goog.inherits(proto.daemon.ResetTeamStatus, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ResetTeamStatus.displayName = 'proto.daemon.ResetTeamStatus'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.ResetTeamStatus.prototype.toObject = function(opt_includeInstance) { @@ -9475,8 +8916,8 @@ proto.daemon.ResetTeamStatus.prototype.toObject = function(opt_includeInstance) /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.ResetTeamStatus} msg The msg instance to transform. * @return {!Object} @@ -9585,12 +9026,9 @@ proto.daemon.ResetTeamStatus.prototype.getTeamid = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.ResetTeamStatus} returns this - */ +/** @param {string} value */ proto.daemon.ResetTeamStatus.prototype.setTeamid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -9603,29 +9041,41 @@ proto.daemon.ResetTeamStatus.prototype.getStatus = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.ResetTeamStatus} returns this - */ +/** @param {string} value */ proto.daemon.ResetTeamStatus.prototype.setStatus = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.StopEventRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.StopEventRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.StopEventRequest.displayName = 'proto.daemon.StopEventRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.StopEventRequest.prototype.toObject = function(opt_includeInstance) { @@ -9635,8 +9085,8 @@ proto.daemon.StopEventRequest.prototype.toObject = function(opt_includeInstance) /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.StopEventRequest} msg The msg instance to transform. * @return {!Object} @@ -9733,29 +9183,41 @@ proto.daemon.StopEventRequest.prototype.getTag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.StopEventRequest} returns this - */ +/** @param {string} value */ proto.daemon.StopEventRequest.prototype.setTag = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.EventStatus = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.EventStatus, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.EventStatus.displayName = 'proto.daemon.EventStatus'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.EventStatus.prototype.toObject = function(opt_includeInstance) { @@ -9765,8 +9227,8 @@ proto.daemon.EventStatus.prototype.toObject = function(opt_includeInstance) { /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.EventStatus} msg The msg instance to transform. * @return {!Object} @@ -9875,12 +9337,9 @@ proto.daemon.EventStatus.prototype.getEntity = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.EventStatus} returns this - */ +/** @param {string} value */ proto.daemon.EventStatus.prototype.setEntity = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -9893,29 +9352,41 @@ proto.daemon.EventStatus.prototype.getStatus = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.EventStatus} returns this - */ +/** @param {string} value */ proto.daemon.EventStatus.prototype.setStatus = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.LabStatus = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.LabStatus, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.LabStatus.displayName = 'proto.daemon.LabStatus'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.LabStatus.prototype.toObject = function(opt_includeInstance) { @@ -9925,8 +9396,8 @@ proto.daemon.LabStatus.prototype.toObject = function(opt_includeInstance) { /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.LabStatus} msg The msg instance to transform. * @return {!Object} @@ -10035,12 +9506,9 @@ proto.daemon.LabStatus.prototype.getMessage = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.LabStatus} returns this - */ +/** @param {string} value */ proto.daemon.LabStatus.prototype.setMessage = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -10053,29 +9521,41 @@ proto.daemon.LabStatus.prototype.getErrormessage = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.LabStatus} returns this - */ +/** @param {string} value */ proto.daemon.LabStatus.prototype.setErrormessage = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.MonitorHostResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.MonitorHostResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.MonitorHostResponse.displayName = 'proto.daemon.MonitorHostResponse'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.MonitorHostResponse.prototype.toObject = function(opt_includeInstance) { @@ -10085,8 +9565,8 @@ proto.daemon.MonitorHostResponse.prototype.toObject = function(opt_includeInstan /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.MonitorHostResponse} msg The msg instance to transform. * @return {!Object} @@ -10094,9 +9574,9 @@ proto.daemon.MonitorHostResponse.prototype.toObject = function(opt_includeInstan */ proto.daemon.MonitorHostResponse.toObject = function(includeInstance, msg) { var f, obj = { - memorypercent: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + memorypercent: +jspb.Message.getFieldWithDefault(msg, 1, 0.0), memoryreaderror: jspb.Message.getFieldWithDefault(msg, 2, ""), - cpupercent: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + cpupercent: +jspb.Message.getFieldWithDefault(msg, 3, 0.0), cpureaderror: jspb.Message.getFieldWithDefault(msg, 4, "") }; @@ -10215,16 +9695,13 @@ proto.daemon.MonitorHostResponse.serializeBinaryToWriter = function(message, wri * @return {number} */ proto.daemon.MonitorHostResponse.prototype.getMemorypercent = function() { - return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0)); + return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 1, 0.0)); }; -/** - * @param {number} value - * @return {!proto.daemon.MonitorHostResponse} returns this - */ +/** @param {number} value */ proto.daemon.MonitorHostResponse.prototype.setMemorypercent = function(value) { - return jspb.Message.setProto3FloatField(this, 1, value); + jspb.Message.setProto3FloatField(this, 1, value); }; @@ -10237,12 +9714,9 @@ proto.daemon.MonitorHostResponse.prototype.getMemoryreaderror = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.MonitorHostResponse} returns this - */ +/** @param {string} value */ proto.daemon.MonitorHostResponse.prototype.setMemoryreaderror = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; @@ -10251,16 +9725,13 @@ proto.daemon.MonitorHostResponse.prototype.setMemoryreaderror = function(value) * @return {number} */ proto.daemon.MonitorHostResponse.prototype.getCpupercent = function() { - return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); + return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 3, 0.0)); }; -/** - * @param {number} value - * @return {!proto.daemon.MonitorHostResponse} returns this - */ +/** @param {number} value */ proto.daemon.MonitorHostResponse.prototype.setCpupercent = function(value) { - return jspb.Message.setProto3FloatField(this, 3, value); + jspb.Message.setProto3FloatField(this, 3, value); }; @@ -10273,29 +9744,41 @@ proto.daemon.MonitorHostResponse.prototype.getCpureaderror = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.MonitorHostResponse} returns this - */ +/** @param {string} value */ proto.daemon.MonitorHostResponse.prototype.setCpureaderror = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); + jspb.Message.setProto3StringField(this, 4, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.Empty = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.Empty, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.Empty.displayName = 'proto.daemon.Empty'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.Empty.prototype.toObject = function(opt_includeInstance) { @@ -10305,8 +9788,8 @@ proto.daemon.Empty.prototype.toObject = function(opt_includeInstance) { /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.Empty} msg The msg instance to transform. * @return {!Object} @@ -10384,19 +9867,34 @@ proto.daemon.Empty.serializeBinaryToWriter = function(message, writer) { +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.VersionResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.VersionResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.VersionResponse.displayName = 'proto.daemon.VersionResponse'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.VersionResponse.prototype.toObject = function(opt_includeInstance) { @@ -10406,8 +9904,8 @@ proto.daemon.VersionResponse.prototype.toObject = function(opt_includeInstance) /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.VersionResponse} msg The msg instance to transform. * @return {!Object} @@ -10504,16 +10002,30 @@ proto.daemon.VersionResponse.prototype.getVersion = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.VersionResponse} returns this - */ +/** @param {string} value */ proto.daemon.VersionResponse.prototype.setVersion = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.ListFrontendsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ListFrontendsResponse.repeatedFields_, null); +}; +goog.inherits(proto.daemon.ListFrontendsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListFrontendsResponse.displayName = 'proto.daemon.ListFrontendsResponse'; +} /** * List of repeated fields within this message type. * @private {!Array} @@ -10525,15 +10037,13 @@ proto.daemon.ListFrontendsResponse.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.ListFrontendsResponse.prototype.toObject = function(opt_includeInstance) { @@ -10543,8 +10053,8 @@ proto.daemon.ListFrontendsResponse.prototype.toObject = function(opt_includeInst /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.ListFrontendsResponse} msg The msg instance to transform. * @return {!Object} @@ -10636,19 +10146,34 @@ proto.daemon.ListFrontendsResponse.serializeBinaryToWriter = function(message, w +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.ListFrontendsResponse.Frontend = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.ListFrontendsResponse.Frontend, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ListFrontendsResponse.Frontend.displayName = 'proto.daemon.ListFrontendsResponse.Frontend'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.ListFrontendsResponse.Frontend.prototype.toObject = function(opt_includeInstance) { @@ -10658,8 +10183,8 @@ proto.daemon.ListFrontendsResponse.Frontend.prototype.toObject = function(opt_in /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.ListFrontendsResponse.Frontend} msg The msg instance to transform. * @return {!Object} @@ -10670,7 +10195,7 @@ proto.daemon.ListFrontendsResponse.Frontend.toObject = function(includeInstance, image: jspb.Message.getFieldWithDefault(msg, 1, ""), size: jspb.Message.getFieldWithDefault(msg, 2, 0), memorymb: jspb.Message.getFieldWithDefault(msg, 3, 0), - cpu: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) + cpu: +jspb.Message.getFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -10792,12 +10317,9 @@ proto.daemon.ListFrontendsResponse.Frontend.prototype.getImage = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.ListFrontendsResponse.Frontend} returns this - */ +/** @param {string} value */ proto.daemon.ListFrontendsResponse.Frontend.prototype.setImage = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -10810,12 +10332,9 @@ proto.daemon.ListFrontendsResponse.Frontend.prototype.getSize = function() { }; -/** - * @param {number} value - * @return {!proto.daemon.ListFrontendsResponse.Frontend} returns this - */ +/** @param {number} value */ proto.daemon.ListFrontendsResponse.Frontend.prototype.setSize = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); + jspb.Message.setProto3IntField(this, 2, value); }; @@ -10828,12 +10347,9 @@ proto.daemon.ListFrontendsResponse.Frontend.prototype.getMemorymb = function() { }; -/** - * @param {number} value - * @return {!proto.daemon.ListFrontendsResponse.Frontend} returns this - */ +/** @param {number} value */ proto.daemon.ListFrontendsResponse.Frontend.prototype.setMemorymb = function(value) { - return jspb.Message.setProto3IntField(this, 3, value); + jspb.Message.setProto3IntField(this, 3, value); }; @@ -10842,16 +10358,13 @@ proto.daemon.ListFrontendsResponse.Frontend.prototype.setMemorymb = function(val * @return {number} */ proto.daemon.ListFrontendsResponse.Frontend.prototype.getCpu = function() { - return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); + return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 4, 0.0)); }; -/** - * @param {number} value - * @return {!proto.daemon.ListFrontendsResponse.Frontend} returns this - */ +/** @param {number} value */ proto.daemon.ListFrontendsResponse.Frontend.prototype.setCpu = function(value) { - return jspb.Message.setProto3FloatField(this, 4, value); + jspb.Message.setProto3FloatField(this, 4, value); }; @@ -10865,12 +10378,9 @@ proto.daemon.ListFrontendsResponse.prototype.getFrontendsList = function() { }; -/** - * @param {!Array} value - * @return {!proto.daemon.ListFrontendsResponse} returns this -*/ +/** @param {!Array} value */ proto.daemon.ListFrontendsResponse.prototype.setFrontendsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + jspb.Message.setRepeatedWrapperField(this, 1, value); }; @@ -10884,16 +10394,29 @@ proto.daemon.ListFrontendsResponse.prototype.addFrontends = function(opt_value, }; -/** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.ListFrontendsResponse} returns this - */ proto.daemon.ListFrontendsResponse.prototype.clearFrontendsList = function() { - return this.setFrontendsList([]); + this.setFrontendsList([]); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.ResetFrontendsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.ResetFrontendsRequest.repeatedFields_, null); +}; +goog.inherits(proto.daemon.ResetFrontendsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.ResetFrontendsRequest.displayName = 'proto.daemon.ResetFrontendsRequest'; +} /** * List of repeated fields within this message type. * @private {!Array} @@ -10905,15 +10428,13 @@ proto.daemon.ResetFrontendsRequest.repeatedFields_ = [3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.ResetFrontendsRequest.prototype.toObject = function(opt_includeInstance) { @@ -10923,8 +10444,8 @@ proto.daemon.ResetFrontendsRequest.prototype.toObject = function(opt_includeInst /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.ResetFrontendsRequest} msg The msg instance to transform. * @return {!Object} @@ -11036,12 +10557,9 @@ proto.daemon.ResetFrontendsRequest.prototype.getEventtag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.ResetFrontendsRequest} returns this - */ +/** @param {string} value */ proto.daemon.ResetFrontendsRequest.prototype.setEventtag = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; @@ -11055,12 +10573,9 @@ proto.daemon.ResetFrontendsRequest.prototype.getTeamsList = function() { }; -/** - * @param {!Array} value - * @return {!proto.daemon.ResetFrontendsRequest} returns this -*/ +/** @param {!Array} value */ proto.daemon.ResetFrontendsRequest.prototype.setTeamsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 3, value); + jspb.Message.setRepeatedWrapperField(this, 3, value); }; @@ -11074,29 +10589,40 @@ proto.daemon.ResetFrontendsRequest.prototype.addTeams = function(opt_value, opt_ }; -/** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.ResetFrontendsRequest} returns this - */ proto.daemon.ResetFrontendsRequest.prototype.clearTeamsList = function() { - return this.setTeamsList([]); + this.setTeamsList([]); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.SetFrontendMemoryRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.SetFrontendMemoryRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.SetFrontendMemoryRequest.displayName = 'proto.daemon.SetFrontendMemoryRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.SetFrontendMemoryRequest.prototype.toObject = function(opt_includeInstance) { @@ -11106,8 +10632,8 @@ proto.daemon.SetFrontendMemoryRequest.prototype.toObject = function(opt_includeI /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.SetFrontendMemoryRequest} msg The msg instance to transform. * @return {!Object} @@ -11216,12 +10742,9 @@ proto.daemon.SetFrontendMemoryRequest.prototype.getImage = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SetFrontendMemoryRequest} returns this - */ +/** @param {string} value */ proto.daemon.SetFrontendMemoryRequest.prototype.setImage = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -11234,29 +10757,41 @@ proto.daemon.SetFrontendMemoryRequest.prototype.getMemorymb = function() { }; -/** - * @param {number} value - * @return {!proto.daemon.SetFrontendMemoryRequest} returns this - */ +/** @param {number} value */ proto.daemon.SetFrontendMemoryRequest.prototype.setMemorymb = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); + jspb.Message.setProto3IntField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.SetFrontendCpuRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.SetFrontendCpuRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.SetFrontendCpuRequest.displayName = 'proto.daemon.SetFrontendCpuRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.SetFrontendCpuRequest.prototype.toObject = function(opt_includeInstance) { @@ -11266,8 +10801,8 @@ proto.daemon.SetFrontendCpuRequest.prototype.toObject = function(opt_includeInst /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.SetFrontendCpuRequest} msg The msg instance to transform. * @return {!Object} @@ -11276,7 +10811,7 @@ proto.daemon.SetFrontendCpuRequest.prototype.toObject = function(opt_includeInst proto.daemon.SetFrontendCpuRequest.toObject = function(includeInstance, msg) { var f, obj = { image: jspb.Message.getFieldWithDefault(msg, 1, ""), - cpu: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) + cpu: +jspb.Message.getFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -11376,12 +10911,9 @@ proto.daemon.SetFrontendCpuRequest.prototype.getImage = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.SetFrontendCpuRequest} returns this - */ +/** @param {string} value */ proto.daemon.SetFrontendCpuRequest.prototype.setImage = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -11390,33 +10922,45 @@ proto.daemon.SetFrontendCpuRequest.prototype.setImage = function(value) { * @return {number} */ proto.daemon.SetFrontendCpuRequest.prototype.getCpu = function() { - return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); + return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 2, 0.0)); }; -/** - * @param {number} value - * @return {!proto.daemon.SetFrontendCpuRequest} returns this - */ +/** @param {number} value */ proto.daemon.SetFrontendCpuRequest.prototype.setCpu = function(value) { - return jspb.Message.setProto3FloatField(this, 2, value); + jspb.Message.setProto3FloatField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.GetTeamInfoRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.GetTeamInfoRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.GetTeamInfoRequest.displayName = 'proto.daemon.GetTeamInfoRequest'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.GetTeamInfoRequest.prototype.toObject = function(opt_includeInstance) { @@ -11426,8 +10970,8 @@ proto.daemon.GetTeamInfoRequest.prototype.toObject = function(opt_includeInstanc /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.GetTeamInfoRequest} msg The msg instance to transform. * @return {!Object} @@ -11536,12 +11080,9 @@ proto.daemon.GetTeamInfoRequest.prototype.getTeamid = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.GetTeamInfoRequest} returns this - */ +/** @param {string} value */ proto.daemon.GetTeamInfoRequest.prototype.setTeamid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -11554,16 +11095,30 @@ proto.daemon.GetTeamInfoRequest.prototype.getEventtag = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.GetTeamInfoRequest} returns this - */ +/** @param {string} value */ proto.daemon.GetTeamInfoRequest.prototype.setEventtag = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.GetTeamInfoResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.daemon.GetTeamInfoResponse.repeatedFields_, null); +}; +goog.inherits(proto.daemon.GetTeamInfoResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.GetTeamInfoResponse.displayName = 'proto.daemon.GetTeamInfoResponse'; +} /** * List of repeated fields within this message type. * @private {!Array} @@ -11575,15 +11130,13 @@ proto.daemon.GetTeamInfoResponse.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.GetTeamInfoResponse.prototype.toObject = function(opt_includeInstance) { @@ -11593,8 +11146,8 @@ proto.daemon.GetTeamInfoResponse.prototype.toObject = function(opt_includeInstan /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.GetTeamInfoResponse} msg The msg instance to transform. * @return {!Object} @@ -11686,19 +11239,34 @@ proto.daemon.GetTeamInfoResponse.serializeBinaryToWriter = function(message, wri +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.daemon.GetTeamInfoResponse.Instance = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.daemon.GetTeamInfoResponse.Instance, jspb.Message); +if (goog.DEBUG && !COMPILED) { + proto.daemon.GetTeamInfoResponse.Instance.displayName = 'proto.daemon.GetTeamInfoResponse.Instance'; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. + * Creates an object representation of this proto suitable for use in Soy templates. * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration + * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS. + * @param {boolean=} opt_includeInstance Whether to include the JSPB instance + * for transitional soy proto support: http://goto/soy-param-migration * @return {!Object} */ proto.daemon.GetTeamInfoResponse.Instance.prototype.toObject = function(opt_includeInstance) { @@ -11708,8 +11276,8 @@ proto.daemon.GetTeamInfoResponse.Instance.prototype.toObject = function(opt_incl /** * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: + * @param {boolean|undefined} includeInstance Whether to include the JSPB + * instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.daemon.GetTeamInfoResponse.Instance} msg The msg instance to transform. * @return {!Object} @@ -11842,12 +11410,9 @@ proto.daemon.GetTeamInfoResponse.Instance.prototype.getImage = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.GetTeamInfoResponse.Instance} returns this - */ +/** @param {string} value */ proto.daemon.GetTeamInfoResponse.Instance.prototype.setImage = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + jspb.Message.setProto3StringField(this, 1, value); }; @@ -11860,12 +11425,9 @@ proto.daemon.GetTeamInfoResponse.Instance.prototype.getType = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.GetTeamInfoResponse.Instance} returns this - */ +/** @param {string} value */ proto.daemon.GetTeamInfoResponse.Instance.prototype.setType = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); + jspb.Message.setProto3StringField(this, 2, value); }; @@ -11878,12 +11440,9 @@ proto.daemon.GetTeamInfoResponse.Instance.prototype.getId = function() { }; -/** - * @param {string} value - * @return {!proto.daemon.GetTeamInfoResponse.Instance} returns this - */ +/** @param {string} value */ proto.daemon.GetTeamInfoResponse.Instance.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); + jspb.Message.setProto3StringField(this, 3, value); }; @@ -11896,12 +11455,9 @@ proto.daemon.GetTeamInfoResponse.Instance.prototype.getState = function() { }; -/** - * @param {number} value - * @return {!proto.daemon.GetTeamInfoResponse.Instance} returns this - */ +/** @param {number} value */ proto.daemon.GetTeamInfoResponse.Instance.prototype.setState = function(value) { - return jspb.Message.setProto3IntField(this, 4, value); + jspb.Message.setProto3IntField(this, 4, value); }; @@ -11915,12 +11471,9 @@ proto.daemon.GetTeamInfoResponse.prototype.getInstancesList = function() { }; -/** - * @param {!Array} value - * @return {!proto.daemon.GetTeamInfoResponse} returns this -*/ +/** @param {!Array} value */ proto.daemon.GetTeamInfoResponse.prototype.setInstancesList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + jspb.Message.setRepeatedWrapperField(this, 1, value); }; @@ -11934,12 +11487,8 @@ proto.daemon.GetTeamInfoResponse.prototype.addInstances = function(opt_value, op }; -/** - * Clears the list making it empty but non-null. - * @return {!proto.daemon.GetTeamInfoResponse} returns this - */ proto.daemon.GetTeamInfoResponse.prototype.clearInstancesList = function() { - return this.setInstancesList([]); + this.setInstancesList([]); }; diff --git a/client/src/components/ChalModal.vue b/client/src/components/ChalModal.vue index 70e04ad9..45b9eb69 100644 --- a/client/src/components/ChalModal.vue +++ b/client/src/components/ChalModal.vue @@ -1,238 +1,278 @@ - +
+ +
+
+
+
+
+
+
+
+
+ + + + Close Add @@ -257,20 +297,91 @@ export default { selectedEvent: '', selectedChallenges: [], selectAllChallenges: false, + categories: [], challengesWE: [], challengesTextWE: [], challengesB: [], challengesTextB: [], challengesF: [], challengesTextF: [], challengesRE: [], challengesTextRE: [], challengesC: [], challengesTextC: [], challengesS: [], challengesTextS: [], - challengeCS: [], challengesTextCS:[], + challengesCS: [], challengesTextCS:[], cat: '', childrenChallenges: '', isDisabled: false, } }, mounted: function(){ + this.getCategories(); this.getChallenges(); }, methods: { + showCatDescription: function(cat) { + // Emptying/resetting the description field + this.showOrgDescription(null) + this.categories.forEach(function(category){ + category.isInfoShown = false + }) + + // Enable the corrosponding category description + this.categories.forEach(function(category){ + if (category.tag == cat) { + category.isInfoShown = true + } + }) + }, + showOrgDescription: function(challenge) { + // Emptying/resetting the description field + this.challengesTextS.forEach(function(chal){ + chal.isInfoShown = false + }) + this.challengesTextCS.forEach(function(chal){ + chal.isInfoShown = false + }) + this.challengesTextWE.forEach(function(chal){ + chal.isInfoShown = false + }) + this.challengesTextF.forEach(function(chal){ + chal.isInfoShown = false + }) + this.challengesTextB.forEach(function(chal){ + chal.isInfoShown = false + }) + this.challengesTextRE.forEach(function(chal){ + chal.isInfoShown = false + }) + this.challengesTextC.forEach(function(chal){ + chal.isInfoShown = false + }) + this.categories.forEach(function (category){ + category.isInfoShown = false + }) + // Showing the corrosponding organizer description or + // hiding all of them if called from showCatDescription + if (challenge == null) { + // Keep the organizer descriptions hidden to display cat description + } else { + challenge.isInfoShown = true + } + }, + getCategories: function(){ + let getRequest = new Empty(); + const that = this + daemonclient.listCategories(getRequest, {Token: localStorage.getItem("user")}, (err, response) => { + let categoryListObj = response.getCategoriesList(); + categoryListObj.forEach(function (element){ + let tag = element.getTag() + let name = element.getName() + let description = element.getCatdescription() + let category = {tag: tag, name: name, catDesc: description, isInfoShown: false} + if (tag == "ST") { + category.isInfoShown = true + that.categories.push(category) + } else + { + that.categories.push(category) + } + + }) + }) + }, toggleAllChallenges: function(checked) { this.selectedChallenges = checked ? this.challengesWE .concat(this.challengesB) @@ -401,63 +512,54 @@ export default { .info-icon { position: relative; - top: 1px; - left: -515px; + top: 0px; + left: -370px; width: 16px; padding: 0px; margin: 0px; z-index: 99999; } + .chalInfo{ - background-color: #221d52; - color: #ffffff; - position: relative; - margin: auto; - padding-left: 10px; - padding-right: 10px; - width: 500px; - max-height: 0; overflow: hidden; - transition: all .5s ease-in-out; + max-height: 0; + padding-right: 5px; visibility: hidden; } -.chalInfo.visible { - max-height: 200px; - /*transform-origin: top-center;*/ - transition: all .5s ease-in-out; - padding: 10px; + +.chalInfo.visible{ overflow-y: auto; - box-shadow: 5px 5px 5px rgba(73, 80, 87, 0.83); visibility: visible; + max-height: 410px; } - -.checkbox-container { - display: flex; -} - -.custom-control{ - width: 100%; -} - -.chalInfo::-webkit-scrollbar { - background-color: #221d52; +.customscroll::-webkit-scrollbar { + background-color: #d8d8d8; width: 5px; } -.chalInfo::-webkit-scrollbar-track { - background-color: #221d52; +.customscroll::-webkit-scrollbar-track { + background-color: #d8d8d8; } /* scrollbar itself */ -.chalInfo::-webkit-scrollbar-thumb { - background-color: #babac0; +.customscroll::-webkit-scrollbar-thumb { + background-color: #221d52; border-radius: 16px; } /* set button(top and bottom of the scrollbar) */ -.chalInfo::-webkit-scrollbar-button { +.customscroll::-webkit-scrollbar-button { display:none; } + +.checkbox-container { + display: flex; +} + +.custom-control{ + width: 100%; +} + .my-is-invalid{ border: 2px solid rgba(220,53,69,0.9); box-shadow: 1px 1px 2px rgba(220,53,69,0.7); diff --git a/client/src/components/EventModal.vue b/client/src/components/EventModal.vue index 650d3b9e..cfcc3b8b 100644 --- a/client/src/components/EventModal.vue +++ b/client/src/components/EventModal.vue @@ -1,406 +1,447 @@