@@ -43,15 +43,16 @@ if (goog.DEBUG && !COMPILED) {
4343 * @private {!Array<!Array<number>>}
4444 * @const
4545 */
46- proto . ClientMessage . oneofGroups_ = [ [ 11 , 12 ] ] ;
46+ proto . ClientMessage . oneofGroups_ = [ [ 11 , 12 , 13 ] ] ;
4747
4848/**
4949 * @enum {number}
5050 */
5151proto . ClientMessage . MsgCase = {
5252 MSG_NOT_SET : 0 ,
5353 NEW_EVAL : 11 ,
54- EVAL_EVENT : 12
54+ EVAL_EVENT : 12 ,
55+ PING : 13
5556} ;
5657
5758/**
@@ -91,7 +92,8 @@ proto.ClientMessage.prototype.toObject = function(opt_includeInstance) {
9192proto . ClientMessage . toObject = function ( includeInstance , msg ) {
9293 var f , obj = {
9394 newEval : ( f = msg . getNewEval ( ) ) && node_pb . NewEvalMessage . toObject ( includeInstance , f ) ,
94- evalEvent : ( f = msg . getEvalEvent ( ) ) && node_pb . EvalEventMessage . toObject ( includeInstance , f )
95+ evalEvent : ( f = msg . getEvalEvent ( ) ) && node_pb . EvalEventMessage . toObject ( includeInstance , f ) ,
96+ ping : ( f = msg . getPing ( ) ) && node_pb . Ping . toObject ( includeInstance , f )
9597 } ;
9698
9799 if ( includeInstance ) {
@@ -138,6 +140,11 @@ proto.ClientMessage.deserializeBinaryFromReader = function(msg, reader) {
138140 reader . readMessage ( value , node_pb . EvalEventMessage . deserializeBinaryFromReader ) ;
139141 msg . setEvalEvent ( value ) ;
140142 break ;
143+ case 13 :
144+ var value = new node_pb . Ping ;
145+ reader . readMessage ( value , node_pb . Ping . deserializeBinaryFromReader ) ;
146+ msg . setPing ( value ) ;
147+ break ;
141148 default :
142149 reader . skipField ( ) ;
143150 break ;
@@ -183,6 +190,14 @@ proto.ClientMessage.serializeBinaryToWriter = function(message, writer) {
183190 node_pb . EvalEventMessage . serializeBinaryToWriter
184191 ) ;
185192 }
193+ f = message . getPing ( ) ;
194+ if ( f != null ) {
195+ writer . writeMessage (
196+ 13 ,
197+ f ,
198+ node_pb . Ping . serializeBinaryToWriter
199+ ) ;
200+ }
186201} ;
187202
188203
@@ -246,6 +261,36 @@ proto.ClientMessage.prototype.hasEvalEvent = function() {
246261} ;
247262
248263
264+ /**
265+ * optional Ping ping = 13;
266+ * @return {?proto.Ping }
267+ */
268+ proto . ClientMessage . prototype . getPing = function ( ) {
269+ return /** @type {?proto.Ping } */ (
270+ jspb . Message . getWrapperField ( this , node_pb . Ping , 13 ) ) ;
271+ } ;
272+
273+
274+ /** @param {?proto.Ping|undefined } value */
275+ proto . ClientMessage . prototype . setPing = function ( value ) {
276+ jspb . Message . setOneofWrapperField ( this , 13 , proto . ClientMessage . oneofGroups_ [ 0 ] , value ) ;
277+ } ;
278+
279+
280+ proto . ClientMessage . prototype . clearPing = function ( ) {
281+ this . setPing ( undefined ) ;
282+ } ;
283+
284+
285+ /**
286+ * Returns whether this field is set.
287+ * @return {!boolean }
288+ */
289+ proto . ClientMessage . prototype . hasPing = function ( ) {
290+ return jspb . Message . getField ( this , 13 ) != null ;
291+ } ;
292+
293+
249294
250295/**
251296 * Generated by JsPbCodeGenerator.
@@ -272,7 +317,7 @@ if (goog.DEBUG && !COMPILED) {
272317 * @private {!Array<!Array<number>>}
273318 * @const
274319 */
275- proto . ServerMessage . oneofGroups_ = [ [ 13 , 14 , 15 , 16 , 17 ] ] ;
320+ proto . ServerMessage . oneofGroups_ = [ [ 13 , 14 , 15 , 16 , 17 , 18 ] ] ;
276321
277322/**
278323 * @enum {number}
@@ -283,7 +328,8 @@ proto.ServerMessage.MsgCase = {
283328 EVAL_DONE : 14 ,
284329 EVAL_EVENT : 15 ,
285330 INIT : 16 ,
286- SHARED_PROCESS_ACTIVE : 17
331+ SHARED_PROCESS_ACTIVE : 17 ,
332+ PONG : 18
287333} ;
288334
289335/**
@@ -326,7 +372,8 @@ proto.ServerMessage.toObject = function(includeInstance, msg) {
326372 evalDone : ( f = msg . getEvalDone ( ) ) && node_pb . EvalDoneMessage . toObject ( includeInstance , f ) ,
327373 evalEvent : ( f = msg . getEvalEvent ( ) ) && node_pb . EvalEventMessage . toObject ( includeInstance , f ) ,
328374 init : ( f = msg . getInit ( ) ) && proto . WorkingInitMessage . toObject ( includeInstance , f ) ,
329- sharedProcessActive : ( f = msg . getSharedProcessActive ( ) ) && vscode_pb . SharedProcessActiveMessage . toObject ( includeInstance , f )
375+ sharedProcessActive : ( f = msg . getSharedProcessActive ( ) ) && vscode_pb . SharedProcessActiveMessage . toObject ( includeInstance , f ) ,
376+ pong : ( f = msg . getPong ( ) ) && node_pb . Pong . toObject ( includeInstance , f )
330377 } ;
331378
332379 if ( includeInstance ) {
@@ -388,6 +435,11 @@ proto.ServerMessage.deserializeBinaryFromReader = function(msg, reader) {
388435 reader . readMessage ( value , vscode_pb . SharedProcessActiveMessage . deserializeBinaryFromReader ) ;
389436 msg . setSharedProcessActive ( value ) ;
390437 break ;
438+ case 18 :
439+ var value = new node_pb . Pong ;
440+ reader . readMessage ( value , node_pb . Pong . deserializeBinaryFromReader ) ;
441+ msg . setPong ( value ) ;
442+ break ;
391443 default :
392444 reader . skipField ( ) ;
393445 break ;
@@ -457,6 +509,14 @@ proto.ServerMessage.serializeBinaryToWriter = function(message, writer) {
457509 vscode_pb . SharedProcessActiveMessage . serializeBinaryToWriter
458510 ) ;
459511 }
512+ f = message . getPong ( ) ;
513+ if ( f != null ) {
514+ writer . writeMessage (
515+ 18 ,
516+ f ,
517+ node_pb . Pong . serializeBinaryToWriter
518+ ) ;
519+ }
460520} ;
461521
462522
@@ -610,6 +670,36 @@ proto.ServerMessage.prototype.hasSharedProcessActive = function() {
610670} ;
611671
612672
673+ /**
674+ * optional Pong pong = 18;
675+ * @return {?proto.Pong }
676+ */
677+ proto . ServerMessage . prototype . getPong = function ( ) {
678+ return /** @type {?proto.Pong } */ (
679+ jspb . Message . getWrapperField ( this , node_pb . Pong , 18 ) ) ;
680+ } ;
681+
682+
683+ /** @param {?proto.Pong|undefined } value */
684+ proto . ServerMessage . prototype . setPong = function ( value ) {
685+ jspb . Message . setOneofWrapperField ( this , 18 , proto . ServerMessage . oneofGroups_ [ 0 ] , value ) ;
686+ } ;
687+
688+
689+ proto . ServerMessage . prototype . clearPong = function ( ) {
690+ this . setPong ( undefined ) ;
691+ } ;
692+
693+
694+ /**
695+ * Returns whether this field is set.
696+ * @return {!boolean }
697+ */
698+ proto . ServerMessage . prototype . hasPong = function ( ) {
699+ return jspb . Message . getField ( this , 18 ) != null ;
700+ } ;
701+
702+
613703
614704/**
615705 * Generated by JsPbCodeGenerator.
0 commit comments