@pulumi/pulumi 3.59.0 → 3.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/proto/codegen/mapper_grpc_pb.js +65 -0
- package/proto/codegen/mapper_pb.js +352 -0
- package/proto/converter_pb.js +61 -2
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
// Original file comments:
|
|
4
|
+
// Copyright 2016-2023, Pulumi Corporation.
|
|
5
|
+
//
|
|
6
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
// you may not use this file except in compliance with the License.
|
|
8
|
+
// You may obtain a copy of the License at
|
|
9
|
+
//
|
|
10
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
//
|
|
12
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
// See the License for the specific language governing permissions and
|
|
16
|
+
// limitations under the License.
|
|
17
|
+
//
|
|
18
|
+
'use strict';
|
|
19
|
+
var grpc = require('grpc');
|
|
20
|
+
var pulumi_codegen_mapper_pb = require('../../pulumi/codegen/mapper_pb.js');
|
|
21
|
+
var pulumi_plugin_pb = require('../../pulumi/plugin_pb.js');
|
|
22
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
23
|
+
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
|
24
|
+
|
|
25
|
+
function serialize_codegen_GetMappingRequest(arg) {
|
|
26
|
+
if (!(arg instanceof pulumi_codegen_mapper_pb.GetMappingRequest)) {
|
|
27
|
+
throw new Error('Expected argument of type codegen.GetMappingRequest');
|
|
28
|
+
}
|
|
29
|
+
return Buffer.from(arg.serializeBinary());
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function deserialize_codegen_GetMappingRequest(buffer_arg) {
|
|
33
|
+
return pulumi_codegen_mapper_pb.GetMappingRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function serialize_codegen_GetMappingResponse(arg) {
|
|
37
|
+
if (!(arg instanceof pulumi_codegen_mapper_pb.GetMappingResponse)) {
|
|
38
|
+
throw new Error('Expected argument of type codegen.GetMappingResponse');
|
|
39
|
+
}
|
|
40
|
+
return Buffer.from(arg.serializeBinary());
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function deserialize_codegen_GetMappingResponse(buffer_arg) {
|
|
44
|
+
return pulumi_codegen_mapper_pb.GetMappingResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
// Mapper is a service for getting mappings from other ecosystems to Pulumi.
|
|
49
|
+
// This is currently unstable and experimental.
|
|
50
|
+
var MapperService = exports.MapperService = {
|
|
51
|
+
// GetMapping tries to find a mapping for the given provider.
|
|
52
|
+
getMapping: {
|
|
53
|
+
path: '/codegen.Mapper/GetMapping',
|
|
54
|
+
requestStream: false,
|
|
55
|
+
responseStream: false,
|
|
56
|
+
requestType: pulumi_codegen_mapper_pb.GetMappingRequest,
|
|
57
|
+
responseType: pulumi_codegen_mapper_pb.GetMappingResponse,
|
|
58
|
+
requestSerialize: serialize_codegen_GetMappingRequest,
|
|
59
|
+
requestDeserialize: deserialize_codegen_GetMappingRequest,
|
|
60
|
+
responseSerialize: serialize_codegen_GetMappingResponse,
|
|
61
|
+
responseDeserialize: deserialize_codegen_GetMappingResponse,
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
exports.MapperClient = grpc.makeGenericClientConstructor(MapperService);
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
// source: pulumi/codegen/mapper.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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
17
|
+
|
|
18
|
+
var pulumi_plugin_pb = require('../../pulumi/plugin_pb.js');
|
|
19
|
+
goog.object.extend(proto, pulumi_plugin_pb);
|
|
20
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
21
|
+
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
22
|
+
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
|
23
|
+
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
24
|
+
goog.exportSymbol('proto.codegen.GetMappingRequest', null, global);
|
|
25
|
+
goog.exportSymbol('proto.codegen.GetMappingResponse', null, global);
|
|
26
|
+
/**
|
|
27
|
+
* Generated by JsPbCodeGenerator.
|
|
28
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
29
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
30
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
31
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
32
|
+
* valid.
|
|
33
|
+
* @extends {jspb.Message}
|
|
34
|
+
* @constructor
|
|
35
|
+
*/
|
|
36
|
+
proto.codegen.GetMappingRequest = function(opt_data) {
|
|
37
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
38
|
+
};
|
|
39
|
+
goog.inherits(proto.codegen.GetMappingRequest, jspb.Message);
|
|
40
|
+
if (goog.DEBUG && !COMPILED) {
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @override
|
|
44
|
+
*/
|
|
45
|
+
proto.codegen.GetMappingRequest.displayName = 'proto.codegen.GetMappingRequest';
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Generated by JsPbCodeGenerator.
|
|
49
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
50
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
51
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
52
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
53
|
+
* valid.
|
|
54
|
+
* @extends {jspb.Message}
|
|
55
|
+
* @constructor
|
|
56
|
+
*/
|
|
57
|
+
proto.codegen.GetMappingResponse = function(opt_data) {
|
|
58
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
59
|
+
};
|
|
60
|
+
goog.inherits(proto.codegen.GetMappingResponse, jspb.Message);
|
|
61
|
+
if (goog.DEBUG && !COMPILED) {
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* @override
|
|
65
|
+
*/
|
|
66
|
+
proto.codegen.GetMappingResponse.displayName = 'proto.codegen.GetMappingResponse';
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72
|
+
/**
|
|
73
|
+
* Creates an object representation of this proto.
|
|
74
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
75
|
+
* Optional fields that are not set will be set to undefined.
|
|
76
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
77
|
+
* For the list of reserved names please see:
|
|
78
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
79
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
80
|
+
* JSPB instance for transitional soy proto support:
|
|
81
|
+
* http://goto/soy-param-migration
|
|
82
|
+
* @return {!Object}
|
|
83
|
+
*/
|
|
84
|
+
proto.codegen.GetMappingRequest.prototype.toObject = function(opt_includeInstance) {
|
|
85
|
+
return proto.codegen.GetMappingRequest.toObject(opt_includeInstance, this);
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Static version of the {@see toObject} method.
|
|
91
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
92
|
+
* the JSPB instance for transitional soy proto support:
|
|
93
|
+
* http://goto/soy-param-migration
|
|
94
|
+
* @param {!proto.codegen.GetMappingRequest} msg The msg instance to transform.
|
|
95
|
+
* @return {!Object}
|
|
96
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
97
|
+
*/
|
|
98
|
+
proto.codegen.GetMappingRequest.toObject = function(includeInstance, msg) {
|
|
99
|
+
var f, obj = {
|
|
100
|
+
provider: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
if (includeInstance) {
|
|
104
|
+
obj.$jspbMessageInstance = msg;
|
|
105
|
+
}
|
|
106
|
+
return obj;
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Deserializes binary data (in protobuf wire format).
|
|
113
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
114
|
+
* @return {!proto.codegen.GetMappingRequest}
|
|
115
|
+
*/
|
|
116
|
+
proto.codegen.GetMappingRequest.deserializeBinary = function(bytes) {
|
|
117
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
118
|
+
var msg = new proto.codegen.GetMappingRequest;
|
|
119
|
+
return proto.codegen.GetMappingRequest.deserializeBinaryFromReader(msg, reader);
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
125
|
+
* given reader into the given message object.
|
|
126
|
+
* @param {!proto.codegen.GetMappingRequest} msg The message object to deserialize into.
|
|
127
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
128
|
+
* @return {!proto.codegen.GetMappingRequest}
|
|
129
|
+
*/
|
|
130
|
+
proto.codegen.GetMappingRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
131
|
+
while (reader.nextField()) {
|
|
132
|
+
if (reader.isEndGroup()) {
|
|
133
|
+
break;
|
|
134
|
+
}
|
|
135
|
+
var field = reader.getFieldNumber();
|
|
136
|
+
switch (field) {
|
|
137
|
+
case 1:
|
|
138
|
+
var value = /** @type {string} */ (reader.readString());
|
|
139
|
+
msg.setProvider(value);
|
|
140
|
+
break;
|
|
141
|
+
default:
|
|
142
|
+
reader.skipField();
|
|
143
|
+
break;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return msg;
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
152
|
+
* @return {!Uint8Array}
|
|
153
|
+
*/
|
|
154
|
+
proto.codegen.GetMappingRequest.prototype.serializeBinary = function() {
|
|
155
|
+
var writer = new jspb.BinaryWriter();
|
|
156
|
+
proto.codegen.GetMappingRequest.serializeBinaryToWriter(this, writer);
|
|
157
|
+
return writer.getResultBuffer();
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
163
|
+
* format), writing to the given BinaryWriter.
|
|
164
|
+
* @param {!proto.codegen.GetMappingRequest} message
|
|
165
|
+
* @param {!jspb.BinaryWriter} writer
|
|
166
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
167
|
+
*/
|
|
168
|
+
proto.codegen.GetMappingRequest.serializeBinaryToWriter = function(message, writer) {
|
|
169
|
+
var f = undefined;
|
|
170
|
+
f = message.getProvider();
|
|
171
|
+
if (f.length > 0) {
|
|
172
|
+
writer.writeString(
|
|
173
|
+
1,
|
|
174
|
+
f
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* optional string provider = 1;
|
|
182
|
+
* @return {string}
|
|
183
|
+
*/
|
|
184
|
+
proto.codegen.GetMappingRequest.prototype.getProvider = function() {
|
|
185
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* @param {string} value
|
|
191
|
+
* @return {!proto.codegen.GetMappingRequest} returns this
|
|
192
|
+
*/
|
|
193
|
+
proto.codegen.GetMappingRequest.prototype.setProvider = function(value) {
|
|
194
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
202
|
+
/**
|
|
203
|
+
* Creates an object representation of this proto.
|
|
204
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
205
|
+
* Optional fields that are not set will be set to undefined.
|
|
206
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
207
|
+
* For the list of reserved names please see:
|
|
208
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
209
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
210
|
+
* JSPB instance for transitional soy proto support:
|
|
211
|
+
* http://goto/soy-param-migration
|
|
212
|
+
* @return {!Object}
|
|
213
|
+
*/
|
|
214
|
+
proto.codegen.GetMappingResponse.prototype.toObject = function(opt_includeInstance) {
|
|
215
|
+
return proto.codegen.GetMappingResponse.toObject(opt_includeInstance, this);
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Static version of the {@see toObject} method.
|
|
221
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
222
|
+
* the JSPB instance for transitional soy proto support:
|
|
223
|
+
* http://goto/soy-param-migration
|
|
224
|
+
* @param {!proto.codegen.GetMappingResponse} msg The msg instance to transform.
|
|
225
|
+
* @return {!Object}
|
|
226
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
227
|
+
*/
|
|
228
|
+
proto.codegen.GetMappingResponse.toObject = function(includeInstance, msg) {
|
|
229
|
+
var f, obj = {
|
|
230
|
+
data: msg.getData_asB64()
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
if (includeInstance) {
|
|
234
|
+
obj.$jspbMessageInstance = msg;
|
|
235
|
+
}
|
|
236
|
+
return obj;
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Deserializes binary data (in protobuf wire format).
|
|
243
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
244
|
+
* @return {!proto.codegen.GetMappingResponse}
|
|
245
|
+
*/
|
|
246
|
+
proto.codegen.GetMappingResponse.deserializeBinary = function(bytes) {
|
|
247
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
248
|
+
var msg = new proto.codegen.GetMappingResponse;
|
|
249
|
+
return proto.codegen.GetMappingResponse.deserializeBinaryFromReader(msg, reader);
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
255
|
+
* given reader into the given message object.
|
|
256
|
+
* @param {!proto.codegen.GetMappingResponse} msg The message object to deserialize into.
|
|
257
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
258
|
+
* @return {!proto.codegen.GetMappingResponse}
|
|
259
|
+
*/
|
|
260
|
+
proto.codegen.GetMappingResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
261
|
+
while (reader.nextField()) {
|
|
262
|
+
if (reader.isEndGroup()) {
|
|
263
|
+
break;
|
|
264
|
+
}
|
|
265
|
+
var field = reader.getFieldNumber();
|
|
266
|
+
switch (field) {
|
|
267
|
+
case 1:
|
|
268
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
269
|
+
msg.setData(value);
|
|
270
|
+
break;
|
|
271
|
+
default:
|
|
272
|
+
reader.skipField();
|
|
273
|
+
break;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
return msg;
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
282
|
+
* @return {!Uint8Array}
|
|
283
|
+
*/
|
|
284
|
+
proto.codegen.GetMappingResponse.prototype.serializeBinary = function() {
|
|
285
|
+
var writer = new jspb.BinaryWriter();
|
|
286
|
+
proto.codegen.GetMappingResponse.serializeBinaryToWriter(this, writer);
|
|
287
|
+
return writer.getResultBuffer();
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
293
|
+
* format), writing to the given BinaryWriter.
|
|
294
|
+
* @param {!proto.codegen.GetMappingResponse} message
|
|
295
|
+
* @param {!jspb.BinaryWriter} writer
|
|
296
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
297
|
+
*/
|
|
298
|
+
proto.codegen.GetMappingResponse.serializeBinaryToWriter = function(message, writer) {
|
|
299
|
+
var f = undefined;
|
|
300
|
+
f = message.getData_asU8();
|
|
301
|
+
if (f.length > 0) {
|
|
302
|
+
writer.writeBytes(
|
|
303
|
+
1,
|
|
304
|
+
f
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* optional bytes data = 1;
|
|
312
|
+
* @return {!(string|Uint8Array)}
|
|
313
|
+
*/
|
|
314
|
+
proto.codegen.GetMappingResponse.prototype.getData = function() {
|
|
315
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* optional bytes data = 1;
|
|
321
|
+
* This is a type-conversion wrapper around `getData()`
|
|
322
|
+
* @return {string}
|
|
323
|
+
*/
|
|
324
|
+
proto.codegen.GetMappingResponse.prototype.getData_asB64 = function() {
|
|
325
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
326
|
+
this.getData()));
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* optional bytes data = 1;
|
|
332
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
333
|
+
* @see http://caniuse.com/Uint8Array
|
|
334
|
+
* This is a type-conversion wrapper around `getData()`
|
|
335
|
+
* @return {!Uint8Array}
|
|
336
|
+
*/
|
|
337
|
+
proto.codegen.GetMappingResponse.prototype.getData_asU8 = function() {
|
|
338
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
339
|
+
this.getData()));
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* @param {!(string|Uint8Array)} value
|
|
345
|
+
* @return {!proto.codegen.GetMappingResponse} returns this
|
|
346
|
+
*/
|
|
347
|
+
proto.codegen.GetMappingResponse.prototype.setData = function(value) {
|
|
348
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
goog.object.extend(exports, proto.codegen);
|
package/proto/converter_pb.js
CHANGED
|
@@ -163,7 +163,7 @@ proto.pulumirpc.ConvertStateRequest.prototype.toObject = function(opt_includeIns
|
|
|
163
163
|
*/
|
|
164
164
|
proto.pulumirpc.ConvertStateRequest.toObject = function(includeInstance, msg) {
|
|
165
165
|
var f, obj = {
|
|
166
|
-
|
|
166
|
+
mapperTarget: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
167
167
|
};
|
|
168
168
|
|
|
169
169
|
if (includeInstance) {
|
|
@@ -200,6 +200,10 @@ proto.pulumirpc.ConvertStateRequest.deserializeBinaryFromReader = function(msg,
|
|
|
200
200
|
}
|
|
201
201
|
var field = reader.getFieldNumber();
|
|
202
202
|
switch (field) {
|
|
203
|
+
case 1:
|
|
204
|
+
var value = /** @type {string} */ (reader.readString());
|
|
205
|
+
msg.setMapperTarget(value);
|
|
206
|
+
break;
|
|
203
207
|
default:
|
|
204
208
|
reader.skipField();
|
|
205
209
|
break;
|
|
@@ -229,6 +233,31 @@ proto.pulumirpc.ConvertStateRequest.prototype.serializeBinary = function() {
|
|
|
229
233
|
*/
|
|
230
234
|
proto.pulumirpc.ConvertStateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
231
235
|
var f = undefined;
|
|
236
|
+
f = message.getMapperTarget();
|
|
237
|
+
if (f.length > 0) {
|
|
238
|
+
writer.writeString(
|
|
239
|
+
1,
|
|
240
|
+
f
|
|
241
|
+
);
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* optional string mapper_target = 1;
|
|
248
|
+
* @return {string}
|
|
249
|
+
*/
|
|
250
|
+
proto.pulumirpc.ConvertStateRequest.prototype.getMapperTarget = function() {
|
|
251
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* @param {string} value
|
|
257
|
+
* @return {!proto.pulumirpc.ConvertStateRequest} returns this
|
|
258
|
+
*/
|
|
259
|
+
proto.pulumirpc.ConvertStateRequest.prototype.setMapperTarget = function(value) {
|
|
260
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
232
261
|
};
|
|
233
262
|
|
|
234
263
|
|
|
@@ -675,7 +704,8 @@ proto.pulumirpc.ConvertProgramRequest.prototype.toObject = function(opt_includeI
|
|
|
675
704
|
proto.pulumirpc.ConvertProgramRequest.toObject = function(includeInstance, msg) {
|
|
676
705
|
var f, obj = {
|
|
677
706
|
sourceDirectory: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
678
|
-
targetDirectory: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
707
|
+
targetDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
708
|
+
mapperTarget: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
679
709
|
};
|
|
680
710
|
|
|
681
711
|
if (includeInstance) {
|
|
@@ -720,6 +750,10 @@ proto.pulumirpc.ConvertProgramRequest.deserializeBinaryFromReader = function(msg
|
|
|
720
750
|
var value = /** @type {string} */ (reader.readString());
|
|
721
751
|
msg.setTargetDirectory(value);
|
|
722
752
|
break;
|
|
753
|
+
case 3:
|
|
754
|
+
var value = /** @type {string} */ (reader.readString());
|
|
755
|
+
msg.setMapperTarget(value);
|
|
756
|
+
break;
|
|
723
757
|
default:
|
|
724
758
|
reader.skipField();
|
|
725
759
|
break;
|
|
@@ -763,6 +797,13 @@ proto.pulumirpc.ConvertProgramRequest.serializeBinaryToWriter = function(message
|
|
|
763
797
|
f
|
|
764
798
|
);
|
|
765
799
|
}
|
|
800
|
+
f = message.getMapperTarget();
|
|
801
|
+
if (f.length > 0) {
|
|
802
|
+
writer.writeString(
|
|
803
|
+
3,
|
|
804
|
+
f
|
|
805
|
+
);
|
|
806
|
+
}
|
|
766
807
|
};
|
|
767
808
|
|
|
768
809
|
|
|
@@ -802,6 +843,24 @@ proto.pulumirpc.ConvertProgramRequest.prototype.setTargetDirectory = function(va
|
|
|
802
843
|
};
|
|
803
844
|
|
|
804
845
|
|
|
846
|
+
/**
|
|
847
|
+
* optional string mapper_target = 3;
|
|
848
|
+
* @return {string}
|
|
849
|
+
*/
|
|
850
|
+
proto.pulumirpc.ConvertProgramRequest.prototype.getMapperTarget = function() {
|
|
851
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
852
|
+
};
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* @param {string} value
|
|
857
|
+
* @return {!proto.pulumirpc.ConvertProgramRequest} returns this
|
|
858
|
+
*/
|
|
859
|
+
proto.pulumirpc.ConvertProgramRequest.prototype.setMapperTarget = function(value) {
|
|
860
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
861
|
+
};
|
|
862
|
+
|
|
863
|
+
|
|
805
864
|
|
|
806
865
|
|
|
807
866
|
|
package/version.js
CHANGED
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
// See the License for the specific language governing permissions and
|
|
14
14
|
// limitations under the License.
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.version = "3.
|
|
16
|
+
exports.version = "3.60.0";
|
|
17
17
|
//# sourceMappingURL=version.js.map
|