@@ -14,7 +14,6 @@ var global = Function('return this')();
1414goog . exportSymbol ( 'proto.EvalDoneMessage' , null , global ) ;
1515goog . exportSymbol ( 'proto.EvalEventMessage' , null , global ) ;
1616goog . exportSymbol ( 'proto.EvalFailedMessage' , null , global ) ;
17- goog . exportSymbol ( 'proto.EvalFailedMessage.Reason' , null , global ) ;
1817goog . exportSymbol ( 'proto.NewEvalMessage' , null , global ) ;
1918
2019/**
@@ -554,8 +553,7 @@ proto.EvalFailedMessage.prototype.toObject = function(opt_includeInstance) {
554553proto . EvalFailedMessage . toObject = function ( includeInstance , msg ) {
555554 var f , obj = {
556555 id : jspb . Message . getFieldWithDefault ( msg , 1 , 0 ) ,
557- reason : jspb . Message . getFieldWithDefault ( msg , 2 , 0 ) ,
558- message : jspb . Message . getFieldWithDefault ( msg , 3 , "" )
556+ response : jspb . Message . getFieldWithDefault ( msg , 2 , "" )
559557 } ;
560558
561559 if ( includeInstance ) {
@@ -597,12 +595,8 @@ proto.EvalFailedMessage.deserializeBinaryFromReader = function(msg, reader) {
597595 msg . setId ( value ) ;
598596 break ;
599597 case 2 :
600- var value = /** @type {!proto.EvalFailedMessage.Reason } */ ( reader . readEnum ( ) ) ;
601- msg . setReason ( value ) ;
602- break ;
603- case 3 :
604598 var value = /** @type {string } */ ( reader . readString ( ) ) ;
605- msg . setMessage ( value ) ;
599+ msg . setResponse ( value ) ;
606600 break ;
607601 default :
608602 reader . skipField ( ) ;
@@ -640,32 +634,16 @@ proto.EvalFailedMessage.serializeBinaryToWriter = function(message, writer) {
640634 f
641635 ) ;
642636 }
643- f = message . getReason ( ) ;
644- if ( f !== 0.0 ) {
645- writer . writeEnum (
646- 2 ,
647- f
648- ) ;
649- }
650- f = message . getMessage ( ) ;
637+ f = message . getResponse ( ) ;
651638 if ( f . length > 0 ) {
652639 writer . writeString (
653- 3 ,
640+ 2 ,
654641 f
655642 ) ;
656643 }
657644} ;
658645
659646
660- /**
661- * @enum {number}
662- */
663- proto . EvalFailedMessage . Reason = {
664- TIMEOUT : 0 ,
665- EXCEPTION : 1 ,
666- CONFLICT : 2
667- } ;
668-
669647/**
670648 * optional uint64 id = 1;
671649 * @return {number }
@@ -682,32 +660,17 @@ proto.EvalFailedMessage.prototype.setId = function(value) {
682660
683661
684662/**
685- * optional Reason reason = 2;
686- * @return {!proto.EvalFailedMessage.Reason }
687- */
688- proto . EvalFailedMessage . prototype . getReason = function ( ) {
689- return /** @type {!proto.EvalFailedMessage.Reason } */ ( jspb . Message . getFieldWithDefault ( this , 2 , 0 ) ) ;
690- } ;
691-
692-
693- /** @param {!proto.EvalFailedMessage.Reason } value */
694- proto . EvalFailedMessage . prototype . setReason = function ( value ) {
695- jspb . Message . setProto3EnumField ( this , 2 , value ) ;
696- } ;
697-
698-
699- /**
700- * optional string message = 3;
663+ * optional string response = 2;
701664 * @return {string }
702665 */
703- proto . EvalFailedMessage . prototype . getMessage = function ( ) {
704- return /** @type {string } */ ( jspb . Message . getFieldWithDefault ( this , 3 , "" ) ) ;
666+ proto . EvalFailedMessage . prototype . getResponse = function ( ) {
667+ return /** @type {string } */ ( jspb . Message . getFieldWithDefault ( this , 2 , "" ) ) ;
705668} ;
706669
707670
708671/** @param {string } value */
709- proto . EvalFailedMessage . prototype . setMessage = function ( value ) {
710- jspb . Message . setProto3StringField ( this , 3 , value ) ;
672+ proto . EvalFailedMessage . prototype . setResponse = function ( value ) {
673+ jspb . Message . setProto3StringField ( this , 2 , value ) ;
711674} ;
712675
713676
0 commit comments