@pulumi/pulumi 3.190.0-alpha.x76a3cd2 → 3.191.0-alpha.xfa1c75e

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.
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var proto = { pulumirpc: { codegen: { }, testing: { } } }, global = proto;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  var pulumi_codegen_hcl_pb = require('./codegen/hcl_pb.js');
19
25
  goog.object.extend(proto, pulumi_codegen_hcl_pb);
@@ -166,8 +172,8 @@ proto.pulumirpc.ConvertStateRequest.prototype.toObject = function(opt_includeIns
166
172
  */
167
173
  proto.pulumirpc.ConvertStateRequest.toObject = function(includeInstance, msg) {
168
174
  var f, obj = {
169
- mapperTarget: jspb.Message.getFieldWithDefault(msg, 1, ""),
170
- argsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
175
+ mapperTarget: jspb.Message.getFieldWithDefault(msg, 1, ""),
176
+ argsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
171
177
  };
172
178
 
173
179
  if (includeInstance) {
@@ -345,14 +351,14 @@ proto.pulumirpc.ResourceImport.prototype.toObject = function(opt_includeInstance
345
351
  */
346
352
  proto.pulumirpc.ResourceImport.toObject = function(includeInstance, msg) {
347
353
  var f, obj = {
348
- type: jspb.Message.getFieldWithDefault(msg, 1, ""),
349
- name: jspb.Message.getFieldWithDefault(msg, 2, ""),
350
- id: jspb.Message.getFieldWithDefault(msg, 3, ""),
351
- version: jspb.Message.getFieldWithDefault(msg, 4, ""),
352
- plugindownloadurl: jspb.Message.getFieldWithDefault(msg, 5, ""),
353
- logicalName: jspb.Message.getFieldWithDefault(msg, 6, ""),
354
- isComponent: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
355
- isRemote: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
354
+ type: jspb.Message.getFieldWithDefault(msg, 1, ""),
355
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
356
+ id: jspb.Message.getFieldWithDefault(msg, 3, ""),
357
+ version: jspb.Message.getFieldWithDefault(msg, 4, ""),
358
+ plugindownloadurl: jspb.Message.getFieldWithDefault(msg, 5, ""),
359
+ logicalName: jspb.Message.getFieldWithDefault(msg, 6, ""),
360
+ isComponent: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
361
+ isRemote: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
356
362
  };
357
363
 
358
364
  if (includeInstance) {
@@ -692,9 +698,9 @@ proto.pulumirpc.ConvertStateResponse.prototype.toObject = function(opt_includeIn
692
698
  */
693
699
  proto.pulumirpc.ConvertStateResponse.toObject = function(includeInstance, msg) {
694
700
  var f, obj = {
695
- resourcesList: jspb.Message.toObjectList(msg.getResourcesList(),
701
+ resourcesList: jspb.Message.toObjectList(msg.getResourcesList(),
696
702
  proto.pulumirpc.ResourceImport.toObject, includeInstance),
697
- diagnosticsList: jspb.Message.toObjectList(msg.getDiagnosticsList(),
703
+ diagnosticsList: jspb.Message.toObjectList(msg.getDiagnosticsList(),
698
704
  pulumi_codegen_hcl_pb.Diagnostic.toObject, includeInstance)
699
705
  };
700
706
 
@@ -905,12 +911,12 @@ proto.pulumirpc.ConvertProgramRequest.prototype.toObject = function(opt_includeI
905
911
  */
906
912
  proto.pulumirpc.ConvertProgramRequest.toObject = function(includeInstance, msg) {
907
913
  var f, obj = {
908
- sourceDirectory: jspb.Message.getFieldWithDefault(msg, 1, ""),
909
- targetDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
910
- mapperTarget: jspb.Message.getFieldWithDefault(msg, 3, ""),
911
- loaderTarget: jspb.Message.getFieldWithDefault(msg, 4, ""),
912
- argsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
913
- generatedProjectDirectory: jspb.Message.getFieldWithDefault(msg, 6, "")
914
+ sourceDirectory: jspb.Message.getFieldWithDefault(msg, 1, ""),
915
+ targetDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
916
+ mapperTarget: jspb.Message.getFieldWithDefault(msg, 3, ""),
917
+ loaderTarget: jspb.Message.getFieldWithDefault(msg, 4, ""),
918
+ argsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
919
+ generatedProjectDirectory: jspb.Message.getFieldWithDefault(msg, 6, "")
914
920
  };
915
921
 
916
922
  if (includeInstance) {
@@ -1211,7 +1217,7 @@ proto.pulumirpc.ConvertProgramResponse.prototype.toObject = function(opt_include
1211
1217
  */
1212
1218
  proto.pulumirpc.ConvertProgramResponse.toObject = function(includeInstance, msg) {
1213
1219
  var f, obj = {
1214
- diagnosticsList: jspb.Message.toObjectList(msg.getDiagnosticsList(),
1220
+ diagnosticsList: jspb.Message.toObjectList(msg.getDiagnosticsList(),
1215
1221
  pulumi_codegen_hcl_pb.Diagnostic.toObject, includeInstance)
1216
1222
  };
1217
1223
 
@@ -155,4 +155,4 @@ startDebugging: {
155
155
  },
156
156
  };
157
157
 
158
- exports.EngineClient = grpc.makeGenericClientConstructor(EngineService);
158
+ exports.EngineClient = grpc.makeGenericClientConstructor(EngineService, 'Engine');
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var proto = { pulumirpc: { codegen: { }, testing: { } } }, global = proto;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
19
25
  goog.object.extend(proto, google_protobuf_empty_pb);
@@ -184,11 +190,11 @@ proto.pulumirpc.LogRequest.prototype.toObject = function(opt_includeInstance) {
184
190
  */
185
191
  proto.pulumirpc.LogRequest.toObject = function(includeInstance, msg) {
186
192
  var f, obj = {
187
- severity: jspb.Message.getFieldWithDefault(msg, 1, 0),
188
- message: jspb.Message.getFieldWithDefault(msg, 2, ""),
189
- urn: jspb.Message.getFieldWithDefault(msg, 3, ""),
190
- streamid: jspb.Message.getFieldWithDefault(msg, 4, 0),
191
- ephemeral: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
193
+ severity: jspb.Message.getFieldWithDefault(msg, 1, 0),
194
+ message: jspb.Message.getFieldWithDefault(msg, 2, ""),
195
+ urn: jspb.Message.getFieldWithDefault(msg, 3, ""),
196
+ streamid: jspb.Message.getFieldWithDefault(msg, 4, 0),
197
+ ephemeral: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
192
198
  };
193
199
 
194
200
  if (includeInstance) {
@@ -535,7 +541,7 @@ proto.pulumirpc.GetRootResourceResponse.prototype.toObject = function(opt_includ
535
541
  */
536
542
  proto.pulumirpc.GetRootResourceResponse.toObject = function(includeInstance, msg) {
537
543
  var f, obj = {
538
- urn: jspb.Message.getFieldWithDefault(msg, 1, "")
544
+ urn: jspb.Message.getFieldWithDefault(msg, 1, "")
539
545
  };
540
546
 
541
547
  if (includeInstance) {
@@ -665,7 +671,7 @@ proto.pulumirpc.SetRootResourceRequest.prototype.toObject = function(opt_include
665
671
  */
666
672
  proto.pulumirpc.SetRootResourceRequest.toObject = function(includeInstance, msg) {
667
673
  var f, obj = {
668
- urn: jspb.Message.getFieldWithDefault(msg, 1, "")
674
+ urn: jspb.Message.getFieldWithDefault(msg, 1, "")
669
675
  };
670
676
 
671
677
  if (includeInstance) {
@@ -896,8 +902,8 @@ proto.pulumirpc.StartDebuggingRequest.prototype.toObject = function(opt_includeI
896
902
  */
897
903
  proto.pulumirpc.StartDebuggingRequest.toObject = function(includeInstance, msg) {
898
904
  var f, obj = {
899
- config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
900
- message: jspb.Message.getFieldWithDefault(msg, 2, "")
905
+ config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
906
+ message: jspb.Message.getFieldWithDefault(msg, 2, "")
901
907
  };
902
908
 
903
909
  if (includeInstance) {
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var proto = { pulumirpc: { codegen: { }, testing: { } } }, global = proto;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  goog.exportSymbol('proto.pulumirpc.ErrorCause', null, global);
19
25
  goog.exportSymbol('proto.pulumirpc.InputPropertiesError', null, global);
@@ -113,8 +119,8 @@ proto.pulumirpc.ErrorCause.prototype.toObject = function(opt_includeInstance) {
113
119
  */
114
120
  proto.pulumirpc.ErrorCause.toObject = function(includeInstance, msg) {
115
121
  var f, obj = {
116
- message: jspb.Message.getFieldWithDefault(msg, 1, ""),
117
- stacktrace: jspb.Message.getFieldWithDefault(msg, 2, "")
122
+ message: jspb.Message.getFieldWithDefault(msg, 1, ""),
123
+ stacktrace: jspb.Message.getFieldWithDefault(msg, 2, "")
118
124
  };
119
125
 
120
126
  if (includeInstance) {
@@ -280,7 +286,7 @@ proto.pulumirpc.InputPropertiesError.prototype.toObject = function(opt_includeIn
280
286
  */
281
287
  proto.pulumirpc.InputPropertiesError.toObject = function(includeInstance, msg) {
282
288
  var f, obj = {
283
- errorsList: jspb.Message.toObjectList(msg.getErrorsList(),
289
+ errorsList: jspb.Message.toObjectList(msg.getErrorsList(),
284
290
  proto.pulumirpc.InputPropertiesError.PropertyError.toObject, includeInstance)
285
291
  };
286
292
 
@@ -395,8 +401,8 @@ proto.pulumirpc.InputPropertiesError.PropertyError.prototype.toObject = function
395
401
  */
396
402
  proto.pulumirpc.InputPropertiesError.PropertyError.toObject = function(includeInstance, msg) {
397
403
  var f, obj = {
398
- propertyPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
399
- reason: jspb.Message.getFieldWithDefault(msg, 2, "")
404
+ propertyPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
405
+ reason: jspb.Message.getFieldWithDefault(msg, 2, "")
400
406
  };
401
407
 
402
408
  if (includeInstance) {
@@ -595,4 +595,4 @@ cancel: {
595
595
  },
596
596
  };
597
597
 
598
- exports.LanguageRuntimeClient = grpc.makeGenericClientConstructor(LanguageRuntimeService);
598
+ exports.LanguageRuntimeClient = grpc.makeGenericClientConstructor(LanguageRuntimeService, 'LanguageRuntime');