@pulumi/pulumi 3.142.1-alpha.xdd301b5 → 3.143.0-alpha.xfd2b278
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/automation/workspace.d.ts +9 -0
- package/cmd/dynamic-provider/index.js +6 -0
- package/cmd/dynamic-provider/index.js.map +1 -1
- package/cmd/run/tracing.js +2 -2
- package/cmd/run/tracing.js.map +1 -1
- package/output.js +42 -30
- package/output.js.map +1 -1
- package/package.json +8 -8
- package/proto/language_grpc_pb.d.ts +34 -0
- package/proto/language_grpc_pb.js +70 -0
- package/proto/language_pb.d.ts +94 -0
- package/proto/language_pb.js +1747 -1021
- package/proto/plugin_pb.d.ts +68 -0
- package/proto/plugin_pb.js +562 -0
- package/proto/provider_grpc_pb.d.ts +17 -0
- package/proto/provider_grpc_pb.js +52 -1
- package/proto/provider_pb.d.ts +49 -0
- package/proto/provider_pb.js +371 -0
- package/provider/provider.d.ts +7 -0
- package/provider/server.js +18 -2
- package/provider/server.js.map +1 -1
- package/runtime/resource.js +58 -37
- package/runtime/resource.js.map +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/proto/language_pb.js
CHANGED
|
@@ -34,10 +34,14 @@ goog.exportSymbol('proto.pulumirpc.GenerateProjectRequest', null, global);
|
|
|
34
34
|
goog.exportSymbol('proto.pulumirpc.GenerateProjectResponse', null, global);
|
|
35
35
|
goog.exportSymbol('proto.pulumirpc.GetProgramDependenciesRequest', null, global);
|
|
36
36
|
goog.exportSymbol('proto.pulumirpc.GetProgramDependenciesResponse', null, global);
|
|
37
|
+
goog.exportSymbol('proto.pulumirpc.GetRequiredPackagesRequest', null, global);
|
|
38
|
+
goog.exportSymbol('proto.pulumirpc.GetRequiredPackagesResponse', null, global);
|
|
37
39
|
goog.exportSymbol('proto.pulumirpc.GetRequiredPluginsRequest', null, global);
|
|
38
40
|
goog.exportSymbol('proto.pulumirpc.GetRequiredPluginsResponse', null, global);
|
|
39
41
|
goog.exportSymbol('proto.pulumirpc.InstallDependenciesRequest', null, global);
|
|
40
42
|
goog.exportSymbol('proto.pulumirpc.InstallDependenciesResponse', null, global);
|
|
43
|
+
goog.exportSymbol('proto.pulumirpc.LanguageHandshakeRequest', null, global);
|
|
44
|
+
goog.exportSymbol('proto.pulumirpc.LanguageHandshakeResponse', null, global);
|
|
41
45
|
goog.exportSymbol('proto.pulumirpc.PackRequest', null, global);
|
|
42
46
|
goog.exportSymbol('proto.pulumirpc.PackResponse', null, global);
|
|
43
47
|
goog.exportSymbol('proto.pulumirpc.ProgramInfo', null, global);
|
|
@@ -219,6 +223,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
219
223
|
*/
|
|
220
224
|
proto.pulumirpc.GetRequiredPluginsResponse.displayName = 'proto.pulumirpc.GetRequiredPluginsResponse';
|
|
221
225
|
}
|
|
226
|
+
/**
|
|
227
|
+
* Generated by JsPbCodeGenerator.
|
|
228
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
229
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
230
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
231
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
232
|
+
* valid.
|
|
233
|
+
* @extends {jspb.Message}
|
|
234
|
+
* @constructor
|
|
235
|
+
*/
|
|
236
|
+
proto.pulumirpc.GetRequiredPackagesRequest = function(opt_data) {
|
|
237
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
238
|
+
};
|
|
239
|
+
goog.inherits(proto.pulumirpc.GetRequiredPackagesRequest, jspb.Message);
|
|
240
|
+
if (goog.DEBUG && !COMPILED) {
|
|
241
|
+
/**
|
|
242
|
+
* @public
|
|
243
|
+
* @override
|
|
244
|
+
*/
|
|
245
|
+
proto.pulumirpc.GetRequiredPackagesRequest.displayName = 'proto.pulumirpc.GetRequiredPackagesRequest';
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Generated by JsPbCodeGenerator.
|
|
249
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
250
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
251
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
252
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
253
|
+
* valid.
|
|
254
|
+
* @extends {jspb.Message}
|
|
255
|
+
* @constructor
|
|
256
|
+
*/
|
|
257
|
+
proto.pulumirpc.GetRequiredPackagesResponse = function(opt_data) {
|
|
258
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.GetRequiredPackagesResponse.repeatedFields_, null);
|
|
259
|
+
};
|
|
260
|
+
goog.inherits(proto.pulumirpc.GetRequiredPackagesResponse, jspb.Message);
|
|
261
|
+
if (goog.DEBUG && !COMPILED) {
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
* @override
|
|
265
|
+
*/
|
|
266
|
+
proto.pulumirpc.GetRequiredPackagesResponse.displayName = 'proto.pulumirpc.GetRequiredPackagesResponse';
|
|
267
|
+
}
|
|
222
268
|
/**
|
|
223
269
|
* Generated by JsPbCodeGenerator.
|
|
224
270
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -597,6 +643,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
597
643
|
*/
|
|
598
644
|
proto.pulumirpc.PackResponse.displayName = 'proto.pulumirpc.PackResponse';
|
|
599
645
|
}
|
|
646
|
+
/**
|
|
647
|
+
* Generated by JsPbCodeGenerator.
|
|
648
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
649
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
650
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
651
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
652
|
+
* valid.
|
|
653
|
+
* @extends {jspb.Message}
|
|
654
|
+
* @constructor
|
|
655
|
+
*/
|
|
656
|
+
proto.pulumirpc.LanguageHandshakeRequest = function(opt_data) {
|
|
657
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
658
|
+
};
|
|
659
|
+
goog.inherits(proto.pulumirpc.LanguageHandshakeRequest, jspb.Message);
|
|
660
|
+
if (goog.DEBUG && !COMPILED) {
|
|
661
|
+
/**
|
|
662
|
+
* @public
|
|
663
|
+
* @override
|
|
664
|
+
*/
|
|
665
|
+
proto.pulumirpc.LanguageHandshakeRequest.displayName = 'proto.pulumirpc.LanguageHandshakeRequest';
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* Generated by JsPbCodeGenerator.
|
|
669
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
670
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
671
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
672
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
673
|
+
* valid.
|
|
674
|
+
* @extends {jspb.Message}
|
|
675
|
+
* @constructor
|
|
676
|
+
*/
|
|
677
|
+
proto.pulumirpc.LanguageHandshakeResponse = function(opt_data) {
|
|
678
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
679
|
+
};
|
|
680
|
+
goog.inherits(proto.pulumirpc.LanguageHandshakeResponse, jspb.Message);
|
|
681
|
+
if (goog.DEBUG && !COMPILED) {
|
|
682
|
+
/**
|
|
683
|
+
* @public
|
|
684
|
+
* @override
|
|
685
|
+
*/
|
|
686
|
+
proto.pulumirpc.LanguageHandshakeResponse.displayName = 'proto.pulumirpc.LanguageHandshakeResponse';
|
|
687
|
+
}
|
|
600
688
|
|
|
601
689
|
|
|
602
690
|
|
|
@@ -2175,13 +2263,6 @@ proto.pulumirpc.GetRequiredPluginsResponse.prototype.clearPluginsList = function
|
|
|
2175
2263
|
|
|
2176
2264
|
|
|
2177
2265
|
|
|
2178
|
-
/**
|
|
2179
|
-
* List of repeated fields within this message type.
|
|
2180
|
-
* @private {!Array<number>}
|
|
2181
|
-
* @const
|
|
2182
|
-
*/
|
|
2183
|
-
proto.pulumirpc.RunRequest.repeatedFields_ = [5,11];
|
|
2184
|
-
|
|
2185
2266
|
|
|
2186
2267
|
|
|
2187
2268
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2197,8 +2278,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2197
2278
|
* http://goto/soy-param-migration
|
|
2198
2279
|
* @return {!Object}
|
|
2199
2280
|
*/
|
|
2200
|
-
proto.pulumirpc.
|
|
2201
|
-
return proto.pulumirpc.
|
|
2281
|
+
proto.pulumirpc.GetRequiredPackagesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2282
|
+
return proto.pulumirpc.GetRequiredPackagesRequest.toObject(opt_includeInstance, this);
|
|
2202
2283
|
};
|
|
2203
2284
|
|
|
2204
2285
|
|
|
@@ -2207,28 +2288,13 @@ proto.pulumirpc.RunRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
2207
2288
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2208
2289
|
* the JSPB instance for transitional soy proto support:
|
|
2209
2290
|
* http://goto/soy-param-migration
|
|
2210
|
-
* @param {!proto.pulumirpc.
|
|
2291
|
+
* @param {!proto.pulumirpc.GetRequiredPackagesRequest} msg The msg instance to transform.
|
|
2211
2292
|
* @return {!Object}
|
|
2212
2293
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2213
2294
|
*/
|
|
2214
|
-
proto.pulumirpc.
|
|
2295
|
+
proto.pulumirpc.GetRequiredPackagesRequest.toObject = function(includeInstance, msg) {
|
|
2215
2296
|
var f, obj = {
|
|
2216
|
-
|
|
2217
|
-
stack: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2218
|
-
pwd: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2219
|
-
program: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2220
|
-
argsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
2221
|
-
configMap: (f = msg.getConfigMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
2222
|
-
dryrun: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
2223
|
-
parallel: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
2224
|
-
monitorAddress: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2225
|
-
querymode: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
2226
|
-
configsecretkeysList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
2227
|
-
organization: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
2228
|
-
configpropertymap: (f = msg.getConfigpropertymap()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
2229
|
-
info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f),
|
|
2230
|
-
loaderTarget: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
2231
|
-
attachDebugger: jspb.Message.getBooleanFieldWithDefault(msg, 16, false)
|
|
2297
|
+
info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f)
|
|
2232
2298
|
};
|
|
2233
2299
|
|
|
2234
2300
|
if (includeInstance) {
|
|
@@ -2242,23 +2308,23 @@ proto.pulumirpc.RunRequest.toObject = function(includeInstance, msg) {
|
|
|
2242
2308
|
/**
|
|
2243
2309
|
* Deserializes binary data (in protobuf wire format).
|
|
2244
2310
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2245
|
-
* @return {!proto.pulumirpc.
|
|
2311
|
+
* @return {!proto.pulumirpc.GetRequiredPackagesRequest}
|
|
2246
2312
|
*/
|
|
2247
|
-
proto.pulumirpc.
|
|
2313
|
+
proto.pulumirpc.GetRequiredPackagesRequest.deserializeBinary = function(bytes) {
|
|
2248
2314
|
var reader = new jspb.BinaryReader(bytes);
|
|
2249
|
-
var msg = new proto.pulumirpc.
|
|
2250
|
-
return proto.pulumirpc.
|
|
2315
|
+
var msg = new proto.pulumirpc.GetRequiredPackagesRequest;
|
|
2316
|
+
return proto.pulumirpc.GetRequiredPackagesRequest.deserializeBinaryFromReader(msg, reader);
|
|
2251
2317
|
};
|
|
2252
2318
|
|
|
2253
2319
|
|
|
2254
2320
|
/**
|
|
2255
2321
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2256
2322
|
* given reader into the given message object.
|
|
2257
|
-
* @param {!proto.pulumirpc.
|
|
2323
|
+
* @param {!proto.pulumirpc.GetRequiredPackagesRequest} msg The message object to deserialize into.
|
|
2258
2324
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2259
|
-
* @return {!proto.pulumirpc.
|
|
2325
|
+
* @return {!proto.pulumirpc.GetRequiredPackagesRequest}
|
|
2260
2326
|
*/
|
|
2261
|
-
proto.pulumirpc.
|
|
2327
|
+
proto.pulumirpc.GetRequiredPackagesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2262
2328
|
while (reader.nextField()) {
|
|
2263
2329
|
if (reader.isEndGroup()) {
|
|
2264
2330
|
break;
|
|
@@ -2266,73 +2332,10 @@ proto.pulumirpc.RunRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2266
2332
|
var field = reader.getFieldNumber();
|
|
2267
2333
|
switch (field) {
|
|
2268
2334
|
case 1:
|
|
2269
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2270
|
-
msg.setProject(value);
|
|
2271
|
-
break;
|
|
2272
|
-
case 2:
|
|
2273
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2274
|
-
msg.setStack(value);
|
|
2275
|
-
break;
|
|
2276
|
-
case 3:
|
|
2277
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2278
|
-
msg.setPwd(value);
|
|
2279
|
-
break;
|
|
2280
|
-
case 4:
|
|
2281
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2282
|
-
msg.setProgram(value);
|
|
2283
|
-
break;
|
|
2284
|
-
case 5:
|
|
2285
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2286
|
-
msg.addArgs(value);
|
|
2287
|
-
break;
|
|
2288
|
-
case 6:
|
|
2289
|
-
var value = msg.getConfigMap();
|
|
2290
|
-
reader.readMessage(value, function(message, reader) {
|
|
2291
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
2292
|
-
});
|
|
2293
|
-
break;
|
|
2294
|
-
case 7:
|
|
2295
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
2296
|
-
msg.setDryrun(value);
|
|
2297
|
-
break;
|
|
2298
|
-
case 8:
|
|
2299
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
2300
|
-
msg.setParallel(value);
|
|
2301
|
-
break;
|
|
2302
|
-
case 9:
|
|
2303
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2304
|
-
msg.setMonitorAddress(value);
|
|
2305
|
-
break;
|
|
2306
|
-
case 10:
|
|
2307
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
2308
|
-
msg.setQuerymode(value);
|
|
2309
|
-
break;
|
|
2310
|
-
case 11:
|
|
2311
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2312
|
-
msg.addConfigsecretkeys(value);
|
|
2313
|
-
break;
|
|
2314
|
-
case 12:
|
|
2315
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2316
|
-
msg.setOrganization(value);
|
|
2317
|
-
break;
|
|
2318
|
-
case 13:
|
|
2319
|
-
var value = new google_protobuf_struct_pb.Struct;
|
|
2320
|
-
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
2321
|
-
msg.setConfigpropertymap(value);
|
|
2322
|
-
break;
|
|
2323
|
-
case 14:
|
|
2324
2335
|
var value = new proto.pulumirpc.ProgramInfo;
|
|
2325
2336
|
reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
|
|
2326
2337
|
msg.setInfo(value);
|
|
2327
2338
|
break;
|
|
2328
|
-
case 15:
|
|
2329
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2330
|
-
msg.setLoaderTarget(value);
|
|
2331
|
-
break;
|
|
2332
|
-
case 16:
|
|
2333
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
2334
|
-
msg.setAttachDebugger(value);
|
|
2335
|
-
break;
|
|
2336
2339
|
default:
|
|
2337
2340
|
reader.skipField();
|
|
2338
2341
|
break;
|
|
@@ -2346,9 +2349,9 @@ proto.pulumirpc.RunRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2346
2349
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2347
2350
|
* @return {!Uint8Array}
|
|
2348
2351
|
*/
|
|
2349
|
-
proto.pulumirpc.
|
|
2352
|
+
proto.pulumirpc.GetRequiredPackagesRequest.prototype.serializeBinary = function() {
|
|
2350
2353
|
var writer = new jspb.BinaryWriter();
|
|
2351
|
-
proto.pulumirpc.
|
|
2354
|
+
proto.pulumirpc.GetRequiredPackagesRequest.serializeBinaryToWriter(this, writer);
|
|
2352
2355
|
return writer.getResultBuffer();
|
|
2353
2356
|
};
|
|
2354
2357
|
|
|
@@ -2356,91 +2359,487 @@ proto.pulumirpc.RunRequest.prototype.serializeBinary = function() {
|
|
|
2356
2359
|
/**
|
|
2357
2360
|
* Serializes the given message to binary data (in protobuf wire
|
|
2358
2361
|
* format), writing to the given BinaryWriter.
|
|
2359
|
-
* @param {!proto.pulumirpc.
|
|
2362
|
+
* @param {!proto.pulumirpc.GetRequiredPackagesRequest} message
|
|
2360
2363
|
* @param {!jspb.BinaryWriter} writer
|
|
2361
2364
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2362
2365
|
*/
|
|
2363
|
-
proto.pulumirpc.
|
|
2366
|
+
proto.pulumirpc.GetRequiredPackagesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2364
2367
|
var f = undefined;
|
|
2365
|
-
f = message.
|
|
2366
|
-
if (f
|
|
2367
|
-
writer.
|
|
2368
|
+
f = message.getInfo();
|
|
2369
|
+
if (f != null) {
|
|
2370
|
+
writer.writeMessage(
|
|
2368
2371
|
1,
|
|
2369
|
-
f
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2372
|
+
f,
|
|
2373
|
+
proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
|
|
2374
|
+
);
|
|
2375
|
+
}
|
|
2376
|
+
};
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* optional ProgramInfo info = 1;
|
|
2381
|
+
* @return {?proto.pulumirpc.ProgramInfo}
|
|
2382
|
+
*/
|
|
2383
|
+
proto.pulumirpc.GetRequiredPackagesRequest.prototype.getInfo = function() {
|
|
2384
|
+
return /** @type{?proto.pulumirpc.ProgramInfo} */ (
|
|
2385
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ProgramInfo, 1));
|
|
2386
|
+
};
|
|
2387
|
+
|
|
2388
|
+
|
|
2389
|
+
/**
|
|
2390
|
+
* @param {?proto.pulumirpc.ProgramInfo|undefined} value
|
|
2391
|
+
* @return {!proto.pulumirpc.GetRequiredPackagesRequest} returns this
|
|
2392
|
+
*/
|
|
2393
|
+
proto.pulumirpc.GetRequiredPackagesRequest.prototype.setInfo = function(value) {
|
|
2394
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2395
|
+
};
|
|
2396
|
+
|
|
2397
|
+
|
|
2398
|
+
/**
|
|
2399
|
+
* Clears the message field making it undefined.
|
|
2400
|
+
* @return {!proto.pulumirpc.GetRequiredPackagesRequest} returns this
|
|
2401
|
+
*/
|
|
2402
|
+
proto.pulumirpc.GetRequiredPackagesRequest.prototype.clearInfo = function() {
|
|
2403
|
+
return this.setInfo(undefined);
|
|
2404
|
+
};
|
|
2405
|
+
|
|
2406
|
+
|
|
2407
|
+
/**
|
|
2408
|
+
* Returns whether this field is set.
|
|
2409
|
+
* @return {boolean}
|
|
2410
|
+
*/
|
|
2411
|
+
proto.pulumirpc.GetRequiredPackagesRequest.prototype.hasInfo = function() {
|
|
2412
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2413
|
+
};
|
|
2414
|
+
|
|
2415
|
+
|
|
2416
|
+
|
|
2417
|
+
/**
|
|
2418
|
+
* List of repeated fields within this message type.
|
|
2419
|
+
* @private {!Array<number>}
|
|
2420
|
+
* @const
|
|
2421
|
+
*/
|
|
2422
|
+
proto.pulumirpc.GetRequiredPackagesResponse.repeatedFields_ = [1];
|
|
2423
|
+
|
|
2424
|
+
|
|
2425
|
+
|
|
2426
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2427
|
+
/**
|
|
2428
|
+
* Creates an object representation of this proto.
|
|
2429
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2430
|
+
* Optional fields that are not set will be set to undefined.
|
|
2431
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2432
|
+
* For the list of reserved names please see:
|
|
2433
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2434
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2435
|
+
* JSPB instance for transitional soy proto support:
|
|
2436
|
+
* http://goto/soy-param-migration
|
|
2437
|
+
* @return {!Object}
|
|
2438
|
+
*/
|
|
2439
|
+
proto.pulumirpc.GetRequiredPackagesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2440
|
+
return proto.pulumirpc.GetRequiredPackagesResponse.toObject(opt_includeInstance, this);
|
|
2441
|
+
};
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
/**
|
|
2445
|
+
* Static version of the {@see toObject} method.
|
|
2446
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2447
|
+
* the JSPB instance for transitional soy proto support:
|
|
2448
|
+
* http://goto/soy-param-migration
|
|
2449
|
+
* @param {!proto.pulumirpc.GetRequiredPackagesResponse} msg The msg instance to transform.
|
|
2450
|
+
* @return {!Object}
|
|
2451
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2452
|
+
*/
|
|
2453
|
+
proto.pulumirpc.GetRequiredPackagesResponse.toObject = function(includeInstance, msg) {
|
|
2454
|
+
var f, obj = {
|
|
2455
|
+
packagesList: jspb.Message.toObjectList(msg.getPackagesList(),
|
|
2456
|
+
pulumi_plugin_pb.PackageDependency.toObject, includeInstance)
|
|
2457
|
+
};
|
|
2458
|
+
|
|
2459
|
+
if (includeInstance) {
|
|
2460
|
+
obj.$jspbMessageInstance = msg;
|
|
2461
|
+
}
|
|
2462
|
+
return obj;
|
|
2463
|
+
};
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2469
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2470
|
+
* @return {!proto.pulumirpc.GetRequiredPackagesResponse}
|
|
2471
|
+
*/
|
|
2472
|
+
proto.pulumirpc.GetRequiredPackagesResponse.deserializeBinary = function(bytes) {
|
|
2473
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2474
|
+
var msg = new proto.pulumirpc.GetRequiredPackagesResponse;
|
|
2475
|
+
return proto.pulumirpc.GetRequiredPackagesResponse.deserializeBinaryFromReader(msg, reader);
|
|
2476
|
+
};
|
|
2477
|
+
|
|
2478
|
+
|
|
2479
|
+
/**
|
|
2480
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2481
|
+
* given reader into the given message object.
|
|
2482
|
+
* @param {!proto.pulumirpc.GetRequiredPackagesResponse} msg The message object to deserialize into.
|
|
2483
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2484
|
+
* @return {!proto.pulumirpc.GetRequiredPackagesResponse}
|
|
2485
|
+
*/
|
|
2486
|
+
proto.pulumirpc.GetRequiredPackagesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2487
|
+
while (reader.nextField()) {
|
|
2488
|
+
if (reader.isEndGroup()) {
|
|
2489
|
+
break;
|
|
2490
|
+
}
|
|
2491
|
+
var field = reader.getFieldNumber();
|
|
2492
|
+
switch (field) {
|
|
2493
|
+
case 1:
|
|
2494
|
+
var value = new pulumi_plugin_pb.PackageDependency;
|
|
2495
|
+
reader.readMessage(value,pulumi_plugin_pb.PackageDependency.deserializeBinaryFromReader);
|
|
2496
|
+
msg.addPackages(value);
|
|
2497
|
+
break;
|
|
2498
|
+
default:
|
|
2499
|
+
reader.skipField();
|
|
2500
|
+
break;
|
|
2501
|
+
}
|
|
2502
|
+
}
|
|
2503
|
+
return msg;
|
|
2504
|
+
};
|
|
2505
|
+
|
|
2506
|
+
|
|
2507
|
+
/**
|
|
2508
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2509
|
+
* @return {!Uint8Array}
|
|
2510
|
+
*/
|
|
2511
|
+
proto.pulumirpc.GetRequiredPackagesResponse.prototype.serializeBinary = function() {
|
|
2512
|
+
var writer = new jspb.BinaryWriter();
|
|
2513
|
+
proto.pulumirpc.GetRequiredPackagesResponse.serializeBinaryToWriter(this, writer);
|
|
2514
|
+
return writer.getResultBuffer();
|
|
2515
|
+
};
|
|
2516
|
+
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2520
|
+
* format), writing to the given BinaryWriter.
|
|
2521
|
+
* @param {!proto.pulumirpc.GetRequiredPackagesResponse} message
|
|
2522
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2523
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2524
|
+
*/
|
|
2525
|
+
proto.pulumirpc.GetRequiredPackagesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2526
|
+
var f = undefined;
|
|
2527
|
+
f = message.getPackagesList();
|
|
2528
|
+
if (f.length > 0) {
|
|
2529
|
+
writer.writeRepeatedMessage(
|
|
2530
|
+
1,
|
|
2531
|
+
f,
|
|
2532
|
+
pulumi_plugin_pb.PackageDependency.serializeBinaryToWriter
|
|
2533
|
+
);
|
|
2534
|
+
}
|
|
2535
|
+
};
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
/**
|
|
2539
|
+
* repeated PackageDependency packages = 1;
|
|
2540
|
+
* @return {!Array<!proto.pulumirpc.PackageDependency>}
|
|
2541
|
+
*/
|
|
2542
|
+
proto.pulumirpc.GetRequiredPackagesResponse.prototype.getPackagesList = function() {
|
|
2543
|
+
return /** @type{!Array<!proto.pulumirpc.PackageDependency>} */ (
|
|
2544
|
+
jspb.Message.getRepeatedWrapperField(this, pulumi_plugin_pb.PackageDependency, 1));
|
|
2545
|
+
};
|
|
2546
|
+
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* @param {!Array<!proto.pulumirpc.PackageDependency>} value
|
|
2550
|
+
* @return {!proto.pulumirpc.GetRequiredPackagesResponse} returns this
|
|
2551
|
+
*/
|
|
2552
|
+
proto.pulumirpc.GetRequiredPackagesResponse.prototype.setPackagesList = function(value) {
|
|
2553
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2554
|
+
};
|
|
2555
|
+
|
|
2556
|
+
|
|
2557
|
+
/**
|
|
2558
|
+
* @param {!proto.pulumirpc.PackageDependency=} opt_value
|
|
2559
|
+
* @param {number=} opt_index
|
|
2560
|
+
* @return {!proto.pulumirpc.PackageDependency}
|
|
2561
|
+
*/
|
|
2562
|
+
proto.pulumirpc.GetRequiredPackagesResponse.prototype.addPackages = function(opt_value, opt_index) {
|
|
2563
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.pulumirpc.PackageDependency, opt_index);
|
|
2564
|
+
};
|
|
2565
|
+
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
* Clears the list making it empty but non-null.
|
|
2569
|
+
* @return {!proto.pulumirpc.GetRequiredPackagesResponse} returns this
|
|
2570
|
+
*/
|
|
2571
|
+
proto.pulumirpc.GetRequiredPackagesResponse.prototype.clearPackagesList = function() {
|
|
2572
|
+
return this.setPackagesList([]);
|
|
2573
|
+
};
|
|
2574
|
+
|
|
2575
|
+
|
|
2576
|
+
|
|
2577
|
+
/**
|
|
2578
|
+
* List of repeated fields within this message type.
|
|
2579
|
+
* @private {!Array<number>}
|
|
2580
|
+
* @const
|
|
2581
|
+
*/
|
|
2582
|
+
proto.pulumirpc.RunRequest.repeatedFields_ = [5,11];
|
|
2583
|
+
|
|
2584
|
+
|
|
2585
|
+
|
|
2586
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2587
|
+
/**
|
|
2588
|
+
* Creates an object representation of this proto.
|
|
2589
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2590
|
+
* Optional fields that are not set will be set to undefined.
|
|
2591
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2592
|
+
* For the list of reserved names please see:
|
|
2593
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2594
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2595
|
+
* JSPB instance for transitional soy proto support:
|
|
2596
|
+
* http://goto/soy-param-migration
|
|
2597
|
+
* @return {!Object}
|
|
2598
|
+
*/
|
|
2599
|
+
proto.pulumirpc.RunRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2600
|
+
return proto.pulumirpc.RunRequest.toObject(opt_includeInstance, this);
|
|
2601
|
+
};
|
|
2602
|
+
|
|
2603
|
+
|
|
2604
|
+
/**
|
|
2605
|
+
* Static version of the {@see toObject} method.
|
|
2606
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2607
|
+
* the JSPB instance for transitional soy proto support:
|
|
2608
|
+
* http://goto/soy-param-migration
|
|
2609
|
+
* @param {!proto.pulumirpc.RunRequest} msg The msg instance to transform.
|
|
2610
|
+
* @return {!Object}
|
|
2611
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2612
|
+
*/
|
|
2613
|
+
proto.pulumirpc.RunRequest.toObject = function(includeInstance, msg) {
|
|
2614
|
+
var f, obj = {
|
|
2615
|
+
project: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2616
|
+
stack: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2617
|
+
pwd: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2618
|
+
program: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2619
|
+
argsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
2620
|
+
configMap: (f = msg.getConfigMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
2621
|
+
dryrun: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
2622
|
+
parallel: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
2623
|
+
monitorAddress: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2624
|
+
querymode: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
2625
|
+
configsecretkeysList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
2626
|
+
organization: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
2627
|
+
configpropertymap: (f = msg.getConfigpropertymap()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
2628
|
+
info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f),
|
|
2629
|
+
loaderTarget: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
2630
|
+
attachDebugger: jspb.Message.getBooleanFieldWithDefault(msg, 16, false)
|
|
2631
|
+
};
|
|
2632
|
+
|
|
2633
|
+
if (includeInstance) {
|
|
2634
|
+
obj.$jspbMessageInstance = msg;
|
|
2635
|
+
}
|
|
2636
|
+
return obj;
|
|
2637
|
+
};
|
|
2638
|
+
}
|
|
2639
|
+
|
|
2640
|
+
|
|
2641
|
+
/**
|
|
2642
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2643
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2644
|
+
* @return {!proto.pulumirpc.RunRequest}
|
|
2645
|
+
*/
|
|
2646
|
+
proto.pulumirpc.RunRequest.deserializeBinary = function(bytes) {
|
|
2647
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2648
|
+
var msg = new proto.pulumirpc.RunRequest;
|
|
2649
|
+
return proto.pulumirpc.RunRequest.deserializeBinaryFromReader(msg, reader);
|
|
2650
|
+
};
|
|
2651
|
+
|
|
2652
|
+
|
|
2653
|
+
/**
|
|
2654
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2655
|
+
* given reader into the given message object.
|
|
2656
|
+
* @param {!proto.pulumirpc.RunRequest} msg The message object to deserialize into.
|
|
2657
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2658
|
+
* @return {!proto.pulumirpc.RunRequest}
|
|
2659
|
+
*/
|
|
2660
|
+
proto.pulumirpc.RunRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2661
|
+
while (reader.nextField()) {
|
|
2662
|
+
if (reader.isEndGroup()) {
|
|
2663
|
+
break;
|
|
2664
|
+
}
|
|
2665
|
+
var field = reader.getFieldNumber();
|
|
2666
|
+
switch (field) {
|
|
2667
|
+
case 1:
|
|
2668
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2669
|
+
msg.setProject(value);
|
|
2670
|
+
break;
|
|
2671
|
+
case 2:
|
|
2672
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2673
|
+
msg.setStack(value);
|
|
2674
|
+
break;
|
|
2675
|
+
case 3:
|
|
2676
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2677
|
+
msg.setPwd(value);
|
|
2678
|
+
break;
|
|
2679
|
+
case 4:
|
|
2680
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2681
|
+
msg.setProgram(value);
|
|
2682
|
+
break;
|
|
2683
|
+
case 5:
|
|
2684
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2685
|
+
msg.addArgs(value);
|
|
2686
|
+
break;
|
|
2687
|
+
case 6:
|
|
2688
|
+
var value = msg.getConfigMap();
|
|
2689
|
+
reader.readMessage(value, function(message, reader) {
|
|
2690
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
2691
|
+
});
|
|
2692
|
+
break;
|
|
2693
|
+
case 7:
|
|
2694
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2695
|
+
msg.setDryrun(value);
|
|
2696
|
+
break;
|
|
2697
|
+
case 8:
|
|
2698
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2699
|
+
msg.setParallel(value);
|
|
2700
|
+
break;
|
|
2701
|
+
case 9:
|
|
2702
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2703
|
+
msg.setMonitorAddress(value);
|
|
2704
|
+
break;
|
|
2705
|
+
case 10:
|
|
2706
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2707
|
+
msg.setQuerymode(value);
|
|
2708
|
+
break;
|
|
2709
|
+
case 11:
|
|
2710
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2711
|
+
msg.addConfigsecretkeys(value);
|
|
2712
|
+
break;
|
|
2713
|
+
case 12:
|
|
2714
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2715
|
+
msg.setOrganization(value);
|
|
2716
|
+
break;
|
|
2717
|
+
case 13:
|
|
2718
|
+
var value = new google_protobuf_struct_pb.Struct;
|
|
2719
|
+
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
2720
|
+
msg.setConfigpropertymap(value);
|
|
2721
|
+
break;
|
|
2722
|
+
case 14:
|
|
2723
|
+
var value = new proto.pulumirpc.ProgramInfo;
|
|
2724
|
+
reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
|
|
2725
|
+
msg.setInfo(value);
|
|
2726
|
+
break;
|
|
2727
|
+
case 15:
|
|
2728
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2729
|
+
msg.setLoaderTarget(value);
|
|
2730
|
+
break;
|
|
2731
|
+
case 16:
|
|
2732
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2733
|
+
msg.setAttachDebugger(value);
|
|
2734
|
+
break;
|
|
2735
|
+
default:
|
|
2736
|
+
reader.skipField();
|
|
2737
|
+
break;
|
|
2738
|
+
}
|
|
2739
|
+
}
|
|
2740
|
+
return msg;
|
|
2741
|
+
};
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2746
|
+
* @return {!Uint8Array}
|
|
2747
|
+
*/
|
|
2748
|
+
proto.pulumirpc.RunRequest.prototype.serializeBinary = function() {
|
|
2749
|
+
var writer = new jspb.BinaryWriter();
|
|
2750
|
+
proto.pulumirpc.RunRequest.serializeBinaryToWriter(this, writer);
|
|
2751
|
+
return writer.getResultBuffer();
|
|
2752
|
+
};
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
/**
|
|
2756
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2757
|
+
* format), writing to the given BinaryWriter.
|
|
2758
|
+
* @param {!proto.pulumirpc.RunRequest} message
|
|
2759
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2760
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2761
|
+
*/
|
|
2762
|
+
proto.pulumirpc.RunRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2763
|
+
var f = undefined;
|
|
2764
|
+
f = message.getProject();
|
|
2765
|
+
if (f.length > 0) {
|
|
2766
|
+
writer.writeString(
|
|
2767
|
+
1,
|
|
2768
|
+
f
|
|
2769
|
+
);
|
|
2770
|
+
}
|
|
2771
|
+
f = message.getStack();
|
|
2772
|
+
if (f.length > 0) {
|
|
2773
|
+
writer.writeString(
|
|
2774
|
+
2,
|
|
2775
|
+
f
|
|
2776
|
+
);
|
|
2777
|
+
}
|
|
2778
|
+
f = message.getPwd();
|
|
2779
|
+
if (f.length > 0) {
|
|
2780
|
+
writer.writeString(
|
|
2781
|
+
3,
|
|
2782
|
+
f
|
|
2783
|
+
);
|
|
2784
|
+
}
|
|
2785
|
+
f = message.getProgram();
|
|
2786
|
+
if (f.length > 0) {
|
|
2787
|
+
writer.writeString(
|
|
2788
|
+
4,
|
|
2789
|
+
f
|
|
2790
|
+
);
|
|
2791
|
+
}
|
|
2792
|
+
f = message.getArgsList();
|
|
2793
|
+
if (f.length > 0) {
|
|
2794
|
+
writer.writeRepeatedString(
|
|
2795
|
+
5,
|
|
2796
|
+
f
|
|
2797
|
+
);
|
|
2798
|
+
}
|
|
2799
|
+
f = message.getConfigMap(true);
|
|
2800
|
+
if (f && f.getLength() > 0) {
|
|
2801
|
+
f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
2802
|
+
}
|
|
2803
|
+
f = message.getDryrun();
|
|
2804
|
+
if (f) {
|
|
2805
|
+
writer.writeBool(
|
|
2806
|
+
7,
|
|
2807
|
+
f
|
|
2808
|
+
);
|
|
2809
|
+
}
|
|
2810
|
+
f = message.getParallel();
|
|
2811
|
+
if (f !== 0) {
|
|
2812
|
+
writer.writeInt32(
|
|
2813
|
+
8,
|
|
2814
|
+
f
|
|
2815
|
+
);
|
|
2816
|
+
}
|
|
2817
|
+
f = message.getMonitorAddress();
|
|
2818
|
+
if (f.length > 0) {
|
|
2819
|
+
writer.writeString(
|
|
2820
|
+
9,
|
|
2821
|
+
f
|
|
2822
|
+
);
|
|
2823
|
+
}
|
|
2824
|
+
f = message.getQuerymode();
|
|
2825
|
+
if (f) {
|
|
2826
|
+
writer.writeBool(
|
|
2827
|
+
10,
|
|
2828
|
+
f
|
|
2829
|
+
);
|
|
2830
|
+
}
|
|
2831
|
+
f = message.getConfigsecretkeysList();
|
|
2832
|
+
if (f.length > 0) {
|
|
2833
|
+
writer.writeRepeatedString(
|
|
2834
|
+
11,
|
|
2835
|
+
f
|
|
2836
|
+
);
|
|
2837
|
+
}
|
|
2838
|
+
f = message.getOrganization();
|
|
2839
|
+
if (f.length > 0) {
|
|
2840
|
+
writer.writeString(
|
|
2841
|
+
12,
|
|
2842
|
+
f
|
|
2444
2843
|
);
|
|
2445
2844
|
}
|
|
2446
2845
|
f = message.getConfigpropertymap();
|
|
@@ -4156,8 +4555,168 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4156
4555
|
* http://goto/soy-param-migration
|
|
4157
4556
|
* @return {!Object}
|
|
4158
4557
|
*/
|
|
4159
|
-
proto.pulumirpc.RuntimeOptionsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4160
|
-
return proto.pulumirpc.RuntimeOptionsResponse.toObject(opt_includeInstance, this);
|
|
4558
|
+
proto.pulumirpc.RuntimeOptionsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4559
|
+
return proto.pulumirpc.RuntimeOptionsResponse.toObject(opt_includeInstance, this);
|
|
4560
|
+
};
|
|
4561
|
+
|
|
4562
|
+
|
|
4563
|
+
/**
|
|
4564
|
+
* Static version of the {@see toObject} method.
|
|
4565
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4566
|
+
* the JSPB instance for transitional soy proto support:
|
|
4567
|
+
* http://goto/soy-param-migration
|
|
4568
|
+
* @param {!proto.pulumirpc.RuntimeOptionsResponse} msg The msg instance to transform.
|
|
4569
|
+
* @return {!Object}
|
|
4570
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4571
|
+
*/
|
|
4572
|
+
proto.pulumirpc.RuntimeOptionsResponse.toObject = function(includeInstance, msg) {
|
|
4573
|
+
var f, obj = {
|
|
4574
|
+
promptsList: jspb.Message.toObjectList(msg.getPromptsList(),
|
|
4575
|
+
proto.pulumirpc.RuntimeOptionPrompt.toObject, includeInstance)
|
|
4576
|
+
};
|
|
4577
|
+
|
|
4578
|
+
if (includeInstance) {
|
|
4579
|
+
obj.$jspbMessageInstance = msg;
|
|
4580
|
+
}
|
|
4581
|
+
return obj;
|
|
4582
|
+
};
|
|
4583
|
+
}
|
|
4584
|
+
|
|
4585
|
+
|
|
4586
|
+
/**
|
|
4587
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4588
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4589
|
+
* @return {!proto.pulumirpc.RuntimeOptionsResponse}
|
|
4590
|
+
*/
|
|
4591
|
+
proto.pulumirpc.RuntimeOptionsResponse.deserializeBinary = function(bytes) {
|
|
4592
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4593
|
+
var msg = new proto.pulumirpc.RuntimeOptionsResponse;
|
|
4594
|
+
return proto.pulumirpc.RuntimeOptionsResponse.deserializeBinaryFromReader(msg, reader);
|
|
4595
|
+
};
|
|
4596
|
+
|
|
4597
|
+
|
|
4598
|
+
/**
|
|
4599
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4600
|
+
* given reader into the given message object.
|
|
4601
|
+
* @param {!proto.pulumirpc.RuntimeOptionsResponse} msg The message object to deserialize into.
|
|
4602
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4603
|
+
* @return {!proto.pulumirpc.RuntimeOptionsResponse}
|
|
4604
|
+
*/
|
|
4605
|
+
proto.pulumirpc.RuntimeOptionsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4606
|
+
while (reader.nextField()) {
|
|
4607
|
+
if (reader.isEndGroup()) {
|
|
4608
|
+
break;
|
|
4609
|
+
}
|
|
4610
|
+
var field = reader.getFieldNumber();
|
|
4611
|
+
switch (field) {
|
|
4612
|
+
case 1:
|
|
4613
|
+
var value = new proto.pulumirpc.RuntimeOptionPrompt;
|
|
4614
|
+
reader.readMessage(value,proto.pulumirpc.RuntimeOptionPrompt.deserializeBinaryFromReader);
|
|
4615
|
+
msg.addPrompts(value);
|
|
4616
|
+
break;
|
|
4617
|
+
default:
|
|
4618
|
+
reader.skipField();
|
|
4619
|
+
break;
|
|
4620
|
+
}
|
|
4621
|
+
}
|
|
4622
|
+
return msg;
|
|
4623
|
+
};
|
|
4624
|
+
|
|
4625
|
+
|
|
4626
|
+
/**
|
|
4627
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4628
|
+
* @return {!Uint8Array}
|
|
4629
|
+
*/
|
|
4630
|
+
proto.pulumirpc.RuntimeOptionsResponse.prototype.serializeBinary = function() {
|
|
4631
|
+
var writer = new jspb.BinaryWriter();
|
|
4632
|
+
proto.pulumirpc.RuntimeOptionsResponse.serializeBinaryToWriter(this, writer);
|
|
4633
|
+
return writer.getResultBuffer();
|
|
4634
|
+
};
|
|
4635
|
+
|
|
4636
|
+
|
|
4637
|
+
/**
|
|
4638
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4639
|
+
* format), writing to the given BinaryWriter.
|
|
4640
|
+
* @param {!proto.pulumirpc.RuntimeOptionsResponse} message
|
|
4641
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4642
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4643
|
+
*/
|
|
4644
|
+
proto.pulumirpc.RuntimeOptionsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4645
|
+
var f = undefined;
|
|
4646
|
+
f = message.getPromptsList();
|
|
4647
|
+
if (f.length > 0) {
|
|
4648
|
+
writer.writeRepeatedMessage(
|
|
4649
|
+
1,
|
|
4650
|
+
f,
|
|
4651
|
+
proto.pulumirpc.RuntimeOptionPrompt.serializeBinaryToWriter
|
|
4652
|
+
);
|
|
4653
|
+
}
|
|
4654
|
+
};
|
|
4655
|
+
|
|
4656
|
+
|
|
4657
|
+
/**
|
|
4658
|
+
* repeated RuntimeOptionPrompt prompts = 1;
|
|
4659
|
+
* @return {!Array<!proto.pulumirpc.RuntimeOptionPrompt>}
|
|
4660
|
+
*/
|
|
4661
|
+
proto.pulumirpc.RuntimeOptionsResponse.prototype.getPromptsList = function() {
|
|
4662
|
+
return /** @type{!Array<!proto.pulumirpc.RuntimeOptionPrompt>} */ (
|
|
4663
|
+
jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.RuntimeOptionPrompt, 1));
|
|
4664
|
+
};
|
|
4665
|
+
|
|
4666
|
+
|
|
4667
|
+
/**
|
|
4668
|
+
* @param {!Array<!proto.pulumirpc.RuntimeOptionPrompt>} value
|
|
4669
|
+
* @return {!proto.pulumirpc.RuntimeOptionsResponse} returns this
|
|
4670
|
+
*/
|
|
4671
|
+
proto.pulumirpc.RuntimeOptionsResponse.prototype.setPromptsList = function(value) {
|
|
4672
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
4673
|
+
};
|
|
4674
|
+
|
|
4675
|
+
|
|
4676
|
+
/**
|
|
4677
|
+
* @param {!proto.pulumirpc.RuntimeOptionPrompt=} opt_value
|
|
4678
|
+
* @param {number=} opt_index
|
|
4679
|
+
* @return {!proto.pulumirpc.RuntimeOptionPrompt}
|
|
4680
|
+
*/
|
|
4681
|
+
proto.pulumirpc.RuntimeOptionsResponse.prototype.addPrompts = function(opt_value, opt_index) {
|
|
4682
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.pulumirpc.RuntimeOptionPrompt, opt_index);
|
|
4683
|
+
};
|
|
4684
|
+
|
|
4685
|
+
|
|
4686
|
+
/**
|
|
4687
|
+
* Clears the list making it empty but non-null.
|
|
4688
|
+
* @return {!proto.pulumirpc.RuntimeOptionsResponse} returns this
|
|
4689
|
+
*/
|
|
4690
|
+
proto.pulumirpc.RuntimeOptionsResponse.prototype.clearPromptsList = function() {
|
|
4691
|
+
return this.setPromptsList([]);
|
|
4692
|
+
};
|
|
4693
|
+
|
|
4694
|
+
|
|
4695
|
+
|
|
4696
|
+
/**
|
|
4697
|
+
* List of repeated fields within this message type.
|
|
4698
|
+
* @private {!Array<number>}
|
|
4699
|
+
* @const
|
|
4700
|
+
*/
|
|
4701
|
+
proto.pulumirpc.RunPluginRequest.repeatedFields_ = [3,4];
|
|
4702
|
+
|
|
4703
|
+
|
|
4704
|
+
|
|
4705
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4706
|
+
/**
|
|
4707
|
+
* Creates an object representation of this proto.
|
|
4708
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4709
|
+
* Optional fields that are not set will be set to undefined.
|
|
4710
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4711
|
+
* For the list of reserved names please see:
|
|
4712
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4713
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4714
|
+
* JSPB instance for transitional soy proto support:
|
|
4715
|
+
* http://goto/soy-param-migration
|
|
4716
|
+
* @return {!Object}
|
|
4717
|
+
*/
|
|
4718
|
+
proto.pulumirpc.RunPluginRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4719
|
+
return proto.pulumirpc.RunPluginRequest.toObject(opt_includeInstance, this);
|
|
4161
4720
|
};
|
|
4162
4721
|
|
|
4163
4722
|
|
|
@@ -4166,14 +4725,17 @@ proto.pulumirpc.RuntimeOptionsResponse.prototype.toObject = function(opt_include
|
|
|
4166
4725
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4167
4726
|
* the JSPB instance for transitional soy proto support:
|
|
4168
4727
|
* http://goto/soy-param-migration
|
|
4169
|
-
* @param {!proto.pulumirpc.
|
|
4728
|
+
* @param {!proto.pulumirpc.RunPluginRequest} msg The msg instance to transform.
|
|
4170
4729
|
* @return {!Object}
|
|
4171
4730
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4172
4731
|
*/
|
|
4173
|
-
proto.pulumirpc.
|
|
4732
|
+
proto.pulumirpc.RunPluginRequest.toObject = function(includeInstance, msg) {
|
|
4174
4733
|
var f, obj = {
|
|
4175
|
-
|
|
4176
|
-
|
|
4734
|
+
pwd: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4735
|
+
program: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4736
|
+
argsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
4737
|
+
envList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
4738
|
+
info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f)
|
|
4177
4739
|
};
|
|
4178
4740
|
|
|
4179
4741
|
if (includeInstance) {
|
|
@@ -4187,23 +4749,23 @@ proto.pulumirpc.RuntimeOptionsResponse.toObject = function(includeInstance, msg)
|
|
|
4187
4749
|
/**
|
|
4188
4750
|
* Deserializes binary data (in protobuf wire format).
|
|
4189
4751
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4190
|
-
* @return {!proto.pulumirpc.
|
|
4752
|
+
* @return {!proto.pulumirpc.RunPluginRequest}
|
|
4191
4753
|
*/
|
|
4192
|
-
proto.pulumirpc.
|
|
4754
|
+
proto.pulumirpc.RunPluginRequest.deserializeBinary = function(bytes) {
|
|
4193
4755
|
var reader = new jspb.BinaryReader(bytes);
|
|
4194
|
-
var msg = new proto.pulumirpc.
|
|
4195
|
-
return proto.pulumirpc.
|
|
4756
|
+
var msg = new proto.pulumirpc.RunPluginRequest;
|
|
4757
|
+
return proto.pulumirpc.RunPluginRequest.deserializeBinaryFromReader(msg, reader);
|
|
4196
4758
|
};
|
|
4197
4759
|
|
|
4198
4760
|
|
|
4199
4761
|
/**
|
|
4200
4762
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4201
4763
|
* given reader into the given message object.
|
|
4202
|
-
* @param {!proto.pulumirpc.
|
|
4764
|
+
* @param {!proto.pulumirpc.RunPluginRequest} msg The message object to deserialize into.
|
|
4203
4765
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4204
|
-
* @return {!proto.pulumirpc.
|
|
4766
|
+
* @return {!proto.pulumirpc.RunPluginRequest}
|
|
4205
4767
|
*/
|
|
4206
|
-
proto.pulumirpc.
|
|
4768
|
+
proto.pulumirpc.RunPluginRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4207
4769
|
while (reader.nextField()) {
|
|
4208
4770
|
if (reader.isEndGroup()) {
|
|
4209
4771
|
break;
|
|
@@ -4211,9 +4773,25 @@ proto.pulumirpc.RuntimeOptionsResponse.deserializeBinaryFromReader = function(ms
|
|
|
4211
4773
|
var field = reader.getFieldNumber();
|
|
4212
4774
|
switch (field) {
|
|
4213
4775
|
case 1:
|
|
4214
|
-
var value =
|
|
4215
|
-
|
|
4216
|
-
|
|
4776
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4777
|
+
msg.setPwd(value);
|
|
4778
|
+
break;
|
|
4779
|
+
case 2:
|
|
4780
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4781
|
+
msg.setProgram(value);
|
|
4782
|
+
break;
|
|
4783
|
+
case 3:
|
|
4784
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4785
|
+
msg.addArgs(value);
|
|
4786
|
+
break;
|
|
4787
|
+
case 4:
|
|
4788
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4789
|
+
msg.addEnv(value);
|
|
4790
|
+
break;
|
|
4791
|
+
case 5:
|
|
4792
|
+
var value = new proto.pulumirpc.ProgramInfo;
|
|
4793
|
+
reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
|
|
4794
|
+
msg.setInfo(value);
|
|
4217
4795
|
break;
|
|
4218
4796
|
default:
|
|
4219
4797
|
reader.skipField();
|
|
@@ -4228,9 +4806,9 @@ proto.pulumirpc.RuntimeOptionsResponse.deserializeBinaryFromReader = function(ms
|
|
|
4228
4806
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4229
4807
|
* @return {!Uint8Array}
|
|
4230
4808
|
*/
|
|
4231
|
-
proto.pulumirpc.
|
|
4809
|
+
proto.pulumirpc.RunPluginRequest.prototype.serializeBinary = function() {
|
|
4232
4810
|
var writer = new jspb.BinaryWriter();
|
|
4233
|
-
proto.pulumirpc.
|
|
4811
|
+
proto.pulumirpc.RunPluginRequest.serializeBinaryToWriter(this, writer);
|
|
4234
4812
|
return writer.getResultBuffer();
|
|
4235
4813
|
};
|
|
4236
4814
|
|
|
@@ -4238,68 +4816,225 @@ proto.pulumirpc.RuntimeOptionsResponse.prototype.serializeBinary = function() {
|
|
|
4238
4816
|
/**
|
|
4239
4817
|
* Serializes the given message to binary data (in protobuf wire
|
|
4240
4818
|
* format), writing to the given BinaryWriter.
|
|
4241
|
-
* @param {!proto.pulumirpc.
|
|
4819
|
+
* @param {!proto.pulumirpc.RunPluginRequest} message
|
|
4242
4820
|
* @param {!jspb.BinaryWriter} writer
|
|
4243
4821
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4244
4822
|
*/
|
|
4245
|
-
proto.pulumirpc.
|
|
4823
|
+
proto.pulumirpc.RunPluginRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4246
4824
|
var f = undefined;
|
|
4247
|
-
f = message.
|
|
4825
|
+
f = message.getPwd();
|
|
4248
4826
|
if (f.length > 0) {
|
|
4249
|
-
writer.
|
|
4827
|
+
writer.writeString(
|
|
4250
4828
|
1,
|
|
4829
|
+
f
|
|
4830
|
+
);
|
|
4831
|
+
}
|
|
4832
|
+
f = message.getProgram();
|
|
4833
|
+
if (f.length > 0) {
|
|
4834
|
+
writer.writeString(
|
|
4835
|
+
2,
|
|
4836
|
+
f
|
|
4837
|
+
);
|
|
4838
|
+
}
|
|
4839
|
+
f = message.getArgsList();
|
|
4840
|
+
if (f.length > 0) {
|
|
4841
|
+
writer.writeRepeatedString(
|
|
4842
|
+
3,
|
|
4843
|
+
f
|
|
4844
|
+
);
|
|
4845
|
+
}
|
|
4846
|
+
f = message.getEnvList();
|
|
4847
|
+
if (f.length > 0) {
|
|
4848
|
+
writer.writeRepeatedString(
|
|
4849
|
+
4,
|
|
4850
|
+
f
|
|
4851
|
+
);
|
|
4852
|
+
}
|
|
4853
|
+
f = message.getInfo();
|
|
4854
|
+
if (f != null) {
|
|
4855
|
+
writer.writeMessage(
|
|
4856
|
+
5,
|
|
4251
4857
|
f,
|
|
4252
|
-
proto.pulumirpc.
|
|
4858
|
+
proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
|
|
4253
4859
|
);
|
|
4254
4860
|
}
|
|
4255
4861
|
};
|
|
4256
4862
|
|
|
4257
4863
|
|
|
4258
4864
|
/**
|
|
4259
|
-
*
|
|
4260
|
-
* @return {
|
|
4865
|
+
* optional string pwd = 1;
|
|
4866
|
+
* @return {string}
|
|
4261
4867
|
*/
|
|
4262
|
-
proto.pulumirpc.
|
|
4263
|
-
return /** @type{
|
|
4264
|
-
jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.RuntimeOptionPrompt, 1));
|
|
4868
|
+
proto.pulumirpc.RunPluginRequest.prototype.getPwd = function() {
|
|
4869
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4265
4870
|
};
|
|
4266
4871
|
|
|
4267
4872
|
|
|
4268
4873
|
/**
|
|
4269
|
-
* @param {
|
|
4270
|
-
* @return {!proto.pulumirpc.
|
|
4271
|
-
*/
|
|
4272
|
-
proto.pulumirpc.
|
|
4273
|
-
return jspb.Message.
|
|
4874
|
+
* @param {string} value
|
|
4875
|
+
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
4876
|
+
*/
|
|
4877
|
+
proto.pulumirpc.RunPluginRequest.prototype.setPwd = function(value) {
|
|
4878
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4274
4879
|
};
|
|
4275
4880
|
|
|
4276
4881
|
|
|
4277
4882
|
/**
|
|
4278
|
-
*
|
|
4883
|
+
* optional string program = 2;
|
|
4884
|
+
* @return {string}
|
|
4885
|
+
*/
|
|
4886
|
+
proto.pulumirpc.RunPluginRequest.prototype.getProgram = function() {
|
|
4887
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4888
|
+
};
|
|
4889
|
+
|
|
4890
|
+
|
|
4891
|
+
/**
|
|
4892
|
+
* @param {string} value
|
|
4893
|
+
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
4894
|
+
*/
|
|
4895
|
+
proto.pulumirpc.RunPluginRequest.prototype.setProgram = function(value) {
|
|
4896
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4897
|
+
};
|
|
4898
|
+
|
|
4899
|
+
|
|
4900
|
+
/**
|
|
4901
|
+
* repeated string args = 3;
|
|
4902
|
+
* @return {!Array<string>}
|
|
4903
|
+
*/
|
|
4904
|
+
proto.pulumirpc.RunPluginRequest.prototype.getArgsList = function() {
|
|
4905
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
4906
|
+
};
|
|
4907
|
+
|
|
4908
|
+
|
|
4909
|
+
/**
|
|
4910
|
+
* @param {!Array<string>} value
|
|
4911
|
+
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
4912
|
+
*/
|
|
4913
|
+
proto.pulumirpc.RunPluginRequest.prototype.setArgsList = function(value) {
|
|
4914
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
4915
|
+
};
|
|
4916
|
+
|
|
4917
|
+
|
|
4918
|
+
/**
|
|
4919
|
+
* @param {string} value
|
|
4279
4920
|
* @param {number=} opt_index
|
|
4280
|
-
* @return {!proto.pulumirpc.
|
|
4921
|
+
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
4281
4922
|
*/
|
|
4282
|
-
proto.pulumirpc.
|
|
4283
|
-
return jspb.Message.
|
|
4923
|
+
proto.pulumirpc.RunPluginRequest.prototype.addArgs = function(value, opt_index) {
|
|
4924
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
4284
4925
|
};
|
|
4285
4926
|
|
|
4286
4927
|
|
|
4287
4928
|
/**
|
|
4288
4929
|
* Clears the list making it empty but non-null.
|
|
4289
|
-
* @return {!proto.pulumirpc.
|
|
4930
|
+
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
4290
4931
|
*/
|
|
4291
|
-
proto.pulumirpc.
|
|
4292
|
-
return this.
|
|
4932
|
+
proto.pulumirpc.RunPluginRequest.prototype.clearArgsList = function() {
|
|
4933
|
+
return this.setArgsList([]);
|
|
4934
|
+
};
|
|
4935
|
+
|
|
4936
|
+
|
|
4937
|
+
/**
|
|
4938
|
+
* repeated string env = 4;
|
|
4939
|
+
* @return {!Array<string>}
|
|
4940
|
+
*/
|
|
4941
|
+
proto.pulumirpc.RunPluginRequest.prototype.getEnvList = function() {
|
|
4942
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
4943
|
+
};
|
|
4944
|
+
|
|
4945
|
+
|
|
4946
|
+
/**
|
|
4947
|
+
* @param {!Array<string>} value
|
|
4948
|
+
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
4949
|
+
*/
|
|
4950
|
+
proto.pulumirpc.RunPluginRequest.prototype.setEnvList = function(value) {
|
|
4951
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
4952
|
+
};
|
|
4953
|
+
|
|
4954
|
+
|
|
4955
|
+
/**
|
|
4956
|
+
* @param {string} value
|
|
4957
|
+
* @param {number=} opt_index
|
|
4958
|
+
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
4959
|
+
*/
|
|
4960
|
+
proto.pulumirpc.RunPluginRequest.prototype.addEnv = function(value, opt_index) {
|
|
4961
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
4962
|
+
};
|
|
4963
|
+
|
|
4964
|
+
|
|
4965
|
+
/**
|
|
4966
|
+
* Clears the list making it empty but non-null.
|
|
4967
|
+
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
4968
|
+
*/
|
|
4969
|
+
proto.pulumirpc.RunPluginRequest.prototype.clearEnvList = function() {
|
|
4970
|
+
return this.setEnvList([]);
|
|
4971
|
+
};
|
|
4972
|
+
|
|
4973
|
+
|
|
4974
|
+
/**
|
|
4975
|
+
* optional ProgramInfo info = 5;
|
|
4976
|
+
* @return {?proto.pulumirpc.ProgramInfo}
|
|
4977
|
+
*/
|
|
4978
|
+
proto.pulumirpc.RunPluginRequest.prototype.getInfo = function() {
|
|
4979
|
+
return /** @type{?proto.pulumirpc.ProgramInfo} */ (
|
|
4980
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ProgramInfo, 5));
|
|
4981
|
+
};
|
|
4982
|
+
|
|
4983
|
+
|
|
4984
|
+
/**
|
|
4985
|
+
* @param {?proto.pulumirpc.ProgramInfo|undefined} value
|
|
4986
|
+
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
4987
|
+
*/
|
|
4988
|
+
proto.pulumirpc.RunPluginRequest.prototype.setInfo = function(value) {
|
|
4989
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
4990
|
+
};
|
|
4991
|
+
|
|
4992
|
+
|
|
4993
|
+
/**
|
|
4994
|
+
* Clears the message field making it undefined.
|
|
4995
|
+
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
4996
|
+
*/
|
|
4997
|
+
proto.pulumirpc.RunPluginRequest.prototype.clearInfo = function() {
|
|
4998
|
+
return this.setInfo(undefined);
|
|
4999
|
+
};
|
|
5000
|
+
|
|
5001
|
+
|
|
5002
|
+
/**
|
|
5003
|
+
* Returns whether this field is set.
|
|
5004
|
+
* @return {boolean}
|
|
5005
|
+
*/
|
|
5006
|
+
proto.pulumirpc.RunPluginRequest.prototype.hasInfo = function() {
|
|
5007
|
+
return jspb.Message.getField(this, 5) != null;
|
|
5008
|
+
};
|
|
5009
|
+
|
|
5010
|
+
|
|
5011
|
+
|
|
5012
|
+
/**
|
|
5013
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
5014
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
5015
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
5016
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
5017
|
+
* @private {!Array<!Array<number>>}
|
|
5018
|
+
* @const
|
|
5019
|
+
*/
|
|
5020
|
+
proto.pulumirpc.RunPluginResponse.oneofGroups_ = [[1,2,3]];
|
|
5021
|
+
|
|
5022
|
+
/**
|
|
5023
|
+
* @enum {number}
|
|
5024
|
+
*/
|
|
5025
|
+
proto.pulumirpc.RunPluginResponse.OutputCase = {
|
|
5026
|
+
OUTPUT_NOT_SET: 0,
|
|
5027
|
+
STDOUT: 1,
|
|
5028
|
+
STDERR: 2,
|
|
5029
|
+
EXITCODE: 3
|
|
4293
5030
|
};
|
|
4294
5031
|
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
5032
|
/**
|
|
4298
|
-
*
|
|
4299
|
-
* @private {!Array<number>}
|
|
4300
|
-
* @const
|
|
5033
|
+
* @return {proto.pulumirpc.RunPluginResponse.OutputCase}
|
|
4301
5034
|
*/
|
|
4302
|
-
proto.pulumirpc.
|
|
5035
|
+
proto.pulumirpc.RunPluginResponse.prototype.getOutputCase = function() {
|
|
5036
|
+
return /** @type {proto.pulumirpc.RunPluginResponse.OutputCase} */(jspb.Message.computeOneofCase(this, proto.pulumirpc.RunPluginResponse.oneofGroups_[0]));
|
|
5037
|
+
};
|
|
4303
5038
|
|
|
4304
5039
|
|
|
4305
5040
|
|
|
@@ -4316,8 +5051,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4316
5051
|
* http://goto/soy-param-migration
|
|
4317
5052
|
* @return {!Object}
|
|
4318
5053
|
*/
|
|
4319
|
-
proto.pulumirpc.
|
|
4320
|
-
return proto.pulumirpc.
|
|
5054
|
+
proto.pulumirpc.RunPluginResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5055
|
+
return proto.pulumirpc.RunPluginResponse.toObject(opt_includeInstance, this);
|
|
4321
5056
|
};
|
|
4322
5057
|
|
|
4323
5058
|
|
|
@@ -4326,17 +5061,15 @@ proto.pulumirpc.RunPluginRequest.prototype.toObject = function(opt_includeInstan
|
|
|
4326
5061
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4327
5062
|
* the JSPB instance for transitional soy proto support:
|
|
4328
5063
|
* http://goto/soy-param-migration
|
|
4329
|
-
* @param {!proto.pulumirpc.
|
|
5064
|
+
* @param {!proto.pulumirpc.RunPluginResponse} msg The msg instance to transform.
|
|
4330
5065
|
* @return {!Object}
|
|
4331
5066
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4332
5067
|
*/
|
|
4333
|
-
proto.pulumirpc.
|
|
5068
|
+
proto.pulumirpc.RunPluginResponse.toObject = function(includeInstance, msg) {
|
|
4334
5069
|
var f, obj = {
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
envList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
4339
|
-
info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f)
|
|
5070
|
+
stdout: msg.getStdout_asB64(),
|
|
5071
|
+
stderr: msg.getStderr_asB64(),
|
|
5072
|
+
exitcode: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
4340
5073
|
};
|
|
4341
5074
|
|
|
4342
5075
|
if (includeInstance) {
|
|
@@ -4350,23 +5083,23 @@ proto.pulumirpc.RunPluginRequest.toObject = function(includeInstance, msg) {
|
|
|
4350
5083
|
/**
|
|
4351
5084
|
* Deserializes binary data (in protobuf wire format).
|
|
4352
5085
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4353
|
-
* @return {!proto.pulumirpc.
|
|
5086
|
+
* @return {!proto.pulumirpc.RunPluginResponse}
|
|
4354
5087
|
*/
|
|
4355
|
-
proto.pulumirpc.
|
|
5088
|
+
proto.pulumirpc.RunPluginResponse.deserializeBinary = function(bytes) {
|
|
4356
5089
|
var reader = new jspb.BinaryReader(bytes);
|
|
4357
|
-
var msg = new proto.pulumirpc.
|
|
4358
|
-
return proto.pulumirpc.
|
|
5090
|
+
var msg = new proto.pulumirpc.RunPluginResponse;
|
|
5091
|
+
return proto.pulumirpc.RunPluginResponse.deserializeBinaryFromReader(msg, reader);
|
|
4359
5092
|
};
|
|
4360
5093
|
|
|
4361
5094
|
|
|
4362
5095
|
/**
|
|
4363
5096
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4364
5097
|
* given reader into the given message object.
|
|
4365
|
-
* @param {!proto.pulumirpc.
|
|
5098
|
+
* @param {!proto.pulumirpc.RunPluginResponse} msg The message object to deserialize into.
|
|
4366
5099
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4367
|
-
* @return {!proto.pulumirpc.
|
|
5100
|
+
* @return {!proto.pulumirpc.RunPluginResponse}
|
|
4368
5101
|
*/
|
|
4369
|
-
proto.pulumirpc.
|
|
5102
|
+
proto.pulumirpc.RunPluginResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4370
5103
|
while (reader.nextField()) {
|
|
4371
5104
|
if (reader.isEndGroup()) {
|
|
4372
5105
|
break;
|
|
@@ -4374,25 +5107,16 @@ proto.pulumirpc.RunPluginRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
4374
5107
|
var field = reader.getFieldNumber();
|
|
4375
5108
|
switch (field) {
|
|
4376
5109
|
case 1:
|
|
4377
|
-
var value = /** @type {
|
|
4378
|
-
msg.
|
|
5110
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
5111
|
+
msg.setStdout(value);
|
|
4379
5112
|
break;
|
|
4380
5113
|
case 2:
|
|
4381
|
-
var value = /** @type {
|
|
4382
|
-
msg.
|
|
5114
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
5115
|
+
msg.setStderr(value);
|
|
4383
5116
|
break;
|
|
4384
5117
|
case 3:
|
|
4385
|
-
var value = /** @type {
|
|
4386
|
-
msg.
|
|
4387
|
-
break;
|
|
4388
|
-
case 4:
|
|
4389
|
-
var value = /** @type {string} */ (reader.readString());
|
|
4390
|
-
msg.addEnv(value);
|
|
4391
|
-
break;
|
|
4392
|
-
case 5:
|
|
4393
|
-
var value = new proto.pulumirpc.ProgramInfo;
|
|
4394
|
-
reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
|
|
4395
|
-
msg.setInfo(value);
|
|
5118
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
5119
|
+
msg.setExitcode(value);
|
|
4396
5120
|
break;
|
|
4397
5121
|
default:
|
|
4398
5122
|
reader.skipField();
|
|
@@ -4407,9 +5131,9 @@ proto.pulumirpc.RunPluginRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
4407
5131
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4408
5132
|
* @return {!Uint8Array}
|
|
4409
5133
|
*/
|
|
4410
|
-
proto.pulumirpc.
|
|
5134
|
+
proto.pulumirpc.RunPluginResponse.prototype.serializeBinary = function() {
|
|
4411
5135
|
var writer = new jspb.BinaryWriter();
|
|
4412
|
-
proto.pulumirpc.
|
|
5136
|
+
proto.pulumirpc.RunPluginResponse.serializeBinaryToWriter(this, writer);
|
|
4413
5137
|
return writer.getResultBuffer();
|
|
4414
5138
|
};
|
|
4415
5139
|
|
|
@@ -4417,228 +5141,195 @@ proto.pulumirpc.RunPluginRequest.prototype.serializeBinary = function() {
|
|
|
4417
5141
|
/**
|
|
4418
5142
|
* Serializes the given message to binary data (in protobuf wire
|
|
4419
5143
|
* format), writing to the given BinaryWriter.
|
|
4420
|
-
* @param {!proto.pulumirpc.
|
|
5144
|
+
* @param {!proto.pulumirpc.RunPluginResponse} message
|
|
4421
5145
|
* @param {!jspb.BinaryWriter} writer
|
|
4422
5146
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4423
5147
|
*/
|
|
4424
|
-
proto.pulumirpc.
|
|
5148
|
+
proto.pulumirpc.RunPluginResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4425
5149
|
var f = undefined;
|
|
4426
|
-
f =
|
|
4427
|
-
if (f
|
|
4428
|
-
writer.
|
|
5150
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1));
|
|
5151
|
+
if (f != null) {
|
|
5152
|
+
writer.writeBytes(
|
|
4429
5153
|
1,
|
|
4430
5154
|
f
|
|
4431
5155
|
);
|
|
4432
5156
|
}
|
|
4433
|
-
f =
|
|
4434
|
-
if (f
|
|
4435
|
-
writer.
|
|
5157
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
|
|
5158
|
+
if (f != null) {
|
|
5159
|
+
writer.writeBytes(
|
|
4436
5160
|
2,
|
|
4437
5161
|
f
|
|
4438
5162
|
);
|
|
4439
5163
|
}
|
|
4440
|
-
f =
|
|
4441
|
-
if (f
|
|
4442
|
-
writer.
|
|
5164
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
5165
|
+
if (f != null) {
|
|
5166
|
+
writer.writeInt32(
|
|
4443
5167
|
3,
|
|
4444
5168
|
f
|
|
4445
5169
|
);
|
|
4446
5170
|
}
|
|
4447
|
-
f = message.getEnvList();
|
|
4448
|
-
if (f.length > 0) {
|
|
4449
|
-
writer.writeRepeatedString(
|
|
4450
|
-
4,
|
|
4451
|
-
f
|
|
4452
|
-
);
|
|
4453
|
-
}
|
|
4454
|
-
f = message.getInfo();
|
|
4455
|
-
if (f != null) {
|
|
4456
|
-
writer.writeMessage(
|
|
4457
|
-
5,
|
|
4458
|
-
f,
|
|
4459
|
-
proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
|
|
4460
|
-
);
|
|
4461
|
-
}
|
|
4462
|
-
};
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
/**
|
|
4466
|
-
* optional string pwd = 1;
|
|
4467
|
-
* @return {string}
|
|
4468
|
-
*/
|
|
4469
|
-
proto.pulumirpc.RunPluginRequest.prototype.getPwd = function() {
|
|
4470
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4471
5171
|
};
|
|
4472
5172
|
|
|
4473
5173
|
|
|
4474
5174
|
/**
|
|
4475
|
-
*
|
|
4476
|
-
* @return {!
|
|
5175
|
+
* optional bytes stdout = 1;
|
|
5176
|
+
* @return {!(string|Uint8Array)}
|
|
4477
5177
|
*/
|
|
4478
|
-
proto.pulumirpc.
|
|
4479
|
-
return jspb.Message.
|
|
5178
|
+
proto.pulumirpc.RunPluginResponse.prototype.getStdout = function() {
|
|
5179
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4480
5180
|
};
|
|
4481
5181
|
|
|
4482
5182
|
|
|
4483
5183
|
/**
|
|
4484
|
-
* optional
|
|
5184
|
+
* optional bytes stdout = 1;
|
|
5185
|
+
* This is a type-conversion wrapper around `getStdout()`
|
|
4485
5186
|
* @return {string}
|
|
4486
5187
|
*/
|
|
4487
|
-
proto.pulumirpc.
|
|
4488
|
-
return /** @type {string} */ (jspb.Message.
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
/**
|
|
4493
|
-
* @param {string} value
|
|
4494
|
-
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
4495
|
-
*/
|
|
4496
|
-
proto.pulumirpc.RunPluginRequest.prototype.setProgram = function(value) {
|
|
4497
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5188
|
+
proto.pulumirpc.RunPluginResponse.prototype.getStdout_asB64 = function() {
|
|
5189
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
5190
|
+
this.getStdout()));
|
|
4498
5191
|
};
|
|
4499
5192
|
|
|
4500
5193
|
|
|
4501
5194
|
/**
|
|
4502
|
-
*
|
|
4503
|
-
*
|
|
5195
|
+
* optional bytes stdout = 1;
|
|
5196
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
5197
|
+
* @see http://caniuse.com/Uint8Array
|
|
5198
|
+
* This is a type-conversion wrapper around `getStdout()`
|
|
5199
|
+
* @return {!Uint8Array}
|
|
4504
5200
|
*/
|
|
4505
|
-
proto.pulumirpc.
|
|
4506
|
-
return /** @type {!
|
|
5201
|
+
proto.pulumirpc.RunPluginResponse.prototype.getStdout_asU8 = function() {
|
|
5202
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
5203
|
+
this.getStdout()));
|
|
4507
5204
|
};
|
|
4508
5205
|
|
|
4509
5206
|
|
|
4510
5207
|
/**
|
|
4511
|
-
* @param {!
|
|
4512
|
-
* @return {!proto.pulumirpc.
|
|
5208
|
+
* @param {!(string|Uint8Array)} value
|
|
5209
|
+
* @return {!proto.pulumirpc.RunPluginResponse} returns this
|
|
4513
5210
|
*/
|
|
4514
|
-
proto.pulumirpc.
|
|
4515
|
-
return jspb.Message.
|
|
5211
|
+
proto.pulumirpc.RunPluginResponse.prototype.setStdout = function(value) {
|
|
5212
|
+
return jspb.Message.setOneofField(this, 1, proto.pulumirpc.RunPluginResponse.oneofGroups_[0], value);
|
|
4516
5213
|
};
|
|
4517
5214
|
|
|
4518
5215
|
|
|
4519
5216
|
/**
|
|
4520
|
-
*
|
|
4521
|
-
* @
|
|
4522
|
-
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
5217
|
+
* Clears the field making it undefined.
|
|
5218
|
+
* @return {!proto.pulumirpc.RunPluginResponse} returns this
|
|
4523
5219
|
*/
|
|
4524
|
-
proto.pulumirpc.
|
|
4525
|
-
return jspb.Message.
|
|
5220
|
+
proto.pulumirpc.RunPluginResponse.prototype.clearStdout = function() {
|
|
5221
|
+
return jspb.Message.setOneofField(this, 1, proto.pulumirpc.RunPluginResponse.oneofGroups_[0], undefined);
|
|
4526
5222
|
};
|
|
4527
5223
|
|
|
4528
5224
|
|
|
4529
5225
|
/**
|
|
4530
|
-
*
|
|
4531
|
-
* @return {
|
|
5226
|
+
* Returns whether this field is set.
|
|
5227
|
+
* @return {boolean}
|
|
4532
5228
|
*/
|
|
4533
|
-
proto.pulumirpc.
|
|
4534
|
-
return
|
|
5229
|
+
proto.pulumirpc.RunPluginResponse.prototype.hasStdout = function() {
|
|
5230
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4535
5231
|
};
|
|
4536
5232
|
|
|
4537
5233
|
|
|
4538
5234
|
/**
|
|
4539
|
-
*
|
|
4540
|
-
* @return {!
|
|
5235
|
+
* optional bytes stderr = 2;
|
|
5236
|
+
* @return {!(string|Uint8Array)}
|
|
4541
5237
|
*/
|
|
4542
|
-
proto.pulumirpc.
|
|
4543
|
-
return /** @type {!
|
|
5238
|
+
proto.pulumirpc.RunPluginResponse.prototype.getStderr = function() {
|
|
5239
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4544
5240
|
};
|
|
4545
5241
|
|
|
4546
5242
|
|
|
4547
5243
|
/**
|
|
4548
|
-
*
|
|
4549
|
-
*
|
|
5244
|
+
* optional bytes stderr = 2;
|
|
5245
|
+
* This is a type-conversion wrapper around `getStderr()`
|
|
5246
|
+
* @return {string}
|
|
4550
5247
|
*/
|
|
4551
|
-
proto.pulumirpc.
|
|
4552
|
-
return jspb.Message.
|
|
5248
|
+
proto.pulumirpc.RunPluginResponse.prototype.getStderr_asB64 = function() {
|
|
5249
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
5250
|
+
this.getStderr()));
|
|
4553
5251
|
};
|
|
4554
5252
|
|
|
4555
5253
|
|
|
4556
5254
|
/**
|
|
4557
|
-
*
|
|
4558
|
-
*
|
|
4559
|
-
* @
|
|
5255
|
+
* optional bytes stderr = 2;
|
|
5256
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
5257
|
+
* @see http://caniuse.com/Uint8Array
|
|
5258
|
+
* This is a type-conversion wrapper around `getStderr()`
|
|
5259
|
+
* @return {!Uint8Array}
|
|
4560
5260
|
*/
|
|
4561
|
-
proto.pulumirpc.
|
|
4562
|
-
return jspb.Message.
|
|
5261
|
+
proto.pulumirpc.RunPluginResponse.prototype.getStderr_asU8 = function() {
|
|
5262
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
5263
|
+
this.getStderr()));
|
|
4563
5264
|
};
|
|
4564
5265
|
|
|
4565
5266
|
|
|
4566
5267
|
/**
|
|
4567
|
-
*
|
|
4568
|
-
* @return {!proto.pulumirpc.
|
|
5268
|
+
* @param {!(string|Uint8Array)} value
|
|
5269
|
+
* @return {!proto.pulumirpc.RunPluginResponse} returns this
|
|
4569
5270
|
*/
|
|
4570
|
-
proto.pulumirpc.
|
|
4571
|
-
return this.
|
|
5271
|
+
proto.pulumirpc.RunPluginResponse.prototype.setStderr = function(value) {
|
|
5272
|
+
return jspb.Message.setOneofField(this, 2, proto.pulumirpc.RunPluginResponse.oneofGroups_[0], value);
|
|
4572
5273
|
};
|
|
4573
5274
|
|
|
4574
5275
|
|
|
4575
5276
|
/**
|
|
4576
|
-
*
|
|
4577
|
-
* @return {
|
|
5277
|
+
* Clears the field making it undefined.
|
|
5278
|
+
* @return {!proto.pulumirpc.RunPluginResponse} returns this
|
|
4578
5279
|
*/
|
|
4579
|
-
proto.pulumirpc.
|
|
4580
|
-
return
|
|
4581
|
-
jspb.Message.getWrapperField(this, proto.pulumirpc.ProgramInfo, 5));
|
|
4582
|
-
};
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
/**
|
|
4586
|
-
* @param {?proto.pulumirpc.ProgramInfo|undefined} value
|
|
4587
|
-
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
4588
|
-
*/
|
|
4589
|
-
proto.pulumirpc.RunPluginRequest.prototype.setInfo = function(value) {
|
|
4590
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
5280
|
+
proto.pulumirpc.RunPluginResponse.prototype.clearStderr = function() {
|
|
5281
|
+
return jspb.Message.setOneofField(this, 2, proto.pulumirpc.RunPluginResponse.oneofGroups_[0], undefined);
|
|
4591
5282
|
};
|
|
4592
5283
|
|
|
4593
5284
|
|
|
4594
5285
|
/**
|
|
4595
|
-
*
|
|
4596
|
-
* @return {
|
|
5286
|
+
* Returns whether this field is set.
|
|
5287
|
+
* @return {boolean}
|
|
4597
5288
|
*/
|
|
4598
|
-
proto.pulumirpc.
|
|
4599
|
-
return
|
|
5289
|
+
proto.pulumirpc.RunPluginResponse.prototype.hasStderr = function() {
|
|
5290
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4600
5291
|
};
|
|
4601
5292
|
|
|
4602
5293
|
|
|
4603
5294
|
/**
|
|
4604
|
-
*
|
|
4605
|
-
* @return {
|
|
5295
|
+
* optional int32 exitcode = 3;
|
|
5296
|
+
* @return {number}
|
|
4606
5297
|
*/
|
|
4607
|
-
proto.pulumirpc.
|
|
4608
|
-
return jspb.Message.
|
|
5298
|
+
proto.pulumirpc.RunPluginResponse.prototype.getExitcode = function() {
|
|
5299
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
4609
5300
|
};
|
|
4610
5301
|
|
|
4611
5302
|
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
*
|
|
4615
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
|
4616
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
4617
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
4618
|
-
* @private {!Array<!Array<number>>}
|
|
4619
|
-
* @const
|
|
5303
|
+
/**
|
|
5304
|
+
* @param {number} value
|
|
5305
|
+
* @return {!proto.pulumirpc.RunPluginResponse} returns this
|
|
4620
5306
|
*/
|
|
4621
|
-
proto.pulumirpc.RunPluginResponse.
|
|
5307
|
+
proto.pulumirpc.RunPluginResponse.prototype.setExitcode = function(value) {
|
|
5308
|
+
return jspb.Message.setOneofField(this, 3, proto.pulumirpc.RunPluginResponse.oneofGroups_[0], value);
|
|
5309
|
+
};
|
|
5310
|
+
|
|
4622
5311
|
|
|
4623
5312
|
/**
|
|
4624
|
-
*
|
|
5313
|
+
* Clears the field making it undefined.
|
|
5314
|
+
* @return {!proto.pulumirpc.RunPluginResponse} returns this
|
|
4625
5315
|
*/
|
|
4626
|
-
proto.pulumirpc.RunPluginResponse.
|
|
4627
|
-
|
|
4628
|
-
STDOUT: 1,
|
|
4629
|
-
STDERR: 2,
|
|
4630
|
-
EXITCODE: 3
|
|
5316
|
+
proto.pulumirpc.RunPluginResponse.prototype.clearExitcode = function() {
|
|
5317
|
+
return jspb.Message.setOneofField(this, 3, proto.pulumirpc.RunPluginResponse.oneofGroups_[0], undefined);
|
|
4631
5318
|
};
|
|
4632
5319
|
|
|
5320
|
+
|
|
4633
5321
|
/**
|
|
4634
|
-
*
|
|
5322
|
+
* Returns whether this field is set.
|
|
5323
|
+
* @return {boolean}
|
|
4635
5324
|
*/
|
|
4636
|
-
proto.pulumirpc.RunPluginResponse.prototype.
|
|
4637
|
-
return
|
|
5325
|
+
proto.pulumirpc.RunPluginResponse.prototype.hasExitcode = function() {
|
|
5326
|
+
return jspb.Message.getField(this, 3) != null;
|
|
4638
5327
|
};
|
|
4639
5328
|
|
|
4640
5329
|
|
|
4641
5330
|
|
|
5331
|
+
|
|
5332
|
+
|
|
4642
5333
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4643
5334
|
/**
|
|
4644
5335
|
* Creates an object representation of this proto.
|
|
@@ -4652,8 +5343,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4652
5343
|
* http://goto/soy-param-migration
|
|
4653
5344
|
* @return {!Object}
|
|
4654
5345
|
*/
|
|
4655
|
-
proto.pulumirpc.
|
|
4656
|
-
return proto.pulumirpc.
|
|
5346
|
+
proto.pulumirpc.GenerateProgramRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5347
|
+
return proto.pulumirpc.GenerateProgramRequest.toObject(opt_includeInstance, this);
|
|
4657
5348
|
};
|
|
4658
5349
|
|
|
4659
5350
|
|
|
@@ -4662,15 +5353,15 @@ proto.pulumirpc.RunPluginResponse.prototype.toObject = function(opt_includeInsta
|
|
|
4662
5353
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4663
5354
|
* the JSPB instance for transitional soy proto support:
|
|
4664
5355
|
* http://goto/soy-param-migration
|
|
4665
|
-
* @param {!proto.pulumirpc.
|
|
5356
|
+
* @param {!proto.pulumirpc.GenerateProgramRequest} msg The msg instance to transform.
|
|
4666
5357
|
* @return {!Object}
|
|
4667
5358
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4668
5359
|
*/
|
|
4669
|
-
proto.pulumirpc.
|
|
5360
|
+
proto.pulumirpc.GenerateProgramRequest.toObject = function(includeInstance, msg) {
|
|
4670
5361
|
var f, obj = {
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
5362
|
+
sourceMap: (f = msg.getSourceMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
5363
|
+
loaderTarget: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5364
|
+
strict: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
4674
5365
|
};
|
|
4675
5366
|
|
|
4676
5367
|
if (includeInstance) {
|
|
@@ -4684,23 +5375,23 @@ proto.pulumirpc.RunPluginResponse.toObject = function(includeInstance, msg) {
|
|
|
4684
5375
|
/**
|
|
4685
5376
|
* Deserializes binary data (in protobuf wire format).
|
|
4686
5377
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4687
|
-
* @return {!proto.pulumirpc.
|
|
5378
|
+
* @return {!proto.pulumirpc.GenerateProgramRequest}
|
|
4688
5379
|
*/
|
|
4689
|
-
proto.pulumirpc.
|
|
5380
|
+
proto.pulumirpc.GenerateProgramRequest.deserializeBinary = function(bytes) {
|
|
4690
5381
|
var reader = new jspb.BinaryReader(bytes);
|
|
4691
|
-
var msg = new proto.pulumirpc.
|
|
4692
|
-
return proto.pulumirpc.
|
|
5382
|
+
var msg = new proto.pulumirpc.GenerateProgramRequest;
|
|
5383
|
+
return proto.pulumirpc.GenerateProgramRequest.deserializeBinaryFromReader(msg, reader);
|
|
4693
5384
|
};
|
|
4694
5385
|
|
|
4695
5386
|
|
|
4696
5387
|
/**
|
|
4697
5388
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4698
5389
|
* given reader into the given message object.
|
|
4699
|
-
* @param {!proto.pulumirpc.
|
|
5390
|
+
* @param {!proto.pulumirpc.GenerateProgramRequest} msg The message object to deserialize into.
|
|
4700
5391
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4701
|
-
* @return {!proto.pulumirpc.
|
|
5392
|
+
* @return {!proto.pulumirpc.GenerateProgramRequest}
|
|
4702
5393
|
*/
|
|
4703
|
-
proto.pulumirpc.
|
|
5394
|
+
proto.pulumirpc.GenerateProgramRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4704
5395
|
while (reader.nextField()) {
|
|
4705
5396
|
if (reader.isEndGroup()) {
|
|
4706
5397
|
break;
|
|
@@ -4708,16 +5399,18 @@ proto.pulumirpc.RunPluginResponse.deserializeBinaryFromReader = function(msg, re
|
|
|
4708
5399
|
var field = reader.getFieldNumber();
|
|
4709
5400
|
switch (field) {
|
|
4710
5401
|
case 1:
|
|
4711
|
-
var value =
|
|
4712
|
-
|
|
5402
|
+
var value = msg.getSourceMap();
|
|
5403
|
+
reader.readMessage(value, function(message, reader) {
|
|
5404
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
5405
|
+
});
|
|
4713
5406
|
break;
|
|
4714
5407
|
case 2:
|
|
4715
|
-
var value = /** @type {
|
|
4716
|
-
msg.
|
|
5408
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5409
|
+
msg.setLoaderTarget(value);
|
|
4717
5410
|
break;
|
|
4718
5411
|
case 3:
|
|
4719
|
-
var value = /** @type {
|
|
4720
|
-
msg.
|
|
5412
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5413
|
+
msg.setStrict(value);
|
|
4721
5414
|
break;
|
|
4722
5415
|
default:
|
|
4723
5416
|
reader.skipField();
|
|
@@ -4732,9 +5425,9 @@ proto.pulumirpc.RunPluginResponse.deserializeBinaryFromReader = function(msg, re
|
|
|
4732
5425
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4733
5426
|
* @return {!Uint8Array}
|
|
4734
5427
|
*/
|
|
4735
|
-
proto.pulumirpc.
|
|
5428
|
+
proto.pulumirpc.GenerateProgramRequest.prototype.serializeBinary = function() {
|
|
4736
5429
|
var writer = new jspb.BinaryWriter();
|
|
4737
|
-
proto.pulumirpc.
|
|
5430
|
+
proto.pulumirpc.GenerateProgramRequest.serializeBinaryToWriter(this, writer);
|
|
4738
5431
|
return writer.getResultBuffer();
|
|
4739
5432
|
};
|
|
4740
5433
|
|
|
@@ -4742,29 +5435,26 @@ proto.pulumirpc.RunPluginResponse.prototype.serializeBinary = function() {
|
|
|
4742
5435
|
/**
|
|
4743
5436
|
* Serializes the given message to binary data (in protobuf wire
|
|
4744
5437
|
* format), writing to the given BinaryWriter.
|
|
4745
|
-
* @param {!proto.pulumirpc.
|
|
5438
|
+
* @param {!proto.pulumirpc.GenerateProgramRequest} message
|
|
4746
5439
|
* @param {!jspb.BinaryWriter} writer
|
|
4747
5440
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4748
5441
|
*/
|
|
4749
|
-
proto.pulumirpc.
|
|
5442
|
+
proto.pulumirpc.GenerateProgramRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4750
5443
|
var f = undefined;
|
|
4751
|
-
f =
|
|
4752
|
-
if (f
|
|
4753
|
-
writer.
|
|
4754
|
-
1,
|
|
4755
|
-
f
|
|
4756
|
-
);
|
|
5444
|
+
f = message.getSourceMap(true);
|
|
5445
|
+
if (f && f.getLength() > 0) {
|
|
5446
|
+
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
4757
5447
|
}
|
|
4758
|
-
f =
|
|
4759
|
-
if (f
|
|
4760
|
-
writer.
|
|
5448
|
+
f = message.getLoaderTarget();
|
|
5449
|
+
if (f.length > 0) {
|
|
5450
|
+
writer.writeString(
|
|
4761
5451
|
2,
|
|
4762
5452
|
f
|
|
4763
5453
|
);
|
|
4764
5454
|
}
|
|
4765
|
-
f =
|
|
4766
|
-
if (f
|
|
4767
|
-
writer.
|
|
5455
|
+
f = message.getStrict();
|
|
5456
|
+
if (f) {
|
|
5457
|
+
writer.writeBool(
|
|
4768
5458
|
3,
|
|
4769
5459
|
f
|
|
4770
5460
|
);
|
|
@@ -4773,159 +5463,254 @@ proto.pulumirpc.RunPluginResponse.serializeBinaryToWriter = function(message, wr
|
|
|
4773
5463
|
|
|
4774
5464
|
|
|
4775
5465
|
/**
|
|
4776
|
-
*
|
|
4777
|
-
* @
|
|
5466
|
+
* map<string, string> source = 1;
|
|
5467
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
5468
|
+
* empty, instead returning `undefined`
|
|
5469
|
+
* @return {!jspb.Map<string,string>}
|
|
4778
5470
|
*/
|
|
4779
|
-
proto.pulumirpc.
|
|
4780
|
-
return /** @type {!
|
|
5471
|
+
proto.pulumirpc.GenerateProgramRequest.prototype.getSourceMap = function(opt_noLazyCreate) {
|
|
5472
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
5473
|
+
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
5474
|
+
null));
|
|
4781
5475
|
};
|
|
4782
5476
|
|
|
4783
5477
|
|
|
4784
5478
|
/**
|
|
4785
|
-
*
|
|
4786
|
-
*
|
|
5479
|
+
* Clears values from the map. The map will be non-null.
|
|
5480
|
+
* @return {!proto.pulumirpc.GenerateProgramRequest} returns this
|
|
5481
|
+
*/
|
|
5482
|
+
proto.pulumirpc.GenerateProgramRequest.prototype.clearSourceMap = function() {
|
|
5483
|
+
this.getSourceMap().clear();
|
|
5484
|
+
return this;};
|
|
5485
|
+
|
|
5486
|
+
|
|
5487
|
+
/**
|
|
5488
|
+
* optional string loader_target = 2;
|
|
4787
5489
|
* @return {string}
|
|
4788
5490
|
*/
|
|
4789
|
-
proto.pulumirpc.
|
|
4790
|
-
return /** @type {string} */ (jspb.Message.
|
|
4791
|
-
this.getStdout()));
|
|
5491
|
+
proto.pulumirpc.GenerateProgramRequest.prototype.getLoaderTarget = function() {
|
|
5492
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4792
5493
|
};
|
|
4793
5494
|
|
|
4794
5495
|
|
|
4795
5496
|
/**
|
|
4796
|
-
*
|
|
4797
|
-
*
|
|
4798
|
-
* @see http://caniuse.com/Uint8Array
|
|
4799
|
-
* This is a type-conversion wrapper around `getStdout()`
|
|
4800
|
-
* @return {!Uint8Array}
|
|
5497
|
+
* @param {string} value
|
|
5498
|
+
* @return {!proto.pulumirpc.GenerateProgramRequest} returns this
|
|
4801
5499
|
*/
|
|
4802
|
-
proto.pulumirpc.
|
|
4803
|
-
return
|
|
4804
|
-
this.getStdout()));
|
|
5500
|
+
proto.pulumirpc.GenerateProgramRequest.prototype.setLoaderTarget = function(value) {
|
|
5501
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4805
5502
|
};
|
|
4806
5503
|
|
|
4807
5504
|
|
|
4808
5505
|
/**
|
|
4809
|
-
*
|
|
4810
|
-
* @return {
|
|
5506
|
+
* optional bool strict = 3;
|
|
5507
|
+
* @return {boolean}
|
|
4811
5508
|
*/
|
|
4812
|
-
proto.pulumirpc.
|
|
4813
|
-
return jspb.Message.
|
|
5509
|
+
proto.pulumirpc.GenerateProgramRequest.prototype.getStrict = function() {
|
|
5510
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
4814
5511
|
};
|
|
4815
5512
|
|
|
4816
5513
|
|
|
4817
5514
|
/**
|
|
4818
|
-
*
|
|
4819
|
-
* @return {!proto.pulumirpc.
|
|
5515
|
+
* @param {boolean} value
|
|
5516
|
+
* @return {!proto.pulumirpc.GenerateProgramRequest} returns this
|
|
4820
5517
|
*/
|
|
4821
|
-
proto.pulumirpc.
|
|
4822
|
-
return jspb.Message.
|
|
5518
|
+
proto.pulumirpc.GenerateProgramRequest.prototype.setStrict = function(value) {
|
|
5519
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
4823
5520
|
};
|
|
4824
5521
|
|
|
4825
5522
|
|
|
5523
|
+
|
|
4826
5524
|
/**
|
|
4827
|
-
*
|
|
4828
|
-
* @
|
|
5525
|
+
* List of repeated fields within this message type.
|
|
5526
|
+
* @private {!Array<number>}
|
|
5527
|
+
* @const
|
|
4829
5528
|
*/
|
|
4830
|
-
proto.pulumirpc.
|
|
4831
|
-
|
|
5529
|
+
proto.pulumirpc.GenerateProgramResponse.repeatedFields_ = [1];
|
|
5530
|
+
|
|
5531
|
+
|
|
5532
|
+
|
|
5533
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5534
|
+
/**
|
|
5535
|
+
* Creates an object representation of this proto.
|
|
5536
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5537
|
+
* Optional fields that are not set will be set to undefined.
|
|
5538
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5539
|
+
* For the list of reserved names please see:
|
|
5540
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5541
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5542
|
+
* JSPB instance for transitional soy proto support:
|
|
5543
|
+
* http://goto/soy-param-migration
|
|
5544
|
+
* @return {!Object}
|
|
5545
|
+
*/
|
|
5546
|
+
proto.pulumirpc.GenerateProgramResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5547
|
+
return proto.pulumirpc.GenerateProgramResponse.toObject(opt_includeInstance, this);
|
|
4832
5548
|
};
|
|
4833
5549
|
|
|
4834
5550
|
|
|
4835
5551
|
/**
|
|
4836
|
-
*
|
|
4837
|
-
* @
|
|
5552
|
+
* Static version of the {@see toObject} method.
|
|
5553
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5554
|
+
* the JSPB instance for transitional soy proto support:
|
|
5555
|
+
* http://goto/soy-param-migration
|
|
5556
|
+
* @param {!proto.pulumirpc.GenerateProgramResponse} msg The msg instance to transform.
|
|
5557
|
+
* @return {!Object}
|
|
5558
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4838
5559
|
*/
|
|
4839
|
-
proto.pulumirpc.
|
|
4840
|
-
|
|
5560
|
+
proto.pulumirpc.GenerateProgramResponse.toObject = function(includeInstance, msg) {
|
|
5561
|
+
var f, obj = {
|
|
5562
|
+
diagnosticsList: jspb.Message.toObjectList(msg.getDiagnosticsList(),
|
|
5563
|
+
pulumi_codegen_hcl_pb.Diagnostic.toObject, includeInstance),
|
|
5564
|
+
sourceMap: (f = msg.getSourceMap()) ? f.toObject(includeInstance, undefined) : []
|
|
5565
|
+
};
|
|
5566
|
+
|
|
5567
|
+
if (includeInstance) {
|
|
5568
|
+
obj.$jspbMessageInstance = msg;
|
|
5569
|
+
}
|
|
5570
|
+
return obj;
|
|
4841
5571
|
};
|
|
5572
|
+
}
|
|
4842
5573
|
|
|
4843
5574
|
|
|
4844
5575
|
/**
|
|
4845
|
-
*
|
|
4846
|
-
*
|
|
4847
|
-
* @return {
|
|
5576
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5577
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5578
|
+
* @return {!proto.pulumirpc.GenerateProgramResponse}
|
|
4848
5579
|
*/
|
|
4849
|
-
proto.pulumirpc.
|
|
4850
|
-
|
|
4851
|
-
|
|
5580
|
+
proto.pulumirpc.GenerateProgramResponse.deserializeBinary = function(bytes) {
|
|
5581
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5582
|
+
var msg = new proto.pulumirpc.GenerateProgramResponse;
|
|
5583
|
+
return proto.pulumirpc.GenerateProgramResponse.deserializeBinaryFromReader(msg, reader);
|
|
4852
5584
|
};
|
|
4853
5585
|
|
|
4854
5586
|
|
|
4855
5587
|
/**
|
|
4856
|
-
*
|
|
4857
|
-
*
|
|
4858
|
-
* @
|
|
4859
|
-
*
|
|
5588
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5589
|
+
* given reader into the given message object.
|
|
5590
|
+
* @param {!proto.pulumirpc.GenerateProgramResponse} msg The message object to deserialize into.
|
|
5591
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5592
|
+
* @return {!proto.pulumirpc.GenerateProgramResponse}
|
|
5593
|
+
*/
|
|
5594
|
+
proto.pulumirpc.GenerateProgramResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5595
|
+
while (reader.nextField()) {
|
|
5596
|
+
if (reader.isEndGroup()) {
|
|
5597
|
+
break;
|
|
5598
|
+
}
|
|
5599
|
+
var field = reader.getFieldNumber();
|
|
5600
|
+
switch (field) {
|
|
5601
|
+
case 1:
|
|
5602
|
+
var value = new pulumi_codegen_hcl_pb.Diagnostic;
|
|
5603
|
+
reader.readMessage(value,pulumi_codegen_hcl_pb.Diagnostic.deserializeBinaryFromReader);
|
|
5604
|
+
msg.addDiagnostics(value);
|
|
5605
|
+
break;
|
|
5606
|
+
case 2:
|
|
5607
|
+
var value = msg.getSourceMap();
|
|
5608
|
+
reader.readMessage(value, function(message, reader) {
|
|
5609
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBytes, null, "", "");
|
|
5610
|
+
});
|
|
5611
|
+
break;
|
|
5612
|
+
default:
|
|
5613
|
+
reader.skipField();
|
|
5614
|
+
break;
|
|
5615
|
+
}
|
|
5616
|
+
}
|
|
5617
|
+
return msg;
|
|
5618
|
+
};
|
|
5619
|
+
|
|
5620
|
+
|
|
5621
|
+
/**
|
|
5622
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4860
5623
|
* @return {!Uint8Array}
|
|
4861
5624
|
*/
|
|
4862
|
-
proto.pulumirpc.
|
|
4863
|
-
|
|
4864
|
-
|
|
5625
|
+
proto.pulumirpc.GenerateProgramResponse.prototype.serializeBinary = function() {
|
|
5626
|
+
var writer = new jspb.BinaryWriter();
|
|
5627
|
+
proto.pulumirpc.GenerateProgramResponse.serializeBinaryToWriter(this, writer);
|
|
5628
|
+
return writer.getResultBuffer();
|
|
4865
5629
|
};
|
|
4866
5630
|
|
|
4867
5631
|
|
|
4868
5632
|
/**
|
|
4869
|
-
*
|
|
4870
|
-
*
|
|
5633
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5634
|
+
* format), writing to the given BinaryWriter.
|
|
5635
|
+
* @param {!proto.pulumirpc.GenerateProgramResponse} message
|
|
5636
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5637
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4871
5638
|
*/
|
|
4872
|
-
proto.pulumirpc.
|
|
4873
|
-
|
|
5639
|
+
proto.pulumirpc.GenerateProgramResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5640
|
+
var f = undefined;
|
|
5641
|
+
f = message.getDiagnosticsList();
|
|
5642
|
+
if (f.length > 0) {
|
|
5643
|
+
writer.writeRepeatedMessage(
|
|
5644
|
+
1,
|
|
5645
|
+
f,
|
|
5646
|
+
pulumi_codegen_hcl_pb.Diagnostic.serializeBinaryToWriter
|
|
5647
|
+
);
|
|
5648
|
+
}
|
|
5649
|
+
f = message.getSourceMap(true);
|
|
5650
|
+
if (f && f.getLength() > 0) {
|
|
5651
|
+
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBytes);
|
|
5652
|
+
}
|
|
4874
5653
|
};
|
|
4875
5654
|
|
|
4876
5655
|
|
|
4877
5656
|
/**
|
|
4878
|
-
*
|
|
4879
|
-
* @return {!proto.pulumirpc.
|
|
5657
|
+
* repeated codegen.Diagnostic diagnostics = 1;
|
|
5658
|
+
* @return {!Array<!proto.pulumirpc.codegen.Diagnostic>}
|
|
4880
5659
|
*/
|
|
4881
|
-
proto.pulumirpc.
|
|
4882
|
-
return
|
|
5660
|
+
proto.pulumirpc.GenerateProgramResponse.prototype.getDiagnosticsList = function() {
|
|
5661
|
+
return /** @type{!Array<!proto.pulumirpc.codegen.Diagnostic>} */ (
|
|
5662
|
+
jspb.Message.getRepeatedWrapperField(this, pulumi_codegen_hcl_pb.Diagnostic, 1));
|
|
4883
5663
|
};
|
|
4884
5664
|
|
|
4885
5665
|
|
|
4886
5666
|
/**
|
|
4887
|
-
*
|
|
4888
|
-
* @return {
|
|
4889
|
-
|
|
4890
|
-
proto.pulumirpc.
|
|
4891
|
-
return jspb.Message.
|
|
5667
|
+
* @param {!Array<!proto.pulumirpc.codegen.Diagnostic>} value
|
|
5668
|
+
* @return {!proto.pulumirpc.GenerateProgramResponse} returns this
|
|
5669
|
+
*/
|
|
5670
|
+
proto.pulumirpc.GenerateProgramResponse.prototype.setDiagnosticsList = function(value) {
|
|
5671
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
4892
5672
|
};
|
|
4893
5673
|
|
|
4894
5674
|
|
|
4895
5675
|
/**
|
|
4896
|
-
*
|
|
4897
|
-
* @
|
|
5676
|
+
* @param {!proto.pulumirpc.codegen.Diagnostic=} opt_value
|
|
5677
|
+
* @param {number=} opt_index
|
|
5678
|
+
* @return {!proto.pulumirpc.codegen.Diagnostic}
|
|
4898
5679
|
*/
|
|
4899
|
-
proto.pulumirpc.
|
|
4900
|
-
return
|
|
5680
|
+
proto.pulumirpc.GenerateProgramResponse.prototype.addDiagnostics = function(opt_value, opt_index) {
|
|
5681
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.pulumirpc.codegen.Diagnostic, opt_index);
|
|
4901
5682
|
};
|
|
4902
5683
|
|
|
4903
5684
|
|
|
4904
5685
|
/**
|
|
4905
|
-
*
|
|
4906
|
-
* @return {!proto.pulumirpc.
|
|
5686
|
+
* Clears the list making it empty but non-null.
|
|
5687
|
+
* @return {!proto.pulumirpc.GenerateProgramResponse} returns this
|
|
4907
5688
|
*/
|
|
4908
|
-
proto.pulumirpc.
|
|
4909
|
-
return
|
|
5689
|
+
proto.pulumirpc.GenerateProgramResponse.prototype.clearDiagnosticsList = function() {
|
|
5690
|
+
return this.setDiagnosticsList([]);
|
|
4910
5691
|
};
|
|
4911
5692
|
|
|
4912
5693
|
|
|
4913
5694
|
/**
|
|
4914
|
-
*
|
|
4915
|
-
* @
|
|
5695
|
+
* map<string, bytes> source = 2;
|
|
5696
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
5697
|
+
* empty, instead returning `undefined`
|
|
5698
|
+
* @return {!jspb.Map<string,!(string|Uint8Array)>}
|
|
4916
5699
|
*/
|
|
4917
|
-
proto.pulumirpc.
|
|
4918
|
-
return jspb.
|
|
5700
|
+
proto.pulumirpc.GenerateProgramResponse.prototype.getSourceMap = function(opt_noLazyCreate) {
|
|
5701
|
+
return /** @type {!jspb.Map<string,!(string|Uint8Array)>} */ (
|
|
5702
|
+
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
5703
|
+
null));
|
|
4919
5704
|
};
|
|
4920
5705
|
|
|
4921
5706
|
|
|
4922
5707
|
/**
|
|
4923
|
-
*
|
|
4924
|
-
* @return {
|
|
5708
|
+
* Clears values from the map. The map will be non-null.
|
|
5709
|
+
* @return {!proto.pulumirpc.GenerateProgramResponse} returns this
|
|
4925
5710
|
*/
|
|
4926
|
-
proto.pulumirpc.
|
|
4927
|
-
|
|
4928
|
-
};
|
|
5711
|
+
proto.pulumirpc.GenerateProgramResponse.prototype.clearSourceMap = function() {
|
|
5712
|
+
this.getSourceMap().clear();
|
|
5713
|
+
return this;};
|
|
4929
5714
|
|
|
4930
5715
|
|
|
4931
5716
|
|
|
@@ -4944,8 +5729,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4944
5729
|
* http://goto/soy-param-migration
|
|
4945
5730
|
* @return {!Object}
|
|
4946
5731
|
*/
|
|
4947
|
-
proto.pulumirpc.
|
|
4948
|
-
return proto.pulumirpc.
|
|
5732
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5733
|
+
return proto.pulumirpc.GenerateProjectRequest.toObject(opt_includeInstance, this);
|
|
4949
5734
|
};
|
|
4950
5735
|
|
|
4951
5736
|
|
|
@@ -4954,15 +5739,18 @@ proto.pulumirpc.GenerateProgramRequest.prototype.toObject = function(opt_include
|
|
|
4954
5739
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4955
5740
|
* the JSPB instance for transitional soy proto support:
|
|
4956
5741
|
* http://goto/soy-param-migration
|
|
4957
|
-
* @param {!proto.pulumirpc.
|
|
5742
|
+
* @param {!proto.pulumirpc.GenerateProjectRequest} msg The msg instance to transform.
|
|
4958
5743
|
* @return {!Object}
|
|
4959
5744
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4960
5745
|
*/
|
|
4961
|
-
proto.pulumirpc.
|
|
5746
|
+
proto.pulumirpc.GenerateProjectRequest.toObject = function(includeInstance, msg) {
|
|
4962
5747
|
var f, obj = {
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
5748
|
+
sourceDirectory: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5749
|
+
targetDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5750
|
+
project: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5751
|
+
strict: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
5752
|
+
loaderTarget: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5753
|
+
localDependenciesMap: (f = msg.getLocalDependenciesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
4966
5754
|
};
|
|
4967
5755
|
|
|
4968
5756
|
if (includeInstance) {
|
|
@@ -4976,23 +5764,23 @@ proto.pulumirpc.GenerateProgramRequest.toObject = function(includeInstance, msg)
|
|
|
4976
5764
|
/**
|
|
4977
5765
|
* Deserializes binary data (in protobuf wire format).
|
|
4978
5766
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4979
|
-
* @return {!proto.pulumirpc.
|
|
5767
|
+
* @return {!proto.pulumirpc.GenerateProjectRequest}
|
|
4980
5768
|
*/
|
|
4981
|
-
proto.pulumirpc.
|
|
5769
|
+
proto.pulumirpc.GenerateProjectRequest.deserializeBinary = function(bytes) {
|
|
4982
5770
|
var reader = new jspb.BinaryReader(bytes);
|
|
4983
|
-
var msg = new proto.pulumirpc.
|
|
4984
|
-
return proto.pulumirpc.
|
|
5771
|
+
var msg = new proto.pulumirpc.GenerateProjectRequest;
|
|
5772
|
+
return proto.pulumirpc.GenerateProjectRequest.deserializeBinaryFromReader(msg, reader);
|
|
4985
5773
|
};
|
|
4986
5774
|
|
|
4987
5775
|
|
|
4988
5776
|
/**
|
|
4989
5777
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4990
5778
|
* given reader into the given message object.
|
|
4991
|
-
* @param {!proto.pulumirpc.
|
|
5779
|
+
* @param {!proto.pulumirpc.GenerateProjectRequest} msg The message object to deserialize into.
|
|
4992
5780
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4993
|
-
* @return {!proto.pulumirpc.
|
|
5781
|
+
* @return {!proto.pulumirpc.GenerateProjectRequest}
|
|
4994
5782
|
*/
|
|
4995
|
-
proto.pulumirpc.
|
|
5783
|
+
proto.pulumirpc.GenerateProjectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4996
5784
|
while (reader.nextField()) {
|
|
4997
5785
|
if (reader.isEndGroup()) {
|
|
4998
5786
|
break;
|
|
@@ -5000,19 +5788,31 @@ proto.pulumirpc.GenerateProgramRequest.deserializeBinaryFromReader = function(ms
|
|
|
5000
5788
|
var field = reader.getFieldNumber();
|
|
5001
5789
|
switch (field) {
|
|
5002
5790
|
case 1:
|
|
5003
|
-
var value =
|
|
5004
|
-
|
|
5005
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
5006
|
-
});
|
|
5791
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5792
|
+
msg.setSourceDirectory(value);
|
|
5007
5793
|
break;
|
|
5008
5794
|
case 2:
|
|
5009
5795
|
var value = /** @type {string} */ (reader.readString());
|
|
5010
|
-
msg.
|
|
5796
|
+
msg.setTargetDirectory(value);
|
|
5011
5797
|
break;
|
|
5012
5798
|
case 3:
|
|
5799
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5800
|
+
msg.setProject(value);
|
|
5801
|
+
break;
|
|
5802
|
+
case 4:
|
|
5013
5803
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
5014
5804
|
msg.setStrict(value);
|
|
5015
5805
|
break;
|
|
5806
|
+
case 5:
|
|
5807
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5808
|
+
msg.setLoaderTarget(value);
|
|
5809
|
+
break;
|
|
5810
|
+
case 6:
|
|
5811
|
+
var value = msg.getLocalDependenciesMap();
|
|
5812
|
+
reader.readMessage(value, function(message, reader) {
|
|
5813
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
5814
|
+
});
|
|
5815
|
+
break;
|
|
5016
5816
|
default:
|
|
5017
5817
|
reader.skipField();
|
|
5018
5818
|
break;
|
|
@@ -5026,9 +5826,9 @@ proto.pulumirpc.GenerateProgramRequest.deserializeBinaryFromReader = function(ms
|
|
|
5026
5826
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5027
5827
|
* @return {!Uint8Array}
|
|
5028
5828
|
*/
|
|
5029
|
-
proto.pulumirpc.
|
|
5829
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.serializeBinary = function() {
|
|
5030
5830
|
var writer = new jspb.BinaryWriter();
|
|
5031
|
-
proto.pulumirpc.
|
|
5831
|
+
proto.pulumirpc.GenerateProjectRequest.serializeBinaryToWriter(this, writer);
|
|
5032
5832
|
return writer.getResultBuffer();
|
|
5033
5833
|
};
|
|
5034
5834
|
|
|
@@ -5036,89 +5836,164 @@ proto.pulumirpc.GenerateProgramRequest.prototype.serializeBinary = function() {
|
|
|
5036
5836
|
/**
|
|
5037
5837
|
* Serializes the given message to binary data (in protobuf wire
|
|
5038
5838
|
* format), writing to the given BinaryWriter.
|
|
5039
|
-
* @param {!proto.pulumirpc.
|
|
5839
|
+
* @param {!proto.pulumirpc.GenerateProjectRequest} message
|
|
5040
5840
|
* @param {!jspb.BinaryWriter} writer
|
|
5041
5841
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5042
5842
|
*/
|
|
5043
|
-
proto.pulumirpc.
|
|
5843
|
+
proto.pulumirpc.GenerateProjectRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5044
5844
|
var f = undefined;
|
|
5045
|
-
f = message.
|
|
5046
|
-
if (f
|
|
5047
|
-
|
|
5845
|
+
f = message.getSourceDirectory();
|
|
5846
|
+
if (f.length > 0) {
|
|
5847
|
+
writer.writeString(
|
|
5848
|
+
1,
|
|
5849
|
+
f
|
|
5850
|
+
);
|
|
5048
5851
|
}
|
|
5049
|
-
f = message.
|
|
5852
|
+
f = message.getTargetDirectory();
|
|
5050
5853
|
if (f.length > 0) {
|
|
5051
5854
|
writer.writeString(
|
|
5052
5855
|
2,
|
|
5053
5856
|
f
|
|
5054
5857
|
);
|
|
5055
5858
|
}
|
|
5859
|
+
f = message.getProject();
|
|
5860
|
+
if (f.length > 0) {
|
|
5861
|
+
writer.writeString(
|
|
5862
|
+
3,
|
|
5863
|
+
f
|
|
5864
|
+
);
|
|
5865
|
+
}
|
|
5056
5866
|
f = message.getStrict();
|
|
5057
5867
|
if (f) {
|
|
5058
5868
|
writer.writeBool(
|
|
5059
|
-
|
|
5869
|
+
4,
|
|
5870
|
+
f
|
|
5871
|
+
);
|
|
5872
|
+
}
|
|
5873
|
+
f = message.getLoaderTarget();
|
|
5874
|
+
if (f.length > 0) {
|
|
5875
|
+
writer.writeString(
|
|
5876
|
+
5,
|
|
5060
5877
|
f
|
|
5061
5878
|
);
|
|
5062
5879
|
}
|
|
5880
|
+
f = message.getLocalDependenciesMap(true);
|
|
5881
|
+
if (f && f.getLength() > 0) {
|
|
5882
|
+
f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
5883
|
+
}
|
|
5063
5884
|
};
|
|
5064
5885
|
|
|
5065
5886
|
|
|
5066
5887
|
/**
|
|
5067
|
-
*
|
|
5068
|
-
* @
|
|
5069
|
-
* empty, instead returning `undefined`
|
|
5070
|
-
* @return {!jspb.Map<string,string>}
|
|
5888
|
+
* optional string source_directory = 1;
|
|
5889
|
+
* @return {string}
|
|
5071
5890
|
*/
|
|
5072
|
-
proto.pulumirpc.
|
|
5073
|
-
return /** @type {
|
|
5074
|
-
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
5075
|
-
null));
|
|
5891
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.getSourceDirectory = function() {
|
|
5892
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5076
5893
|
};
|
|
5077
5894
|
|
|
5078
5895
|
|
|
5079
5896
|
/**
|
|
5080
|
-
*
|
|
5081
|
-
* @return {!proto.pulumirpc.
|
|
5897
|
+
* @param {string} value
|
|
5898
|
+
* @return {!proto.pulumirpc.GenerateProjectRequest} returns this
|
|
5082
5899
|
*/
|
|
5083
|
-
proto.pulumirpc.
|
|
5084
|
-
|
|
5085
|
-
|
|
5900
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.setSourceDirectory = function(value) {
|
|
5901
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5902
|
+
};
|
|
5903
|
+
|
|
5904
|
+
|
|
5905
|
+
/**
|
|
5906
|
+
* optional string target_directory = 2;
|
|
5907
|
+
* @return {string}
|
|
5908
|
+
*/
|
|
5909
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.getTargetDirectory = function() {
|
|
5910
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5911
|
+
};
|
|
5912
|
+
|
|
5913
|
+
|
|
5914
|
+
/**
|
|
5915
|
+
* @param {string} value
|
|
5916
|
+
* @return {!proto.pulumirpc.GenerateProjectRequest} returns this
|
|
5917
|
+
*/
|
|
5918
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.setTargetDirectory = function(value) {
|
|
5919
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5920
|
+
};
|
|
5921
|
+
|
|
5922
|
+
|
|
5923
|
+
/**
|
|
5924
|
+
* optional string project = 3;
|
|
5925
|
+
* @return {string}
|
|
5926
|
+
*/
|
|
5927
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.getProject = function() {
|
|
5928
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5929
|
+
};
|
|
5930
|
+
|
|
5931
|
+
|
|
5932
|
+
/**
|
|
5933
|
+
* @param {string} value
|
|
5934
|
+
* @return {!proto.pulumirpc.GenerateProjectRequest} returns this
|
|
5935
|
+
*/
|
|
5936
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.setProject = function(value) {
|
|
5937
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
5938
|
+
};
|
|
5939
|
+
|
|
5940
|
+
|
|
5941
|
+
/**
|
|
5942
|
+
* optional bool strict = 4;
|
|
5943
|
+
* @return {boolean}
|
|
5944
|
+
*/
|
|
5945
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.getStrict = function() {
|
|
5946
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
5947
|
+
};
|
|
5948
|
+
|
|
5949
|
+
|
|
5950
|
+
/**
|
|
5951
|
+
* @param {boolean} value
|
|
5952
|
+
* @return {!proto.pulumirpc.GenerateProjectRequest} returns this
|
|
5953
|
+
*/
|
|
5954
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.setStrict = function(value) {
|
|
5955
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
5956
|
+
};
|
|
5086
5957
|
|
|
5087
5958
|
|
|
5088
5959
|
/**
|
|
5089
|
-
* optional string loader_target =
|
|
5960
|
+
* optional string loader_target = 5;
|
|
5090
5961
|
* @return {string}
|
|
5091
5962
|
*/
|
|
5092
|
-
proto.pulumirpc.
|
|
5093
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
5963
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.getLoaderTarget = function() {
|
|
5964
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5094
5965
|
};
|
|
5095
5966
|
|
|
5096
5967
|
|
|
5097
5968
|
/**
|
|
5098
5969
|
* @param {string} value
|
|
5099
|
-
* @return {!proto.pulumirpc.
|
|
5970
|
+
* @return {!proto.pulumirpc.GenerateProjectRequest} returns this
|
|
5100
5971
|
*/
|
|
5101
|
-
proto.pulumirpc.
|
|
5102
|
-
return jspb.Message.setProto3StringField(this,
|
|
5972
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.setLoaderTarget = function(value) {
|
|
5973
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
5103
5974
|
};
|
|
5104
5975
|
|
|
5105
5976
|
|
|
5106
5977
|
/**
|
|
5107
|
-
*
|
|
5108
|
-
* @
|
|
5978
|
+
* map<string, string> local_dependencies = 6;
|
|
5979
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
5980
|
+
* empty, instead returning `undefined`
|
|
5981
|
+
* @return {!jspb.Map<string,string>}
|
|
5109
5982
|
*/
|
|
5110
|
-
proto.pulumirpc.
|
|
5111
|
-
return /** @type {
|
|
5983
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.getLocalDependenciesMap = function(opt_noLazyCreate) {
|
|
5984
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
5985
|
+
jspb.Message.getMapField(this, 6, opt_noLazyCreate,
|
|
5986
|
+
null));
|
|
5112
5987
|
};
|
|
5113
5988
|
|
|
5114
5989
|
|
|
5115
5990
|
/**
|
|
5116
|
-
*
|
|
5117
|
-
* @return {!proto.pulumirpc.
|
|
5991
|
+
* Clears values from the map. The map will be non-null.
|
|
5992
|
+
* @return {!proto.pulumirpc.GenerateProjectRequest} returns this
|
|
5118
5993
|
*/
|
|
5119
|
-
proto.pulumirpc.
|
|
5120
|
-
|
|
5121
|
-
};
|
|
5994
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.clearLocalDependenciesMap = function() {
|
|
5995
|
+
this.getLocalDependenciesMap().clear();
|
|
5996
|
+
return this;};
|
|
5122
5997
|
|
|
5123
5998
|
|
|
5124
5999
|
|
|
@@ -5127,7 +6002,7 @@ proto.pulumirpc.GenerateProgramRequest.prototype.setStrict = function(value) {
|
|
|
5127
6002
|
* @private {!Array<number>}
|
|
5128
6003
|
* @const
|
|
5129
6004
|
*/
|
|
5130
|
-
proto.pulumirpc.
|
|
6005
|
+
proto.pulumirpc.GenerateProjectResponse.repeatedFields_ = [1];
|
|
5131
6006
|
|
|
5132
6007
|
|
|
5133
6008
|
|
|
@@ -5144,8 +6019,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5144
6019
|
* http://goto/soy-param-migration
|
|
5145
6020
|
* @return {!Object}
|
|
5146
6021
|
*/
|
|
5147
|
-
proto.pulumirpc.
|
|
5148
|
-
return proto.pulumirpc.
|
|
6022
|
+
proto.pulumirpc.GenerateProjectResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6023
|
+
return proto.pulumirpc.GenerateProjectResponse.toObject(opt_includeInstance, this);
|
|
5149
6024
|
};
|
|
5150
6025
|
|
|
5151
6026
|
|
|
@@ -5154,15 +6029,14 @@ proto.pulumirpc.GenerateProgramResponse.prototype.toObject = function(opt_includ
|
|
|
5154
6029
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5155
6030
|
* the JSPB instance for transitional soy proto support:
|
|
5156
6031
|
* http://goto/soy-param-migration
|
|
5157
|
-
* @param {!proto.pulumirpc.
|
|
6032
|
+
* @param {!proto.pulumirpc.GenerateProjectResponse} msg The msg instance to transform.
|
|
5158
6033
|
* @return {!Object}
|
|
5159
6034
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5160
6035
|
*/
|
|
5161
|
-
proto.pulumirpc.
|
|
6036
|
+
proto.pulumirpc.GenerateProjectResponse.toObject = function(includeInstance, msg) {
|
|
5162
6037
|
var f, obj = {
|
|
5163
6038
|
diagnosticsList: jspb.Message.toObjectList(msg.getDiagnosticsList(),
|
|
5164
|
-
pulumi_codegen_hcl_pb.Diagnostic.toObject, includeInstance)
|
|
5165
|
-
sourceMap: (f = msg.getSourceMap()) ? f.toObject(includeInstance, undefined) : []
|
|
6039
|
+
pulumi_codegen_hcl_pb.Diagnostic.toObject, includeInstance)
|
|
5166
6040
|
};
|
|
5167
6041
|
|
|
5168
6042
|
if (includeInstance) {
|
|
@@ -5176,23 +6050,23 @@ proto.pulumirpc.GenerateProgramResponse.toObject = function(includeInstance, msg
|
|
|
5176
6050
|
/**
|
|
5177
6051
|
* Deserializes binary data (in protobuf wire format).
|
|
5178
6052
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5179
|
-
* @return {!proto.pulumirpc.
|
|
6053
|
+
* @return {!proto.pulumirpc.GenerateProjectResponse}
|
|
5180
6054
|
*/
|
|
5181
|
-
proto.pulumirpc.
|
|
6055
|
+
proto.pulumirpc.GenerateProjectResponse.deserializeBinary = function(bytes) {
|
|
5182
6056
|
var reader = new jspb.BinaryReader(bytes);
|
|
5183
|
-
var msg = new proto.pulumirpc.
|
|
5184
|
-
return proto.pulumirpc.
|
|
6057
|
+
var msg = new proto.pulumirpc.GenerateProjectResponse;
|
|
6058
|
+
return proto.pulumirpc.GenerateProjectResponse.deserializeBinaryFromReader(msg, reader);
|
|
5185
6059
|
};
|
|
5186
6060
|
|
|
5187
6061
|
|
|
5188
6062
|
/**
|
|
5189
6063
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5190
6064
|
* given reader into the given message object.
|
|
5191
|
-
* @param {!proto.pulumirpc.
|
|
6065
|
+
* @param {!proto.pulumirpc.GenerateProjectResponse} msg The message object to deserialize into.
|
|
5192
6066
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5193
|
-
* @return {!proto.pulumirpc.
|
|
6067
|
+
* @return {!proto.pulumirpc.GenerateProjectResponse}
|
|
5194
6068
|
*/
|
|
5195
|
-
proto.pulumirpc.
|
|
6069
|
+
proto.pulumirpc.GenerateProjectResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5196
6070
|
while (reader.nextField()) {
|
|
5197
6071
|
if (reader.isEndGroup()) {
|
|
5198
6072
|
break;
|
|
@@ -5204,12 +6078,6 @@ proto.pulumirpc.GenerateProgramResponse.deserializeBinaryFromReader = function(m
|
|
|
5204
6078
|
reader.readMessage(value,pulumi_codegen_hcl_pb.Diagnostic.deserializeBinaryFromReader);
|
|
5205
6079
|
msg.addDiagnostics(value);
|
|
5206
6080
|
break;
|
|
5207
|
-
case 2:
|
|
5208
|
-
var value = msg.getSourceMap();
|
|
5209
|
-
reader.readMessage(value, function(message, reader) {
|
|
5210
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBytes, null, "", "");
|
|
5211
|
-
});
|
|
5212
|
-
break;
|
|
5213
6081
|
default:
|
|
5214
6082
|
reader.skipField();
|
|
5215
6083
|
break;
|
|
@@ -5223,9 +6091,9 @@ proto.pulumirpc.GenerateProgramResponse.deserializeBinaryFromReader = function(m
|
|
|
5223
6091
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5224
6092
|
* @return {!Uint8Array}
|
|
5225
6093
|
*/
|
|
5226
|
-
proto.pulumirpc.
|
|
6094
|
+
proto.pulumirpc.GenerateProjectResponse.prototype.serializeBinary = function() {
|
|
5227
6095
|
var writer = new jspb.BinaryWriter();
|
|
5228
|
-
proto.pulumirpc.
|
|
6096
|
+
proto.pulumirpc.GenerateProjectResponse.serializeBinaryToWriter(this, writer);
|
|
5229
6097
|
return writer.getResultBuffer();
|
|
5230
6098
|
};
|
|
5231
6099
|
|
|
@@ -5233,11 +6101,11 @@ proto.pulumirpc.GenerateProgramResponse.prototype.serializeBinary = function() {
|
|
|
5233
6101
|
/**
|
|
5234
6102
|
* Serializes the given message to binary data (in protobuf wire
|
|
5235
6103
|
* format), writing to the given BinaryWriter.
|
|
5236
|
-
* @param {!proto.pulumirpc.
|
|
6104
|
+
* @param {!proto.pulumirpc.GenerateProjectResponse} message
|
|
5237
6105
|
* @param {!jspb.BinaryWriter} writer
|
|
5238
6106
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5239
6107
|
*/
|
|
5240
|
-
proto.pulumirpc.
|
|
6108
|
+
proto.pulumirpc.GenerateProjectResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5241
6109
|
var f = undefined;
|
|
5242
6110
|
f = message.getDiagnosticsList();
|
|
5243
6111
|
if (f.length > 0) {
|
|
@@ -5247,10 +6115,6 @@ proto.pulumirpc.GenerateProgramResponse.serializeBinaryToWriter = function(messa
|
|
|
5247
6115
|
pulumi_codegen_hcl_pb.Diagnostic.serializeBinaryToWriter
|
|
5248
6116
|
);
|
|
5249
6117
|
}
|
|
5250
|
-
f = message.getSourceMap(true);
|
|
5251
|
-
if (f && f.getLength() > 0) {
|
|
5252
|
-
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBytes);
|
|
5253
|
-
}
|
|
5254
6118
|
};
|
|
5255
6119
|
|
|
5256
6120
|
|
|
@@ -5258,7 +6122,7 @@ proto.pulumirpc.GenerateProgramResponse.serializeBinaryToWriter = function(messa
|
|
|
5258
6122
|
* repeated codegen.Diagnostic diagnostics = 1;
|
|
5259
6123
|
* @return {!Array<!proto.pulumirpc.codegen.Diagnostic>}
|
|
5260
6124
|
*/
|
|
5261
|
-
proto.pulumirpc.
|
|
6125
|
+
proto.pulumirpc.GenerateProjectResponse.prototype.getDiagnosticsList = function() {
|
|
5262
6126
|
return /** @type{!Array<!proto.pulumirpc.codegen.Diagnostic>} */ (
|
|
5263
6127
|
jspb.Message.getRepeatedWrapperField(this, pulumi_codegen_hcl_pb.Diagnostic, 1));
|
|
5264
6128
|
};
|
|
@@ -5266,9 +6130,9 @@ proto.pulumirpc.GenerateProgramResponse.prototype.getDiagnosticsList = function(
|
|
|
5266
6130
|
|
|
5267
6131
|
/**
|
|
5268
6132
|
* @param {!Array<!proto.pulumirpc.codegen.Diagnostic>} value
|
|
5269
|
-
* @return {!proto.pulumirpc.
|
|
6133
|
+
* @return {!proto.pulumirpc.GenerateProjectResponse} returns this
|
|
5270
6134
|
*/
|
|
5271
|
-
proto.pulumirpc.
|
|
6135
|
+
proto.pulumirpc.GenerateProjectResponse.prototype.setDiagnosticsList = function(value) {
|
|
5272
6136
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
5273
6137
|
};
|
|
5274
6138
|
|
|
@@ -5278,42 +6142,20 @@ proto.pulumirpc.GenerateProgramResponse.prototype.setDiagnosticsList = function(
|
|
|
5278
6142
|
* @param {number=} opt_index
|
|
5279
6143
|
* @return {!proto.pulumirpc.codegen.Diagnostic}
|
|
5280
6144
|
*/
|
|
5281
|
-
proto.pulumirpc.
|
|
6145
|
+
proto.pulumirpc.GenerateProjectResponse.prototype.addDiagnostics = function(opt_value, opt_index) {
|
|
5282
6146
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.pulumirpc.codegen.Diagnostic, opt_index);
|
|
5283
6147
|
};
|
|
5284
6148
|
|
|
5285
6149
|
|
|
5286
6150
|
/**
|
|
5287
6151
|
* Clears the list making it empty but non-null.
|
|
5288
|
-
* @return {!proto.pulumirpc.
|
|
6152
|
+
* @return {!proto.pulumirpc.GenerateProjectResponse} returns this
|
|
5289
6153
|
*/
|
|
5290
|
-
proto.pulumirpc.
|
|
6154
|
+
proto.pulumirpc.GenerateProjectResponse.prototype.clearDiagnosticsList = function() {
|
|
5291
6155
|
return this.setDiagnosticsList([]);
|
|
5292
6156
|
};
|
|
5293
6157
|
|
|
5294
6158
|
|
|
5295
|
-
/**
|
|
5296
|
-
* map<string, bytes> source = 2;
|
|
5297
|
-
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
5298
|
-
* empty, instead returning `undefined`
|
|
5299
|
-
* @return {!jspb.Map<string,!(string|Uint8Array)>}
|
|
5300
|
-
*/
|
|
5301
|
-
proto.pulumirpc.GenerateProgramResponse.prototype.getSourceMap = function(opt_noLazyCreate) {
|
|
5302
|
-
return /** @type {!jspb.Map<string,!(string|Uint8Array)>} */ (
|
|
5303
|
-
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
5304
|
-
null));
|
|
5305
|
-
};
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
/**
|
|
5309
|
-
* Clears values from the map. The map will be non-null.
|
|
5310
|
-
* @return {!proto.pulumirpc.GenerateProgramResponse} returns this
|
|
5311
|
-
*/
|
|
5312
|
-
proto.pulumirpc.GenerateProgramResponse.prototype.clearSourceMap = function() {
|
|
5313
|
-
this.getSourceMap().clear();
|
|
5314
|
-
return this;};
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
6159
|
|
|
5318
6160
|
|
|
5319
6161
|
|
|
@@ -5330,8 +6172,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5330
6172
|
* http://goto/soy-param-migration
|
|
5331
6173
|
* @return {!Object}
|
|
5332
6174
|
*/
|
|
5333
|
-
proto.pulumirpc.
|
|
5334
|
-
return proto.pulumirpc.
|
|
6175
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6176
|
+
return proto.pulumirpc.GeneratePackageRequest.toObject(opt_includeInstance, this);
|
|
5335
6177
|
};
|
|
5336
6178
|
|
|
5337
6179
|
|
|
@@ -5340,18 +6182,18 @@ proto.pulumirpc.GenerateProjectRequest.prototype.toObject = function(opt_include
|
|
|
5340
6182
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5341
6183
|
* the JSPB instance for transitional soy proto support:
|
|
5342
6184
|
* http://goto/soy-param-migration
|
|
5343
|
-
* @param {!proto.pulumirpc.
|
|
6185
|
+
* @param {!proto.pulumirpc.GeneratePackageRequest} msg The msg instance to transform.
|
|
5344
6186
|
* @return {!Object}
|
|
5345
6187
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5346
6188
|
*/
|
|
5347
|
-
proto.pulumirpc.
|
|
6189
|
+
proto.pulumirpc.GeneratePackageRequest.toObject = function(includeInstance, msg) {
|
|
5348
6190
|
var f, obj = {
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
6191
|
+
directory: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6192
|
+
schema: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6193
|
+
extraFilesMap: (f = msg.getExtraFilesMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
6194
|
+
loaderTarget: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
6195
|
+
localDependenciesMap: (f = msg.getLocalDependenciesMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
6196
|
+
local: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
5355
6197
|
};
|
|
5356
6198
|
|
|
5357
6199
|
if (includeInstance) {
|
|
@@ -5365,23 +6207,23 @@ proto.pulumirpc.GenerateProjectRequest.toObject = function(includeInstance, msg)
|
|
|
5365
6207
|
/**
|
|
5366
6208
|
* Deserializes binary data (in protobuf wire format).
|
|
5367
6209
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5368
|
-
* @return {!proto.pulumirpc.
|
|
6210
|
+
* @return {!proto.pulumirpc.GeneratePackageRequest}
|
|
5369
6211
|
*/
|
|
5370
|
-
proto.pulumirpc.
|
|
6212
|
+
proto.pulumirpc.GeneratePackageRequest.deserializeBinary = function(bytes) {
|
|
5371
6213
|
var reader = new jspb.BinaryReader(bytes);
|
|
5372
|
-
var msg = new proto.pulumirpc.
|
|
5373
|
-
return proto.pulumirpc.
|
|
6214
|
+
var msg = new proto.pulumirpc.GeneratePackageRequest;
|
|
6215
|
+
return proto.pulumirpc.GeneratePackageRequest.deserializeBinaryFromReader(msg, reader);
|
|
5374
6216
|
};
|
|
5375
6217
|
|
|
5376
6218
|
|
|
5377
6219
|
/**
|
|
5378
6220
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5379
6221
|
* given reader into the given message object.
|
|
5380
|
-
* @param {!proto.pulumirpc.
|
|
6222
|
+
* @param {!proto.pulumirpc.GeneratePackageRequest} msg The message object to deserialize into.
|
|
5381
6223
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5382
|
-
* @return {!proto.pulumirpc.
|
|
6224
|
+
* @return {!proto.pulumirpc.GeneratePackageRequest}
|
|
5383
6225
|
*/
|
|
5384
|
-
proto.pulumirpc.
|
|
6226
|
+
proto.pulumirpc.GeneratePackageRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5385
6227
|
while (reader.nextField()) {
|
|
5386
6228
|
if (reader.isEndGroup()) {
|
|
5387
6229
|
break;
|
|
@@ -5390,30 +6232,32 @@ proto.pulumirpc.GenerateProjectRequest.deserializeBinaryFromReader = function(ms
|
|
|
5390
6232
|
switch (field) {
|
|
5391
6233
|
case 1:
|
|
5392
6234
|
var value = /** @type {string} */ (reader.readString());
|
|
5393
|
-
msg.
|
|
6235
|
+
msg.setDirectory(value);
|
|
5394
6236
|
break;
|
|
5395
6237
|
case 2:
|
|
5396
6238
|
var value = /** @type {string} */ (reader.readString());
|
|
5397
|
-
msg.
|
|
6239
|
+
msg.setSchema(value);
|
|
5398
6240
|
break;
|
|
5399
6241
|
case 3:
|
|
5400
|
-
var value =
|
|
5401
|
-
|
|
6242
|
+
var value = msg.getExtraFilesMap();
|
|
6243
|
+
reader.readMessage(value, function(message, reader) {
|
|
6244
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBytes, null, "", "");
|
|
6245
|
+
});
|
|
5402
6246
|
break;
|
|
5403
6247
|
case 4:
|
|
5404
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
5405
|
-
msg.setStrict(value);
|
|
5406
|
-
break;
|
|
5407
|
-
case 5:
|
|
5408
6248
|
var value = /** @type {string} */ (reader.readString());
|
|
5409
6249
|
msg.setLoaderTarget(value);
|
|
5410
6250
|
break;
|
|
5411
|
-
case
|
|
6251
|
+
case 5:
|
|
5412
6252
|
var value = msg.getLocalDependenciesMap();
|
|
5413
6253
|
reader.readMessage(value, function(message, reader) {
|
|
5414
6254
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
5415
6255
|
});
|
|
5416
6256
|
break;
|
|
6257
|
+
case 6:
|
|
6258
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6259
|
+
msg.setLocal(value);
|
|
6260
|
+
break;
|
|
5417
6261
|
default:
|
|
5418
6262
|
reader.skipField();
|
|
5419
6263
|
break;
|
|
@@ -5427,9 +6271,9 @@ proto.pulumirpc.GenerateProjectRequest.deserializeBinaryFromReader = function(ms
|
|
|
5427
6271
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5428
6272
|
* @return {!Uint8Array}
|
|
5429
6273
|
*/
|
|
5430
|
-
proto.pulumirpc.
|
|
6274
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.serializeBinary = function() {
|
|
5431
6275
|
var writer = new jspb.BinaryWriter();
|
|
5432
|
-
proto.pulumirpc.
|
|
6276
|
+
proto.pulumirpc.GeneratePackageRequest.serializeBinaryToWriter(this, writer);
|
|
5433
6277
|
return writer.getResultBuffer();
|
|
5434
6278
|
};
|
|
5435
6279
|
|
|
@@ -5437,173 +6281,174 @@ proto.pulumirpc.GenerateProjectRequest.prototype.serializeBinary = function() {
|
|
|
5437
6281
|
/**
|
|
5438
6282
|
* Serializes the given message to binary data (in protobuf wire
|
|
5439
6283
|
* format), writing to the given BinaryWriter.
|
|
5440
|
-
* @param {!proto.pulumirpc.
|
|
6284
|
+
* @param {!proto.pulumirpc.GeneratePackageRequest} message
|
|
5441
6285
|
* @param {!jspb.BinaryWriter} writer
|
|
5442
6286
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5443
6287
|
*/
|
|
5444
|
-
proto.pulumirpc.
|
|
6288
|
+
proto.pulumirpc.GeneratePackageRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5445
6289
|
var f = undefined;
|
|
5446
|
-
f = message.
|
|
6290
|
+
f = message.getDirectory();
|
|
5447
6291
|
if (f.length > 0) {
|
|
5448
6292
|
writer.writeString(
|
|
5449
6293
|
1,
|
|
5450
6294
|
f
|
|
5451
6295
|
);
|
|
5452
6296
|
}
|
|
5453
|
-
f = message.
|
|
6297
|
+
f = message.getSchema();
|
|
5454
6298
|
if (f.length > 0) {
|
|
5455
6299
|
writer.writeString(
|
|
5456
6300
|
2,
|
|
5457
6301
|
f
|
|
5458
6302
|
);
|
|
5459
6303
|
}
|
|
5460
|
-
f = message.
|
|
5461
|
-
if (f.
|
|
5462
|
-
writer.writeString
|
|
5463
|
-
3,
|
|
5464
|
-
f
|
|
5465
|
-
);
|
|
5466
|
-
}
|
|
5467
|
-
f = message.getStrict();
|
|
5468
|
-
if (f) {
|
|
5469
|
-
writer.writeBool(
|
|
5470
|
-
4,
|
|
5471
|
-
f
|
|
5472
|
-
);
|
|
6304
|
+
f = message.getExtraFilesMap(true);
|
|
6305
|
+
if (f && f.getLength() > 0) {
|
|
6306
|
+
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBytes);
|
|
5473
6307
|
}
|
|
5474
6308
|
f = message.getLoaderTarget();
|
|
5475
6309
|
if (f.length > 0) {
|
|
5476
6310
|
writer.writeString(
|
|
5477
|
-
|
|
6311
|
+
4,
|
|
5478
6312
|
f
|
|
5479
6313
|
);
|
|
5480
6314
|
}
|
|
5481
6315
|
f = message.getLocalDependenciesMap(true);
|
|
5482
6316
|
if (f && f.getLength() > 0) {
|
|
5483
|
-
f.serializeBinary(
|
|
6317
|
+
f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
6318
|
+
}
|
|
6319
|
+
f = message.getLocal();
|
|
6320
|
+
if (f) {
|
|
6321
|
+
writer.writeBool(
|
|
6322
|
+
6,
|
|
6323
|
+
f
|
|
6324
|
+
);
|
|
5484
6325
|
}
|
|
5485
6326
|
};
|
|
5486
6327
|
|
|
5487
6328
|
|
|
5488
6329
|
/**
|
|
5489
|
-
* optional string
|
|
6330
|
+
* optional string directory = 1;
|
|
5490
6331
|
* @return {string}
|
|
5491
6332
|
*/
|
|
5492
|
-
proto.pulumirpc.
|
|
6333
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.getDirectory = function() {
|
|
5493
6334
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5494
6335
|
};
|
|
5495
6336
|
|
|
5496
6337
|
|
|
5497
6338
|
/**
|
|
5498
6339
|
* @param {string} value
|
|
5499
|
-
* @return {!proto.pulumirpc.
|
|
6340
|
+
* @return {!proto.pulumirpc.GeneratePackageRequest} returns this
|
|
5500
6341
|
*/
|
|
5501
|
-
proto.pulumirpc.
|
|
6342
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.setDirectory = function(value) {
|
|
5502
6343
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5503
6344
|
};
|
|
5504
6345
|
|
|
5505
6346
|
|
|
5506
6347
|
/**
|
|
5507
|
-
* optional string
|
|
6348
|
+
* optional string schema = 2;
|
|
5508
6349
|
* @return {string}
|
|
5509
6350
|
*/
|
|
5510
|
-
proto.pulumirpc.
|
|
6351
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.getSchema = function() {
|
|
5511
6352
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5512
6353
|
};
|
|
5513
6354
|
|
|
5514
6355
|
|
|
5515
6356
|
/**
|
|
5516
6357
|
* @param {string} value
|
|
5517
|
-
* @return {!proto.pulumirpc.
|
|
6358
|
+
* @return {!proto.pulumirpc.GeneratePackageRequest} returns this
|
|
5518
6359
|
*/
|
|
5519
|
-
proto.pulumirpc.
|
|
6360
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.setSchema = function(value) {
|
|
5520
6361
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5521
6362
|
};
|
|
5522
6363
|
|
|
5523
6364
|
|
|
5524
6365
|
/**
|
|
5525
|
-
*
|
|
5526
|
-
* @
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5530
|
-
};
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
/**
|
|
5534
|
-
* @param {string} value
|
|
5535
|
-
* @return {!proto.pulumirpc.GenerateProjectRequest} returns this
|
|
5536
|
-
*/
|
|
5537
|
-
proto.pulumirpc.GenerateProjectRequest.prototype.setProject = function(value) {
|
|
5538
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
5539
|
-
};
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
/**
|
|
5543
|
-
* optional bool strict = 4;
|
|
5544
|
-
* @return {boolean}
|
|
6366
|
+
* map<string, bytes> extra_files = 3;
|
|
6367
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
6368
|
+
* empty, instead returning `undefined`
|
|
6369
|
+
* @return {!jspb.Map<string,!(string|Uint8Array)>}
|
|
5545
6370
|
*/
|
|
5546
|
-
proto.pulumirpc.
|
|
5547
|
-
return /** @type {
|
|
6371
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.getExtraFilesMap = function(opt_noLazyCreate) {
|
|
6372
|
+
return /** @type {!jspb.Map<string,!(string|Uint8Array)>} */ (
|
|
6373
|
+
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
|
|
6374
|
+
null));
|
|
5548
6375
|
};
|
|
5549
6376
|
|
|
5550
6377
|
|
|
5551
6378
|
/**
|
|
5552
|
-
*
|
|
5553
|
-
* @return {!proto.pulumirpc.
|
|
6379
|
+
* Clears values from the map. The map will be non-null.
|
|
6380
|
+
* @return {!proto.pulumirpc.GeneratePackageRequest} returns this
|
|
5554
6381
|
*/
|
|
5555
|
-
proto.pulumirpc.
|
|
5556
|
-
|
|
5557
|
-
};
|
|
6382
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.clearExtraFilesMap = function() {
|
|
6383
|
+
this.getExtraFilesMap().clear();
|
|
6384
|
+
return this;};
|
|
5558
6385
|
|
|
5559
6386
|
|
|
5560
6387
|
/**
|
|
5561
|
-
* optional string loader_target =
|
|
6388
|
+
* optional string loader_target = 4;
|
|
5562
6389
|
* @return {string}
|
|
5563
6390
|
*/
|
|
5564
|
-
proto.pulumirpc.
|
|
5565
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6391
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.getLoaderTarget = function() {
|
|
6392
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5566
6393
|
};
|
|
5567
6394
|
|
|
5568
6395
|
|
|
5569
6396
|
/**
|
|
5570
6397
|
* @param {string} value
|
|
5571
|
-
* @return {!proto.pulumirpc.
|
|
6398
|
+
* @return {!proto.pulumirpc.GeneratePackageRequest} returns this
|
|
5572
6399
|
*/
|
|
5573
|
-
proto.pulumirpc.
|
|
5574
|
-
return jspb.Message.setProto3StringField(this,
|
|
6400
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.setLoaderTarget = function(value) {
|
|
6401
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
5575
6402
|
};
|
|
5576
6403
|
|
|
5577
6404
|
|
|
5578
6405
|
/**
|
|
5579
|
-
* map<string, string> local_dependencies =
|
|
6406
|
+
* map<string, string> local_dependencies = 5;
|
|
5580
6407
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
5581
6408
|
* empty, instead returning `undefined`
|
|
5582
6409
|
* @return {!jspb.Map<string,string>}
|
|
5583
6410
|
*/
|
|
5584
|
-
proto.pulumirpc.
|
|
6411
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.getLocalDependenciesMap = function(opt_noLazyCreate) {
|
|
5585
6412
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
5586
|
-
jspb.Message.getMapField(this,
|
|
6413
|
+
jspb.Message.getMapField(this, 5, opt_noLazyCreate,
|
|
5587
6414
|
null));
|
|
5588
6415
|
};
|
|
5589
6416
|
|
|
5590
6417
|
|
|
5591
6418
|
/**
|
|
5592
6419
|
* Clears values from the map. The map will be non-null.
|
|
5593
|
-
* @return {!proto.pulumirpc.
|
|
6420
|
+
* @return {!proto.pulumirpc.GeneratePackageRequest} returns this
|
|
5594
6421
|
*/
|
|
5595
|
-
proto.pulumirpc.
|
|
6422
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.clearLocalDependenciesMap = function() {
|
|
5596
6423
|
this.getLocalDependenciesMap().clear();
|
|
5597
6424
|
return this;};
|
|
5598
6425
|
|
|
5599
6426
|
|
|
6427
|
+
/**
|
|
6428
|
+
* optional bool local = 6;
|
|
6429
|
+
* @return {boolean}
|
|
6430
|
+
*/
|
|
6431
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.getLocal = function() {
|
|
6432
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
6433
|
+
};
|
|
6434
|
+
|
|
6435
|
+
|
|
6436
|
+
/**
|
|
6437
|
+
* @param {boolean} value
|
|
6438
|
+
* @return {!proto.pulumirpc.GeneratePackageRequest} returns this
|
|
6439
|
+
*/
|
|
6440
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.setLocal = function(value) {
|
|
6441
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
6442
|
+
};
|
|
6443
|
+
|
|
6444
|
+
|
|
5600
6445
|
|
|
5601
6446
|
/**
|
|
5602
6447
|
* List of repeated fields within this message type.
|
|
5603
6448
|
* @private {!Array<number>}
|
|
5604
6449
|
* @const
|
|
5605
6450
|
*/
|
|
5606
|
-
proto.pulumirpc.
|
|
6451
|
+
proto.pulumirpc.GeneratePackageResponse.repeatedFields_ = [1];
|
|
5607
6452
|
|
|
5608
6453
|
|
|
5609
6454
|
|
|
@@ -5620,8 +6465,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5620
6465
|
* http://goto/soy-param-migration
|
|
5621
6466
|
* @return {!Object}
|
|
5622
6467
|
*/
|
|
5623
|
-
proto.pulumirpc.
|
|
5624
|
-
return proto.pulumirpc.
|
|
6468
|
+
proto.pulumirpc.GeneratePackageResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6469
|
+
return proto.pulumirpc.GeneratePackageResponse.toObject(opt_includeInstance, this);
|
|
5625
6470
|
};
|
|
5626
6471
|
|
|
5627
6472
|
|
|
@@ -5630,11 +6475,11 @@ proto.pulumirpc.GenerateProjectResponse.prototype.toObject = function(opt_includ
|
|
|
5630
6475
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5631
6476
|
* the JSPB instance for transitional soy proto support:
|
|
5632
6477
|
* http://goto/soy-param-migration
|
|
5633
|
-
* @param {!proto.pulumirpc.
|
|
6478
|
+
* @param {!proto.pulumirpc.GeneratePackageResponse} msg The msg instance to transform.
|
|
5634
6479
|
* @return {!Object}
|
|
5635
6480
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5636
6481
|
*/
|
|
5637
|
-
proto.pulumirpc.
|
|
6482
|
+
proto.pulumirpc.GeneratePackageResponse.toObject = function(includeInstance, msg) {
|
|
5638
6483
|
var f, obj = {
|
|
5639
6484
|
diagnosticsList: jspb.Message.toObjectList(msg.getDiagnosticsList(),
|
|
5640
6485
|
pulumi_codegen_hcl_pb.Diagnostic.toObject, includeInstance)
|
|
@@ -5651,23 +6496,23 @@ proto.pulumirpc.GenerateProjectResponse.toObject = function(includeInstance, msg
|
|
|
5651
6496
|
/**
|
|
5652
6497
|
* Deserializes binary data (in protobuf wire format).
|
|
5653
6498
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5654
|
-
* @return {!proto.pulumirpc.
|
|
6499
|
+
* @return {!proto.pulumirpc.GeneratePackageResponse}
|
|
5655
6500
|
*/
|
|
5656
|
-
proto.pulumirpc.
|
|
6501
|
+
proto.pulumirpc.GeneratePackageResponse.deserializeBinary = function(bytes) {
|
|
5657
6502
|
var reader = new jspb.BinaryReader(bytes);
|
|
5658
|
-
var msg = new proto.pulumirpc.
|
|
5659
|
-
return proto.pulumirpc.
|
|
6503
|
+
var msg = new proto.pulumirpc.GeneratePackageResponse;
|
|
6504
|
+
return proto.pulumirpc.GeneratePackageResponse.deserializeBinaryFromReader(msg, reader);
|
|
5660
6505
|
};
|
|
5661
6506
|
|
|
5662
6507
|
|
|
5663
6508
|
/**
|
|
5664
6509
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5665
6510
|
* given reader into the given message object.
|
|
5666
|
-
* @param {!proto.pulumirpc.
|
|
6511
|
+
* @param {!proto.pulumirpc.GeneratePackageResponse} msg The message object to deserialize into.
|
|
5667
6512
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5668
|
-
* @return {!proto.pulumirpc.
|
|
6513
|
+
* @return {!proto.pulumirpc.GeneratePackageResponse}
|
|
5669
6514
|
*/
|
|
5670
|
-
proto.pulumirpc.
|
|
6515
|
+
proto.pulumirpc.GeneratePackageResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5671
6516
|
while (reader.nextField()) {
|
|
5672
6517
|
if (reader.isEndGroup()) {
|
|
5673
6518
|
break;
|
|
@@ -5692,9 +6537,9 @@ proto.pulumirpc.GenerateProjectResponse.deserializeBinaryFromReader = function(m
|
|
|
5692
6537
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5693
6538
|
* @return {!Uint8Array}
|
|
5694
6539
|
*/
|
|
5695
|
-
proto.pulumirpc.
|
|
6540
|
+
proto.pulumirpc.GeneratePackageResponse.prototype.serializeBinary = function() {
|
|
5696
6541
|
var writer = new jspb.BinaryWriter();
|
|
5697
|
-
proto.pulumirpc.
|
|
6542
|
+
proto.pulumirpc.GeneratePackageResponse.serializeBinaryToWriter(this, writer);
|
|
5698
6543
|
return writer.getResultBuffer();
|
|
5699
6544
|
};
|
|
5700
6545
|
|
|
@@ -5702,11 +6547,11 @@ proto.pulumirpc.GenerateProjectResponse.prototype.serializeBinary = function() {
|
|
|
5702
6547
|
/**
|
|
5703
6548
|
* Serializes the given message to binary data (in protobuf wire
|
|
5704
6549
|
* format), writing to the given BinaryWriter.
|
|
5705
|
-
* @param {!proto.pulumirpc.
|
|
6550
|
+
* @param {!proto.pulumirpc.GeneratePackageResponse} message
|
|
5706
6551
|
* @param {!jspb.BinaryWriter} writer
|
|
5707
6552
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5708
6553
|
*/
|
|
5709
|
-
proto.pulumirpc.
|
|
6554
|
+
proto.pulumirpc.GeneratePackageResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5710
6555
|
var f = undefined;
|
|
5711
6556
|
f = message.getDiagnosticsList();
|
|
5712
6557
|
if (f.length > 0) {
|
|
@@ -5723,7 +6568,7 @@ proto.pulumirpc.GenerateProjectResponse.serializeBinaryToWriter = function(messa
|
|
|
5723
6568
|
* repeated codegen.Diagnostic diagnostics = 1;
|
|
5724
6569
|
* @return {!Array<!proto.pulumirpc.codegen.Diagnostic>}
|
|
5725
6570
|
*/
|
|
5726
|
-
proto.pulumirpc.
|
|
6571
|
+
proto.pulumirpc.GeneratePackageResponse.prototype.getDiagnosticsList = function() {
|
|
5727
6572
|
return /** @type{!Array<!proto.pulumirpc.codegen.Diagnostic>} */ (
|
|
5728
6573
|
jspb.Message.getRepeatedWrapperField(this, pulumi_codegen_hcl_pb.Diagnostic, 1));
|
|
5729
6574
|
};
|
|
@@ -5731,9 +6576,9 @@ proto.pulumirpc.GenerateProjectResponse.prototype.getDiagnosticsList = function(
|
|
|
5731
6576
|
|
|
5732
6577
|
/**
|
|
5733
6578
|
* @param {!Array<!proto.pulumirpc.codegen.Diagnostic>} value
|
|
5734
|
-
* @return {!proto.pulumirpc.
|
|
6579
|
+
* @return {!proto.pulumirpc.GeneratePackageResponse} returns this
|
|
5735
6580
|
*/
|
|
5736
|
-
proto.pulumirpc.
|
|
6581
|
+
proto.pulumirpc.GeneratePackageResponse.prototype.setDiagnosticsList = function(value) {
|
|
5737
6582
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
5738
6583
|
};
|
|
5739
6584
|
|
|
@@ -5743,16 +6588,16 @@ proto.pulumirpc.GenerateProjectResponse.prototype.setDiagnosticsList = function(
|
|
|
5743
6588
|
* @param {number=} opt_index
|
|
5744
6589
|
* @return {!proto.pulumirpc.codegen.Diagnostic}
|
|
5745
6590
|
*/
|
|
5746
|
-
proto.pulumirpc.
|
|
6591
|
+
proto.pulumirpc.GeneratePackageResponse.prototype.addDiagnostics = function(opt_value, opt_index) {
|
|
5747
6592
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.pulumirpc.codegen.Diagnostic, opt_index);
|
|
5748
6593
|
};
|
|
5749
6594
|
|
|
5750
6595
|
|
|
5751
6596
|
/**
|
|
5752
6597
|
* Clears the list making it empty but non-null.
|
|
5753
|
-
* @return {!proto.pulumirpc.
|
|
6598
|
+
* @return {!proto.pulumirpc.GeneratePackageResponse} returns this
|
|
5754
6599
|
*/
|
|
5755
|
-
proto.pulumirpc.
|
|
6600
|
+
proto.pulumirpc.GeneratePackageResponse.prototype.clearDiagnosticsList = function() {
|
|
5756
6601
|
return this.setDiagnosticsList([]);
|
|
5757
6602
|
};
|
|
5758
6603
|
|
|
@@ -5773,8 +6618,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5773
6618
|
* http://goto/soy-param-migration
|
|
5774
6619
|
* @return {!Object}
|
|
5775
6620
|
*/
|
|
5776
|
-
proto.pulumirpc.
|
|
5777
|
-
return proto.pulumirpc.
|
|
6621
|
+
proto.pulumirpc.PackRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6622
|
+
return proto.pulumirpc.PackRequest.toObject(opt_includeInstance, this);
|
|
5778
6623
|
};
|
|
5779
6624
|
|
|
5780
6625
|
|
|
@@ -5783,18 +6628,14 @@ proto.pulumirpc.GeneratePackageRequest.prototype.toObject = function(opt_include
|
|
|
5783
6628
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5784
6629
|
* the JSPB instance for transitional soy proto support:
|
|
5785
6630
|
* http://goto/soy-param-migration
|
|
5786
|
-
* @param {!proto.pulumirpc.
|
|
6631
|
+
* @param {!proto.pulumirpc.PackRequest} msg The msg instance to transform.
|
|
5787
6632
|
* @return {!Object}
|
|
5788
6633
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5789
6634
|
*/
|
|
5790
|
-
proto.pulumirpc.
|
|
6635
|
+
proto.pulumirpc.PackRequest.toObject = function(includeInstance, msg) {
|
|
5791
6636
|
var f, obj = {
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
extraFilesMap: (f = msg.getExtraFilesMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
5795
|
-
loaderTarget: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5796
|
-
localDependenciesMap: (f = msg.getLocalDependenciesMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
5797
|
-
local: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
6637
|
+
packageDirectory: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6638
|
+
destinationDirectory: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
5798
6639
|
};
|
|
5799
6640
|
|
|
5800
6641
|
if (includeInstance) {
|
|
@@ -5808,23 +6649,23 @@ proto.pulumirpc.GeneratePackageRequest.toObject = function(includeInstance, msg)
|
|
|
5808
6649
|
/**
|
|
5809
6650
|
* Deserializes binary data (in protobuf wire format).
|
|
5810
6651
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5811
|
-
* @return {!proto.pulumirpc.
|
|
6652
|
+
* @return {!proto.pulumirpc.PackRequest}
|
|
5812
6653
|
*/
|
|
5813
|
-
proto.pulumirpc.
|
|
6654
|
+
proto.pulumirpc.PackRequest.deserializeBinary = function(bytes) {
|
|
5814
6655
|
var reader = new jspb.BinaryReader(bytes);
|
|
5815
|
-
var msg = new proto.pulumirpc.
|
|
5816
|
-
return proto.pulumirpc.
|
|
6656
|
+
var msg = new proto.pulumirpc.PackRequest;
|
|
6657
|
+
return proto.pulumirpc.PackRequest.deserializeBinaryFromReader(msg, reader);
|
|
5817
6658
|
};
|
|
5818
6659
|
|
|
5819
6660
|
|
|
5820
6661
|
/**
|
|
5821
6662
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5822
6663
|
* given reader into the given message object.
|
|
5823
|
-
* @param {!proto.pulumirpc.
|
|
6664
|
+
* @param {!proto.pulumirpc.PackRequest} msg The message object to deserialize into.
|
|
5824
6665
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5825
|
-
* @return {!proto.pulumirpc.
|
|
6666
|
+
* @return {!proto.pulumirpc.PackRequest}
|
|
5826
6667
|
*/
|
|
5827
|
-
proto.pulumirpc.
|
|
6668
|
+
proto.pulumirpc.PackRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5828
6669
|
while (reader.nextField()) {
|
|
5829
6670
|
if (reader.isEndGroup()) {
|
|
5830
6671
|
break;
|
|
@@ -5833,31 +6674,11 @@ proto.pulumirpc.GeneratePackageRequest.deserializeBinaryFromReader = function(ms
|
|
|
5833
6674
|
switch (field) {
|
|
5834
6675
|
case 1:
|
|
5835
6676
|
var value = /** @type {string} */ (reader.readString());
|
|
5836
|
-
msg.
|
|
6677
|
+
msg.setPackageDirectory(value);
|
|
5837
6678
|
break;
|
|
5838
6679
|
case 2:
|
|
5839
6680
|
var value = /** @type {string} */ (reader.readString());
|
|
5840
|
-
msg.
|
|
5841
|
-
break;
|
|
5842
|
-
case 3:
|
|
5843
|
-
var value = msg.getExtraFilesMap();
|
|
5844
|
-
reader.readMessage(value, function(message, reader) {
|
|
5845
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBytes, null, "", "");
|
|
5846
|
-
});
|
|
5847
|
-
break;
|
|
5848
|
-
case 4:
|
|
5849
|
-
var value = /** @type {string} */ (reader.readString());
|
|
5850
|
-
msg.setLoaderTarget(value);
|
|
5851
|
-
break;
|
|
5852
|
-
case 5:
|
|
5853
|
-
var value = msg.getLocalDependenciesMap();
|
|
5854
|
-
reader.readMessage(value, function(message, reader) {
|
|
5855
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
5856
|
-
});
|
|
5857
|
-
break;
|
|
5858
|
-
case 6:
|
|
5859
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
5860
|
-
msg.setLocal(value);
|
|
6681
|
+
msg.setDestinationDirectory(value);
|
|
5861
6682
|
break;
|
|
5862
6683
|
default:
|
|
5863
6684
|
reader.skipField();
|
|
@@ -5872,9 +6693,9 @@ proto.pulumirpc.GeneratePackageRequest.deserializeBinaryFromReader = function(ms
|
|
|
5872
6693
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5873
6694
|
* @return {!Uint8Array}
|
|
5874
6695
|
*/
|
|
5875
|
-
proto.pulumirpc.
|
|
6696
|
+
proto.pulumirpc.PackRequest.prototype.serializeBinary = function() {
|
|
5876
6697
|
var writer = new jspb.BinaryWriter();
|
|
5877
|
-
proto.pulumirpc.
|
|
6698
|
+
proto.pulumirpc.PackRequest.serializeBinaryToWriter(this, writer);
|
|
5878
6699
|
return writer.getResultBuffer();
|
|
5879
6700
|
};
|
|
5880
6701
|
|
|
@@ -5882,175 +6703,66 @@ proto.pulumirpc.GeneratePackageRequest.prototype.serializeBinary = function() {
|
|
|
5882
6703
|
/**
|
|
5883
6704
|
* Serializes the given message to binary data (in protobuf wire
|
|
5884
6705
|
* format), writing to the given BinaryWriter.
|
|
5885
|
-
* @param {!proto.pulumirpc.
|
|
6706
|
+
* @param {!proto.pulumirpc.PackRequest} message
|
|
5886
6707
|
* @param {!jspb.BinaryWriter} writer
|
|
5887
6708
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5888
6709
|
*/
|
|
5889
|
-
proto.pulumirpc.
|
|
6710
|
+
proto.pulumirpc.PackRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5890
6711
|
var f = undefined;
|
|
5891
|
-
f = message.
|
|
6712
|
+
f = message.getPackageDirectory();
|
|
5892
6713
|
if (f.length > 0) {
|
|
5893
6714
|
writer.writeString(
|
|
5894
6715
|
1,
|
|
5895
6716
|
f
|
|
5896
6717
|
);
|
|
5897
6718
|
}
|
|
5898
|
-
f = message.
|
|
6719
|
+
f = message.getDestinationDirectory();
|
|
5899
6720
|
if (f.length > 0) {
|
|
5900
6721
|
writer.writeString(
|
|
5901
6722
|
2,
|
|
5902
6723
|
f
|
|
5903
6724
|
);
|
|
5904
6725
|
}
|
|
5905
|
-
f = message.getExtraFilesMap(true);
|
|
5906
|
-
if (f && f.getLength() > 0) {
|
|
5907
|
-
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBytes);
|
|
5908
|
-
}
|
|
5909
|
-
f = message.getLoaderTarget();
|
|
5910
|
-
if (f.length > 0) {
|
|
5911
|
-
writer.writeString(
|
|
5912
|
-
4,
|
|
5913
|
-
f
|
|
5914
|
-
);
|
|
5915
|
-
}
|
|
5916
|
-
f = message.getLocalDependenciesMap(true);
|
|
5917
|
-
if (f && f.getLength() > 0) {
|
|
5918
|
-
f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
5919
|
-
}
|
|
5920
|
-
f = message.getLocal();
|
|
5921
|
-
if (f) {
|
|
5922
|
-
writer.writeBool(
|
|
5923
|
-
6,
|
|
5924
|
-
f
|
|
5925
|
-
);
|
|
5926
|
-
}
|
|
5927
|
-
};
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
/**
|
|
5931
|
-
* optional string directory = 1;
|
|
5932
|
-
* @return {string}
|
|
5933
|
-
*/
|
|
5934
|
-
proto.pulumirpc.GeneratePackageRequest.prototype.getDirectory = function() {
|
|
5935
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5936
|
-
};
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
/**
|
|
5940
|
-
* @param {string} value
|
|
5941
|
-
* @return {!proto.pulumirpc.GeneratePackageRequest} returns this
|
|
5942
|
-
*/
|
|
5943
|
-
proto.pulumirpc.GeneratePackageRequest.prototype.setDirectory = function(value) {
|
|
5944
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5945
|
-
};
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
/**
|
|
5949
|
-
* optional string schema = 2;
|
|
5950
|
-
* @return {string}
|
|
5951
|
-
*/
|
|
5952
|
-
proto.pulumirpc.GeneratePackageRequest.prototype.getSchema = function() {
|
|
5953
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5954
|
-
};
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
/**
|
|
5958
|
-
* @param {string} value
|
|
5959
|
-
* @return {!proto.pulumirpc.GeneratePackageRequest} returns this
|
|
5960
|
-
*/
|
|
5961
|
-
proto.pulumirpc.GeneratePackageRequest.prototype.setSchema = function(value) {
|
|
5962
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5963
|
-
};
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
/**
|
|
5967
|
-
* map<string, bytes> extra_files = 3;
|
|
5968
|
-
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
5969
|
-
* empty, instead returning `undefined`
|
|
5970
|
-
* @return {!jspb.Map<string,!(string|Uint8Array)>}
|
|
5971
|
-
*/
|
|
5972
|
-
proto.pulumirpc.GeneratePackageRequest.prototype.getExtraFilesMap = function(opt_noLazyCreate) {
|
|
5973
|
-
return /** @type {!jspb.Map<string,!(string|Uint8Array)>} */ (
|
|
5974
|
-
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
|
|
5975
|
-
null));
|
|
5976
|
-
};
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
/**
|
|
5980
|
-
* Clears values from the map. The map will be non-null.
|
|
5981
|
-
* @return {!proto.pulumirpc.GeneratePackageRequest} returns this
|
|
5982
|
-
*/
|
|
5983
|
-
proto.pulumirpc.GeneratePackageRequest.prototype.clearExtraFilesMap = function() {
|
|
5984
|
-
this.getExtraFilesMap().clear();
|
|
5985
|
-
return this;};
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
/**
|
|
5989
|
-
* optional string loader_target = 4;
|
|
5990
|
-
* @return {string}
|
|
5991
|
-
*/
|
|
5992
|
-
proto.pulumirpc.GeneratePackageRequest.prototype.getLoaderTarget = function() {
|
|
5993
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5994
|
-
};
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
/**
|
|
5998
|
-
* @param {string} value
|
|
5999
|
-
* @return {!proto.pulumirpc.GeneratePackageRequest} returns this
|
|
6000
|
-
*/
|
|
6001
|
-
proto.pulumirpc.GeneratePackageRequest.prototype.setLoaderTarget = function(value) {
|
|
6002
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
6003
6726
|
};
|
|
6004
6727
|
|
|
6005
6728
|
|
|
6006
6729
|
/**
|
|
6007
|
-
*
|
|
6008
|
-
* @
|
|
6009
|
-
* empty, instead returning `undefined`
|
|
6010
|
-
* @return {!jspb.Map<string,string>}
|
|
6730
|
+
* optional string package_directory = 1;
|
|
6731
|
+
* @return {string}
|
|
6011
6732
|
*/
|
|
6012
|
-
proto.pulumirpc.
|
|
6013
|
-
return /** @type {
|
|
6014
|
-
jspb.Message.getMapField(this, 5, opt_noLazyCreate,
|
|
6015
|
-
null));
|
|
6733
|
+
proto.pulumirpc.PackRequest.prototype.getPackageDirectory = function() {
|
|
6734
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6016
6735
|
};
|
|
6017
6736
|
|
|
6018
6737
|
|
|
6019
6738
|
/**
|
|
6020
|
-
*
|
|
6021
|
-
* @return {!proto.pulumirpc.
|
|
6739
|
+
* @param {string} value
|
|
6740
|
+
* @return {!proto.pulumirpc.PackRequest} returns this
|
|
6022
6741
|
*/
|
|
6023
|
-
proto.pulumirpc.
|
|
6024
|
-
|
|
6025
|
-
|
|
6742
|
+
proto.pulumirpc.PackRequest.prototype.setPackageDirectory = function(value) {
|
|
6743
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6744
|
+
};
|
|
6026
6745
|
|
|
6027
6746
|
|
|
6028
6747
|
/**
|
|
6029
|
-
* optional
|
|
6030
|
-
* @return {
|
|
6748
|
+
* optional string destination_directory = 2;
|
|
6749
|
+
* @return {string}
|
|
6031
6750
|
*/
|
|
6032
|
-
proto.pulumirpc.
|
|
6033
|
-
return /** @type {
|
|
6751
|
+
proto.pulumirpc.PackRequest.prototype.getDestinationDirectory = function() {
|
|
6752
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6034
6753
|
};
|
|
6035
6754
|
|
|
6036
6755
|
|
|
6037
6756
|
/**
|
|
6038
|
-
* @param {
|
|
6039
|
-
* @return {!proto.pulumirpc.
|
|
6757
|
+
* @param {string} value
|
|
6758
|
+
* @return {!proto.pulumirpc.PackRequest} returns this
|
|
6040
6759
|
*/
|
|
6041
|
-
proto.pulumirpc.
|
|
6042
|
-
return jspb.Message.
|
|
6760
|
+
proto.pulumirpc.PackRequest.prototype.setDestinationDirectory = function(value) {
|
|
6761
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
6043
6762
|
};
|
|
6044
6763
|
|
|
6045
6764
|
|
|
6046
6765
|
|
|
6047
|
-
/**
|
|
6048
|
-
* List of repeated fields within this message type.
|
|
6049
|
-
* @private {!Array<number>}
|
|
6050
|
-
* @const
|
|
6051
|
-
*/
|
|
6052
|
-
proto.pulumirpc.GeneratePackageResponse.repeatedFields_ = [1];
|
|
6053
|
-
|
|
6054
6766
|
|
|
6055
6767
|
|
|
6056
6768
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -6066,8 +6778,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6066
6778
|
* http://goto/soy-param-migration
|
|
6067
6779
|
* @return {!Object}
|
|
6068
6780
|
*/
|
|
6069
|
-
proto.pulumirpc.
|
|
6070
|
-
return proto.pulumirpc.
|
|
6781
|
+
proto.pulumirpc.PackResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6782
|
+
return proto.pulumirpc.PackResponse.toObject(opt_includeInstance, this);
|
|
6071
6783
|
};
|
|
6072
6784
|
|
|
6073
6785
|
|
|
@@ -6076,14 +6788,13 @@ proto.pulumirpc.GeneratePackageResponse.prototype.toObject = function(opt_includ
|
|
|
6076
6788
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6077
6789
|
* the JSPB instance for transitional soy proto support:
|
|
6078
6790
|
* http://goto/soy-param-migration
|
|
6079
|
-
* @param {!proto.pulumirpc.
|
|
6791
|
+
* @param {!proto.pulumirpc.PackResponse} msg The msg instance to transform.
|
|
6080
6792
|
* @return {!Object}
|
|
6081
6793
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6082
6794
|
*/
|
|
6083
|
-
proto.pulumirpc.
|
|
6795
|
+
proto.pulumirpc.PackResponse.toObject = function(includeInstance, msg) {
|
|
6084
6796
|
var f, obj = {
|
|
6085
|
-
|
|
6086
|
-
pulumi_codegen_hcl_pb.Diagnostic.toObject, includeInstance)
|
|
6797
|
+
artifactPath: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
6087
6798
|
};
|
|
6088
6799
|
|
|
6089
6800
|
if (includeInstance) {
|
|
@@ -6097,23 +6808,23 @@ proto.pulumirpc.GeneratePackageResponse.toObject = function(includeInstance, msg
|
|
|
6097
6808
|
/**
|
|
6098
6809
|
* Deserializes binary data (in protobuf wire format).
|
|
6099
6810
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6100
|
-
* @return {!proto.pulumirpc.
|
|
6811
|
+
* @return {!proto.pulumirpc.PackResponse}
|
|
6101
6812
|
*/
|
|
6102
|
-
proto.pulumirpc.
|
|
6813
|
+
proto.pulumirpc.PackResponse.deserializeBinary = function(bytes) {
|
|
6103
6814
|
var reader = new jspb.BinaryReader(bytes);
|
|
6104
|
-
var msg = new proto.pulumirpc.
|
|
6105
|
-
return proto.pulumirpc.
|
|
6815
|
+
var msg = new proto.pulumirpc.PackResponse;
|
|
6816
|
+
return proto.pulumirpc.PackResponse.deserializeBinaryFromReader(msg, reader);
|
|
6106
6817
|
};
|
|
6107
6818
|
|
|
6108
6819
|
|
|
6109
6820
|
/**
|
|
6110
6821
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6111
6822
|
* given reader into the given message object.
|
|
6112
|
-
* @param {!proto.pulumirpc.
|
|
6823
|
+
* @param {!proto.pulumirpc.PackResponse} msg The message object to deserialize into.
|
|
6113
6824
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6114
|
-
* @return {!proto.pulumirpc.
|
|
6825
|
+
* @return {!proto.pulumirpc.PackResponse}
|
|
6115
6826
|
*/
|
|
6116
|
-
proto.pulumirpc.
|
|
6827
|
+
proto.pulumirpc.PackResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6117
6828
|
while (reader.nextField()) {
|
|
6118
6829
|
if (reader.isEndGroup()) {
|
|
6119
6830
|
break;
|
|
@@ -6121,9 +6832,8 @@ proto.pulumirpc.GeneratePackageResponse.deserializeBinaryFromReader = function(m
|
|
|
6121
6832
|
var field = reader.getFieldNumber();
|
|
6122
6833
|
switch (field) {
|
|
6123
6834
|
case 1:
|
|
6124
|
-
var value =
|
|
6125
|
-
|
|
6126
|
-
msg.addDiagnostics(value);
|
|
6835
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6836
|
+
msg.setArtifactPath(value);
|
|
6127
6837
|
break;
|
|
6128
6838
|
default:
|
|
6129
6839
|
reader.skipField();
|
|
@@ -6138,9 +6848,9 @@ proto.pulumirpc.GeneratePackageResponse.deserializeBinaryFromReader = function(m
|
|
|
6138
6848
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6139
6849
|
* @return {!Uint8Array}
|
|
6140
6850
|
*/
|
|
6141
|
-
proto.pulumirpc.
|
|
6851
|
+
proto.pulumirpc.PackResponse.prototype.serializeBinary = function() {
|
|
6142
6852
|
var writer = new jspb.BinaryWriter();
|
|
6143
|
-
proto.pulumirpc.
|
|
6853
|
+
proto.pulumirpc.PackResponse.serializeBinaryToWriter(this, writer);
|
|
6144
6854
|
return writer.getResultBuffer();
|
|
6145
6855
|
};
|
|
6146
6856
|
|
|
@@ -6148,58 +6858,37 @@ proto.pulumirpc.GeneratePackageResponse.prototype.serializeBinary = function() {
|
|
|
6148
6858
|
/**
|
|
6149
6859
|
* Serializes the given message to binary data (in protobuf wire
|
|
6150
6860
|
* format), writing to the given BinaryWriter.
|
|
6151
|
-
* @param {!proto.pulumirpc.
|
|
6861
|
+
* @param {!proto.pulumirpc.PackResponse} message
|
|
6152
6862
|
* @param {!jspb.BinaryWriter} writer
|
|
6153
6863
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6154
6864
|
*/
|
|
6155
|
-
proto.pulumirpc.
|
|
6865
|
+
proto.pulumirpc.PackResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6156
6866
|
var f = undefined;
|
|
6157
|
-
f = message.
|
|
6867
|
+
f = message.getArtifactPath();
|
|
6158
6868
|
if (f.length > 0) {
|
|
6159
|
-
writer.
|
|
6869
|
+
writer.writeString(
|
|
6160
6870
|
1,
|
|
6161
|
-
f
|
|
6162
|
-
pulumi_codegen_hcl_pb.Diagnostic.serializeBinaryToWriter
|
|
6871
|
+
f
|
|
6163
6872
|
);
|
|
6164
6873
|
}
|
|
6165
6874
|
};
|
|
6166
6875
|
|
|
6167
6876
|
|
|
6168
6877
|
/**
|
|
6169
|
-
*
|
|
6170
|
-
* @return {
|
|
6171
|
-
*/
|
|
6172
|
-
proto.pulumirpc.GeneratePackageResponse.prototype.getDiagnosticsList = function() {
|
|
6173
|
-
return /** @type{!Array<!proto.pulumirpc.codegen.Diagnostic>} */ (
|
|
6174
|
-
jspb.Message.getRepeatedWrapperField(this, pulumi_codegen_hcl_pb.Diagnostic, 1));
|
|
6175
|
-
};
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
/**
|
|
6179
|
-
* @param {!Array<!proto.pulumirpc.codegen.Diagnostic>} value
|
|
6180
|
-
* @return {!proto.pulumirpc.GeneratePackageResponse} returns this
|
|
6181
|
-
*/
|
|
6182
|
-
proto.pulumirpc.GeneratePackageResponse.prototype.setDiagnosticsList = function(value) {
|
|
6183
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
6184
|
-
};
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
/**
|
|
6188
|
-
* @param {!proto.pulumirpc.codegen.Diagnostic=} opt_value
|
|
6189
|
-
* @param {number=} opt_index
|
|
6190
|
-
* @return {!proto.pulumirpc.codegen.Diagnostic}
|
|
6878
|
+
* optional string artifact_path = 1;
|
|
6879
|
+
* @return {string}
|
|
6191
6880
|
*/
|
|
6192
|
-
proto.pulumirpc.
|
|
6193
|
-
return jspb.Message.
|
|
6881
|
+
proto.pulumirpc.PackResponse.prototype.getArtifactPath = function() {
|
|
6882
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6194
6883
|
};
|
|
6195
6884
|
|
|
6196
6885
|
|
|
6197
6886
|
/**
|
|
6198
|
-
*
|
|
6199
|
-
* @return {!proto.pulumirpc.
|
|
6887
|
+
* @param {string} value
|
|
6888
|
+
* @return {!proto.pulumirpc.PackResponse} returns this
|
|
6200
6889
|
*/
|
|
6201
|
-
proto.pulumirpc.
|
|
6202
|
-
return
|
|
6890
|
+
proto.pulumirpc.PackResponse.prototype.setArtifactPath = function(value) {
|
|
6891
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6203
6892
|
};
|
|
6204
6893
|
|
|
6205
6894
|
|
|
@@ -6219,8 +6908,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6219
6908
|
* http://goto/soy-param-migration
|
|
6220
6909
|
* @return {!Object}
|
|
6221
6910
|
*/
|
|
6222
|
-
proto.pulumirpc.
|
|
6223
|
-
return proto.pulumirpc.
|
|
6911
|
+
proto.pulumirpc.LanguageHandshakeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6912
|
+
return proto.pulumirpc.LanguageHandshakeRequest.toObject(opt_includeInstance, this);
|
|
6224
6913
|
};
|
|
6225
6914
|
|
|
6226
6915
|
|
|
@@ -6229,14 +6918,15 @@ proto.pulumirpc.PackRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
6229
6918
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6230
6919
|
* the JSPB instance for transitional soy proto support:
|
|
6231
6920
|
* http://goto/soy-param-migration
|
|
6232
|
-
* @param {!proto.pulumirpc.
|
|
6921
|
+
* @param {!proto.pulumirpc.LanguageHandshakeRequest} msg The msg instance to transform.
|
|
6233
6922
|
* @return {!Object}
|
|
6234
6923
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6235
6924
|
*/
|
|
6236
|
-
proto.pulumirpc.
|
|
6925
|
+
proto.pulumirpc.LanguageHandshakeRequest.toObject = function(includeInstance, msg) {
|
|
6237
6926
|
var f, obj = {
|
|
6238
|
-
|
|
6239
|
-
|
|
6927
|
+
engineAddress: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6928
|
+
rootDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6929
|
+
programDirectory: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
6240
6930
|
};
|
|
6241
6931
|
|
|
6242
6932
|
if (includeInstance) {
|
|
@@ -6250,23 +6940,23 @@ proto.pulumirpc.PackRequest.toObject = function(includeInstance, msg) {
|
|
|
6250
6940
|
/**
|
|
6251
6941
|
* Deserializes binary data (in protobuf wire format).
|
|
6252
6942
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6253
|
-
* @return {!proto.pulumirpc.
|
|
6943
|
+
* @return {!proto.pulumirpc.LanguageHandshakeRequest}
|
|
6254
6944
|
*/
|
|
6255
|
-
proto.pulumirpc.
|
|
6945
|
+
proto.pulumirpc.LanguageHandshakeRequest.deserializeBinary = function(bytes) {
|
|
6256
6946
|
var reader = new jspb.BinaryReader(bytes);
|
|
6257
|
-
var msg = new proto.pulumirpc.
|
|
6258
|
-
return proto.pulumirpc.
|
|
6947
|
+
var msg = new proto.pulumirpc.LanguageHandshakeRequest;
|
|
6948
|
+
return proto.pulumirpc.LanguageHandshakeRequest.deserializeBinaryFromReader(msg, reader);
|
|
6259
6949
|
};
|
|
6260
6950
|
|
|
6261
6951
|
|
|
6262
6952
|
/**
|
|
6263
6953
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6264
6954
|
* given reader into the given message object.
|
|
6265
|
-
* @param {!proto.pulumirpc.
|
|
6955
|
+
* @param {!proto.pulumirpc.LanguageHandshakeRequest} msg The message object to deserialize into.
|
|
6266
6956
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6267
|
-
* @return {!proto.pulumirpc.
|
|
6957
|
+
* @return {!proto.pulumirpc.LanguageHandshakeRequest}
|
|
6268
6958
|
*/
|
|
6269
|
-
proto.pulumirpc.
|
|
6959
|
+
proto.pulumirpc.LanguageHandshakeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6270
6960
|
while (reader.nextField()) {
|
|
6271
6961
|
if (reader.isEndGroup()) {
|
|
6272
6962
|
break;
|
|
@@ -6275,11 +6965,15 @@ proto.pulumirpc.PackRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
6275
6965
|
switch (field) {
|
|
6276
6966
|
case 1:
|
|
6277
6967
|
var value = /** @type {string} */ (reader.readString());
|
|
6278
|
-
msg.
|
|
6968
|
+
msg.setEngineAddress(value);
|
|
6279
6969
|
break;
|
|
6280
6970
|
case 2:
|
|
6281
6971
|
var value = /** @type {string} */ (reader.readString());
|
|
6282
|
-
msg.
|
|
6972
|
+
msg.setRootDirectory(value);
|
|
6973
|
+
break;
|
|
6974
|
+
case 3:
|
|
6975
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6976
|
+
msg.setProgramDirectory(value);
|
|
6283
6977
|
break;
|
|
6284
6978
|
default:
|
|
6285
6979
|
reader.skipField();
|
|
@@ -6294,9 +6988,9 @@ proto.pulumirpc.PackRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
6294
6988
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6295
6989
|
* @return {!Uint8Array}
|
|
6296
6990
|
*/
|
|
6297
|
-
proto.pulumirpc.
|
|
6991
|
+
proto.pulumirpc.LanguageHandshakeRequest.prototype.serializeBinary = function() {
|
|
6298
6992
|
var writer = new jspb.BinaryWriter();
|
|
6299
|
-
proto.pulumirpc.
|
|
6993
|
+
proto.pulumirpc.LanguageHandshakeRequest.serializeBinaryToWriter(this, writer);
|
|
6300
6994
|
return writer.getResultBuffer();
|
|
6301
6995
|
};
|
|
6302
6996
|
|
|
@@ -6304,62 +6998,123 @@ proto.pulumirpc.PackRequest.prototype.serializeBinary = function() {
|
|
|
6304
6998
|
/**
|
|
6305
6999
|
* Serializes the given message to binary data (in protobuf wire
|
|
6306
7000
|
* format), writing to the given BinaryWriter.
|
|
6307
|
-
* @param {!proto.pulumirpc.
|
|
7001
|
+
* @param {!proto.pulumirpc.LanguageHandshakeRequest} message
|
|
6308
7002
|
* @param {!jspb.BinaryWriter} writer
|
|
6309
7003
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6310
7004
|
*/
|
|
6311
|
-
proto.pulumirpc.
|
|
7005
|
+
proto.pulumirpc.LanguageHandshakeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6312
7006
|
var f = undefined;
|
|
6313
|
-
f = message.
|
|
7007
|
+
f = message.getEngineAddress();
|
|
6314
7008
|
if (f.length > 0) {
|
|
6315
7009
|
writer.writeString(
|
|
6316
7010
|
1,
|
|
6317
7011
|
f
|
|
6318
7012
|
);
|
|
6319
7013
|
}
|
|
6320
|
-
f =
|
|
6321
|
-
if (f
|
|
7014
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
7015
|
+
if (f != null) {
|
|
6322
7016
|
writer.writeString(
|
|
6323
7017
|
2,
|
|
6324
7018
|
f
|
|
6325
7019
|
);
|
|
6326
7020
|
}
|
|
7021
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
7022
|
+
if (f != null) {
|
|
7023
|
+
writer.writeString(
|
|
7024
|
+
3,
|
|
7025
|
+
f
|
|
7026
|
+
);
|
|
7027
|
+
}
|
|
6327
7028
|
};
|
|
6328
7029
|
|
|
6329
7030
|
|
|
6330
7031
|
/**
|
|
6331
|
-
* optional string
|
|
7032
|
+
* optional string engine_address = 1;
|
|
6332
7033
|
* @return {string}
|
|
6333
7034
|
*/
|
|
6334
|
-
proto.pulumirpc.
|
|
7035
|
+
proto.pulumirpc.LanguageHandshakeRequest.prototype.getEngineAddress = function() {
|
|
6335
7036
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6336
7037
|
};
|
|
6337
7038
|
|
|
6338
7039
|
|
|
6339
7040
|
/**
|
|
6340
7041
|
* @param {string} value
|
|
6341
|
-
* @return {!proto.pulumirpc.
|
|
7042
|
+
* @return {!proto.pulumirpc.LanguageHandshakeRequest} returns this
|
|
6342
7043
|
*/
|
|
6343
|
-
proto.pulumirpc.
|
|
7044
|
+
proto.pulumirpc.LanguageHandshakeRequest.prototype.setEngineAddress = function(value) {
|
|
6344
7045
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6345
7046
|
};
|
|
6346
7047
|
|
|
6347
7048
|
|
|
6348
7049
|
/**
|
|
6349
|
-
* optional string
|
|
7050
|
+
* optional string root_directory = 2;
|
|
6350
7051
|
* @return {string}
|
|
6351
7052
|
*/
|
|
6352
|
-
proto.pulumirpc.
|
|
7053
|
+
proto.pulumirpc.LanguageHandshakeRequest.prototype.getRootDirectory = function() {
|
|
6353
7054
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6354
7055
|
};
|
|
6355
7056
|
|
|
6356
7057
|
|
|
6357
7058
|
/**
|
|
6358
7059
|
* @param {string} value
|
|
6359
|
-
* @return {!proto.pulumirpc.
|
|
7060
|
+
* @return {!proto.pulumirpc.LanguageHandshakeRequest} returns this
|
|
6360
7061
|
*/
|
|
6361
|
-
proto.pulumirpc.
|
|
6362
|
-
return jspb.Message.
|
|
7062
|
+
proto.pulumirpc.LanguageHandshakeRequest.prototype.setRootDirectory = function(value) {
|
|
7063
|
+
return jspb.Message.setField(this, 2, value);
|
|
7064
|
+
};
|
|
7065
|
+
|
|
7066
|
+
|
|
7067
|
+
/**
|
|
7068
|
+
* Clears the field making it undefined.
|
|
7069
|
+
* @return {!proto.pulumirpc.LanguageHandshakeRequest} returns this
|
|
7070
|
+
*/
|
|
7071
|
+
proto.pulumirpc.LanguageHandshakeRequest.prototype.clearRootDirectory = function() {
|
|
7072
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
7073
|
+
};
|
|
7074
|
+
|
|
7075
|
+
|
|
7076
|
+
/**
|
|
7077
|
+
* Returns whether this field is set.
|
|
7078
|
+
* @return {boolean}
|
|
7079
|
+
*/
|
|
7080
|
+
proto.pulumirpc.LanguageHandshakeRequest.prototype.hasRootDirectory = function() {
|
|
7081
|
+
return jspb.Message.getField(this, 2) != null;
|
|
7082
|
+
};
|
|
7083
|
+
|
|
7084
|
+
|
|
7085
|
+
/**
|
|
7086
|
+
* optional string program_directory = 3;
|
|
7087
|
+
* @return {string}
|
|
7088
|
+
*/
|
|
7089
|
+
proto.pulumirpc.LanguageHandshakeRequest.prototype.getProgramDirectory = function() {
|
|
7090
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7091
|
+
};
|
|
7092
|
+
|
|
7093
|
+
|
|
7094
|
+
/**
|
|
7095
|
+
* @param {string} value
|
|
7096
|
+
* @return {!proto.pulumirpc.LanguageHandshakeRequest} returns this
|
|
7097
|
+
*/
|
|
7098
|
+
proto.pulumirpc.LanguageHandshakeRequest.prototype.setProgramDirectory = function(value) {
|
|
7099
|
+
return jspb.Message.setField(this, 3, value);
|
|
7100
|
+
};
|
|
7101
|
+
|
|
7102
|
+
|
|
7103
|
+
/**
|
|
7104
|
+
* Clears the field making it undefined.
|
|
7105
|
+
* @return {!proto.pulumirpc.LanguageHandshakeRequest} returns this
|
|
7106
|
+
*/
|
|
7107
|
+
proto.pulumirpc.LanguageHandshakeRequest.prototype.clearProgramDirectory = function() {
|
|
7108
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
7109
|
+
};
|
|
7110
|
+
|
|
7111
|
+
|
|
7112
|
+
/**
|
|
7113
|
+
* Returns whether this field is set.
|
|
7114
|
+
* @return {boolean}
|
|
7115
|
+
*/
|
|
7116
|
+
proto.pulumirpc.LanguageHandshakeRequest.prototype.hasProgramDirectory = function() {
|
|
7117
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6363
7118
|
};
|
|
6364
7119
|
|
|
6365
7120
|
|
|
@@ -6379,8 +7134,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6379
7134
|
* http://goto/soy-param-migration
|
|
6380
7135
|
* @return {!Object}
|
|
6381
7136
|
*/
|
|
6382
|
-
proto.pulumirpc.
|
|
6383
|
-
return proto.pulumirpc.
|
|
7137
|
+
proto.pulumirpc.LanguageHandshakeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7138
|
+
return proto.pulumirpc.LanguageHandshakeResponse.toObject(opt_includeInstance, this);
|
|
6384
7139
|
};
|
|
6385
7140
|
|
|
6386
7141
|
|
|
@@ -6389,13 +7144,13 @@ proto.pulumirpc.PackResponse.prototype.toObject = function(opt_includeInstance)
|
|
|
6389
7144
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6390
7145
|
* the JSPB instance for transitional soy proto support:
|
|
6391
7146
|
* http://goto/soy-param-migration
|
|
6392
|
-
* @param {!proto.pulumirpc.
|
|
7147
|
+
* @param {!proto.pulumirpc.LanguageHandshakeResponse} msg The msg instance to transform.
|
|
6393
7148
|
* @return {!Object}
|
|
6394
7149
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6395
7150
|
*/
|
|
6396
|
-
proto.pulumirpc.
|
|
7151
|
+
proto.pulumirpc.LanguageHandshakeResponse.toObject = function(includeInstance, msg) {
|
|
6397
7152
|
var f, obj = {
|
|
6398
|
-
|
|
7153
|
+
|
|
6399
7154
|
};
|
|
6400
7155
|
|
|
6401
7156
|
if (includeInstance) {
|
|
@@ -6409,33 +7164,29 @@ proto.pulumirpc.PackResponse.toObject = function(includeInstance, msg) {
|
|
|
6409
7164
|
/**
|
|
6410
7165
|
* Deserializes binary data (in protobuf wire format).
|
|
6411
7166
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6412
|
-
* @return {!proto.pulumirpc.
|
|
7167
|
+
* @return {!proto.pulumirpc.LanguageHandshakeResponse}
|
|
6413
7168
|
*/
|
|
6414
|
-
proto.pulumirpc.
|
|
7169
|
+
proto.pulumirpc.LanguageHandshakeResponse.deserializeBinary = function(bytes) {
|
|
6415
7170
|
var reader = new jspb.BinaryReader(bytes);
|
|
6416
|
-
var msg = new proto.pulumirpc.
|
|
6417
|
-
return proto.pulumirpc.
|
|
7171
|
+
var msg = new proto.pulumirpc.LanguageHandshakeResponse;
|
|
7172
|
+
return proto.pulumirpc.LanguageHandshakeResponse.deserializeBinaryFromReader(msg, reader);
|
|
6418
7173
|
};
|
|
6419
7174
|
|
|
6420
7175
|
|
|
6421
7176
|
/**
|
|
6422
7177
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6423
7178
|
* given reader into the given message object.
|
|
6424
|
-
* @param {!proto.pulumirpc.
|
|
7179
|
+
* @param {!proto.pulumirpc.LanguageHandshakeResponse} msg The message object to deserialize into.
|
|
6425
7180
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6426
|
-
* @return {!proto.pulumirpc.
|
|
7181
|
+
* @return {!proto.pulumirpc.LanguageHandshakeResponse}
|
|
6427
7182
|
*/
|
|
6428
|
-
proto.pulumirpc.
|
|
7183
|
+
proto.pulumirpc.LanguageHandshakeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6429
7184
|
while (reader.nextField()) {
|
|
6430
7185
|
if (reader.isEndGroup()) {
|
|
6431
7186
|
break;
|
|
6432
7187
|
}
|
|
6433
7188
|
var field = reader.getFieldNumber();
|
|
6434
7189
|
switch (field) {
|
|
6435
|
-
case 1:
|
|
6436
|
-
var value = /** @type {string} */ (reader.readString());
|
|
6437
|
-
msg.setArtifactPath(value);
|
|
6438
|
-
break;
|
|
6439
7190
|
default:
|
|
6440
7191
|
reader.skipField();
|
|
6441
7192
|
break;
|
|
@@ -6449,9 +7200,9 @@ proto.pulumirpc.PackResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
|
6449
7200
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6450
7201
|
* @return {!Uint8Array}
|
|
6451
7202
|
*/
|
|
6452
|
-
proto.pulumirpc.
|
|
7203
|
+
proto.pulumirpc.LanguageHandshakeResponse.prototype.serializeBinary = function() {
|
|
6453
7204
|
var writer = new jspb.BinaryWriter();
|
|
6454
|
-
proto.pulumirpc.
|
|
7205
|
+
proto.pulumirpc.LanguageHandshakeResponse.serializeBinaryToWriter(this, writer);
|
|
6455
7206
|
return writer.getResultBuffer();
|
|
6456
7207
|
};
|
|
6457
7208
|
|
|
@@ -6459,37 +7210,12 @@ proto.pulumirpc.PackResponse.prototype.serializeBinary = function() {
|
|
|
6459
7210
|
/**
|
|
6460
7211
|
* Serializes the given message to binary data (in protobuf wire
|
|
6461
7212
|
* format), writing to the given BinaryWriter.
|
|
6462
|
-
* @param {!proto.pulumirpc.
|
|
7213
|
+
* @param {!proto.pulumirpc.LanguageHandshakeResponse} message
|
|
6463
7214
|
* @param {!jspb.BinaryWriter} writer
|
|
6464
7215
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6465
7216
|
*/
|
|
6466
|
-
proto.pulumirpc.
|
|
7217
|
+
proto.pulumirpc.LanguageHandshakeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6467
7218
|
var f = undefined;
|
|
6468
|
-
f = message.getArtifactPath();
|
|
6469
|
-
if (f.length > 0) {
|
|
6470
|
-
writer.writeString(
|
|
6471
|
-
1,
|
|
6472
|
-
f
|
|
6473
|
-
);
|
|
6474
|
-
}
|
|
6475
|
-
};
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
/**
|
|
6479
|
-
* optional string artifact_path = 1;
|
|
6480
|
-
* @return {string}
|
|
6481
|
-
*/
|
|
6482
|
-
proto.pulumirpc.PackResponse.prototype.getArtifactPath = function() {
|
|
6483
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6484
|
-
};
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
/**
|
|
6488
|
-
* @param {string} value
|
|
6489
|
-
* @return {!proto.pulumirpc.PackResponse} returns this
|
|
6490
|
-
*/
|
|
6491
|
-
proto.pulumirpc.PackResponse.prototype.setArtifactPath = function(value) {
|
|
6492
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6493
7219
|
};
|
|
6494
7220
|
|
|
6495
7221
|
|