@pulumi/pulumi 3.168.0-alpha.x0350dfc → 3.168.0-alpha.x1e3ee61

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.
@@ -33,6 +33,7 @@ goog.exportSymbol('proto.pulumirpc.AnalyzerProviderResource', null, global);
33
33
  goog.exportSymbol('proto.pulumirpc.AnalyzerResource', null, global);
34
34
  goog.exportSymbol('proto.pulumirpc.AnalyzerResourceOptions', null, global);
35
35
  goog.exportSymbol('proto.pulumirpc.AnalyzerResourceOptions.CustomTimeouts', null, global);
36
+ goog.exportSymbol('proto.pulumirpc.AnalyzerStackConfiguration', null, global);
36
37
  goog.exportSymbol('proto.pulumirpc.ConfigureAnalyzerRequest', null, global);
37
38
  goog.exportSymbol('proto.pulumirpc.EnforcementLevel', null, global);
38
39
  goog.exportSymbol('proto.pulumirpc.PolicyConfig', null, global);
@@ -40,6 +41,27 @@ goog.exportSymbol('proto.pulumirpc.PolicyConfigSchema', null, global);
40
41
  goog.exportSymbol('proto.pulumirpc.PolicyInfo', null, global);
41
42
  goog.exportSymbol('proto.pulumirpc.RemediateResponse', null, global);
42
43
  goog.exportSymbol('proto.pulumirpc.Remediation', null, global);
44
+ /**
45
+ * Generated by JsPbCodeGenerator.
46
+ * @param {Array=} opt_data Optional initial data array, typically from a
47
+ * server response, or constructed directly in Javascript. The array is used
48
+ * in place and becomes part of the constructed object. It is not cloned.
49
+ * If no data is provided, the constructed object will be empty, but still
50
+ * valid.
51
+ * @extends {jspb.Message}
52
+ * @constructor
53
+ */
54
+ proto.pulumirpc.AnalyzerStackConfiguration = function(opt_data) {
55
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
56
+ };
57
+ goog.inherits(proto.pulumirpc.AnalyzerStackConfiguration, jspb.Message);
58
+ if (goog.DEBUG && !COMPILED) {
59
+ /**
60
+ * @public
61
+ * @override
62
+ */
63
+ proto.pulumirpc.AnalyzerStackConfiguration.displayName = 'proto.pulumirpc.AnalyzerStackConfiguration';
64
+ }
43
65
  /**
44
66
  * Generated by JsPbCodeGenerator.
45
67
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -434,8 +456,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
434
456
  * http://goto/soy-param-migration
435
457
  * @return {!Object}
436
458
  */
437
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.toObject = function(opt_includeInstance) {
438
- return proto.pulumirpc.AnalyzerHandshakeRequest.toObject(opt_includeInstance, this);
459
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.toObject = function(opt_includeInstance) {
460
+ return proto.pulumirpc.AnalyzerStackConfiguration.toObject(opt_includeInstance, this);
439
461
  };
440
462
 
441
463
 
@@ -444,19 +466,16 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.toObject = function(opt_inclu
444
466
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
445
467
  * the JSPB instance for transitional soy proto support:
446
468
  * http://goto/soy-param-migration
447
- * @param {!proto.pulumirpc.AnalyzerHandshakeRequest} msg The msg instance to transform.
469
+ * @param {!proto.pulumirpc.AnalyzerStackConfiguration} msg The msg instance to transform.
448
470
  * @return {!Object}
449
471
  * @suppress {unusedLocalVariables} f is only used for nested messages
450
472
  */
451
- proto.pulumirpc.AnalyzerHandshakeRequest.toObject = function(includeInstance, msg) {
473
+ proto.pulumirpc.AnalyzerStackConfiguration.toObject = function(includeInstance, msg) {
452
474
  var f, obj = {
453
- engineAddress: jspb.Message.getFieldWithDefault(msg, 1, ""),
454
- rootDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
455
- programDirectory: jspb.Message.getFieldWithDefault(msg, 3, ""),
456
- stack: jspb.Message.getFieldWithDefault(msg, 4, ""),
457
- project: jspb.Message.getFieldWithDefault(msg, 5, ""),
458
- organization: jspb.Message.getFieldWithDefault(msg, 6, ""),
459
- dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
475
+ stack: jspb.Message.getFieldWithDefault(msg, 1, ""),
476
+ project: jspb.Message.getFieldWithDefault(msg, 2, ""),
477
+ organization: jspb.Message.getFieldWithDefault(msg, 3, ""),
478
+ dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
460
479
  config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
461
480
  };
462
481
 
@@ -471,23 +490,23 @@ proto.pulumirpc.AnalyzerHandshakeRequest.toObject = function(includeInstance, ms
471
490
  /**
472
491
  * Deserializes binary data (in protobuf wire format).
473
492
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
474
- * @return {!proto.pulumirpc.AnalyzerHandshakeRequest}
493
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration}
475
494
  */
476
- proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinary = function(bytes) {
495
+ proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinary = function(bytes) {
477
496
  var reader = new jspb.BinaryReader(bytes);
478
- var msg = new proto.pulumirpc.AnalyzerHandshakeRequest;
479
- return proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinaryFromReader(msg, reader);
497
+ var msg = new proto.pulumirpc.AnalyzerStackConfiguration;
498
+ return proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinaryFromReader(msg, reader);
480
499
  };
481
500
 
482
501
 
483
502
  /**
484
503
  * Deserializes binary data (in protobuf wire format) from the
485
504
  * given reader into the given message object.
486
- * @param {!proto.pulumirpc.AnalyzerHandshakeRequest} msg The message object to deserialize into.
505
+ * @param {!proto.pulumirpc.AnalyzerStackConfiguration} msg The message object to deserialize into.
487
506
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
488
- * @return {!proto.pulumirpc.AnalyzerHandshakeRequest}
507
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration}
489
508
  */
490
- proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinaryFromReader = function(msg, reader) {
509
+ proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinaryFromReader = function(msg, reader) {
491
510
  while (reader.nextField()) {
492
511
  if (reader.isEndGroup()) {
493
512
  break;
@@ -495,34 +514,22 @@ proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinaryFromReader = function(
495
514
  var field = reader.getFieldNumber();
496
515
  switch (field) {
497
516
  case 1:
498
- var value = /** @type {string} */ (reader.readString());
499
- msg.setEngineAddress(value);
500
- break;
501
- case 2:
502
- var value = /** @type {string} */ (reader.readString());
503
- msg.setRootDirectory(value);
504
- break;
505
- case 3:
506
- var value = /** @type {string} */ (reader.readString());
507
- msg.setProgramDirectory(value);
508
- break;
509
- case 4:
510
517
  var value = /** @type {string} */ (reader.readString());
511
518
  msg.setStack(value);
512
519
  break;
513
- case 5:
520
+ case 2:
514
521
  var value = /** @type {string} */ (reader.readString());
515
522
  msg.setProject(value);
516
523
  break;
517
- case 6:
524
+ case 3:
518
525
  var value = /** @type {string} */ (reader.readString());
519
526
  msg.setOrganization(value);
520
527
  break;
521
- case 7:
528
+ case 4:
522
529
  var value = /** @type {boolean} */ (reader.readBool());
523
530
  msg.setDryRun(value);
524
531
  break;
525
- case 8:
532
+ case 5:
526
533
  var value = new google_protobuf_struct_pb.Struct;
527
534
  reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
528
535
  msg.setConfig(value);
@@ -540,9 +547,9 @@ proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinaryFromReader = function(
540
547
  * Serializes the message to binary data (in protobuf wire format).
541
548
  * @return {!Uint8Array}
542
549
  */
543
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.serializeBinary = function() {
550
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.serializeBinary = function() {
544
551
  var writer = new jspb.BinaryWriter();
545
- proto.pulumirpc.AnalyzerHandshakeRequest.serializeBinaryToWriter(this, writer);
552
+ proto.pulumirpc.AnalyzerStackConfiguration.serializeBinaryToWriter(this, writer);
546
553
  return writer.getResultBuffer();
547
554
  };
548
555
 
@@ -550,65 +557,44 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.serializeBinary = function()
550
557
  /**
551
558
  * Serializes the given message to binary data (in protobuf wire
552
559
  * format), writing to the given BinaryWriter.
553
- * @param {!proto.pulumirpc.AnalyzerHandshakeRequest} message
560
+ * @param {!proto.pulumirpc.AnalyzerStackConfiguration} message
554
561
  * @param {!jspb.BinaryWriter} writer
555
562
  * @suppress {unusedLocalVariables} f is only used for nested messages
556
563
  */
557
- proto.pulumirpc.AnalyzerHandshakeRequest.serializeBinaryToWriter = function(message, writer) {
564
+ proto.pulumirpc.AnalyzerStackConfiguration.serializeBinaryToWriter = function(message, writer) {
558
565
  var f = undefined;
559
- f = message.getEngineAddress();
560
- if (f.length > 0) {
561
- writer.writeString(
562
- 1,
563
- f
564
- );
565
- }
566
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
567
- if (f != null) {
568
- writer.writeString(
569
- 2,
570
- f
571
- );
572
- }
573
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
574
- if (f != null) {
575
- writer.writeString(
576
- 3,
577
- f
578
- );
579
- }
580
566
  f = message.getStack();
581
567
  if (f.length > 0) {
582
568
  writer.writeString(
583
- 4,
569
+ 1,
584
570
  f
585
571
  );
586
572
  }
587
573
  f = message.getProject();
588
574
  if (f.length > 0) {
589
575
  writer.writeString(
590
- 5,
576
+ 2,
591
577
  f
592
578
  );
593
579
  }
594
580
  f = message.getOrganization();
595
581
  if (f.length > 0) {
596
582
  writer.writeString(
597
- 6,
583
+ 3,
598
584
  f
599
585
  );
600
586
  }
601
587
  f = message.getDryRun();
602
588
  if (f) {
603
589
  writer.writeBool(
604
- 7,
590
+ 4,
605
591
  f
606
592
  );
607
593
  }
608
594
  f = message.getConfig();
609
595
  if (f != null) {
610
596
  writer.writeMessage(
611
- 8,
597
+ 5,
612
598
  f,
613
599
  google_protobuf_struct_pb.Struct.serializeBinaryToWriter
614
600
  );
@@ -617,83 +603,102 @@ proto.pulumirpc.AnalyzerHandshakeRequest.serializeBinaryToWriter = function(mess
617
603
 
618
604
 
619
605
  /**
620
- * optional string engine_address = 1;
606
+ * optional string stack = 1;
621
607
  * @return {string}
622
608
  */
623
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getEngineAddress = function() {
609
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.getStack = function() {
624
610
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
625
611
  };
626
612
 
627
613
 
628
614
  /**
629
615
  * @param {string} value
630
- * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
616
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
631
617
  */
632
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setEngineAddress = function(value) {
618
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setStack = function(value) {
633
619
  return jspb.Message.setProto3StringField(this, 1, value);
634
620
  };
635
621
 
636
622
 
637
623
  /**
638
- * optional string root_directory = 2;
624
+ * optional string project = 2;
639
625
  * @return {string}
640
626
  */
641
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getRootDirectory = function() {
627
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.getProject = function() {
642
628
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
643
629
  };
644
630
 
645
631
 
646
632
  /**
647
633
  * @param {string} value
648
- * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
634
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
649
635
  */
650
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setRootDirectory = function(value) {
651
- return jspb.Message.setField(this, 2, value);
636
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setProject = function(value) {
637
+ return jspb.Message.setProto3StringField(this, 2, value);
652
638
  };
653
639
 
654
640
 
655
641
  /**
656
- * Clears the field making it undefined.
657
- * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
642
+ * optional string organization = 3;
643
+ * @return {string}
658
644
  */
659
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearRootDirectory = function() {
660
- return jspb.Message.setField(this, 2, undefined);
645
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.getOrganization = function() {
646
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
661
647
  };
662
648
 
663
649
 
664
650
  /**
665
- * Returns whether this field is set.
651
+ * @param {string} value
652
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
653
+ */
654
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setOrganization = function(value) {
655
+ return jspb.Message.setProto3StringField(this, 3, value);
656
+ };
657
+
658
+
659
+ /**
660
+ * optional bool dry_run = 4;
666
661
  * @return {boolean}
667
662
  */
668
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasRootDirectory = function() {
669
- return jspb.Message.getField(this, 2) != null;
663
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.getDryRun = function() {
664
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
670
665
  };
671
666
 
672
667
 
673
668
  /**
674
- * optional string program_directory = 3;
675
- * @return {string}
669
+ * @param {boolean} value
670
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
676
671
  */
677
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getProgramDirectory = function() {
678
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
672
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setDryRun = function(value) {
673
+ return jspb.Message.setProto3BooleanField(this, 4, value);
679
674
  };
680
675
 
681
676
 
682
677
  /**
683
- * @param {string} value
684
- * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
678
+ * optional google.protobuf.Struct config = 5;
679
+ * @return {?proto.google.protobuf.Struct}
685
680
  */
686
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setProgramDirectory = function(value) {
687
- return jspb.Message.setField(this, 3, value);
681
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.getConfig = function() {
682
+ return /** @type{?proto.google.protobuf.Struct} */ (
683
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5));
688
684
  };
689
685
 
690
686
 
691
687
  /**
692
- * Clears the field making it undefined.
693
- * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
688
+ * @param {?proto.google.protobuf.Struct|undefined} value
689
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
690
+ */
691
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setConfig = function(value) {
692
+ return jspb.Message.setWrapperField(this, 5, value);
693
+ };
694
+
695
+
696
+ /**
697
+ * Clears the message field making it undefined.
698
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
694
699
  */
695
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearProgramDirectory = function() {
696
- return jspb.Message.setField(this, 3, undefined);
700
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.clearConfig = function() {
701
+ return this.setConfig(undefined);
697
702
  };
698
703
 
699
704
 
@@ -701,17 +706,167 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearProgramDirectory = funct
701
706
  * Returns whether this field is set.
702
707
  * @return {boolean}
703
708
  */
704
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasProgramDirectory = function() {
705
- return jspb.Message.getField(this, 3) != null;
709
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.hasConfig = function() {
710
+ return jspb.Message.getField(this, 5) != null;
711
+ };
712
+
713
+
714
+
715
+
716
+
717
+ if (jspb.Message.GENERATE_TO_OBJECT) {
718
+ /**
719
+ * Creates an object representation of this proto.
720
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
721
+ * Optional fields that are not set will be set to undefined.
722
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
723
+ * For the list of reserved names please see:
724
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
725
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
726
+ * JSPB instance for transitional soy proto support:
727
+ * http://goto/soy-param-migration
728
+ * @return {!Object}
729
+ */
730
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.toObject = function(opt_includeInstance) {
731
+ return proto.pulumirpc.AnalyzerHandshakeRequest.toObject(opt_includeInstance, this);
706
732
  };
707
733
 
708
734
 
709
735
  /**
710
- * optional string stack = 4;
736
+ * Static version of the {@see toObject} method.
737
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
738
+ * the JSPB instance for transitional soy proto support:
739
+ * http://goto/soy-param-migration
740
+ * @param {!proto.pulumirpc.AnalyzerHandshakeRequest} msg The msg instance to transform.
741
+ * @return {!Object}
742
+ * @suppress {unusedLocalVariables} f is only used for nested messages
743
+ */
744
+ proto.pulumirpc.AnalyzerHandshakeRequest.toObject = function(includeInstance, msg) {
745
+ var f, obj = {
746
+ engineAddress: jspb.Message.getFieldWithDefault(msg, 1, ""),
747
+ rootDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
748
+ programDirectory: jspb.Message.getFieldWithDefault(msg, 3, ""),
749
+ stackConfiguration: (f = msg.getStackConfiguration()) && proto.pulumirpc.AnalyzerStackConfiguration.toObject(includeInstance, f)
750
+ };
751
+
752
+ if (includeInstance) {
753
+ obj.$jspbMessageInstance = msg;
754
+ }
755
+ return obj;
756
+ };
757
+ }
758
+
759
+
760
+ /**
761
+ * Deserializes binary data (in protobuf wire format).
762
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
763
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest}
764
+ */
765
+ proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinary = function(bytes) {
766
+ var reader = new jspb.BinaryReader(bytes);
767
+ var msg = new proto.pulumirpc.AnalyzerHandshakeRequest;
768
+ return proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinaryFromReader(msg, reader);
769
+ };
770
+
771
+
772
+ /**
773
+ * Deserializes binary data (in protobuf wire format) from the
774
+ * given reader into the given message object.
775
+ * @param {!proto.pulumirpc.AnalyzerHandshakeRequest} msg The message object to deserialize into.
776
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
777
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest}
778
+ */
779
+ proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinaryFromReader = function(msg, reader) {
780
+ while (reader.nextField()) {
781
+ if (reader.isEndGroup()) {
782
+ break;
783
+ }
784
+ var field = reader.getFieldNumber();
785
+ switch (field) {
786
+ case 1:
787
+ var value = /** @type {string} */ (reader.readString());
788
+ msg.setEngineAddress(value);
789
+ break;
790
+ case 2:
791
+ var value = /** @type {string} */ (reader.readString());
792
+ msg.setRootDirectory(value);
793
+ break;
794
+ case 3:
795
+ var value = /** @type {string} */ (reader.readString());
796
+ msg.setProgramDirectory(value);
797
+ break;
798
+ case 4:
799
+ var value = new proto.pulumirpc.AnalyzerStackConfiguration;
800
+ reader.readMessage(value,proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinaryFromReader);
801
+ msg.setStackConfiguration(value);
802
+ break;
803
+ default:
804
+ reader.skipField();
805
+ break;
806
+ }
807
+ }
808
+ return msg;
809
+ };
810
+
811
+
812
+ /**
813
+ * Serializes the message to binary data (in protobuf wire format).
814
+ * @return {!Uint8Array}
815
+ */
816
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.serializeBinary = function() {
817
+ var writer = new jspb.BinaryWriter();
818
+ proto.pulumirpc.AnalyzerHandshakeRequest.serializeBinaryToWriter(this, writer);
819
+ return writer.getResultBuffer();
820
+ };
821
+
822
+
823
+ /**
824
+ * Serializes the given message to binary data (in protobuf wire
825
+ * format), writing to the given BinaryWriter.
826
+ * @param {!proto.pulumirpc.AnalyzerHandshakeRequest} message
827
+ * @param {!jspb.BinaryWriter} writer
828
+ * @suppress {unusedLocalVariables} f is only used for nested messages
829
+ */
830
+ proto.pulumirpc.AnalyzerHandshakeRequest.serializeBinaryToWriter = function(message, writer) {
831
+ var f = undefined;
832
+ f = message.getEngineAddress();
833
+ if (f.length > 0) {
834
+ writer.writeString(
835
+ 1,
836
+ f
837
+ );
838
+ }
839
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
840
+ if (f != null) {
841
+ writer.writeString(
842
+ 2,
843
+ f
844
+ );
845
+ }
846
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
847
+ if (f != null) {
848
+ writer.writeString(
849
+ 3,
850
+ f
851
+ );
852
+ }
853
+ f = message.getStackConfiguration();
854
+ if (f != null) {
855
+ writer.writeMessage(
856
+ 4,
857
+ f,
858
+ proto.pulumirpc.AnalyzerStackConfiguration.serializeBinaryToWriter
859
+ );
860
+ }
861
+ };
862
+
863
+
864
+ /**
865
+ * optional string engine_address = 1;
711
866
  * @return {string}
712
867
  */
713
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getStack = function() {
714
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
868
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getEngineAddress = function() {
869
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
715
870
  };
716
871
 
717
872
 
@@ -719,17 +874,17 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getStack = function() {
719
874
  * @param {string} value
720
875
  * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
721
876
  */
722
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setStack = function(value) {
723
- return jspb.Message.setProto3StringField(this, 4, value);
877
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setEngineAddress = function(value) {
878
+ return jspb.Message.setProto3StringField(this, 1, value);
724
879
  };
725
880
 
726
881
 
727
882
  /**
728
- * optional string project = 5;
883
+ * optional string root_directory = 2;
729
884
  * @return {string}
730
885
  */
731
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getProject = function() {
732
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
886
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getRootDirectory = function() {
887
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
733
888
  };
734
889
 
735
890
 
@@ -737,17 +892,35 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getProject = function() {
737
892
  * @param {string} value
738
893
  * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
739
894
  */
740
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setProject = function(value) {
741
- return jspb.Message.setProto3StringField(this, 5, value);
895
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setRootDirectory = function(value) {
896
+ return jspb.Message.setField(this, 2, value);
897
+ };
898
+
899
+
900
+ /**
901
+ * Clears the field making it undefined.
902
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
903
+ */
904
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearRootDirectory = function() {
905
+ return jspb.Message.setField(this, 2, undefined);
742
906
  };
743
907
 
744
908
 
745
909
  /**
746
- * optional string organization = 6;
910
+ * Returns whether this field is set.
911
+ * @return {boolean}
912
+ */
913
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasRootDirectory = function() {
914
+ return jspb.Message.getField(this, 2) != null;
915
+ };
916
+
917
+
918
+ /**
919
+ * optional string program_directory = 3;
747
920
  * @return {string}
748
921
  */
749
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getOrganization = function() {
750
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
922
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getProgramDirectory = function() {
923
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
751
924
  };
752
925
 
753
926
 
@@ -755,45 +928,45 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getOrganization = function()
755
928
  * @param {string} value
756
929
  * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
757
930
  */
758
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setOrganization = function(value) {
759
- return jspb.Message.setProto3StringField(this, 6, value);
931
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setProgramDirectory = function(value) {
932
+ return jspb.Message.setField(this, 3, value);
760
933
  };
761
934
 
762
935
 
763
936
  /**
764
- * optional bool dry_run = 7;
765
- * @return {boolean}
937
+ * Clears the field making it undefined.
938
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
766
939
  */
767
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getDryRun = function() {
768
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
940
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearProgramDirectory = function() {
941
+ return jspb.Message.setField(this, 3, undefined);
769
942
  };
770
943
 
771
944
 
772
945
  /**
773
- * @param {boolean} value
774
- * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
946
+ * Returns whether this field is set.
947
+ * @return {boolean}
775
948
  */
776
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setDryRun = function(value) {
777
- return jspb.Message.setProto3BooleanField(this, 7, value);
949
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasProgramDirectory = function() {
950
+ return jspb.Message.getField(this, 3) != null;
778
951
  };
779
952
 
780
953
 
781
954
  /**
782
- * optional google.protobuf.Struct config = 8;
783
- * @return {?proto.google.protobuf.Struct}
955
+ * optional AnalyzerStackConfiguration stack_configuration = 4;
956
+ * @return {?proto.pulumirpc.AnalyzerStackConfiguration}
784
957
  */
785
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getConfig = function() {
786
- return /** @type{?proto.google.protobuf.Struct} */ (
787
- jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 8));
958
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getStackConfiguration = function() {
959
+ return /** @type{?proto.pulumirpc.AnalyzerStackConfiguration} */ (
960
+ jspb.Message.getWrapperField(this, proto.pulumirpc.AnalyzerStackConfiguration, 4));
788
961
  };
789
962
 
790
963
 
791
964
  /**
792
- * @param {?proto.google.protobuf.Struct|undefined} value
965
+ * @param {?proto.pulumirpc.AnalyzerStackConfiguration|undefined} value
793
966
  * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
794
967
  */
795
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setConfig = function(value) {
796
- return jspb.Message.setWrapperField(this, 8, value);
968
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setStackConfiguration = function(value) {
969
+ return jspb.Message.setWrapperField(this, 4, value);
797
970
  };
798
971
 
799
972
 
@@ -801,8 +974,8 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setConfig = function(value) {
801
974
  * Clears the message field making it undefined.
802
975
  * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
803
976
  */
804
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearConfig = function() {
805
- return this.setConfig(undefined);
977
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearStackConfiguration = function() {
978
+ return this.setStackConfiguration(undefined);
806
979
  };
807
980
 
808
981
 
@@ -810,8 +983,8 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearConfig = function() {
810
983
  * Returns whether this field is set.
811
984
  * @return {boolean}
812
985
  */
813
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasConfig = function() {
814
- return jspb.Message.getField(this, 8) != null;
986
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasStackConfiguration = function() {
987
+ return jspb.Message.getField(this, 4) != null;
815
988
  };
816
989
 
817
990