@@ -5353,7 +5353,8 @@ proto.nitric.faas.v1.WebsocketTriggerContext.toObject = function(includeInstance
53535353 var f , obj = {
53545354 socket : jspb . Message . getFieldWithDefault ( msg , 1 , "" ) ,
53555355 event : jspb . Message . getFieldWithDefault ( msg , 2 , 0 ) ,
5356- connectionid : jspb . Message . getFieldWithDefault ( msg , 3 , "" )
5356+ connectionid : jspb . Message . getFieldWithDefault ( msg , 3 , "" ) ,
5357+ queryParamsMap : ( f = msg . getQueryParamsMap ( ) ) ? f . toObject ( includeInstance , proto . nitric . faas . v1 . QueryValue . toObject ) : [ ]
53575358 } ;
53585359
53595360 if ( includeInstance ) {
@@ -5402,6 +5403,12 @@ proto.nitric.faas.v1.WebsocketTriggerContext.deserializeBinaryFromReader = funct
54025403 var value = /** @type {string } */ ( reader . readString ( ) ) ;
54035404 msg . setConnectionid ( value ) ;
54045405 break ;
5406+ case 6 :
5407+ var value = msg . getQueryParamsMap ( ) ;
5408+ reader . readMessage ( value , function ( message , reader ) {
5409+ jspb . Map . deserializeBinary ( message , reader , jspb . BinaryReader . prototype . readString , jspb . BinaryReader . prototype . readMessage , proto . nitric . faas . v1 . QueryValue . deserializeBinaryFromReader , "" , new proto . nitric . faas . v1 . QueryValue ( ) ) ;
5410+ } ) ;
5411+ break ;
54055412 default :
54065413 reader . skipField ( ) ;
54075414 break ;
@@ -5452,6 +5459,10 @@ proto.nitric.faas.v1.WebsocketTriggerContext.serializeBinaryToWriter = function(
54525459 f
54535460 ) ;
54545461 }
5462+ f = message . getQueryParamsMap ( true ) ;
5463+ if ( f && f . getLength ( ) > 0 ) {
5464+ f . serializeBinary ( 6 , writer , jspb . BinaryWriter . prototype . writeString , jspb . BinaryWriter . prototype . writeMessage , proto . nitric . faas . v1 . QueryValue . serializeBinaryToWriter ) ;
5465+ }
54555466} ;
54565467
54575468
@@ -5509,6 +5520,28 @@ proto.nitric.faas.v1.WebsocketTriggerContext.prototype.setConnectionid = functio
55095520} ;
55105521
55115522
5523+ /**
5524+ * map<string, QueryValue> query_params = 6;
5525+ * @param {boolean= } opt_noLazyCreate Do not create the map if
5526+ * empty, instead returning `undefined`
5527+ * @return {!jspb.Map<string,!proto.nitric.faas.v1.QueryValue> }
5528+ */
5529+ proto . nitric . faas . v1 . WebsocketTriggerContext . prototype . getQueryParamsMap = function ( opt_noLazyCreate ) {
5530+ return /** @type {!jspb.Map<string,!proto.nitric.faas.v1.QueryValue> } */ (
5531+ jspb . Message . getMapField ( this , 6 , opt_noLazyCreate ,
5532+ proto . nitric . faas . v1 . QueryValue ) ) ;
5533+ } ;
5534+
5535+
5536+ /**
5537+ * Clears values from the map. The map will be non-null.
5538+ * @return {!proto.nitric.faas.v1.WebsocketTriggerContext } returns this
5539+ */
5540+ proto . nitric . faas . v1 . WebsocketTriggerContext . prototype . clearQueryParamsMap = function ( ) {
5541+ this . getQueryParamsMap ( ) . clear ( ) ;
5542+ return this ; } ;
5543+
5544+
55125545
55135546/**
55145547 * Oneof group definitions for this message. Each group defines the field
0 commit comments