@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.
@@ -0,0 +1,1276 @@
1
+ // source: pulumi/resource_status.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var proto = { pulumirpc: { codegen: { }, testing: { } } }, global = proto;
17
+
18
+ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
19
+ goog.object.extend(proto, google_protobuf_struct_pb);
20
+ var pulumi_provider_pb = require('./provider_pb.js');
21
+ goog.object.extend(proto, pulumi_provider_pb);
22
+ goog.exportSymbol('proto.pulumirpc.PublishViewStepsRequest', null, global);
23
+ goog.exportSymbol('proto.pulumirpc.PublishViewStepsResponse', null, global);
24
+ goog.exportSymbol('proto.pulumirpc.ViewStep', null, global);
25
+ goog.exportSymbol('proto.pulumirpc.ViewStep.Op', null, global);
26
+ goog.exportSymbol('proto.pulumirpc.ViewStep.Status', null, global);
27
+ goog.exportSymbol('proto.pulumirpc.ViewStepState', null, global);
28
+ /**
29
+ * Generated by JsPbCodeGenerator.
30
+ * @param {Array=} opt_data Optional initial data array, typically from a
31
+ * server response, or constructed directly in Javascript. The array is used
32
+ * in place and becomes part of the constructed object. It is not cloned.
33
+ * If no data is provided, the constructed object will be empty, but still
34
+ * valid.
35
+ * @extends {jspb.Message}
36
+ * @constructor
37
+ */
38
+ proto.pulumirpc.PublishViewStepsRequest = function(opt_data) {
39
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.PublishViewStepsRequest.repeatedFields_, null);
40
+ };
41
+ goog.inherits(proto.pulumirpc.PublishViewStepsRequest, jspb.Message);
42
+ if (goog.DEBUG && !COMPILED) {
43
+ /**
44
+ * @public
45
+ * @override
46
+ */
47
+ proto.pulumirpc.PublishViewStepsRequest.displayName = 'proto.pulumirpc.PublishViewStepsRequest';
48
+ }
49
+ /**
50
+ * Generated by JsPbCodeGenerator.
51
+ * @param {Array=} opt_data Optional initial data array, typically from a
52
+ * server response, or constructed directly in Javascript. The array is used
53
+ * in place and becomes part of the constructed object. It is not cloned.
54
+ * If no data is provided, the constructed object will be empty, but still
55
+ * valid.
56
+ * @extends {jspb.Message}
57
+ * @constructor
58
+ */
59
+ proto.pulumirpc.PublishViewStepsResponse = function(opt_data) {
60
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
61
+ };
62
+ goog.inherits(proto.pulumirpc.PublishViewStepsResponse, jspb.Message);
63
+ if (goog.DEBUG && !COMPILED) {
64
+ /**
65
+ * @public
66
+ * @override
67
+ */
68
+ proto.pulumirpc.PublishViewStepsResponse.displayName = 'proto.pulumirpc.PublishViewStepsResponse';
69
+ }
70
+ /**
71
+ * Generated by JsPbCodeGenerator.
72
+ * @param {Array=} opt_data Optional initial data array, typically from a
73
+ * server response, or constructed directly in Javascript. The array is used
74
+ * in place and becomes part of the constructed object. It is not cloned.
75
+ * If no data is provided, the constructed object will be empty, but still
76
+ * valid.
77
+ * @extends {jspb.Message}
78
+ * @constructor
79
+ */
80
+ proto.pulumirpc.ViewStep = function(opt_data) {
81
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.ViewStep.repeatedFields_, null);
82
+ };
83
+ goog.inherits(proto.pulumirpc.ViewStep, jspb.Message);
84
+ if (goog.DEBUG && !COMPILED) {
85
+ /**
86
+ * @public
87
+ * @override
88
+ */
89
+ proto.pulumirpc.ViewStep.displayName = 'proto.pulumirpc.ViewStep';
90
+ }
91
+ /**
92
+ * Generated by JsPbCodeGenerator.
93
+ * @param {Array=} opt_data Optional initial data array, typically from a
94
+ * server response, or constructed directly in Javascript. The array is used
95
+ * in place and becomes part of the constructed object. It is not cloned.
96
+ * If no data is provided, the constructed object will be empty, but still
97
+ * valid.
98
+ * @extends {jspb.Message}
99
+ * @constructor
100
+ */
101
+ proto.pulumirpc.ViewStepState = function(opt_data) {
102
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
103
+ };
104
+ goog.inherits(proto.pulumirpc.ViewStepState, jspb.Message);
105
+ if (goog.DEBUG && !COMPILED) {
106
+ /**
107
+ * @public
108
+ * @override
109
+ */
110
+ proto.pulumirpc.ViewStepState.displayName = 'proto.pulumirpc.ViewStepState';
111
+ }
112
+
113
+ /**
114
+ * List of repeated fields within this message type.
115
+ * @private {!Array<number>}
116
+ * @const
117
+ */
118
+ proto.pulumirpc.PublishViewStepsRequest.repeatedFields_ = [2];
119
+
120
+
121
+
122
+ if (jspb.Message.GENERATE_TO_OBJECT) {
123
+ /**
124
+ * Creates an object representation of this proto.
125
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
126
+ * Optional fields that are not set will be set to undefined.
127
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
128
+ * For the list of reserved names please see:
129
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
130
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
131
+ * JSPB instance for transitional soy proto support:
132
+ * http://goto/soy-param-migration
133
+ * @return {!Object}
134
+ */
135
+ proto.pulumirpc.PublishViewStepsRequest.prototype.toObject = function(opt_includeInstance) {
136
+ return proto.pulumirpc.PublishViewStepsRequest.toObject(opt_includeInstance, this);
137
+ };
138
+
139
+
140
+ /**
141
+ * Static version of the {@see toObject} method.
142
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
143
+ * the JSPB instance for transitional soy proto support:
144
+ * http://goto/soy-param-migration
145
+ * @param {!proto.pulumirpc.PublishViewStepsRequest} msg The msg instance to transform.
146
+ * @return {!Object}
147
+ * @suppress {unusedLocalVariables} f is only used for nested messages
148
+ */
149
+ proto.pulumirpc.PublishViewStepsRequest.toObject = function(includeInstance, msg) {
150
+ var f, obj = {
151
+ token: jspb.Message.getFieldWithDefault(msg, 1, ""),
152
+ stepsList: jspb.Message.toObjectList(msg.getStepsList(),
153
+ proto.pulumirpc.ViewStep.toObject, includeInstance)
154
+ };
155
+
156
+ if (includeInstance) {
157
+ obj.$jspbMessageInstance = msg;
158
+ }
159
+ return obj;
160
+ };
161
+ }
162
+
163
+
164
+ /**
165
+ * Deserializes binary data (in protobuf wire format).
166
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
167
+ * @return {!proto.pulumirpc.PublishViewStepsRequest}
168
+ */
169
+ proto.pulumirpc.PublishViewStepsRequest.deserializeBinary = function(bytes) {
170
+ var reader = new jspb.BinaryReader(bytes);
171
+ var msg = new proto.pulumirpc.PublishViewStepsRequest;
172
+ return proto.pulumirpc.PublishViewStepsRequest.deserializeBinaryFromReader(msg, reader);
173
+ };
174
+
175
+
176
+ /**
177
+ * Deserializes binary data (in protobuf wire format) from the
178
+ * given reader into the given message object.
179
+ * @param {!proto.pulumirpc.PublishViewStepsRequest} msg The message object to deserialize into.
180
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
181
+ * @return {!proto.pulumirpc.PublishViewStepsRequest}
182
+ */
183
+ proto.pulumirpc.PublishViewStepsRequest.deserializeBinaryFromReader = function(msg, reader) {
184
+ while (reader.nextField()) {
185
+ if (reader.isEndGroup()) {
186
+ break;
187
+ }
188
+ var field = reader.getFieldNumber();
189
+ switch (field) {
190
+ case 1:
191
+ var value = /** @type {string} */ (reader.readString());
192
+ msg.setToken(value);
193
+ break;
194
+ case 2:
195
+ var value = new proto.pulumirpc.ViewStep;
196
+ reader.readMessage(value,proto.pulumirpc.ViewStep.deserializeBinaryFromReader);
197
+ msg.addSteps(value);
198
+ break;
199
+ default:
200
+ reader.skipField();
201
+ break;
202
+ }
203
+ }
204
+ return msg;
205
+ };
206
+
207
+
208
+ /**
209
+ * Serializes the message to binary data (in protobuf wire format).
210
+ * @return {!Uint8Array}
211
+ */
212
+ proto.pulumirpc.PublishViewStepsRequest.prototype.serializeBinary = function() {
213
+ var writer = new jspb.BinaryWriter();
214
+ proto.pulumirpc.PublishViewStepsRequest.serializeBinaryToWriter(this, writer);
215
+ return writer.getResultBuffer();
216
+ };
217
+
218
+
219
+ /**
220
+ * Serializes the given message to binary data (in protobuf wire
221
+ * format), writing to the given BinaryWriter.
222
+ * @param {!proto.pulumirpc.PublishViewStepsRequest} message
223
+ * @param {!jspb.BinaryWriter} writer
224
+ * @suppress {unusedLocalVariables} f is only used for nested messages
225
+ */
226
+ proto.pulumirpc.PublishViewStepsRequest.serializeBinaryToWriter = function(message, writer) {
227
+ var f = undefined;
228
+ f = message.getToken();
229
+ if (f.length > 0) {
230
+ writer.writeString(
231
+ 1,
232
+ f
233
+ );
234
+ }
235
+ f = message.getStepsList();
236
+ if (f.length > 0) {
237
+ writer.writeRepeatedMessage(
238
+ 2,
239
+ f,
240
+ proto.pulumirpc.ViewStep.serializeBinaryToWriter
241
+ );
242
+ }
243
+ };
244
+
245
+
246
+ /**
247
+ * optional string token = 1;
248
+ * @return {string}
249
+ */
250
+ proto.pulumirpc.PublishViewStepsRequest.prototype.getToken = function() {
251
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
252
+ };
253
+
254
+
255
+ /**
256
+ * @param {string} value
257
+ * @return {!proto.pulumirpc.PublishViewStepsRequest} returns this
258
+ */
259
+ proto.pulumirpc.PublishViewStepsRequest.prototype.setToken = function(value) {
260
+ return jspb.Message.setProto3StringField(this, 1, value);
261
+ };
262
+
263
+
264
+ /**
265
+ * repeated ViewStep steps = 2;
266
+ * @return {!Array<!proto.pulumirpc.ViewStep>}
267
+ */
268
+ proto.pulumirpc.PublishViewStepsRequest.prototype.getStepsList = function() {
269
+ return /** @type{!Array<!proto.pulumirpc.ViewStep>} */ (
270
+ jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.ViewStep, 2));
271
+ };
272
+
273
+
274
+ /**
275
+ * @param {!Array<!proto.pulumirpc.ViewStep>} value
276
+ * @return {!proto.pulumirpc.PublishViewStepsRequest} returns this
277
+ */
278
+ proto.pulumirpc.PublishViewStepsRequest.prototype.setStepsList = function(value) {
279
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
280
+ };
281
+
282
+
283
+ /**
284
+ * @param {!proto.pulumirpc.ViewStep=} opt_value
285
+ * @param {number=} opt_index
286
+ * @return {!proto.pulumirpc.ViewStep}
287
+ */
288
+ proto.pulumirpc.PublishViewStepsRequest.prototype.addSteps = function(opt_value, opt_index) {
289
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.pulumirpc.ViewStep, opt_index);
290
+ };
291
+
292
+
293
+ /**
294
+ * Clears the list making it empty but non-null.
295
+ * @return {!proto.pulumirpc.PublishViewStepsRequest} returns this
296
+ */
297
+ proto.pulumirpc.PublishViewStepsRequest.prototype.clearStepsList = function() {
298
+ return this.setStepsList([]);
299
+ };
300
+
301
+
302
+
303
+
304
+
305
+ if (jspb.Message.GENERATE_TO_OBJECT) {
306
+ /**
307
+ * Creates an object representation of this proto.
308
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
309
+ * Optional fields that are not set will be set to undefined.
310
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
311
+ * For the list of reserved names please see:
312
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
313
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
314
+ * JSPB instance for transitional soy proto support:
315
+ * http://goto/soy-param-migration
316
+ * @return {!Object}
317
+ */
318
+ proto.pulumirpc.PublishViewStepsResponse.prototype.toObject = function(opt_includeInstance) {
319
+ return proto.pulumirpc.PublishViewStepsResponse.toObject(opt_includeInstance, this);
320
+ };
321
+
322
+
323
+ /**
324
+ * Static version of the {@see toObject} method.
325
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
326
+ * the JSPB instance for transitional soy proto support:
327
+ * http://goto/soy-param-migration
328
+ * @param {!proto.pulumirpc.PublishViewStepsResponse} msg The msg instance to transform.
329
+ * @return {!Object}
330
+ * @suppress {unusedLocalVariables} f is only used for nested messages
331
+ */
332
+ proto.pulumirpc.PublishViewStepsResponse.toObject = function(includeInstance, msg) {
333
+ var f, obj = {
334
+
335
+ };
336
+
337
+ if (includeInstance) {
338
+ obj.$jspbMessageInstance = msg;
339
+ }
340
+ return obj;
341
+ };
342
+ }
343
+
344
+
345
+ /**
346
+ * Deserializes binary data (in protobuf wire format).
347
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
348
+ * @return {!proto.pulumirpc.PublishViewStepsResponse}
349
+ */
350
+ proto.pulumirpc.PublishViewStepsResponse.deserializeBinary = function(bytes) {
351
+ var reader = new jspb.BinaryReader(bytes);
352
+ var msg = new proto.pulumirpc.PublishViewStepsResponse;
353
+ return proto.pulumirpc.PublishViewStepsResponse.deserializeBinaryFromReader(msg, reader);
354
+ };
355
+
356
+
357
+ /**
358
+ * Deserializes binary data (in protobuf wire format) from the
359
+ * given reader into the given message object.
360
+ * @param {!proto.pulumirpc.PublishViewStepsResponse} msg The message object to deserialize into.
361
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
362
+ * @return {!proto.pulumirpc.PublishViewStepsResponse}
363
+ */
364
+ proto.pulumirpc.PublishViewStepsResponse.deserializeBinaryFromReader = function(msg, reader) {
365
+ while (reader.nextField()) {
366
+ if (reader.isEndGroup()) {
367
+ break;
368
+ }
369
+ var field = reader.getFieldNumber();
370
+ switch (field) {
371
+ default:
372
+ reader.skipField();
373
+ break;
374
+ }
375
+ }
376
+ return msg;
377
+ };
378
+
379
+
380
+ /**
381
+ * Serializes the message to binary data (in protobuf wire format).
382
+ * @return {!Uint8Array}
383
+ */
384
+ proto.pulumirpc.PublishViewStepsResponse.prototype.serializeBinary = function() {
385
+ var writer = new jspb.BinaryWriter();
386
+ proto.pulumirpc.PublishViewStepsResponse.serializeBinaryToWriter(this, writer);
387
+ return writer.getResultBuffer();
388
+ };
389
+
390
+
391
+ /**
392
+ * Serializes the given message to binary data (in protobuf wire
393
+ * format), writing to the given BinaryWriter.
394
+ * @param {!proto.pulumirpc.PublishViewStepsResponse} message
395
+ * @param {!jspb.BinaryWriter} writer
396
+ * @suppress {unusedLocalVariables} f is only used for nested messages
397
+ */
398
+ proto.pulumirpc.PublishViewStepsResponse.serializeBinaryToWriter = function(message, writer) {
399
+ var f = undefined;
400
+ };
401
+
402
+
403
+
404
+ /**
405
+ * List of repeated fields within this message type.
406
+ * @private {!Array<number>}
407
+ * @const
408
+ */
409
+ proto.pulumirpc.ViewStep.repeatedFields_ = [8,9];
410
+
411
+
412
+
413
+ if (jspb.Message.GENERATE_TO_OBJECT) {
414
+ /**
415
+ * Creates an object representation of this proto.
416
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
417
+ * Optional fields that are not set will be set to undefined.
418
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
419
+ * For the list of reserved names please see:
420
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
421
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
422
+ * JSPB instance for transitional soy proto support:
423
+ * http://goto/soy-param-migration
424
+ * @return {!Object}
425
+ */
426
+ proto.pulumirpc.ViewStep.prototype.toObject = function(opt_includeInstance) {
427
+ return proto.pulumirpc.ViewStep.toObject(opt_includeInstance, this);
428
+ };
429
+
430
+
431
+ /**
432
+ * Static version of the {@see toObject} method.
433
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
434
+ * the JSPB instance for transitional soy proto support:
435
+ * http://goto/soy-param-migration
436
+ * @param {!proto.pulumirpc.ViewStep} msg The msg instance to transform.
437
+ * @return {!Object}
438
+ * @suppress {unusedLocalVariables} f is only used for nested messages
439
+ */
440
+ proto.pulumirpc.ViewStep.toObject = function(includeInstance, msg) {
441
+ var f, obj = {
442
+ status: jspb.Message.getFieldWithDefault(msg, 1, 0),
443
+ error: jspb.Message.getFieldWithDefault(msg, 2, ""),
444
+ op: jspb.Message.getFieldWithDefault(msg, 3, 0),
445
+ type: jspb.Message.getFieldWithDefault(msg, 4, ""),
446
+ name: jspb.Message.getFieldWithDefault(msg, 5, ""),
447
+ old: (f = msg.getOld()) && proto.pulumirpc.ViewStepState.toObject(includeInstance, f),
448
+ pb_new: (f = msg.getNew()) && proto.pulumirpc.ViewStepState.toObject(includeInstance, f),
449
+ keysList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
450
+ diffsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
451
+ detailedDiffMap: (f = msg.getDetailedDiffMap()) ? f.toObject(includeInstance, proto.pulumirpc.PropertyDiff.toObject) : [],
452
+ hasDetailedDiff: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
453
+ };
454
+
455
+ if (includeInstance) {
456
+ obj.$jspbMessageInstance = msg;
457
+ }
458
+ return obj;
459
+ };
460
+ }
461
+
462
+
463
+ /**
464
+ * Deserializes binary data (in protobuf wire format).
465
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
466
+ * @return {!proto.pulumirpc.ViewStep}
467
+ */
468
+ proto.pulumirpc.ViewStep.deserializeBinary = function(bytes) {
469
+ var reader = new jspb.BinaryReader(bytes);
470
+ var msg = new proto.pulumirpc.ViewStep;
471
+ return proto.pulumirpc.ViewStep.deserializeBinaryFromReader(msg, reader);
472
+ };
473
+
474
+
475
+ /**
476
+ * Deserializes binary data (in protobuf wire format) from the
477
+ * given reader into the given message object.
478
+ * @param {!proto.pulumirpc.ViewStep} msg The message object to deserialize into.
479
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
480
+ * @return {!proto.pulumirpc.ViewStep}
481
+ */
482
+ proto.pulumirpc.ViewStep.deserializeBinaryFromReader = function(msg, reader) {
483
+ while (reader.nextField()) {
484
+ if (reader.isEndGroup()) {
485
+ break;
486
+ }
487
+ var field = reader.getFieldNumber();
488
+ switch (field) {
489
+ case 1:
490
+ var value = /** @type {!proto.pulumirpc.ViewStep.Status} */ (reader.readEnum());
491
+ msg.setStatus(value);
492
+ break;
493
+ case 2:
494
+ var value = /** @type {string} */ (reader.readString());
495
+ msg.setError(value);
496
+ break;
497
+ case 3:
498
+ var value = /** @type {!proto.pulumirpc.ViewStep.Op} */ (reader.readEnum());
499
+ msg.setOp(value);
500
+ break;
501
+ case 4:
502
+ var value = /** @type {string} */ (reader.readString());
503
+ msg.setType(value);
504
+ break;
505
+ case 5:
506
+ var value = /** @type {string} */ (reader.readString());
507
+ msg.setName(value);
508
+ break;
509
+ case 6:
510
+ var value = new proto.pulumirpc.ViewStepState;
511
+ reader.readMessage(value,proto.pulumirpc.ViewStepState.deserializeBinaryFromReader);
512
+ msg.setOld(value);
513
+ break;
514
+ case 7:
515
+ var value = new proto.pulumirpc.ViewStepState;
516
+ reader.readMessage(value,proto.pulumirpc.ViewStepState.deserializeBinaryFromReader);
517
+ msg.setNew(value);
518
+ break;
519
+ case 8:
520
+ var value = /** @type {string} */ (reader.readString());
521
+ msg.addKeys(value);
522
+ break;
523
+ case 9:
524
+ var value = /** @type {string} */ (reader.readString());
525
+ msg.addDiffs(value);
526
+ break;
527
+ case 10:
528
+ var value = msg.getDetailedDiffMap();
529
+ reader.readMessage(value, function(message, reader) {
530
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.pulumirpc.PropertyDiff.deserializeBinaryFromReader, "", new proto.pulumirpc.PropertyDiff());
531
+ });
532
+ break;
533
+ case 11:
534
+ var value = /** @type {boolean} */ (reader.readBool());
535
+ msg.setHasDetailedDiff(value);
536
+ break;
537
+ default:
538
+ reader.skipField();
539
+ break;
540
+ }
541
+ }
542
+ return msg;
543
+ };
544
+
545
+
546
+ /**
547
+ * Serializes the message to binary data (in protobuf wire format).
548
+ * @return {!Uint8Array}
549
+ */
550
+ proto.pulumirpc.ViewStep.prototype.serializeBinary = function() {
551
+ var writer = new jspb.BinaryWriter();
552
+ proto.pulumirpc.ViewStep.serializeBinaryToWriter(this, writer);
553
+ return writer.getResultBuffer();
554
+ };
555
+
556
+
557
+ /**
558
+ * Serializes the given message to binary data (in protobuf wire
559
+ * format), writing to the given BinaryWriter.
560
+ * @param {!proto.pulumirpc.ViewStep} message
561
+ * @param {!jspb.BinaryWriter} writer
562
+ * @suppress {unusedLocalVariables} f is only used for nested messages
563
+ */
564
+ proto.pulumirpc.ViewStep.serializeBinaryToWriter = function(message, writer) {
565
+ var f = undefined;
566
+ f = message.getStatus();
567
+ if (f !== 0.0) {
568
+ writer.writeEnum(
569
+ 1,
570
+ f
571
+ );
572
+ }
573
+ f = message.getError();
574
+ if (f.length > 0) {
575
+ writer.writeString(
576
+ 2,
577
+ f
578
+ );
579
+ }
580
+ f = message.getOp();
581
+ if (f !== 0.0) {
582
+ writer.writeEnum(
583
+ 3,
584
+ f
585
+ );
586
+ }
587
+ f = message.getType();
588
+ if (f.length > 0) {
589
+ writer.writeString(
590
+ 4,
591
+ f
592
+ );
593
+ }
594
+ f = message.getName();
595
+ if (f.length > 0) {
596
+ writer.writeString(
597
+ 5,
598
+ f
599
+ );
600
+ }
601
+ f = message.getOld();
602
+ if (f != null) {
603
+ writer.writeMessage(
604
+ 6,
605
+ f,
606
+ proto.pulumirpc.ViewStepState.serializeBinaryToWriter
607
+ );
608
+ }
609
+ f = message.getNew();
610
+ if (f != null) {
611
+ writer.writeMessage(
612
+ 7,
613
+ f,
614
+ proto.pulumirpc.ViewStepState.serializeBinaryToWriter
615
+ );
616
+ }
617
+ f = message.getKeysList();
618
+ if (f.length > 0) {
619
+ writer.writeRepeatedString(
620
+ 8,
621
+ f
622
+ );
623
+ }
624
+ f = message.getDiffsList();
625
+ if (f.length > 0) {
626
+ writer.writeRepeatedString(
627
+ 9,
628
+ f
629
+ );
630
+ }
631
+ f = message.getDetailedDiffMap(true);
632
+ if (f && f.getLength() > 0) {
633
+ f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.pulumirpc.PropertyDiff.serializeBinaryToWriter);
634
+ }
635
+ f = message.getHasDetailedDiff();
636
+ if (f) {
637
+ writer.writeBool(
638
+ 11,
639
+ f
640
+ );
641
+ }
642
+ };
643
+
644
+
645
+ /**
646
+ * @enum {number}
647
+ */
648
+ proto.pulumirpc.ViewStep.Op = {
649
+ UNSPECIFIED: 0,
650
+ SAME: 1,
651
+ CREATE: 2,
652
+ UPDATE: 3,
653
+ DELETE: 4,
654
+ REPLACE: 5,
655
+ CREATE_REPLACEMENT: 6,
656
+ DELETE_REPLACED: 7,
657
+ READ: 8,
658
+ READ_REPLACEMENT: 9,
659
+ REFRESH: 10,
660
+ READ_DISCARD: 11,
661
+ DISCARD_REPLACED: 12,
662
+ REMOVE_PENDING_REPLACE: 13,
663
+ IMPORT: 14,
664
+ IMPORT_REPLACEMENT: 15
665
+ };
666
+
667
+ /**
668
+ * @enum {number}
669
+ */
670
+ proto.pulumirpc.ViewStep.Status = {
671
+ OK: 0,
672
+ PARTIAL_FAILURE: 1,
673
+ UNKNOWN: 2
674
+ };
675
+
676
+ /**
677
+ * optional Status status = 1;
678
+ * @return {!proto.pulumirpc.ViewStep.Status}
679
+ */
680
+ proto.pulumirpc.ViewStep.prototype.getStatus = function() {
681
+ return /** @type {!proto.pulumirpc.ViewStep.Status} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
682
+ };
683
+
684
+
685
+ /**
686
+ * @param {!proto.pulumirpc.ViewStep.Status} value
687
+ * @return {!proto.pulumirpc.ViewStep} returns this
688
+ */
689
+ proto.pulumirpc.ViewStep.prototype.setStatus = function(value) {
690
+ return jspb.Message.setProto3EnumField(this, 1, value);
691
+ };
692
+
693
+
694
+ /**
695
+ * optional string error = 2;
696
+ * @return {string}
697
+ */
698
+ proto.pulumirpc.ViewStep.prototype.getError = function() {
699
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
700
+ };
701
+
702
+
703
+ /**
704
+ * @param {string} value
705
+ * @return {!proto.pulumirpc.ViewStep} returns this
706
+ */
707
+ proto.pulumirpc.ViewStep.prototype.setError = function(value) {
708
+ return jspb.Message.setProto3StringField(this, 2, value);
709
+ };
710
+
711
+
712
+ /**
713
+ * optional Op op = 3;
714
+ * @return {!proto.pulumirpc.ViewStep.Op}
715
+ */
716
+ proto.pulumirpc.ViewStep.prototype.getOp = function() {
717
+ return /** @type {!proto.pulumirpc.ViewStep.Op} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
718
+ };
719
+
720
+
721
+ /**
722
+ * @param {!proto.pulumirpc.ViewStep.Op} value
723
+ * @return {!proto.pulumirpc.ViewStep} returns this
724
+ */
725
+ proto.pulumirpc.ViewStep.prototype.setOp = function(value) {
726
+ return jspb.Message.setProto3EnumField(this, 3, value);
727
+ };
728
+
729
+
730
+ /**
731
+ * optional string type = 4;
732
+ * @return {string}
733
+ */
734
+ proto.pulumirpc.ViewStep.prototype.getType = function() {
735
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
736
+ };
737
+
738
+
739
+ /**
740
+ * @param {string} value
741
+ * @return {!proto.pulumirpc.ViewStep} returns this
742
+ */
743
+ proto.pulumirpc.ViewStep.prototype.setType = function(value) {
744
+ return jspb.Message.setProto3StringField(this, 4, value);
745
+ };
746
+
747
+
748
+ /**
749
+ * optional string name = 5;
750
+ * @return {string}
751
+ */
752
+ proto.pulumirpc.ViewStep.prototype.getName = function() {
753
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
754
+ };
755
+
756
+
757
+ /**
758
+ * @param {string} value
759
+ * @return {!proto.pulumirpc.ViewStep} returns this
760
+ */
761
+ proto.pulumirpc.ViewStep.prototype.setName = function(value) {
762
+ return jspb.Message.setProto3StringField(this, 5, value);
763
+ };
764
+
765
+
766
+ /**
767
+ * optional ViewStepState old = 6;
768
+ * @return {?proto.pulumirpc.ViewStepState}
769
+ */
770
+ proto.pulumirpc.ViewStep.prototype.getOld = function() {
771
+ return /** @type{?proto.pulumirpc.ViewStepState} */ (
772
+ jspb.Message.getWrapperField(this, proto.pulumirpc.ViewStepState, 6));
773
+ };
774
+
775
+
776
+ /**
777
+ * @param {?proto.pulumirpc.ViewStepState|undefined} value
778
+ * @return {!proto.pulumirpc.ViewStep} returns this
779
+ */
780
+ proto.pulumirpc.ViewStep.prototype.setOld = function(value) {
781
+ return jspb.Message.setWrapperField(this, 6, value);
782
+ };
783
+
784
+
785
+ /**
786
+ * Clears the message field making it undefined.
787
+ * @return {!proto.pulumirpc.ViewStep} returns this
788
+ */
789
+ proto.pulumirpc.ViewStep.prototype.clearOld = function() {
790
+ return this.setOld(undefined);
791
+ };
792
+
793
+
794
+ /**
795
+ * Returns whether this field is set.
796
+ * @return {boolean}
797
+ */
798
+ proto.pulumirpc.ViewStep.prototype.hasOld = function() {
799
+ return jspb.Message.getField(this, 6) != null;
800
+ };
801
+
802
+
803
+ /**
804
+ * optional ViewStepState new = 7;
805
+ * @return {?proto.pulumirpc.ViewStepState}
806
+ */
807
+ proto.pulumirpc.ViewStep.prototype.getNew = function() {
808
+ return /** @type{?proto.pulumirpc.ViewStepState} */ (
809
+ jspb.Message.getWrapperField(this, proto.pulumirpc.ViewStepState, 7));
810
+ };
811
+
812
+
813
+ /**
814
+ * @param {?proto.pulumirpc.ViewStepState|undefined} value
815
+ * @return {!proto.pulumirpc.ViewStep} returns this
816
+ */
817
+ proto.pulumirpc.ViewStep.prototype.setNew = function(value) {
818
+ return jspb.Message.setWrapperField(this, 7, value);
819
+ };
820
+
821
+
822
+ /**
823
+ * Clears the message field making it undefined.
824
+ * @return {!proto.pulumirpc.ViewStep} returns this
825
+ */
826
+ proto.pulumirpc.ViewStep.prototype.clearNew = function() {
827
+ return this.setNew(undefined);
828
+ };
829
+
830
+
831
+ /**
832
+ * Returns whether this field is set.
833
+ * @return {boolean}
834
+ */
835
+ proto.pulumirpc.ViewStep.prototype.hasNew = function() {
836
+ return jspb.Message.getField(this, 7) != null;
837
+ };
838
+
839
+
840
+ /**
841
+ * repeated string keys = 8;
842
+ * @return {!Array<string>}
843
+ */
844
+ proto.pulumirpc.ViewStep.prototype.getKeysList = function() {
845
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
846
+ };
847
+
848
+
849
+ /**
850
+ * @param {!Array<string>} value
851
+ * @return {!proto.pulumirpc.ViewStep} returns this
852
+ */
853
+ proto.pulumirpc.ViewStep.prototype.setKeysList = function(value) {
854
+ return jspb.Message.setField(this, 8, value || []);
855
+ };
856
+
857
+
858
+ /**
859
+ * @param {string} value
860
+ * @param {number=} opt_index
861
+ * @return {!proto.pulumirpc.ViewStep} returns this
862
+ */
863
+ proto.pulumirpc.ViewStep.prototype.addKeys = function(value, opt_index) {
864
+ return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
865
+ };
866
+
867
+
868
+ /**
869
+ * Clears the list making it empty but non-null.
870
+ * @return {!proto.pulumirpc.ViewStep} returns this
871
+ */
872
+ proto.pulumirpc.ViewStep.prototype.clearKeysList = function() {
873
+ return this.setKeysList([]);
874
+ };
875
+
876
+
877
+ /**
878
+ * repeated string diffs = 9;
879
+ * @return {!Array<string>}
880
+ */
881
+ proto.pulumirpc.ViewStep.prototype.getDiffsList = function() {
882
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
883
+ };
884
+
885
+
886
+ /**
887
+ * @param {!Array<string>} value
888
+ * @return {!proto.pulumirpc.ViewStep} returns this
889
+ */
890
+ proto.pulumirpc.ViewStep.prototype.setDiffsList = function(value) {
891
+ return jspb.Message.setField(this, 9, value || []);
892
+ };
893
+
894
+
895
+ /**
896
+ * @param {string} value
897
+ * @param {number=} opt_index
898
+ * @return {!proto.pulumirpc.ViewStep} returns this
899
+ */
900
+ proto.pulumirpc.ViewStep.prototype.addDiffs = function(value, opt_index) {
901
+ return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
902
+ };
903
+
904
+
905
+ /**
906
+ * Clears the list making it empty but non-null.
907
+ * @return {!proto.pulumirpc.ViewStep} returns this
908
+ */
909
+ proto.pulumirpc.ViewStep.prototype.clearDiffsList = function() {
910
+ return this.setDiffsList([]);
911
+ };
912
+
913
+
914
+ /**
915
+ * map<string, PropertyDiff> detailed_diff = 10;
916
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
917
+ * empty, instead returning `undefined`
918
+ * @return {!jspb.Map<string,!proto.pulumirpc.PropertyDiff>}
919
+ */
920
+ proto.pulumirpc.ViewStep.prototype.getDetailedDiffMap = function(opt_noLazyCreate) {
921
+ return /** @type {!jspb.Map<string,!proto.pulumirpc.PropertyDiff>} */ (
922
+ jspb.Message.getMapField(this, 10, opt_noLazyCreate,
923
+ proto.pulumirpc.PropertyDiff));
924
+ };
925
+
926
+
927
+ /**
928
+ * Clears values from the map. The map will be non-null.
929
+ * @return {!proto.pulumirpc.ViewStep} returns this
930
+ */
931
+ proto.pulumirpc.ViewStep.prototype.clearDetailedDiffMap = function() {
932
+ this.getDetailedDiffMap().clear();
933
+ return this;};
934
+
935
+
936
+ /**
937
+ * optional bool has_detailed_diff = 11;
938
+ * @return {boolean}
939
+ */
940
+ proto.pulumirpc.ViewStep.prototype.getHasDetailedDiff = function() {
941
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
942
+ };
943
+
944
+
945
+ /**
946
+ * @param {boolean} value
947
+ * @return {!proto.pulumirpc.ViewStep} returns this
948
+ */
949
+ proto.pulumirpc.ViewStep.prototype.setHasDetailedDiff = function(value) {
950
+ return jspb.Message.setProto3BooleanField(this, 11, value);
951
+ };
952
+
953
+
954
+
955
+
956
+
957
+ if (jspb.Message.GENERATE_TO_OBJECT) {
958
+ /**
959
+ * Creates an object representation of this proto.
960
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
961
+ * Optional fields that are not set will be set to undefined.
962
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
963
+ * For the list of reserved names please see:
964
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
965
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
966
+ * JSPB instance for transitional soy proto support:
967
+ * http://goto/soy-param-migration
968
+ * @return {!Object}
969
+ */
970
+ proto.pulumirpc.ViewStepState.prototype.toObject = function(opt_includeInstance) {
971
+ return proto.pulumirpc.ViewStepState.toObject(opt_includeInstance, this);
972
+ };
973
+
974
+
975
+ /**
976
+ * Static version of the {@see toObject} method.
977
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
978
+ * the JSPB instance for transitional soy proto support:
979
+ * http://goto/soy-param-migration
980
+ * @param {!proto.pulumirpc.ViewStepState} msg The msg instance to transform.
981
+ * @return {!Object}
982
+ * @suppress {unusedLocalVariables} f is only used for nested messages
983
+ */
984
+ proto.pulumirpc.ViewStepState.toObject = function(includeInstance, msg) {
985
+ var f, obj = {
986
+ type: jspb.Message.getFieldWithDefault(msg, 1, ""),
987
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
988
+ parentType: jspb.Message.getFieldWithDefault(msg, 3, ""),
989
+ parentName: jspb.Message.getFieldWithDefault(msg, 4, ""),
990
+ inputs: (f = msg.getInputs()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
991
+ outputs: (f = msg.getOutputs()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
992
+ };
993
+
994
+ if (includeInstance) {
995
+ obj.$jspbMessageInstance = msg;
996
+ }
997
+ return obj;
998
+ };
999
+ }
1000
+
1001
+
1002
+ /**
1003
+ * Deserializes binary data (in protobuf wire format).
1004
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1005
+ * @return {!proto.pulumirpc.ViewStepState}
1006
+ */
1007
+ proto.pulumirpc.ViewStepState.deserializeBinary = function(bytes) {
1008
+ var reader = new jspb.BinaryReader(bytes);
1009
+ var msg = new proto.pulumirpc.ViewStepState;
1010
+ return proto.pulumirpc.ViewStepState.deserializeBinaryFromReader(msg, reader);
1011
+ };
1012
+
1013
+
1014
+ /**
1015
+ * Deserializes binary data (in protobuf wire format) from the
1016
+ * given reader into the given message object.
1017
+ * @param {!proto.pulumirpc.ViewStepState} msg The message object to deserialize into.
1018
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1019
+ * @return {!proto.pulumirpc.ViewStepState}
1020
+ */
1021
+ proto.pulumirpc.ViewStepState.deserializeBinaryFromReader = function(msg, reader) {
1022
+ while (reader.nextField()) {
1023
+ if (reader.isEndGroup()) {
1024
+ break;
1025
+ }
1026
+ var field = reader.getFieldNumber();
1027
+ switch (field) {
1028
+ case 1:
1029
+ var value = /** @type {string} */ (reader.readString());
1030
+ msg.setType(value);
1031
+ break;
1032
+ case 2:
1033
+ var value = /** @type {string} */ (reader.readString());
1034
+ msg.setName(value);
1035
+ break;
1036
+ case 3:
1037
+ var value = /** @type {string} */ (reader.readString());
1038
+ msg.setParentType(value);
1039
+ break;
1040
+ case 4:
1041
+ var value = /** @type {string} */ (reader.readString());
1042
+ msg.setParentName(value);
1043
+ break;
1044
+ case 5:
1045
+ var value = new google_protobuf_struct_pb.Struct;
1046
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
1047
+ msg.setInputs(value);
1048
+ break;
1049
+ case 6:
1050
+ var value = new google_protobuf_struct_pb.Struct;
1051
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
1052
+ msg.setOutputs(value);
1053
+ break;
1054
+ default:
1055
+ reader.skipField();
1056
+ break;
1057
+ }
1058
+ }
1059
+ return msg;
1060
+ };
1061
+
1062
+
1063
+ /**
1064
+ * Serializes the message to binary data (in protobuf wire format).
1065
+ * @return {!Uint8Array}
1066
+ */
1067
+ proto.pulumirpc.ViewStepState.prototype.serializeBinary = function() {
1068
+ var writer = new jspb.BinaryWriter();
1069
+ proto.pulumirpc.ViewStepState.serializeBinaryToWriter(this, writer);
1070
+ return writer.getResultBuffer();
1071
+ };
1072
+
1073
+
1074
+ /**
1075
+ * Serializes the given message to binary data (in protobuf wire
1076
+ * format), writing to the given BinaryWriter.
1077
+ * @param {!proto.pulumirpc.ViewStepState} message
1078
+ * @param {!jspb.BinaryWriter} writer
1079
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1080
+ */
1081
+ proto.pulumirpc.ViewStepState.serializeBinaryToWriter = function(message, writer) {
1082
+ var f = undefined;
1083
+ f = message.getType();
1084
+ if (f.length > 0) {
1085
+ writer.writeString(
1086
+ 1,
1087
+ f
1088
+ );
1089
+ }
1090
+ f = message.getName();
1091
+ if (f.length > 0) {
1092
+ writer.writeString(
1093
+ 2,
1094
+ f
1095
+ );
1096
+ }
1097
+ f = message.getParentType();
1098
+ if (f.length > 0) {
1099
+ writer.writeString(
1100
+ 3,
1101
+ f
1102
+ );
1103
+ }
1104
+ f = message.getParentName();
1105
+ if (f.length > 0) {
1106
+ writer.writeString(
1107
+ 4,
1108
+ f
1109
+ );
1110
+ }
1111
+ f = message.getInputs();
1112
+ if (f != null) {
1113
+ writer.writeMessage(
1114
+ 5,
1115
+ f,
1116
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
1117
+ );
1118
+ }
1119
+ f = message.getOutputs();
1120
+ if (f != null) {
1121
+ writer.writeMessage(
1122
+ 6,
1123
+ f,
1124
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
1125
+ );
1126
+ }
1127
+ };
1128
+
1129
+
1130
+ /**
1131
+ * optional string type = 1;
1132
+ * @return {string}
1133
+ */
1134
+ proto.pulumirpc.ViewStepState.prototype.getType = function() {
1135
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1136
+ };
1137
+
1138
+
1139
+ /**
1140
+ * @param {string} value
1141
+ * @return {!proto.pulumirpc.ViewStepState} returns this
1142
+ */
1143
+ proto.pulumirpc.ViewStepState.prototype.setType = function(value) {
1144
+ return jspb.Message.setProto3StringField(this, 1, value);
1145
+ };
1146
+
1147
+
1148
+ /**
1149
+ * optional string name = 2;
1150
+ * @return {string}
1151
+ */
1152
+ proto.pulumirpc.ViewStepState.prototype.getName = function() {
1153
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1154
+ };
1155
+
1156
+
1157
+ /**
1158
+ * @param {string} value
1159
+ * @return {!proto.pulumirpc.ViewStepState} returns this
1160
+ */
1161
+ proto.pulumirpc.ViewStepState.prototype.setName = function(value) {
1162
+ return jspb.Message.setProto3StringField(this, 2, value);
1163
+ };
1164
+
1165
+
1166
+ /**
1167
+ * optional string parent_type = 3;
1168
+ * @return {string}
1169
+ */
1170
+ proto.pulumirpc.ViewStepState.prototype.getParentType = function() {
1171
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1172
+ };
1173
+
1174
+
1175
+ /**
1176
+ * @param {string} value
1177
+ * @return {!proto.pulumirpc.ViewStepState} returns this
1178
+ */
1179
+ proto.pulumirpc.ViewStepState.prototype.setParentType = function(value) {
1180
+ return jspb.Message.setProto3StringField(this, 3, value);
1181
+ };
1182
+
1183
+
1184
+ /**
1185
+ * optional string parent_name = 4;
1186
+ * @return {string}
1187
+ */
1188
+ proto.pulumirpc.ViewStepState.prototype.getParentName = function() {
1189
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1190
+ };
1191
+
1192
+
1193
+ /**
1194
+ * @param {string} value
1195
+ * @return {!proto.pulumirpc.ViewStepState} returns this
1196
+ */
1197
+ proto.pulumirpc.ViewStepState.prototype.setParentName = function(value) {
1198
+ return jspb.Message.setProto3StringField(this, 4, value);
1199
+ };
1200
+
1201
+
1202
+ /**
1203
+ * optional google.protobuf.Struct inputs = 5;
1204
+ * @return {?proto.google.protobuf.Struct}
1205
+ */
1206
+ proto.pulumirpc.ViewStepState.prototype.getInputs = function() {
1207
+ return /** @type{?proto.google.protobuf.Struct} */ (
1208
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5));
1209
+ };
1210
+
1211
+
1212
+ /**
1213
+ * @param {?proto.google.protobuf.Struct|undefined} value
1214
+ * @return {!proto.pulumirpc.ViewStepState} returns this
1215
+ */
1216
+ proto.pulumirpc.ViewStepState.prototype.setInputs = function(value) {
1217
+ return jspb.Message.setWrapperField(this, 5, value);
1218
+ };
1219
+
1220
+
1221
+ /**
1222
+ * Clears the message field making it undefined.
1223
+ * @return {!proto.pulumirpc.ViewStepState} returns this
1224
+ */
1225
+ proto.pulumirpc.ViewStepState.prototype.clearInputs = function() {
1226
+ return this.setInputs(undefined);
1227
+ };
1228
+
1229
+
1230
+ /**
1231
+ * Returns whether this field is set.
1232
+ * @return {boolean}
1233
+ */
1234
+ proto.pulumirpc.ViewStepState.prototype.hasInputs = function() {
1235
+ return jspb.Message.getField(this, 5) != null;
1236
+ };
1237
+
1238
+
1239
+ /**
1240
+ * optional google.protobuf.Struct outputs = 6;
1241
+ * @return {?proto.google.protobuf.Struct}
1242
+ */
1243
+ proto.pulumirpc.ViewStepState.prototype.getOutputs = function() {
1244
+ return /** @type{?proto.google.protobuf.Struct} */ (
1245
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 6));
1246
+ };
1247
+
1248
+
1249
+ /**
1250
+ * @param {?proto.google.protobuf.Struct|undefined} value
1251
+ * @return {!proto.pulumirpc.ViewStepState} returns this
1252
+ */
1253
+ proto.pulumirpc.ViewStepState.prototype.setOutputs = function(value) {
1254
+ return jspb.Message.setWrapperField(this, 6, value);
1255
+ };
1256
+
1257
+
1258
+ /**
1259
+ * Clears the message field making it undefined.
1260
+ * @return {!proto.pulumirpc.ViewStepState} returns this
1261
+ */
1262
+ proto.pulumirpc.ViewStepState.prototype.clearOutputs = function() {
1263
+ return this.setOutputs(undefined);
1264
+ };
1265
+
1266
+
1267
+ /**
1268
+ * Returns whether this field is set.
1269
+ * @return {boolean}
1270
+ */
1271
+ proto.pulumirpc.ViewStepState.prototype.hasOutputs = function() {
1272
+ return jspb.Message.getField(this, 6) != null;
1273
+ };
1274
+
1275
+
1276
+ goog.object.extend(exports, proto.pulumirpc);