@pulumi/pulumi 3.168.0-alpha.x5b05608 → 3.168.0-alpha.x7d04a0e

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.
@@ -67,6 +67,7 @@ goog.exportSymbol('proto.pulumirpc.ReadRequest', null, global);
67
67
  goog.exportSymbol('proto.pulumirpc.ReadResponse', null, global);
68
68
  goog.exportSymbol('proto.pulumirpc.UpdateRequest', null, global);
69
69
  goog.exportSymbol('proto.pulumirpc.UpdateResponse', null, global);
70
+ goog.exportSymbol('proto.pulumirpc.View', null, global);
70
71
  /**
71
72
  * Generated by JsPbCodeGenerator.
72
73
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -645,7 +646,7 @@ if (goog.DEBUG && !COMPILED) {
645
646
  * @constructor
646
647
  */
647
648
  proto.pulumirpc.ReadRequest = function(opt_data) {
648
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
649
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.ReadRequest.repeatedFields_, null);
649
650
  };
650
651
  goog.inherits(proto.pulumirpc.ReadRequest, jspb.Message);
651
652
  if (goog.DEBUG && !COMPILED) {
@@ -729,7 +730,7 @@ if (goog.DEBUG && !COMPILED) {
729
730
  * @constructor
730
731
  */
731
732
  proto.pulumirpc.DeleteRequest = function(opt_data) {
732
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
733
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.DeleteRequest.repeatedFields_, null);
733
734
  };
734
735
  goog.inherits(proto.pulumirpc.DeleteRequest, jspb.Message);
735
736
  if (goog.DEBUG && !COMPILED) {
@@ -949,6 +950,27 @@ if (goog.DEBUG && !COMPILED) {
949
950
  */
950
951
  proto.pulumirpc.GetMappingsResponse.displayName = 'proto.pulumirpc.GetMappingsResponse';
951
952
  }
953
+ /**
954
+ * Generated by JsPbCodeGenerator.
955
+ * @param {Array=} opt_data Optional initial data array, typically from a
956
+ * server response, or constructed directly in Javascript. The array is used
957
+ * in place and becomes part of the constructed object. It is not cloned.
958
+ * If no data is provided, the constructed object will be empty, but still
959
+ * valid.
960
+ * @extends {jspb.Message}
961
+ * @constructor
962
+ */
963
+ proto.pulumirpc.View = function(opt_data) {
964
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
965
+ };
966
+ goog.inherits(proto.pulumirpc.View, jspb.Message);
967
+ if (goog.DEBUG && !COMPILED) {
968
+ /**
969
+ * @public
970
+ * @override
971
+ */
972
+ proto.pulumirpc.View.displayName = 'proto.pulumirpc.View';
973
+ }
952
974
 
953
975
 
954
976
 
@@ -984,7 +1006,8 @@ proto.pulumirpc.ProviderHandshakeRequest.toObject = function(includeInstance, ms
984
1006
  engineAddress: jspb.Message.getFieldWithDefault(msg, 1, ""),
985
1007
  rootDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
986
1008
  programDirectory: jspb.Message.getFieldWithDefault(msg, 3, ""),
987
- configureWithUrn: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
1009
+ configureWithUrn: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
1010
+ supportsViews: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
988
1011
  };
989
1012
 
990
1013
  if (includeInstance) {
@@ -1037,6 +1060,10 @@ proto.pulumirpc.ProviderHandshakeRequest.deserializeBinaryFromReader = function(
1037
1060
  var value = /** @type {boolean} */ (reader.readBool());
1038
1061
  msg.setConfigureWithUrn(value);
1039
1062
  break;
1063
+ case 5:
1064
+ var value = /** @type {boolean} */ (reader.readBool());
1065
+ msg.setSupportsViews(value);
1066
+ break;
1040
1067
  default:
1041
1068
  reader.skipField();
1042
1069
  break;
@@ -1094,6 +1121,13 @@ proto.pulumirpc.ProviderHandshakeRequest.serializeBinaryToWriter = function(mess
1094
1121
  f
1095
1122
  );
1096
1123
  }
1124
+ f = message.getSupportsViews();
1125
+ if (f) {
1126
+ writer.writeBool(
1127
+ 5,
1128
+ f
1129
+ );
1130
+ }
1097
1131
  };
1098
1132
 
1099
1133
 
@@ -1205,6 +1239,24 @@ proto.pulumirpc.ProviderHandshakeRequest.prototype.setConfigureWithUrn = functio
1205
1239
  };
1206
1240
 
1207
1241
 
1242
+ /**
1243
+ * optional bool supports_views = 5;
1244
+ * @return {boolean}
1245
+ */
1246
+ proto.pulumirpc.ProviderHandshakeRequest.prototype.getSupportsViews = function() {
1247
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
1248
+ };
1249
+
1250
+
1251
+ /**
1252
+ * @param {boolean} value
1253
+ * @return {!proto.pulumirpc.ProviderHandshakeRequest} returns this
1254
+ */
1255
+ proto.pulumirpc.ProviderHandshakeRequest.prototype.setSupportsViews = function(value) {
1256
+ return jspb.Message.setProto3BooleanField(this, 5, value);
1257
+ };
1258
+
1259
+
1208
1260
 
1209
1261
 
1210
1262
 
@@ -6991,7 +7043,9 @@ proto.pulumirpc.CreateRequest.toObject = function(includeInstance, msg) {
6991
7043
  timeout: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
6992
7044
  preview: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
6993
7045
  name: jspb.Message.getFieldWithDefault(msg, 5, ""),
6994
- type: jspb.Message.getFieldWithDefault(msg, 6, "")
7046
+ type: jspb.Message.getFieldWithDefault(msg, 6, ""),
7047
+ resourceStatusAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
7048
+ resourceStatusToken: jspb.Message.getFieldWithDefault(msg, 8, "")
6995
7049
  };
6996
7050
 
6997
7051
  if (includeInstance) {
@@ -7053,6 +7107,14 @@ proto.pulumirpc.CreateRequest.deserializeBinaryFromReader = function(msg, reader
7053
7107
  var value = /** @type {string} */ (reader.readString());
7054
7108
  msg.setType(value);
7055
7109
  break;
7110
+ case 7:
7111
+ var value = /** @type {string} */ (reader.readString());
7112
+ msg.setResourceStatusAddress(value);
7113
+ break;
7114
+ case 8:
7115
+ var value = /** @type {string} */ (reader.readString());
7116
+ msg.setResourceStatusToken(value);
7117
+ break;
7056
7118
  default:
7057
7119
  reader.skipField();
7058
7120
  break;
@@ -7125,6 +7187,20 @@ proto.pulumirpc.CreateRequest.serializeBinaryToWriter = function(message, writer
7125
7187
  f
7126
7188
  );
7127
7189
  }
7190
+ f = message.getResourceStatusAddress();
7191
+ if (f.length > 0) {
7192
+ writer.writeString(
7193
+ 7,
7194
+ f
7195
+ );
7196
+ }
7197
+ f = message.getResourceStatusToken();
7198
+ if (f.length > 0) {
7199
+ writer.writeString(
7200
+ 8,
7201
+ f
7202
+ );
7203
+ }
7128
7204
  };
7129
7205
 
7130
7206
 
@@ -7255,6 +7331,42 @@ proto.pulumirpc.CreateRequest.prototype.setType = function(value) {
7255
7331
  };
7256
7332
 
7257
7333
 
7334
+ /**
7335
+ * optional string resource_status_address = 7;
7336
+ * @return {string}
7337
+ */
7338
+ proto.pulumirpc.CreateRequest.prototype.getResourceStatusAddress = function() {
7339
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
7340
+ };
7341
+
7342
+
7343
+ /**
7344
+ * @param {string} value
7345
+ * @return {!proto.pulumirpc.CreateRequest} returns this
7346
+ */
7347
+ proto.pulumirpc.CreateRequest.prototype.setResourceStatusAddress = function(value) {
7348
+ return jspb.Message.setProto3StringField(this, 7, value);
7349
+ };
7350
+
7351
+
7352
+ /**
7353
+ * optional string resource_status_token = 8;
7354
+ * @return {string}
7355
+ */
7356
+ proto.pulumirpc.CreateRequest.prototype.getResourceStatusToken = function() {
7357
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
7358
+ };
7359
+
7360
+
7361
+ /**
7362
+ * @param {string} value
7363
+ * @return {!proto.pulumirpc.CreateRequest} returns this
7364
+ */
7365
+ proto.pulumirpc.CreateRequest.prototype.setResourceStatusToken = function(value) {
7366
+ return jspb.Message.setProto3StringField(this, 8, value);
7367
+ };
7368
+
7369
+
7258
7370
 
7259
7371
 
7260
7372
 
@@ -7437,6 +7549,13 @@ proto.pulumirpc.CreateResponse.prototype.hasProperties = function() {
7437
7549
 
7438
7550
 
7439
7551
 
7552
+ /**
7553
+ * List of repeated fields within this message type.
7554
+ * @private {!Array<number>}
7555
+ * @const
7556
+ */
7557
+ proto.pulumirpc.ReadRequest.repeatedFields_ = [9];
7558
+
7440
7559
 
7441
7560
 
7442
7561
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -7473,7 +7592,11 @@ proto.pulumirpc.ReadRequest.toObject = function(includeInstance, msg) {
7473
7592
  properties: (f = msg.getProperties()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
7474
7593
  inputs: (f = msg.getInputs()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
7475
7594
  name: jspb.Message.getFieldWithDefault(msg, 5, ""),
7476
- type: jspb.Message.getFieldWithDefault(msg, 6, "")
7595
+ type: jspb.Message.getFieldWithDefault(msg, 6, ""),
7596
+ resourceStatusAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
7597
+ resourceStatusToken: jspb.Message.getFieldWithDefault(msg, 8, ""),
7598
+ oldViewsList: jspb.Message.toObjectList(msg.getOldViewsList(),
7599
+ proto.pulumirpc.View.toObject, includeInstance)
7477
7600
  };
7478
7601
 
7479
7602
  if (includeInstance) {
@@ -7536,6 +7659,19 @@ proto.pulumirpc.ReadRequest.deserializeBinaryFromReader = function(msg, reader)
7536
7659
  var value = /** @type {string} */ (reader.readString());
7537
7660
  msg.setType(value);
7538
7661
  break;
7662
+ case 7:
7663
+ var value = /** @type {string} */ (reader.readString());
7664
+ msg.setResourceStatusAddress(value);
7665
+ break;
7666
+ case 8:
7667
+ var value = /** @type {string} */ (reader.readString());
7668
+ msg.setResourceStatusToken(value);
7669
+ break;
7670
+ case 9:
7671
+ var value = new proto.pulumirpc.View;
7672
+ reader.readMessage(value,proto.pulumirpc.View.deserializeBinaryFromReader);
7673
+ msg.addOldViews(value);
7674
+ break;
7539
7675
  default:
7540
7676
  reader.skipField();
7541
7677
  break;
@@ -7609,6 +7745,28 @@ proto.pulumirpc.ReadRequest.serializeBinaryToWriter = function(message, writer)
7609
7745
  f
7610
7746
  );
7611
7747
  }
7748
+ f = message.getResourceStatusAddress();
7749
+ if (f.length > 0) {
7750
+ writer.writeString(
7751
+ 7,
7752
+ f
7753
+ );
7754
+ }
7755
+ f = message.getResourceStatusToken();
7756
+ if (f.length > 0) {
7757
+ writer.writeString(
7758
+ 8,
7759
+ f
7760
+ );
7761
+ }
7762
+ f = message.getOldViewsList();
7763
+ if (f.length > 0) {
7764
+ writer.writeRepeatedMessage(
7765
+ 9,
7766
+ f,
7767
+ proto.pulumirpc.View.serializeBinaryToWriter
7768
+ );
7769
+ }
7612
7770
  };
7613
7771
 
7614
7772
 
@@ -7758,6 +7916,80 @@ proto.pulumirpc.ReadRequest.prototype.setType = function(value) {
7758
7916
  };
7759
7917
 
7760
7918
 
7919
+ /**
7920
+ * optional string resource_status_address = 7;
7921
+ * @return {string}
7922
+ */
7923
+ proto.pulumirpc.ReadRequest.prototype.getResourceStatusAddress = function() {
7924
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
7925
+ };
7926
+
7927
+
7928
+ /**
7929
+ * @param {string} value
7930
+ * @return {!proto.pulumirpc.ReadRequest} returns this
7931
+ */
7932
+ proto.pulumirpc.ReadRequest.prototype.setResourceStatusAddress = function(value) {
7933
+ return jspb.Message.setProto3StringField(this, 7, value);
7934
+ };
7935
+
7936
+
7937
+ /**
7938
+ * optional string resource_status_token = 8;
7939
+ * @return {string}
7940
+ */
7941
+ proto.pulumirpc.ReadRequest.prototype.getResourceStatusToken = function() {
7942
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
7943
+ };
7944
+
7945
+
7946
+ /**
7947
+ * @param {string} value
7948
+ * @return {!proto.pulumirpc.ReadRequest} returns this
7949
+ */
7950
+ proto.pulumirpc.ReadRequest.prototype.setResourceStatusToken = function(value) {
7951
+ return jspb.Message.setProto3StringField(this, 8, value);
7952
+ };
7953
+
7954
+
7955
+ /**
7956
+ * repeated View old_views = 9;
7957
+ * @return {!Array<!proto.pulumirpc.View>}
7958
+ */
7959
+ proto.pulumirpc.ReadRequest.prototype.getOldViewsList = function() {
7960
+ return /** @type{!Array<!proto.pulumirpc.View>} */ (
7961
+ jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.View, 9));
7962
+ };
7963
+
7964
+
7965
+ /**
7966
+ * @param {!Array<!proto.pulumirpc.View>} value
7967
+ * @return {!proto.pulumirpc.ReadRequest} returns this
7968
+ */
7969
+ proto.pulumirpc.ReadRequest.prototype.setOldViewsList = function(value) {
7970
+ return jspb.Message.setRepeatedWrapperField(this, 9, value);
7971
+ };
7972
+
7973
+
7974
+ /**
7975
+ * @param {!proto.pulumirpc.View=} opt_value
7976
+ * @param {number=} opt_index
7977
+ * @return {!proto.pulumirpc.View}
7978
+ */
7979
+ proto.pulumirpc.ReadRequest.prototype.addOldViews = function(opt_value, opt_index) {
7980
+ return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.pulumirpc.View, opt_index);
7981
+ };
7982
+
7983
+
7984
+ /**
7985
+ * Clears the list making it empty but non-null.
7986
+ * @return {!proto.pulumirpc.ReadRequest} returns this
7987
+ */
7988
+ proto.pulumirpc.ReadRequest.prototype.clearOldViewsList = function() {
7989
+ return this.setOldViewsList([]);
7990
+ };
7991
+
7992
+
7761
7993
 
7762
7994
 
7763
7995
 
@@ -7996,7 +8228,7 @@ proto.pulumirpc.ReadResponse.prototype.hasInputs = function() {
7996
8228
  * @private {!Array<number>}
7997
8229
  * @const
7998
8230
  */
7999
- proto.pulumirpc.UpdateRequest.repeatedFields_ = [6];
8231
+ proto.pulumirpc.UpdateRequest.repeatedFields_ = [6,13];
8000
8232
 
8001
8233
 
8002
8234
 
@@ -8038,7 +8270,11 @@ proto.pulumirpc.UpdateRequest.toObject = function(includeInstance, msg) {
8038
8270
  preview: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
8039
8271
  oldInputs: (f = msg.getOldInputs()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
8040
8272
  name: jspb.Message.getFieldWithDefault(msg, 9, ""),
8041
- type: jspb.Message.getFieldWithDefault(msg, 10, "")
8273
+ type: jspb.Message.getFieldWithDefault(msg, 10, ""),
8274
+ resourceStatusAddress: jspb.Message.getFieldWithDefault(msg, 11, ""),
8275
+ resourceStatusToken: jspb.Message.getFieldWithDefault(msg, 12, ""),
8276
+ oldViewsList: jspb.Message.toObjectList(msg.getOldViewsList(),
8277
+ proto.pulumirpc.View.toObject, includeInstance)
8042
8278
  };
8043
8279
 
8044
8280
  if (includeInstance) {
@@ -8118,6 +8354,19 @@ proto.pulumirpc.UpdateRequest.deserializeBinaryFromReader = function(msg, reader
8118
8354
  var value = /** @type {string} */ (reader.readString());
8119
8355
  msg.setType(value);
8120
8356
  break;
8357
+ case 11:
8358
+ var value = /** @type {string} */ (reader.readString());
8359
+ msg.setResourceStatusAddress(value);
8360
+ break;
8361
+ case 12:
8362
+ var value = /** @type {string} */ (reader.readString());
8363
+ msg.setResourceStatusToken(value);
8364
+ break;
8365
+ case 13:
8366
+ var value = new proto.pulumirpc.View;
8367
+ reader.readMessage(value,proto.pulumirpc.View.deserializeBinaryFromReader);
8368
+ msg.addOldViews(value);
8369
+ break;
8121
8370
  default:
8122
8371
  reader.skipField();
8123
8372
  break;
@@ -8220,6 +8469,28 @@ proto.pulumirpc.UpdateRequest.serializeBinaryToWriter = function(message, writer
8220
8469
  f
8221
8470
  );
8222
8471
  }
8472
+ f = message.getResourceStatusAddress();
8473
+ if (f.length > 0) {
8474
+ writer.writeString(
8475
+ 11,
8476
+ f
8477
+ );
8478
+ }
8479
+ f = message.getResourceStatusToken();
8480
+ if (f.length > 0) {
8481
+ writer.writeString(
8482
+ 12,
8483
+ f
8484
+ );
8485
+ }
8486
+ f = message.getOldViewsList();
8487
+ if (f.length > 0) {
8488
+ writer.writeRepeatedMessage(
8489
+ 13,
8490
+ f,
8491
+ proto.pulumirpc.View.serializeBinaryToWriter
8492
+ );
8493
+ }
8223
8494
  };
8224
8495
 
8225
8496
 
@@ -8479,6 +8750,80 @@ proto.pulumirpc.UpdateRequest.prototype.setType = function(value) {
8479
8750
  };
8480
8751
 
8481
8752
 
8753
+ /**
8754
+ * optional string resource_status_address = 11;
8755
+ * @return {string}
8756
+ */
8757
+ proto.pulumirpc.UpdateRequest.prototype.getResourceStatusAddress = function() {
8758
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
8759
+ };
8760
+
8761
+
8762
+ /**
8763
+ * @param {string} value
8764
+ * @return {!proto.pulumirpc.UpdateRequest} returns this
8765
+ */
8766
+ proto.pulumirpc.UpdateRequest.prototype.setResourceStatusAddress = function(value) {
8767
+ return jspb.Message.setProto3StringField(this, 11, value);
8768
+ };
8769
+
8770
+
8771
+ /**
8772
+ * optional string resource_status_token = 12;
8773
+ * @return {string}
8774
+ */
8775
+ proto.pulumirpc.UpdateRequest.prototype.getResourceStatusToken = function() {
8776
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
8777
+ };
8778
+
8779
+
8780
+ /**
8781
+ * @param {string} value
8782
+ * @return {!proto.pulumirpc.UpdateRequest} returns this
8783
+ */
8784
+ proto.pulumirpc.UpdateRequest.prototype.setResourceStatusToken = function(value) {
8785
+ return jspb.Message.setProto3StringField(this, 12, value);
8786
+ };
8787
+
8788
+
8789
+ /**
8790
+ * repeated View old_views = 13;
8791
+ * @return {!Array<!proto.pulumirpc.View>}
8792
+ */
8793
+ proto.pulumirpc.UpdateRequest.prototype.getOldViewsList = function() {
8794
+ return /** @type{!Array<!proto.pulumirpc.View>} */ (
8795
+ jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.View, 13));
8796
+ };
8797
+
8798
+
8799
+ /**
8800
+ * @param {!Array<!proto.pulumirpc.View>} value
8801
+ * @return {!proto.pulumirpc.UpdateRequest} returns this
8802
+ */
8803
+ proto.pulumirpc.UpdateRequest.prototype.setOldViewsList = function(value) {
8804
+ return jspb.Message.setRepeatedWrapperField(this, 13, value);
8805
+ };
8806
+
8807
+
8808
+ /**
8809
+ * @param {!proto.pulumirpc.View=} opt_value
8810
+ * @param {number=} opt_index
8811
+ * @return {!proto.pulumirpc.View}
8812
+ */
8813
+ proto.pulumirpc.UpdateRequest.prototype.addOldViews = function(opt_value, opt_index) {
8814
+ return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.pulumirpc.View, opt_index);
8815
+ };
8816
+
8817
+
8818
+ /**
8819
+ * Clears the list making it empty but non-null.
8820
+ * @return {!proto.pulumirpc.UpdateRequest} returns this
8821
+ */
8822
+ proto.pulumirpc.UpdateRequest.prototype.clearOldViewsList = function() {
8823
+ return this.setOldViewsList([]);
8824
+ };
8825
+
8826
+
8482
8827
 
8483
8828
 
8484
8829
 
@@ -8631,6 +8976,13 @@ proto.pulumirpc.UpdateResponse.prototype.hasProperties = function() {
8631
8976
 
8632
8977
 
8633
8978
 
8979
+ /**
8980
+ * List of repeated fields within this message type.
8981
+ * @private {!Array<number>}
8982
+ * @const
8983
+ */
8984
+ proto.pulumirpc.DeleteRequest.repeatedFields_ = [10];
8985
+
8634
8986
 
8635
8987
 
8636
8988
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -8668,7 +9020,11 @@ proto.pulumirpc.DeleteRequest.toObject = function(includeInstance, msg) {
8668
9020
  timeout: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
8669
9021
  oldInputs: (f = msg.getOldInputs()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
8670
9022
  name: jspb.Message.getFieldWithDefault(msg, 6, ""),
8671
- type: jspb.Message.getFieldWithDefault(msg, 7, "")
9023
+ type: jspb.Message.getFieldWithDefault(msg, 7, ""),
9024
+ resourceStatusAddress: jspb.Message.getFieldWithDefault(msg, 8, ""),
9025
+ resourceStatusToken: jspb.Message.getFieldWithDefault(msg, 9, ""),
9026
+ oldViewsList: jspb.Message.toObjectList(msg.getOldViewsList(),
9027
+ proto.pulumirpc.View.toObject, includeInstance)
8672
9028
  };
8673
9029
 
8674
9030
  if (includeInstance) {
@@ -8735,6 +9091,19 @@ proto.pulumirpc.DeleteRequest.deserializeBinaryFromReader = function(msg, reader
8735
9091
  var value = /** @type {string} */ (reader.readString());
8736
9092
  msg.setType(value);
8737
9093
  break;
9094
+ case 8:
9095
+ var value = /** @type {string} */ (reader.readString());
9096
+ msg.setResourceStatusAddress(value);
9097
+ break;
9098
+ case 9:
9099
+ var value = /** @type {string} */ (reader.readString());
9100
+ msg.setResourceStatusToken(value);
9101
+ break;
9102
+ case 10:
9103
+ var value = new proto.pulumirpc.View;
9104
+ reader.readMessage(value,proto.pulumirpc.View.deserializeBinaryFromReader);
9105
+ msg.addOldViews(value);
9106
+ break;
8738
9107
  default:
8739
9108
  reader.skipField();
8740
9109
  break;
@@ -8815,6 +9184,28 @@ proto.pulumirpc.DeleteRequest.serializeBinaryToWriter = function(message, writer
8815
9184
  f
8816
9185
  );
8817
9186
  }
9187
+ f = message.getResourceStatusAddress();
9188
+ if (f.length > 0) {
9189
+ writer.writeString(
9190
+ 8,
9191
+ f
9192
+ );
9193
+ }
9194
+ f = message.getResourceStatusToken();
9195
+ if (f.length > 0) {
9196
+ writer.writeString(
9197
+ 9,
9198
+ f
9199
+ );
9200
+ }
9201
+ f = message.getOldViewsList();
9202
+ if (f.length > 0) {
9203
+ writer.writeRepeatedMessage(
9204
+ 10,
9205
+ f,
9206
+ proto.pulumirpc.View.serializeBinaryToWriter
9207
+ );
9208
+ }
8818
9209
  };
8819
9210
 
8820
9211
 
@@ -8982,6 +9373,80 @@ proto.pulumirpc.DeleteRequest.prototype.setType = function(value) {
8982
9373
  };
8983
9374
 
8984
9375
 
9376
+ /**
9377
+ * optional string resource_status_address = 8;
9378
+ * @return {string}
9379
+ */
9380
+ proto.pulumirpc.DeleteRequest.prototype.getResourceStatusAddress = function() {
9381
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
9382
+ };
9383
+
9384
+
9385
+ /**
9386
+ * @param {string} value
9387
+ * @return {!proto.pulumirpc.DeleteRequest} returns this
9388
+ */
9389
+ proto.pulumirpc.DeleteRequest.prototype.setResourceStatusAddress = function(value) {
9390
+ return jspb.Message.setProto3StringField(this, 8, value);
9391
+ };
9392
+
9393
+
9394
+ /**
9395
+ * optional string resource_status_token = 9;
9396
+ * @return {string}
9397
+ */
9398
+ proto.pulumirpc.DeleteRequest.prototype.getResourceStatusToken = function() {
9399
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
9400
+ };
9401
+
9402
+
9403
+ /**
9404
+ * @param {string} value
9405
+ * @return {!proto.pulumirpc.DeleteRequest} returns this
9406
+ */
9407
+ proto.pulumirpc.DeleteRequest.prototype.setResourceStatusToken = function(value) {
9408
+ return jspb.Message.setProto3StringField(this, 9, value);
9409
+ };
9410
+
9411
+
9412
+ /**
9413
+ * repeated View old_views = 10;
9414
+ * @return {!Array<!proto.pulumirpc.View>}
9415
+ */
9416
+ proto.pulumirpc.DeleteRequest.prototype.getOldViewsList = function() {
9417
+ return /** @type{!Array<!proto.pulumirpc.View>} */ (
9418
+ jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.View, 10));
9419
+ };
9420
+
9421
+
9422
+ /**
9423
+ * @param {!Array<!proto.pulumirpc.View>} value
9424
+ * @return {!proto.pulumirpc.DeleteRequest} returns this
9425
+ */
9426
+ proto.pulumirpc.DeleteRequest.prototype.setOldViewsList = function(value) {
9427
+ return jspb.Message.setRepeatedWrapperField(this, 10, value);
9428
+ };
9429
+
9430
+
9431
+ /**
9432
+ * @param {!proto.pulumirpc.View=} opt_value
9433
+ * @param {number=} opt_index
9434
+ * @return {!proto.pulumirpc.View}
9435
+ */
9436
+ proto.pulumirpc.DeleteRequest.prototype.addOldViews = function(opt_value, opt_index) {
9437
+ return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.pulumirpc.View, opt_index);
9438
+ };
9439
+
9440
+
9441
+ /**
9442
+ * Clears the list making it empty but non-null.
9443
+ * @return {!proto.pulumirpc.DeleteRequest} returns this
9444
+ */
9445
+ proto.pulumirpc.DeleteRequest.prototype.clearOldViewsList = function() {
9446
+ return this.setOldViewsList([]);
9447
+ };
9448
+
9449
+
8985
9450
 
8986
9451
  /**
8987
9452
  * List of repeated fields within this message type.
@@ -11692,4 +12157,326 @@ proto.pulumirpc.GetMappingsResponse.prototype.clearProvidersList = function() {
11692
12157
  };
11693
12158
 
11694
12159
 
12160
+
12161
+
12162
+
12163
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12164
+ /**
12165
+ * Creates an object representation of this proto.
12166
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12167
+ * Optional fields that are not set will be set to undefined.
12168
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12169
+ * For the list of reserved names please see:
12170
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12171
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12172
+ * JSPB instance for transitional soy proto support:
12173
+ * http://goto/soy-param-migration
12174
+ * @return {!Object}
12175
+ */
12176
+ proto.pulumirpc.View.prototype.toObject = function(opt_includeInstance) {
12177
+ return proto.pulumirpc.View.toObject(opt_includeInstance, this);
12178
+ };
12179
+
12180
+
12181
+ /**
12182
+ * Static version of the {@see toObject} method.
12183
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12184
+ * the JSPB instance for transitional soy proto support:
12185
+ * http://goto/soy-param-migration
12186
+ * @param {!proto.pulumirpc.View} msg The msg instance to transform.
12187
+ * @return {!Object}
12188
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12189
+ */
12190
+ proto.pulumirpc.View.toObject = function(includeInstance, msg) {
12191
+ var f, obj = {
12192
+ type: jspb.Message.getFieldWithDefault(msg, 1, ""),
12193
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
12194
+ parentType: jspb.Message.getFieldWithDefault(msg, 3, ""),
12195
+ parentName: jspb.Message.getFieldWithDefault(msg, 4, ""),
12196
+ inputs: (f = msg.getInputs()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
12197
+ outputs: (f = msg.getOutputs()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
12198
+ };
12199
+
12200
+ if (includeInstance) {
12201
+ obj.$jspbMessageInstance = msg;
12202
+ }
12203
+ return obj;
12204
+ };
12205
+ }
12206
+
12207
+
12208
+ /**
12209
+ * Deserializes binary data (in protobuf wire format).
12210
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12211
+ * @return {!proto.pulumirpc.View}
12212
+ */
12213
+ proto.pulumirpc.View.deserializeBinary = function(bytes) {
12214
+ var reader = new jspb.BinaryReader(bytes);
12215
+ var msg = new proto.pulumirpc.View;
12216
+ return proto.pulumirpc.View.deserializeBinaryFromReader(msg, reader);
12217
+ };
12218
+
12219
+
12220
+ /**
12221
+ * Deserializes binary data (in protobuf wire format) from the
12222
+ * given reader into the given message object.
12223
+ * @param {!proto.pulumirpc.View} msg The message object to deserialize into.
12224
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12225
+ * @return {!proto.pulumirpc.View}
12226
+ */
12227
+ proto.pulumirpc.View.deserializeBinaryFromReader = function(msg, reader) {
12228
+ while (reader.nextField()) {
12229
+ if (reader.isEndGroup()) {
12230
+ break;
12231
+ }
12232
+ var field = reader.getFieldNumber();
12233
+ switch (field) {
12234
+ case 1:
12235
+ var value = /** @type {string} */ (reader.readString());
12236
+ msg.setType(value);
12237
+ break;
12238
+ case 2:
12239
+ var value = /** @type {string} */ (reader.readString());
12240
+ msg.setName(value);
12241
+ break;
12242
+ case 3:
12243
+ var value = /** @type {string} */ (reader.readString());
12244
+ msg.setParentType(value);
12245
+ break;
12246
+ case 4:
12247
+ var value = /** @type {string} */ (reader.readString());
12248
+ msg.setParentName(value);
12249
+ break;
12250
+ case 5:
12251
+ var value = new google_protobuf_struct_pb.Struct;
12252
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
12253
+ msg.setInputs(value);
12254
+ break;
12255
+ case 6:
12256
+ var value = new google_protobuf_struct_pb.Struct;
12257
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
12258
+ msg.setOutputs(value);
12259
+ break;
12260
+ default:
12261
+ reader.skipField();
12262
+ break;
12263
+ }
12264
+ }
12265
+ return msg;
12266
+ };
12267
+
12268
+
12269
+ /**
12270
+ * Serializes the message to binary data (in protobuf wire format).
12271
+ * @return {!Uint8Array}
12272
+ */
12273
+ proto.pulumirpc.View.prototype.serializeBinary = function() {
12274
+ var writer = new jspb.BinaryWriter();
12275
+ proto.pulumirpc.View.serializeBinaryToWriter(this, writer);
12276
+ return writer.getResultBuffer();
12277
+ };
12278
+
12279
+
12280
+ /**
12281
+ * Serializes the given message to binary data (in protobuf wire
12282
+ * format), writing to the given BinaryWriter.
12283
+ * @param {!proto.pulumirpc.View} message
12284
+ * @param {!jspb.BinaryWriter} writer
12285
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12286
+ */
12287
+ proto.pulumirpc.View.serializeBinaryToWriter = function(message, writer) {
12288
+ var f = undefined;
12289
+ f = message.getType();
12290
+ if (f.length > 0) {
12291
+ writer.writeString(
12292
+ 1,
12293
+ f
12294
+ );
12295
+ }
12296
+ f = message.getName();
12297
+ if (f.length > 0) {
12298
+ writer.writeString(
12299
+ 2,
12300
+ f
12301
+ );
12302
+ }
12303
+ f = message.getParentType();
12304
+ if (f.length > 0) {
12305
+ writer.writeString(
12306
+ 3,
12307
+ f
12308
+ );
12309
+ }
12310
+ f = message.getParentName();
12311
+ if (f.length > 0) {
12312
+ writer.writeString(
12313
+ 4,
12314
+ f
12315
+ );
12316
+ }
12317
+ f = message.getInputs();
12318
+ if (f != null) {
12319
+ writer.writeMessage(
12320
+ 5,
12321
+ f,
12322
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
12323
+ );
12324
+ }
12325
+ f = message.getOutputs();
12326
+ if (f != null) {
12327
+ writer.writeMessage(
12328
+ 6,
12329
+ f,
12330
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
12331
+ );
12332
+ }
12333
+ };
12334
+
12335
+
12336
+ /**
12337
+ * optional string type = 1;
12338
+ * @return {string}
12339
+ */
12340
+ proto.pulumirpc.View.prototype.getType = function() {
12341
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
12342
+ };
12343
+
12344
+
12345
+ /**
12346
+ * @param {string} value
12347
+ * @return {!proto.pulumirpc.View} returns this
12348
+ */
12349
+ proto.pulumirpc.View.prototype.setType = function(value) {
12350
+ return jspb.Message.setProto3StringField(this, 1, value);
12351
+ };
12352
+
12353
+
12354
+ /**
12355
+ * optional string name = 2;
12356
+ * @return {string}
12357
+ */
12358
+ proto.pulumirpc.View.prototype.getName = function() {
12359
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
12360
+ };
12361
+
12362
+
12363
+ /**
12364
+ * @param {string} value
12365
+ * @return {!proto.pulumirpc.View} returns this
12366
+ */
12367
+ proto.pulumirpc.View.prototype.setName = function(value) {
12368
+ return jspb.Message.setProto3StringField(this, 2, value);
12369
+ };
12370
+
12371
+
12372
+ /**
12373
+ * optional string parent_type = 3;
12374
+ * @return {string}
12375
+ */
12376
+ proto.pulumirpc.View.prototype.getParentType = function() {
12377
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
12378
+ };
12379
+
12380
+
12381
+ /**
12382
+ * @param {string} value
12383
+ * @return {!proto.pulumirpc.View} returns this
12384
+ */
12385
+ proto.pulumirpc.View.prototype.setParentType = function(value) {
12386
+ return jspb.Message.setProto3StringField(this, 3, value);
12387
+ };
12388
+
12389
+
12390
+ /**
12391
+ * optional string parent_name = 4;
12392
+ * @return {string}
12393
+ */
12394
+ proto.pulumirpc.View.prototype.getParentName = function() {
12395
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
12396
+ };
12397
+
12398
+
12399
+ /**
12400
+ * @param {string} value
12401
+ * @return {!proto.pulumirpc.View} returns this
12402
+ */
12403
+ proto.pulumirpc.View.prototype.setParentName = function(value) {
12404
+ return jspb.Message.setProto3StringField(this, 4, value);
12405
+ };
12406
+
12407
+
12408
+ /**
12409
+ * optional google.protobuf.Struct inputs = 5;
12410
+ * @return {?proto.google.protobuf.Struct}
12411
+ */
12412
+ proto.pulumirpc.View.prototype.getInputs = function() {
12413
+ return /** @type{?proto.google.protobuf.Struct} */ (
12414
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5));
12415
+ };
12416
+
12417
+
12418
+ /**
12419
+ * @param {?proto.google.protobuf.Struct|undefined} value
12420
+ * @return {!proto.pulumirpc.View} returns this
12421
+ */
12422
+ proto.pulumirpc.View.prototype.setInputs = function(value) {
12423
+ return jspb.Message.setWrapperField(this, 5, value);
12424
+ };
12425
+
12426
+
12427
+ /**
12428
+ * Clears the message field making it undefined.
12429
+ * @return {!proto.pulumirpc.View} returns this
12430
+ */
12431
+ proto.pulumirpc.View.prototype.clearInputs = function() {
12432
+ return this.setInputs(undefined);
12433
+ };
12434
+
12435
+
12436
+ /**
12437
+ * Returns whether this field is set.
12438
+ * @return {boolean}
12439
+ */
12440
+ proto.pulumirpc.View.prototype.hasInputs = function() {
12441
+ return jspb.Message.getField(this, 5) != null;
12442
+ };
12443
+
12444
+
12445
+ /**
12446
+ * optional google.protobuf.Struct outputs = 6;
12447
+ * @return {?proto.google.protobuf.Struct}
12448
+ */
12449
+ proto.pulumirpc.View.prototype.getOutputs = function() {
12450
+ return /** @type{?proto.google.protobuf.Struct} */ (
12451
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 6));
12452
+ };
12453
+
12454
+
12455
+ /**
12456
+ * @param {?proto.google.protobuf.Struct|undefined} value
12457
+ * @return {!proto.pulumirpc.View} returns this
12458
+ */
12459
+ proto.pulumirpc.View.prototype.setOutputs = function(value) {
12460
+ return jspb.Message.setWrapperField(this, 6, value);
12461
+ };
12462
+
12463
+
12464
+ /**
12465
+ * Clears the message field making it undefined.
12466
+ * @return {!proto.pulumirpc.View} returns this
12467
+ */
12468
+ proto.pulumirpc.View.prototype.clearOutputs = function() {
12469
+ return this.setOutputs(undefined);
12470
+ };
12471
+
12472
+
12473
+ /**
12474
+ * Returns whether this field is set.
12475
+ * @return {boolean}
12476
+ */
12477
+ proto.pulumirpc.View.prototype.hasOutputs = function() {
12478
+ return jspb.Message.getField(this, 6) != null;
12479
+ };
12480
+
12481
+
11695
12482
  goog.object.extend(exports, proto.pulumirpc);