@@ -439,7 +439,8 @@ proto.api.Request.toObject = function(includeInstance, msg) {
439439 mutationsList : jspb . Message . toObjectList ( msg . getMutationsList ( ) ,
440440 proto . api . Mutation . toObject , includeInstance ) ,
441441 commitNow : jspb . Message . getBooleanFieldWithDefault ( msg , 13 , false ) ,
442- respFormat : jspb . Message . getFieldWithDefault ( msg , 14 , 0 )
442+ respFormat : jspb . Message . getFieldWithDefault ( msg , 14 , 0 ) ,
443+ hash : jspb . Message . getFieldWithDefault ( msg , 15 , "" )
443444 } ;
444445
445446 if ( includeInstance ) {
@@ -511,6 +512,10 @@ proto.api.Request.deserializeBinaryFromReader = function(msg, reader) {
511512 var value = /** @type {!proto.api.Request.RespFormat } */ ( reader . readEnum ( ) ) ;
512513 msg . setRespFormat ( value ) ;
513514 break ;
515+ case 15 :
516+ var value = /** @type {string } */ ( reader . readString ( ) ) ;
517+ msg . setHash ( value ) ;
518+ break ;
514519 default :
515520 reader . skipField ( ) ;
516521 break ;
@@ -594,6 +599,13 @@ proto.api.Request.serializeBinaryToWriter = function(message, writer) {
594599 f
595600 ) ;
596601 }
602+ f = message . getHash ( ) ;
603+ if ( f . length > 0 ) {
604+ writer . writeString (
605+ 15 ,
606+ f
607+ ) ;
608+ }
597609} ;
598610
599611
@@ -773,6 +785,24 @@ proto.api.Request.prototype.setRespFormat = function(value) {
773785} ;
774786
775787
788+ /**
789+ * optional string hash = 15;
790+ * @return {string }
791+ */
792+ proto . api . Request . prototype . getHash = function ( ) {
793+ return /** @type {string } */ ( jspb . Message . getFieldWithDefault ( this , 15 , "" ) ) ;
794+ } ;
795+
796+
797+ /**
798+ * @param {string } value
799+ * @return {!proto.api.Request } returns this
800+ */
801+ proto . api . Request . prototype . setHash = function ( value ) {
802+ return jspb . Message . setProto3StringField ( this , 15 , value ) ;
803+ } ;
804+
805+
776806
777807/**
778808 * List of repeated fields within this message type.
@@ -2489,7 +2519,8 @@ proto.api.TxnContext.toObject = function(includeInstance, msg) {
24892519 commitTs : jspb . Message . getFieldWithDefault ( msg , 2 , 0 ) ,
24902520 aborted : jspb . Message . getBooleanFieldWithDefault ( msg , 3 , false ) ,
24912521 keysList : ( f = jspb . Message . getRepeatedField ( msg , 4 ) ) == null ? undefined : f ,
2492- predsList : ( f = jspb . Message . getRepeatedField ( msg , 5 ) ) == null ? undefined : f
2522+ predsList : ( f = jspb . Message . getRepeatedField ( msg , 5 ) ) == null ? undefined : f ,
2523+ hash : jspb . Message . getFieldWithDefault ( msg , 6 , "" )
24932524 } ;
24942525
24952526 if ( includeInstance ) {
@@ -2546,6 +2577,10 @@ proto.api.TxnContext.deserializeBinaryFromReader = function(msg, reader) {
25462577 var value = /** @type {string } */ ( reader . readString ( ) ) ;
25472578 msg . addPreds ( value ) ;
25482579 break ;
2580+ case 6 :
2581+ var value = /** @type {string } */ ( reader . readString ( ) ) ;
2582+ msg . setHash ( value ) ;
2583+ break ;
25492584 default :
25502585 reader . skipField ( ) ;
25512586 break ;
@@ -2610,6 +2645,13 @@ proto.api.TxnContext.serializeBinaryToWriter = function(message, writer) {
26102645 f
26112646 ) ;
26122647 }
2648+ f = message . getHash ( ) ;
2649+ if ( f . length > 0 ) {
2650+ writer . writeString (
2651+ 6 ,
2652+ f
2653+ ) ;
2654+ }
26132655} ;
26142656
26152657
@@ -2741,6 +2783,24 @@ proto.api.TxnContext.prototype.clearPredsList = function() {
27412783} ;
27422784
27432785
2786+ /**
2787+ * optional string hash = 6;
2788+ * @return {string }
2789+ */
2790+ proto . api . TxnContext . prototype . getHash = function ( ) {
2791+ return /** @type {string } */ ( jspb . Message . getFieldWithDefault ( this , 6 , "" ) ) ;
2792+ } ;
2793+
2794+
2795+ /**
2796+ * @param {string } value
2797+ * @return {!proto.api.TxnContext } returns this
2798+ */
2799+ proto . api . TxnContext . prototype . setHash = function ( value ) {
2800+ return jspb . Message . setProto3StringField ( this , 6 , value ) ;
2801+ } ;
2802+
2803+
27442804
27452805
27462806
@@ -3398,7 +3458,6 @@ proto.api.NQuad.toObject = function(includeInstance, msg) {
33983458 predicate : jspb . Message . getFieldWithDefault ( msg , 2 , "" ) ,
33993459 objectId : jspb . Message . getFieldWithDefault ( msg , 3 , "" ) ,
34003460 objectValue : ( f = msg . getObjectValue ( ) ) && proto . api . Value . toObject ( includeInstance , f ) ,
3401- label : jspb . Message . getFieldWithDefault ( msg , 5 , "" ) ,
34023461 lang : jspb . Message . getFieldWithDefault ( msg , 6 , "" ) ,
34033462 facetsList : jspb . Message . toObjectList ( msg . getFacetsList ( ) ,
34043463 proto . api . Facet . toObject , includeInstance ) ,
@@ -3456,10 +3515,6 @@ proto.api.NQuad.deserializeBinaryFromReader = function(msg, reader) {
34563515 reader . readMessage ( value , proto . api . Value . deserializeBinaryFromReader ) ;
34573516 msg . setObjectValue ( value ) ;
34583517 break ;
3459- case 5 :
3460- var value = /** @type {string } */ ( reader . readString ( ) ) ;
3461- msg . setLabel ( value ) ;
3462- break ;
34633518 case 6 :
34643519 var value = /** @type {string } */ ( reader . readString ( ) ) ;
34653520 msg . setLang ( value ) ;
@@ -3531,13 +3586,6 @@ proto.api.NQuad.serializeBinaryToWriter = function(message, writer) {
35313586 proto . api . Value . serializeBinaryToWriter
35323587 ) ;
35333588 }
3534- f = message . getLabel ( ) ;
3535- if ( f . length > 0 ) {
3536- writer . writeString (
3537- 5 ,
3538- f
3539- ) ;
3540- }
35413589 f = message . getLang ( ) ;
35423590 if ( f . length > 0 ) {
35433591 writer . writeString (
@@ -3654,24 +3702,6 @@ proto.api.NQuad.prototype.hasObjectValue = function() {
36543702} ;
36553703
36563704
3657- /**
3658- * optional string label = 5;
3659- * @return {string }
3660- */
3661- proto . api . NQuad . prototype . getLabel = function ( ) {
3662- return /** @type {string } */ ( jspb . Message . getFieldWithDefault ( this , 5 , "" ) ) ;
3663- } ;
3664-
3665-
3666- /**
3667- * @param {string } value
3668- * @return {!proto.api.NQuad } returns this
3669- */
3670- proto . api . NQuad . prototype . setLabel = function ( value ) {
3671- return jspb . Message . setProto3StringField ( this , 5 , value ) ;
3672- } ;
3673-
3674-
36753705/**
36763706 * optional string lang = 6;
36773707 * @return {string }
0 commit comments