@pulumi/pulumi 3.170.0-alpha.x6eb80e0 → 3.170.0-alpha.x901ddbb

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.170.0-alpha.x6eb80e0",
3
+ "version": "3.170.0-alpha.x901ddbb",
4
4
  "description": "Pulumi's Node.js SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -18,7 +18,6 @@ interface IAnalyzerService extends grpc.ServiceDefinition<grpc.UntypedServiceImp
18
18
  getPluginInfo: IAnalyzerService_IGetPluginInfo;
19
19
  configure: IAnalyzerService_IConfigure;
20
20
  handshake: IAnalyzerService_IHandshake;
21
- configureStack: IAnalyzerService_IConfigureStack;
22
21
  }
23
22
 
24
23
  interface IAnalyzerService_IAnalyze extends grpc.MethodDefinition<pulumi_analyzer_pb.AnalyzeRequest, pulumi_analyzer_pb.AnalyzeResponse> {
@@ -84,15 +83,6 @@ interface IAnalyzerService_IHandshake extends grpc.MethodDefinition<pulumi_analy
84
83
  responseSerialize: grpc.serialize<pulumi_analyzer_pb.AnalyzerHandshakeResponse>;
85
84
  responseDeserialize: grpc.deserialize<pulumi_analyzer_pb.AnalyzerHandshakeResponse>;
86
85
  }
87
- interface IAnalyzerService_IConfigureStack extends grpc.MethodDefinition<pulumi_analyzer_pb.AnalyzerStackConfigureRequest, pulumi_analyzer_pb.AnalyzerStackConfigureResponse> {
88
- path: "/pulumirpc.Analyzer/ConfigureStack";
89
- requestStream: false;
90
- responseStream: false;
91
- requestSerialize: grpc.serialize<pulumi_analyzer_pb.AnalyzerStackConfigureRequest>;
92
- requestDeserialize: grpc.deserialize<pulumi_analyzer_pb.AnalyzerStackConfigureRequest>;
93
- responseSerialize: grpc.serialize<pulumi_analyzer_pb.AnalyzerStackConfigureResponse>;
94
- responseDeserialize: grpc.deserialize<pulumi_analyzer_pb.AnalyzerStackConfigureResponse>;
95
- }
96
86
 
97
87
  export const AnalyzerService: IAnalyzerService;
98
88
 
@@ -104,7 +94,6 @@ export interface IAnalyzerServer extends grpc.UntypedServiceImplementation {
104
94
  getPluginInfo: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, pulumi_plugin_pb.PluginInfo>;
105
95
  configure: grpc.handleUnaryCall<pulumi_analyzer_pb.ConfigureAnalyzerRequest, google_protobuf_empty_pb.Empty>;
106
96
  handshake: grpc.handleUnaryCall<pulumi_analyzer_pb.AnalyzerHandshakeRequest, pulumi_analyzer_pb.AnalyzerHandshakeResponse>;
107
- configureStack: grpc.handleUnaryCall<pulumi_analyzer_pb.AnalyzerStackConfigureRequest, pulumi_analyzer_pb.AnalyzerStackConfigureResponse>;
108
97
  }
109
98
 
110
99
  export interface IAnalyzerClient {
@@ -129,9 +118,6 @@ export interface IAnalyzerClient {
129
118
  handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
130
119
  handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
131
120
  handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
132
- configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
133
- configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
134
- configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
135
121
  }
136
122
 
137
123
  export class AnalyzerClient extends grpc.Client implements IAnalyzerClient {
@@ -157,7 +143,4 @@ export class AnalyzerClient extends grpc.Client implements IAnalyzerClient {
157
143
  public handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
158
144
  public handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
159
145
  public handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
160
- public configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
161
- public configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
162
- public configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
163
146
  }
@@ -99,28 +99,6 @@ function deserialize_pulumirpc_AnalyzerInfo(buffer_arg) {
99
99
  return pulumi_analyzer_pb.AnalyzerInfo.deserializeBinary(new Uint8Array(buffer_arg));
100
100
  }
101
101
 
102
- function serialize_pulumirpc_AnalyzerStackConfigureRequest(arg) {
103
- if (!(arg instanceof pulumi_analyzer_pb.AnalyzerStackConfigureRequest)) {
104
- throw new Error('Expected argument of type pulumirpc.AnalyzerStackConfigureRequest');
105
- }
106
- return Buffer.from(arg.serializeBinary());
107
- }
108
-
109
- function deserialize_pulumirpc_AnalyzerStackConfigureRequest(buffer_arg) {
110
- return pulumi_analyzer_pb.AnalyzerStackConfigureRequest.deserializeBinary(new Uint8Array(buffer_arg));
111
- }
112
-
113
- function serialize_pulumirpc_AnalyzerStackConfigureResponse(arg) {
114
- if (!(arg instanceof pulumi_analyzer_pb.AnalyzerStackConfigureResponse)) {
115
- throw new Error('Expected argument of type pulumirpc.AnalyzerStackConfigureResponse');
116
- }
117
- return Buffer.from(arg.serializeBinary());
118
- }
119
-
120
- function deserialize_pulumirpc_AnalyzerStackConfigureResponse(buffer_arg) {
121
- return pulumi_analyzer_pb.AnalyzerStackConfigureResponse.deserializeBinary(new Uint8Array(buffer_arg));
122
- }
123
-
124
102
  function serialize_pulumirpc_ConfigureAnalyzerRequest(arg) {
125
103
  if (!(arg instanceof pulumi_analyzer_pb.ConfigureAnalyzerRequest)) {
126
104
  throw new Error('Expected argument of type pulumirpc.ConfigureAnalyzerRequest');
@@ -250,20 +228,6 @@ handshake: {
250
228
  responseSerialize: serialize_pulumirpc_AnalyzerHandshakeResponse,
251
229
  responseDeserialize: deserialize_pulumirpc_AnalyzerHandshakeResponse,
252
230
  },
253
- // `ConfigureStack` is always called if the engine is using the analyzer to analyze resources in a specific stack.
254
- // This method is not always called, for example if the engine is just booting the analyzer up to call
255
- // GetAnalyzerInfo.
256
- configureStack: {
257
- path: '/pulumirpc.Analyzer/ConfigureStack',
258
- requestStream: false,
259
- responseStream: false,
260
- requestType: pulumi_analyzer_pb.AnalyzerStackConfigureRequest,
261
- responseType: pulumi_analyzer_pb.AnalyzerStackConfigureResponse,
262
- requestSerialize: serialize_pulumirpc_AnalyzerStackConfigureRequest,
263
- requestDeserialize: deserialize_pulumirpc_AnalyzerStackConfigureRequest,
264
- responseSerialize: serialize_pulumirpc_AnalyzerStackConfigureResponse,
265
- responseDeserialize: deserialize_pulumirpc_AnalyzerStackConfigureResponse,
266
- },
267
231
  };
268
232
 
269
233
  exports.AnalyzerClient = grpc.makeGenericClientConstructor(AnalyzerService);
@@ -9,32 +9,32 @@ 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 AnalyzerStackConfigureRequest extends jspb.Message {
12
+ export class AnalyzerStackConfiguration extends jspb.Message {
13
13
  getStack(): string;
14
- setStack(value: string): AnalyzerStackConfigureRequest;
14
+ setStack(value: string): AnalyzerStackConfiguration;
15
15
  getProject(): string;
16
- setProject(value: string): AnalyzerStackConfigureRequest;
16
+ setProject(value: string): AnalyzerStackConfiguration;
17
17
  getOrganization(): string;
18
- setOrganization(value: string): AnalyzerStackConfigureRequest;
18
+ setOrganization(value: string): AnalyzerStackConfiguration;
19
19
  getDryRun(): boolean;
20
- setDryRun(value: boolean): AnalyzerStackConfigureRequest;
20
+ setDryRun(value: boolean): AnalyzerStackConfiguration;
21
21
 
22
22
  hasConfig(): boolean;
23
23
  clearConfig(): void;
24
24
  getConfig(): google_protobuf_struct_pb.Struct | undefined;
25
- setConfig(value?: google_protobuf_struct_pb.Struct): AnalyzerStackConfigureRequest;
25
+ setConfig(value?: google_protobuf_struct_pb.Struct): AnalyzerStackConfiguration;
26
26
 
27
27
  serializeBinary(): Uint8Array;
28
- toObject(includeInstance?: boolean): AnalyzerStackConfigureRequest.AsObject;
29
- static toObject(includeInstance: boolean, msg: AnalyzerStackConfigureRequest): AnalyzerStackConfigureRequest.AsObject;
28
+ toObject(includeInstance?: boolean): AnalyzerStackConfiguration.AsObject;
29
+ static toObject(includeInstance: boolean, msg: AnalyzerStackConfiguration): AnalyzerStackConfiguration.AsObject;
30
30
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
31
31
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
32
- static serializeBinaryToWriter(message: AnalyzerStackConfigureRequest, writer: jspb.BinaryWriter): void;
33
- static deserializeBinary(bytes: Uint8Array): AnalyzerStackConfigureRequest;
34
- static deserializeBinaryFromReader(message: AnalyzerStackConfigureRequest, reader: jspb.BinaryReader): AnalyzerStackConfigureRequest;
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
35
  }
36
36
 
37
- export namespace AnalyzerStackConfigureRequest {
37
+ export namespace AnalyzerStackConfiguration {
38
38
  export type AsObject = {
39
39
  stack: string,
40
40
  project: string,
@@ -44,23 +44,6 @@ export namespace AnalyzerStackConfigureRequest {
44
44
  }
45
45
  }
46
46
 
47
- export class AnalyzerStackConfigureResponse extends jspb.Message {
48
-
49
- serializeBinary(): Uint8Array;
50
- toObject(includeInstance?: boolean): AnalyzerStackConfigureResponse.AsObject;
51
- static toObject(includeInstance: boolean, msg: AnalyzerStackConfigureResponse): AnalyzerStackConfigureResponse.AsObject;
52
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
53
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
54
- static serializeBinaryToWriter(message: AnalyzerStackConfigureResponse, writer: jspb.BinaryWriter): void;
55
- static deserializeBinary(bytes: Uint8Array): AnalyzerStackConfigureResponse;
56
- static deserializeBinaryFromReader(message: AnalyzerStackConfigureResponse, reader: jspb.BinaryReader): AnalyzerStackConfigureResponse;
57
- }
58
-
59
- export namespace AnalyzerStackConfigureResponse {
60
- export type AsObject = {
61
- }
62
- }
63
-
64
47
  export class AnalyzerHandshakeRequest extends jspb.Message {
65
48
  getEngineAddress(): string;
66
49
  setEngineAddress(value: string): AnalyzerHandshakeRequest;
@@ -75,6 +58,11 @@ export class AnalyzerHandshakeRequest extends jspb.Message {
75
58
  getProgramDirectory(): string | undefined;
76
59
  setProgramDirectory(value: string): AnalyzerHandshakeRequest;
77
60
 
61
+ hasStackConfiguration(): boolean;
62
+ clearStackConfiguration(): void;
63
+ getStackConfiguration(): AnalyzerStackConfiguration | undefined;
64
+ setStackConfiguration(value?: AnalyzerStackConfiguration): AnalyzerHandshakeRequest;
65
+
78
66
  serializeBinary(): Uint8Array;
79
67
  toObject(includeInstance?: boolean): AnalyzerHandshakeRequest.AsObject;
80
68
  static toObject(includeInstance: boolean, msg: AnalyzerHandshakeRequest): AnalyzerHandshakeRequest.AsObject;
@@ -90,6 +78,7 @@ export namespace AnalyzerHandshakeRequest {
90
78
  engineAddress: string,
91
79
  rootDirectory?: string,
92
80
  programDirectory?: string,
81
+ stackConfiguration?: AnalyzerStackConfiguration.AsObject,
93
82
  }
94
83
  }
95
84
 
@@ -33,8 +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.AnalyzerStackConfigureRequest', null, global);
37
- goog.exportSymbol('proto.pulumirpc.AnalyzerStackConfigureResponse', null, global);
36
+ goog.exportSymbol('proto.pulumirpc.AnalyzerStackConfiguration', null, global);
38
37
  goog.exportSymbol('proto.pulumirpc.ConfigureAnalyzerRequest', null, global);
39
38
  goog.exportSymbol('proto.pulumirpc.EnforcementLevel', null, global);
40
39
  goog.exportSymbol('proto.pulumirpc.PolicyConfig', null, global);
@@ -52,37 +51,16 @@ goog.exportSymbol('proto.pulumirpc.Remediation', null, global);
52
51
  * @extends {jspb.Message}
53
52
  * @constructor
54
53
  */
55
- proto.pulumirpc.AnalyzerStackConfigureRequest = function(opt_data) {
54
+ proto.pulumirpc.AnalyzerStackConfiguration = function(opt_data) {
56
55
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
57
56
  };
58
- goog.inherits(proto.pulumirpc.AnalyzerStackConfigureRequest, jspb.Message);
57
+ goog.inherits(proto.pulumirpc.AnalyzerStackConfiguration, jspb.Message);
59
58
  if (goog.DEBUG && !COMPILED) {
60
59
  /**
61
60
  * @public
62
61
  * @override
63
62
  */
64
- proto.pulumirpc.AnalyzerStackConfigureRequest.displayName = 'proto.pulumirpc.AnalyzerStackConfigureRequest';
65
- }
66
- /**
67
- * Generated by JsPbCodeGenerator.
68
- * @param {Array=} opt_data Optional initial data array, typically from a
69
- * server response, or constructed directly in Javascript. The array is used
70
- * in place and becomes part of the constructed object. It is not cloned.
71
- * If no data is provided, the constructed object will be empty, but still
72
- * valid.
73
- * @extends {jspb.Message}
74
- * @constructor
75
- */
76
- proto.pulumirpc.AnalyzerStackConfigureResponse = function(opt_data) {
77
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
78
- };
79
- goog.inherits(proto.pulumirpc.AnalyzerStackConfigureResponse, jspb.Message);
80
- if (goog.DEBUG && !COMPILED) {
81
- /**
82
- * @public
83
- * @override
84
- */
85
- proto.pulumirpc.AnalyzerStackConfigureResponse.displayName = 'proto.pulumirpc.AnalyzerStackConfigureResponse';
63
+ proto.pulumirpc.AnalyzerStackConfiguration.displayName = 'proto.pulumirpc.AnalyzerStackConfiguration';
86
64
  }
87
65
  /**
88
66
  * Generated by JsPbCodeGenerator.
@@ -478,8 +456,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
478
456
  * http://goto/soy-param-migration
479
457
  * @return {!Object}
480
458
  */
481
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.toObject = function(opt_includeInstance) {
482
- return proto.pulumirpc.AnalyzerStackConfigureRequest.toObject(opt_includeInstance, this);
459
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.toObject = function(opt_includeInstance) {
460
+ return proto.pulumirpc.AnalyzerStackConfiguration.toObject(opt_includeInstance, this);
483
461
  };
484
462
 
485
463
 
@@ -488,11 +466,11 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.toObject = function(opt_
488
466
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
489
467
  * the JSPB instance for transitional soy proto support:
490
468
  * http://goto/soy-param-migration
491
- * @param {!proto.pulumirpc.AnalyzerStackConfigureRequest} msg The msg instance to transform.
469
+ * @param {!proto.pulumirpc.AnalyzerStackConfiguration} msg The msg instance to transform.
492
470
  * @return {!Object}
493
471
  * @suppress {unusedLocalVariables} f is only used for nested messages
494
472
  */
495
- proto.pulumirpc.AnalyzerStackConfigureRequest.toObject = function(includeInstance, msg) {
473
+ proto.pulumirpc.AnalyzerStackConfiguration.toObject = function(includeInstance, msg) {
496
474
  var f, obj = {
497
475
  stack: jspb.Message.getFieldWithDefault(msg, 1, ""),
498
476
  project: jspb.Message.getFieldWithDefault(msg, 2, ""),
@@ -512,23 +490,23 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.toObject = function(includeInstanc
512
490
  /**
513
491
  * Deserializes binary data (in protobuf wire format).
514
492
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
515
- * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest}
493
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration}
516
494
  */
517
- proto.pulumirpc.AnalyzerStackConfigureRequest.deserializeBinary = function(bytes) {
495
+ proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinary = function(bytes) {
518
496
  var reader = new jspb.BinaryReader(bytes);
519
- var msg = new proto.pulumirpc.AnalyzerStackConfigureRequest;
520
- return proto.pulumirpc.AnalyzerStackConfigureRequest.deserializeBinaryFromReader(msg, reader);
497
+ var msg = new proto.pulumirpc.AnalyzerStackConfiguration;
498
+ return proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinaryFromReader(msg, reader);
521
499
  };
522
500
 
523
501
 
524
502
  /**
525
503
  * Deserializes binary data (in protobuf wire format) from the
526
504
  * given reader into the given message object.
527
- * @param {!proto.pulumirpc.AnalyzerStackConfigureRequest} msg The message object to deserialize into.
505
+ * @param {!proto.pulumirpc.AnalyzerStackConfiguration} msg The message object to deserialize into.
528
506
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
529
- * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest}
507
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration}
530
508
  */
531
- proto.pulumirpc.AnalyzerStackConfigureRequest.deserializeBinaryFromReader = function(msg, reader) {
509
+ proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinaryFromReader = function(msg, reader) {
532
510
  while (reader.nextField()) {
533
511
  if (reader.isEndGroup()) {
534
512
  break;
@@ -569,9 +547,9 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.deserializeBinaryFromReader = func
569
547
  * Serializes the message to binary data (in protobuf wire format).
570
548
  * @return {!Uint8Array}
571
549
  */
572
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.serializeBinary = function() {
550
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.serializeBinary = function() {
573
551
  var writer = new jspb.BinaryWriter();
574
- proto.pulumirpc.AnalyzerStackConfigureRequest.serializeBinaryToWriter(this, writer);
552
+ proto.pulumirpc.AnalyzerStackConfiguration.serializeBinaryToWriter(this, writer);
575
553
  return writer.getResultBuffer();
576
554
  };
577
555
 
@@ -579,11 +557,11 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.serializeBinary = functi
579
557
  /**
580
558
  * Serializes the given message to binary data (in protobuf wire
581
559
  * format), writing to the given BinaryWriter.
582
- * @param {!proto.pulumirpc.AnalyzerStackConfigureRequest} message
560
+ * @param {!proto.pulumirpc.AnalyzerStackConfiguration} message
583
561
  * @param {!jspb.BinaryWriter} writer
584
562
  * @suppress {unusedLocalVariables} f is only used for nested messages
585
563
  */
586
- proto.pulumirpc.AnalyzerStackConfigureRequest.serializeBinaryToWriter = function(message, writer) {
564
+ proto.pulumirpc.AnalyzerStackConfiguration.serializeBinaryToWriter = function(message, writer) {
587
565
  var f = undefined;
588
566
  f = message.getStack();
589
567
  if (f.length > 0) {
@@ -628,16 +606,16 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.serializeBinaryToWriter = function
628
606
  * optional string stack = 1;
629
607
  * @return {string}
630
608
  */
631
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getStack = function() {
609
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.getStack = function() {
632
610
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
633
611
  };
634
612
 
635
613
 
636
614
  /**
637
615
  * @param {string} value
638
- * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
616
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
639
617
  */
640
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setStack = function(value) {
618
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setStack = function(value) {
641
619
  return jspb.Message.setProto3StringField(this, 1, value);
642
620
  };
643
621
 
@@ -646,16 +624,16 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setStack = function(valu
646
624
  * optional string project = 2;
647
625
  * @return {string}
648
626
  */
649
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getProject = function() {
627
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.getProject = function() {
650
628
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
651
629
  };
652
630
 
653
631
 
654
632
  /**
655
633
  * @param {string} value
656
- * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
634
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
657
635
  */
658
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setProject = function(value) {
636
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setProject = function(value) {
659
637
  return jspb.Message.setProto3StringField(this, 2, value);
660
638
  };
661
639
 
@@ -664,16 +642,16 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setProject = function(va
664
642
  * optional string organization = 3;
665
643
  * @return {string}
666
644
  */
667
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getOrganization = function() {
645
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.getOrganization = function() {
668
646
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
669
647
  };
670
648
 
671
649
 
672
650
  /**
673
651
  * @param {string} value
674
- * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
652
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
675
653
  */
676
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setOrganization = function(value) {
654
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setOrganization = function(value) {
677
655
  return jspb.Message.setProto3StringField(this, 3, value);
678
656
  };
679
657
 
@@ -682,16 +660,16 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setOrganization = functi
682
660
  * optional bool dry_run = 4;
683
661
  * @return {boolean}
684
662
  */
685
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getDryRun = function() {
663
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.getDryRun = function() {
686
664
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
687
665
  };
688
666
 
689
667
 
690
668
  /**
691
669
  * @param {boolean} value
692
- * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
670
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
693
671
  */
694
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setDryRun = function(value) {
672
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setDryRun = function(value) {
695
673
  return jspb.Message.setProto3BooleanField(this, 4, value);
696
674
  };
697
675
 
@@ -700,7 +678,7 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setDryRun = function(val
700
678
  * optional google.protobuf.Struct config = 5;
701
679
  * @return {?proto.google.protobuf.Struct}
702
680
  */
703
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getConfig = function() {
681
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.getConfig = function() {
704
682
  return /** @type{?proto.google.protobuf.Struct} */ (
705
683
  jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5));
706
684
  };
@@ -708,18 +686,18 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getConfig = function() {
708
686
 
709
687
  /**
710
688
  * @param {?proto.google.protobuf.Struct|undefined} value
711
- * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
689
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
712
690
  */
713
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setConfig = function(value) {
691
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setConfig = function(value) {
714
692
  return jspb.Message.setWrapperField(this, 5, value);
715
693
  };
716
694
 
717
695
 
718
696
  /**
719
697
  * Clears the message field making it undefined.
720
- * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
698
+ * @return {!proto.pulumirpc.AnalyzerStackConfiguration} returns this
721
699
  */
722
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.clearConfig = function() {
700
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.clearConfig = function() {
723
701
  return this.setConfig(undefined);
724
702
  };
725
703
 
@@ -728,7 +706,7 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.clearConfig = function()
728
706
  * Returns whether this field is set.
729
707
  * @return {boolean}
730
708
  */
731
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.hasConfig = function() {
709
+ proto.pulumirpc.AnalyzerStackConfiguration.prototype.hasConfig = function() {
732
710
  return jspb.Message.getField(this, 5) != null;
733
711
  };
734
712
 
@@ -736,107 +714,6 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.hasConfig = function() {
736
714
 
737
715
 
738
716
 
739
- if (jspb.Message.GENERATE_TO_OBJECT) {
740
- /**
741
- * Creates an object representation of this proto.
742
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
743
- * Optional fields that are not set will be set to undefined.
744
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
745
- * For the list of reserved names please see:
746
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
747
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
748
- * JSPB instance for transitional soy proto support:
749
- * http://goto/soy-param-migration
750
- * @return {!Object}
751
- */
752
- proto.pulumirpc.AnalyzerStackConfigureResponse.prototype.toObject = function(opt_includeInstance) {
753
- return proto.pulumirpc.AnalyzerStackConfigureResponse.toObject(opt_includeInstance, this);
754
- };
755
-
756
-
757
- /**
758
- * Static version of the {@see toObject} method.
759
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
760
- * the JSPB instance for transitional soy proto support:
761
- * http://goto/soy-param-migration
762
- * @param {!proto.pulumirpc.AnalyzerStackConfigureResponse} msg The msg instance to transform.
763
- * @return {!Object}
764
- * @suppress {unusedLocalVariables} f is only used for nested messages
765
- */
766
- proto.pulumirpc.AnalyzerStackConfigureResponse.toObject = function(includeInstance, msg) {
767
- var f, obj = {
768
-
769
- };
770
-
771
- if (includeInstance) {
772
- obj.$jspbMessageInstance = msg;
773
- }
774
- return obj;
775
- };
776
- }
777
-
778
-
779
- /**
780
- * Deserializes binary data (in protobuf wire format).
781
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
782
- * @return {!proto.pulumirpc.AnalyzerStackConfigureResponse}
783
- */
784
- proto.pulumirpc.AnalyzerStackConfigureResponse.deserializeBinary = function(bytes) {
785
- var reader = new jspb.BinaryReader(bytes);
786
- var msg = new proto.pulumirpc.AnalyzerStackConfigureResponse;
787
- return proto.pulumirpc.AnalyzerStackConfigureResponse.deserializeBinaryFromReader(msg, reader);
788
- };
789
-
790
-
791
- /**
792
- * Deserializes binary data (in protobuf wire format) from the
793
- * given reader into the given message object.
794
- * @param {!proto.pulumirpc.AnalyzerStackConfigureResponse} msg The message object to deserialize into.
795
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
796
- * @return {!proto.pulumirpc.AnalyzerStackConfigureResponse}
797
- */
798
- proto.pulumirpc.AnalyzerStackConfigureResponse.deserializeBinaryFromReader = function(msg, reader) {
799
- while (reader.nextField()) {
800
- if (reader.isEndGroup()) {
801
- break;
802
- }
803
- var field = reader.getFieldNumber();
804
- switch (field) {
805
- default:
806
- reader.skipField();
807
- break;
808
- }
809
- }
810
- return msg;
811
- };
812
-
813
-
814
- /**
815
- * Serializes the message to binary data (in protobuf wire format).
816
- * @return {!Uint8Array}
817
- */
818
- proto.pulumirpc.AnalyzerStackConfigureResponse.prototype.serializeBinary = function() {
819
- var writer = new jspb.BinaryWriter();
820
- proto.pulumirpc.AnalyzerStackConfigureResponse.serializeBinaryToWriter(this, writer);
821
- return writer.getResultBuffer();
822
- };
823
-
824
-
825
- /**
826
- * Serializes the given message to binary data (in protobuf wire
827
- * format), writing to the given BinaryWriter.
828
- * @param {!proto.pulumirpc.AnalyzerStackConfigureResponse} message
829
- * @param {!jspb.BinaryWriter} writer
830
- * @suppress {unusedLocalVariables} f is only used for nested messages
831
- */
832
- proto.pulumirpc.AnalyzerStackConfigureResponse.serializeBinaryToWriter = function(message, writer) {
833
- var f = undefined;
834
- };
835
-
836
-
837
-
838
-
839
-
840
717
  if (jspb.Message.GENERATE_TO_OBJECT) {
841
718
  /**
842
719
  * Creates an object representation of this proto.
@@ -868,7 +745,8 @@ proto.pulumirpc.AnalyzerHandshakeRequest.toObject = function(includeInstance, ms
868
745
  var f, obj = {
869
746
  engineAddress: jspb.Message.getFieldWithDefault(msg, 1, ""),
870
747
  rootDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
871
- programDirectory: jspb.Message.getFieldWithDefault(msg, 3, "")
748
+ programDirectory: jspb.Message.getFieldWithDefault(msg, 3, ""),
749
+ stackConfiguration: (f = msg.getStackConfiguration()) && proto.pulumirpc.AnalyzerStackConfiguration.toObject(includeInstance, f)
872
750
  };
873
751
 
874
752
  if (includeInstance) {
@@ -917,6 +795,11 @@ proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinaryFromReader = function(
917
795
  var value = /** @type {string} */ (reader.readString());
918
796
  msg.setProgramDirectory(value);
919
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;
920
803
  default:
921
804
  reader.skipField();
922
805
  break;
@@ -967,6 +850,14 @@ proto.pulumirpc.AnalyzerHandshakeRequest.serializeBinaryToWriter = function(mess
967
850
  f
968
851
  );
969
852
  }
853
+ f = message.getStackConfiguration();
854
+ if (f != null) {
855
+ writer.writeMessage(
856
+ 4,
857
+ f,
858
+ proto.pulumirpc.AnalyzerStackConfiguration.serializeBinaryToWriter
859
+ );
860
+ }
970
861
  };
971
862
 
972
863
 
@@ -1060,6 +951,43 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasProgramDirectory = functio
1060
951
  };
1061
952
 
1062
953
 
954
+ /**
955
+ * optional AnalyzerStackConfiguration stack_configuration = 4;
956
+ * @return {?proto.pulumirpc.AnalyzerStackConfiguration}
957
+ */
958
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getStackConfiguration = function() {
959
+ return /** @type{?proto.pulumirpc.AnalyzerStackConfiguration} */ (
960
+ jspb.Message.getWrapperField(this, proto.pulumirpc.AnalyzerStackConfiguration, 4));
961
+ };
962
+
963
+
964
+ /**
965
+ * @param {?proto.pulumirpc.AnalyzerStackConfiguration|undefined} value
966
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
967
+ */
968
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setStackConfiguration = function(value) {
969
+ return jspb.Message.setWrapperField(this, 4, value);
970
+ };
971
+
972
+
973
+ /**
974
+ * Clears the message field making it undefined.
975
+ * @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
976
+ */
977
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearStackConfiguration = function() {
978
+ return this.setStackConfiguration(undefined);
979
+ };
980
+
981
+
982
+ /**
983
+ * Returns whether this field is set.
984
+ * @return {boolean}
985
+ */
986
+ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasStackConfiguration = function() {
987
+ return jspb.Message.getField(this, 4) != null;
988
+ };
989
+
990
+
1063
991
 
1064
992
 
1065
993
 
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.170.0-alpha.x6eb80e0";
16
+ exports.version = "3.170.0-alpha.x901ddbb";
17
17
  //# sourceMappingURL=version.js.map