@pulumi/pulumi 3.83.0 → 3.85.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/converter_pb.js +58 -2
- package/proto/provider_grpc_pb.js +36 -0
- package/proto/provider_pb.js +361 -1
- package/version.js +1 -1
package/package.json
CHANGED
package/proto/converter_pb.js
CHANGED
|
@@ -102,7 +102,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
102
102
|
* @constructor
|
|
103
103
|
*/
|
|
104
104
|
proto.pulumirpc.ConvertProgramRequest = function(opt_data) {
|
|
105
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
105
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.ConvertProgramRequest.repeatedFields_, null);
|
|
106
106
|
};
|
|
107
107
|
goog.inherits(proto.pulumirpc.ConvertProgramRequest, jspb.Message);
|
|
108
108
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -730,6 +730,13 @@ proto.pulumirpc.ConvertStateResponse.prototype.clearResourcesList = function() {
|
|
|
730
730
|
|
|
731
731
|
|
|
732
732
|
|
|
733
|
+
/**
|
|
734
|
+
* List of repeated fields within this message type.
|
|
735
|
+
* @private {!Array<number>}
|
|
736
|
+
* @const
|
|
737
|
+
*/
|
|
738
|
+
proto.pulumirpc.ConvertProgramRequest.repeatedFields_ = [5];
|
|
739
|
+
|
|
733
740
|
|
|
734
741
|
|
|
735
742
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -764,7 +771,8 @@ proto.pulumirpc.ConvertProgramRequest.toObject = function(includeInstance, msg)
|
|
|
764
771
|
sourceDirectory: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
765
772
|
targetDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
766
773
|
mapperTarget: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
767
|
-
loaderTarget: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
774
|
+
loaderTarget: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
775
|
+
argsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
768
776
|
};
|
|
769
777
|
|
|
770
778
|
if (includeInstance) {
|
|
@@ -817,6 +825,10 @@ proto.pulumirpc.ConvertProgramRequest.deserializeBinaryFromReader = function(msg
|
|
|
817
825
|
var value = /** @type {string} */ (reader.readString());
|
|
818
826
|
msg.setLoaderTarget(value);
|
|
819
827
|
break;
|
|
828
|
+
case 5:
|
|
829
|
+
var value = /** @type {string} */ (reader.readString());
|
|
830
|
+
msg.addArgs(value);
|
|
831
|
+
break;
|
|
820
832
|
default:
|
|
821
833
|
reader.skipField();
|
|
822
834
|
break;
|
|
@@ -874,6 +886,13 @@ proto.pulumirpc.ConvertProgramRequest.serializeBinaryToWriter = function(message
|
|
|
874
886
|
f
|
|
875
887
|
);
|
|
876
888
|
}
|
|
889
|
+
f = message.getArgsList();
|
|
890
|
+
if (f.length > 0) {
|
|
891
|
+
writer.writeRepeatedString(
|
|
892
|
+
5,
|
|
893
|
+
f
|
|
894
|
+
);
|
|
895
|
+
}
|
|
877
896
|
};
|
|
878
897
|
|
|
879
898
|
|
|
@@ -949,6 +968,43 @@ proto.pulumirpc.ConvertProgramRequest.prototype.setLoaderTarget = function(value
|
|
|
949
968
|
};
|
|
950
969
|
|
|
951
970
|
|
|
971
|
+
/**
|
|
972
|
+
* repeated string args = 5;
|
|
973
|
+
* @return {!Array<string>}
|
|
974
|
+
*/
|
|
975
|
+
proto.pulumirpc.ConvertProgramRequest.prototype.getArgsList = function() {
|
|
976
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* @param {!Array<string>} value
|
|
982
|
+
* @return {!proto.pulumirpc.ConvertProgramRequest} returns this
|
|
983
|
+
*/
|
|
984
|
+
proto.pulumirpc.ConvertProgramRequest.prototype.setArgsList = function(value) {
|
|
985
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* @param {string} value
|
|
991
|
+
* @param {number=} opt_index
|
|
992
|
+
* @return {!proto.pulumirpc.ConvertProgramRequest} returns this
|
|
993
|
+
*/
|
|
994
|
+
proto.pulumirpc.ConvertProgramRequest.prototype.addArgs = function(value, opt_index) {
|
|
995
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Clears the list making it empty but non-null.
|
|
1001
|
+
* @return {!proto.pulumirpc.ConvertProgramRequest} returns this
|
|
1002
|
+
*/
|
|
1003
|
+
proto.pulumirpc.ConvertProgramRequest.prototype.clearArgsList = function() {
|
|
1004
|
+
return this.setArgsList([]);
|
|
1005
|
+
};
|
|
1006
|
+
|
|
1007
|
+
|
|
952
1008
|
|
|
953
1009
|
/**
|
|
954
1010
|
* List of repeated fields within this message type.
|
|
@@ -199,6 +199,28 @@ function deserialize_pulumirpc_GetMappingResponse(buffer_arg) {
|
|
|
199
199
|
return pulumi_provider_pb.GetMappingResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
function serialize_pulumirpc_GetMappingsRequest(arg) {
|
|
203
|
+
if (!(arg instanceof pulumi_provider_pb.GetMappingsRequest)) {
|
|
204
|
+
throw new Error('Expected argument of type pulumirpc.GetMappingsRequest');
|
|
205
|
+
}
|
|
206
|
+
return Buffer.from(arg.serializeBinary());
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
function deserialize_pulumirpc_GetMappingsRequest(buffer_arg) {
|
|
210
|
+
return pulumi_provider_pb.GetMappingsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
function serialize_pulumirpc_GetMappingsResponse(arg) {
|
|
214
|
+
if (!(arg instanceof pulumi_provider_pb.GetMappingsResponse)) {
|
|
215
|
+
throw new Error('Expected argument of type pulumirpc.GetMappingsResponse');
|
|
216
|
+
}
|
|
217
|
+
return Buffer.from(arg.serializeBinary());
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
function deserialize_pulumirpc_GetMappingsResponse(buffer_arg) {
|
|
221
|
+
return pulumi_provider_pb.GetMappingsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
222
|
+
}
|
|
223
|
+
|
|
202
224
|
function serialize_pulumirpc_GetSchemaRequest(arg) {
|
|
203
225
|
if (!(arg instanceof pulumi_provider_pb.GetSchemaRequest)) {
|
|
204
226
|
throw new Error('Expected argument of type pulumirpc.GetSchemaRequest');
|
|
@@ -541,6 +563,20 @@ getMapping: {
|
|
|
541
563
|
responseSerialize: serialize_pulumirpc_GetMappingResponse,
|
|
542
564
|
responseDeserialize: deserialize_pulumirpc_GetMappingResponse,
|
|
543
565
|
},
|
|
566
|
+
// GetMappings is an optional method that returns what mappings (if any) a provider supports. If a provider does not
|
|
567
|
+
// implement this method the engine falls back to the old behaviour of just calling GetMapping without a name.
|
|
568
|
+
// If this method is implemented than the engine will then call GetMapping only with the names returned from this method.
|
|
569
|
+
getMappings: {
|
|
570
|
+
path: '/pulumirpc.ResourceProvider/GetMappings',
|
|
571
|
+
requestStream: false,
|
|
572
|
+
responseStream: false,
|
|
573
|
+
requestType: pulumi_provider_pb.GetMappingsRequest,
|
|
574
|
+
responseType: pulumi_provider_pb.GetMappingsResponse,
|
|
575
|
+
requestSerialize: serialize_pulumirpc_GetMappingsRequest,
|
|
576
|
+
requestDeserialize: deserialize_pulumirpc_GetMappingsRequest,
|
|
577
|
+
responseSerialize: serialize_pulumirpc_GetMappingsResponse,
|
|
578
|
+
responseDeserialize: deserialize_pulumirpc_GetMappingsResponse,
|
|
579
|
+
},
|
|
544
580
|
};
|
|
545
581
|
|
|
546
582
|
exports.ResourceProviderClient = grpc.makeGenericClientConstructor(ResourceProviderService);
|
package/proto/provider_pb.js
CHANGED
|
@@ -48,6 +48,8 @@ goog.exportSymbol('proto.pulumirpc.DiffResponse.DiffChanges', null, global);
|
|
|
48
48
|
goog.exportSymbol('proto.pulumirpc.ErrorResourceInitFailed', null, global);
|
|
49
49
|
goog.exportSymbol('proto.pulumirpc.GetMappingRequest', null, global);
|
|
50
50
|
goog.exportSymbol('proto.pulumirpc.GetMappingResponse', null, global);
|
|
51
|
+
goog.exportSymbol('proto.pulumirpc.GetMappingsRequest', null, global);
|
|
52
|
+
goog.exportSymbol('proto.pulumirpc.GetMappingsResponse', null, global);
|
|
51
53
|
goog.exportSymbol('proto.pulumirpc.GetSchemaRequest', null, global);
|
|
52
54
|
goog.exportSymbol('proto.pulumirpc.GetSchemaResponse', null, global);
|
|
53
55
|
goog.exportSymbol('proto.pulumirpc.InvokeRequest', null, global);
|
|
@@ -751,6 +753,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
751
753
|
*/
|
|
752
754
|
proto.pulumirpc.GetMappingResponse.displayName = 'proto.pulumirpc.GetMappingResponse';
|
|
753
755
|
}
|
|
756
|
+
/**
|
|
757
|
+
* Generated by JsPbCodeGenerator.
|
|
758
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
759
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
760
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
761
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
762
|
+
* valid.
|
|
763
|
+
* @extends {jspb.Message}
|
|
764
|
+
* @constructor
|
|
765
|
+
*/
|
|
766
|
+
proto.pulumirpc.GetMappingsRequest = function(opt_data) {
|
|
767
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
768
|
+
};
|
|
769
|
+
goog.inherits(proto.pulumirpc.GetMappingsRequest, jspb.Message);
|
|
770
|
+
if (goog.DEBUG && !COMPILED) {
|
|
771
|
+
/**
|
|
772
|
+
* @public
|
|
773
|
+
* @override
|
|
774
|
+
*/
|
|
775
|
+
proto.pulumirpc.GetMappingsRequest.displayName = 'proto.pulumirpc.GetMappingsRequest';
|
|
776
|
+
}
|
|
777
|
+
/**
|
|
778
|
+
* Generated by JsPbCodeGenerator.
|
|
779
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
780
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
781
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
782
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
783
|
+
* valid.
|
|
784
|
+
* @extends {jspb.Message}
|
|
785
|
+
* @constructor
|
|
786
|
+
*/
|
|
787
|
+
proto.pulumirpc.GetMappingsResponse = function(opt_data) {
|
|
788
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.GetMappingsResponse.repeatedFields_, null);
|
|
789
|
+
};
|
|
790
|
+
goog.inherits(proto.pulumirpc.GetMappingsResponse, jspb.Message);
|
|
791
|
+
if (goog.DEBUG && !COMPILED) {
|
|
792
|
+
/**
|
|
793
|
+
* @public
|
|
794
|
+
* @override
|
|
795
|
+
*/
|
|
796
|
+
proto.pulumirpc.GetMappingsResponse.displayName = 'proto.pulumirpc.GetMappingsResponse';
|
|
797
|
+
}
|
|
754
798
|
|
|
755
799
|
|
|
756
800
|
|
|
@@ -8779,7 +8823,8 @@ proto.pulumirpc.GetMappingRequest.prototype.toObject = function(opt_includeInsta
|
|
|
8779
8823
|
*/
|
|
8780
8824
|
proto.pulumirpc.GetMappingRequest.toObject = function(includeInstance, msg) {
|
|
8781
8825
|
var f, obj = {
|
|
8782
|
-
key: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
8826
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8827
|
+
provider: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8783
8828
|
};
|
|
8784
8829
|
|
|
8785
8830
|
if (includeInstance) {
|
|
@@ -8820,6 +8865,10 @@ proto.pulumirpc.GetMappingRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
8820
8865
|
var value = /** @type {string} */ (reader.readString());
|
|
8821
8866
|
msg.setKey(value);
|
|
8822
8867
|
break;
|
|
8868
|
+
case 2:
|
|
8869
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8870
|
+
msg.setProvider(value);
|
|
8871
|
+
break;
|
|
8823
8872
|
default:
|
|
8824
8873
|
reader.skipField();
|
|
8825
8874
|
break;
|
|
@@ -8856,6 +8905,13 @@ proto.pulumirpc.GetMappingRequest.serializeBinaryToWriter = function(message, wr
|
|
|
8856
8905
|
f
|
|
8857
8906
|
);
|
|
8858
8907
|
}
|
|
8908
|
+
f = message.getProvider();
|
|
8909
|
+
if (f.length > 0) {
|
|
8910
|
+
writer.writeString(
|
|
8911
|
+
2,
|
|
8912
|
+
f
|
|
8913
|
+
);
|
|
8914
|
+
}
|
|
8859
8915
|
};
|
|
8860
8916
|
|
|
8861
8917
|
|
|
@@ -8877,6 +8933,24 @@ proto.pulumirpc.GetMappingRequest.prototype.setKey = function(value) {
|
|
|
8877
8933
|
};
|
|
8878
8934
|
|
|
8879
8935
|
|
|
8936
|
+
/**
|
|
8937
|
+
* optional string provider = 2;
|
|
8938
|
+
* @return {string}
|
|
8939
|
+
*/
|
|
8940
|
+
proto.pulumirpc.GetMappingRequest.prototype.getProvider = function() {
|
|
8941
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8942
|
+
};
|
|
8943
|
+
|
|
8944
|
+
|
|
8945
|
+
/**
|
|
8946
|
+
* @param {string} value
|
|
8947
|
+
* @return {!proto.pulumirpc.GetMappingRequest} returns this
|
|
8948
|
+
*/
|
|
8949
|
+
proto.pulumirpc.GetMappingRequest.prototype.setProvider = function(value) {
|
|
8950
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
8951
|
+
};
|
|
8952
|
+
|
|
8953
|
+
|
|
8880
8954
|
|
|
8881
8955
|
|
|
8882
8956
|
|
|
@@ -9061,4 +9135,290 @@ proto.pulumirpc.GetMappingResponse.prototype.setData = function(value) {
|
|
|
9061
9135
|
};
|
|
9062
9136
|
|
|
9063
9137
|
|
|
9138
|
+
|
|
9139
|
+
|
|
9140
|
+
|
|
9141
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9142
|
+
/**
|
|
9143
|
+
* Creates an object representation of this proto.
|
|
9144
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9145
|
+
* Optional fields that are not set will be set to undefined.
|
|
9146
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9147
|
+
* For the list of reserved names please see:
|
|
9148
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9149
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9150
|
+
* JSPB instance for transitional soy proto support:
|
|
9151
|
+
* http://goto/soy-param-migration
|
|
9152
|
+
* @return {!Object}
|
|
9153
|
+
*/
|
|
9154
|
+
proto.pulumirpc.GetMappingsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
9155
|
+
return proto.pulumirpc.GetMappingsRequest.toObject(opt_includeInstance, this);
|
|
9156
|
+
};
|
|
9157
|
+
|
|
9158
|
+
|
|
9159
|
+
/**
|
|
9160
|
+
* Static version of the {@see toObject} method.
|
|
9161
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9162
|
+
* the JSPB instance for transitional soy proto support:
|
|
9163
|
+
* http://goto/soy-param-migration
|
|
9164
|
+
* @param {!proto.pulumirpc.GetMappingsRequest} msg The msg instance to transform.
|
|
9165
|
+
* @return {!Object}
|
|
9166
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9167
|
+
*/
|
|
9168
|
+
proto.pulumirpc.GetMappingsRequest.toObject = function(includeInstance, msg) {
|
|
9169
|
+
var f, obj = {
|
|
9170
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
9171
|
+
};
|
|
9172
|
+
|
|
9173
|
+
if (includeInstance) {
|
|
9174
|
+
obj.$jspbMessageInstance = msg;
|
|
9175
|
+
}
|
|
9176
|
+
return obj;
|
|
9177
|
+
};
|
|
9178
|
+
}
|
|
9179
|
+
|
|
9180
|
+
|
|
9181
|
+
/**
|
|
9182
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9183
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9184
|
+
* @return {!proto.pulumirpc.GetMappingsRequest}
|
|
9185
|
+
*/
|
|
9186
|
+
proto.pulumirpc.GetMappingsRequest.deserializeBinary = function(bytes) {
|
|
9187
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9188
|
+
var msg = new proto.pulumirpc.GetMappingsRequest;
|
|
9189
|
+
return proto.pulumirpc.GetMappingsRequest.deserializeBinaryFromReader(msg, reader);
|
|
9190
|
+
};
|
|
9191
|
+
|
|
9192
|
+
|
|
9193
|
+
/**
|
|
9194
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9195
|
+
* given reader into the given message object.
|
|
9196
|
+
* @param {!proto.pulumirpc.GetMappingsRequest} msg The message object to deserialize into.
|
|
9197
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9198
|
+
* @return {!proto.pulumirpc.GetMappingsRequest}
|
|
9199
|
+
*/
|
|
9200
|
+
proto.pulumirpc.GetMappingsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9201
|
+
while (reader.nextField()) {
|
|
9202
|
+
if (reader.isEndGroup()) {
|
|
9203
|
+
break;
|
|
9204
|
+
}
|
|
9205
|
+
var field = reader.getFieldNumber();
|
|
9206
|
+
switch (field) {
|
|
9207
|
+
case 1:
|
|
9208
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9209
|
+
msg.setKey(value);
|
|
9210
|
+
break;
|
|
9211
|
+
default:
|
|
9212
|
+
reader.skipField();
|
|
9213
|
+
break;
|
|
9214
|
+
}
|
|
9215
|
+
}
|
|
9216
|
+
return msg;
|
|
9217
|
+
};
|
|
9218
|
+
|
|
9219
|
+
|
|
9220
|
+
/**
|
|
9221
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9222
|
+
* @return {!Uint8Array}
|
|
9223
|
+
*/
|
|
9224
|
+
proto.pulumirpc.GetMappingsRequest.prototype.serializeBinary = function() {
|
|
9225
|
+
var writer = new jspb.BinaryWriter();
|
|
9226
|
+
proto.pulumirpc.GetMappingsRequest.serializeBinaryToWriter(this, writer);
|
|
9227
|
+
return writer.getResultBuffer();
|
|
9228
|
+
};
|
|
9229
|
+
|
|
9230
|
+
|
|
9231
|
+
/**
|
|
9232
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9233
|
+
* format), writing to the given BinaryWriter.
|
|
9234
|
+
* @param {!proto.pulumirpc.GetMappingsRequest} message
|
|
9235
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9236
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9237
|
+
*/
|
|
9238
|
+
proto.pulumirpc.GetMappingsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9239
|
+
var f = undefined;
|
|
9240
|
+
f = message.getKey();
|
|
9241
|
+
if (f.length > 0) {
|
|
9242
|
+
writer.writeString(
|
|
9243
|
+
1,
|
|
9244
|
+
f
|
|
9245
|
+
);
|
|
9246
|
+
}
|
|
9247
|
+
};
|
|
9248
|
+
|
|
9249
|
+
|
|
9250
|
+
/**
|
|
9251
|
+
* optional string key = 1;
|
|
9252
|
+
* @return {string}
|
|
9253
|
+
*/
|
|
9254
|
+
proto.pulumirpc.GetMappingsRequest.prototype.getKey = function() {
|
|
9255
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
9256
|
+
};
|
|
9257
|
+
|
|
9258
|
+
|
|
9259
|
+
/**
|
|
9260
|
+
* @param {string} value
|
|
9261
|
+
* @return {!proto.pulumirpc.GetMappingsRequest} returns this
|
|
9262
|
+
*/
|
|
9263
|
+
proto.pulumirpc.GetMappingsRequest.prototype.setKey = function(value) {
|
|
9264
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
9265
|
+
};
|
|
9266
|
+
|
|
9267
|
+
|
|
9268
|
+
|
|
9269
|
+
/**
|
|
9270
|
+
* List of repeated fields within this message type.
|
|
9271
|
+
* @private {!Array<number>}
|
|
9272
|
+
* @const
|
|
9273
|
+
*/
|
|
9274
|
+
proto.pulumirpc.GetMappingsResponse.repeatedFields_ = [1];
|
|
9275
|
+
|
|
9276
|
+
|
|
9277
|
+
|
|
9278
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9279
|
+
/**
|
|
9280
|
+
* Creates an object representation of this proto.
|
|
9281
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9282
|
+
* Optional fields that are not set will be set to undefined.
|
|
9283
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9284
|
+
* For the list of reserved names please see:
|
|
9285
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9286
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9287
|
+
* JSPB instance for transitional soy proto support:
|
|
9288
|
+
* http://goto/soy-param-migration
|
|
9289
|
+
* @return {!Object}
|
|
9290
|
+
*/
|
|
9291
|
+
proto.pulumirpc.GetMappingsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
9292
|
+
return proto.pulumirpc.GetMappingsResponse.toObject(opt_includeInstance, this);
|
|
9293
|
+
};
|
|
9294
|
+
|
|
9295
|
+
|
|
9296
|
+
/**
|
|
9297
|
+
* Static version of the {@see toObject} method.
|
|
9298
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9299
|
+
* the JSPB instance for transitional soy proto support:
|
|
9300
|
+
* http://goto/soy-param-migration
|
|
9301
|
+
* @param {!proto.pulumirpc.GetMappingsResponse} msg The msg instance to transform.
|
|
9302
|
+
* @return {!Object}
|
|
9303
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9304
|
+
*/
|
|
9305
|
+
proto.pulumirpc.GetMappingsResponse.toObject = function(includeInstance, msg) {
|
|
9306
|
+
var f, obj = {
|
|
9307
|
+
providersList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
9308
|
+
};
|
|
9309
|
+
|
|
9310
|
+
if (includeInstance) {
|
|
9311
|
+
obj.$jspbMessageInstance = msg;
|
|
9312
|
+
}
|
|
9313
|
+
return obj;
|
|
9314
|
+
};
|
|
9315
|
+
}
|
|
9316
|
+
|
|
9317
|
+
|
|
9318
|
+
/**
|
|
9319
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9320
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9321
|
+
* @return {!proto.pulumirpc.GetMappingsResponse}
|
|
9322
|
+
*/
|
|
9323
|
+
proto.pulumirpc.GetMappingsResponse.deserializeBinary = function(bytes) {
|
|
9324
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9325
|
+
var msg = new proto.pulumirpc.GetMappingsResponse;
|
|
9326
|
+
return proto.pulumirpc.GetMappingsResponse.deserializeBinaryFromReader(msg, reader);
|
|
9327
|
+
};
|
|
9328
|
+
|
|
9329
|
+
|
|
9330
|
+
/**
|
|
9331
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9332
|
+
* given reader into the given message object.
|
|
9333
|
+
* @param {!proto.pulumirpc.GetMappingsResponse} msg The message object to deserialize into.
|
|
9334
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9335
|
+
* @return {!proto.pulumirpc.GetMappingsResponse}
|
|
9336
|
+
*/
|
|
9337
|
+
proto.pulumirpc.GetMappingsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
9338
|
+
while (reader.nextField()) {
|
|
9339
|
+
if (reader.isEndGroup()) {
|
|
9340
|
+
break;
|
|
9341
|
+
}
|
|
9342
|
+
var field = reader.getFieldNumber();
|
|
9343
|
+
switch (field) {
|
|
9344
|
+
case 1:
|
|
9345
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9346
|
+
msg.addProviders(value);
|
|
9347
|
+
break;
|
|
9348
|
+
default:
|
|
9349
|
+
reader.skipField();
|
|
9350
|
+
break;
|
|
9351
|
+
}
|
|
9352
|
+
}
|
|
9353
|
+
return msg;
|
|
9354
|
+
};
|
|
9355
|
+
|
|
9356
|
+
|
|
9357
|
+
/**
|
|
9358
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9359
|
+
* @return {!Uint8Array}
|
|
9360
|
+
*/
|
|
9361
|
+
proto.pulumirpc.GetMappingsResponse.prototype.serializeBinary = function() {
|
|
9362
|
+
var writer = new jspb.BinaryWriter();
|
|
9363
|
+
proto.pulumirpc.GetMappingsResponse.serializeBinaryToWriter(this, writer);
|
|
9364
|
+
return writer.getResultBuffer();
|
|
9365
|
+
};
|
|
9366
|
+
|
|
9367
|
+
|
|
9368
|
+
/**
|
|
9369
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9370
|
+
* format), writing to the given BinaryWriter.
|
|
9371
|
+
* @param {!proto.pulumirpc.GetMappingsResponse} message
|
|
9372
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9373
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9374
|
+
*/
|
|
9375
|
+
proto.pulumirpc.GetMappingsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
9376
|
+
var f = undefined;
|
|
9377
|
+
f = message.getProvidersList();
|
|
9378
|
+
if (f.length > 0) {
|
|
9379
|
+
writer.writeRepeatedString(
|
|
9380
|
+
1,
|
|
9381
|
+
f
|
|
9382
|
+
);
|
|
9383
|
+
}
|
|
9384
|
+
};
|
|
9385
|
+
|
|
9386
|
+
|
|
9387
|
+
/**
|
|
9388
|
+
* repeated string providers = 1;
|
|
9389
|
+
* @return {!Array<string>}
|
|
9390
|
+
*/
|
|
9391
|
+
proto.pulumirpc.GetMappingsResponse.prototype.getProvidersList = function() {
|
|
9392
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
9393
|
+
};
|
|
9394
|
+
|
|
9395
|
+
|
|
9396
|
+
/**
|
|
9397
|
+
* @param {!Array<string>} value
|
|
9398
|
+
* @return {!proto.pulumirpc.GetMappingsResponse} returns this
|
|
9399
|
+
*/
|
|
9400
|
+
proto.pulumirpc.GetMappingsResponse.prototype.setProvidersList = function(value) {
|
|
9401
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
9402
|
+
};
|
|
9403
|
+
|
|
9404
|
+
|
|
9405
|
+
/**
|
|
9406
|
+
* @param {string} value
|
|
9407
|
+
* @param {number=} opt_index
|
|
9408
|
+
* @return {!proto.pulumirpc.GetMappingsResponse} returns this
|
|
9409
|
+
*/
|
|
9410
|
+
proto.pulumirpc.GetMappingsResponse.prototype.addProviders = function(value, opt_index) {
|
|
9411
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
9412
|
+
};
|
|
9413
|
+
|
|
9414
|
+
|
|
9415
|
+
/**
|
|
9416
|
+
* Clears the list making it empty but non-null.
|
|
9417
|
+
* @return {!proto.pulumirpc.GetMappingsResponse} returns this
|
|
9418
|
+
*/
|
|
9419
|
+
proto.pulumirpc.GetMappingsResponse.prototype.clearProvidersList = function() {
|
|
9420
|
+
return this.setProvidersList([]);
|
|
9421
|
+
};
|
|
9422
|
+
|
|
9423
|
+
|
|
9064
9424
|
goog.object.extend(exports, proto.pulumirpc);
|
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.85.0";
|
|
17
17
|
//# sourceMappingURL=version.js.map
|