@pulumi/pulumi 3.35.1 → 3.35.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/proto/resource_pb.js +208 -825
- package/runtime/resource.js +1 -1
- package/runtime/resource.js.map +1 -1
- package/version.js +1 -1
package/proto/resource_pb.js
CHANGED
|
@@ -21,10 +21,6 @@ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_
|
|
|
21
21
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
22
22
|
var provider_pb = require('./provider_pb.js');
|
|
23
23
|
goog.object.extend(proto, provider_pb);
|
|
24
|
-
goog.exportSymbol('proto.pulumirpc.Alias', null, global);
|
|
25
|
-
goog.exportSymbol('proto.pulumirpc.Alias.AliasCase', null, global);
|
|
26
|
-
goog.exportSymbol('proto.pulumirpc.Alias.Spec', null, global);
|
|
27
|
-
goog.exportSymbol('proto.pulumirpc.Alias.Spec.ParentCase', null, global);
|
|
28
24
|
goog.exportSymbol('proto.pulumirpc.ReadResourceRequest', null, global);
|
|
29
25
|
goog.exportSymbol('proto.pulumirpc.ReadResourceResponse', null, global);
|
|
30
26
|
goog.exportSymbol('proto.pulumirpc.RegisterResourceOutputsRequest', null, global);
|
|
@@ -78,48 +74,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
78
74
|
*/
|
|
79
75
|
proto.pulumirpc.SupportsFeatureResponse.displayName = 'proto.pulumirpc.SupportsFeatureResponse';
|
|
80
76
|
}
|
|
81
|
-
/**
|
|
82
|
-
* Generated by JsPbCodeGenerator.
|
|
83
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
84
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
85
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
86
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
87
|
-
* valid.
|
|
88
|
-
* @extends {jspb.Message}
|
|
89
|
-
* @constructor
|
|
90
|
-
*/
|
|
91
|
-
proto.pulumirpc.Alias = function(opt_data) {
|
|
92
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.pulumirpc.Alias.oneofGroups_);
|
|
93
|
-
};
|
|
94
|
-
goog.inherits(proto.pulumirpc.Alias, jspb.Message);
|
|
95
|
-
if (goog.DEBUG && !COMPILED) {
|
|
96
|
-
/**
|
|
97
|
-
* @public
|
|
98
|
-
* @override
|
|
99
|
-
*/
|
|
100
|
-
proto.pulumirpc.Alias.displayName = 'proto.pulumirpc.Alias';
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* Generated by JsPbCodeGenerator.
|
|
104
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
105
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
106
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
107
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
108
|
-
* valid.
|
|
109
|
-
* @extends {jspb.Message}
|
|
110
|
-
* @constructor
|
|
111
|
-
*/
|
|
112
|
-
proto.pulumirpc.Alias.Spec = function(opt_data) {
|
|
113
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.pulumirpc.Alias.Spec.oneofGroups_);
|
|
114
|
-
};
|
|
115
|
-
goog.inherits(proto.pulumirpc.Alias.Spec, jspb.Message);
|
|
116
|
-
if (goog.DEBUG && !COMPILED) {
|
|
117
|
-
/**
|
|
118
|
-
* @public
|
|
119
|
-
* @override
|
|
120
|
-
*/
|
|
121
|
-
proto.pulumirpc.Alias.Spec.displayName = 'proto.pulumirpc.Alias.Spec';
|
|
122
|
-
}
|
|
123
77
|
/**
|
|
124
78
|
* Generated by JsPbCodeGenerator.
|
|
125
79
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -347,792 +301,225 @@ proto.pulumirpc.SupportsFeatureRequest.toObject = function(includeInstance, msg)
|
|
|
347
301
|
if (includeInstance) {
|
|
348
302
|
obj.$jspbMessageInstance = msg;
|
|
349
303
|
}
|
|
350
|
-
return obj;
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* Deserializes binary data (in protobuf wire format).
|
|
357
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
358
|
-
* @return {!proto.pulumirpc.SupportsFeatureRequest}
|
|
359
|
-
*/
|
|
360
|
-
proto.pulumirpc.SupportsFeatureRequest.deserializeBinary = function(bytes) {
|
|
361
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
362
|
-
var msg = new proto.pulumirpc.SupportsFeatureRequest;
|
|
363
|
-
return proto.pulumirpc.SupportsFeatureRequest.deserializeBinaryFromReader(msg, reader);
|
|
364
|
-
};
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
369
|
-
* given reader into the given message object.
|
|
370
|
-
* @param {!proto.pulumirpc.SupportsFeatureRequest} msg The message object to deserialize into.
|
|
371
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
372
|
-
* @return {!proto.pulumirpc.SupportsFeatureRequest}
|
|
373
|
-
*/
|
|
374
|
-
proto.pulumirpc.SupportsFeatureRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
375
|
-
while (reader.nextField()) {
|
|
376
|
-
if (reader.isEndGroup()) {
|
|
377
|
-
break;
|
|
378
|
-
}
|
|
379
|
-
var field = reader.getFieldNumber();
|
|
380
|
-
switch (field) {
|
|
381
|
-
case 1:
|
|
382
|
-
var value = /** @type {string} */ (reader.readString());
|
|
383
|
-
msg.setId(value);
|
|
384
|
-
break;
|
|
385
|
-
default:
|
|
386
|
-
reader.skipField();
|
|
387
|
-
break;
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
return msg;
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
396
|
-
* @return {!Uint8Array}
|
|
397
|
-
*/
|
|
398
|
-
proto.pulumirpc.SupportsFeatureRequest.prototype.serializeBinary = function() {
|
|
399
|
-
var writer = new jspb.BinaryWriter();
|
|
400
|
-
proto.pulumirpc.SupportsFeatureRequest.serializeBinaryToWriter(this, writer);
|
|
401
|
-
return writer.getResultBuffer();
|
|
402
|
-
};
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
407
|
-
* format), writing to the given BinaryWriter.
|
|
408
|
-
* @param {!proto.pulumirpc.SupportsFeatureRequest} message
|
|
409
|
-
* @param {!jspb.BinaryWriter} writer
|
|
410
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
411
|
-
*/
|
|
412
|
-
proto.pulumirpc.SupportsFeatureRequest.serializeBinaryToWriter = function(message, writer) {
|
|
413
|
-
var f = undefined;
|
|
414
|
-
f = message.getId();
|
|
415
|
-
if (f.length > 0) {
|
|
416
|
-
writer.writeString(
|
|
417
|
-
1,
|
|
418
|
-
f
|
|
419
|
-
);
|
|
420
|
-
}
|
|
421
|
-
};
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* optional string id = 1;
|
|
426
|
-
* @return {string}
|
|
427
|
-
*/
|
|
428
|
-
proto.pulumirpc.SupportsFeatureRequest.prototype.getId = function() {
|
|
429
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
430
|
-
};
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
/**
|
|
434
|
-
* @param {string} value
|
|
435
|
-
* @return {!proto.pulumirpc.SupportsFeatureRequest} returns this
|
|
436
|
-
*/
|
|
437
|
-
proto.pulumirpc.SupportsFeatureRequest.prototype.setId = function(value) {
|
|
438
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
439
|
-
};
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
446
|
-
/**
|
|
447
|
-
* Creates an object representation of this proto.
|
|
448
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
449
|
-
* Optional fields that are not set will be set to undefined.
|
|
450
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
451
|
-
* For the list of reserved names please see:
|
|
452
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
453
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
454
|
-
* JSPB instance for transitional soy proto support:
|
|
455
|
-
* http://goto/soy-param-migration
|
|
456
|
-
* @return {!Object}
|
|
457
|
-
*/
|
|
458
|
-
proto.pulumirpc.SupportsFeatureResponse.prototype.toObject = function(opt_includeInstance) {
|
|
459
|
-
return proto.pulumirpc.SupportsFeatureResponse.toObject(opt_includeInstance, this);
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* Static version of the {@see toObject} method.
|
|
465
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
466
|
-
* the JSPB instance for transitional soy proto support:
|
|
467
|
-
* http://goto/soy-param-migration
|
|
468
|
-
* @param {!proto.pulumirpc.SupportsFeatureResponse} msg The msg instance to transform.
|
|
469
|
-
* @return {!Object}
|
|
470
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
471
|
-
*/
|
|
472
|
-
proto.pulumirpc.SupportsFeatureResponse.toObject = function(includeInstance, msg) {
|
|
473
|
-
var f, obj = {
|
|
474
|
-
hassupport: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
475
|
-
};
|
|
476
|
-
|
|
477
|
-
if (includeInstance) {
|
|
478
|
-
obj.$jspbMessageInstance = msg;
|
|
479
|
-
}
|
|
480
|
-
return obj;
|
|
481
|
-
};
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
* Deserializes binary data (in protobuf wire format).
|
|
487
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
488
|
-
* @return {!proto.pulumirpc.SupportsFeatureResponse}
|
|
489
|
-
*/
|
|
490
|
-
proto.pulumirpc.SupportsFeatureResponse.deserializeBinary = function(bytes) {
|
|
491
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
492
|
-
var msg = new proto.pulumirpc.SupportsFeatureResponse;
|
|
493
|
-
return proto.pulumirpc.SupportsFeatureResponse.deserializeBinaryFromReader(msg, reader);
|
|
494
|
-
};
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
499
|
-
* given reader into the given message object.
|
|
500
|
-
* @param {!proto.pulumirpc.SupportsFeatureResponse} msg The message object to deserialize into.
|
|
501
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
502
|
-
* @return {!proto.pulumirpc.SupportsFeatureResponse}
|
|
503
|
-
*/
|
|
504
|
-
proto.pulumirpc.SupportsFeatureResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
505
|
-
while (reader.nextField()) {
|
|
506
|
-
if (reader.isEndGroup()) {
|
|
507
|
-
break;
|
|
508
|
-
}
|
|
509
|
-
var field = reader.getFieldNumber();
|
|
510
|
-
switch (field) {
|
|
511
|
-
case 1:
|
|
512
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
513
|
-
msg.setHassupport(value);
|
|
514
|
-
break;
|
|
515
|
-
default:
|
|
516
|
-
reader.skipField();
|
|
517
|
-
break;
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
return msg;
|
|
521
|
-
};
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
526
|
-
* @return {!Uint8Array}
|
|
527
|
-
*/
|
|
528
|
-
proto.pulumirpc.SupportsFeatureResponse.prototype.serializeBinary = function() {
|
|
529
|
-
var writer = new jspb.BinaryWriter();
|
|
530
|
-
proto.pulumirpc.SupportsFeatureResponse.serializeBinaryToWriter(this, writer);
|
|
531
|
-
return writer.getResultBuffer();
|
|
532
|
-
};
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
537
|
-
* format), writing to the given BinaryWriter.
|
|
538
|
-
* @param {!proto.pulumirpc.SupportsFeatureResponse} message
|
|
539
|
-
* @param {!jspb.BinaryWriter} writer
|
|
540
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
541
|
-
*/
|
|
542
|
-
proto.pulumirpc.SupportsFeatureResponse.serializeBinaryToWriter = function(message, writer) {
|
|
543
|
-
var f = undefined;
|
|
544
|
-
f = message.getHassupport();
|
|
545
|
-
if (f) {
|
|
546
|
-
writer.writeBool(
|
|
547
|
-
1,
|
|
548
|
-
f
|
|
549
|
-
);
|
|
550
|
-
}
|
|
551
|
-
};
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* optional bool hasSupport = 1;
|
|
556
|
-
* @return {boolean}
|
|
557
|
-
*/
|
|
558
|
-
proto.pulumirpc.SupportsFeatureResponse.prototype.getHassupport = function() {
|
|
559
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
/**
|
|
564
|
-
* @param {boolean} value
|
|
565
|
-
* @return {!proto.pulumirpc.SupportsFeatureResponse} returns this
|
|
566
|
-
*/
|
|
567
|
-
proto.pulumirpc.SupportsFeatureResponse.prototype.setHassupport = function(value) {
|
|
568
|
-
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
569
|
-
};
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
/**
|
|
574
|
-
* Oneof group definitions for this message. Each group defines the field
|
|
575
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
|
576
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
577
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
578
|
-
* @private {!Array<!Array<number>>}
|
|
579
|
-
* @const
|
|
580
|
-
*/
|
|
581
|
-
proto.pulumirpc.Alias.oneofGroups_ = [[1,2]];
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
* @enum {number}
|
|
585
|
-
*/
|
|
586
|
-
proto.pulumirpc.Alias.AliasCase = {
|
|
587
|
-
ALIAS_NOT_SET: 0,
|
|
588
|
-
URN: 1,
|
|
589
|
-
SPEC: 2
|
|
590
|
-
};
|
|
591
|
-
|
|
592
|
-
/**
|
|
593
|
-
* @return {proto.pulumirpc.Alias.AliasCase}
|
|
594
|
-
*/
|
|
595
|
-
proto.pulumirpc.Alias.prototype.getAliasCase = function() {
|
|
596
|
-
return /** @type {proto.pulumirpc.Alias.AliasCase} */(jspb.Message.computeOneofCase(this, proto.pulumirpc.Alias.oneofGroups_[0]));
|
|
597
|
-
};
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
602
|
-
/**
|
|
603
|
-
* Creates an object representation of this proto.
|
|
604
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
605
|
-
* Optional fields that are not set will be set to undefined.
|
|
606
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
607
|
-
* For the list of reserved names please see:
|
|
608
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
609
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
610
|
-
* JSPB instance for transitional soy proto support:
|
|
611
|
-
* http://goto/soy-param-migration
|
|
612
|
-
* @return {!Object}
|
|
613
|
-
*/
|
|
614
|
-
proto.pulumirpc.Alias.prototype.toObject = function(opt_includeInstance) {
|
|
615
|
-
return proto.pulumirpc.Alias.toObject(opt_includeInstance, this);
|
|
616
|
-
};
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
* Static version of the {@see toObject} method.
|
|
621
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
622
|
-
* the JSPB instance for transitional soy proto support:
|
|
623
|
-
* http://goto/soy-param-migration
|
|
624
|
-
* @param {!proto.pulumirpc.Alias} msg The msg instance to transform.
|
|
625
|
-
* @return {!Object}
|
|
626
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
627
|
-
*/
|
|
628
|
-
proto.pulumirpc.Alias.toObject = function(includeInstance, msg) {
|
|
629
|
-
var f, obj = {
|
|
630
|
-
urn: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
631
|
-
spec: (f = msg.getSpec()) && proto.pulumirpc.Alias.Spec.toObject(includeInstance, f)
|
|
632
|
-
};
|
|
633
|
-
|
|
634
|
-
if (includeInstance) {
|
|
635
|
-
obj.$jspbMessageInstance = msg;
|
|
636
|
-
}
|
|
637
|
-
return obj;
|
|
638
|
-
};
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* Deserializes binary data (in protobuf wire format).
|
|
644
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
645
|
-
* @return {!proto.pulumirpc.Alias}
|
|
646
|
-
*/
|
|
647
|
-
proto.pulumirpc.Alias.deserializeBinary = function(bytes) {
|
|
648
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
649
|
-
var msg = new proto.pulumirpc.Alias;
|
|
650
|
-
return proto.pulumirpc.Alias.deserializeBinaryFromReader(msg, reader);
|
|
651
|
-
};
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
/**
|
|
655
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
656
|
-
* given reader into the given message object.
|
|
657
|
-
* @param {!proto.pulumirpc.Alias} msg The message object to deserialize into.
|
|
658
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
659
|
-
* @return {!proto.pulumirpc.Alias}
|
|
660
|
-
*/
|
|
661
|
-
proto.pulumirpc.Alias.deserializeBinaryFromReader = function(msg, reader) {
|
|
662
|
-
while (reader.nextField()) {
|
|
663
|
-
if (reader.isEndGroup()) {
|
|
664
|
-
break;
|
|
665
|
-
}
|
|
666
|
-
var field = reader.getFieldNumber();
|
|
667
|
-
switch (field) {
|
|
668
|
-
case 1:
|
|
669
|
-
var value = /** @type {string} */ (reader.readString());
|
|
670
|
-
msg.setUrn(value);
|
|
671
|
-
break;
|
|
672
|
-
case 2:
|
|
673
|
-
var value = new proto.pulumirpc.Alias.Spec;
|
|
674
|
-
reader.readMessage(value,proto.pulumirpc.Alias.Spec.deserializeBinaryFromReader);
|
|
675
|
-
msg.setSpec(value);
|
|
676
|
-
break;
|
|
677
|
-
default:
|
|
678
|
-
reader.skipField();
|
|
679
|
-
break;
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
return msg;
|
|
683
|
-
};
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
688
|
-
* @return {!Uint8Array}
|
|
689
|
-
*/
|
|
690
|
-
proto.pulumirpc.Alias.prototype.serializeBinary = function() {
|
|
691
|
-
var writer = new jspb.BinaryWriter();
|
|
692
|
-
proto.pulumirpc.Alias.serializeBinaryToWriter(this, writer);
|
|
693
|
-
return writer.getResultBuffer();
|
|
694
|
-
};
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
/**
|
|
698
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
699
|
-
* format), writing to the given BinaryWriter.
|
|
700
|
-
* @param {!proto.pulumirpc.Alias} message
|
|
701
|
-
* @param {!jspb.BinaryWriter} writer
|
|
702
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
703
|
-
*/
|
|
704
|
-
proto.pulumirpc.Alias.serializeBinaryToWriter = function(message, writer) {
|
|
705
|
-
var f = undefined;
|
|
706
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
707
|
-
if (f != null) {
|
|
708
|
-
writer.writeString(
|
|
709
|
-
1,
|
|
710
|
-
f
|
|
711
|
-
);
|
|
712
|
-
}
|
|
713
|
-
f = message.getSpec();
|
|
714
|
-
if (f != null) {
|
|
715
|
-
writer.writeMessage(
|
|
716
|
-
2,
|
|
717
|
-
f,
|
|
718
|
-
proto.pulumirpc.Alias.Spec.serializeBinaryToWriter
|
|
719
|
-
);
|
|
720
|
-
}
|
|
721
|
-
};
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
/**
|
|
726
|
-
* Oneof group definitions for this message. Each group defines the field
|
|
727
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
|
728
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
729
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
730
|
-
* @private {!Array<!Array<number>>}
|
|
731
|
-
* @const
|
|
732
|
-
*/
|
|
733
|
-
proto.pulumirpc.Alias.Spec.oneofGroups_ = [[5,6]];
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
* @enum {number}
|
|
737
|
-
*/
|
|
738
|
-
proto.pulumirpc.Alias.Spec.ParentCase = {
|
|
739
|
-
PARENT_NOT_SET: 0,
|
|
740
|
-
PARENTURN: 5,
|
|
741
|
-
NOPARENT: 6
|
|
742
|
-
};
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* @return {proto.pulumirpc.Alias.Spec.ParentCase}
|
|
746
|
-
*/
|
|
747
|
-
proto.pulumirpc.Alias.Spec.prototype.getParentCase = function() {
|
|
748
|
-
return /** @type {proto.pulumirpc.Alias.Spec.ParentCase} */(jspb.Message.computeOneofCase(this, proto.pulumirpc.Alias.Spec.oneofGroups_[0]));
|
|
749
|
-
};
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
754
|
-
/**
|
|
755
|
-
* Creates an object representation of this proto.
|
|
756
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
757
|
-
* Optional fields that are not set will be set to undefined.
|
|
758
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
759
|
-
* For the list of reserved names please see:
|
|
760
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
761
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
762
|
-
* JSPB instance for transitional soy proto support:
|
|
763
|
-
* http://goto/soy-param-migration
|
|
764
|
-
* @return {!Object}
|
|
765
|
-
*/
|
|
766
|
-
proto.pulumirpc.Alias.Spec.prototype.toObject = function(opt_includeInstance) {
|
|
767
|
-
return proto.pulumirpc.Alias.Spec.toObject(opt_includeInstance, this);
|
|
768
|
-
};
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
/**
|
|
772
|
-
* Static version of the {@see toObject} method.
|
|
773
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
774
|
-
* the JSPB instance for transitional soy proto support:
|
|
775
|
-
* http://goto/soy-param-migration
|
|
776
|
-
* @param {!proto.pulumirpc.Alias.Spec} msg The msg instance to transform.
|
|
777
|
-
* @return {!Object}
|
|
778
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
779
|
-
*/
|
|
780
|
-
proto.pulumirpc.Alias.Spec.toObject = function(includeInstance, msg) {
|
|
781
|
-
var f, obj = {
|
|
782
|
-
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
783
|
-
type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
784
|
-
stack: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
785
|
-
project: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
786
|
-
parenturn: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
787
|
-
noparent: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
788
|
-
};
|
|
789
|
-
|
|
790
|
-
if (includeInstance) {
|
|
791
|
-
obj.$jspbMessageInstance = msg;
|
|
792
|
-
}
|
|
793
|
-
return obj;
|
|
794
|
-
};
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
/**
|
|
799
|
-
* Deserializes binary data (in protobuf wire format).
|
|
800
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
801
|
-
* @return {!proto.pulumirpc.Alias.Spec}
|
|
802
|
-
*/
|
|
803
|
-
proto.pulumirpc.Alias.Spec.deserializeBinary = function(bytes) {
|
|
804
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
805
|
-
var msg = new proto.pulumirpc.Alias.Spec;
|
|
806
|
-
return proto.pulumirpc.Alias.Spec.deserializeBinaryFromReader(msg, reader);
|
|
807
|
-
};
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
/**
|
|
811
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
812
|
-
* given reader into the given message object.
|
|
813
|
-
* @param {!proto.pulumirpc.Alias.Spec} msg The message object to deserialize into.
|
|
814
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
815
|
-
* @return {!proto.pulumirpc.Alias.Spec}
|
|
816
|
-
*/
|
|
817
|
-
proto.pulumirpc.Alias.Spec.deserializeBinaryFromReader = function(msg, reader) {
|
|
818
|
-
while (reader.nextField()) {
|
|
819
|
-
if (reader.isEndGroup()) {
|
|
820
|
-
break;
|
|
821
|
-
}
|
|
822
|
-
var field = reader.getFieldNumber();
|
|
823
|
-
switch (field) {
|
|
824
|
-
case 1:
|
|
825
|
-
var value = /** @type {string} */ (reader.readString());
|
|
826
|
-
msg.setName(value);
|
|
827
|
-
break;
|
|
828
|
-
case 2:
|
|
829
|
-
var value = /** @type {string} */ (reader.readString());
|
|
830
|
-
msg.setType(value);
|
|
831
|
-
break;
|
|
832
|
-
case 3:
|
|
833
|
-
var value = /** @type {string} */ (reader.readString());
|
|
834
|
-
msg.setStack(value);
|
|
835
|
-
break;
|
|
836
|
-
case 4:
|
|
837
|
-
var value = /** @type {string} */ (reader.readString());
|
|
838
|
-
msg.setProject(value);
|
|
839
|
-
break;
|
|
840
|
-
case 5:
|
|
841
|
-
var value = /** @type {string} */ (reader.readString());
|
|
842
|
-
msg.setParenturn(value);
|
|
843
|
-
break;
|
|
844
|
-
case 6:
|
|
845
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
846
|
-
msg.setNoparent(value);
|
|
847
|
-
break;
|
|
848
|
-
default:
|
|
849
|
-
reader.skipField();
|
|
850
|
-
break;
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
return msg;
|
|
854
|
-
};
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
859
|
-
* @return {!Uint8Array}
|
|
860
|
-
*/
|
|
861
|
-
proto.pulumirpc.Alias.Spec.prototype.serializeBinary = function() {
|
|
862
|
-
var writer = new jspb.BinaryWriter();
|
|
863
|
-
proto.pulumirpc.Alias.Spec.serializeBinaryToWriter(this, writer);
|
|
864
|
-
return writer.getResultBuffer();
|
|
865
|
-
};
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
870
|
-
* format), writing to the given BinaryWriter.
|
|
871
|
-
* @param {!proto.pulumirpc.Alias.Spec} message
|
|
872
|
-
* @param {!jspb.BinaryWriter} writer
|
|
873
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
874
|
-
*/
|
|
875
|
-
proto.pulumirpc.Alias.Spec.serializeBinaryToWriter = function(message, writer) {
|
|
876
|
-
var f = undefined;
|
|
877
|
-
f = message.getName();
|
|
878
|
-
if (f.length > 0) {
|
|
879
|
-
writer.writeString(
|
|
880
|
-
1,
|
|
881
|
-
f
|
|
882
|
-
);
|
|
883
|
-
}
|
|
884
|
-
f = message.getType();
|
|
885
|
-
if (f.length > 0) {
|
|
886
|
-
writer.writeString(
|
|
887
|
-
2,
|
|
888
|
-
f
|
|
889
|
-
);
|
|
890
|
-
}
|
|
891
|
-
f = message.getStack();
|
|
892
|
-
if (f.length > 0) {
|
|
893
|
-
writer.writeString(
|
|
894
|
-
3,
|
|
895
|
-
f
|
|
896
|
-
);
|
|
897
|
-
}
|
|
898
|
-
f = message.getProject();
|
|
899
|
-
if (f.length > 0) {
|
|
900
|
-
writer.writeString(
|
|
901
|
-
4,
|
|
902
|
-
f
|
|
903
|
-
);
|
|
904
|
-
}
|
|
905
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
906
|
-
if (f != null) {
|
|
907
|
-
writer.writeString(
|
|
908
|
-
5,
|
|
909
|
-
f
|
|
910
|
-
);
|
|
911
|
-
}
|
|
912
|
-
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
913
|
-
if (f != null) {
|
|
914
|
-
writer.writeBool(
|
|
915
|
-
6,
|
|
916
|
-
f
|
|
917
|
-
);
|
|
918
|
-
}
|
|
919
|
-
};
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
/**
|
|
923
|
-
* optional string name = 1;
|
|
924
|
-
* @return {string}
|
|
925
|
-
*/
|
|
926
|
-
proto.pulumirpc.Alias.Spec.prototype.getName = function() {
|
|
927
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
928
|
-
};
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
/**
|
|
932
|
-
* @param {string} value
|
|
933
|
-
* @return {!proto.pulumirpc.Alias.Spec} returns this
|
|
934
|
-
*/
|
|
935
|
-
proto.pulumirpc.Alias.Spec.prototype.setName = function(value) {
|
|
936
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
937
|
-
};
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* optional string type = 2;
|
|
942
|
-
* @return {string}
|
|
943
|
-
*/
|
|
944
|
-
proto.pulumirpc.Alias.Spec.prototype.getType = function() {
|
|
945
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
946
|
-
};
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
/**
|
|
950
|
-
* @param {string} value
|
|
951
|
-
* @return {!proto.pulumirpc.Alias.Spec} returns this
|
|
952
|
-
*/
|
|
953
|
-
proto.pulumirpc.Alias.Spec.prototype.setType = function(value) {
|
|
954
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
955
|
-
};
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
/**
|
|
959
|
-
* optional string stack = 3;
|
|
960
|
-
* @return {string}
|
|
961
|
-
*/
|
|
962
|
-
proto.pulumirpc.Alias.Spec.prototype.getStack = function() {
|
|
963
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
964
|
-
};
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* @param {string} value
|
|
969
|
-
* @return {!proto.pulumirpc.Alias.Spec} returns this
|
|
970
|
-
*/
|
|
971
|
-
proto.pulumirpc.Alias.Spec.prototype.setStack = function(value) {
|
|
972
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
973
|
-
};
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
/**
|
|
977
|
-
* optional string project = 4;
|
|
978
|
-
* @return {string}
|
|
979
|
-
*/
|
|
980
|
-
proto.pulumirpc.Alias.Spec.prototype.getProject = function() {
|
|
981
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
982
|
-
};
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
/**
|
|
986
|
-
* @param {string} value
|
|
987
|
-
* @return {!proto.pulumirpc.Alias.Spec} returns this
|
|
988
|
-
*/
|
|
989
|
-
proto.pulumirpc.Alias.Spec.prototype.setProject = function(value) {
|
|
990
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
304
|
+
return obj;
|
|
991
305
|
};
|
|
306
|
+
}
|
|
992
307
|
|
|
993
308
|
|
|
994
309
|
/**
|
|
995
|
-
*
|
|
996
|
-
* @
|
|
310
|
+
* Deserializes binary data (in protobuf wire format).
|
|
311
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
312
|
+
* @return {!proto.pulumirpc.SupportsFeatureRequest}
|
|
997
313
|
*/
|
|
998
|
-
proto.pulumirpc.
|
|
999
|
-
|
|
314
|
+
proto.pulumirpc.SupportsFeatureRequest.deserializeBinary = function(bytes) {
|
|
315
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
316
|
+
var msg = new proto.pulumirpc.SupportsFeatureRequest;
|
|
317
|
+
return proto.pulumirpc.SupportsFeatureRequest.deserializeBinaryFromReader(msg, reader);
|
|
1000
318
|
};
|
|
1001
319
|
|
|
1002
320
|
|
|
1003
321
|
/**
|
|
1004
|
-
*
|
|
1005
|
-
*
|
|
322
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
323
|
+
* given reader into the given message object.
|
|
324
|
+
* @param {!proto.pulumirpc.SupportsFeatureRequest} msg The message object to deserialize into.
|
|
325
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
326
|
+
* @return {!proto.pulumirpc.SupportsFeatureRequest}
|
|
1006
327
|
*/
|
|
1007
|
-
proto.pulumirpc.
|
|
1008
|
-
|
|
328
|
+
proto.pulumirpc.SupportsFeatureRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
329
|
+
while (reader.nextField()) {
|
|
330
|
+
if (reader.isEndGroup()) {
|
|
331
|
+
break;
|
|
332
|
+
}
|
|
333
|
+
var field = reader.getFieldNumber();
|
|
334
|
+
switch (field) {
|
|
335
|
+
case 1:
|
|
336
|
+
var value = /** @type {string} */ (reader.readString());
|
|
337
|
+
msg.setId(value);
|
|
338
|
+
break;
|
|
339
|
+
default:
|
|
340
|
+
reader.skipField();
|
|
341
|
+
break;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
return msg;
|
|
1009
345
|
};
|
|
1010
346
|
|
|
1011
347
|
|
|
1012
348
|
/**
|
|
1013
|
-
*
|
|
1014
|
-
* @return {!
|
|
349
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
350
|
+
* @return {!Uint8Array}
|
|
1015
351
|
*/
|
|
1016
|
-
proto.pulumirpc.
|
|
1017
|
-
|
|
352
|
+
proto.pulumirpc.SupportsFeatureRequest.prototype.serializeBinary = function() {
|
|
353
|
+
var writer = new jspb.BinaryWriter();
|
|
354
|
+
proto.pulumirpc.SupportsFeatureRequest.serializeBinaryToWriter(this, writer);
|
|
355
|
+
return writer.getResultBuffer();
|
|
1018
356
|
};
|
|
1019
357
|
|
|
1020
358
|
|
|
1021
359
|
/**
|
|
1022
|
-
*
|
|
1023
|
-
*
|
|
360
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
361
|
+
* format), writing to the given BinaryWriter.
|
|
362
|
+
* @param {!proto.pulumirpc.SupportsFeatureRequest} message
|
|
363
|
+
* @param {!jspb.BinaryWriter} writer
|
|
364
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1024
365
|
*/
|
|
1025
|
-
proto.pulumirpc.
|
|
1026
|
-
|
|
366
|
+
proto.pulumirpc.SupportsFeatureRequest.serializeBinaryToWriter = function(message, writer) {
|
|
367
|
+
var f = undefined;
|
|
368
|
+
f = message.getId();
|
|
369
|
+
if (f.length > 0) {
|
|
370
|
+
writer.writeString(
|
|
371
|
+
1,
|
|
372
|
+
f
|
|
373
|
+
);
|
|
374
|
+
}
|
|
1027
375
|
};
|
|
1028
376
|
|
|
1029
377
|
|
|
1030
378
|
/**
|
|
1031
|
-
* optional
|
|
1032
|
-
* @return {
|
|
379
|
+
* optional string id = 1;
|
|
380
|
+
* @return {string}
|
|
1033
381
|
*/
|
|
1034
|
-
proto.pulumirpc.
|
|
1035
|
-
return /** @type {
|
|
382
|
+
proto.pulumirpc.SupportsFeatureRequest.prototype.getId = function() {
|
|
383
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1036
384
|
};
|
|
1037
385
|
|
|
1038
386
|
|
|
1039
387
|
/**
|
|
1040
|
-
* @param {
|
|
1041
|
-
* @return {!proto.pulumirpc.
|
|
388
|
+
* @param {string} value
|
|
389
|
+
* @return {!proto.pulumirpc.SupportsFeatureRequest} returns this
|
|
1042
390
|
*/
|
|
1043
|
-
proto.pulumirpc.
|
|
1044
|
-
return jspb.Message.
|
|
391
|
+
proto.pulumirpc.SupportsFeatureRequest.prototype.setId = function(value) {
|
|
392
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1045
393
|
};
|
|
1046
394
|
|
|
1047
395
|
|
|
1048
|
-
/**
|
|
1049
|
-
* Clears the field making it undefined.
|
|
1050
|
-
* @return {!proto.pulumirpc.Alias.Spec} returns this
|
|
1051
|
-
*/
|
|
1052
|
-
proto.pulumirpc.Alias.Spec.prototype.clearNoparent = function() {
|
|
1053
|
-
return jspb.Message.setOneofField(this, 6, proto.pulumirpc.Alias.Spec.oneofGroups_[0], undefined);
|
|
1054
|
-
};
|
|
1055
|
-
|
|
1056
396
|
|
|
1057
|
-
/**
|
|
1058
|
-
* Returns whether this field is set.
|
|
1059
|
-
* @return {boolean}
|
|
1060
|
-
*/
|
|
1061
|
-
proto.pulumirpc.Alias.Spec.prototype.hasNoparent = function() {
|
|
1062
|
-
return jspb.Message.getField(this, 6) != null;
|
|
1063
|
-
};
|
|
1064
397
|
|
|
1065
398
|
|
|
399
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1066
400
|
/**
|
|
1067
|
-
*
|
|
1068
|
-
*
|
|
401
|
+
* Creates an object representation of this proto.
|
|
402
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
403
|
+
* Optional fields that are not set will be set to undefined.
|
|
404
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
405
|
+
* For the list of reserved names please see:
|
|
406
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
407
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
408
|
+
* JSPB instance for transitional soy proto support:
|
|
409
|
+
* http://goto/soy-param-migration
|
|
410
|
+
* @return {!Object}
|
|
1069
411
|
*/
|
|
1070
|
-
proto.pulumirpc.
|
|
1071
|
-
return
|
|
412
|
+
proto.pulumirpc.SupportsFeatureResponse.prototype.toObject = function(opt_includeInstance) {
|
|
413
|
+
return proto.pulumirpc.SupportsFeatureResponse.toObject(opt_includeInstance, this);
|
|
1072
414
|
};
|
|
1073
415
|
|
|
1074
416
|
|
|
1075
417
|
/**
|
|
1076
|
-
* @
|
|
1077
|
-
* @
|
|
418
|
+
* Static version of the {@see toObject} method.
|
|
419
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
420
|
+
* the JSPB instance for transitional soy proto support:
|
|
421
|
+
* http://goto/soy-param-migration
|
|
422
|
+
* @param {!proto.pulumirpc.SupportsFeatureResponse} msg The msg instance to transform.
|
|
423
|
+
* @return {!Object}
|
|
424
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1078
425
|
*/
|
|
1079
|
-
proto.pulumirpc.
|
|
1080
|
-
|
|
426
|
+
proto.pulumirpc.SupportsFeatureResponse.toObject = function(includeInstance, msg) {
|
|
427
|
+
var f, obj = {
|
|
428
|
+
hassupport: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
if (includeInstance) {
|
|
432
|
+
obj.$jspbMessageInstance = msg;
|
|
433
|
+
}
|
|
434
|
+
return obj;
|
|
1081
435
|
};
|
|
436
|
+
}
|
|
1082
437
|
|
|
1083
438
|
|
|
1084
439
|
/**
|
|
1085
|
-
*
|
|
1086
|
-
* @
|
|
440
|
+
* Deserializes binary data (in protobuf wire format).
|
|
441
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
442
|
+
* @return {!proto.pulumirpc.SupportsFeatureResponse}
|
|
1087
443
|
*/
|
|
1088
|
-
proto.pulumirpc.
|
|
1089
|
-
|
|
444
|
+
proto.pulumirpc.SupportsFeatureResponse.deserializeBinary = function(bytes) {
|
|
445
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
446
|
+
var msg = new proto.pulumirpc.SupportsFeatureResponse;
|
|
447
|
+
return proto.pulumirpc.SupportsFeatureResponse.deserializeBinaryFromReader(msg, reader);
|
|
1090
448
|
};
|
|
1091
449
|
|
|
1092
450
|
|
|
1093
451
|
/**
|
|
1094
|
-
*
|
|
1095
|
-
*
|
|
452
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
453
|
+
* given reader into the given message object.
|
|
454
|
+
* @param {!proto.pulumirpc.SupportsFeatureResponse} msg The message object to deserialize into.
|
|
455
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
456
|
+
* @return {!proto.pulumirpc.SupportsFeatureResponse}
|
|
1096
457
|
*/
|
|
1097
|
-
proto.pulumirpc.
|
|
1098
|
-
|
|
458
|
+
proto.pulumirpc.SupportsFeatureResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
459
|
+
while (reader.nextField()) {
|
|
460
|
+
if (reader.isEndGroup()) {
|
|
461
|
+
break;
|
|
462
|
+
}
|
|
463
|
+
var field = reader.getFieldNumber();
|
|
464
|
+
switch (field) {
|
|
465
|
+
case 1:
|
|
466
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
467
|
+
msg.setHassupport(value);
|
|
468
|
+
break;
|
|
469
|
+
default:
|
|
470
|
+
reader.skipField();
|
|
471
|
+
break;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
return msg;
|
|
1099
475
|
};
|
|
1100
476
|
|
|
1101
477
|
|
|
1102
478
|
/**
|
|
1103
|
-
*
|
|
1104
|
-
* @return {
|
|
479
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
480
|
+
* @return {!Uint8Array}
|
|
1105
481
|
*/
|
|
1106
|
-
proto.pulumirpc.
|
|
1107
|
-
|
|
1108
|
-
|
|
482
|
+
proto.pulumirpc.SupportsFeatureResponse.prototype.serializeBinary = function() {
|
|
483
|
+
var writer = new jspb.BinaryWriter();
|
|
484
|
+
proto.pulumirpc.SupportsFeatureResponse.serializeBinaryToWriter(this, writer);
|
|
485
|
+
return writer.getResultBuffer();
|
|
1109
486
|
};
|
|
1110
487
|
|
|
1111
488
|
|
|
1112
489
|
/**
|
|
1113
|
-
*
|
|
1114
|
-
*
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
490
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
491
|
+
* format), writing to the given BinaryWriter.
|
|
492
|
+
* @param {!proto.pulumirpc.SupportsFeatureResponse} message
|
|
493
|
+
* @param {!jspb.BinaryWriter} writer
|
|
494
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
495
|
+
*/
|
|
496
|
+
proto.pulumirpc.SupportsFeatureResponse.serializeBinaryToWriter = function(message, writer) {
|
|
497
|
+
var f = undefined;
|
|
498
|
+
f = message.getHassupport();
|
|
499
|
+
if (f) {
|
|
500
|
+
writer.writeBool(
|
|
501
|
+
1,
|
|
502
|
+
f
|
|
503
|
+
);
|
|
504
|
+
}
|
|
1118
505
|
};
|
|
1119
506
|
|
|
1120
507
|
|
|
1121
508
|
/**
|
|
1122
|
-
*
|
|
1123
|
-
* @return {
|
|
509
|
+
* optional bool hasSupport = 1;
|
|
510
|
+
* @return {boolean}
|
|
1124
511
|
*/
|
|
1125
|
-
proto.pulumirpc.
|
|
1126
|
-
return
|
|
512
|
+
proto.pulumirpc.SupportsFeatureResponse.prototype.getHassupport = function() {
|
|
513
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
1127
514
|
};
|
|
1128
515
|
|
|
1129
516
|
|
|
1130
517
|
/**
|
|
1131
|
-
*
|
|
1132
|
-
* @return {
|
|
518
|
+
* @param {boolean} value
|
|
519
|
+
* @return {!proto.pulumirpc.SupportsFeatureResponse} returns this
|
|
1133
520
|
*/
|
|
1134
|
-
proto.pulumirpc.
|
|
1135
|
-
return jspb.Message.
|
|
521
|
+
proto.pulumirpc.SupportsFeatureResponse.prototype.setHassupport = function(value) {
|
|
522
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
1136
523
|
};
|
|
1137
524
|
|
|
1138
525
|
|
|
@@ -1142,7 +529,7 @@ proto.pulumirpc.Alias.prototype.hasSpec = function() {
|
|
|
1142
529
|
* @private {!Array<number>}
|
|
1143
530
|
* @const
|
|
1144
531
|
*/
|
|
1145
|
-
proto.pulumirpc.ReadResourceRequest.repeatedFields_ = [6,10];
|
|
532
|
+
proto.pulumirpc.ReadResourceRequest.repeatedFields_ = [6,10,11];
|
|
1146
533
|
|
|
1147
534
|
|
|
1148
535
|
|
|
@@ -1185,6 +572,7 @@ proto.pulumirpc.ReadResourceRequest.toObject = function(includeInstance, msg) {
|
|
|
1185
572
|
version: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1186
573
|
acceptsecrets: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
1187
574
|
additionalsecretoutputsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
|
|
575
|
+
aliasesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
1188
576
|
acceptresources: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
1189
577
|
plugindownloadurl: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
1190
578
|
};
|
|
@@ -1264,6 +652,10 @@ proto.pulumirpc.ReadResourceRequest.deserializeBinaryFromReader = function(msg,
|
|
|
1264
652
|
var value = /** @type {string} */ (reader.readString());
|
|
1265
653
|
msg.addAdditionalsecretoutputs(value);
|
|
1266
654
|
break;
|
|
655
|
+
case 11:
|
|
656
|
+
var value = /** @type {string} */ (reader.readString());
|
|
657
|
+
msg.addAliases(value);
|
|
658
|
+
break;
|
|
1267
659
|
case 12:
|
|
1268
660
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
1269
661
|
msg.setAcceptresources(value);
|
|
@@ -1372,6 +764,13 @@ proto.pulumirpc.ReadResourceRequest.serializeBinaryToWriter = function(message,
|
|
|
1372
764
|
f
|
|
1373
765
|
);
|
|
1374
766
|
}
|
|
767
|
+
f = message.getAliasesList();
|
|
768
|
+
if (f.length > 0) {
|
|
769
|
+
writer.writeRepeatedString(
|
|
770
|
+
11,
|
|
771
|
+
f
|
|
772
|
+
);
|
|
773
|
+
}
|
|
1375
774
|
f = message.getAcceptresources();
|
|
1376
775
|
if (f) {
|
|
1377
776
|
writer.writeBool(
|
|
@@ -1626,6 +1025,43 @@ proto.pulumirpc.ReadResourceRequest.prototype.clearAdditionalsecretoutputsList =
|
|
|
1626
1025
|
};
|
|
1627
1026
|
|
|
1628
1027
|
|
|
1028
|
+
/**
|
|
1029
|
+
* repeated string aliases = 11;
|
|
1030
|
+
* @return {!Array<string>}
|
|
1031
|
+
*/
|
|
1032
|
+
proto.pulumirpc.ReadResourceRequest.prototype.getAliasesList = function() {
|
|
1033
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* @param {!Array<string>} value
|
|
1039
|
+
* @return {!proto.pulumirpc.ReadResourceRequest} returns this
|
|
1040
|
+
*/
|
|
1041
|
+
proto.pulumirpc.ReadResourceRequest.prototype.setAliasesList = function(value) {
|
|
1042
|
+
return jspb.Message.setField(this, 11, value || []);
|
|
1043
|
+
};
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* @param {string} value
|
|
1048
|
+
* @param {number=} opt_index
|
|
1049
|
+
* @return {!proto.pulumirpc.ReadResourceRequest} returns this
|
|
1050
|
+
*/
|
|
1051
|
+
proto.pulumirpc.ReadResourceRequest.prototype.addAliases = function(value, opt_index) {
|
|
1052
|
+
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
|
1053
|
+
};
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* Clears the list making it empty but non-null.
|
|
1058
|
+
* @return {!proto.pulumirpc.ReadResourceRequest} returns this
|
|
1059
|
+
*/
|
|
1060
|
+
proto.pulumirpc.ReadResourceRequest.prototype.clearAliasesList = function() {
|
|
1061
|
+
return this.setAliasesList([]);
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
|
|
1629
1065
|
/**
|
|
1630
1066
|
* optional bool acceptResources = 12;
|
|
1631
1067
|
* @return {boolean}
|
|
@@ -1849,7 +1285,7 @@ proto.pulumirpc.ReadResourceResponse.prototype.hasProperties = function() {
|
|
|
1849
1285
|
* @private {!Array<number>}
|
|
1850
1286
|
* @const
|
|
1851
1287
|
*/
|
|
1852
|
-
proto.pulumirpc.RegisterResourceRequest.repeatedFields_ = [7,12,14,15,23
|
|
1288
|
+
proto.pulumirpc.RegisterResourceRequest.repeatedFields_ = [7,12,14,15,23];
|
|
1853
1289
|
|
|
1854
1290
|
|
|
1855
1291
|
|
|
@@ -1896,7 +1332,7 @@ proto.pulumirpc.RegisterResourceRequest.toObject = function(includeInstance, msg
|
|
|
1896
1332
|
ignorechangesList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
|
|
1897
1333
|
acceptsecrets: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
1898
1334
|
additionalsecretoutputsList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
|
|
1899
|
-
|
|
1335
|
+
aliasesList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
|
|
1900
1336
|
importid: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
1901
1337
|
customtimeouts: (f = msg.getCustomtimeouts()) && proto.pulumirpc.RegisterResourceRequest.CustomTimeouts.toObject(includeInstance, f),
|
|
1902
1338
|
deletebeforereplacedefined: jspb.Message.getBooleanFieldWithDefault(msg, 18, false),
|
|
@@ -1906,9 +1342,7 @@ proto.pulumirpc.RegisterResourceRequest.toObject = function(includeInstance, msg
|
|
|
1906
1342
|
providersMap: (f = msg.getProvidersMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
1907
1343
|
replaceonchangesList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f,
|
|
1908
1344
|
plugindownloadurl: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
1909
|
-
retainondelete: jspb.Message.getBooleanFieldWithDefault(msg, 25, false)
|
|
1910
|
-
aliasesList: jspb.Message.toObjectList(msg.getAliasesList(),
|
|
1911
|
-
proto.pulumirpc.Alias.toObject, includeInstance)
|
|
1345
|
+
retainondelete: jspb.Message.getBooleanFieldWithDefault(msg, 25, false)
|
|
1912
1346
|
};
|
|
1913
1347
|
|
|
1914
1348
|
if (includeInstance) {
|
|
@@ -2006,7 +1440,7 @@ proto.pulumirpc.RegisterResourceRequest.deserializeBinaryFromReader = function(m
|
|
|
2006
1440
|
break;
|
|
2007
1441
|
case 15:
|
|
2008
1442
|
var value = /** @type {string} */ (reader.readString());
|
|
2009
|
-
msg.
|
|
1443
|
+
msg.addAliases(value);
|
|
2010
1444
|
break;
|
|
2011
1445
|
case 16:
|
|
2012
1446
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -2051,11 +1485,6 @@ proto.pulumirpc.RegisterResourceRequest.deserializeBinaryFromReader = function(m
|
|
|
2051
1485
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2052
1486
|
msg.setRetainondelete(value);
|
|
2053
1487
|
break;
|
|
2054
|
-
case 26:
|
|
2055
|
-
var value = new proto.pulumirpc.Alias;
|
|
2056
|
-
reader.readMessage(value,proto.pulumirpc.Alias.deserializeBinaryFromReader);
|
|
2057
|
-
msg.addAliases(value);
|
|
2058
|
-
break;
|
|
2059
1488
|
default:
|
|
2060
1489
|
reader.skipField();
|
|
2061
1490
|
break;
|
|
@@ -2181,7 +1610,7 @@ proto.pulumirpc.RegisterResourceRequest.serializeBinaryToWriter = function(messa
|
|
|
2181
1610
|
f
|
|
2182
1611
|
);
|
|
2183
1612
|
}
|
|
2184
|
-
f = message.
|
|
1613
|
+
f = message.getAliasesList();
|
|
2185
1614
|
if (f.length > 0) {
|
|
2186
1615
|
writer.writeRepeatedString(
|
|
2187
1616
|
15,
|
|
@@ -2256,14 +1685,6 @@ proto.pulumirpc.RegisterResourceRequest.serializeBinaryToWriter = function(messa
|
|
|
2256
1685
|
f
|
|
2257
1686
|
);
|
|
2258
1687
|
}
|
|
2259
|
-
f = message.getAliasesList();
|
|
2260
|
-
if (f.length > 0) {
|
|
2261
|
-
writer.writeRepeatedMessage(
|
|
2262
|
-
26,
|
|
2263
|
-
f,
|
|
2264
|
-
proto.pulumirpc.Alias.serializeBinaryToWriter
|
|
2265
|
-
);
|
|
2266
|
-
}
|
|
2267
1688
|
};
|
|
2268
1689
|
|
|
2269
1690
|
|
|
@@ -2946,10 +2367,10 @@ proto.pulumirpc.RegisterResourceRequest.prototype.clearAdditionalsecretoutputsLi
|
|
|
2946
2367
|
|
|
2947
2368
|
|
|
2948
2369
|
/**
|
|
2949
|
-
* repeated string
|
|
2370
|
+
* repeated string aliases = 15;
|
|
2950
2371
|
* @return {!Array<string>}
|
|
2951
2372
|
*/
|
|
2952
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.
|
|
2373
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.getAliasesList = function() {
|
|
2953
2374
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 15));
|
|
2954
2375
|
};
|
|
2955
2376
|
|
|
@@ -2958,7 +2379,7 @@ proto.pulumirpc.RegisterResourceRequest.prototype.getUrnaliasesList = function()
|
|
|
2958
2379
|
* @param {!Array<string>} value
|
|
2959
2380
|
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
2960
2381
|
*/
|
|
2961
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.
|
|
2382
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.setAliasesList = function(value) {
|
|
2962
2383
|
return jspb.Message.setField(this, 15, value || []);
|
|
2963
2384
|
};
|
|
2964
2385
|
|
|
@@ -2968,7 +2389,7 @@ proto.pulumirpc.RegisterResourceRequest.prototype.setUrnaliasesList = function(v
|
|
|
2968
2389
|
* @param {number=} opt_index
|
|
2969
2390
|
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
2970
2391
|
*/
|
|
2971
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.
|
|
2392
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.addAliases = function(value, opt_index) {
|
|
2972
2393
|
return jspb.Message.addToRepeatedField(this, 15, value, opt_index);
|
|
2973
2394
|
};
|
|
2974
2395
|
|
|
@@ -2977,8 +2398,8 @@ proto.pulumirpc.RegisterResourceRequest.prototype.addUrnaliases = function(value
|
|
|
2977
2398
|
* Clears the list making it empty but non-null.
|
|
2978
2399
|
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
2979
2400
|
*/
|
|
2980
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.
|
|
2981
|
-
return this.
|
|
2401
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.clearAliasesList = function() {
|
|
2402
|
+
return this.setAliasesList([]);
|
|
2982
2403
|
};
|
|
2983
2404
|
|
|
2984
2405
|
|
|
@@ -3204,44 +2625,6 @@ proto.pulumirpc.RegisterResourceRequest.prototype.setRetainondelete = function(v
|
|
|
3204
2625
|
};
|
|
3205
2626
|
|
|
3206
2627
|
|
|
3207
|
-
/**
|
|
3208
|
-
* repeated Alias aliases = 26;
|
|
3209
|
-
* @return {!Array<!proto.pulumirpc.Alias>}
|
|
3210
|
-
*/
|
|
3211
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.getAliasesList = function() {
|
|
3212
|
-
return /** @type{!Array<!proto.pulumirpc.Alias>} */ (
|
|
3213
|
-
jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.Alias, 26));
|
|
3214
|
-
};
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
/**
|
|
3218
|
-
* @param {!Array<!proto.pulumirpc.Alias>} value
|
|
3219
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
3220
|
-
*/
|
|
3221
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.setAliasesList = function(value) {
|
|
3222
|
-
return jspb.Message.setRepeatedWrapperField(this, 26, value);
|
|
3223
|
-
};
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
/**
|
|
3227
|
-
* @param {!proto.pulumirpc.Alias=} opt_value
|
|
3228
|
-
* @param {number=} opt_index
|
|
3229
|
-
* @return {!proto.pulumirpc.Alias}
|
|
3230
|
-
*/
|
|
3231
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.addAliases = function(opt_value, opt_index) {
|
|
3232
|
-
return jspb.Message.addToRepeatedWrapperField(this, 26, opt_value, proto.pulumirpc.Alias, opt_index);
|
|
3233
|
-
};
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
/**
|
|
3237
|
-
* Clears the list making it empty but non-null.
|
|
3238
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
3239
|
-
*/
|
|
3240
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.clearAliasesList = function() {
|
|
3241
|
-
return this.setAliasesList([]);
|
|
3242
|
-
};
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
2628
|
|
|
3246
2629
|
/**
|
|
3247
2630
|
* List of repeated fields within this message type.
|