@pulumi/pulumi 3.179.0-alpha.xbc9dbb4 → 3.179.0-alpha.xca7c850
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/log/index.js +0 -3
- package/log/index.js.map +1 -1
- package/package.json +1 -1
- package/proto/resource_grpc_pb.d.ts +0 -34
- package/proto/resource_grpc_pb.js +0 -41
- package/proto/resource_pb.d.ts +0 -137
- package/proto/resource_pb.js +204 -1347
- package/runtime/mocks.js +0 -1
- package/runtime/mocks.js.map +1 -1
- package/runtime/resource.js +0 -1
- package/runtime/resource.js.map +1 -1
- package/version.js +1 -1
package/proto/resource_pb.js
CHANGED
|
@@ -32,18 +32,14 @@ goog.exportSymbol('proto.pulumirpc.ReadResourceRequest', null, global);
|
|
|
32
32
|
goog.exportSymbol('proto.pulumirpc.ReadResourceResponse', null, global);
|
|
33
33
|
goog.exportSymbol('proto.pulumirpc.RegisterPackageRequest', null, global);
|
|
34
34
|
goog.exportSymbol('proto.pulumirpc.RegisterPackageResponse', null, global);
|
|
35
|
-
goog.exportSymbol('proto.pulumirpc.RegisterResourceHookRequest', null, global);
|
|
36
35
|
goog.exportSymbol('proto.pulumirpc.RegisterResourceOutputsRequest', null, global);
|
|
37
36
|
goog.exportSymbol('proto.pulumirpc.RegisterResourceRequest', null, global);
|
|
38
37
|
goog.exportSymbol('proto.pulumirpc.RegisterResourceRequest.CustomTimeouts', null, global);
|
|
39
38
|
goog.exportSymbol('proto.pulumirpc.RegisterResourceRequest.PropertyDependencies', null, global);
|
|
40
|
-
goog.exportSymbol('proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding', null, global);
|
|
41
39
|
goog.exportSymbol('proto.pulumirpc.RegisterResourceResponse', null, global);
|
|
42
40
|
goog.exportSymbol('proto.pulumirpc.RegisterResourceResponse.PropertyDependencies', null, global);
|
|
43
41
|
goog.exportSymbol('proto.pulumirpc.ResourceCallRequest', null, global);
|
|
44
42
|
goog.exportSymbol('proto.pulumirpc.ResourceCallRequest.ArgumentDependencies', null, global);
|
|
45
|
-
goog.exportSymbol('proto.pulumirpc.ResourceHookRequest', null, global);
|
|
46
|
-
goog.exportSymbol('proto.pulumirpc.ResourceHookResponse', null, global);
|
|
47
43
|
goog.exportSymbol('proto.pulumirpc.ResourceInvokeRequest', null, global);
|
|
48
44
|
goog.exportSymbol('proto.pulumirpc.Result', null, global);
|
|
49
45
|
goog.exportSymbol('proto.pulumirpc.SupportsFeatureRequest', null, global);
|
|
@@ -201,27 +197,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
201
197
|
*/
|
|
202
198
|
proto.pulumirpc.RegisterResourceRequest.CustomTimeouts.displayName = 'proto.pulumirpc.RegisterResourceRequest.CustomTimeouts';
|
|
203
199
|
}
|
|
204
|
-
/**
|
|
205
|
-
* Generated by JsPbCodeGenerator.
|
|
206
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
207
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
208
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
209
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
210
|
-
* valid.
|
|
211
|
-
* @extends {jspb.Message}
|
|
212
|
-
* @constructor
|
|
213
|
-
*/
|
|
214
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding = function(opt_data) {
|
|
215
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.repeatedFields_, null);
|
|
216
|
-
};
|
|
217
|
-
goog.inherits(proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding, jspb.Message);
|
|
218
|
-
if (goog.DEBUG && !COMPILED) {
|
|
219
|
-
/**
|
|
220
|
-
* @public
|
|
221
|
-
* @override
|
|
222
|
-
*/
|
|
223
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.displayName = 'proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding';
|
|
224
|
-
}
|
|
225
200
|
/**
|
|
226
201
|
* Generated by JsPbCodeGenerator.
|
|
227
202
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -474,48 +449,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
474
449
|
*/
|
|
475
450
|
proto.pulumirpc.TransformInvokeOptions.displayName = 'proto.pulumirpc.TransformInvokeOptions';
|
|
476
451
|
}
|
|
477
|
-
/**
|
|
478
|
-
* Generated by JsPbCodeGenerator.
|
|
479
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
480
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
481
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
482
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
483
|
-
* valid.
|
|
484
|
-
* @extends {jspb.Message}
|
|
485
|
-
* @constructor
|
|
486
|
-
*/
|
|
487
|
-
proto.pulumirpc.ResourceHookRequest = function(opt_data) {
|
|
488
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
489
|
-
};
|
|
490
|
-
goog.inherits(proto.pulumirpc.ResourceHookRequest, jspb.Message);
|
|
491
|
-
if (goog.DEBUG && !COMPILED) {
|
|
492
|
-
/**
|
|
493
|
-
* @public
|
|
494
|
-
* @override
|
|
495
|
-
*/
|
|
496
|
-
proto.pulumirpc.ResourceHookRequest.displayName = 'proto.pulumirpc.ResourceHookRequest';
|
|
497
|
-
}
|
|
498
|
-
/**
|
|
499
|
-
* Generated by JsPbCodeGenerator.
|
|
500
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
501
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
502
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
503
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
504
|
-
* valid.
|
|
505
|
-
* @extends {jspb.Message}
|
|
506
|
-
* @constructor
|
|
507
|
-
*/
|
|
508
|
-
proto.pulumirpc.ResourceHookResponse = function(opt_data) {
|
|
509
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
510
|
-
};
|
|
511
|
-
goog.inherits(proto.pulumirpc.ResourceHookResponse, jspb.Message);
|
|
512
|
-
if (goog.DEBUG && !COMPILED) {
|
|
513
|
-
/**
|
|
514
|
-
* @public
|
|
515
|
-
* @override
|
|
516
|
-
*/
|
|
517
|
-
proto.pulumirpc.ResourceHookResponse.displayName = 'proto.pulumirpc.ResourceHookResponse';
|
|
518
|
-
}
|
|
519
452
|
/**
|
|
520
453
|
* Generated by JsPbCodeGenerator.
|
|
521
454
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -579,27 +512,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
579
512
|
*/
|
|
580
513
|
proto.pulumirpc.Parameterization.displayName = 'proto.pulumirpc.Parameterization';
|
|
581
514
|
}
|
|
582
|
-
/**
|
|
583
|
-
* Generated by JsPbCodeGenerator.
|
|
584
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
585
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
586
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
587
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
588
|
-
* valid.
|
|
589
|
-
* @extends {jspb.Message}
|
|
590
|
-
* @constructor
|
|
591
|
-
*/
|
|
592
|
-
proto.pulumirpc.RegisterResourceHookRequest = function(opt_data) {
|
|
593
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
594
|
-
};
|
|
595
|
-
goog.inherits(proto.pulumirpc.RegisterResourceHookRequest, jspb.Message);
|
|
596
|
-
if (goog.DEBUG && !COMPILED) {
|
|
597
|
-
/**
|
|
598
|
-
* @public
|
|
599
|
-
* @override
|
|
600
|
-
*/
|
|
601
|
-
proto.pulumirpc.RegisterResourceHookRequest.displayName = 'proto.pulumirpc.RegisterResourceHookRequest';
|
|
602
|
-
}
|
|
603
515
|
|
|
604
516
|
|
|
605
517
|
|
|
@@ -1754,8 +1666,7 @@ proto.pulumirpc.RegisterResourceRequest.toObject = function(includeInstance, msg
|
|
|
1754
1666
|
transformsList: jspb.Message.toObjectList(msg.getTransformsList(),
|
|
1755
1667
|
pulumi_callback_pb.Callback.toObject, includeInstance),
|
|
1756
1668
|
supportsresultreporting: jspb.Message.getBooleanFieldWithDefault(msg, 32, false),
|
|
1757
|
-
packageref: jspb.Message.getFieldWithDefault(msg, 33, "")
|
|
1758
|
-
hooks: (f = msg.getHooks()) && proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.toObject(includeInstance, f)
|
|
1669
|
+
packageref: jspb.Message.getFieldWithDefault(msg, 33, "")
|
|
1759
1670
|
};
|
|
1760
1671
|
|
|
1761
1672
|
if (includeInstance) {
|
|
@@ -1935,11 +1846,6 @@ proto.pulumirpc.RegisterResourceRequest.deserializeBinaryFromReader = function(m
|
|
|
1935
1846
|
var value = /** @type {string} */ (reader.readString());
|
|
1936
1847
|
msg.setPackageref(value);
|
|
1937
1848
|
break;
|
|
1938
|
-
case 34:
|
|
1939
|
-
var value = new proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding;
|
|
1940
|
-
reader.readMessage(value,proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.deserializeBinaryFromReader);
|
|
1941
|
-
msg.setHooks(value);
|
|
1942
|
-
break;
|
|
1943
1849
|
default:
|
|
1944
1850
|
reader.skipField();
|
|
1945
1851
|
break;
|
|
@@ -2196,14 +2102,6 @@ proto.pulumirpc.RegisterResourceRequest.serializeBinaryToWriter = function(messa
|
|
|
2196
2102
|
f
|
|
2197
2103
|
);
|
|
2198
2104
|
}
|
|
2199
|
-
f = message.getHooks();
|
|
2200
|
-
if (f != null) {
|
|
2201
|
-
writer.writeMessage(
|
|
2202
|
-
34,
|
|
2203
|
-
f,
|
|
2204
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.serializeBinaryToWriter
|
|
2205
|
-
);
|
|
2206
|
-
}
|
|
2207
2105
|
};
|
|
2208
2106
|
|
|
2209
2107
|
|
|
@@ -2553,522 +2451,121 @@ proto.pulumirpc.RegisterResourceRequest.CustomTimeouts.prototype.setDelete = fun
|
|
|
2553
2451
|
};
|
|
2554
2452
|
|
|
2555
2453
|
|
|
2556
|
-
|
|
2557
2454
|
/**
|
|
2558
|
-
*
|
|
2559
|
-
* @
|
|
2560
|
-
* @const
|
|
2455
|
+
* optional string type = 1;
|
|
2456
|
+
* @return {string}
|
|
2561
2457
|
*/
|
|
2562
|
-
proto.pulumirpc.RegisterResourceRequest.
|
|
2563
|
-
|
|
2458
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.getType = function() {
|
|
2459
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2460
|
+
};
|
|
2564
2461
|
|
|
2565
2462
|
|
|
2566
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2567
2463
|
/**
|
|
2568
|
-
*
|
|
2569
|
-
*
|
|
2570
|
-
* Optional fields that are not set will be set to undefined.
|
|
2571
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2572
|
-
* For the list of reserved names please see:
|
|
2573
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2574
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2575
|
-
* JSPB instance for transitional soy proto support:
|
|
2576
|
-
* http://goto/soy-param-migration
|
|
2577
|
-
* @return {!Object}
|
|
2464
|
+
* @param {string} value
|
|
2465
|
+
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
2578
2466
|
*/
|
|
2579
|
-
proto.pulumirpc.RegisterResourceRequest.
|
|
2580
|
-
return
|
|
2467
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.setType = function(value) {
|
|
2468
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2581
2469
|
};
|
|
2582
2470
|
|
|
2583
2471
|
|
|
2584
2472
|
/**
|
|
2585
|
-
*
|
|
2586
|
-
* @
|
|
2587
|
-
* the JSPB instance for transitional soy proto support:
|
|
2588
|
-
* http://goto/soy-param-migration
|
|
2589
|
-
* @param {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} msg The msg instance to transform.
|
|
2590
|
-
* @return {!Object}
|
|
2591
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2473
|
+
* optional string name = 2;
|
|
2474
|
+
* @return {string}
|
|
2592
2475
|
*/
|
|
2593
|
-
proto.pulumirpc.RegisterResourceRequest.
|
|
2594
|
-
|
|
2595
|
-
beforeCreateList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
2596
|
-
afterCreateList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
2597
|
-
beforeUpdateList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
2598
|
-
afterUpdateList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
2599
|
-
beforeDeleteList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
2600
|
-
afterDeleteList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
2601
|
-
};
|
|
2602
|
-
|
|
2603
|
-
if (includeInstance) {
|
|
2604
|
-
obj.$jspbMessageInstance = msg;
|
|
2605
|
-
}
|
|
2606
|
-
return obj;
|
|
2476
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.getName = function() {
|
|
2477
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2607
2478
|
};
|
|
2608
|
-
}
|
|
2609
2479
|
|
|
2610
2480
|
|
|
2611
2481
|
/**
|
|
2612
|
-
*
|
|
2613
|
-
* @
|
|
2614
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding}
|
|
2482
|
+
* @param {string} value
|
|
2483
|
+
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
2615
2484
|
*/
|
|
2616
|
-
proto.pulumirpc.RegisterResourceRequest.
|
|
2617
|
-
|
|
2618
|
-
var msg = new proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding;
|
|
2619
|
-
return proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.deserializeBinaryFromReader(msg, reader);
|
|
2485
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.setName = function(value) {
|
|
2486
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2620
2487
|
};
|
|
2621
2488
|
|
|
2622
2489
|
|
|
2623
2490
|
/**
|
|
2624
|
-
*
|
|
2625
|
-
*
|
|
2626
|
-
* @param {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} msg The message object to deserialize into.
|
|
2627
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2628
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding}
|
|
2491
|
+
* optional string parent = 3;
|
|
2492
|
+
* @return {string}
|
|
2629
2493
|
*/
|
|
2630
|
-
proto.pulumirpc.RegisterResourceRequest.
|
|
2631
|
-
|
|
2632
|
-
if (reader.isEndGroup()) {
|
|
2633
|
-
break;
|
|
2634
|
-
}
|
|
2635
|
-
var field = reader.getFieldNumber();
|
|
2636
|
-
switch (field) {
|
|
2637
|
-
case 1:
|
|
2638
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2639
|
-
msg.addBeforeCreate(value);
|
|
2640
|
-
break;
|
|
2641
|
-
case 2:
|
|
2642
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2643
|
-
msg.addAfterCreate(value);
|
|
2644
|
-
break;
|
|
2645
|
-
case 3:
|
|
2646
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2647
|
-
msg.addBeforeUpdate(value);
|
|
2648
|
-
break;
|
|
2649
|
-
case 4:
|
|
2650
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2651
|
-
msg.addAfterUpdate(value);
|
|
2652
|
-
break;
|
|
2653
|
-
case 5:
|
|
2654
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2655
|
-
msg.addBeforeDelete(value);
|
|
2656
|
-
break;
|
|
2657
|
-
case 6:
|
|
2658
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2659
|
-
msg.addAfterDelete(value);
|
|
2660
|
-
break;
|
|
2661
|
-
default:
|
|
2662
|
-
reader.skipField();
|
|
2663
|
-
break;
|
|
2664
|
-
}
|
|
2665
|
-
}
|
|
2666
|
-
return msg;
|
|
2494
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.getParent = function() {
|
|
2495
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2667
2496
|
};
|
|
2668
2497
|
|
|
2669
2498
|
|
|
2670
2499
|
/**
|
|
2671
|
-
*
|
|
2672
|
-
* @return {!
|
|
2500
|
+
* @param {string} value
|
|
2501
|
+
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
2673
2502
|
*/
|
|
2674
|
-
proto.pulumirpc.RegisterResourceRequest.
|
|
2675
|
-
|
|
2676
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.serializeBinaryToWriter(this, writer);
|
|
2677
|
-
return writer.getResultBuffer();
|
|
2503
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.setParent = function(value) {
|
|
2504
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2678
2505
|
};
|
|
2679
2506
|
|
|
2680
2507
|
|
|
2681
2508
|
/**
|
|
2682
|
-
*
|
|
2683
|
-
*
|
|
2684
|
-
* @param {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} message
|
|
2685
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2686
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2509
|
+
* optional bool custom = 4;
|
|
2510
|
+
* @return {boolean}
|
|
2687
2511
|
*/
|
|
2688
|
-
proto.pulumirpc.RegisterResourceRequest.
|
|
2689
|
-
|
|
2690
|
-
f = message.getBeforeCreateList();
|
|
2691
|
-
if (f.length > 0) {
|
|
2692
|
-
writer.writeRepeatedString(
|
|
2693
|
-
1,
|
|
2694
|
-
f
|
|
2695
|
-
);
|
|
2696
|
-
}
|
|
2697
|
-
f = message.getAfterCreateList();
|
|
2698
|
-
if (f.length > 0) {
|
|
2699
|
-
writer.writeRepeatedString(
|
|
2700
|
-
2,
|
|
2701
|
-
f
|
|
2702
|
-
);
|
|
2703
|
-
}
|
|
2704
|
-
f = message.getBeforeUpdateList();
|
|
2705
|
-
if (f.length > 0) {
|
|
2706
|
-
writer.writeRepeatedString(
|
|
2707
|
-
3,
|
|
2708
|
-
f
|
|
2709
|
-
);
|
|
2710
|
-
}
|
|
2711
|
-
f = message.getAfterUpdateList();
|
|
2712
|
-
if (f.length > 0) {
|
|
2713
|
-
writer.writeRepeatedString(
|
|
2714
|
-
4,
|
|
2715
|
-
f
|
|
2716
|
-
);
|
|
2717
|
-
}
|
|
2718
|
-
f = message.getBeforeDeleteList();
|
|
2719
|
-
if (f.length > 0) {
|
|
2720
|
-
writer.writeRepeatedString(
|
|
2721
|
-
5,
|
|
2722
|
-
f
|
|
2723
|
-
);
|
|
2724
|
-
}
|
|
2725
|
-
f = message.getAfterDeleteList();
|
|
2726
|
-
if (f.length > 0) {
|
|
2727
|
-
writer.writeRepeatedString(
|
|
2728
|
-
6,
|
|
2729
|
-
f
|
|
2730
|
-
);
|
|
2731
|
-
}
|
|
2512
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.getCustom = function() {
|
|
2513
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
2732
2514
|
};
|
|
2733
2515
|
|
|
2734
2516
|
|
|
2735
2517
|
/**
|
|
2736
|
-
*
|
|
2737
|
-
* @return {!
|
|
2518
|
+
* @param {boolean} value
|
|
2519
|
+
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
2738
2520
|
*/
|
|
2739
|
-
proto.pulumirpc.RegisterResourceRequest.
|
|
2740
|
-
return
|
|
2521
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.setCustom = function(value) {
|
|
2522
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
2741
2523
|
};
|
|
2742
2524
|
|
|
2743
2525
|
|
|
2744
2526
|
/**
|
|
2745
|
-
*
|
|
2746
|
-
* @return {
|
|
2527
|
+
* optional google.protobuf.Struct object = 5;
|
|
2528
|
+
* @return {?proto.google.protobuf.Struct}
|
|
2747
2529
|
*/
|
|
2748
|
-
proto.pulumirpc.RegisterResourceRequest.
|
|
2749
|
-
return
|
|
2530
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.getObject = function() {
|
|
2531
|
+
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
2532
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5));
|
|
2750
2533
|
};
|
|
2751
2534
|
|
|
2752
2535
|
|
|
2753
2536
|
/**
|
|
2754
|
-
* @param {
|
|
2755
|
-
* @
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2537
|
+
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
2538
|
+
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
2539
|
+
*/
|
|
2540
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.setObject = function(value) {
|
|
2541
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
2760
2542
|
};
|
|
2761
2543
|
|
|
2762
2544
|
|
|
2763
2545
|
/**
|
|
2764
|
-
* Clears the
|
|
2765
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest
|
|
2546
|
+
* Clears the message field making it undefined.
|
|
2547
|
+
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
2766
2548
|
*/
|
|
2767
|
-
proto.pulumirpc.RegisterResourceRequest.
|
|
2768
|
-
return this.
|
|
2549
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.clearObject = function() {
|
|
2550
|
+
return this.setObject(undefined);
|
|
2769
2551
|
};
|
|
2770
2552
|
|
|
2771
2553
|
|
|
2772
2554
|
/**
|
|
2773
|
-
*
|
|
2774
|
-
* @return {
|
|
2555
|
+
* Returns whether this field is set.
|
|
2556
|
+
* @return {boolean}
|
|
2775
2557
|
*/
|
|
2776
|
-
proto.pulumirpc.RegisterResourceRequest.
|
|
2777
|
-
return
|
|
2558
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.hasObject = function() {
|
|
2559
|
+
return jspb.Message.getField(this, 5) != null;
|
|
2778
2560
|
};
|
|
2779
2561
|
|
|
2780
2562
|
|
|
2781
2563
|
/**
|
|
2782
|
-
*
|
|
2783
|
-
* @return {
|
|
2564
|
+
* optional bool protect = 6;
|
|
2565
|
+
* @return {boolean}
|
|
2784
2566
|
*/
|
|
2785
|
-
proto.pulumirpc.RegisterResourceRequest.
|
|
2786
|
-
return jspb.Message.
|
|
2787
|
-
};
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
/**
|
|
2791
|
-
* @param {string} value
|
|
2792
|
-
* @param {number=} opt_index
|
|
2793
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2794
|
-
*/
|
|
2795
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.addAfterCreate = function(value, opt_index) {
|
|
2796
|
-
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
2797
|
-
};
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
/**
|
|
2801
|
-
* Clears the list making it empty but non-null.
|
|
2802
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2803
|
-
*/
|
|
2804
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.clearAfterCreateList = function() {
|
|
2805
|
-
return this.setAfterCreateList([]);
|
|
2806
|
-
};
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
/**
|
|
2810
|
-
* repeated string before_update = 3;
|
|
2811
|
-
* @return {!Array<string>}
|
|
2812
|
-
*/
|
|
2813
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.getBeforeUpdateList = function() {
|
|
2814
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
2815
|
-
};
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
/**
|
|
2819
|
-
* @param {!Array<string>} value
|
|
2820
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2821
|
-
*/
|
|
2822
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.setBeforeUpdateList = function(value) {
|
|
2823
|
-
return jspb.Message.setField(this, 3, value || []);
|
|
2824
|
-
};
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
/**
|
|
2828
|
-
* @param {string} value
|
|
2829
|
-
* @param {number=} opt_index
|
|
2830
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2831
|
-
*/
|
|
2832
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.addBeforeUpdate = function(value, opt_index) {
|
|
2833
|
-
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
2834
|
-
};
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
/**
|
|
2838
|
-
* Clears the list making it empty but non-null.
|
|
2839
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2840
|
-
*/
|
|
2841
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.clearBeforeUpdateList = function() {
|
|
2842
|
-
return this.setBeforeUpdateList([]);
|
|
2843
|
-
};
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
/**
|
|
2847
|
-
* repeated string after_update = 4;
|
|
2848
|
-
* @return {!Array<string>}
|
|
2849
|
-
*/
|
|
2850
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.getAfterUpdateList = function() {
|
|
2851
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
2852
|
-
};
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
/**
|
|
2856
|
-
* @param {!Array<string>} value
|
|
2857
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2858
|
-
*/
|
|
2859
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.setAfterUpdateList = function(value) {
|
|
2860
|
-
return jspb.Message.setField(this, 4, value || []);
|
|
2861
|
-
};
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
/**
|
|
2865
|
-
* @param {string} value
|
|
2866
|
-
* @param {number=} opt_index
|
|
2867
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2868
|
-
*/
|
|
2869
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.addAfterUpdate = function(value, opt_index) {
|
|
2870
|
-
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
2871
|
-
};
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
/**
|
|
2875
|
-
* Clears the list making it empty but non-null.
|
|
2876
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2877
|
-
*/
|
|
2878
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.clearAfterUpdateList = function() {
|
|
2879
|
-
return this.setAfterUpdateList([]);
|
|
2880
|
-
};
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
/**
|
|
2884
|
-
* repeated string before_delete = 5;
|
|
2885
|
-
* @return {!Array<string>}
|
|
2886
|
-
*/
|
|
2887
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.getBeforeDeleteList = function() {
|
|
2888
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
2889
|
-
};
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
/**
|
|
2893
|
-
* @param {!Array<string>} value
|
|
2894
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2895
|
-
*/
|
|
2896
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.setBeforeDeleteList = function(value) {
|
|
2897
|
-
return jspb.Message.setField(this, 5, value || []);
|
|
2898
|
-
};
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
/**
|
|
2902
|
-
* @param {string} value
|
|
2903
|
-
* @param {number=} opt_index
|
|
2904
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2905
|
-
*/
|
|
2906
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.addBeforeDelete = function(value, opt_index) {
|
|
2907
|
-
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
2908
|
-
};
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
/**
|
|
2912
|
-
* Clears the list making it empty but non-null.
|
|
2913
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2914
|
-
*/
|
|
2915
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.clearBeforeDeleteList = function() {
|
|
2916
|
-
return this.setBeforeDeleteList([]);
|
|
2917
|
-
};
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
/**
|
|
2921
|
-
* repeated string after_delete = 6;
|
|
2922
|
-
* @return {!Array<string>}
|
|
2923
|
-
*/
|
|
2924
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.getAfterDeleteList = function() {
|
|
2925
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
2926
|
-
};
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
/**
|
|
2930
|
-
* @param {!Array<string>} value
|
|
2931
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2932
|
-
*/
|
|
2933
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.setAfterDeleteList = function(value) {
|
|
2934
|
-
return jspb.Message.setField(this, 6, value || []);
|
|
2935
|
-
};
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
/**
|
|
2939
|
-
* @param {string} value
|
|
2940
|
-
* @param {number=} opt_index
|
|
2941
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2942
|
-
*/
|
|
2943
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.addAfterDelete = function(value, opt_index) {
|
|
2944
|
-
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
2945
|
-
};
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
/**
|
|
2949
|
-
* Clears the list making it empty but non-null.
|
|
2950
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
|
|
2951
|
-
*/
|
|
2952
|
-
proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.clearAfterDeleteList = function() {
|
|
2953
|
-
return this.setAfterDeleteList([]);
|
|
2954
|
-
};
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
/**
|
|
2958
|
-
* optional string type = 1;
|
|
2959
|
-
* @return {string}
|
|
2960
|
-
*/
|
|
2961
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.getType = function() {
|
|
2962
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2963
|
-
};
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
/**
|
|
2967
|
-
* @param {string} value
|
|
2968
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
2969
|
-
*/
|
|
2970
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.setType = function(value) {
|
|
2971
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2972
|
-
};
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
/**
|
|
2976
|
-
* optional string name = 2;
|
|
2977
|
-
* @return {string}
|
|
2978
|
-
*/
|
|
2979
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.getName = function() {
|
|
2980
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2981
|
-
};
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
/**
|
|
2985
|
-
* @param {string} value
|
|
2986
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
2987
|
-
*/
|
|
2988
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.setName = function(value) {
|
|
2989
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2990
|
-
};
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
/**
|
|
2994
|
-
* optional string parent = 3;
|
|
2995
|
-
* @return {string}
|
|
2996
|
-
*/
|
|
2997
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.getParent = function() {
|
|
2998
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2999
|
-
};
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
/**
|
|
3003
|
-
* @param {string} value
|
|
3004
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
3005
|
-
*/
|
|
3006
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.setParent = function(value) {
|
|
3007
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3008
|
-
};
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
/**
|
|
3012
|
-
* optional bool custom = 4;
|
|
3013
|
-
* @return {boolean}
|
|
3014
|
-
*/
|
|
3015
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.getCustom = function() {
|
|
3016
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
3017
|
-
};
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
/**
|
|
3021
|
-
* @param {boolean} value
|
|
3022
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
3023
|
-
*/
|
|
3024
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.setCustom = function(value) {
|
|
3025
|
-
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
3026
|
-
};
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
/**
|
|
3030
|
-
* optional google.protobuf.Struct object = 5;
|
|
3031
|
-
* @return {?proto.google.protobuf.Struct}
|
|
3032
|
-
*/
|
|
3033
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.getObject = function() {
|
|
3034
|
-
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
3035
|
-
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5));
|
|
3036
|
-
};
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
/**
|
|
3040
|
-
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
3041
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
3042
|
-
*/
|
|
3043
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.setObject = function(value) {
|
|
3044
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
3045
|
-
};
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
/**
|
|
3049
|
-
* Clears the message field making it undefined.
|
|
3050
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
3051
|
-
*/
|
|
3052
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.clearObject = function() {
|
|
3053
|
-
return this.setObject(undefined);
|
|
3054
|
-
};
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
/**
|
|
3058
|
-
* Returns whether this field is set.
|
|
3059
|
-
* @return {boolean}
|
|
3060
|
-
*/
|
|
3061
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.hasObject = function() {
|
|
3062
|
-
return jspb.Message.getField(this, 5) != null;
|
|
3063
|
-
};
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
/**
|
|
3067
|
-
* optional bool protect = 6;
|
|
3068
|
-
* @return {boolean}
|
|
3069
|
-
*/
|
|
3070
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.getProtect = function() {
|
|
3071
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
2567
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.getProtect = function() {
|
|
2568
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
3072
2569
|
};
|
|
3073
2570
|
|
|
3074
2571
|
|
|
@@ -3788,54 +3285,17 @@ proto.pulumirpc.RegisterResourceRequest.prototype.setPackageref = function(value
|
|
|
3788
3285
|
};
|
|
3789
3286
|
|
|
3790
3287
|
|
|
3288
|
+
|
|
3791
3289
|
/**
|
|
3792
|
-
*
|
|
3793
|
-
* @
|
|
3290
|
+
* List of repeated fields within this message type.
|
|
3291
|
+
* @private {!Array<number>}
|
|
3292
|
+
* @const
|
|
3794
3293
|
*/
|
|
3795
|
-
proto.pulumirpc.
|
|
3796
|
-
return /** @type{?proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} */ (
|
|
3797
|
-
jspb.Message.getWrapperField(this, proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding, 34));
|
|
3798
|
-
};
|
|
3799
|
-
|
|
3294
|
+
proto.pulumirpc.RegisterResourceResponse.repeatedFields_ = [5];
|
|
3800
3295
|
|
|
3801
|
-
/**
|
|
3802
|
-
* @param {?proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding|undefined} value
|
|
3803
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
3804
|
-
*/
|
|
3805
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.setHooks = function(value) {
|
|
3806
|
-
return jspb.Message.setWrapperField(this, 34, value);
|
|
3807
|
-
};
|
|
3808
3296
|
|
|
3809
3297
|
|
|
3810
|
-
|
|
3811
|
-
* Clears the message field making it undefined.
|
|
3812
|
-
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
3813
|
-
*/
|
|
3814
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.clearHooks = function() {
|
|
3815
|
-
return this.setHooks(undefined);
|
|
3816
|
-
};
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
/**
|
|
3820
|
-
* Returns whether this field is set.
|
|
3821
|
-
* @return {boolean}
|
|
3822
|
-
*/
|
|
3823
|
-
proto.pulumirpc.RegisterResourceRequest.prototype.hasHooks = function() {
|
|
3824
|
-
return jspb.Message.getField(this, 34) != null;
|
|
3825
|
-
};
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
/**
|
|
3830
|
-
* List of repeated fields within this message type.
|
|
3831
|
-
* @private {!Array<number>}
|
|
3832
|
-
* @const
|
|
3833
|
-
*/
|
|
3834
|
-
proto.pulumirpc.RegisterResourceResponse.repeatedFields_ = [5];
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3298
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3839
3299
|
/**
|
|
3840
3300
|
* Creates an object representation of this proto.
|
|
3841
3301
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
@@ -7445,8 +6905,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
7445
6905
|
* http://goto/soy-param-migration
|
|
7446
6906
|
* @return {!Object}
|
|
7447
6907
|
*/
|
|
7448
|
-
proto.pulumirpc.
|
|
7449
|
-
return proto.pulumirpc.
|
|
6908
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6909
|
+
return proto.pulumirpc.RegisterPackageRequest.toObject(opt_includeInstance, this);
|
|
7450
6910
|
};
|
|
7451
6911
|
|
|
7452
6912
|
|
|
@@ -7455,16 +6915,17 @@ proto.pulumirpc.ResourceHookRequest.prototype.toObject = function(opt_includeIns
|
|
|
7455
6915
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7456
6916
|
* the JSPB instance for transitional soy proto support:
|
|
7457
6917
|
* http://goto/soy-param-migration
|
|
7458
|
-
* @param {!proto.pulumirpc.
|
|
6918
|
+
* @param {!proto.pulumirpc.RegisterPackageRequest} msg The msg instance to transform.
|
|
7459
6919
|
* @return {!Object}
|
|
7460
6920
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7461
6921
|
*/
|
|
7462
|
-
proto.pulumirpc.
|
|
6922
|
+
proto.pulumirpc.RegisterPackageRequest.toObject = function(includeInstance, msg) {
|
|
7463
6923
|
var f, obj = {
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
6924
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6925
|
+
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6926
|
+
downloadUrl: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6927
|
+
checksumsMap: (f = msg.getChecksumsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
6928
|
+
parameterization: (f = msg.getParameterization()) && proto.pulumirpc.Parameterization.toObject(includeInstance, f)
|
|
7468
6929
|
};
|
|
7469
6930
|
|
|
7470
6931
|
if (includeInstance) {
|
|
@@ -7478,23 +6939,23 @@ proto.pulumirpc.ResourceHookRequest.toObject = function(includeInstance, msg) {
|
|
|
7478
6939
|
/**
|
|
7479
6940
|
* Deserializes binary data (in protobuf wire format).
|
|
7480
6941
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7481
|
-
* @return {!proto.pulumirpc.
|
|
6942
|
+
* @return {!proto.pulumirpc.RegisterPackageRequest}
|
|
7482
6943
|
*/
|
|
7483
|
-
proto.pulumirpc.
|
|
6944
|
+
proto.pulumirpc.RegisterPackageRequest.deserializeBinary = function(bytes) {
|
|
7484
6945
|
var reader = new jspb.BinaryReader(bytes);
|
|
7485
|
-
var msg = new proto.pulumirpc.
|
|
7486
|
-
return proto.pulumirpc.
|
|
6946
|
+
var msg = new proto.pulumirpc.RegisterPackageRequest;
|
|
6947
|
+
return proto.pulumirpc.RegisterPackageRequest.deserializeBinaryFromReader(msg, reader);
|
|
7487
6948
|
};
|
|
7488
6949
|
|
|
7489
6950
|
|
|
7490
6951
|
/**
|
|
7491
6952
|
* Deserializes binary data (in protobuf wire format) from the
|
|
7492
6953
|
* given reader into the given message object.
|
|
7493
|
-
* @param {!proto.pulumirpc.
|
|
6954
|
+
* @param {!proto.pulumirpc.RegisterPackageRequest} msg The message object to deserialize into.
|
|
7494
6955
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7495
|
-
* @return {!proto.pulumirpc.
|
|
6956
|
+
* @return {!proto.pulumirpc.RegisterPackageRequest}
|
|
7496
6957
|
*/
|
|
7497
|
-
proto.pulumirpc.
|
|
6958
|
+
proto.pulumirpc.RegisterPackageRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7498
6959
|
while (reader.nextField()) {
|
|
7499
6960
|
if (reader.isEndGroup()) {
|
|
7500
6961
|
break;
|
|
@@ -7503,21 +6964,26 @@ proto.pulumirpc.ResourceHookRequest.deserializeBinaryFromReader = function(msg,
|
|
|
7503
6964
|
switch (field) {
|
|
7504
6965
|
case 1:
|
|
7505
6966
|
var value = /** @type {string} */ (reader.readString());
|
|
7506
|
-
msg.
|
|
6967
|
+
msg.setName(value);
|
|
7507
6968
|
break;
|
|
7508
6969
|
case 2:
|
|
7509
6970
|
var value = /** @type {string} */ (reader.readString());
|
|
7510
|
-
msg.
|
|
6971
|
+
msg.setVersion(value);
|
|
7511
6972
|
break;
|
|
7512
6973
|
case 3:
|
|
7513
|
-
var value =
|
|
7514
|
-
|
|
7515
|
-
msg.setInputs(value);
|
|
6974
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6975
|
+
msg.setDownloadUrl(value);
|
|
7516
6976
|
break;
|
|
7517
6977
|
case 4:
|
|
7518
|
-
var value =
|
|
7519
|
-
reader.readMessage(value,
|
|
7520
|
-
|
|
6978
|
+
var value = msg.getChecksumsMap();
|
|
6979
|
+
reader.readMessage(value, function(message, reader) {
|
|
6980
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBytes, null, "", "");
|
|
6981
|
+
});
|
|
6982
|
+
break;
|
|
6983
|
+
case 5:
|
|
6984
|
+
var value = new proto.pulumirpc.Parameterization;
|
|
6985
|
+
reader.readMessage(value,proto.pulumirpc.Parameterization.deserializeBinaryFromReader);
|
|
6986
|
+
msg.setParameterization(value);
|
|
7521
6987
|
break;
|
|
7522
6988
|
default:
|
|
7523
6989
|
reader.skipField();
|
|
@@ -7532,9 +6998,9 @@ proto.pulumirpc.ResourceHookRequest.deserializeBinaryFromReader = function(msg,
|
|
|
7532
6998
|
* Serializes the message to binary data (in protobuf wire format).
|
|
7533
6999
|
* @return {!Uint8Array}
|
|
7534
7000
|
*/
|
|
7535
|
-
proto.pulumirpc.
|
|
7001
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.serializeBinary = function() {
|
|
7536
7002
|
var writer = new jspb.BinaryWriter();
|
|
7537
|
-
proto.pulumirpc.
|
|
7003
|
+
proto.pulumirpc.RegisterPackageRequest.serializeBinaryToWriter(this, writer);
|
|
7538
7004
|
return writer.getResultBuffer();
|
|
7539
7005
|
};
|
|
7540
7006
|
|
|
@@ -7542,143 +7008,149 @@ proto.pulumirpc.ResourceHookRequest.prototype.serializeBinary = function() {
|
|
|
7542
7008
|
/**
|
|
7543
7009
|
* Serializes the given message to binary data (in protobuf wire
|
|
7544
7010
|
* format), writing to the given BinaryWriter.
|
|
7545
|
-
* @param {!proto.pulumirpc.
|
|
7011
|
+
* @param {!proto.pulumirpc.RegisterPackageRequest} message
|
|
7546
7012
|
* @param {!jspb.BinaryWriter} writer
|
|
7547
7013
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7548
7014
|
*/
|
|
7549
|
-
proto.pulumirpc.
|
|
7015
|
+
proto.pulumirpc.RegisterPackageRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7550
7016
|
var f = undefined;
|
|
7551
|
-
f = message.
|
|
7017
|
+
f = message.getName();
|
|
7552
7018
|
if (f.length > 0) {
|
|
7553
7019
|
writer.writeString(
|
|
7554
7020
|
1,
|
|
7555
7021
|
f
|
|
7556
7022
|
);
|
|
7557
7023
|
}
|
|
7558
|
-
f = message.
|
|
7024
|
+
f = message.getVersion();
|
|
7559
7025
|
if (f.length > 0) {
|
|
7560
7026
|
writer.writeString(
|
|
7561
7027
|
2,
|
|
7562
7028
|
f
|
|
7563
7029
|
);
|
|
7564
7030
|
}
|
|
7565
|
-
f = message.
|
|
7566
|
-
if (f
|
|
7567
|
-
writer.
|
|
7031
|
+
f = message.getDownloadUrl();
|
|
7032
|
+
if (f.length > 0) {
|
|
7033
|
+
writer.writeString(
|
|
7568
7034
|
3,
|
|
7569
|
-
f
|
|
7570
|
-
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
7035
|
+
f
|
|
7571
7036
|
);
|
|
7572
7037
|
}
|
|
7573
|
-
f = message.
|
|
7038
|
+
f = message.getChecksumsMap(true);
|
|
7039
|
+
if (f && f.getLength() > 0) {
|
|
7040
|
+
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBytes);
|
|
7041
|
+
}
|
|
7042
|
+
f = message.getParameterization();
|
|
7574
7043
|
if (f != null) {
|
|
7575
7044
|
writer.writeMessage(
|
|
7576
|
-
|
|
7045
|
+
5,
|
|
7577
7046
|
f,
|
|
7578
|
-
|
|
7047
|
+
proto.pulumirpc.Parameterization.serializeBinaryToWriter
|
|
7579
7048
|
);
|
|
7580
7049
|
}
|
|
7581
7050
|
};
|
|
7582
7051
|
|
|
7583
7052
|
|
|
7584
7053
|
/**
|
|
7585
|
-
* optional string
|
|
7054
|
+
* optional string name = 1;
|
|
7586
7055
|
* @return {string}
|
|
7587
7056
|
*/
|
|
7588
|
-
proto.pulumirpc.
|
|
7057
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.getName = function() {
|
|
7589
7058
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7590
7059
|
};
|
|
7591
7060
|
|
|
7592
7061
|
|
|
7593
7062
|
/**
|
|
7594
7063
|
* @param {string} value
|
|
7595
|
-
* @return {!proto.pulumirpc.
|
|
7064
|
+
* @return {!proto.pulumirpc.RegisterPackageRequest} returns this
|
|
7596
7065
|
*/
|
|
7597
|
-
proto.pulumirpc.
|
|
7066
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.setName = function(value) {
|
|
7598
7067
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7599
7068
|
};
|
|
7600
7069
|
|
|
7601
7070
|
|
|
7602
7071
|
/**
|
|
7603
|
-
* optional string
|
|
7072
|
+
* optional string version = 2;
|
|
7604
7073
|
* @return {string}
|
|
7605
7074
|
*/
|
|
7606
|
-
proto.pulumirpc.
|
|
7075
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.getVersion = function() {
|
|
7607
7076
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7608
7077
|
};
|
|
7609
7078
|
|
|
7610
7079
|
|
|
7611
7080
|
/**
|
|
7612
7081
|
* @param {string} value
|
|
7613
|
-
* @return {!proto.pulumirpc.
|
|
7082
|
+
* @return {!proto.pulumirpc.RegisterPackageRequest} returns this
|
|
7614
7083
|
*/
|
|
7615
|
-
proto.pulumirpc.
|
|
7084
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.setVersion = function(value) {
|
|
7616
7085
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7617
7086
|
};
|
|
7618
7087
|
|
|
7619
7088
|
|
|
7620
7089
|
/**
|
|
7621
|
-
* optional
|
|
7622
|
-
* @return {
|
|
7090
|
+
* optional string download_url = 3;
|
|
7091
|
+
* @return {string}
|
|
7623
7092
|
*/
|
|
7624
|
-
proto.pulumirpc.
|
|
7625
|
-
return /** @type{
|
|
7626
|
-
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 3));
|
|
7093
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.getDownloadUrl = function() {
|
|
7094
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7627
7095
|
};
|
|
7628
7096
|
|
|
7629
7097
|
|
|
7630
7098
|
/**
|
|
7631
|
-
* @param {
|
|
7632
|
-
* @return {!proto.pulumirpc.
|
|
7633
|
-
*/
|
|
7634
|
-
proto.pulumirpc.
|
|
7635
|
-
return jspb.Message.
|
|
7099
|
+
* @param {string} value
|
|
7100
|
+
* @return {!proto.pulumirpc.RegisterPackageRequest} returns this
|
|
7101
|
+
*/
|
|
7102
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.setDownloadUrl = function(value) {
|
|
7103
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7636
7104
|
};
|
|
7637
7105
|
|
|
7638
7106
|
|
|
7639
7107
|
/**
|
|
7640
|
-
*
|
|
7641
|
-
* @
|
|
7108
|
+
* map<string, bytes> checksums = 4;
|
|
7109
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
7110
|
+
* empty, instead returning `undefined`
|
|
7111
|
+
* @return {!jspb.Map<string,!(string|Uint8Array)>}
|
|
7642
7112
|
*/
|
|
7643
|
-
proto.pulumirpc.
|
|
7644
|
-
return
|
|
7113
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.getChecksumsMap = function(opt_noLazyCreate) {
|
|
7114
|
+
return /** @type {!jspb.Map<string,!(string|Uint8Array)>} */ (
|
|
7115
|
+
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
|
|
7116
|
+
null));
|
|
7645
7117
|
};
|
|
7646
7118
|
|
|
7647
7119
|
|
|
7648
7120
|
/**
|
|
7649
|
-
*
|
|
7650
|
-
* @return {
|
|
7121
|
+
* Clears values from the map. The map will be non-null.
|
|
7122
|
+
* @return {!proto.pulumirpc.RegisterPackageRequest} returns this
|
|
7651
7123
|
*/
|
|
7652
|
-
proto.pulumirpc.
|
|
7653
|
-
|
|
7654
|
-
};
|
|
7124
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.clearChecksumsMap = function() {
|
|
7125
|
+
this.getChecksumsMap().clear();
|
|
7126
|
+
return this;};
|
|
7655
7127
|
|
|
7656
7128
|
|
|
7657
7129
|
/**
|
|
7658
|
-
* optional
|
|
7659
|
-
* @return {?proto.
|
|
7130
|
+
* optional Parameterization parameterization = 5;
|
|
7131
|
+
* @return {?proto.pulumirpc.Parameterization}
|
|
7660
7132
|
*/
|
|
7661
|
-
proto.pulumirpc.
|
|
7662
|
-
return /** @type{?proto.
|
|
7663
|
-
jspb.Message.getWrapperField(this,
|
|
7133
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.getParameterization = function() {
|
|
7134
|
+
return /** @type{?proto.pulumirpc.Parameterization} */ (
|
|
7135
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.Parameterization, 5));
|
|
7664
7136
|
};
|
|
7665
7137
|
|
|
7666
7138
|
|
|
7667
7139
|
/**
|
|
7668
|
-
* @param {?proto.
|
|
7669
|
-
* @return {!proto.pulumirpc.
|
|
7140
|
+
* @param {?proto.pulumirpc.Parameterization|undefined} value
|
|
7141
|
+
* @return {!proto.pulumirpc.RegisterPackageRequest} returns this
|
|
7670
7142
|
*/
|
|
7671
|
-
proto.pulumirpc.
|
|
7672
|
-
return jspb.Message.setWrapperField(this,
|
|
7143
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.setParameterization = function(value) {
|
|
7144
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
7673
7145
|
};
|
|
7674
7146
|
|
|
7675
7147
|
|
|
7676
7148
|
/**
|
|
7677
7149
|
* Clears the message field making it undefined.
|
|
7678
|
-
* @return {!proto.pulumirpc.
|
|
7150
|
+
* @return {!proto.pulumirpc.RegisterPackageRequest} returns this
|
|
7679
7151
|
*/
|
|
7680
|
-
proto.pulumirpc.
|
|
7681
|
-
return this.
|
|
7152
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.clearParameterization = function() {
|
|
7153
|
+
return this.setParameterization(undefined);
|
|
7682
7154
|
};
|
|
7683
7155
|
|
|
7684
7156
|
|
|
@@ -7686,8 +7158,8 @@ proto.pulumirpc.ResourceHookRequest.prototype.clearOutputs = function() {
|
|
|
7686
7158
|
* Returns whether this field is set.
|
|
7687
7159
|
* @return {boolean}
|
|
7688
7160
|
*/
|
|
7689
|
-
proto.pulumirpc.
|
|
7690
|
-
return jspb.Message.getField(this,
|
|
7161
|
+
proto.pulumirpc.RegisterPackageRequest.prototype.hasParameterization = function() {
|
|
7162
|
+
return jspb.Message.getField(this, 5) != null;
|
|
7691
7163
|
};
|
|
7692
7164
|
|
|
7693
7165
|
|
|
@@ -7707,8 +7179,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
7707
7179
|
* http://goto/soy-param-migration
|
|
7708
7180
|
* @return {!Object}
|
|
7709
7181
|
*/
|
|
7710
|
-
proto.pulumirpc.
|
|
7711
|
-
return proto.pulumirpc.
|
|
7182
|
+
proto.pulumirpc.RegisterPackageResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7183
|
+
return proto.pulumirpc.RegisterPackageResponse.toObject(opt_includeInstance, this);
|
|
7712
7184
|
};
|
|
7713
7185
|
|
|
7714
7186
|
|
|
@@ -7717,13 +7189,13 @@ proto.pulumirpc.ResourceHookResponse.prototype.toObject = function(opt_includeIn
|
|
|
7717
7189
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7718
7190
|
* the JSPB instance for transitional soy proto support:
|
|
7719
7191
|
* http://goto/soy-param-migration
|
|
7720
|
-
* @param {!proto.pulumirpc.
|
|
7192
|
+
* @param {!proto.pulumirpc.RegisterPackageResponse} msg The msg instance to transform.
|
|
7721
7193
|
* @return {!Object}
|
|
7722
7194
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7723
7195
|
*/
|
|
7724
|
-
proto.pulumirpc.
|
|
7196
|
+
proto.pulumirpc.RegisterPackageResponse.toObject = function(includeInstance, msg) {
|
|
7725
7197
|
var f, obj = {
|
|
7726
|
-
|
|
7198
|
+
ref: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
7727
7199
|
};
|
|
7728
7200
|
|
|
7729
7201
|
if (includeInstance) {
|
|
@@ -7737,23 +7209,23 @@ proto.pulumirpc.ResourceHookResponse.toObject = function(includeInstance, msg) {
|
|
|
7737
7209
|
/**
|
|
7738
7210
|
* Deserializes binary data (in protobuf wire format).
|
|
7739
7211
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7740
|
-
* @return {!proto.pulumirpc.
|
|
7212
|
+
* @return {!proto.pulumirpc.RegisterPackageResponse}
|
|
7741
7213
|
*/
|
|
7742
|
-
proto.pulumirpc.
|
|
7214
|
+
proto.pulumirpc.RegisterPackageResponse.deserializeBinary = function(bytes) {
|
|
7743
7215
|
var reader = new jspb.BinaryReader(bytes);
|
|
7744
|
-
var msg = new proto.pulumirpc.
|
|
7745
|
-
return proto.pulumirpc.
|
|
7216
|
+
var msg = new proto.pulumirpc.RegisterPackageResponse;
|
|
7217
|
+
return proto.pulumirpc.RegisterPackageResponse.deserializeBinaryFromReader(msg, reader);
|
|
7746
7218
|
};
|
|
7747
7219
|
|
|
7748
7220
|
|
|
7749
7221
|
/**
|
|
7750
7222
|
* Deserializes binary data (in protobuf wire format) from the
|
|
7751
7223
|
* given reader into the given message object.
|
|
7752
|
-
* @param {!proto.pulumirpc.
|
|
7224
|
+
* @param {!proto.pulumirpc.RegisterPackageResponse} msg The message object to deserialize into.
|
|
7753
7225
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7754
|
-
* @return {!proto.pulumirpc.
|
|
7226
|
+
* @return {!proto.pulumirpc.RegisterPackageResponse}
|
|
7755
7227
|
*/
|
|
7756
|
-
proto.pulumirpc.
|
|
7228
|
+
proto.pulumirpc.RegisterPackageResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
7757
7229
|
while (reader.nextField()) {
|
|
7758
7230
|
if (reader.isEndGroup()) {
|
|
7759
7231
|
break;
|
|
@@ -7762,7 +7234,7 @@ proto.pulumirpc.ResourceHookResponse.deserializeBinaryFromReader = function(msg,
|
|
|
7762
7234
|
switch (field) {
|
|
7763
7235
|
case 1:
|
|
7764
7236
|
var value = /** @type {string} */ (reader.readString());
|
|
7765
|
-
msg.
|
|
7237
|
+
msg.setRef(value);
|
|
7766
7238
|
break;
|
|
7767
7239
|
default:
|
|
7768
7240
|
reader.skipField();
|
|
@@ -7777,9 +7249,9 @@ proto.pulumirpc.ResourceHookResponse.deserializeBinaryFromReader = function(msg,
|
|
|
7777
7249
|
* Serializes the message to binary data (in protobuf wire format).
|
|
7778
7250
|
* @return {!Uint8Array}
|
|
7779
7251
|
*/
|
|
7780
|
-
proto.pulumirpc.
|
|
7252
|
+
proto.pulumirpc.RegisterPackageResponse.prototype.serializeBinary = function() {
|
|
7781
7253
|
var writer = new jspb.BinaryWriter();
|
|
7782
|
-
proto.pulumirpc.
|
|
7254
|
+
proto.pulumirpc.RegisterPackageResponse.serializeBinaryToWriter(this, writer);
|
|
7783
7255
|
return writer.getResultBuffer();
|
|
7784
7256
|
};
|
|
7785
7257
|
|
|
@@ -7787,13 +7259,13 @@ proto.pulumirpc.ResourceHookResponse.prototype.serializeBinary = function() {
|
|
|
7787
7259
|
/**
|
|
7788
7260
|
* Serializes the given message to binary data (in protobuf wire
|
|
7789
7261
|
* format), writing to the given BinaryWriter.
|
|
7790
|
-
* @param {!proto.pulumirpc.
|
|
7262
|
+
* @param {!proto.pulumirpc.RegisterPackageResponse} message
|
|
7791
7263
|
* @param {!jspb.BinaryWriter} writer
|
|
7792
7264
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7793
7265
|
*/
|
|
7794
|
-
proto.pulumirpc.
|
|
7266
|
+
proto.pulumirpc.RegisterPackageResponse.serializeBinaryToWriter = function(message, writer) {
|
|
7795
7267
|
var f = undefined;
|
|
7796
|
-
f = message.
|
|
7268
|
+
f = message.getRef();
|
|
7797
7269
|
if (f.length > 0) {
|
|
7798
7270
|
writer.writeString(
|
|
7799
7271
|
1,
|
|
@@ -7804,19 +7276,19 @@ proto.pulumirpc.ResourceHookResponse.serializeBinaryToWriter = function(message,
|
|
|
7804
7276
|
|
|
7805
7277
|
|
|
7806
7278
|
/**
|
|
7807
|
-
* optional string
|
|
7279
|
+
* optional string ref = 1;
|
|
7808
7280
|
* @return {string}
|
|
7809
7281
|
*/
|
|
7810
|
-
proto.pulumirpc.
|
|
7282
|
+
proto.pulumirpc.RegisterPackageResponse.prototype.getRef = function() {
|
|
7811
7283
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7812
7284
|
};
|
|
7813
7285
|
|
|
7814
7286
|
|
|
7815
7287
|
/**
|
|
7816
7288
|
* @param {string} value
|
|
7817
|
-
* @return {!proto.pulumirpc.
|
|
7289
|
+
* @return {!proto.pulumirpc.RegisterPackageResponse} returns this
|
|
7818
7290
|
*/
|
|
7819
|
-
proto.pulumirpc.
|
|
7291
|
+
proto.pulumirpc.RegisterPackageResponse.prototype.setRef = function(value) {
|
|
7820
7292
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7821
7293
|
};
|
|
7822
7294
|
|
|
@@ -7837,8 +7309,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
7837
7309
|
* http://goto/soy-param-migration
|
|
7838
7310
|
* @return {!Object}
|
|
7839
7311
|
*/
|
|
7840
|
-
proto.pulumirpc.
|
|
7841
|
-
return proto.pulumirpc.
|
|
7312
|
+
proto.pulumirpc.Parameterization.prototype.toObject = function(opt_includeInstance) {
|
|
7313
|
+
return proto.pulumirpc.Parameterization.toObject(opt_includeInstance, this);
|
|
7842
7314
|
};
|
|
7843
7315
|
|
|
7844
7316
|
|
|
@@ -7847,17 +7319,15 @@ proto.pulumirpc.RegisterPackageRequest.prototype.toObject = function(opt_include
|
|
|
7847
7319
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7848
7320
|
* the JSPB instance for transitional soy proto support:
|
|
7849
7321
|
* http://goto/soy-param-migration
|
|
7850
|
-
* @param {!proto.pulumirpc.
|
|
7322
|
+
* @param {!proto.pulumirpc.Parameterization} msg The msg instance to transform.
|
|
7851
7323
|
* @return {!Object}
|
|
7852
7324
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7853
7325
|
*/
|
|
7854
|
-
proto.pulumirpc.
|
|
7326
|
+
proto.pulumirpc.Parameterization.toObject = function(includeInstance, msg) {
|
|
7855
7327
|
var f, obj = {
|
|
7856
7328
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7857
7329
|
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7858
|
-
|
|
7859
|
-
checksumsMap: (f = msg.getChecksumsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
7860
|
-
parameterization: (f = msg.getParameterization()) && proto.pulumirpc.Parameterization.toObject(includeInstance, f)
|
|
7330
|
+
value: msg.getValue_asB64()
|
|
7861
7331
|
};
|
|
7862
7332
|
|
|
7863
7333
|
if (includeInstance) {
|
|
@@ -7871,23 +7341,23 @@ proto.pulumirpc.RegisterPackageRequest.toObject = function(includeInstance, msg)
|
|
|
7871
7341
|
/**
|
|
7872
7342
|
* Deserializes binary data (in protobuf wire format).
|
|
7873
7343
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7874
|
-
* @return {!proto.pulumirpc.
|
|
7344
|
+
* @return {!proto.pulumirpc.Parameterization}
|
|
7875
7345
|
*/
|
|
7876
|
-
proto.pulumirpc.
|
|
7346
|
+
proto.pulumirpc.Parameterization.deserializeBinary = function(bytes) {
|
|
7877
7347
|
var reader = new jspb.BinaryReader(bytes);
|
|
7878
|
-
var msg = new proto.pulumirpc.
|
|
7879
|
-
return proto.pulumirpc.
|
|
7348
|
+
var msg = new proto.pulumirpc.Parameterization;
|
|
7349
|
+
return proto.pulumirpc.Parameterization.deserializeBinaryFromReader(msg, reader);
|
|
7880
7350
|
};
|
|
7881
7351
|
|
|
7882
7352
|
|
|
7883
7353
|
/**
|
|
7884
7354
|
* Deserializes binary data (in protobuf wire format) from the
|
|
7885
7355
|
* given reader into the given message object.
|
|
7886
|
-
* @param {!proto.pulumirpc.
|
|
7356
|
+
* @param {!proto.pulumirpc.Parameterization} msg The message object to deserialize into.
|
|
7887
7357
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7888
|
-
* @return {!proto.pulumirpc.
|
|
7358
|
+
* @return {!proto.pulumirpc.Parameterization}
|
|
7889
7359
|
*/
|
|
7890
|
-
proto.pulumirpc.
|
|
7360
|
+
proto.pulumirpc.Parameterization.deserializeBinaryFromReader = function(msg, reader) {
|
|
7891
7361
|
while (reader.nextField()) {
|
|
7892
7362
|
if (reader.isEndGroup()) {
|
|
7893
7363
|
break;
|
|
@@ -7903,19 +7373,8 @@ proto.pulumirpc.RegisterPackageRequest.deserializeBinaryFromReader = function(ms
|
|
|
7903
7373
|
msg.setVersion(value);
|
|
7904
7374
|
break;
|
|
7905
7375
|
case 3:
|
|
7906
|
-
var value = /** @type {
|
|
7907
|
-
msg.
|
|
7908
|
-
break;
|
|
7909
|
-
case 4:
|
|
7910
|
-
var value = msg.getChecksumsMap();
|
|
7911
|
-
reader.readMessage(value, function(message, reader) {
|
|
7912
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBytes, null, "", "");
|
|
7913
|
-
});
|
|
7914
|
-
break;
|
|
7915
|
-
case 5:
|
|
7916
|
-
var value = new proto.pulumirpc.Parameterization;
|
|
7917
|
-
reader.readMessage(value,proto.pulumirpc.Parameterization.deserializeBinaryFromReader);
|
|
7918
|
-
msg.setParameterization(value);
|
|
7376
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
7377
|
+
msg.setValue(value);
|
|
7919
7378
|
break;
|
|
7920
7379
|
default:
|
|
7921
7380
|
reader.skipField();
|
|
@@ -7930,9 +7389,9 @@ proto.pulumirpc.RegisterPackageRequest.deserializeBinaryFromReader = function(ms
|
|
|
7930
7389
|
* Serializes the message to binary data (in protobuf wire format).
|
|
7931
7390
|
* @return {!Uint8Array}
|
|
7932
7391
|
*/
|
|
7933
|
-
proto.pulumirpc.
|
|
7392
|
+
proto.pulumirpc.Parameterization.prototype.serializeBinary = function() {
|
|
7934
7393
|
var writer = new jspb.BinaryWriter();
|
|
7935
|
-
proto.pulumirpc.
|
|
7394
|
+
proto.pulumirpc.Parameterization.serializeBinaryToWriter(this, writer);
|
|
7936
7395
|
return writer.getResultBuffer();
|
|
7937
7396
|
};
|
|
7938
7397
|
|
|
@@ -7940,11 +7399,11 @@ proto.pulumirpc.RegisterPackageRequest.prototype.serializeBinary = function() {
|
|
|
7940
7399
|
/**
|
|
7941
7400
|
* Serializes the given message to binary data (in protobuf wire
|
|
7942
7401
|
* format), writing to the given BinaryWriter.
|
|
7943
|
-
* @param {!proto.pulumirpc.
|
|
7402
|
+
* @param {!proto.pulumirpc.Parameterization} message
|
|
7944
7403
|
* @param {!jspb.BinaryWriter} writer
|
|
7945
7404
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7946
7405
|
*/
|
|
7947
|
-
proto.pulumirpc.
|
|
7406
|
+
proto.pulumirpc.Parameterization.serializeBinaryToWriter = function(message, writer) {
|
|
7948
7407
|
var f = undefined;
|
|
7949
7408
|
f = message.getName();
|
|
7950
7409
|
if (f.length > 0) {
|
|
@@ -7960,25 +7419,13 @@ proto.pulumirpc.RegisterPackageRequest.serializeBinaryToWriter = function(messag
|
|
|
7960
7419
|
f
|
|
7961
7420
|
);
|
|
7962
7421
|
}
|
|
7963
|
-
f = message.
|
|
7422
|
+
f = message.getValue_asU8();
|
|
7964
7423
|
if (f.length > 0) {
|
|
7965
|
-
writer.
|
|
7424
|
+
writer.writeBytes(
|
|
7966
7425
|
3,
|
|
7967
7426
|
f
|
|
7968
7427
|
);
|
|
7969
7428
|
}
|
|
7970
|
-
f = message.getChecksumsMap(true);
|
|
7971
|
-
if (f && f.getLength() > 0) {
|
|
7972
|
-
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBytes);
|
|
7973
|
-
}
|
|
7974
|
-
f = message.getParameterization();
|
|
7975
|
-
if (f != null) {
|
|
7976
|
-
writer.writeMessage(
|
|
7977
|
-
5,
|
|
7978
|
-
f,
|
|
7979
|
-
proto.pulumirpc.Parameterization.serializeBinaryToWriter
|
|
7980
|
-
);
|
|
7981
|
-
}
|
|
7982
7429
|
};
|
|
7983
7430
|
|
|
7984
7431
|
|
|
@@ -7986,16 +7433,16 @@ proto.pulumirpc.RegisterPackageRequest.serializeBinaryToWriter = function(messag
|
|
|
7986
7433
|
* optional string name = 1;
|
|
7987
7434
|
* @return {string}
|
|
7988
7435
|
*/
|
|
7989
|
-
proto.pulumirpc.
|
|
7436
|
+
proto.pulumirpc.Parameterization.prototype.getName = function() {
|
|
7990
7437
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7991
7438
|
};
|
|
7992
7439
|
|
|
7993
7440
|
|
|
7994
7441
|
/**
|
|
7995
7442
|
* @param {string} value
|
|
7996
|
-
* @return {!proto.pulumirpc.
|
|
7443
|
+
* @return {!proto.pulumirpc.Parameterization} returns this
|
|
7997
7444
|
*/
|
|
7998
|
-
proto.pulumirpc.
|
|
7445
|
+
proto.pulumirpc.Parameterization.prototype.setName = function(value) {
|
|
7999
7446
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8000
7447
|
};
|
|
8001
7448
|
|
|
@@ -8004,405 +7451,26 @@ proto.pulumirpc.RegisterPackageRequest.prototype.setName = function(value) {
|
|
|
8004
7451
|
* optional string version = 2;
|
|
8005
7452
|
* @return {string}
|
|
8006
7453
|
*/
|
|
8007
|
-
proto.pulumirpc.
|
|
7454
|
+
proto.pulumirpc.Parameterization.prototype.getVersion = function() {
|
|
8008
7455
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8009
7456
|
};
|
|
8010
7457
|
|
|
8011
7458
|
|
|
8012
7459
|
/**
|
|
8013
7460
|
* @param {string} value
|
|
8014
|
-
* @return {!proto.pulumirpc.
|
|
7461
|
+
* @return {!proto.pulumirpc.Parameterization} returns this
|
|
8015
7462
|
*/
|
|
8016
|
-
proto.pulumirpc.
|
|
7463
|
+
proto.pulumirpc.Parameterization.prototype.setVersion = function(value) {
|
|
8017
7464
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
8018
7465
|
};
|
|
8019
7466
|
|
|
8020
7467
|
|
|
8021
7468
|
/**
|
|
8022
|
-
* optional
|
|
8023
|
-
* @return {string}
|
|
7469
|
+
* optional bytes value = 3;
|
|
7470
|
+
* @return {!(string|Uint8Array)}
|
|
8024
7471
|
*/
|
|
8025
|
-
proto.pulumirpc.
|
|
8026
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
8027
|
-
};
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
/**
|
|
8031
|
-
* @param {string} value
|
|
8032
|
-
* @return {!proto.pulumirpc.RegisterPackageRequest} returns this
|
|
8033
|
-
*/
|
|
8034
|
-
proto.pulumirpc.RegisterPackageRequest.prototype.setDownloadUrl = function(value) {
|
|
8035
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
8036
|
-
};
|
|
8037
|
-
|
|
8038
|
-
|
|
8039
|
-
/**
|
|
8040
|
-
* map<string, bytes> checksums = 4;
|
|
8041
|
-
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
8042
|
-
* empty, instead returning `undefined`
|
|
8043
|
-
* @return {!jspb.Map<string,!(string|Uint8Array)>}
|
|
8044
|
-
*/
|
|
8045
|
-
proto.pulumirpc.RegisterPackageRequest.prototype.getChecksumsMap = function(opt_noLazyCreate) {
|
|
8046
|
-
return /** @type {!jspb.Map<string,!(string|Uint8Array)>} */ (
|
|
8047
|
-
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
|
|
8048
|
-
null));
|
|
8049
|
-
};
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
/**
|
|
8053
|
-
* Clears values from the map. The map will be non-null.
|
|
8054
|
-
* @return {!proto.pulumirpc.RegisterPackageRequest} returns this
|
|
8055
|
-
*/
|
|
8056
|
-
proto.pulumirpc.RegisterPackageRequest.prototype.clearChecksumsMap = function() {
|
|
8057
|
-
this.getChecksumsMap().clear();
|
|
8058
|
-
return this;};
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
/**
|
|
8062
|
-
* optional Parameterization parameterization = 5;
|
|
8063
|
-
* @return {?proto.pulumirpc.Parameterization}
|
|
8064
|
-
*/
|
|
8065
|
-
proto.pulumirpc.RegisterPackageRequest.prototype.getParameterization = function() {
|
|
8066
|
-
return /** @type{?proto.pulumirpc.Parameterization} */ (
|
|
8067
|
-
jspb.Message.getWrapperField(this, proto.pulumirpc.Parameterization, 5));
|
|
8068
|
-
};
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
/**
|
|
8072
|
-
* @param {?proto.pulumirpc.Parameterization|undefined} value
|
|
8073
|
-
* @return {!proto.pulumirpc.RegisterPackageRequest} returns this
|
|
8074
|
-
*/
|
|
8075
|
-
proto.pulumirpc.RegisterPackageRequest.prototype.setParameterization = function(value) {
|
|
8076
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
8077
|
-
};
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
/**
|
|
8081
|
-
* Clears the message field making it undefined.
|
|
8082
|
-
* @return {!proto.pulumirpc.RegisterPackageRequest} returns this
|
|
8083
|
-
*/
|
|
8084
|
-
proto.pulumirpc.RegisterPackageRequest.prototype.clearParameterization = function() {
|
|
8085
|
-
return this.setParameterization(undefined);
|
|
8086
|
-
};
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
/**
|
|
8090
|
-
* Returns whether this field is set.
|
|
8091
|
-
* @return {boolean}
|
|
8092
|
-
*/
|
|
8093
|
-
proto.pulumirpc.RegisterPackageRequest.prototype.hasParameterization = function() {
|
|
8094
|
-
return jspb.Message.getField(this, 5) != null;
|
|
8095
|
-
};
|
|
8096
|
-
|
|
8097
|
-
|
|
8098
|
-
|
|
8099
|
-
|
|
8100
|
-
|
|
8101
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8102
|
-
/**
|
|
8103
|
-
* Creates an object representation of this proto.
|
|
8104
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8105
|
-
* Optional fields that are not set will be set to undefined.
|
|
8106
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8107
|
-
* For the list of reserved names please see:
|
|
8108
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8109
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8110
|
-
* JSPB instance for transitional soy proto support:
|
|
8111
|
-
* http://goto/soy-param-migration
|
|
8112
|
-
* @return {!Object}
|
|
8113
|
-
*/
|
|
8114
|
-
proto.pulumirpc.RegisterPackageResponse.prototype.toObject = function(opt_includeInstance) {
|
|
8115
|
-
return proto.pulumirpc.RegisterPackageResponse.toObject(opt_includeInstance, this);
|
|
8116
|
-
};
|
|
8117
|
-
|
|
8118
|
-
|
|
8119
|
-
/**
|
|
8120
|
-
* Static version of the {@see toObject} method.
|
|
8121
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8122
|
-
* the JSPB instance for transitional soy proto support:
|
|
8123
|
-
* http://goto/soy-param-migration
|
|
8124
|
-
* @param {!proto.pulumirpc.RegisterPackageResponse} msg The msg instance to transform.
|
|
8125
|
-
* @return {!Object}
|
|
8126
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8127
|
-
*/
|
|
8128
|
-
proto.pulumirpc.RegisterPackageResponse.toObject = function(includeInstance, msg) {
|
|
8129
|
-
var f, obj = {
|
|
8130
|
-
ref: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
8131
|
-
};
|
|
8132
|
-
|
|
8133
|
-
if (includeInstance) {
|
|
8134
|
-
obj.$jspbMessageInstance = msg;
|
|
8135
|
-
}
|
|
8136
|
-
return obj;
|
|
8137
|
-
};
|
|
8138
|
-
}
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
/**
|
|
8142
|
-
* Deserializes binary data (in protobuf wire format).
|
|
8143
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8144
|
-
* @return {!proto.pulumirpc.RegisterPackageResponse}
|
|
8145
|
-
*/
|
|
8146
|
-
proto.pulumirpc.RegisterPackageResponse.deserializeBinary = function(bytes) {
|
|
8147
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
8148
|
-
var msg = new proto.pulumirpc.RegisterPackageResponse;
|
|
8149
|
-
return proto.pulumirpc.RegisterPackageResponse.deserializeBinaryFromReader(msg, reader);
|
|
8150
|
-
};
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
/**
|
|
8154
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
8155
|
-
* given reader into the given message object.
|
|
8156
|
-
* @param {!proto.pulumirpc.RegisterPackageResponse} msg The message object to deserialize into.
|
|
8157
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8158
|
-
* @return {!proto.pulumirpc.RegisterPackageResponse}
|
|
8159
|
-
*/
|
|
8160
|
-
proto.pulumirpc.RegisterPackageResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
8161
|
-
while (reader.nextField()) {
|
|
8162
|
-
if (reader.isEndGroup()) {
|
|
8163
|
-
break;
|
|
8164
|
-
}
|
|
8165
|
-
var field = reader.getFieldNumber();
|
|
8166
|
-
switch (field) {
|
|
8167
|
-
case 1:
|
|
8168
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8169
|
-
msg.setRef(value);
|
|
8170
|
-
break;
|
|
8171
|
-
default:
|
|
8172
|
-
reader.skipField();
|
|
8173
|
-
break;
|
|
8174
|
-
}
|
|
8175
|
-
}
|
|
8176
|
-
return msg;
|
|
8177
|
-
};
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
/**
|
|
8181
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
8182
|
-
* @return {!Uint8Array}
|
|
8183
|
-
*/
|
|
8184
|
-
proto.pulumirpc.RegisterPackageResponse.prototype.serializeBinary = function() {
|
|
8185
|
-
var writer = new jspb.BinaryWriter();
|
|
8186
|
-
proto.pulumirpc.RegisterPackageResponse.serializeBinaryToWriter(this, writer);
|
|
8187
|
-
return writer.getResultBuffer();
|
|
8188
|
-
};
|
|
8189
|
-
|
|
8190
|
-
|
|
8191
|
-
/**
|
|
8192
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
8193
|
-
* format), writing to the given BinaryWriter.
|
|
8194
|
-
* @param {!proto.pulumirpc.RegisterPackageResponse} message
|
|
8195
|
-
* @param {!jspb.BinaryWriter} writer
|
|
8196
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8197
|
-
*/
|
|
8198
|
-
proto.pulumirpc.RegisterPackageResponse.serializeBinaryToWriter = function(message, writer) {
|
|
8199
|
-
var f = undefined;
|
|
8200
|
-
f = message.getRef();
|
|
8201
|
-
if (f.length > 0) {
|
|
8202
|
-
writer.writeString(
|
|
8203
|
-
1,
|
|
8204
|
-
f
|
|
8205
|
-
);
|
|
8206
|
-
}
|
|
8207
|
-
};
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
/**
|
|
8211
|
-
* optional string ref = 1;
|
|
8212
|
-
* @return {string}
|
|
8213
|
-
*/
|
|
8214
|
-
proto.pulumirpc.RegisterPackageResponse.prototype.getRef = function() {
|
|
8215
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8216
|
-
};
|
|
8217
|
-
|
|
8218
|
-
|
|
8219
|
-
/**
|
|
8220
|
-
* @param {string} value
|
|
8221
|
-
* @return {!proto.pulumirpc.RegisterPackageResponse} returns this
|
|
8222
|
-
*/
|
|
8223
|
-
proto.pulumirpc.RegisterPackageResponse.prototype.setRef = function(value) {
|
|
8224
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8225
|
-
};
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8232
|
-
/**
|
|
8233
|
-
* Creates an object representation of this proto.
|
|
8234
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8235
|
-
* Optional fields that are not set will be set to undefined.
|
|
8236
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8237
|
-
* For the list of reserved names please see:
|
|
8238
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8239
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8240
|
-
* JSPB instance for transitional soy proto support:
|
|
8241
|
-
* http://goto/soy-param-migration
|
|
8242
|
-
* @return {!Object}
|
|
8243
|
-
*/
|
|
8244
|
-
proto.pulumirpc.Parameterization.prototype.toObject = function(opt_includeInstance) {
|
|
8245
|
-
return proto.pulumirpc.Parameterization.toObject(opt_includeInstance, this);
|
|
8246
|
-
};
|
|
8247
|
-
|
|
8248
|
-
|
|
8249
|
-
/**
|
|
8250
|
-
* Static version of the {@see toObject} method.
|
|
8251
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8252
|
-
* the JSPB instance for transitional soy proto support:
|
|
8253
|
-
* http://goto/soy-param-migration
|
|
8254
|
-
* @param {!proto.pulumirpc.Parameterization} msg The msg instance to transform.
|
|
8255
|
-
* @return {!Object}
|
|
8256
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8257
|
-
*/
|
|
8258
|
-
proto.pulumirpc.Parameterization.toObject = function(includeInstance, msg) {
|
|
8259
|
-
var f, obj = {
|
|
8260
|
-
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8261
|
-
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8262
|
-
value: msg.getValue_asB64()
|
|
8263
|
-
};
|
|
8264
|
-
|
|
8265
|
-
if (includeInstance) {
|
|
8266
|
-
obj.$jspbMessageInstance = msg;
|
|
8267
|
-
}
|
|
8268
|
-
return obj;
|
|
8269
|
-
};
|
|
8270
|
-
}
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
/**
|
|
8274
|
-
* Deserializes binary data (in protobuf wire format).
|
|
8275
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8276
|
-
* @return {!proto.pulumirpc.Parameterization}
|
|
8277
|
-
*/
|
|
8278
|
-
proto.pulumirpc.Parameterization.deserializeBinary = function(bytes) {
|
|
8279
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
8280
|
-
var msg = new proto.pulumirpc.Parameterization;
|
|
8281
|
-
return proto.pulumirpc.Parameterization.deserializeBinaryFromReader(msg, reader);
|
|
8282
|
-
};
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
/**
|
|
8286
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
8287
|
-
* given reader into the given message object.
|
|
8288
|
-
* @param {!proto.pulumirpc.Parameterization} msg The message object to deserialize into.
|
|
8289
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8290
|
-
* @return {!proto.pulumirpc.Parameterization}
|
|
8291
|
-
*/
|
|
8292
|
-
proto.pulumirpc.Parameterization.deserializeBinaryFromReader = function(msg, reader) {
|
|
8293
|
-
while (reader.nextField()) {
|
|
8294
|
-
if (reader.isEndGroup()) {
|
|
8295
|
-
break;
|
|
8296
|
-
}
|
|
8297
|
-
var field = reader.getFieldNumber();
|
|
8298
|
-
switch (field) {
|
|
8299
|
-
case 1:
|
|
8300
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8301
|
-
msg.setName(value);
|
|
8302
|
-
break;
|
|
8303
|
-
case 2:
|
|
8304
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8305
|
-
msg.setVersion(value);
|
|
8306
|
-
break;
|
|
8307
|
-
case 3:
|
|
8308
|
-
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
8309
|
-
msg.setValue(value);
|
|
8310
|
-
break;
|
|
8311
|
-
default:
|
|
8312
|
-
reader.skipField();
|
|
8313
|
-
break;
|
|
8314
|
-
}
|
|
8315
|
-
}
|
|
8316
|
-
return msg;
|
|
8317
|
-
};
|
|
8318
|
-
|
|
8319
|
-
|
|
8320
|
-
/**
|
|
8321
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
8322
|
-
* @return {!Uint8Array}
|
|
8323
|
-
*/
|
|
8324
|
-
proto.pulumirpc.Parameterization.prototype.serializeBinary = function() {
|
|
8325
|
-
var writer = new jspb.BinaryWriter();
|
|
8326
|
-
proto.pulumirpc.Parameterization.serializeBinaryToWriter(this, writer);
|
|
8327
|
-
return writer.getResultBuffer();
|
|
8328
|
-
};
|
|
8329
|
-
|
|
8330
|
-
|
|
8331
|
-
/**
|
|
8332
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
8333
|
-
* format), writing to the given BinaryWriter.
|
|
8334
|
-
* @param {!proto.pulumirpc.Parameterization} message
|
|
8335
|
-
* @param {!jspb.BinaryWriter} writer
|
|
8336
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8337
|
-
*/
|
|
8338
|
-
proto.pulumirpc.Parameterization.serializeBinaryToWriter = function(message, writer) {
|
|
8339
|
-
var f = undefined;
|
|
8340
|
-
f = message.getName();
|
|
8341
|
-
if (f.length > 0) {
|
|
8342
|
-
writer.writeString(
|
|
8343
|
-
1,
|
|
8344
|
-
f
|
|
8345
|
-
);
|
|
8346
|
-
}
|
|
8347
|
-
f = message.getVersion();
|
|
8348
|
-
if (f.length > 0) {
|
|
8349
|
-
writer.writeString(
|
|
8350
|
-
2,
|
|
8351
|
-
f
|
|
8352
|
-
);
|
|
8353
|
-
}
|
|
8354
|
-
f = message.getValue_asU8();
|
|
8355
|
-
if (f.length > 0) {
|
|
8356
|
-
writer.writeBytes(
|
|
8357
|
-
3,
|
|
8358
|
-
f
|
|
8359
|
-
);
|
|
8360
|
-
}
|
|
8361
|
-
};
|
|
8362
|
-
|
|
8363
|
-
|
|
8364
|
-
/**
|
|
8365
|
-
* optional string name = 1;
|
|
8366
|
-
* @return {string}
|
|
8367
|
-
*/
|
|
8368
|
-
proto.pulumirpc.Parameterization.prototype.getName = function() {
|
|
8369
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8370
|
-
};
|
|
8371
|
-
|
|
8372
|
-
|
|
8373
|
-
/**
|
|
8374
|
-
* @param {string} value
|
|
8375
|
-
* @return {!proto.pulumirpc.Parameterization} returns this
|
|
8376
|
-
*/
|
|
8377
|
-
proto.pulumirpc.Parameterization.prototype.setName = function(value) {
|
|
8378
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8379
|
-
};
|
|
8380
|
-
|
|
8381
|
-
|
|
8382
|
-
/**
|
|
8383
|
-
* optional string version = 2;
|
|
8384
|
-
* @return {string}
|
|
8385
|
-
*/
|
|
8386
|
-
proto.pulumirpc.Parameterization.prototype.getVersion = function() {
|
|
8387
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8388
|
-
};
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
/**
|
|
8392
|
-
* @param {string} value
|
|
8393
|
-
* @return {!proto.pulumirpc.Parameterization} returns this
|
|
8394
|
-
*/
|
|
8395
|
-
proto.pulumirpc.Parameterization.prototype.setVersion = function(value) {
|
|
8396
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
8397
|
-
};
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
/**
|
|
8401
|
-
* optional bytes value = 3;
|
|
8402
|
-
* @return {!(string|Uint8Array)}
|
|
8403
|
-
*/
|
|
8404
|
-
proto.pulumirpc.Parameterization.prototype.getValue = function() {
|
|
8405
|
-
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7472
|
+
proto.pulumirpc.Parameterization.prototype.getValue = function() {
|
|
7473
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
8406
7474
|
};
|
|
8407
7475
|
|
|
8408
7476
|
|
|
@@ -8439,217 +7507,6 @@ proto.pulumirpc.Parameterization.prototype.setValue = function(value) {
|
|
|
8439
7507
|
};
|
|
8440
7508
|
|
|
8441
7509
|
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8446
|
-
/**
|
|
8447
|
-
* Creates an object representation of this proto.
|
|
8448
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8449
|
-
* Optional fields that are not set will be set to undefined.
|
|
8450
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8451
|
-
* For the list of reserved names please see:
|
|
8452
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8453
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8454
|
-
* JSPB instance for transitional soy proto support:
|
|
8455
|
-
* http://goto/soy-param-migration
|
|
8456
|
-
* @return {!Object}
|
|
8457
|
-
*/
|
|
8458
|
-
proto.pulumirpc.RegisterResourceHookRequest.prototype.toObject = function(opt_includeInstance) {
|
|
8459
|
-
return proto.pulumirpc.RegisterResourceHookRequest.toObject(opt_includeInstance, this);
|
|
8460
|
-
};
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
/**
|
|
8464
|
-
* Static version of the {@see toObject} method.
|
|
8465
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8466
|
-
* the JSPB instance for transitional soy proto support:
|
|
8467
|
-
* http://goto/soy-param-migration
|
|
8468
|
-
* @param {!proto.pulumirpc.RegisterResourceHookRequest} msg The msg instance to transform.
|
|
8469
|
-
* @return {!Object}
|
|
8470
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8471
|
-
*/
|
|
8472
|
-
proto.pulumirpc.RegisterResourceHookRequest.toObject = function(includeInstance, msg) {
|
|
8473
|
-
var f, obj = {
|
|
8474
|
-
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8475
|
-
callback: (f = msg.getCallback()) && pulumi_callback_pb.Callback.toObject(includeInstance, f),
|
|
8476
|
-
onDryRun: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
8477
|
-
};
|
|
8478
|
-
|
|
8479
|
-
if (includeInstance) {
|
|
8480
|
-
obj.$jspbMessageInstance = msg;
|
|
8481
|
-
}
|
|
8482
|
-
return obj;
|
|
8483
|
-
};
|
|
8484
|
-
}
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
/**
|
|
8488
|
-
* Deserializes binary data (in protobuf wire format).
|
|
8489
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8490
|
-
* @return {!proto.pulumirpc.RegisterResourceHookRequest}
|
|
8491
|
-
*/
|
|
8492
|
-
proto.pulumirpc.RegisterResourceHookRequest.deserializeBinary = function(bytes) {
|
|
8493
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
8494
|
-
var msg = new proto.pulumirpc.RegisterResourceHookRequest;
|
|
8495
|
-
return proto.pulumirpc.RegisterResourceHookRequest.deserializeBinaryFromReader(msg, reader);
|
|
8496
|
-
};
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
/**
|
|
8500
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
8501
|
-
* given reader into the given message object.
|
|
8502
|
-
* @param {!proto.pulumirpc.RegisterResourceHookRequest} msg The message object to deserialize into.
|
|
8503
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8504
|
-
* @return {!proto.pulumirpc.RegisterResourceHookRequest}
|
|
8505
|
-
*/
|
|
8506
|
-
proto.pulumirpc.RegisterResourceHookRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
8507
|
-
while (reader.nextField()) {
|
|
8508
|
-
if (reader.isEndGroup()) {
|
|
8509
|
-
break;
|
|
8510
|
-
}
|
|
8511
|
-
var field = reader.getFieldNumber();
|
|
8512
|
-
switch (field) {
|
|
8513
|
-
case 1:
|
|
8514
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8515
|
-
msg.setName(value);
|
|
8516
|
-
break;
|
|
8517
|
-
case 2:
|
|
8518
|
-
var value = new pulumi_callback_pb.Callback;
|
|
8519
|
-
reader.readMessage(value,pulumi_callback_pb.Callback.deserializeBinaryFromReader);
|
|
8520
|
-
msg.setCallback(value);
|
|
8521
|
-
break;
|
|
8522
|
-
case 3:
|
|
8523
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
8524
|
-
msg.setOnDryRun(value);
|
|
8525
|
-
break;
|
|
8526
|
-
default:
|
|
8527
|
-
reader.skipField();
|
|
8528
|
-
break;
|
|
8529
|
-
}
|
|
8530
|
-
}
|
|
8531
|
-
return msg;
|
|
8532
|
-
};
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
/**
|
|
8536
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
8537
|
-
* @return {!Uint8Array}
|
|
8538
|
-
*/
|
|
8539
|
-
proto.pulumirpc.RegisterResourceHookRequest.prototype.serializeBinary = function() {
|
|
8540
|
-
var writer = new jspb.BinaryWriter();
|
|
8541
|
-
proto.pulumirpc.RegisterResourceHookRequest.serializeBinaryToWriter(this, writer);
|
|
8542
|
-
return writer.getResultBuffer();
|
|
8543
|
-
};
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
/**
|
|
8547
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
8548
|
-
* format), writing to the given BinaryWriter.
|
|
8549
|
-
* @param {!proto.pulumirpc.RegisterResourceHookRequest} message
|
|
8550
|
-
* @param {!jspb.BinaryWriter} writer
|
|
8551
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8552
|
-
*/
|
|
8553
|
-
proto.pulumirpc.RegisterResourceHookRequest.serializeBinaryToWriter = function(message, writer) {
|
|
8554
|
-
var f = undefined;
|
|
8555
|
-
f = message.getName();
|
|
8556
|
-
if (f.length > 0) {
|
|
8557
|
-
writer.writeString(
|
|
8558
|
-
1,
|
|
8559
|
-
f
|
|
8560
|
-
);
|
|
8561
|
-
}
|
|
8562
|
-
f = message.getCallback();
|
|
8563
|
-
if (f != null) {
|
|
8564
|
-
writer.writeMessage(
|
|
8565
|
-
2,
|
|
8566
|
-
f,
|
|
8567
|
-
pulumi_callback_pb.Callback.serializeBinaryToWriter
|
|
8568
|
-
);
|
|
8569
|
-
}
|
|
8570
|
-
f = message.getOnDryRun();
|
|
8571
|
-
if (f) {
|
|
8572
|
-
writer.writeBool(
|
|
8573
|
-
3,
|
|
8574
|
-
f
|
|
8575
|
-
);
|
|
8576
|
-
}
|
|
8577
|
-
};
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
/**
|
|
8581
|
-
* optional string name = 1;
|
|
8582
|
-
* @return {string}
|
|
8583
|
-
*/
|
|
8584
|
-
proto.pulumirpc.RegisterResourceHookRequest.prototype.getName = function() {
|
|
8585
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8586
|
-
};
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
/**
|
|
8590
|
-
* @param {string} value
|
|
8591
|
-
* @return {!proto.pulumirpc.RegisterResourceHookRequest} returns this
|
|
8592
|
-
*/
|
|
8593
|
-
proto.pulumirpc.RegisterResourceHookRequest.prototype.setName = function(value) {
|
|
8594
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8595
|
-
};
|
|
8596
|
-
|
|
8597
|
-
|
|
8598
|
-
/**
|
|
8599
|
-
* optional Callback callback = 2;
|
|
8600
|
-
* @return {?proto.pulumirpc.Callback}
|
|
8601
|
-
*/
|
|
8602
|
-
proto.pulumirpc.RegisterResourceHookRequest.prototype.getCallback = function() {
|
|
8603
|
-
return /** @type{?proto.pulumirpc.Callback} */ (
|
|
8604
|
-
jspb.Message.getWrapperField(this, pulumi_callback_pb.Callback, 2));
|
|
8605
|
-
};
|
|
8606
|
-
|
|
8607
|
-
|
|
8608
|
-
/**
|
|
8609
|
-
* @param {?proto.pulumirpc.Callback|undefined} value
|
|
8610
|
-
* @return {!proto.pulumirpc.RegisterResourceHookRequest} returns this
|
|
8611
|
-
*/
|
|
8612
|
-
proto.pulumirpc.RegisterResourceHookRequest.prototype.setCallback = function(value) {
|
|
8613
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
8614
|
-
};
|
|
8615
|
-
|
|
8616
|
-
|
|
8617
|
-
/**
|
|
8618
|
-
* Clears the message field making it undefined.
|
|
8619
|
-
* @return {!proto.pulumirpc.RegisterResourceHookRequest} returns this
|
|
8620
|
-
*/
|
|
8621
|
-
proto.pulumirpc.RegisterResourceHookRequest.prototype.clearCallback = function() {
|
|
8622
|
-
return this.setCallback(undefined);
|
|
8623
|
-
};
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
/**
|
|
8627
|
-
* Returns whether this field is set.
|
|
8628
|
-
* @return {boolean}
|
|
8629
|
-
*/
|
|
8630
|
-
proto.pulumirpc.RegisterResourceHookRequest.prototype.hasCallback = function() {
|
|
8631
|
-
return jspb.Message.getField(this, 2) != null;
|
|
8632
|
-
};
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
/**
|
|
8636
|
-
* optional bool on_dry_run = 3;
|
|
8637
|
-
* @return {boolean}
|
|
8638
|
-
*/
|
|
8639
|
-
proto.pulumirpc.RegisterResourceHookRequest.prototype.getOnDryRun = function() {
|
|
8640
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
8641
|
-
};
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
/**
|
|
8645
|
-
* @param {boolean} value
|
|
8646
|
-
* @return {!proto.pulumirpc.RegisterResourceHookRequest} returns this
|
|
8647
|
-
*/
|
|
8648
|
-
proto.pulumirpc.RegisterResourceHookRequest.prototype.setOnDryRun = function(value) {
|
|
8649
|
-
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
8650
|
-
};
|
|
8651
|
-
|
|
8652
|
-
|
|
8653
7510
|
/**
|
|
8654
7511
|
* @enum {number}
|
|
8655
7512
|
*/
|