@pulumi/pulumi 3.176.0-alpha.x5033621 → 3.176.0-alpha.x71e0ddb
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.d.ts +17 -0
- package/proto/language_grpc_pb.js +34 -0
- package/proto/language_pb.d.ts +45 -0
- package/proto/language_pb.js +329 -0
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -26,6 +26,7 @@ interface ILanguageRuntimeService extends grpc.ServiceDefinition<grpc.UntypedSer
|
|
|
26
26
|
generateProject: ILanguageRuntimeService_IGenerateProject;
|
|
27
27
|
generatePackage: ILanguageRuntimeService_IGeneratePackage;
|
|
28
28
|
pack: ILanguageRuntimeService_IPack;
|
|
29
|
+
link: ILanguageRuntimeService_ILink;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
interface ILanguageRuntimeService_IHandshake extends grpc.MethodDefinition<pulumi_language_pb.LanguageHandshakeRequest, pulumi_language_pb.LanguageHandshakeResponse> {
|
|
@@ -154,6 +155,15 @@ interface ILanguageRuntimeService_IPack extends grpc.MethodDefinition<pulumi_lan
|
|
|
154
155
|
responseSerialize: grpc.serialize<pulumi_language_pb.PackResponse>;
|
|
155
156
|
responseDeserialize: grpc.deserialize<pulumi_language_pb.PackResponse>;
|
|
156
157
|
}
|
|
158
|
+
interface ILanguageRuntimeService_ILink extends grpc.MethodDefinition<pulumi_language_pb.LinkRequest, pulumi_language_pb.LinkResponse> {
|
|
159
|
+
path: "/pulumirpc.LanguageRuntime/Link";
|
|
160
|
+
requestStream: false;
|
|
161
|
+
responseStream: false;
|
|
162
|
+
requestSerialize: grpc.serialize<pulumi_language_pb.LinkRequest>;
|
|
163
|
+
requestDeserialize: grpc.deserialize<pulumi_language_pb.LinkRequest>;
|
|
164
|
+
responseSerialize: grpc.serialize<pulumi_language_pb.LinkResponse>;
|
|
165
|
+
responseDeserialize: grpc.deserialize<pulumi_language_pb.LinkResponse>;
|
|
166
|
+
}
|
|
157
167
|
|
|
158
168
|
export const LanguageRuntimeService: ILanguageRuntimeService;
|
|
159
169
|
|
|
@@ -172,6 +182,7 @@ export interface ILanguageRuntimeServer extends grpc.UntypedServiceImplementatio
|
|
|
172
182
|
generateProject: grpc.handleUnaryCall<pulumi_language_pb.GenerateProjectRequest, pulumi_language_pb.GenerateProjectResponse>;
|
|
173
183
|
generatePackage: grpc.handleUnaryCall<pulumi_language_pb.GeneratePackageRequest, pulumi_language_pb.GeneratePackageResponse>;
|
|
174
184
|
pack: grpc.handleUnaryCall<pulumi_language_pb.PackRequest, pulumi_language_pb.PackResponse>;
|
|
185
|
+
link: grpc.handleUnaryCall<pulumi_language_pb.LinkRequest, pulumi_language_pb.LinkResponse>;
|
|
175
186
|
}
|
|
176
187
|
|
|
177
188
|
export interface ILanguageRuntimeClient {
|
|
@@ -215,6 +226,9 @@ export interface ILanguageRuntimeClient {
|
|
|
215
226
|
pack(request: pulumi_language_pb.PackRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.PackResponse) => void): grpc.ClientUnaryCall;
|
|
216
227
|
pack(request: pulumi_language_pb.PackRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.PackResponse) => void): grpc.ClientUnaryCall;
|
|
217
228
|
pack(request: pulumi_language_pb.PackRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.PackResponse) => void): grpc.ClientUnaryCall;
|
|
229
|
+
link(request: pulumi_language_pb.LinkRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.LinkResponse) => void): grpc.ClientUnaryCall;
|
|
230
|
+
link(request: pulumi_language_pb.LinkRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.LinkResponse) => void): grpc.ClientUnaryCall;
|
|
231
|
+
link(request: pulumi_language_pb.LinkRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.LinkResponse) => void): grpc.ClientUnaryCall;
|
|
218
232
|
}
|
|
219
233
|
|
|
220
234
|
export class LanguageRuntimeClient extends grpc.Client implements ILanguageRuntimeClient {
|
|
@@ -259,4 +273,7 @@ export class LanguageRuntimeClient extends grpc.Client implements ILanguageRunti
|
|
|
259
273
|
public pack(request: pulumi_language_pb.PackRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.PackResponse) => void): grpc.ClientUnaryCall;
|
|
260
274
|
public pack(request: pulumi_language_pb.PackRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.PackResponse) => void): grpc.ClientUnaryCall;
|
|
261
275
|
public pack(request: pulumi_language_pb.PackRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.PackResponse) => void): grpc.ClientUnaryCall;
|
|
276
|
+
public link(request: pulumi_language_pb.LinkRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.LinkResponse) => void): grpc.ClientUnaryCall;
|
|
277
|
+
public link(request: pulumi_language_pb.LinkRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.LinkResponse) => void): grpc.ClientUnaryCall;
|
|
278
|
+
public link(request: pulumi_language_pb.LinkRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.LinkResponse) => void): grpc.ClientUnaryCall;
|
|
262
279
|
}
|
|
@@ -232,6 +232,28 @@ function deserialize_pulumirpc_LanguageHandshakeResponse(buffer_arg) {
|
|
|
232
232
|
return pulumi_language_pb.LanguageHandshakeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
+
function serialize_pulumirpc_LinkRequest(arg) {
|
|
236
|
+
if (!(arg instanceof pulumi_language_pb.LinkRequest)) {
|
|
237
|
+
throw new Error('Expected argument of type pulumirpc.LinkRequest');
|
|
238
|
+
}
|
|
239
|
+
return Buffer.from(arg.serializeBinary());
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
function deserialize_pulumirpc_LinkRequest(buffer_arg) {
|
|
243
|
+
return pulumi_language_pb.LinkRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
function serialize_pulumirpc_LinkResponse(arg) {
|
|
247
|
+
if (!(arg instanceof pulumi_language_pb.LinkResponse)) {
|
|
248
|
+
throw new Error('Expected argument of type pulumirpc.LinkResponse');
|
|
249
|
+
}
|
|
250
|
+
return Buffer.from(arg.serializeBinary());
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
function deserialize_pulumirpc_LinkResponse(buffer_arg) {
|
|
254
|
+
return pulumi_language_pb.LinkResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
255
|
+
}
|
|
256
|
+
|
|
235
257
|
function serialize_pulumirpc_PackRequest(arg) {
|
|
236
258
|
if (!(arg instanceof pulumi_language_pb.PackRequest)) {
|
|
237
259
|
throw new Error('Expected argument of type pulumirpc.PackRequest');
|
|
@@ -546,6 +568,18 @@ pack: {
|
|
|
546
568
|
responseSerialize: serialize_pulumirpc_PackResponse,
|
|
547
569
|
responseDeserialize: deserialize_pulumirpc_PackResponse,
|
|
548
570
|
},
|
|
571
|
+
// `Link` links a local dependency into a project.
|
|
572
|
+
link: {
|
|
573
|
+
path: '/pulumirpc.LanguageRuntime/Link',
|
|
574
|
+
requestStream: false,
|
|
575
|
+
responseStream: false,
|
|
576
|
+
requestType: pulumi_language_pb.LinkRequest,
|
|
577
|
+
responseType: pulumi_language_pb.LinkResponse,
|
|
578
|
+
requestSerialize: serialize_pulumirpc_LinkRequest,
|
|
579
|
+
requestDeserialize: deserialize_pulumirpc_LinkRequest,
|
|
580
|
+
responseSerialize: serialize_pulumirpc_LinkResponse,
|
|
581
|
+
responseDeserialize: deserialize_pulumirpc_LinkResponse,
|
|
582
|
+
},
|
|
549
583
|
};
|
|
550
584
|
|
|
551
585
|
exports.LanguageRuntimeClient = grpc.makeGenericClientConstructor(LanguageRuntimeService);
|
package/proto/language_pb.d.ts
CHANGED
|
@@ -916,3 +916,48 @@ export namespace LanguageHandshakeResponse {
|
|
|
916
916
|
export type AsObject = {
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
|
+
|
|
920
|
+
export class LinkRequest extends jspb.Message {
|
|
921
|
+
|
|
922
|
+
hasInfo(): boolean;
|
|
923
|
+
clearInfo(): void;
|
|
924
|
+
getInfo(): ProgramInfo | undefined;
|
|
925
|
+
setInfo(value?: ProgramInfo): LinkRequest;
|
|
926
|
+
|
|
927
|
+
getLocalDependenciesMap(): jspb.Map<string, string>;
|
|
928
|
+
clearLocalDependenciesMap(): void;
|
|
929
|
+
|
|
930
|
+
serializeBinary(): Uint8Array;
|
|
931
|
+
toObject(includeInstance?: boolean): LinkRequest.AsObject;
|
|
932
|
+
static toObject(includeInstance: boolean, msg: LinkRequest): LinkRequest.AsObject;
|
|
933
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
934
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
935
|
+
static serializeBinaryToWriter(message: LinkRequest, writer: jspb.BinaryWriter): void;
|
|
936
|
+
static deserializeBinary(bytes: Uint8Array): LinkRequest;
|
|
937
|
+
static deserializeBinaryFromReader(message: LinkRequest, reader: jspb.BinaryReader): LinkRequest;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
export namespace LinkRequest {
|
|
941
|
+
export type AsObject = {
|
|
942
|
+
info?: ProgramInfo.AsObject,
|
|
943
|
+
|
|
944
|
+
localDependenciesMap: Array<[string, string]>,
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
export class LinkResponse extends jspb.Message {
|
|
949
|
+
|
|
950
|
+
serializeBinary(): Uint8Array;
|
|
951
|
+
toObject(includeInstance?: boolean): LinkResponse.AsObject;
|
|
952
|
+
static toObject(includeInstance: boolean, msg: LinkResponse): LinkResponse.AsObject;
|
|
953
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
954
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
955
|
+
static serializeBinaryToWriter(message: LinkResponse, writer: jspb.BinaryWriter): void;
|
|
956
|
+
static deserializeBinary(bytes: Uint8Array): LinkResponse;
|
|
957
|
+
static deserializeBinaryFromReader(message: LinkResponse, reader: jspb.BinaryReader): LinkResponse;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
export namespace LinkResponse {
|
|
961
|
+
export type AsObject = {
|
|
962
|
+
}
|
|
963
|
+
}
|
package/proto/language_pb.js
CHANGED
|
@@ -42,6 +42,8 @@ goog.exportSymbol('proto.pulumirpc.InstallDependenciesRequest', null, global);
|
|
|
42
42
|
goog.exportSymbol('proto.pulumirpc.InstallDependenciesResponse', null, global);
|
|
43
43
|
goog.exportSymbol('proto.pulumirpc.LanguageHandshakeRequest', null, global);
|
|
44
44
|
goog.exportSymbol('proto.pulumirpc.LanguageHandshakeResponse', null, global);
|
|
45
|
+
goog.exportSymbol('proto.pulumirpc.LinkRequest', null, global);
|
|
46
|
+
goog.exportSymbol('proto.pulumirpc.LinkResponse', null, global);
|
|
45
47
|
goog.exportSymbol('proto.pulumirpc.PackRequest', null, global);
|
|
46
48
|
goog.exportSymbol('proto.pulumirpc.PackResponse', null, global);
|
|
47
49
|
goog.exportSymbol('proto.pulumirpc.ProgramInfo', null, global);
|
|
@@ -685,6 +687,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
685
687
|
*/
|
|
686
688
|
proto.pulumirpc.LanguageHandshakeResponse.displayName = 'proto.pulumirpc.LanguageHandshakeResponse';
|
|
687
689
|
}
|
|
690
|
+
/**
|
|
691
|
+
* Generated by JsPbCodeGenerator.
|
|
692
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
693
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
694
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
695
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
696
|
+
* valid.
|
|
697
|
+
* @extends {jspb.Message}
|
|
698
|
+
* @constructor
|
|
699
|
+
*/
|
|
700
|
+
proto.pulumirpc.LinkRequest = function(opt_data) {
|
|
701
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
702
|
+
};
|
|
703
|
+
goog.inherits(proto.pulumirpc.LinkRequest, jspb.Message);
|
|
704
|
+
if (goog.DEBUG && !COMPILED) {
|
|
705
|
+
/**
|
|
706
|
+
* @public
|
|
707
|
+
* @override
|
|
708
|
+
*/
|
|
709
|
+
proto.pulumirpc.LinkRequest.displayName = 'proto.pulumirpc.LinkRequest';
|
|
710
|
+
}
|
|
711
|
+
/**
|
|
712
|
+
* Generated by JsPbCodeGenerator.
|
|
713
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
714
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
715
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
716
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
717
|
+
* valid.
|
|
718
|
+
* @extends {jspb.Message}
|
|
719
|
+
* @constructor
|
|
720
|
+
*/
|
|
721
|
+
proto.pulumirpc.LinkResponse = function(opt_data) {
|
|
722
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
723
|
+
};
|
|
724
|
+
goog.inherits(proto.pulumirpc.LinkResponse, jspb.Message);
|
|
725
|
+
if (goog.DEBUG && !COMPILED) {
|
|
726
|
+
/**
|
|
727
|
+
* @public
|
|
728
|
+
* @override
|
|
729
|
+
*/
|
|
730
|
+
proto.pulumirpc.LinkResponse.displayName = 'proto.pulumirpc.LinkResponse';
|
|
731
|
+
}
|
|
688
732
|
|
|
689
733
|
|
|
690
734
|
|
|
@@ -7339,4 +7383,289 @@ proto.pulumirpc.LanguageHandshakeResponse.serializeBinaryToWriter = function(mes
|
|
|
7339
7383
|
};
|
|
7340
7384
|
|
|
7341
7385
|
|
|
7386
|
+
|
|
7387
|
+
|
|
7388
|
+
|
|
7389
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7390
|
+
/**
|
|
7391
|
+
* Creates an object representation of this proto.
|
|
7392
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7393
|
+
* Optional fields that are not set will be set to undefined.
|
|
7394
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7395
|
+
* For the list of reserved names please see:
|
|
7396
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7397
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7398
|
+
* JSPB instance for transitional soy proto support:
|
|
7399
|
+
* http://goto/soy-param-migration
|
|
7400
|
+
* @return {!Object}
|
|
7401
|
+
*/
|
|
7402
|
+
proto.pulumirpc.LinkRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7403
|
+
return proto.pulumirpc.LinkRequest.toObject(opt_includeInstance, this);
|
|
7404
|
+
};
|
|
7405
|
+
|
|
7406
|
+
|
|
7407
|
+
/**
|
|
7408
|
+
* Static version of the {@see toObject} method.
|
|
7409
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7410
|
+
* the JSPB instance for transitional soy proto support:
|
|
7411
|
+
* http://goto/soy-param-migration
|
|
7412
|
+
* @param {!proto.pulumirpc.LinkRequest} msg The msg instance to transform.
|
|
7413
|
+
* @return {!Object}
|
|
7414
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7415
|
+
*/
|
|
7416
|
+
proto.pulumirpc.LinkRequest.toObject = function(includeInstance, msg) {
|
|
7417
|
+
var f, obj = {
|
|
7418
|
+
info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f),
|
|
7419
|
+
localDependenciesMap: (f = msg.getLocalDependenciesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
7420
|
+
};
|
|
7421
|
+
|
|
7422
|
+
if (includeInstance) {
|
|
7423
|
+
obj.$jspbMessageInstance = msg;
|
|
7424
|
+
}
|
|
7425
|
+
return obj;
|
|
7426
|
+
};
|
|
7427
|
+
}
|
|
7428
|
+
|
|
7429
|
+
|
|
7430
|
+
/**
|
|
7431
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7432
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7433
|
+
* @return {!proto.pulumirpc.LinkRequest}
|
|
7434
|
+
*/
|
|
7435
|
+
proto.pulumirpc.LinkRequest.deserializeBinary = function(bytes) {
|
|
7436
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7437
|
+
var msg = new proto.pulumirpc.LinkRequest;
|
|
7438
|
+
return proto.pulumirpc.LinkRequest.deserializeBinaryFromReader(msg, reader);
|
|
7439
|
+
};
|
|
7440
|
+
|
|
7441
|
+
|
|
7442
|
+
/**
|
|
7443
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7444
|
+
* given reader into the given message object.
|
|
7445
|
+
* @param {!proto.pulumirpc.LinkRequest} msg The message object to deserialize into.
|
|
7446
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7447
|
+
* @return {!proto.pulumirpc.LinkRequest}
|
|
7448
|
+
*/
|
|
7449
|
+
proto.pulumirpc.LinkRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7450
|
+
while (reader.nextField()) {
|
|
7451
|
+
if (reader.isEndGroup()) {
|
|
7452
|
+
break;
|
|
7453
|
+
}
|
|
7454
|
+
var field = reader.getFieldNumber();
|
|
7455
|
+
switch (field) {
|
|
7456
|
+
case 1:
|
|
7457
|
+
var value = new proto.pulumirpc.ProgramInfo;
|
|
7458
|
+
reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
|
|
7459
|
+
msg.setInfo(value);
|
|
7460
|
+
break;
|
|
7461
|
+
case 2:
|
|
7462
|
+
var value = msg.getLocalDependenciesMap();
|
|
7463
|
+
reader.readMessage(value, function(message, reader) {
|
|
7464
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
7465
|
+
});
|
|
7466
|
+
break;
|
|
7467
|
+
default:
|
|
7468
|
+
reader.skipField();
|
|
7469
|
+
break;
|
|
7470
|
+
}
|
|
7471
|
+
}
|
|
7472
|
+
return msg;
|
|
7473
|
+
};
|
|
7474
|
+
|
|
7475
|
+
|
|
7476
|
+
/**
|
|
7477
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7478
|
+
* @return {!Uint8Array}
|
|
7479
|
+
*/
|
|
7480
|
+
proto.pulumirpc.LinkRequest.prototype.serializeBinary = function() {
|
|
7481
|
+
var writer = new jspb.BinaryWriter();
|
|
7482
|
+
proto.pulumirpc.LinkRequest.serializeBinaryToWriter(this, writer);
|
|
7483
|
+
return writer.getResultBuffer();
|
|
7484
|
+
};
|
|
7485
|
+
|
|
7486
|
+
|
|
7487
|
+
/**
|
|
7488
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7489
|
+
* format), writing to the given BinaryWriter.
|
|
7490
|
+
* @param {!proto.pulumirpc.LinkRequest} message
|
|
7491
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7492
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7493
|
+
*/
|
|
7494
|
+
proto.pulumirpc.LinkRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7495
|
+
var f = undefined;
|
|
7496
|
+
f = message.getInfo();
|
|
7497
|
+
if (f != null) {
|
|
7498
|
+
writer.writeMessage(
|
|
7499
|
+
1,
|
|
7500
|
+
f,
|
|
7501
|
+
proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
|
|
7502
|
+
);
|
|
7503
|
+
}
|
|
7504
|
+
f = message.getLocalDependenciesMap(true);
|
|
7505
|
+
if (f && f.getLength() > 0) {
|
|
7506
|
+
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
7507
|
+
}
|
|
7508
|
+
};
|
|
7509
|
+
|
|
7510
|
+
|
|
7511
|
+
/**
|
|
7512
|
+
* optional ProgramInfo info = 1;
|
|
7513
|
+
* @return {?proto.pulumirpc.ProgramInfo}
|
|
7514
|
+
*/
|
|
7515
|
+
proto.pulumirpc.LinkRequest.prototype.getInfo = function() {
|
|
7516
|
+
return /** @type{?proto.pulumirpc.ProgramInfo} */ (
|
|
7517
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ProgramInfo, 1));
|
|
7518
|
+
};
|
|
7519
|
+
|
|
7520
|
+
|
|
7521
|
+
/**
|
|
7522
|
+
* @param {?proto.pulumirpc.ProgramInfo|undefined} value
|
|
7523
|
+
* @return {!proto.pulumirpc.LinkRequest} returns this
|
|
7524
|
+
*/
|
|
7525
|
+
proto.pulumirpc.LinkRequest.prototype.setInfo = function(value) {
|
|
7526
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
7527
|
+
};
|
|
7528
|
+
|
|
7529
|
+
|
|
7530
|
+
/**
|
|
7531
|
+
* Clears the message field making it undefined.
|
|
7532
|
+
* @return {!proto.pulumirpc.LinkRequest} returns this
|
|
7533
|
+
*/
|
|
7534
|
+
proto.pulumirpc.LinkRequest.prototype.clearInfo = function() {
|
|
7535
|
+
return this.setInfo(undefined);
|
|
7536
|
+
};
|
|
7537
|
+
|
|
7538
|
+
|
|
7539
|
+
/**
|
|
7540
|
+
* Returns whether this field is set.
|
|
7541
|
+
* @return {boolean}
|
|
7542
|
+
*/
|
|
7543
|
+
proto.pulumirpc.LinkRequest.prototype.hasInfo = function() {
|
|
7544
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7545
|
+
};
|
|
7546
|
+
|
|
7547
|
+
|
|
7548
|
+
/**
|
|
7549
|
+
* map<string, string> local_dependencies = 2;
|
|
7550
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
7551
|
+
* empty, instead returning `undefined`
|
|
7552
|
+
* @return {!jspb.Map<string,string>}
|
|
7553
|
+
*/
|
|
7554
|
+
proto.pulumirpc.LinkRequest.prototype.getLocalDependenciesMap = function(opt_noLazyCreate) {
|
|
7555
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
7556
|
+
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
7557
|
+
null));
|
|
7558
|
+
};
|
|
7559
|
+
|
|
7560
|
+
|
|
7561
|
+
/**
|
|
7562
|
+
* Clears values from the map. The map will be non-null.
|
|
7563
|
+
* @return {!proto.pulumirpc.LinkRequest} returns this
|
|
7564
|
+
*/
|
|
7565
|
+
proto.pulumirpc.LinkRequest.prototype.clearLocalDependenciesMap = function() {
|
|
7566
|
+
this.getLocalDependenciesMap().clear();
|
|
7567
|
+
return this;};
|
|
7568
|
+
|
|
7569
|
+
|
|
7570
|
+
|
|
7571
|
+
|
|
7572
|
+
|
|
7573
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7574
|
+
/**
|
|
7575
|
+
* Creates an object representation of this proto.
|
|
7576
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7577
|
+
* Optional fields that are not set will be set to undefined.
|
|
7578
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7579
|
+
* For the list of reserved names please see:
|
|
7580
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7581
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7582
|
+
* JSPB instance for transitional soy proto support:
|
|
7583
|
+
* http://goto/soy-param-migration
|
|
7584
|
+
* @return {!Object}
|
|
7585
|
+
*/
|
|
7586
|
+
proto.pulumirpc.LinkResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7587
|
+
return proto.pulumirpc.LinkResponse.toObject(opt_includeInstance, this);
|
|
7588
|
+
};
|
|
7589
|
+
|
|
7590
|
+
|
|
7591
|
+
/**
|
|
7592
|
+
* Static version of the {@see toObject} method.
|
|
7593
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7594
|
+
* the JSPB instance for transitional soy proto support:
|
|
7595
|
+
* http://goto/soy-param-migration
|
|
7596
|
+
* @param {!proto.pulumirpc.LinkResponse} msg The msg instance to transform.
|
|
7597
|
+
* @return {!Object}
|
|
7598
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7599
|
+
*/
|
|
7600
|
+
proto.pulumirpc.LinkResponse.toObject = function(includeInstance, msg) {
|
|
7601
|
+
var f, obj = {
|
|
7602
|
+
|
|
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.LinkResponse}
|
|
7617
|
+
*/
|
|
7618
|
+
proto.pulumirpc.LinkResponse.deserializeBinary = function(bytes) {
|
|
7619
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7620
|
+
var msg = new proto.pulumirpc.LinkResponse;
|
|
7621
|
+
return proto.pulumirpc.LinkResponse.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.LinkResponse} msg The message object to deserialize into.
|
|
7629
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7630
|
+
* @return {!proto.pulumirpc.LinkResponse}
|
|
7631
|
+
*/
|
|
7632
|
+
proto.pulumirpc.LinkResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
7633
|
+
while (reader.nextField()) {
|
|
7634
|
+
if (reader.isEndGroup()) {
|
|
7635
|
+
break;
|
|
7636
|
+
}
|
|
7637
|
+
var field = reader.getFieldNumber();
|
|
7638
|
+
switch (field) {
|
|
7639
|
+
default:
|
|
7640
|
+
reader.skipField();
|
|
7641
|
+
break;
|
|
7642
|
+
}
|
|
7643
|
+
}
|
|
7644
|
+
return msg;
|
|
7645
|
+
};
|
|
7646
|
+
|
|
7647
|
+
|
|
7648
|
+
/**
|
|
7649
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7650
|
+
* @return {!Uint8Array}
|
|
7651
|
+
*/
|
|
7652
|
+
proto.pulumirpc.LinkResponse.prototype.serializeBinary = function() {
|
|
7653
|
+
var writer = new jspb.BinaryWriter();
|
|
7654
|
+
proto.pulumirpc.LinkResponse.serializeBinaryToWriter(this, writer);
|
|
7655
|
+
return writer.getResultBuffer();
|
|
7656
|
+
};
|
|
7657
|
+
|
|
7658
|
+
|
|
7659
|
+
/**
|
|
7660
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7661
|
+
* format), writing to the given BinaryWriter.
|
|
7662
|
+
* @param {!proto.pulumirpc.LinkResponse} message
|
|
7663
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7664
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7665
|
+
*/
|
|
7666
|
+
proto.pulumirpc.LinkResponse.serializeBinaryToWriter = function(message, writer) {
|
|
7667
|
+
var f = undefined;
|
|
7668
|
+
};
|
|
7669
|
+
|
|
7670
|
+
|
|
7342
7671
|
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.176.0-alpha.
|
|
16
|
+
exports.version = "3.176.0-alpha.x71e0ddb";
|
|
17
17
|
//# sourceMappingURL=version.js.map
|