@@ -85,6 +85,7 @@ goog.exportSymbol('proto.io.defang.v1.Secret', null, global);
85
85
goog . exportSymbol ( 'proto.io.defang.v1.SecretValue' , null , global ) ;
86
86
goog . exportSymbol ( 'proto.io.defang.v1.Secrets' , null , global ) ;
87
87
goog . exportSymbol ( 'proto.io.defang.v1.Service' , null , global ) ;
88
+ goog . exportSymbol ( 'proto.io.defang.v1.ServiceID' , null , global ) ;
88
89
goog . exportSymbol ( 'proto.io.defang.v1.ServiceInfo' , null , global ) ;
89
90
goog . exportSymbol ( 'proto.io.defang.v1.ServiceState' , null , global ) ;
90
91
goog . exportSymbol ( 'proto.io.defang.v1.SetOptionsRequest' , null , global ) ;
@@ -1113,6 +1114,27 @@ if (goog.DEBUG && !COMPILED) {
1113
1114
*/
1114
1115
proto . io . defang . v1 . ProjectUpdate . displayName = 'proto.io.defang.v1.ProjectUpdate' ;
1115
1116
}
1117
+ /**
1118
+ * Generated by JsPbCodeGenerator.
1119
+ * @param {Array= } opt_data Optional initial data array, typically from a
1120
+ * server response, or constructed directly in Javascript. The array is used
1121
+ * in place and becomes part of the constructed object. It is not cloned.
1122
+ * If no data is provided, the constructed object will be empty, but still
1123
+ * valid.
1124
+ * @extends {jspb.Message }
1125
+ * @constructor
1126
+ */
1127
+ proto . io . defang . v1 . ServiceID = function ( opt_data ) {
1128
+ jspb . Message . initialize ( this , opt_data , 0 , - 1 , null , null ) ;
1129
+ } ;
1130
+ goog . inherits ( proto . io . defang . v1 . ServiceID , jspb . Message ) ;
1131
+ if ( goog . DEBUG && ! COMPILED ) {
1132
+ /**
1133
+ * @public
1134
+ * @override
1135
+ */
1136
+ proto . io . defang . v1 . ServiceID . displayName = 'proto.io.defang.v1.ServiceID' ;
1137
+ }
1116
1138
/**
1117
1139
* Generated by JsPbCodeGenerator.
1118
1140
* @param {Array= } opt_data Optional initial data array, typically from a
@@ -11440,6 +11462,166 @@ proto.io.defang.v1.ProjectUpdate.prototype.setCdVersion = function(value) {
11440
11462
11441
11463
11442
11464
11465
+ if ( jspb . Message . GENERATE_TO_OBJECT ) {
11466
+ /**
11467
+ * Creates an object representation of this proto.
11468
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11469
+ * Optional fields that are not set will be set to undefined.
11470
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11471
+ * For the list of reserved names please see:
11472
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11473
+ * @param {boolean= } opt_includeInstance Deprecated. whether to include the
11474
+ * JSPB instance for transitional soy proto support:
11475
+ * http://goto/soy-param-migration
11476
+ * @return {!Object }
11477
+ */
11478
+ proto . io . defang . v1 . ServiceID . prototype . toObject = function ( opt_includeInstance ) {
11479
+ return proto . io . defang . v1 . ServiceID . toObject ( opt_includeInstance , this ) ;
11480
+ } ;
11481
+
11482
+
11483
+ /**
11484
+ * Static version of the {@see toObject} method.
11485
+ * @param {boolean|undefined } includeInstance Deprecated. Whether to include
11486
+ * the JSPB instance for transitional soy proto support:
11487
+ * http://goto/soy-param-migration
11488
+ * @param {!proto.io.defang.v1.ServiceID } msg The msg instance to transform.
11489
+ * @return {!Object }
11490
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11491
+ */
11492
+ proto . io . defang . v1 . ServiceID . toObject = function ( includeInstance , msg ) {
11493
+ var f , obj = {
11494
+ name : jspb . Message . getFieldWithDefault ( msg , 1 , "" ) ,
11495
+ project : jspb . Message . getFieldWithDefault ( msg , 2 , "" )
11496
+ } ;
11497
+
11498
+ if ( includeInstance ) {
11499
+ obj . $jspbMessageInstance = msg ;
11500
+ }
11501
+ return obj ;
11502
+ } ;
11503
+ }
11504
+
11505
+
11506
+ /**
11507
+ * Deserializes binary data (in protobuf wire format).
11508
+ * @param {jspb.ByteSource } bytes The bytes to deserialize.
11509
+ * @return {!proto.io.defang.v1.ServiceID }
11510
+ */
11511
+ proto . io . defang . v1 . ServiceID . deserializeBinary = function ( bytes ) {
11512
+ var reader = new jspb . BinaryReader ( bytes ) ;
11513
+ var msg = new proto . io . defang . v1 . ServiceID ;
11514
+ return proto . io . defang . v1 . ServiceID . deserializeBinaryFromReader ( msg , reader ) ;
11515
+ } ;
11516
+
11517
+
11518
+ /**
11519
+ * Deserializes binary data (in protobuf wire format) from the
11520
+ * given reader into the given message object.
11521
+ * @param {!proto.io.defang.v1.ServiceID } msg The message object to deserialize into.
11522
+ * @param {!jspb.BinaryReader } reader The BinaryReader to use.
11523
+ * @return {!proto.io.defang.v1.ServiceID }
11524
+ */
11525
+ proto . io . defang . v1 . ServiceID . deserializeBinaryFromReader = function ( msg , reader ) {
11526
+ while ( reader . nextField ( ) ) {
11527
+ if ( reader . isEndGroup ( ) ) {
11528
+ break ;
11529
+ }
11530
+ var field = reader . getFieldNumber ( ) ;
11531
+ switch ( field ) {
11532
+ case 1 :
11533
+ var value = /** @type {string } */ ( reader . readString ( ) ) ;
11534
+ msg . setName ( value ) ;
11535
+ break ;
11536
+ case 2 :
11537
+ var value = /** @type {string } */ ( reader . readString ( ) ) ;
11538
+ msg . setProject ( value ) ;
11539
+ break ;
11540
+ default :
11541
+ reader . skipField ( ) ;
11542
+ break ;
11543
+ }
11544
+ }
11545
+ return msg ;
11546
+ } ;
11547
+
11548
+
11549
+ /**
11550
+ * Serializes the message to binary data (in protobuf wire format).
11551
+ * @return {!Uint8Array }
11552
+ */
11553
+ proto . io . defang . v1 . ServiceID . prototype . serializeBinary = function ( ) {
11554
+ var writer = new jspb . BinaryWriter ( ) ;
11555
+ proto . io . defang . v1 . ServiceID . serializeBinaryToWriter ( this , writer ) ;
11556
+ return writer . getResultBuffer ( ) ;
11557
+ } ;
11558
+
11559
+
11560
+ /**
11561
+ * Serializes the given message to binary data (in protobuf wire
11562
+ * format), writing to the given BinaryWriter.
11563
+ * @param {!proto.io.defang.v1.ServiceID } message
11564
+ * @param {!jspb.BinaryWriter } writer
11565
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11566
+ */
11567
+ proto . io . defang . v1 . ServiceID . serializeBinaryToWriter = function ( message , writer ) {
11568
+ var f = undefined ;
11569
+ f = message . getName ( ) ;
11570
+ if ( f . length > 0 ) {
11571
+ writer . writeString (
11572
+ 1 ,
11573
+ f
11574
+ ) ;
11575
+ }
11576
+ f = message . getProject ( ) ;
11577
+ if ( f . length > 0 ) {
11578
+ writer . writeString (
11579
+ 2 ,
11580
+ f
11581
+ ) ;
11582
+ }
11583
+ } ;
11584
+
11585
+
11586
+ /**
11587
+ * optional string name = 1;
11588
+ * @return {string }
11589
+ */
11590
+ proto . io . defang . v1 . ServiceID . prototype . getName = function ( ) {
11591
+ return /** @type {string } */ ( jspb . Message . getFieldWithDefault ( this , 1 , "" ) ) ;
11592
+ } ;
11593
+
11594
+
11595
+ /**
11596
+ * @param {string } value
11597
+ * @return {!proto.io.defang.v1.ServiceID } returns this
11598
+ */
11599
+ proto . io . defang . v1 . ServiceID . prototype . setName = function ( value ) {
11600
+ return jspb . Message . setProto3StringField ( this , 1 , value ) ;
11601
+ } ;
11602
+
11603
+
11604
+ /**
11605
+ * optional string project = 2;
11606
+ * @return {string }
11607
+ */
11608
+ proto . io . defang . v1 . ServiceID . prototype . getProject = function ( ) {
11609
+ return /** @type {string } */ ( jspb . Message . getFieldWithDefault ( this , 2 , "" ) ) ;
11610
+ } ;
11611
+
11612
+
11613
+ /**
11614
+ * @param {string } value
11615
+ * @return {!proto.io.defang.v1.ServiceID } returns this
11616
+ */
11617
+ proto . io . defang . v1 . ServiceID . prototype . setProject = function ( value ) {
11618
+ return jspb . Message . setProto3StringField ( this , 2 , value ) ;
11619
+ } ;
11620
+
11621
+
11622
+
11623
+
11624
+
11443
11625
if ( jspb . Message . GENERATE_TO_OBJECT ) {
11444
11626
/**
11445
11627
* Creates an object representation of this proto.
0 commit comments