@pulumi/pulumi 3.203.0-alpha.x2d5326d → 3.203.0-alpha.xc266ccb
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/language_grpc_pb.js +4 -1
- package/proto/language_pb.d.ts +36 -5
- package/proto/language_pb.js +291 -33
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -568,7 +568,10 @@ pack: {
|
|
|
568
568
|
responseSerialize: serialize_pulumirpc_PackResponse,
|
|
569
569
|
responseDeserialize: deserialize_pulumirpc_PackResponse,
|
|
570
570
|
},
|
|
571
|
-
// `Link` links
|
|
571
|
+
// `Link` links local dependencies into a project (program or plugin). The dependencies can be binary artifacts such
|
|
572
|
+
// as wheel or tar.gz files, or source directories. `Link` will update the language specific project files, such as
|
|
573
|
+
// `package.json`, `pyproject.toml`, `go.mod`, etc, to include the dependency. `Link` returns instructions for the
|
|
574
|
+
// user on how to use the linked package in the project.
|
|
572
575
|
link: {
|
|
573
576
|
path: '/pulumirpc.LanguageRuntime/Link',
|
|
574
577
|
requestStream: false,
|
package/proto/language_pb.d.ts
CHANGED
|
@@ -923,11 +923,12 @@ export class LinkRequest extends jspb.Message {
|
|
|
923
923
|
clearInfo(): void;
|
|
924
924
|
getInfo(): ProgramInfo | undefined;
|
|
925
925
|
setInfo(value?: ProgramInfo): LinkRequest;
|
|
926
|
-
|
|
927
|
-
getLocalDependenciesMap(): jspb.Map<string, string>;
|
|
928
|
-
clearLocalDependenciesMap(): void;
|
|
929
926
|
getLoaderTarget(): string;
|
|
930
927
|
setLoaderTarget(value: string): LinkRequest;
|
|
928
|
+
clearPackagesList(): void;
|
|
929
|
+
getPackagesList(): Array<LinkRequest.LinkDependency>;
|
|
930
|
+
setPackagesList(value: Array<LinkRequest.LinkDependency>): LinkRequest;
|
|
931
|
+
addPackages(value?: LinkRequest.LinkDependency, index?: number): LinkRequest.LinkDependency;
|
|
931
932
|
|
|
932
933
|
serializeBinary(): Uint8Array;
|
|
933
934
|
toObject(includeInstance?: boolean): LinkRequest.AsObject;
|
|
@@ -942,13 +943,42 @@ export class LinkRequest extends jspb.Message {
|
|
|
942
943
|
export namespace LinkRequest {
|
|
943
944
|
export type AsObject = {
|
|
944
945
|
info?: ProgramInfo.AsObject,
|
|
945
|
-
|
|
946
|
-
localDependenciesMap: Array<[string, string]>,
|
|
947
946
|
loaderTarget: string,
|
|
947
|
+
packagesList: Array<LinkRequest.LinkDependency.AsObject>,
|
|
948
948
|
}
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
export class LinkDependency extends jspb.Message {
|
|
952
|
+
|
|
953
|
+
hasPackage(): boolean;
|
|
954
|
+
clearPackage(): void;
|
|
955
|
+
getPackage(): pulumi_plugin_pb.PackageDependency | undefined;
|
|
956
|
+
setPackage(value?: pulumi_plugin_pb.PackageDependency): LinkDependency;
|
|
957
|
+
getPath(): string;
|
|
958
|
+
setPath(value: string): LinkDependency;
|
|
959
|
+
|
|
960
|
+
serializeBinary(): Uint8Array;
|
|
961
|
+
toObject(includeInstance?: boolean): LinkDependency.AsObject;
|
|
962
|
+
static toObject(includeInstance: boolean, msg: LinkDependency): LinkDependency.AsObject;
|
|
963
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
964
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
965
|
+
static serializeBinaryToWriter(message: LinkDependency, writer: jspb.BinaryWriter): void;
|
|
966
|
+
static deserializeBinary(bytes: Uint8Array): LinkDependency;
|
|
967
|
+
static deserializeBinaryFromReader(message: LinkDependency, reader: jspb.BinaryReader): LinkDependency;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
export namespace LinkDependency {
|
|
971
|
+
export type AsObject = {
|
|
972
|
+
pb_package?: pulumi_plugin_pb.PackageDependency.AsObject,
|
|
973
|
+
path: string,
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
|
|
949
977
|
}
|
|
950
978
|
|
|
951
979
|
export class LinkResponse extends jspb.Message {
|
|
980
|
+
getImportInstructions(): string;
|
|
981
|
+
setImportInstructions(value: string): LinkResponse;
|
|
952
982
|
|
|
953
983
|
serializeBinary(): Uint8Array;
|
|
954
984
|
toObject(includeInstance?: boolean): LinkResponse.AsObject;
|
|
@@ -962,5 +992,6 @@ export class LinkResponse extends jspb.Message {
|
|
|
962
992
|
|
|
963
993
|
export namespace LinkResponse {
|
|
964
994
|
export type AsObject = {
|
|
995
|
+
importInstructions: string,
|
|
965
996
|
}
|
|
966
997
|
}
|
package/proto/language_pb.js
CHANGED
|
@@ -49,6 +49,7 @@ goog.exportSymbol('proto.pulumirpc.InstallDependenciesResponse', null, global);
|
|
|
49
49
|
goog.exportSymbol('proto.pulumirpc.LanguageHandshakeRequest', null, global);
|
|
50
50
|
goog.exportSymbol('proto.pulumirpc.LanguageHandshakeResponse', null, global);
|
|
51
51
|
goog.exportSymbol('proto.pulumirpc.LinkRequest', null, global);
|
|
52
|
+
goog.exportSymbol('proto.pulumirpc.LinkRequest.LinkDependency', null, global);
|
|
52
53
|
goog.exportSymbol('proto.pulumirpc.LinkResponse', null, global);
|
|
53
54
|
goog.exportSymbol('proto.pulumirpc.PackRequest', null, global);
|
|
54
55
|
goog.exportSymbol('proto.pulumirpc.PackResponse', null, global);
|
|
@@ -704,7 +705,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
704
705
|
* @constructor
|
|
705
706
|
*/
|
|
706
707
|
proto.pulumirpc.LinkRequest = function(opt_data) {
|
|
707
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
708
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.LinkRequest.repeatedFields_, null);
|
|
708
709
|
};
|
|
709
710
|
goog.inherits(proto.pulumirpc.LinkRequest, jspb.Message);
|
|
710
711
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -714,6 +715,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
714
715
|
*/
|
|
715
716
|
proto.pulumirpc.LinkRequest.displayName = 'proto.pulumirpc.LinkRequest';
|
|
716
717
|
}
|
|
718
|
+
/**
|
|
719
|
+
* Generated by JsPbCodeGenerator.
|
|
720
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
721
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
722
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
723
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
724
|
+
* valid.
|
|
725
|
+
* @extends {jspb.Message}
|
|
726
|
+
* @constructor
|
|
727
|
+
*/
|
|
728
|
+
proto.pulumirpc.LinkRequest.LinkDependency = function(opt_data) {
|
|
729
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
730
|
+
};
|
|
731
|
+
goog.inherits(proto.pulumirpc.LinkRequest.LinkDependency, jspb.Message);
|
|
732
|
+
if (goog.DEBUG && !COMPILED) {
|
|
733
|
+
/**
|
|
734
|
+
* @public
|
|
735
|
+
* @override
|
|
736
|
+
*/
|
|
737
|
+
proto.pulumirpc.LinkRequest.LinkDependency.displayName = 'proto.pulumirpc.LinkRequest.LinkDependency';
|
|
738
|
+
}
|
|
717
739
|
/**
|
|
718
740
|
* Generated by JsPbCodeGenerator.
|
|
719
741
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7397,6 +7419,13 @@ proto.pulumirpc.LanguageHandshakeResponse.serializeBinaryToWriter = function(mes
|
|
|
7397
7419
|
|
|
7398
7420
|
|
|
7399
7421
|
|
|
7422
|
+
/**
|
|
7423
|
+
* List of repeated fields within this message type.
|
|
7424
|
+
* @private {!Array<number>}
|
|
7425
|
+
* @const
|
|
7426
|
+
*/
|
|
7427
|
+
proto.pulumirpc.LinkRequest.repeatedFields_ = [3];
|
|
7428
|
+
|
|
7400
7429
|
|
|
7401
7430
|
|
|
7402
7431
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -7429,8 +7458,9 @@ proto.pulumirpc.LinkRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
7429
7458
|
proto.pulumirpc.LinkRequest.toObject = function(includeInstance, msg) {
|
|
7430
7459
|
var f, obj = {
|
|
7431
7460
|
info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f),
|
|
7432
|
-
|
|
7433
|
-
|
|
7461
|
+
loaderTarget: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7462
|
+
packagesList: jspb.Message.toObjectList(msg.getPackagesList(),
|
|
7463
|
+
proto.pulumirpc.LinkRequest.LinkDependency.toObject, includeInstance)
|
|
7434
7464
|
};
|
|
7435
7465
|
|
|
7436
7466
|
if (includeInstance) {
|
|
@@ -7473,15 +7503,14 @@ proto.pulumirpc.LinkRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
7473
7503
|
msg.setInfo(value);
|
|
7474
7504
|
break;
|
|
7475
7505
|
case 2:
|
|
7476
|
-
var value = msg.getLocalDependenciesMap();
|
|
7477
|
-
reader.readMessage(value, function(message, reader) {
|
|
7478
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
7479
|
-
});
|
|
7480
|
-
break;
|
|
7481
|
-
case 3:
|
|
7482
7506
|
var value = /** @type {string} */ (reader.readString());
|
|
7483
7507
|
msg.setLoaderTarget(value);
|
|
7484
7508
|
break;
|
|
7509
|
+
case 3:
|
|
7510
|
+
var value = new proto.pulumirpc.LinkRequest.LinkDependency;
|
|
7511
|
+
reader.readMessage(value,proto.pulumirpc.LinkRequest.LinkDependency.deserializeBinaryFromReader);
|
|
7512
|
+
msg.addPackages(value);
|
|
7513
|
+
break;
|
|
7485
7514
|
default:
|
|
7486
7515
|
reader.skipField();
|
|
7487
7516
|
break;
|
|
@@ -7519,20 +7548,205 @@ proto.pulumirpc.LinkRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
7519
7548
|
proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
|
|
7520
7549
|
);
|
|
7521
7550
|
}
|
|
7522
|
-
f = message.getLocalDependenciesMap(true);
|
|
7523
|
-
if (f && f.getLength() > 0) {
|
|
7524
|
-
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
7525
|
-
}
|
|
7526
7551
|
f = message.getLoaderTarget();
|
|
7527
7552
|
if (f.length > 0) {
|
|
7528
7553
|
writer.writeString(
|
|
7554
|
+
2,
|
|
7555
|
+
f
|
|
7556
|
+
);
|
|
7557
|
+
}
|
|
7558
|
+
f = message.getPackagesList();
|
|
7559
|
+
if (f.length > 0) {
|
|
7560
|
+
writer.writeRepeatedMessage(
|
|
7529
7561
|
3,
|
|
7562
|
+
f,
|
|
7563
|
+
proto.pulumirpc.LinkRequest.LinkDependency.serializeBinaryToWriter
|
|
7564
|
+
);
|
|
7565
|
+
}
|
|
7566
|
+
};
|
|
7567
|
+
|
|
7568
|
+
|
|
7569
|
+
|
|
7570
|
+
|
|
7571
|
+
|
|
7572
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7573
|
+
/**
|
|
7574
|
+
* Creates an object representation of this proto.
|
|
7575
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7576
|
+
* Optional fields that are not set will be set to undefined.
|
|
7577
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7578
|
+
* For the list of reserved names please see:
|
|
7579
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7580
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7581
|
+
* JSPB instance for transitional soy proto support:
|
|
7582
|
+
* http://goto/soy-param-migration
|
|
7583
|
+
* @return {!Object}
|
|
7584
|
+
*/
|
|
7585
|
+
proto.pulumirpc.LinkRequest.LinkDependency.prototype.toObject = function(opt_includeInstance) {
|
|
7586
|
+
return proto.pulumirpc.LinkRequest.LinkDependency.toObject(opt_includeInstance, this);
|
|
7587
|
+
};
|
|
7588
|
+
|
|
7589
|
+
|
|
7590
|
+
/**
|
|
7591
|
+
* Static version of the {@see toObject} method.
|
|
7592
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7593
|
+
* the JSPB instance for transitional soy proto support:
|
|
7594
|
+
* http://goto/soy-param-migration
|
|
7595
|
+
* @param {!proto.pulumirpc.LinkRequest.LinkDependency} msg The msg instance to transform.
|
|
7596
|
+
* @return {!Object}
|
|
7597
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7598
|
+
*/
|
|
7599
|
+
proto.pulumirpc.LinkRequest.LinkDependency.toObject = function(includeInstance, msg) {
|
|
7600
|
+
var f, obj = {
|
|
7601
|
+
pb_package: (f = msg.getPackage()) && pulumi_plugin_pb.PackageDependency.toObject(includeInstance, f),
|
|
7602
|
+
path: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7603
|
+
};
|
|
7604
|
+
|
|
7605
|
+
if (includeInstance) {
|
|
7606
|
+
obj.$jspbMessageInstance = msg;
|
|
7607
|
+
}
|
|
7608
|
+
return obj;
|
|
7609
|
+
};
|
|
7610
|
+
}
|
|
7611
|
+
|
|
7612
|
+
|
|
7613
|
+
/**
|
|
7614
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7615
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7616
|
+
* @return {!proto.pulumirpc.LinkRequest.LinkDependency}
|
|
7617
|
+
*/
|
|
7618
|
+
proto.pulumirpc.LinkRequest.LinkDependency.deserializeBinary = function(bytes) {
|
|
7619
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7620
|
+
var msg = new proto.pulumirpc.LinkRequest.LinkDependency;
|
|
7621
|
+
return proto.pulumirpc.LinkRequest.LinkDependency.deserializeBinaryFromReader(msg, reader);
|
|
7622
|
+
};
|
|
7623
|
+
|
|
7624
|
+
|
|
7625
|
+
/**
|
|
7626
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7627
|
+
* given reader into the given message object.
|
|
7628
|
+
* @param {!proto.pulumirpc.LinkRequest.LinkDependency} msg The message object to deserialize into.
|
|
7629
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7630
|
+
* @return {!proto.pulumirpc.LinkRequest.LinkDependency}
|
|
7631
|
+
*/
|
|
7632
|
+
proto.pulumirpc.LinkRequest.LinkDependency.deserializeBinaryFromReader = function(msg, reader) {
|
|
7633
|
+
while (reader.nextField()) {
|
|
7634
|
+
if (reader.isEndGroup()) {
|
|
7635
|
+
break;
|
|
7636
|
+
}
|
|
7637
|
+
var field = reader.getFieldNumber();
|
|
7638
|
+
switch (field) {
|
|
7639
|
+
case 1:
|
|
7640
|
+
var value = new pulumi_plugin_pb.PackageDependency;
|
|
7641
|
+
reader.readMessage(value,pulumi_plugin_pb.PackageDependency.deserializeBinaryFromReader);
|
|
7642
|
+
msg.setPackage(value);
|
|
7643
|
+
break;
|
|
7644
|
+
case 2:
|
|
7645
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7646
|
+
msg.setPath(value);
|
|
7647
|
+
break;
|
|
7648
|
+
default:
|
|
7649
|
+
reader.skipField();
|
|
7650
|
+
break;
|
|
7651
|
+
}
|
|
7652
|
+
}
|
|
7653
|
+
return msg;
|
|
7654
|
+
};
|
|
7655
|
+
|
|
7656
|
+
|
|
7657
|
+
/**
|
|
7658
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7659
|
+
* @return {!Uint8Array}
|
|
7660
|
+
*/
|
|
7661
|
+
proto.pulumirpc.LinkRequest.LinkDependency.prototype.serializeBinary = function() {
|
|
7662
|
+
var writer = new jspb.BinaryWriter();
|
|
7663
|
+
proto.pulumirpc.LinkRequest.LinkDependency.serializeBinaryToWriter(this, writer);
|
|
7664
|
+
return writer.getResultBuffer();
|
|
7665
|
+
};
|
|
7666
|
+
|
|
7667
|
+
|
|
7668
|
+
/**
|
|
7669
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7670
|
+
* format), writing to the given BinaryWriter.
|
|
7671
|
+
* @param {!proto.pulumirpc.LinkRequest.LinkDependency} message
|
|
7672
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7673
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7674
|
+
*/
|
|
7675
|
+
proto.pulumirpc.LinkRequest.LinkDependency.serializeBinaryToWriter = function(message, writer) {
|
|
7676
|
+
var f = undefined;
|
|
7677
|
+
f = message.getPackage();
|
|
7678
|
+
if (f != null) {
|
|
7679
|
+
writer.writeMessage(
|
|
7680
|
+
1,
|
|
7681
|
+
f,
|
|
7682
|
+
pulumi_plugin_pb.PackageDependency.serializeBinaryToWriter
|
|
7683
|
+
);
|
|
7684
|
+
}
|
|
7685
|
+
f = message.getPath();
|
|
7686
|
+
if (f.length > 0) {
|
|
7687
|
+
writer.writeString(
|
|
7688
|
+
2,
|
|
7530
7689
|
f
|
|
7531
7690
|
);
|
|
7532
7691
|
}
|
|
7533
7692
|
};
|
|
7534
7693
|
|
|
7535
7694
|
|
|
7695
|
+
/**
|
|
7696
|
+
* optional PackageDependency package = 1;
|
|
7697
|
+
* @return {?proto.pulumirpc.PackageDependency}
|
|
7698
|
+
*/
|
|
7699
|
+
proto.pulumirpc.LinkRequest.LinkDependency.prototype.getPackage = function() {
|
|
7700
|
+
return /** @type{?proto.pulumirpc.PackageDependency} */ (
|
|
7701
|
+
jspb.Message.getWrapperField(this, pulumi_plugin_pb.PackageDependency, 1));
|
|
7702
|
+
};
|
|
7703
|
+
|
|
7704
|
+
|
|
7705
|
+
/**
|
|
7706
|
+
* @param {?proto.pulumirpc.PackageDependency|undefined} value
|
|
7707
|
+
* @return {!proto.pulumirpc.LinkRequest.LinkDependency} returns this
|
|
7708
|
+
*/
|
|
7709
|
+
proto.pulumirpc.LinkRequest.LinkDependency.prototype.setPackage = function(value) {
|
|
7710
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
7711
|
+
};
|
|
7712
|
+
|
|
7713
|
+
|
|
7714
|
+
/**
|
|
7715
|
+
* Clears the message field making it undefined.
|
|
7716
|
+
* @return {!proto.pulumirpc.LinkRequest.LinkDependency} returns this
|
|
7717
|
+
*/
|
|
7718
|
+
proto.pulumirpc.LinkRequest.LinkDependency.prototype.clearPackage = function() {
|
|
7719
|
+
return this.setPackage(undefined);
|
|
7720
|
+
};
|
|
7721
|
+
|
|
7722
|
+
|
|
7723
|
+
/**
|
|
7724
|
+
* Returns whether this field is set.
|
|
7725
|
+
* @return {boolean}
|
|
7726
|
+
*/
|
|
7727
|
+
proto.pulumirpc.LinkRequest.LinkDependency.prototype.hasPackage = function() {
|
|
7728
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7729
|
+
};
|
|
7730
|
+
|
|
7731
|
+
|
|
7732
|
+
/**
|
|
7733
|
+
* optional string path = 2;
|
|
7734
|
+
* @return {string}
|
|
7735
|
+
*/
|
|
7736
|
+
proto.pulumirpc.LinkRequest.LinkDependency.prototype.getPath = function() {
|
|
7737
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7738
|
+
};
|
|
7739
|
+
|
|
7740
|
+
|
|
7741
|
+
/**
|
|
7742
|
+
* @param {string} value
|
|
7743
|
+
* @return {!proto.pulumirpc.LinkRequest.LinkDependency} returns this
|
|
7744
|
+
*/
|
|
7745
|
+
proto.pulumirpc.LinkRequest.LinkDependency.prototype.setPath = function(value) {
|
|
7746
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7747
|
+
};
|
|
7748
|
+
|
|
7749
|
+
|
|
7536
7750
|
/**
|
|
7537
7751
|
* optional ProgramInfo info = 1;
|
|
7538
7752
|
* @return {?proto.pulumirpc.ProgramInfo}
|
|
@@ -7571,43 +7785,58 @@ proto.pulumirpc.LinkRequest.prototype.hasInfo = function() {
|
|
|
7571
7785
|
|
|
7572
7786
|
|
|
7573
7787
|
/**
|
|
7574
|
-
*
|
|
7575
|
-
* @
|
|
7576
|
-
* empty, instead returning `undefined`
|
|
7577
|
-
* @return {!jspb.Map<string,string>}
|
|
7788
|
+
* optional string loader_target = 2;
|
|
7789
|
+
* @return {string}
|
|
7578
7790
|
*/
|
|
7579
|
-
proto.pulumirpc.LinkRequest.prototype.
|
|
7580
|
-
return /** @type {
|
|
7581
|
-
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
7582
|
-
null));
|
|
7791
|
+
proto.pulumirpc.LinkRequest.prototype.getLoaderTarget = function() {
|
|
7792
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7583
7793
|
};
|
|
7584
7794
|
|
|
7585
7795
|
|
|
7586
7796
|
/**
|
|
7587
|
-
*
|
|
7797
|
+
* @param {string} value
|
|
7588
7798
|
* @return {!proto.pulumirpc.LinkRequest} returns this
|
|
7589
7799
|
*/
|
|
7590
|
-
proto.pulumirpc.LinkRequest.prototype.
|
|
7591
|
-
|
|
7592
|
-
return this;
|
|
7800
|
+
proto.pulumirpc.LinkRequest.prototype.setLoaderTarget = function(value) {
|
|
7801
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7593
7802
|
};
|
|
7594
7803
|
|
|
7595
7804
|
|
|
7596
7805
|
/**
|
|
7597
|
-
*
|
|
7598
|
-
* @return {
|
|
7806
|
+
* repeated LinkDependency packages = 3;
|
|
7807
|
+
* @return {!Array<!proto.pulumirpc.LinkRequest.LinkDependency>}
|
|
7599
7808
|
*/
|
|
7600
|
-
proto.pulumirpc.LinkRequest.prototype.
|
|
7601
|
-
return /** @type
|
|
7809
|
+
proto.pulumirpc.LinkRequest.prototype.getPackagesList = function() {
|
|
7810
|
+
return /** @type{!Array<!proto.pulumirpc.LinkRequest.LinkDependency>} */ (
|
|
7811
|
+
jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.LinkRequest.LinkDependency, 3));
|
|
7602
7812
|
};
|
|
7603
7813
|
|
|
7604
7814
|
|
|
7605
7815
|
/**
|
|
7606
|
-
* @param {
|
|
7816
|
+
* @param {!Array<!proto.pulumirpc.LinkRequest.LinkDependency>} value
|
|
7607
7817
|
* @return {!proto.pulumirpc.LinkRequest} returns this
|
|
7818
|
+
*/
|
|
7819
|
+
proto.pulumirpc.LinkRequest.prototype.setPackagesList = function(value) {
|
|
7820
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
7821
|
+
};
|
|
7822
|
+
|
|
7823
|
+
|
|
7824
|
+
/**
|
|
7825
|
+
* @param {!proto.pulumirpc.LinkRequest.LinkDependency=} opt_value
|
|
7826
|
+
* @param {number=} opt_index
|
|
7827
|
+
* @return {!proto.pulumirpc.LinkRequest.LinkDependency}
|
|
7608
7828
|
*/
|
|
7609
|
-
proto.pulumirpc.LinkRequest.prototype.
|
|
7610
|
-
return jspb.Message.
|
|
7829
|
+
proto.pulumirpc.LinkRequest.prototype.addPackages = function(opt_value, opt_index) {
|
|
7830
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.pulumirpc.LinkRequest.LinkDependency, opt_index);
|
|
7831
|
+
};
|
|
7832
|
+
|
|
7833
|
+
|
|
7834
|
+
/**
|
|
7835
|
+
* Clears the list making it empty but non-null.
|
|
7836
|
+
* @return {!proto.pulumirpc.LinkRequest} returns this
|
|
7837
|
+
*/
|
|
7838
|
+
proto.pulumirpc.LinkRequest.prototype.clearPackagesList = function() {
|
|
7839
|
+
return this.setPackagesList([]);
|
|
7611
7840
|
};
|
|
7612
7841
|
|
|
7613
7842
|
|
|
@@ -7643,7 +7872,7 @@ proto.pulumirpc.LinkResponse.prototype.toObject = function(opt_includeInstance)
|
|
|
7643
7872
|
*/
|
|
7644
7873
|
proto.pulumirpc.LinkResponse.toObject = function(includeInstance, msg) {
|
|
7645
7874
|
var f, obj = {
|
|
7646
|
-
|
|
7875
|
+
importInstructions: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
7647
7876
|
};
|
|
7648
7877
|
|
|
7649
7878
|
if (includeInstance) {
|
|
@@ -7680,6 +7909,10 @@ proto.pulumirpc.LinkResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
|
7680
7909
|
}
|
|
7681
7910
|
var field = reader.getFieldNumber();
|
|
7682
7911
|
switch (field) {
|
|
7912
|
+
case 1:
|
|
7913
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7914
|
+
msg.setImportInstructions(value);
|
|
7915
|
+
break;
|
|
7683
7916
|
default:
|
|
7684
7917
|
reader.skipField();
|
|
7685
7918
|
break;
|
|
@@ -7709,6 +7942,31 @@ proto.pulumirpc.LinkResponse.prototype.serializeBinary = function() {
|
|
|
7709
7942
|
*/
|
|
7710
7943
|
proto.pulumirpc.LinkResponse.serializeBinaryToWriter = function(message, writer) {
|
|
7711
7944
|
var f = undefined;
|
|
7945
|
+
f = message.getImportInstructions();
|
|
7946
|
+
if (f.length > 0) {
|
|
7947
|
+
writer.writeString(
|
|
7948
|
+
1,
|
|
7949
|
+
f
|
|
7950
|
+
);
|
|
7951
|
+
}
|
|
7952
|
+
};
|
|
7953
|
+
|
|
7954
|
+
|
|
7955
|
+
/**
|
|
7956
|
+
* optional string import_instructions = 1;
|
|
7957
|
+
* @return {string}
|
|
7958
|
+
*/
|
|
7959
|
+
proto.pulumirpc.LinkResponse.prototype.getImportInstructions = function() {
|
|
7960
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7961
|
+
};
|
|
7962
|
+
|
|
7963
|
+
|
|
7964
|
+
/**
|
|
7965
|
+
* @param {string} value
|
|
7966
|
+
* @return {!proto.pulumirpc.LinkResponse} returns this
|
|
7967
|
+
*/
|
|
7968
|
+
proto.pulumirpc.LinkResponse.prototype.setImportInstructions = function(value) {
|
|
7969
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7712
7970
|
};
|
|
7713
7971
|
|
|
7714
7972
|
|
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.203.0-alpha.
|
|
16
|
+
exports.version = "3.203.0-alpha.xc266ccb";
|
|
17
17
|
//# sourceMappingURL=version.js.map
|