@pulumi/pulumi 3.179.0-alpha.x33f65c5 → 3.179.0-alpha.x38b190c

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.
@@ -32,14 +32,18 @@ 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);
35
36
  goog.exportSymbol('proto.pulumirpc.RegisterResourceOutputsRequest', null, global);
36
37
  goog.exportSymbol('proto.pulumirpc.RegisterResourceRequest', null, global);
37
38
  goog.exportSymbol('proto.pulumirpc.RegisterResourceRequest.CustomTimeouts', null, global);
38
39
  goog.exportSymbol('proto.pulumirpc.RegisterResourceRequest.PropertyDependencies', null, global);
40
+ goog.exportSymbol('proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding', null, global);
39
41
  goog.exportSymbol('proto.pulumirpc.RegisterResourceResponse', null, global);
40
42
  goog.exportSymbol('proto.pulumirpc.RegisterResourceResponse.PropertyDependencies', null, global);
41
43
  goog.exportSymbol('proto.pulumirpc.ResourceCallRequest', null, global);
42
44
  goog.exportSymbol('proto.pulumirpc.ResourceCallRequest.ArgumentDependencies', null, global);
45
+ goog.exportSymbol('proto.pulumirpc.ResourceHookRequest', null, global);
46
+ goog.exportSymbol('proto.pulumirpc.ResourceHookResponse', null, global);
43
47
  goog.exportSymbol('proto.pulumirpc.ResourceInvokeRequest', null, global);
44
48
  goog.exportSymbol('proto.pulumirpc.Result', null, global);
45
49
  goog.exportSymbol('proto.pulumirpc.SupportsFeatureRequest', null, global);
@@ -197,6 +201,27 @@ if (goog.DEBUG && !COMPILED) {
197
201
  */
198
202
  proto.pulumirpc.RegisterResourceRequest.CustomTimeouts.displayName = 'proto.pulumirpc.RegisterResourceRequest.CustomTimeouts';
199
203
  }
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
+ }
200
225
  /**
201
226
  * Generated by JsPbCodeGenerator.
202
227
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -449,6 +474,48 @@ if (goog.DEBUG && !COMPILED) {
449
474
  */
450
475
  proto.pulumirpc.TransformInvokeOptions.displayName = 'proto.pulumirpc.TransformInvokeOptions';
451
476
  }
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
+ }
452
519
  /**
453
520
  * Generated by JsPbCodeGenerator.
454
521
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -512,6 +579,27 @@ if (goog.DEBUG && !COMPILED) {
512
579
  */
513
580
  proto.pulumirpc.Parameterization.displayName = 'proto.pulumirpc.Parameterization';
514
581
  }
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
+ }
515
603
 
516
604
 
517
605
 
@@ -1666,7 +1754,8 @@ proto.pulumirpc.RegisterResourceRequest.toObject = function(includeInstance, msg
1666
1754
  transformsList: jspb.Message.toObjectList(msg.getTransformsList(),
1667
1755
  pulumi_callback_pb.Callback.toObject, includeInstance),
1668
1756
  supportsresultreporting: jspb.Message.getBooleanFieldWithDefault(msg, 32, false),
1669
- packageref: jspb.Message.getFieldWithDefault(msg, 33, "")
1757
+ packageref: jspb.Message.getFieldWithDefault(msg, 33, ""),
1758
+ hooks: (f = msg.getHooks()) && proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.toObject(includeInstance, f)
1670
1759
  };
1671
1760
 
1672
1761
  if (includeInstance) {
@@ -1846,6 +1935,11 @@ proto.pulumirpc.RegisterResourceRequest.deserializeBinaryFromReader = function(m
1846
1935
  var value = /** @type {string} */ (reader.readString());
1847
1936
  msg.setPackageref(value);
1848
1937
  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;
1849
1943
  default:
1850
1944
  reader.skipField();
1851
1945
  break;
@@ -2102,6 +2196,14 @@ proto.pulumirpc.RegisterResourceRequest.serializeBinaryToWriter = function(messa
2102
2196
  f
2103
2197
  );
2104
2198
  }
2199
+ f = message.getHooks();
2200
+ if (f != null) {
2201
+ writer.writeMessage(
2202
+ 34,
2203
+ f,
2204
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.serializeBinaryToWriter
2205
+ );
2206
+ }
2105
2207
  };
2106
2208
 
2107
2209
 
@@ -2451,127 +2553,528 @@ proto.pulumirpc.RegisterResourceRequest.CustomTimeouts.prototype.setDelete = fun
2451
2553
  };
2452
2554
 
2453
2555
 
2556
+
2454
2557
  /**
2455
- * optional string type = 1;
2456
- * @return {string}
2558
+ * List of repeated fields within this message type.
2559
+ * @private {!Array<number>}
2560
+ * @const
2457
2561
  */
2458
- proto.pulumirpc.RegisterResourceRequest.prototype.getType = function() {
2459
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2460
- };
2562
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.repeatedFields_ = [1,2,3,4,5,6];
2461
2563
 
2462
2564
 
2565
+
2566
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2463
2567
  /**
2464
- * @param {string} value
2465
- * @return {!proto.pulumirpc.RegisterResourceRequest} returns this
2568
+ * Creates an object representation of this proto.
2569
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
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}
2466
2578
  */
2467
- proto.pulumirpc.RegisterResourceRequest.prototype.setType = function(value) {
2468
- return jspb.Message.setProto3StringField(this, 1, value);
2579
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.toObject = function(opt_includeInstance) {
2580
+ return proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.toObject(opt_includeInstance, this);
2469
2581
  };
2470
2582
 
2471
2583
 
2472
2584
  /**
2473
- * optional string name = 2;
2474
- * @return {string}
2585
+ * Static version of the {@see toObject} method.
2586
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
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
2475
2592
  */
2476
- proto.pulumirpc.RegisterResourceRequest.prototype.getName = function() {
2477
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2593
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.toObject = function(includeInstance, msg) {
2594
+ var f, obj = {
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;
2478
2607
  };
2608
+ }
2479
2609
 
2480
2610
 
2481
2611
  /**
2482
- * @param {string} value
2483
- * @return {!proto.pulumirpc.RegisterResourceRequest} returns this
2612
+ * Deserializes binary data (in protobuf wire format).
2613
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2614
+ * @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding}
2484
2615
  */
2485
- proto.pulumirpc.RegisterResourceRequest.prototype.setName = function(value) {
2486
- return jspb.Message.setProto3StringField(this, 2, value);
2616
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.deserializeBinary = function(bytes) {
2617
+ var reader = new jspb.BinaryReader(bytes);
2618
+ var msg = new proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding;
2619
+ return proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.deserializeBinaryFromReader(msg, reader);
2487
2620
  };
2488
2621
 
2489
2622
 
2490
2623
  /**
2491
- * optional string parent = 3;
2492
- * @return {string}
2624
+ * Deserializes binary data (in protobuf wire format) from the
2625
+ * given reader into the given message object.
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}
2493
2629
  */
2494
- proto.pulumirpc.RegisterResourceRequest.prototype.getParent = function() {
2495
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2630
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.deserializeBinaryFromReader = function(msg, reader) {
2631
+ while (reader.nextField()) {
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;
2496
2667
  };
2497
2668
 
2498
2669
 
2499
2670
  /**
2500
- * @param {string} value
2501
- * @return {!proto.pulumirpc.RegisterResourceRequest} returns this
2671
+ * Serializes the message to binary data (in protobuf wire format).
2672
+ * @return {!Uint8Array}
2502
2673
  */
2503
- proto.pulumirpc.RegisterResourceRequest.prototype.setParent = function(value) {
2504
- return jspb.Message.setProto3StringField(this, 3, value);
2674
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.serializeBinary = function() {
2675
+ var writer = new jspb.BinaryWriter();
2676
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.serializeBinaryToWriter(this, writer);
2677
+ return writer.getResultBuffer();
2505
2678
  };
2506
2679
 
2507
2680
 
2508
2681
  /**
2509
- * optional bool custom = 4;
2510
- * @return {boolean}
2682
+ * Serializes the given message to binary data (in protobuf wire
2683
+ * format), writing to the given BinaryWriter.
2684
+ * @param {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} message
2685
+ * @param {!jspb.BinaryWriter} writer
2686
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2511
2687
  */
2512
- proto.pulumirpc.RegisterResourceRequest.prototype.getCustom = function() {
2513
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
2688
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.serializeBinaryToWriter = function(message, writer) {
2689
+ var f = undefined;
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
+ }
2514
2732
  };
2515
2733
 
2516
2734
 
2517
2735
  /**
2518
- * @param {boolean} value
2519
- * @return {!proto.pulumirpc.RegisterResourceRequest} returns this
2736
+ * repeated string before_create = 1;
2737
+ * @return {!Array<string>}
2520
2738
  */
2521
- proto.pulumirpc.RegisterResourceRequest.prototype.setCustom = function(value) {
2522
- return jspb.Message.setProto3BooleanField(this, 4, value);
2739
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.getBeforeCreateList = function() {
2740
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2523
2741
  };
2524
2742
 
2525
2743
 
2526
2744
  /**
2527
- * optional google.protobuf.Struct object = 5;
2528
- * @return {?proto.google.protobuf.Struct}
2745
+ * @param {!Array<string>} value
2746
+ * @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
2529
2747
  */
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));
2748
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.setBeforeCreateList = function(value) {
2749
+ return jspb.Message.setField(this, 1, value || []);
2533
2750
  };
2534
2751
 
2535
2752
 
2536
2753
  /**
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);
2754
+ * @param {string} value
2755
+ * @param {number=} opt_index
2756
+ * @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
2757
+ */
2758
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.addBeforeCreate = function(value, opt_index) {
2759
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2542
2760
  };
2543
2761
 
2544
2762
 
2545
2763
  /**
2546
- * Clears the message field making it undefined.
2547
- * @return {!proto.pulumirpc.RegisterResourceRequest} returns this
2764
+ * Clears the list making it empty but non-null.
2765
+ * @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
2548
2766
  */
2549
- proto.pulumirpc.RegisterResourceRequest.prototype.clearObject = function() {
2550
- return this.setObject(undefined);
2767
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.clearBeforeCreateList = function() {
2768
+ return this.setBeforeCreateList([]);
2551
2769
  };
2552
2770
 
2553
2771
 
2554
2772
  /**
2555
- * Returns whether this field is set.
2556
- * @return {boolean}
2773
+ * repeated string after_create = 2;
2774
+ * @return {!Array<string>}
2557
2775
  */
2558
- proto.pulumirpc.RegisterResourceRequest.prototype.hasObject = function() {
2559
- return jspb.Message.getField(this, 5) != null;
2776
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.getAfterCreateList = function() {
2777
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
2560
2778
  };
2561
2779
 
2562
2780
 
2563
2781
  /**
2564
- * optional bool protect = 6;
2565
- * @return {boolean}
2782
+ * @param {!Array<string>} value
2783
+ * @return {!proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} returns this
2566
2784
  */
2567
- proto.pulumirpc.RegisterResourceRequest.prototype.getProtect = function() {
2568
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
2785
+ proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.prototype.setAfterCreateList = function(value) {
2786
+ return jspb.Message.setField(this, 2, value || []);
2569
2787
  };
2570
2788
 
2571
2789
 
2572
2790
  /**
2573
- * @param {boolean} value
2574
- * @return {!proto.pulumirpc.RegisterResourceRequest} returns this
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));
3072
+ };
3073
+
3074
+
3075
+ /**
3076
+ * @param {boolean} value
3077
+ * @return {!proto.pulumirpc.RegisterResourceRequest} returns this
2575
3078
  */
2576
3079
  proto.pulumirpc.RegisterResourceRequest.prototype.setProtect = function(value) {
2577
3080
  return jspb.Message.setField(this, 6, value);
@@ -3285,21 +3788,58 @@ proto.pulumirpc.RegisterResourceRequest.prototype.setPackageref = function(value
3285
3788
  };
3286
3789
 
3287
3790
 
3288
-
3289
3791
  /**
3290
- * List of repeated fields within this message type.
3291
- * @private {!Array<number>}
3292
- * @const
3792
+ * optional ResourceHooksBinding hooks = 34;
3793
+ * @return {?proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding}
3293
3794
  */
3294
- proto.pulumirpc.RegisterResourceResponse.repeatedFields_ = [5];
3295
-
3795
+ proto.pulumirpc.RegisterResourceRequest.prototype.getHooks = function() {
3796
+ return /** @type{?proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding} */ (
3797
+ jspb.Message.getWrapperField(this, proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding, 34));
3798
+ };
3296
3799
 
3297
3800
 
3298
- if (jspb.Message.GENERATE_TO_OBJECT) {
3299
3801
  /**
3300
- * Creates an object representation of this proto.
3301
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3302
- * Optional fields that are not set will be set to undefined.
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
+
3809
+
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) {
3839
+ /**
3840
+ * Creates an object representation of this proto.
3841
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3842
+ * Optional fields that are not set will be set to undefined.
3303
3843
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3304
3844
  * For the list of reserved names please see:
3305
3845
  * net/proto2/compiler/js/internal/generator.cc#kKeyword.
@@ -6905,8 +7445,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
6905
7445
  * http://goto/soy-param-migration
6906
7446
  * @return {!Object}
6907
7447
  */
6908
- proto.pulumirpc.RegisterPackageRequest.prototype.toObject = function(opt_includeInstance) {
6909
- return proto.pulumirpc.RegisterPackageRequest.toObject(opt_includeInstance, this);
7448
+ proto.pulumirpc.ResourceHookRequest.prototype.toObject = function(opt_includeInstance) {
7449
+ return proto.pulumirpc.ResourceHookRequest.toObject(opt_includeInstance, this);
6910
7450
  };
6911
7451
 
6912
7452
 
@@ -6915,17 +7455,18 @@ proto.pulumirpc.RegisterPackageRequest.prototype.toObject = function(opt_include
6915
7455
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6916
7456
  * the JSPB instance for transitional soy proto support:
6917
7457
  * http://goto/soy-param-migration
6918
- * @param {!proto.pulumirpc.RegisterPackageRequest} msg The msg instance to transform.
7458
+ * @param {!proto.pulumirpc.ResourceHookRequest} msg The msg instance to transform.
6919
7459
  * @return {!Object}
6920
7460
  * @suppress {unusedLocalVariables} f is only used for nested messages
6921
7461
  */
6922
- proto.pulumirpc.RegisterPackageRequest.toObject = function(includeInstance, msg) {
7462
+ proto.pulumirpc.ResourceHookRequest.toObject = function(includeInstance, msg) {
6923
7463
  var f, obj = {
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)
7464
+ urn: jspb.Message.getFieldWithDefault(msg, 1, ""),
7465
+ id: jspb.Message.getFieldWithDefault(msg, 2, ""),
7466
+ newInputs: (f = msg.getNewInputs()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
7467
+ oldInputs: (f = msg.getOldInputs()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
7468
+ newOutputs: (f = msg.getNewOutputs()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
7469
+ oldOutputs: (f = msg.getOldOutputs()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
6929
7470
  };
6930
7471
 
6931
7472
  if (includeInstance) {
@@ -6939,23 +7480,23 @@ proto.pulumirpc.RegisterPackageRequest.toObject = function(includeInstance, msg)
6939
7480
  /**
6940
7481
  * Deserializes binary data (in protobuf wire format).
6941
7482
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
6942
- * @return {!proto.pulumirpc.RegisterPackageRequest}
7483
+ * @return {!proto.pulumirpc.ResourceHookRequest}
6943
7484
  */
6944
- proto.pulumirpc.RegisterPackageRequest.deserializeBinary = function(bytes) {
7485
+ proto.pulumirpc.ResourceHookRequest.deserializeBinary = function(bytes) {
6945
7486
  var reader = new jspb.BinaryReader(bytes);
6946
- var msg = new proto.pulumirpc.RegisterPackageRequest;
6947
- return proto.pulumirpc.RegisterPackageRequest.deserializeBinaryFromReader(msg, reader);
7487
+ var msg = new proto.pulumirpc.ResourceHookRequest;
7488
+ return proto.pulumirpc.ResourceHookRequest.deserializeBinaryFromReader(msg, reader);
6948
7489
  };
6949
7490
 
6950
7491
 
6951
7492
  /**
6952
7493
  * Deserializes binary data (in protobuf wire format) from the
6953
7494
  * given reader into the given message object.
6954
- * @param {!proto.pulumirpc.RegisterPackageRequest} msg The message object to deserialize into.
7495
+ * @param {!proto.pulumirpc.ResourceHookRequest} msg The message object to deserialize into.
6955
7496
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6956
- * @return {!proto.pulumirpc.RegisterPackageRequest}
7497
+ * @return {!proto.pulumirpc.ResourceHookRequest}
6957
7498
  */
6958
- proto.pulumirpc.RegisterPackageRequest.deserializeBinaryFromReader = function(msg, reader) {
7499
+ proto.pulumirpc.ResourceHookRequest.deserializeBinaryFromReader = function(msg, reader) {
6959
7500
  while (reader.nextField()) {
6960
7501
  if (reader.isEndGroup()) {
6961
7502
  break;
@@ -6964,26 +7505,31 @@ proto.pulumirpc.RegisterPackageRequest.deserializeBinaryFromReader = function(ms
6964
7505
  switch (field) {
6965
7506
  case 1:
6966
7507
  var value = /** @type {string} */ (reader.readString());
6967
- msg.setName(value);
7508
+ msg.setUrn(value);
6968
7509
  break;
6969
7510
  case 2:
6970
7511
  var value = /** @type {string} */ (reader.readString());
6971
- msg.setVersion(value);
7512
+ msg.setId(value);
6972
7513
  break;
6973
7514
  case 3:
6974
- var value = /** @type {string} */ (reader.readString());
6975
- msg.setDownloadUrl(value);
7515
+ var value = new google_protobuf_struct_pb.Struct;
7516
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
7517
+ msg.setNewInputs(value);
6976
7518
  break;
6977
7519
  case 4:
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
- });
7520
+ var value = new google_protobuf_struct_pb.Struct;
7521
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
7522
+ msg.setOldInputs(value);
6982
7523
  break;
6983
7524
  case 5:
6984
- var value = new proto.pulumirpc.Parameterization;
6985
- reader.readMessage(value,proto.pulumirpc.Parameterization.deserializeBinaryFromReader);
6986
- msg.setParameterization(value);
7525
+ var value = new google_protobuf_struct_pb.Struct;
7526
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
7527
+ msg.setNewOutputs(value);
7528
+ break;
7529
+ case 6:
7530
+ var value = new google_protobuf_struct_pb.Struct;
7531
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
7532
+ msg.setOldOutputs(value);
6987
7533
  break;
6988
7534
  default:
6989
7535
  reader.skipField();
@@ -6998,9 +7544,9 @@ proto.pulumirpc.RegisterPackageRequest.deserializeBinaryFromReader = function(ms
6998
7544
  * Serializes the message to binary data (in protobuf wire format).
6999
7545
  * @return {!Uint8Array}
7000
7546
  */
7001
- proto.pulumirpc.RegisterPackageRequest.prototype.serializeBinary = function() {
7547
+ proto.pulumirpc.ResourceHookRequest.prototype.serializeBinary = function() {
7002
7548
  var writer = new jspb.BinaryWriter();
7003
- proto.pulumirpc.RegisterPackageRequest.serializeBinaryToWriter(this, writer);
7549
+ proto.pulumirpc.ResourceHookRequest.serializeBinaryToWriter(this, writer);
7004
7550
  return writer.getResultBuffer();
7005
7551
  };
7006
7552
 
@@ -7008,149 +7554,196 @@ proto.pulumirpc.RegisterPackageRequest.prototype.serializeBinary = function() {
7008
7554
  /**
7009
7555
  * Serializes the given message to binary data (in protobuf wire
7010
7556
  * format), writing to the given BinaryWriter.
7011
- * @param {!proto.pulumirpc.RegisterPackageRequest} message
7557
+ * @param {!proto.pulumirpc.ResourceHookRequest} message
7012
7558
  * @param {!jspb.BinaryWriter} writer
7013
7559
  * @suppress {unusedLocalVariables} f is only used for nested messages
7014
7560
  */
7015
- proto.pulumirpc.RegisterPackageRequest.serializeBinaryToWriter = function(message, writer) {
7561
+ proto.pulumirpc.ResourceHookRequest.serializeBinaryToWriter = function(message, writer) {
7016
7562
  var f = undefined;
7017
- f = message.getName();
7563
+ f = message.getUrn();
7018
7564
  if (f.length > 0) {
7019
7565
  writer.writeString(
7020
7566
  1,
7021
7567
  f
7022
7568
  );
7023
7569
  }
7024
- f = message.getVersion();
7570
+ f = message.getId();
7025
7571
  if (f.length > 0) {
7026
7572
  writer.writeString(
7027
7573
  2,
7028
7574
  f
7029
7575
  );
7030
7576
  }
7031
- f = message.getDownloadUrl();
7032
- if (f.length > 0) {
7033
- writer.writeString(
7577
+ f = message.getNewInputs();
7578
+ if (f != null) {
7579
+ writer.writeMessage(
7034
7580
  3,
7035
- f
7581
+ f,
7582
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
7036
7583
  );
7037
7584
  }
7038
- f = message.getChecksumsMap(true);
7039
- if (f && f.getLength() > 0) {
7040
- f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBytes);
7585
+ f = message.getOldInputs();
7586
+ if (f != null) {
7587
+ writer.writeMessage(
7588
+ 4,
7589
+ f,
7590
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
7591
+ );
7041
7592
  }
7042
- f = message.getParameterization();
7593
+ f = message.getNewOutputs();
7043
7594
  if (f != null) {
7044
7595
  writer.writeMessage(
7045
7596
  5,
7046
7597
  f,
7047
- proto.pulumirpc.Parameterization.serializeBinaryToWriter
7598
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
7599
+ );
7600
+ }
7601
+ f = message.getOldOutputs();
7602
+ if (f != null) {
7603
+ writer.writeMessage(
7604
+ 6,
7605
+ f,
7606
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
7048
7607
  );
7049
7608
  }
7050
7609
  };
7051
7610
 
7052
7611
 
7053
7612
  /**
7054
- * optional string name = 1;
7613
+ * optional string urn = 1;
7055
7614
  * @return {string}
7056
7615
  */
7057
- proto.pulumirpc.RegisterPackageRequest.prototype.getName = function() {
7616
+ proto.pulumirpc.ResourceHookRequest.prototype.getUrn = function() {
7058
7617
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
7059
7618
  };
7060
7619
 
7061
7620
 
7062
7621
  /**
7063
7622
  * @param {string} value
7064
- * @return {!proto.pulumirpc.RegisterPackageRequest} returns this
7623
+ * @return {!proto.pulumirpc.ResourceHookRequest} returns this
7065
7624
  */
7066
- proto.pulumirpc.RegisterPackageRequest.prototype.setName = function(value) {
7625
+ proto.pulumirpc.ResourceHookRequest.prototype.setUrn = function(value) {
7067
7626
  return jspb.Message.setProto3StringField(this, 1, value);
7068
7627
  };
7069
7628
 
7070
7629
 
7071
7630
  /**
7072
- * optional string version = 2;
7631
+ * optional string id = 2;
7073
7632
  * @return {string}
7074
7633
  */
7075
- proto.pulumirpc.RegisterPackageRequest.prototype.getVersion = function() {
7634
+ proto.pulumirpc.ResourceHookRequest.prototype.getId = function() {
7076
7635
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
7077
7636
  };
7078
7637
 
7079
7638
 
7080
7639
  /**
7081
7640
  * @param {string} value
7082
- * @return {!proto.pulumirpc.RegisterPackageRequest} returns this
7641
+ * @return {!proto.pulumirpc.ResourceHookRequest} returns this
7083
7642
  */
7084
- proto.pulumirpc.RegisterPackageRequest.prototype.setVersion = function(value) {
7643
+ proto.pulumirpc.ResourceHookRequest.prototype.setId = function(value) {
7085
7644
  return jspb.Message.setProto3StringField(this, 2, value);
7086
7645
  };
7087
7646
 
7088
7647
 
7089
7648
  /**
7090
- * optional string download_url = 3;
7091
- * @return {string}
7649
+ * optional google.protobuf.Struct new_inputs = 3;
7650
+ * @return {?proto.google.protobuf.Struct}
7092
7651
  */
7093
- proto.pulumirpc.RegisterPackageRequest.prototype.getDownloadUrl = function() {
7094
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
7652
+ proto.pulumirpc.ResourceHookRequest.prototype.getNewInputs = function() {
7653
+ return /** @type{?proto.google.protobuf.Struct} */ (
7654
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 3));
7095
7655
  };
7096
7656
 
7097
7657
 
7098
7658
  /**
7099
- * @param {string} value
7100
- * @return {!proto.pulumirpc.RegisterPackageRequest} returns this
7659
+ * @param {?proto.google.protobuf.Struct|undefined} value
7660
+ * @return {!proto.pulumirpc.ResourceHookRequest} returns this
7661
+ */
7662
+ proto.pulumirpc.ResourceHookRequest.prototype.setNewInputs = function(value) {
7663
+ return jspb.Message.setWrapperField(this, 3, value);
7664
+ };
7665
+
7666
+
7667
+ /**
7668
+ * Clears the message field making it undefined.
7669
+ * @return {!proto.pulumirpc.ResourceHookRequest} returns this
7101
7670
  */
7102
- proto.pulumirpc.RegisterPackageRequest.prototype.setDownloadUrl = function(value) {
7103
- return jspb.Message.setProto3StringField(this, 3, value);
7671
+ proto.pulumirpc.ResourceHookRequest.prototype.clearNewInputs = function() {
7672
+ return this.setNewInputs(undefined);
7104
7673
  };
7105
7674
 
7106
7675
 
7107
7676
  /**
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)>}
7677
+ * Returns whether this field is set.
7678
+ * @return {boolean}
7112
7679
  */
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));
7680
+ proto.pulumirpc.ResourceHookRequest.prototype.hasNewInputs = function() {
7681
+ return jspb.Message.getField(this, 3) != null;
7117
7682
  };
7118
7683
 
7119
7684
 
7120
7685
  /**
7121
- * Clears values from the map. The map will be non-null.
7122
- * @return {!proto.pulumirpc.RegisterPackageRequest} returns this
7686
+ * optional google.protobuf.Struct old_inputs = 4;
7687
+ * @return {?proto.google.protobuf.Struct}
7123
7688
  */
7124
- proto.pulumirpc.RegisterPackageRequest.prototype.clearChecksumsMap = function() {
7125
- this.getChecksumsMap().clear();
7126
- return this;};
7689
+ proto.pulumirpc.ResourceHookRequest.prototype.getOldInputs = function() {
7690
+ return /** @type{?proto.google.protobuf.Struct} */ (
7691
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 4));
7692
+ };
7127
7693
 
7128
7694
 
7129
7695
  /**
7130
- * optional Parameterization parameterization = 5;
7131
- * @return {?proto.pulumirpc.Parameterization}
7696
+ * @param {?proto.google.protobuf.Struct|undefined} value
7697
+ * @return {!proto.pulumirpc.ResourceHookRequest} returns this
7698
+ */
7699
+ proto.pulumirpc.ResourceHookRequest.prototype.setOldInputs = function(value) {
7700
+ return jspb.Message.setWrapperField(this, 4, value);
7701
+ };
7702
+
7703
+
7704
+ /**
7705
+ * Clears the message field making it undefined.
7706
+ * @return {!proto.pulumirpc.ResourceHookRequest} returns this
7132
7707
  */
7133
- proto.pulumirpc.RegisterPackageRequest.prototype.getParameterization = function() {
7134
- return /** @type{?proto.pulumirpc.Parameterization} */ (
7135
- jspb.Message.getWrapperField(this, proto.pulumirpc.Parameterization, 5));
7708
+ proto.pulumirpc.ResourceHookRequest.prototype.clearOldInputs = function() {
7709
+ return this.setOldInputs(undefined);
7136
7710
  };
7137
7711
 
7138
7712
 
7139
7713
  /**
7140
- * @param {?proto.pulumirpc.Parameterization|undefined} value
7141
- * @return {!proto.pulumirpc.RegisterPackageRequest} returns this
7714
+ * Returns whether this field is set.
7715
+ * @return {boolean}
7716
+ */
7717
+ proto.pulumirpc.ResourceHookRequest.prototype.hasOldInputs = function() {
7718
+ return jspb.Message.getField(this, 4) != null;
7719
+ };
7720
+
7721
+
7722
+ /**
7723
+ * optional google.protobuf.Struct new_outputs = 5;
7724
+ * @return {?proto.google.protobuf.Struct}
7725
+ */
7726
+ proto.pulumirpc.ResourceHookRequest.prototype.getNewOutputs = function() {
7727
+ return /** @type{?proto.google.protobuf.Struct} */ (
7728
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5));
7729
+ };
7730
+
7731
+
7732
+ /**
7733
+ * @param {?proto.google.protobuf.Struct|undefined} value
7734
+ * @return {!proto.pulumirpc.ResourceHookRequest} returns this
7142
7735
  */
7143
- proto.pulumirpc.RegisterPackageRequest.prototype.setParameterization = function(value) {
7736
+ proto.pulumirpc.ResourceHookRequest.prototype.setNewOutputs = function(value) {
7144
7737
  return jspb.Message.setWrapperField(this, 5, value);
7145
7738
  };
7146
7739
 
7147
7740
 
7148
7741
  /**
7149
7742
  * Clears the message field making it undefined.
7150
- * @return {!proto.pulumirpc.RegisterPackageRequest} returns this
7743
+ * @return {!proto.pulumirpc.ResourceHookRequest} returns this
7151
7744
  */
7152
- proto.pulumirpc.RegisterPackageRequest.prototype.clearParameterization = function() {
7153
- return this.setParameterization(undefined);
7745
+ proto.pulumirpc.ResourceHookRequest.prototype.clearNewOutputs = function() {
7746
+ return this.setNewOutputs(undefined);
7154
7747
  };
7155
7748
 
7156
7749
 
@@ -7158,11 +7751,48 @@ proto.pulumirpc.RegisterPackageRequest.prototype.clearParameterization = functio
7158
7751
  * Returns whether this field is set.
7159
7752
  * @return {boolean}
7160
7753
  */
7161
- proto.pulumirpc.RegisterPackageRequest.prototype.hasParameterization = function() {
7754
+ proto.pulumirpc.ResourceHookRequest.prototype.hasNewOutputs = function() {
7162
7755
  return jspb.Message.getField(this, 5) != null;
7163
7756
  };
7164
7757
 
7165
7758
 
7759
+ /**
7760
+ * optional google.protobuf.Struct old_outputs = 6;
7761
+ * @return {?proto.google.protobuf.Struct}
7762
+ */
7763
+ proto.pulumirpc.ResourceHookRequest.prototype.getOldOutputs = function() {
7764
+ return /** @type{?proto.google.protobuf.Struct} */ (
7765
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 6));
7766
+ };
7767
+
7768
+
7769
+ /**
7770
+ * @param {?proto.google.protobuf.Struct|undefined} value
7771
+ * @return {!proto.pulumirpc.ResourceHookRequest} returns this
7772
+ */
7773
+ proto.pulumirpc.ResourceHookRequest.prototype.setOldOutputs = function(value) {
7774
+ return jspb.Message.setWrapperField(this, 6, value);
7775
+ };
7776
+
7777
+
7778
+ /**
7779
+ * Clears the message field making it undefined.
7780
+ * @return {!proto.pulumirpc.ResourceHookRequest} returns this
7781
+ */
7782
+ proto.pulumirpc.ResourceHookRequest.prototype.clearOldOutputs = function() {
7783
+ return this.setOldOutputs(undefined);
7784
+ };
7785
+
7786
+
7787
+ /**
7788
+ * Returns whether this field is set.
7789
+ * @return {boolean}
7790
+ */
7791
+ proto.pulumirpc.ResourceHookRequest.prototype.hasOldOutputs = function() {
7792
+ return jspb.Message.getField(this, 6) != null;
7793
+ };
7794
+
7795
+
7166
7796
 
7167
7797
 
7168
7798
 
@@ -7179,8 +7809,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
7179
7809
  * http://goto/soy-param-migration
7180
7810
  * @return {!Object}
7181
7811
  */
7182
- proto.pulumirpc.RegisterPackageResponse.prototype.toObject = function(opt_includeInstance) {
7183
- return proto.pulumirpc.RegisterPackageResponse.toObject(opt_includeInstance, this);
7812
+ proto.pulumirpc.ResourceHookResponse.prototype.toObject = function(opt_includeInstance) {
7813
+ return proto.pulumirpc.ResourceHookResponse.toObject(opt_includeInstance, this);
7184
7814
  };
7185
7815
 
7186
7816
 
@@ -7189,13 +7819,13 @@ proto.pulumirpc.RegisterPackageResponse.prototype.toObject = function(opt_includ
7189
7819
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7190
7820
  * the JSPB instance for transitional soy proto support:
7191
7821
  * http://goto/soy-param-migration
7192
- * @param {!proto.pulumirpc.RegisterPackageResponse} msg The msg instance to transform.
7822
+ * @param {!proto.pulumirpc.ResourceHookResponse} msg The msg instance to transform.
7193
7823
  * @return {!Object}
7194
7824
  * @suppress {unusedLocalVariables} f is only used for nested messages
7195
7825
  */
7196
- proto.pulumirpc.RegisterPackageResponse.toObject = function(includeInstance, msg) {
7826
+ proto.pulumirpc.ResourceHookResponse.toObject = function(includeInstance, msg) {
7197
7827
  var f, obj = {
7198
- ref: jspb.Message.getFieldWithDefault(msg, 1, "")
7828
+ error: jspb.Message.getFieldWithDefault(msg, 1, "")
7199
7829
  };
7200
7830
 
7201
7831
  if (includeInstance) {
@@ -7209,23 +7839,23 @@ proto.pulumirpc.RegisterPackageResponse.toObject = function(includeInstance, msg
7209
7839
  /**
7210
7840
  * Deserializes binary data (in protobuf wire format).
7211
7841
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
7212
- * @return {!proto.pulumirpc.RegisterPackageResponse}
7842
+ * @return {!proto.pulumirpc.ResourceHookResponse}
7213
7843
  */
7214
- proto.pulumirpc.RegisterPackageResponse.deserializeBinary = function(bytes) {
7844
+ proto.pulumirpc.ResourceHookResponse.deserializeBinary = function(bytes) {
7215
7845
  var reader = new jspb.BinaryReader(bytes);
7216
- var msg = new proto.pulumirpc.RegisterPackageResponse;
7217
- return proto.pulumirpc.RegisterPackageResponse.deserializeBinaryFromReader(msg, reader);
7846
+ var msg = new proto.pulumirpc.ResourceHookResponse;
7847
+ return proto.pulumirpc.ResourceHookResponse.deserializeBinaryFromReader(msg, reader);
7218
7848
  };
7219
7849
 
7220
7850
 
7221
7851
  /**
7222
7852
  * Deserializes binary data (in protobuf wire format) from the
7223
7853
  * given reader into the given message object.
7224
- * @param {!proto.pulumirpc.RegisterPackageResponse} msg The message object to deserialize into.
7854
+ * @param {!proto.pulumirpc.ResourceHookResponse} msg The message object to deserialize into.
7225
7855
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7226
- * @return {!proto.pulumirpc.RegisterPackageResponse}
7856
+ * @return {!proto.pulumirpc.ResourceHookResponse}
7227
7857
  */
7228
- proto.pulumirpc.RegisterPackageResponse.deserializeBinaryFromReader = function(msg, reader) {
7858
+ proto.pulumirpc.ResourceHookResponse.deserializeBinaryFromReader = function(msg, reader) {
7229
7859
  while (reader.nextField()) {
7230
7860
  if (reader.isEndGroup()) {
7231
7861
  break;
@@ -7234,7 +7864,7 @@ proto.pulumirpc.RegisterPackageResponse.deserializeBinaryFromReader = function(m
7234
7864
  switch (field) {
7235
7865
  case 1:
7236
7866
  var value = /** @type {string} */ (reader.readString());
7237
- msg.setRef(value);
7867
+ msg.setError(value);
7238
7868
  break;
7239
7869
  default:
7240
7870
  reader.skipField();
@@ -7249,9 +7879,9 @@ proto.pulumirpc.RegisterPackageResponse.deserializeBinaryFromReader = function(m
7249
7879
  * Serializes the message to binary data (in protobuf wire format).
7250
7880
  * @return {!Uint8Array}
7251
7881
  */
7252
- proto.pulumirpc.RegisterPackageResponse.prototype.serializeBinary = function() {
7882
+ proto.pulumirpc.ResourceHookResponse.prototype.serializeBinary = function() {
7253
7883
  var writer = new jspb.BinaryWriter();
7254
- proto.pulumirpc.RegisterPackageResponse.serializeBinaryToWriter(this, writer);
7884
+ proto.pulumirpc.ResourceHookResponse.serializeBinaryToWriter(this, writer);
7255
7885
  return writer.getResultBuffer();
7256
7886
  };
7257
7887
 
@@ -7259,13 +7889,13 @@ proto.pulumirpc.RegisterPackageResponse.prototype.serializeBinary = function() {
7259
7889
  /**
7260
7890
  * Serializes the given message to binary data (in protobuf wire
7261
7891
  * format), writing to the given BinaryWriter.
7262
- * @param {!proto.pulumirpc.RegisterPackageResponse} message
7892
+ * @param {!proto.pulumirpc.ResourceHookResponse} message
7263
7893
  * @param {!jspb.BinaryWriter} writer
7264
7894
  * @suppress {unusedLocalVariables} f is only used for nested messages
7265
7895
  */
7266
- proto.pulumirpc.RegisterPackageResponse.serializeBinaryToWriter = function(message, writer) {
7896
+ proto.pulumirpc.ResourceHookResponse.serializeBinaryToWriter = function(message, writer) {
7267
7897
  var f = undefined;
7268
- f = message.getRef();
7898
+ f = message.getError();
7269
7899
  if (f.length > 0) {
7270
7900
  writer.writeString(
7271
7901
  1,
@@ -7276,19 +7906,19 @@ proto.pulumirpc.RegisterPackageResponse.serializeBinaryToWriter = function(messa
7276
7906
 
7277
7907
 
7278
7908
  /**
7279
- * optional string ref = 1;
7909
+ * optional string error = 1;
7280
7910
  * @return {string}
7281
7911
  */
7282
- proto.pulumirpc.RegisterPackageResponse.prototype.getRef = function() {
7912
+ proto.pulumirpc.ResourceHookResponse.prototype.getError = function() {
7283
7913
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
7284
7914
  };
7285
7915
 
7286
7916
 
7287
7917
  /**
7288
7918
  * @param {string} value
7289
- * @return {!proto.pulumirpc.RegisterPackageResponse} returns this
7919
+ * @return {!proto.pulumirpc.ResourceHookResponse} returns this
7290
7920
  */
7291
- proto.pulumirpc.RegisterPackageResponse.prototype.setRef = function(value) {
7921
+ proto.pulumirpc.ResourceHookResponse.prototype.setError = function(value) {
7292
7922
  return jspb.Message.setProto3StringField(this, 1, value);
7293
7923
  };
7294
7924
 
@@ -7309,8 +7939,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
7309
7939
  * http://goto/soy-param-migration
7310
7940
  * @return {!Object}
7311
7941
  */
7312
- proto.pulumirpc.Parameterization.prototype.toObject = function(opt_includeInstance) {
7313
- return proto.pulumirpc.Parameterization.toObject(opt_includeInstance, this);
7942
+ proto.pulumirpc.RegisterPackageRequest.prototype.toObject = function(opt_includeInstance) {
7943
+ return proto.pulumirpc.RegisterPackageRequest.toObject(opt_includeInstance, this);
7314
7944
  };
7315
7945
 
7316
7946
 
@@ -7319,15 +7949,17 @@ proto.pulumirpc.Parameterization.prototype.toObject = function(opt_includeInstan
7319
7949
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7320
7950
  * the JSPB instance for transitional soy proto support:
7321
7951
  * http://goto/soy-param-migration
7322
- * @param {!proto.pulumirpc.Parameterization} msg The msg instance to transform.
7952
+ * @param {!proto.pulumirpc.RegisterPackageRequest} msg The msg instance to transform.
7323
7953
  * @return {!Object}
7324
7954
  * @suppress {unusedLocalVariables} f is only used for nested messages
7325
7955
  */
7326
- proto.pulumirpc.Parameterization.toObject = function(includeInstance, msg) {
7956
+ proto.pulumirpc.RegisterPackageRequest.toObject = function(includeInstance, msg) {
7327
7957
  var f, obj = {
7328
7958
  name: jspb.Message.getFieldWithDefault(msg, 1, ""),
7329
7959
  version: jspb.Message.getFieldWithDefault(msg, 2, ""),
7330
- value: msg.getValue_asB64()
7960
+ downloadUrl: jspb.Message.getFieldWithDefault(msg, 3, ""),
7961
+ checksumsMap: (f = msg.getChecksumsMap()) ? f.toObject(includeInstance, undefined) : [],
7962
+ parameterization: (f = msg.getParameterization()) && proto.pulumirpc.Parameterization.toObject(includeInstance, f)
7331
7963
  };
7332
7964
 
7333
7965
  if (includeInstance) {
@@ -7341,7 +7973,409 @@ proto.pulumirpc.Parameterization.toObject = function(includeInstance, msg) {
7341
7973
  /**
7342
7974
  * Deserializes binary data (in protobuf wire format).
7343
7975
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
7344
- * @return {!proto.pulumirpc.Parameterization}
7976
+ * @return {!proto.pulumirpc.RegisterPackageRequest}
7977
+ */
7978
+ proto.pulumirpc.RegisterPackageRequest.deserializeBinary = function(bytes) {
7979
+ var reader = new jspb.BinaryReader(bytes);
7980
+ var msg = new proto.pulumirpc.RegisterPackageRequest;
7981
+ return proto.pulumirpc.RegisterPackageRequest.deserializeBinaryFromReader(msg, reader);
7982
+ };
7983
+
7984
+
7985
+ /**
7986
+ * Deserializes binary data (in protobuf wire format) from the
7987
+ * given reader into the given message object.
7988
+ * @param {!proto.pulumirpc.RegisterPackageRequest} msg The message object to deserialize into.
7989
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7990
+ * @return {!proto.pulumirpc.RegisterPackageRequest}
7991
+ */
7992
+ proto.pulumirpc.RegisterPackageRequest.deserializeBinaryFromReader = function(msg, reader) {
7993
+ while (reader.nextField()) {
7994
+ if (reader.isEndGroup()) {
7995
+ break;
7996
+ }
7997
+ var field = reader.getFieldNumber();
7998
+ switch (field) {
7999
+ case 1:
8000
+ var value = /** @type {string} */ (reader.readString());
8001
+ msg.setName(value);
8002
+ break;
8003
+ case 2:
8004
+ var value = /** @type {string} */ (reader.readString());
8005
+ msg.setVersion(value);
8006
+ break;
8007
+ case 3:
8008
+ var value = /** @type {string} */ (reader.readString());
8009
+ msg.setDownloadUrl(value);
8010
+ break;
8011
+ case 4:
8012
+ var value = msg.getChecksumsMap();
8013
+ reader.readMessage(value, function(message, reader) {
8014
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBytes, null, "", "");
8015
+ });
8016
+ break;
8017
+ case 5:
8018
+ var value = new proto.pulumirpc.Parameterization;
8019
+ reader.readMessage(value,proto.pulumirpc.Parameterization.deserializeBinaryFromReader);
8020
+ msg.setParameterization(value);
8021
+ break;
8022
+ default:
8023
+ reader.skipField();
8024
+ break;
8025
+ }
8026
+ }
8027
+ return msg;
8028
+ };
8029
+
8030
+
8031
+ /**
8032
+ * Serializes the message to binary data (in protobuf wire format).
8033
+ * @return {!Uint8Array}
8034
+ */
8035
+ proto.pulumirpc.RegisterPackageRequest.prototype.serializeBinary = function() {
8036
+ var writer = new jspb.BinaryWriter();
8037
+ proto.pulumirpc.RegisterPackageRequest.serializeBinaryToWriter(this, writer);
8038
+ return writer.getResultBuffer();
8039
+ };
8040
+
8041
+
8042
+ /**
8043
+ * Serializes the given message to binary data (in protobuf wire
8044
+ * format), writing to the given BinaryWriter.
8045
+ * @param {!proto.pulumirpc.RegisterPackageRequest} message
8046
+ * @param {!jspb.BinaryWriter} writer
8047
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8048
+ */
8049
+ proto.pulumirpc.RegisterPackageRequest.serializeBinaryToWriter = function(message, writer) {
8050
+ var f = undefined;
8051
+ f = message.getName();
8052
+ if (f.length > 0) {
8053
+ writer.writeString(
8054
+ 1,
8055
+ f
8056
+ );
8057
+ }
8058
+ f = message.getVersion();
8059
+ if (f.length > 0) {
8060
+ writer.writeString(
8061
+ 2,
8062
+ f
8063
+ );
8064
+ }
8065
+ f = message.getDownloadUrl();
8066
+ if (f.length > 0) {
8067
+ writer.writeString(
8068
+ 3,
8069
+ f
8070
+ );
8071
+ }
8072
+ f = message.getChecksumsMap(true);
8073
+ if (f && f.getLength() > 0) {
8074
+ f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBytes);
8075
+ }
8076
+ f = message.getParameterization();
8077
+ if (f != null) {
8078
+ writer.writeMessage(
8079
+ 5,
8080
+ f,
8081
+ proto.pulumirpc.Parameterization.serializeBinaryToWriter
8082
+ );
8083
+ }
8084
+ };
8085
+
8086
+
8087
+ /**
8088
+ * optional string name = 1;
8089
+ * @return {string}
8090
+ */
8091
+ proto.pulumirpc.RegisterPackageRequest.prototype.getName = function() {
8092
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
8093
+ };
8094
+
8095
+
8096
+ /**
8097
+ * @param {string} value
8098
+ * @return {!proto.pulumirpc.RegisterPackageRequest} returns this
8099
+ */
8100
+ proto.pulumirpc.RegisterPackageRequest.prototype.setName = function(value) {
8101
+ return jspb.Message.setProto3StringField(this, 1, value);
8102
+ };
8103
+
8104
+
8105
+ /**
8106
+ * optional string version = 2;
8107
+ * @return {string}
8108
+ */
8109
+ proto.pulumirpc.RegisterPackageRequest.prototype.getVersion = function() {
8110
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
8111
+ };
8112
+
8113
+
8114
+ /**
8115
+ * @param {string} value
8116
+ * @return {!proto.pulumirpc.RegisterPackageRequest} returns this
8117
+ */
8118
+ proto.pulumirpc.RegisterPackageRequest.prototype.setVersion = function(value) {
8119
+ return jspb.Message.setProto3StringField(this, 2, value);
8120
+ };
8121
+
8122
+
8123
+ /**
8124
+ * optional string download_url = 3;
8125
+ * @return {string}
8126
+ */
8127
+ proto.pulumirpc.RegisterPackageRequest.prototype.getDownloadUrl = function() {
8128
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
8129
+ };
8130
+
8131
+
8132
+ /**
8133
+ * @param {string} value
8134
+ * @return {!proto.pulumirpc.RegisterPackageRequest} returns this
8135
+ */
8136
+ proto.pulumirpc.RegisterPackageRequest.prototype.setDownloadUrl = function(value) {
8137
+ return jspb.Message.setProto3StringField(this, 3, value);
8138
+ };
8139
+
8140
+
8141
+ /**
8142
+ * map<string, bytes> checksums = 4;
8143
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
8144
+ * empty, instead returning `undefined`
8145
+ * @return {!jspb.Map<string,!(string|Uint8Array)>}
8146
+ */
8147
+ proto.pulumirpc.RegisterPackageRequest.prototype.getChecksumsMap = function(opt_noLazyCreate) {
8148
+ return /** @type {!jspb.Map<string,!(string|Uint8Array)>} */ (
8149
+ jspb.Message.getMapField(this, 4, opt_noLazyCreate,
8150
+ null));
8151
+ };
8152
+
8153
+
8154
+ /**
8155
+ * Clears values from the map. The map will be non-null.
8156
+ * @return {!proto.pulumirpc.RegisterPackageRequest} returns this
8157
+ */
8158
+ proto.pulumirpc.RegisterPackageRequest.prototype.clearChecksumsMap = function() {
8159
+ this.getChecksumsMap().clear();
8160
+ return this;};
8161
+
8162
+
8163
+ /**
8164
+ * optional Parameterization parameterization = 5;
8165
+ * @return {?proto.pulumirpc.Parameterization}
8166
+ */
8167
+ proto.pulumirpc.RegisterPackageRequest.prototype.getParameterization = function() {
8168
+ return /** @type{?proto.pulumirpc.Parameterization} */ (
8169
+ jspb.Message.getWrapperField(this, proto.pulumirpc.Parameterization, 5));
8170
+ };
8171
+
8172
+
8173
+ /**
8174
+ * @param {?proto.pulumirpc.Parameterization|undefined} value
8175
+ * @return {!proto.pulumirpc.RegisterPackageRequest} returns this
8176
+ */
8177
+ proto.pulumirpc.RegisterPackageRequest.prototype.setParameterization = function(value) {
8178
+ return jspb.Message.setWrapperField(this, 5, value);
8179
+ };
8180
+
8181
+
8182
+ /**
8183
+ * Clears the message field making it undefined.
8184
+ * @return {!proto.pulumirpc.RegisterPackageRequest} returns this
8185
+ */
8186
+ proto.pulumirpc.RegisterPackageRequest.prototype.clearParameterization = function() {
8187
+ return this.setParameterization(undefined);
8188
+ };
8189
+
8190
+
8191
+ /**
8192
+ * Returns whether this field is set.
8193
+ * @return {boolean}
8194
+ */
8195
+ proto.pulumirpc.RegisterPackageRequest.prototype.hasParameterization = function() {
8196
+ return jspb.Message.getField(this, 5) != null;
8197
+ };
8198
+
8199
+
8200
+
8201
+
8202
+
8203
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8204
+ /**
8205
+ * Creates an object representation of this proto.
8206
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8207
+ * Optional fields that are not set will be set to undefined.
8208
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8209
+ * For the list of reserved names please see:
8210
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8211
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8212
+ * JSPB instance for transitional soy proto support:
8213
+ * http://goto/soy-param-migration
8214
+ * @return {!Object}
8215
+ */
8216
+ proto.pulumirpc.RegisterPackageResponse.prototype.toObject = function(opt_includeInstance) {
8217
+ return proto.pulumirpc.RegisterPackageResponse.toObject(opt_includeInstance, this);
8218
+ };
8219
+
8220
+
8221
+ /**
8222
+ * Static version of the {@see toObject} method.
8223
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8224
+ * the JSPB instance for transitional soy proto support:
8225
+ * http://goto/soy-param-migration
8226
+ * @param {!proto.pulumirpc.RegisterPackageResponse} msg The msg instance to transform.
8227
+ * @return {!Object}
8228
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8229
+ */
8230
+ proto.pulumirpc.RegisterPackageResponse.toObject = function(includeInstance, msg) {
8231
+ var f, obj = {
8232
+ ref: jspb.Message.getFieldWithDefault(msg, 1, "")
8233
+ };
8234
+
8235
+ if (includeInstance) {
8236
+ obj.$jspbMessageInstance = msg;
8237
+ }
8238
+ return obj;
8239
+ };
8240
+ }
8241
+
8242
+
8243
+ /**
8244
+ * Deserializes binary data (in protobuf wire format).
8245
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8246
+ * @return {!proto.pulumirpc.RegisterPackageResponse}
8247
+ */
8248
+ proto.pulumirpc.RegisterPackageResponse.deserializeBinary = function(bytes) {
8249
+ var reader = new jspb.BinaryReader(bytes);
8250
+ var msg = new proto.pulumirpc.RegisterPackageResponse;
8251
+ return proto.pulumirpc.RegisterPackageResponse.deserializeBinaryFromReader(msg, reader);
8252
+ };
8253
+
8254
+
8255
+ /**
8256
+ * Deserializes binary data (in protobuf wire format) from the
8257
+ * given reader into the given message object.
8258
+ * @param {!proto.pulumirpc.RegisterPackageResponse} msg The message object to deserialize into.
8259
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8260
+ * @return {!proto.pulumirpc.RegisterPackageResponse}
8261
+ */
8262
+ proto.pulumirpc.RegisterPackageResponse.deserializeBinaryFromReader = function(msg, reader) {
8263
+ while (reader.nextField()) {
8264
+ if (reader.isEndGroup()) {
8265
+ break;
8266
+ }
8267
+ var field = reader.getFieldNumber();
8268
+ switch (field) {
8269
+ case 1:
8270
+ var value = /** @type {string} */ (reader.readString());
8271
+ msg.setRef(value);
8272
+ break;
8273
+ default:
8274
+ reader.skipField();
8275
+ break;
8276
+ }
8277
+ }
8278
+ return msg;
8279
+ };
8280
+
8281
+
8282
+ /**
8283
+ * Serializes the message to binary data (in protobuf wire format).
8284
+ * @return {!Uint8Array}
8285
+ */
8286
+ proto.pulumirpc.RegisterPackageResponse.prototype.serializeBinary = function() {
8287
+ var writer = new jspb.BinaryWriter();
8288
+ proto.pulumirpc.RegisterPackageResponse.serializeBinaryToWriter(this, writer);
8289
+ return writer.getResultBuffer();
8290
+ };
8291
+
8292
+
8293
+ /**
8294
+ * Serializes the given message to binary data (in protobuf wire
8295
+ * format), writing to the given BinaryWriter.
8296
+ * @param {!proto.pulumirpc.RegisterPackageResponse} message
8297
+ * @param {!jspb.BinaryWriter} writer
8298
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8299
+ */
8300
+ proto.pulumirpc.RegisterPackageResponse.serializeBinaryToWriter = function(message, writer) {
8301
+ var f = undefined;
8302
+ f = message.getRef();
8303
+ if (f.length > 0) {
8304
+ writer.writeString(
8305
+ 1,
8306
+ f
8307
+ );
8308
+ }
8309
+ };
8310
+
8311
+
8312
+ /**
8313
+ * optional string ref = 1;
8314
+ * @return {string}
8315
+ */
8316
+ proto.pulumirpc.RegisterPackageResponse.prototype.getRef = function() {
8317
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
8318
+ };
8319
+
8320
+
8321
+ /**
8322
+ * @param {string} value
8323
+ * @return {!proto.pulumirpc.RegisterPackageResponse} returns this
8324
+ */
8325
+ proto.pulumirpc.RegisterPackageResponse.prototype.setRef = function(value) {
8326
+ return jspb.Message.setProto3StringField(this, 1, value);
8327
+ };
8328
+
8329
+
8330
+
8331
+
8332
+
8333
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8334
+ /**
8335
+ * Creates an object representation of this proto.
8336
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8337
+ * Optional fields that are not set will be set to undefined.
8338
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8339
+ * For the list of reserved names please see:
8340
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8341
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8342
+ * JSPB instance for transitional soy proto support:
8343
+ * http://goto/soy-param-migration
8344
+ * @return {!Object}
8345
+ */
8346
+ proto.pulumirpc.Parameterization.prototype.toObject = function(opt_includeInstance) {
8347
+ return proto.pulumirpc.Parameterization.toObject(opt_includeInstance, this);
8348
+ };
8349
+
8350
+
8351
+ /**
8352
+ * Static version of the {@see toObject} method.
8353
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8354
+ * the JSPB instance for transitional soy proto support:
8355
+ * http://goto/soy-param-migration
8356
+ * @param {!proto.pulumirpc.Parameterization} msg The msg instance to transform.
8357
+ * @return {!Object}
8358
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8359
+ */
8360
+ proto.pulumirpc.Parameterization.toObject = function(includeInstance, msg) {
8361
+ var f, obj = {
8362
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
8363
+ version: jspb.Message.getFieldWithDefault(msg, 2, ""),
8364
+ value: msg.getValue_asB64()
8365
+ };
8366
+
8367
+ if (includeInstance) {
8368
+ obj.$jspbMessageInstance = msg;
8369
+ }
8370
+ return obj;
8371
+ };
8372
+ }
8373
+
8374
+
8375
+ /**
8376
+ * Deserializes binary data (in protobuf wire format).
8377
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8378
+ * @return {!proto.pulumirpc.Parameterization}
7345
8379
  */
7346
8380
  proto.pulumirpc.Parameterization.deserializeBinary = function(bytes) {
7347
8381
  var reader = new jspb.BinaryReader(bytes);
@@ -7507,6 +8541,217 @@ proto.pulumirpc.Parameterization.prototype.setValue = function(value) {
7507
8541
  };
7508
8542
 
7509
8543
 
8544
+
8545
+
8546
+
8547
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8548
+ /**
8549
+ * Creates an object representation of this proto.
8550
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8551
+ * Optional fields that are not set will be set to undefined.
8552
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8553
+ * For the list of reserved names please see:
8554
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8555
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8556
+ * JSPB instance for transitional soy proto support:
8557
+ * http://goto/soy-param-migration
8558
+ * @return {!Object}
8559
+ */
8560
+ proto.pulumirpc.RegisterResourceHookRequest.prototype.toObject = function(opt_includeInstance) {
8561
+ return proto.pulumirpc.RegisterResourceHookRequest.toObject(opt_includeInstance, this);
8562
+ };
8563
+
8564
+
8565
+ /**
8566
+ * Static version of the {@see toObject} method.
8567
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8568
+ * the JSPB instance for transitional soy proto support:
8569
+ * http://goto/soy-param-migration
8570
+ * @param {!proto.pulumirpc.RegisterResourceHookRequest} msg The msg instance to transform.
8571
+ * @return {!Object}
8572
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8573
+ */
8574
+ proto.pulumirpc.RegisterResourceHookRequest.toObject = function(includeInstance, msg) {
8575
+ var f, obj = {
8576
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
8577
+ callback: (f = msg.getCallback()) && pulumi_callback_pb.Callback.toObject(includeInstance, f),
8578
+ onDryRun: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
8579
+ };
8580
+
8581
+ if (includeInstance) {
8582
+ obj.$jspbMessageInstance = msg;
8583
+ }
8584
+ return obj;
8585
+ };
8586
+ }
8587
+
8588
+
8589
+ /**
8590
+ * Deserializes binary data (in protobuf wire format).
8591
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8592
+ * @return {!proto.pulumirpc.RegisterResourceHookRequest}
8593
+ */
8594
+ proto.pulumirpc.RegisterResourceHookRequest.deserializeBinary = function(bytes) {
8595
+ var reader = new jspb.BinaryReader(bytes);
8596
+ var msg = new proto.pulumirpc.RegisterResourceHookRequest;
8597
+ return proto.pulumirpc.RegisterResourceHookRequest.deserializeBinaryFromReader(msg, reader);
8598
+ };
8599
+
8600
+
8601
+ /**
8602
+ * Deserializes binary data (in protobuf wire format) from the
8603
+ * given reader into the given message object.
8604
+ * @param {!proto.pulumirpc.RegisterResourceHookRequest} msg The message object to deserialize into.
8605
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8606
+ * @return {!proto.pulumirpc.RegisterResourceHookRequest}
8607
+ */
8608
+ proto.pulumirpc.RegisterResourceHookRequest.deserializeBinaryFromReader = function(msg, reader) {
8609
+ while (reader.nextField()) {
8610
+ if (reader.isEndGroup()) {
8611
+ break;
8612
+ }
8613
+ var field = reader.getFieldNumber();
8614
+ switch (field) {
8615
+ case 1:
8616
+ var value = /** @type {string} */ (reader.readString());
8617
+ msg.setName(value);
8618
+ break;
8619
+ case 2:
8620
+ var value = new pulumi_callback_pb.Callback;
8621
+ reader.readMessage(value,pulumi_callback_pb.Callback.deserializeBinaryFromReader);
8622
+ msg.setCallback(value);
8623
+ break;
8624
+ case 3:
8625
+ var value = /** @type {boolean} */ (reader.readBool());
8626
+ msg.setOnDryRun(value);
8627
+ break;
8628
+ default:
8629
+ reader.skipField();
8630
+ break;
8631
+ }
8632
+ }
8633
+ return msg;
8634
+ };
8635
+
8636
+
8637
+ /**
8638
+ * Serializes the message to binary data (in protobuf wire format).
8639
+ * @return {!Uint8Array}
8640
+ */
8641
+ proto.pulumirpc.RegisterResourceHookRequest.prototype.serializeBinary = function() {
8642
+ var writer = new jspb.BinaryWriter();
8643
+ proto.pulumirpc.RegisterResourceHookRequest.serializeBinaryToWriter(this, writer);
8644
+ return writer.getResultBuffer();
8645
+ };
8646
+
8647
+
8648
+ /**
8649
+ * Serializes the given message to binary data (in protobuf wire
8650
+ * format), writing to the given BinaryWriter.
8651
+ * @param {!proto.pulumirpc.RegisterResourceHookRequest} message
8652
+ * @param {!jspb.BinaryWriter} writer
8653
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8654
+ */
8655
+ proto.pulumirpc.RegisterResourceHookRequest.serializeBinaryToWriter = function(message, writer) {
8656
+ var f = undefined;
8657
+ f = message.getName();
8658
+ if (f.length > 0) {
8659
+ writer.writeString(
8660
+ 1,
8661
+ f
8662
+ );
8663
+ }
8664
+ f = message.getCallback();
8665
+ if (f != null) {
8666
+ writer.writeMessage(
8667
+ 2,
8668
+ f,
8669
+ pulumi_callback_pb.Callback.serializeBinaryToWriter
8670
+ );
8671
+ }
8672
+ f = message.getOnDryRun();
8673
+ if (f) {
8674
+ writer.writeBool(
8675
+ 3,
8676
+ f
8677
+ );
8678
+ }
8679
+ };
8680
+
8681
+
8682
+ /**
8683
+ * optional string name = 1;
8684
+ * @return {string}
8685
+ */
8686
+ proto.pulumirpc.RegisterResourceHookRequest.prototype.getName = function() {
8687
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
8688
+ };
8689
+
8690
+
8691
+ /**
8692
+ * @param {string} value
8693
+ * @return {!proto.pulumirpc.RegisterResourceHookRequest} returns this
8694
+ */
8695
+ proto.pulumirpc.RegisterResourceHookRequest.prototype.setName = function(value) {
8696
+ return jspb.Message.setProto3StringField(this, 1, value);
8697
+ };
8698
+
8699
+
8700
+ /**
8701
+ * optional Callback callback = 2;
8702
+ * @return {?proto.pulumirpc.Callback}
8703
+ */
8704
+ proto.pulumirpc.RegisterResourceHookRequest.prototype.getCallback = function() {
8705
+ return /** @type{?proto.pulumirpc.Callback} */ (
8706
+ jspb.Message.getWrapperField(this, pulumi_callback_pb.Callback, 2));
8707
+ };
8708
+
8709
+
8710
+ /**
8711
+ * @param {?proto.pulumirpc.Callback|undefined} value
8712
+ * @return {!proto.pulumirpc.RegisterResourceHookRequest} returns this
8713
+ */
8714
+ proto.pulumirpc.RegisterResourceHookRequest.prototype.setCallback = function(value) {
8715
+ return jspb.Message.setWrapperField(this, 2, value);
8716
+ };
8717
+
8718
+
8719
+ /**
8720
+ * Clears the message field making it undefined.
8721
+ * @return {!proto.pulumirpc.RegisterResourceHookRequest} returns this
8722
+ */
8723
+ proto.pulumirpc.RegisterResourceHookRequest.prototype.clearCallback = function() {
8724
+ return this.setCallback(undefined);
8725
+ };
8726
+
8727
+
8728
+ /**
8729
+ * Returns whether this field is set.
8730
+ * @return {boolean}
8731
+ */
8732
+ proto.pulumirpc.RegisterResourceHookRequest.prototype.hasCallback = function() {
8733
+ return jspb.Message.getField(this, 2) != null;
8734
+ };
8735
+
8736
+
8737
+ /**
8738
+ * optional bool on_dry_run = 3;
8739
+ * @return {boolean}
8740
+ */
8741
+ proto.pulumirpc.RegisterResourceHookRequest.prototype.getOnDryRun = function() {
8742
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
8743
+ };
8744
+
8745
+
8746
+ /**
8747
+ * @param {boolean} value
8748
+ * @return {!proto.pulumirpc.RegisterResourceHookRequest} returns this
8749
+ */
8750
+ proto.pulumirpc.RegisterResourceHookRequest.prototype.setOnDryRun = function(value) {
8751
+ return jspb.Message.setProto3BooleanField(this, 3, value);
8752
+ };
8753
+
8754
+
7510
8755
  /**
7511
8756
  * @enum {number}
7512
8757
  */