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

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pulumi",
3
- "version": "3.168.0-alpha.x1e3ee61",
3
+ "version": "3.168.0-alpha.x303f1a1",
4
4
  "description": "Pulumi's Node.js SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -9,41 +9,6 @@ import * as pulumi_plugin_pb from "./plugin_pb";
9
9
  import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
10
10
  import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
11
11
 
12
- export class AnalyzerStackConfiguration extends jspb.Message {
13
- getStack(): string;
14
- setStack(value: string): AnalyzerStackConfiguration;
15
- getProject(): string;
16
- setProject(value: string): AnalyzerStackConfiguration;
17
- getOrganization(): string;
18
- setOrganization(value: string): AnalyzerStackConfiguration;
19
- getDryRun(): boolean;
20
- setDryRun(value: boolean): AnalyzerStackConfiguration;
21
-
22
- hasConfig(): boolean;
23
- clearConfig(): void;
24
- getConfig(): google_protobuf_struct_pb.Struct | undefined;
25
- setConfig(value?: google_protobuf_struct_pb.Struct): AnalyzerStackConfiguration;
26
-
27
- serializeBinary(): Uint8Array;
28
- toObject(includeInstance?: boolean): AnalyzerStackConfiguration.AsObject;
29
- static toObject(includeInstance: boolean, msg: AnalyzerStackConfiguration): AnalyzerStackConfiguration.AsObject;
30
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
31
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
32
- static serializeBinaryToWriter(message: AnalyzerStackConfiguration, writer: jspb.BinaryWriter): void;
33
- static deserializeBinary(bytes: Uint8Array): AnalyzerStackConfiguration;
34
- static deserializeBinaryFromReader(message: AnalyzerStackConfiguration, reader: jspb.BinaryReader): AnalyzerStackConfiguration;
35
- }
36
-
37
- export namespace AnalyzerStackConfiguration {
38
- export type AsObject = {
39
- stack: string,
40
- project: string,
41
- organization: string,
42
- dryRun: boolean,
43
- config?: google_protobuf_struct_pb.Struct.AsObject,
44
- }
45
- }
46
-
47
12
  export class AnalyzerHandshakeRequest extends jspb.Message {
48
13
  getEngineAddress(): string;
49
14
  setEngineAddress(value: string): AnalyzerHandshakeRequest;
@@ -57,11 +22,19 @@ export class AnalyzerHandshakeRequest extends jspb.Message {
57
22
  clearProgramDirectory(): void;
58
23
  getProgramDirectory(): string | undefined;
59
24
  setProgramDirectory(value: string): AnalyzerHandshakeRequest;
25
+ getStack(): string;
26
+ setStack(value: string): AnalyzerHandshakeRequest;
27
+ getProject(): string;
28
+ setProject(value: string): AnalyzerHandshakeRequest;
29
+ getOrganization(): string;
30
+ setOrganization(value: string): AnalyzerHandshakeRequest;
31
+ getDryRun(): boolean;
32
+ setDryRun(value: boolean): AnalyzerHandshakeRequest;
60
33
 
61
- hasStackConfiguration(): boolean;
62
- clearStackConfiguration(): void;
63
- getStackConfiguration(): AnalyzerStackConfiguration | undefined;
64
- setStackConfiguration(value?: AnalyzerStackConfiguration): AnalyzerHandshakeRequest;
34
+ hasConfig(): boolean;
35
+ clearConfig(): void;
36
+ getConfig(): google_protobuf_struct_pb.Struct | undefined;
37
+ setConfig(value?: google_protobuf_struct_pb.Struct): AnalyzerHandshakeRequest;
65
38
 
66
39
  serializeBinary(): Uint8Array;
67
40
  toObject(includeInstance?: boolean): AnalyzerHandshakeRequest.AsObject;
@@ -78,7 +51,11 @@ export namespace AnalyzerHandshakeRequest {
78
51
  engineAddress: string,
79
52
  rootDirectory?: string,
80
53
  programDirectory?: string,
81
- stackConfiguration?: AnalyzerStackConfiguration.AsObject,
54
+ stack: string,
55
+ project: string,
56
+ organization: string,
57
+ dryRun: boolean,
58
+ config?: google_protobuf_struct_pb.Struct.AsObject,
82
59
  }
83
60
  }
84
61
 
@@ -33,7 +33,6 @@ 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);
37
36
  goog.exportSymbol('proto.pulumirpc.ConfigureAnalyzerRequest', null, global);
38
37
  goog.exportSymbol('proto.pulumirpc.EnforcementLevel', null, global);
39
38
  goog.exportSymbol('proto.pulumirpc.PolicyConfig', null, global);
@@ -41,27 +40,6 @@ goog.exportSymbol('proto.pulumirpc.PolicyConfigSchema', null, global);
41
40
  goog.exportSymbol('proto.pulumirpc.PolicyInfo', null, global);
42
41
  goog.exportSymbol('proto.pulumirpc.RemediateResponse', null, global);
43
42
  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
- }
65
43
  /**
66
44
  * Generated by JsPbCodeGenerator.
67
45
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -456,8 +434,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
456
434
  * http://goto/soy-param-migration
457
435
  * @return {!Object}
458
436
  */
459
- proto.pulumirpc.AnalyzerStackConfiguration.prototype.toObject = function(opt_includeInstance) {
460
- return proto.pulumirpc.AnalyzerStackConfiguration.toObject(opt_includeInstance, this);
437
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.toObject = function(opt_includeInstance) {
438
+ return proto.pulumirpc.AnalyzerHandshakeRequest.toObject(opt_includeInstance, this);
461
439
  };
462
440
 
463
441
 
@@ -466,16 +444,19 @@ proto.pulumirpc.AnalyzerStackConfiguration.prototype.toObject = function(opt_inc
466
444
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
467
445
  * the JSPB instance for transitional soy proto support:
468
446
  * http://goto/soy-param-migration
469
- * @param {!proto.pulumirpc.AnalyzerStackConfiguration} msg The msg instance to transform.
447
+ * @param {!proto.pulumirpc.AnalyzerHandshakeRequest} msg The msg instance to transform.
470
448
  * @return {!Object}
471
449
  * @suppress {unusedLocalVariables} f is only used for nested messages
472
450
  */
473
- proto.pulumirpc.AnalyzerStackConfiguration.toObject = function(includeInstance, msg) {
451
+ proto.pulumirpc.AnalyzerHandshakeRequest.toObject = function(includeInstance, msg) {
474
452
  var f, obj = {
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),
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),
479
460
  config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
480
461
  };
481
462
 
@@ -490,23 +471,23 @@ proto.pulumirpc.AnalyzerStackConfiguration.toObject = function(includeInstance,
490
471
  /**
491
472
  * Deserializes binary data (in protobuf wire format).
492
473
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
493
- * @return {!proto.pulumirpc.AnalyzerStackConfiguration}
474
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest}
494
475
  */
495
- proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinary = function(bytes) {
476
+ proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinary = function(bytes) {
496
477
  var reader = new jspb.BinaryReader(bytes);
497
- var msg = new proto.pulumirpc.AnalyzerStackConfiguration;
498
- return proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinaryFromReader(msg, reader);
478
+ var msg = new proto.pulumirpc.AnalyzerHandshakeRequest;
479
+ return proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinaryFromReader(msg, reader);
499
480
  };
500
481
 
501
482
 
502
483
  /**
503
484
  * Deserializes binary data (in protobuf wire format) from the
504
485
  * given reader into the given message object.
505
- * @param {!proto.pulumirpc.AnalyzerStackConfiguration} msg The message object to deserialize into.
486
+ * @param {!proto.pulumirpc.AnalyzerHandshakeRequest} msg The message object to deserialize into.
506
487
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
507
- * @return {!proto.pulumirpc.AnalyzerStackConfiguration}
488
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest}
508
489
  */
509
- proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinaryFromReader = function(msg, reader) {
490
+ proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinaryFromReader = function(msg, reader) {
510
491
  while (reader.nextField()) {
511
492
  if (reader.isEndGroup()) {
512
493
  break;
@@ -515,21 +496,33 @@ proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinaryFromReader = functio
515
496
  switch (field) {
516
497
  case 1:
517
498
  var value = /** @type {string} */ (reader.readString());
518
- msg.setStack(value);
499
+ msg.setEngineAddress(value);
519
500
  break;
520
501
  case 2:
521
502
  var value = /** @type {string} */ (reader.readString());
522
- msg.setProject(value);
503
+ msg.setRootDirectory(value);
523
504
  break;
524
505
  case 3:
525
506
  var value = /** @type {string} */ (reader.readString());
526
- msg.setOrganization(value);
507
+ msg.setProgramDirectory(value);
527
508
  break;
528
509
  case 4:
510
+ var value = /** @type {string} */ (reader.readString());
511
+ msg.setStack(value);
512
+ break;
513
+ case 5:
514
+ var value = /** @type {string} */ (reader.readString());
515
+ msg.setProject(value);
516
+ break;
517
+ case 6:
518
+ var value = /** @type {string} */ (reader.readString());
519
+ msg.setOrganization(value);
520
+ break;
521
+ case 7:
529
522
  var value = /** @type {boolean} */ (reader.readBool());
530
523
  msg.setDryRun(value);
531
524
  break;
532
- case 5:
525
+ case 8:
533
526
  var value = new google_protobuf_struct_pb.Struct;
534
527
  reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
535
528
  msg.setConfig(value);
@@ -547,9 +540,9 @@ proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinaryFromReader = functio
547
540
  * Serializes the message to binary data (in protobuf wire format).
548
541
  * @return {!Uint8Array}
549
542
  */
550
- proto.pulumirpc.AnalyzerStackConfiguration.prototype.serializeBinary = function() {
543
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.serializeBinary = function() {
551
544
  var writer = new jspb.BinaryWriter();
552
- proto.pulumirpc.AnalyzerStackConfiguration.serializeBinaryToWriter(this, writer);
545
+ proto.pulumirpc.AnalyzerHandshakeRequest.serializeBinaryToWriter(this, writer);
553
546
  return writer.getResultBuffer();
554
547
  };
555
548
 
@@ -557,44 +550,65 @@ proto.pulumirpc.AnalyzerStackConfiguration.prototype.serializeBinary = function(
557
550
  /**
558
551
  * Serializes the given message to binary data (in protobuf wire
559
552
  * format), writing to the given BinaryWriter.
560
- * @param {!proto.pulumirpc.AnalyzerStackConfiguration} message
553
+ * @param {!proto.pulumirpc.AnalyzerHandshakeRequest} message
561
554
  * @param {!jspb.BinaryWriter} writer
562
555
  * @suppress {unusedLocalVariables} f is only used for nested messages
563
556
  */
564
- proto.pulumirpc.AnalyzerStackConfiguration.serializeBinaryToWriter = function(message, writer) {
557
+ proto.pulumirpc.AnalyzerHandshakeRequest.serializeBinaryToWriter = function(message, writer) {
565
558
  var f = undefined;
566
- f = message.getStack();
559
+ f = message.getEngineAddress();
567
560
  if (f.length > 0) {
568
561
  writer.writeString(
569
562
  1,
570
563
  f
571
564
  );
572
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
+ f = message.getStack();
581
+ if (f.length > 0) {
582
+ writer.writeString(
583
+ 4,
584
+ f
585
+ );
586
+ }
573
587
  f = message.getProject();
574
588
  if (f.length > 0) {
575
589
  writer.writeString(
576
- 2,
590
+ 5,
577
591
  f
578
592
  );
579
593
  }
580
594
  f = message.getOrganization();
581
595
  if (f.length > 0) {
582
596
  writer.writeString(
583
- 3,
597
+ 6,
584
598
  f
585
599
  );
586
600
  }
587
601
  f = message.getDryRun();
588
602
  if (f) {
589
603
  writer.writeBool(
590
- 4,
604
+ 7,
591
605
  f
592
606
  );
593
607
  }
594
608
  f = message.getConfig();
595
609
  if (f != null) {
596
610
  writer.writeMessage(
597
- 5,
611
+ 8,
598
612
  f,
599
613
  google_protobuf_struct_pb.Struct.serializeBinaryToWriter
600
614
  );
@@ -603,102 +617,83 @@ proto.pulumirpc.AnalyzerStackConfiguration.serializeBinaryToWriter = function(me
603
617
 
604
618
 
605
619
  /**
606
- * optional string stack = 1;
620
+ * optional string engine_address = 1;
607
621
  * @return {string}
608
622
  */
609
- proto.pulumirpc.AnalyzerStackConfiguration.prototype.getStack = function() {
623
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getEngineAddress = function() {
610
624
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
611
625
  };
612
626
 
613
627
 
614
628
  /**
615
629
  * @param {string} value
616
- * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
630
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
617
631
  */
618
- proto.pulumirpc.AnalyzerStackConfiguration.prototype.setStack = function(value) {
632
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setEngineAddress = function(value) {
619
633
  return jspb.Message.setProto3StringField(this, 1, value);
620
634
  };
621
635
 
622
636
 
623
637
  /**
624
- * optional string project = 2;
638
+ * optional string root_directory = 2;
625
639
  * @return {string}
626
640
  */
627
- proto.pulumirpc.AnalyzerStackConfiguration.prototype.getProject = function() {
641
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getRootDirectory = function() {
628
642
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
629
643
  };
630
644
 
631
645
 
632
646
  /**
633
647
  * @param {string} value
634
- * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
635
- */
636
- proto.pulumirpc.AnalyzerStackConfiguration.prototype.setProject = function(value) {
637
- return jspb.Message.setProto3StringField(this, 2, value);
638
- };
639
-
640
-
641
- /**
642
- * optional string organization = 3;
643
- * @return {string}
648
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
644
649
  */
645
- proto.pulumirpc.AnalyzerStackConfiguration.prototype.getOrganization = function() {
646
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
650
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setRootDirectory = function(value) {
651
+ return jspb.Message.setField(this, 2, value);
647
652
  };
648
653
 
649
654
 
650
655
  /**
651
- * @param {string} value
652
- * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
656
+ * Clears the field making it undefined.
657
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
653
658
  */
654
- proto.pulumirpc.AnalyzerStackConfiguration.prototype.setOrganization = function(value) {
655
- return jspb.Message.setProto3StringField(this, 3, value);
659
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearRootDirectory = function() {
660
+ return jspb.Message.setField(this, 2, undefined);
656
661
  };
657
662
 
658
663
 
659
664
  /**
660
- * optional bool dry_run = 4;
665
+ * Returns whether this field is set.
661
666
  * @return {boolean}
662
667
  */
663
- proto.pulumirpc.AnalyzerStackConfiguration.prototype.getDryRun = function() {
664
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
668
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasRootDirectory = function() {
669
+ return jspb.Message.getField(this, 2) != null;
665
670
  };
666
671
 
667
672
 
668
673
  /**
669
- * @param {boolean} value
670
- * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
674
+ * optional string program_directory = 3;
675
+ * @return {string}
671
676
  */
672
- proto.pulumirpc.AnalyzerStackConfiguration.prototype.setDryRun = function(value) {
673
- return jspb.Message.setProto3BooleanField(this, 4, value);
677
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getProgramDirectory = function() {
678
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
674
679
  };
675
680
 
676
681
 
677
682
  /**
678
- * optional google.protobuf.Struct config = 5;
679
- * @return {?proto.google.protobuf.Struct}
683
+ * @param {string} value
684
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
680
685
  */
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));
684
- };
685
-
686
-
687
- /**
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);
686
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setProgramDirectory = function(value) {
687
+ return jspb.Message.setField(this, 3, value);
693
688
  };
694
689
 
695
690
 
696
691
  /**
697
- * Clears the message field making it undefined.
698
- * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
692
+ * Clears the field making it undefined.
693
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
699
694
  */
700
- proto.pulumirpc.AnalyzerStackConfiguration.prototype.clearConfig = function() {
701
- return this.setConfig(undefined);
695
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearProgramDirectory = function() {
696
+ return jspb.Message.setField(this, 3, undefined);
702
697
  };
703
698
 
704
699
 
@@ -706,167 +701,17 @@ proto.pulumirpc.AnalyzerStackConfiguration.prototype.clearConfig = function() {
706
701
  * Returns whether this field is set.
707
702
  * @return {boolean}
708
703
  */
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);
732
- };
733
-
734
-
735
- /**
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
- }
704
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasProgramDirectory = function() {
705
+ return jspb.Message.getField(this, 3) != null;
861
706
  };
862
707
 
863
708
 
864
709
  /**
865
- * optional string engine_address = 1;
710
+ * optional string stack = 4;
866
711
  * @return {string}
867
712
  */
868
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getEngineAddress = function() {
869
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
713
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getStack = function() {
714
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
870
715
  };
871
716
 
872
717
 
@@ -874,17 +719,17 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getEngineAddress = function()
874
719
  * @param {string} value
875
720
  * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
876
721
  */
877
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setEngineAddress = function(value) {
878
- return jspb.Message.setProto3StringField(this, 1, value);
722
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setStack = function(value) {
723
+ return jspb.Message.setProto3StringField(this, 4, value);
879
724
  };
880
725
 
881
726
 
882
727
  /**
883
- * optional string root_directory = 2;
728
+ * optional string project = 5;
884
729
  * @return {string}
885
730
  */
886
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getRootDirectory = function() {
887
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
731
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getProject = function() {
732
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
888
733
  };
889
734
 
890
735
 
@@ -892,35 +737,17 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getRootDirectory = function()
892
737
  * @param {string} value
893
738
  * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
894
739
  */
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);
906
- };
907
-
908
-
909
- /**
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;
740
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setProject = function(value) {
741
+ return jspb.Message.setProto3StringField(this, 5, value);
915
742
  };
916
743
 
917
744
 
918
745
  /**
919
- * optional string program_directory = 3;
746
+ * optional string organization = 6;
920
747
  * @return {string}
921
748
  */
922
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getProgramDirectory = function() {
923
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
749
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getOrganization = function() {
750
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
924
751
  };
925
752
 
926
753
 
@@ -928,45 +755,45 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getProgramDirectory = functio
928
755
  * @param {string} value
929
756
  * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
930
757
  */
931
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setProgramDirectory = function(value) {
932
- return jspb.Message.setField(this, 3, value);
758
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setOrganization = function(value) {
759
+ return jspb.Message.setProto3StringField(this, 6, value);
933
760
  };
934
761
 
935
762
 
936
763
  /**
937
- * Clears the field making it undefined.
938
- * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
764
+ * optional bool dry_run = 7;
765
+ * @return {boolean}
939
766
  */
940
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearProgramDirectory = function() {
941
- return jspb.Message.setField(this, 3, undefined);
767
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getDryRun = function() {
768
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
942
769
  };
943
770
 
944
771
 
945
772
  /**
946
- * Returns whether this field is set.
947
- * @return {boolean}
773
+ * @param {boolean} value
774
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
948
775
  */
949
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasProgramDirectory = function() {
950
- return jspb.Message.getField(this, 3) != null;
776
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setDryRun = function(value) {
777
+ return jspb.Message.setProto3BooleanField(this, 7, value);
951
778
  };
952
779
 
953
780
 
954
781
  /**
955
- * optional AnalyzerStackConfiguration stack_configuration = 4;
956
- * @return {?proto.pulumirpc.AnalyzerStackConfiguration}
782
+ * optional google.protobuf.Struct config = 8;
783
+ * @return {?proto.google.protobuf.Struct}
957
784
  */
958
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getStackConfiguration = function() {
959
- return /** @type{?proto.pulumirpc.AnalyzerStackConfiguration} */ (
960
- jspb.Message.getWrapperField(this, proto.pulumirpc.AnalyzerStackConfiguration, 4));
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));
961
788
  };
962
789
 
963
790
 
964
791
  /**
965
- * @param {?proto.pulumirpc.AnalyzerStackConfiguration|undefined} value
792
+ * @param {?proto.google.protobuf.Struct|undefined} value
966
793
  * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
967
794
  */
968
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setStackConfiguration = function(value) {
969
- return jspb.Message.setWrapperField(this, 4, value);
795
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setConfig = function(value) {
796
+ return jspb.Message.setWrapperField(this, 8, value);
970
797
  };
971
798
 
972
799
 
@@ -974,8 +801,8 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setStackConfiguration = funct
974
801
  * Clears the message field making it undefined.
975
802
  * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
976
803
  */
977
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearStackConfiguration = function() {
978
- return this.setStackConfiguration(undefined);
804
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearConfig = function() {
805
+ return this.setConfig(undefined);
979
806
  };
980
807
 
981
808
 
@@ -983,8 +810,8 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearStackConfiguration = fun
983
810
  * Returns whether this field is set.
984
811
  * @return {boolean}
985
812
  */
986
- proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasStackConfiguration = function() {
987
- return jspb.Message.getField(this, 4) != null;
813
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasConfig = function() {
814
+ return jspb.Message.getField(this, 8) != null;
988
815
  };
989
816
 
990
817
 
package/version.js CHANGED
@@ -13,5 +13,5 @@
13
13
  // See the License for the specific language governing permissions and
14
14
  // limitations under the License.
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.version = "3.168.0-alpha.x1e3ee61";
16
+ exports.version = "3.168.0-alpha.x303f1a1";
17
17
  //# sourceMappingURL=version.js.map