@pulumi/pulumi 3.182.0-alpha.xdf59769 → 3.182.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/analyzer_grpc_pb.d.ts +17 -0
- package/proto/analyzer_grpc_pb.js +15 -0
- package/proto/provider_pb.d.ts +53 -0
- package/proto/provider_pb.js +475 -1
- package/proto/resource_pb.d.ts +6 -0
- package/proto/resource_pb.js +83 -23
- package/provider/server.js +29 -0
- package/provider/server.js.map +1 -1
- package/resource.d.ts +8 -0
- package/resource.js.map +1 -1
- package/runtime/callbacks.js +2 -0
- package/runtime/callbacks.js.map +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -19,6 +19,7 @@ interface IAnalyzerService extends grpc.ServiceDefinition<grpc.UntypedServiceImp
|
|
|
19
19
|
configure: IAnalyzerService_IConfigure;
|
|
20
20
|
handshake: IAnalyzerService_IHandshake;
|
|
21
21
|
configureStack: IAnalyzerService_IConfigureStack;
|
|
22
|
+
cancel: IAnalyzerService_ICancel;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
interface IAnalyzerService_IAnalyze extends grpc.MethodDefinition<pulumi_analyzer_pb.AnalyzeRequest, pulumi_analyzer_pb.AnalyzeResponse> {
|
|
@@ -93,6 +94,15 @@ interface IAnalyzerService_IConfigureStack extends grpc.MethodDefinition<pulumi_
|
|
|
93
94
|
responseSerialize: grpc.serialize<pulumi_analyzer_pb.AnalyzerStackConfigureResponse>;
|
|
94
95
|
responseDeserialize: grpc.deserialize<pulumi_analyzer_pb.AnalyzerStackConfigureResponse>;
|
|
95
96
|
}
|
|
97
|
+
interface IAnalyzerService_ICancel extends grpc.MethodDefinition<google_protobuf_empty_pb.Empty, google_protobuf_empty_pb.Empty> {
|
|
98
|
+
path: "/pulumirpc.Analyzer/Cancel";
|
|
99
|
+
requestStream: false;
|
|
100
|
+
responseStream: false;
|
|
101
|
+
requestSerialize: grpc.serialize<google_protobuf_empty_pb.Empty>;
|
|
102
|
+
requestDeserialize: grpc.deserialize<google_protobuf_empty_pb.Empty>;
|
|
103
|
+
responseSerialize: grpc.serialize<google_protobuf_empty_pb.Empty>;
|
|
104
|
+
responseDeserialize: grpc.deserialize<google_protobuf_empty_pb.Empty>;
|
|
105
|
+
}
|
|
96
106
|
|
|
97
107
|
export const AnalyzerService: IAnalyzerService;
|
|
98
108
|
|
|
@@ -105,6 +115,7 @@ export interface IAnalyzerServer extends grpc.UntypedServiceImplementation {
|
|
|
105
115
|
configure: grpc.handleUnaryCall<pulumi_analyzer_pb.ConfigureAnalyzerRequest, google_protobuf_empty_pb.Empty>;
|
|
106
116
|
handshake: grpc.handleUnaryCall<pulumi_analyzer_pb.AnalyzerHandshakeRequest, pulumi_analyzer_pb.AnalyzerHandshakeResponse>;
|
|
107
117
|
configureStack: grpc.handleUnaryCall<pulumi_analyzer_pb.AnalyzerStackConfigureRequest, pulumi_analyzer_pb.AnalyzerStackConfigureResponse>;
|
|
118
|
+
cancel: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, google_protobuf_empty_pb.Empty>;
|
|
108
119
|
}
|
|
109
120
|
|
|
110
121
|
export interface IAnalyzerClient {
|
|
@@ -132,6 +143,9 @@ export interface IAnalyzerClient {
|
|
|
132
143
|
configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
|
|
133
144
|
configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
|
|
134
145
|
configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
|
|
146
|
+
cancel(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
147
|
+
cancel(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
148
|
+
cancel(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
135
149
|
}
|
|
136
150
|
|
|
137
151
|
export class AnalyzerClient extends grpc.Client implements IAnalyzerClient {
|
|
@@ -160,4 +174,7 @@ export class AnalyzerClient extends grpc.Client implements IAnalyzerClient {
|
|
|
160
174
|
public configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
|
|
161
175
|
public configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
|
|
162
176
|
public configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
|
|
177
|
+
public cancel(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
178
|
+
public cancel(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
179
|
+
public cancel(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
163
180
|
}
|
|
@@ -264,6 +264,21 @@ configureStack: {
|
|
|
264
264
|
responseSerialize: serialize_pulumirpc_AnalyzerStackConfigureResponse,
|
|
265
265
|
responseDeserialize: deserialize_pulumirpc_AnalyzerStackConfigureResponse,
|
|
266
266
|
},
|
|
267
|
+
// Cancel signals the analyzer to gracefully shut down and abort any ongoing analysis operations.
|
|
268
|
+
// Operations aborted in this way will return an error. Since Cancel is advisory and non-blocking,
|
|
269
|
+
// it is up to the host to decide how long to wait after Cancel is called before (e.g.)
|
|
270
|
+
// hard-closing any gRPC connection.
|
|
271
|
+
cancel: {
|
|
272
|
+
path: '/pulumirpc.Analyzer/Cancel',
|
|
273
|
+
requestStream: false,
|
|
274
|
+
responseStream: false,
|
|
275
|
+
requestType: google_protobuf_empty_pb.Empty,
|
|
276
|
+
responseType: google_protobuf_empty_pb.Empty,
|
|
277
|
+
requestSerialize: serialize_google_protobuf_Empty,
|
|
278
|
+
requestDeserialize: deserialize_google_protobuf_Empty,
|
|
279
|
+
responseSerialize: serialize_google_protobuf_Empty,
|
|
280
|
+
responseDeserialize: deserialize_google_protobuf_Empty,
|
|
281
|
+
},
|
|
267
282
|
};
|
|
268
283
|
|
|
269
284
|
exports.AnalyzerClient = grpc.makeGenericClientConstructor(AnalyzerService);
|
package/proto/provider_pb.d.ts
CHANGED
|
@@ -1240,6 +1240,11 @@ export class ConstructRequest extends jspb.Message {
|
|
|
1240
1240
|
getAcceptsOutputValues(): boolean;
|
|
1241
1241
|
setAcceptsOutputValues(value: boolean): ConstructRequest;
|
|
1242
1242
|
|
|
1243
|
+
hasResourceHooks(): boolean;
|
|
1244
|
+
clearResourceHooks(): void;
|
|
1245
|
+
getResourceHooks(): ConstructRequest.ResourceHooksBinding | undefined;
|
|
1246
|
+
setResourceHooks(value?: ConstructRequest.ResourceHooksBinding): ConstructRequest;
|
|
1247
|
+
|
|
1243
1248
|
serializeBinary(): Uint8Array;
|
|
1244
1249
|
toObject(includeInstance?: boolean): ConstructRequest.AsObject;
|
|
1245
1250
|
static toObject(includeInstance: boolean, msg: ConstructRequest): ConstructRequest.AsObject;
|
|
@@ -1280,6 +1285,7 @@ export namespace ConstructRequest {
|
|
|
1280
1285
|
replaceonchangesList: Array<string>,
|
|
1281
1286
|
retainondelete?: boolean,
|
|
1282
1287
|
acceptsOutputValues: boolean,
|
|
1288
|
+
resourceHooks?: ConstructRequest.ResourceHooksBinding.AsObject,
|
|
1283
1289
|
}
|
|
1284
1290
|
|
|
1285
1291
|
|
|
@@ -1331,6 +1337,53 @@ export namespace ConstructRequest {
|
|
|
1331
1337
|
}
|
|
1332
1338
|
}
|
|
1333
1339
|
|
|
1340
|
+
export class ResourceHooksBinding extends jspb.Message {
|
|
1341
|
+
clearBeforeCreateList(): void;
|
|
1342
|
+
getBeforeCreateList(): Array<string>;
|
|
1343
|
+
setBeforeCreateList(value: Array<string>): ResourceHooksBinding;
|
|
1344
|
+
addBeforeCreate(value: string, index?: number): string;
|
|
1345
|
+
clearAfterCreateList(): void;
|
|
1346
|
+
getAfterCreateList(): Array<string>;
|
|
1347
|
+
setAfterCreateList(value: Array<string>): ResourceHooksBinding;
|
|
1348
|
+
addAfterCreate(value: string, index?: number): string;
|
|
1349
|
+
clearBeforeUpdateList(): void;
|
|
1350
|
+
getBeforeUpdateList(): Array<string>;
|
|
1351
|
+
setBeforeUpdateList(value: Array<string>): ResourceHooksBinding;
|
|
1352
|
+
addBeforeUpdate(value: string, index?: number): string;
|
|
1353
|
+
clearAfterUpdateList(): void;
|
|
1354
|
+
getAfterUpdateList(): Array<string>;
|
|
1355
|
+
setAfterUpdateList(value: Array<string>): ResourceHooksBinding;
|
|
1356
|
+
addAfterUpdate(value: string, index?: number): string;
|
|
1357
|
+
clearBeforeDeleteList(): void;
|
|
1358
|
+
getBeforeDeleteList(): Array<string>;
|
|
1359
|
+
setBeforeDeleteList(value: Array<string>): ResourceHooksBinding;
|
|
1360
|
+
addBeforeDelete(value: string, index?: number): string;
|
|
1361
|
+
clearAfterDeleteList(): void;
|
|
1362
|
+
getAfterDeleteList(): Array<string>;
|
|
1363
|
+
setAfterDeleteList(value: Array<string>): ResourceHooksBinding;
|
|
1364
|
+
addAfterDelete(value: string, index?: number): string;
|
|
1365
|
+
|
|
1366
|
+
serializeBinary(): Uint8Array;
|
|
1367
|
+
toObject(includeInstance?: boolean): ResourceHooksBinding.AsObject;
|
|
1368
|
+
static toObject(includeInstance: boolean, msg: ResourceHooksBinding): ResourceHooksBinding.AsObject;
|
|
1369
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1370
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1371
|
+
static serializeBinaryToWriter(message: ResourceHooksBinding, writer: jspb.BinaryWriter): void;
|
|
1372
|
+
static deserializeBinary(bytes: Uint8Array): ResourceHooksBinding;
|
|
1373
|
+
static deserializeBinaryFromReader(message: ResourceHooksBinding, reader: jspb.BinaryReader): ResourceHooksBinding;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
export namespace ResourceHooksBinding {
|
|
1377
|
+
export type AsObject = {
|
|
1378
|
+
beforeCreateList: Array<string>,
|
|
1379
|
+
afterCreateList: Array<string>,
|
|
1380
|
+
beforeUpdateList: Array<string>,
|
|
1381
|
+
afterUpdateList: Array<string>,
|
|
1382
|
+
beforeDeleteList: Array<string>,
|
|
1383
|
+
afterDeleteList: Array<string>,
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1334
1387
|
}
|
|
1335
1388
|
|
|
1336
1389
|
export class ConstructResponse extends jspb.Message {
|
package/proto/provider_pb.js
CHANGED
|
@@ -37,6 +37,7 @@ goog.exportSymbol('proto.pulumirpc.ConfigureResponse', null, global);
|
|
|
37
37
|
goog.exportSymbol('proto.pulumirpc.ConstructRequest', null, global);
|
|
38
38
|
goog.exportSymbol('proto.pulumirpc.ConstructRequest.CustomTimeouts', null, global);
|
|
39
39
|
goog.exportSymbol('proto.pulumirpc.ConstructRequest.PropertyDependencies', null, global);
|
|
40
|
+
goog.exportSymbol('proto.pulumirpc.ConstructRequest.ResourceHooksBinding', null, global);
|
|
40
41
|
goog.exportSymbol('proto.pulumirpc.ConstructResponse', null, global);
|
|
41
42
|
goog.exportSymbol('proto.pulumirpc.ConstructResponse.PropertyDependencies', null, global);
|
|
42
43
|
goog.exportSymbol('proto.pulumirpc.CreateRequest', null, global);
|
|
@@ -803,6 +804,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
803
804
|
*/
|
|
804
805
|
proto.pulumirpc.ConstructRequest.CustomTimeouts.displayName = 'proto.pulumirpc.ConstructRequest.CustomTimeouts';
|
|
805
806
|
}
|
|
807
|
+
/**
|
|
808
|
+
* Generated by JsPbCodeGenerator.
|
|
809
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
810
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
811
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
812
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
813
|
+
* valid.
|
|
814
|
+
* @extends {jspb.Message}
|
|
815
|
+
* @constructor
|
|
816
|
+
*/
|
|
817
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding = function(opt_data) {
|
|
818
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.ConstructRequest.ResourceHooksBinding.repeatedFields_, null);
|
|
819
|
+
};
|
|
820
|
+
goog.inherits(proto.pulumirpc.ConstructRequest.ResourceHooksBinding, jspb.Message);
|
|
821
|
+
if (goog.DEBUG && !COMPILED) {
|
|
822
|
+
/**
|
|
823
|
+
* @public
|
|
824
|
+
* @override
|
|
825
|
+
*/
|
|
826
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.displayName = 'proto.pulumirpc.ConstructRequest.ResourceHooksBinding';
|
|
827
|
+
}
|
|
806
828
|
/**
|
|
807
829
|
* Generated by JsPbCodeGenerator.
|
|
808
830
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -9630,7 +9652,8 @@ proto.pulumirpc.ConstructRequest.toObject = function(includeInstance, msg) {
|
|
|
9630
9652
|
ignorechangesList: (f = jspb.Message.getRepeatedField(msg, 22)) == null ? undefined : f,
|
|
9631
9653
|
replaceonchangesList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f,
|
|
9632
9654
|
retainondelete: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
|
|
9633
|
-
acceptsOutputValues: jspb.Message.getBooleanFieldWithDefault(msg, 25, false)
|
|
9655
|
+
acceptsOutputValues: jspb.Message.getBooleanFieldWithDefault(msg, 25, false),
|
|
9656
|
+
resourceHooks: (f = msg.getResourceHooks()) && proto.pulumirpc.ConstructRequest.ResourceHooksBinding.toObject(includeInstance, f)
|
|
9634
9657
|
};
|
|
9635
9658
|
|
|
9636
9659
|
if (includeInstance) {
|
|
@@ -9775,6 +9798,11 @@ proto.pulumirpc.ConstructRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
9775
9798
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
9776
9799
|
msg.setAcceptsOutputValues(value);
|
|
9777
9800
|
break;
|
|
9801
|
+
case 26:
|
|
9802
|
+
var value = new proto.pulumirpc.ConstructRequest.ResourceHooksBinding;
|
|
9803
|
+
reader.readMessage(value,proto.pulumirpc.ConstructRequest.ResourceHooksBinding.deserializeBinaryFromReader);
|
|
9804
|
+
msg.setResourceHooks(value);
|
|
9805
|
+
break;
|
|
9778
9806
|
default:
|
|
9779
9807
|
reader.skipField();
|
|
9780
9808
|
break;
|
|
@@ -9972,6 +10000,14 @@ proto.pulumirpc.ConstructRequest.serializeBinaryToWriter = function(message, wri
|
|
|
9972
10000
|
f
|
|
9973
10001
|
);
|
|
9974
10002
|
}
|
|
10003
|
+
f = message.getResourceHooks();
|
|
10004
|
+
if (f != null) {
|
|
10005
|
+
writer.writeMessage(
|
|
10006
|
+
26,
|
|
10007
|
+
f,
|
|
10008
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.serializeBinaryToWriter
|
|
10009
|
+
);
|
|
10010
|
+
}
|
|
9975
10011
|
};
|
|
9976
10012
|
|
|
9977
10013
|
|
|
@@ -10321,6 +10357,407 @@ proto.pulumirpc.ConstructRequest.CustomTimeouts.prototype.setDelete = function(v
|
|
|
10321
10357
|
};
|
|
10322
10358
|
|
|
10323
10359
|
|
|
10360
|
+
|
|
10361
|
+
/**
|
|
10362
|
+
* List of repeated fields within this message type.
|
|
10363
|
+
* @private {!Array<number>}
|
|
10364
|
+
* @const
|
|
10365
|
+
*/
|
|
10366
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.repeatedFields_ = [1,2,3,4,5,6];
|
|
10367
|
+
|
|
10368
|
+
|
|
10369
|
+
|
|
10370
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10371
|
+
/**
|
|
10372
|
+
* Creates an object representation of this proto.
|
|
10373
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10374
|
+
* Optional fields that are not set will be set to undefined.
|
|
10375
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10376
|
+
* For the list of reserved names please see:
|
|
10377
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10378
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10379
|
+
* JSPB instance for transitional soy proto support:
|
|
10380
|
+
* http://goto/soy-param-migration
|
|
10381
|
+
* @return {!Object}
|
|
10382
|
+
*/
|
|
10383
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.toObject = function(opt_includeInstance) {
|
|
10384
|
+
return proto.pulumirpc.ConstructRequest.ResourceHooksBinding.toObject(opt_includeInstance, this);
|
|
10385
|
+
};
|
|
10386
|
+
|
|
10387
|
+
|
|
10388
|
+
/**
|
|
10389
|
+
* Static version of the {@see toObject} method.
|
|
10390
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10391
|
+
* the JSPB instance for transitional soy proto support:
|
|
10392
|
+
* http://goto/soy-param-migration
|
|
10393
|
+
* @param {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} msg The msg instance to transform.
|
|
10394
|
+
* @return {!Object}
|
|
10395
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10396
|
+
*/
|
|
10397
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.toObject = function(includeInstance, msg) {
|
|
10398
|
+
var f, obj = {
|
|
10399
|
+
beforeCreateList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
10400
|
+
afterCreateList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
10401
|
+
beforeUpdateList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
10402
|
+
afterUpdateList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
10403
|
+
beforeDeleteList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
10404
|
+
afterDeleteList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
10405
|
+
};
|
|
10406
|
+
|
|
10407
|
+
if (includeInstance) {
|
|
10408
|
+
obj.$jspbMessageInstance = msg;
|
|
10409
|
+
}
|
|
10410
|
+
return obj;
|
|
10411
|
+
};
|
|
10412
|
+
}
|
|
10413
|
+
|
|
10414
|
+
|
|
10415
|
+
/**
|
|
10416
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10417
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10418
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding}
|
|
10419
|
+
*/
|
|
10420
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.deserializeBinary = function(bytes) {
|
|
10421
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10422
|
+
var msg = new proto.pulumirpc.ConstructRequest.ResourceHooksBinding;
|
|
10423
|
+
return proto.pulumirpc.ConstructRequest.ResourceHooksBinding.deserializeBinaryFromReader(msg, reader);
|
|
10424
|
+
};
|
|
10425
|
+
|
|
10426
|
+
|
|
10427
|
+
/**
|
|
10428
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10429
|
+
* given reader into the given message object.
|
|
10430
|
+
* @param {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} msg The message object to deserialize into.
|
|
10431
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10432
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding}
|
|
10433
|
+
*/
|
|
10434
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.deserializeBinaryFromReader = function(msg, reader) {
|
|
10435
|
+
while (reader.nextField()) {
|
|
10436
|
+
if (reader.isEndGroup()) {
|
|
10437
|
+
break;
|
|
10438
|
+
}
|
|
10439
|
+
var field = reader.getFieldNumber();
|
|
10440
|
+
switch (field) {
|
|
10441
|
+
case 1:
|
|
10442
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10443
|
+
msg.addBeforeCreate(value);
|
|
10444
|
+
break;
|
|
10445
|
+
case 2:
|
|
10446
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10447
|
+
msg.addAfterCreate(value);
|
|
10448
|
+
break;
|
|
10449
|
+
case 3:
|
|
10450
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10451
|
+
msg.addBeforeUpdate(value);
|
|
10452
|
+
break;
|
|
10453
|
+
case 4:
|
|
10454
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10455
|
+
msg.addAfterUpdate(value);
|
|
10456
|
+
break;
|
|
10457
|
+
case 5:
|
|
10458
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10459
|
+
msg.addBeforeDelete(value);
|
|
10460
|
+
break;
|
|
10461
|
+
case 6:
|
|
10462
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10463
|
+
msg.addAfterDelete(value);
|
|
10464
|
+
break;
|
|
10465
|
+
default:
|
|
10466
|
+
reader.skipField();
|
|
10467
|
+
break;
|
|
10468
|
+
}
|
|
10469
|
+
}
|
|
10470
|
+
return msg;
|
|
10471
|
+
};
|
|
10472
|
+
|
|
10473
|
+
|
|
10474
|
+
/**
|
|
10475
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10476
|
+
* @return {!Uint8Array}
|
|
10477
|
+
*/
|
|
10478
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.serializeBinary = function() {
|
|
10479
|
+
var writer = new jspb.BinaryWriter();
|
|
10480
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.serializeBinaryToWriter(this, writer);
|
|
10481
|
+
return writer.getResultBuffer();
|
|
10482
|
+
};
|
|
10483
|
+
|
|
10484
|
+
|
|
10485
|
+
/**
|
|
10486
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10487
|
+
* format), writing to the given BinaryWriter.
|
|
10488
|
+
* @param {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} message
|
|
10489
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10490
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10491
|
+
*/
|
|
10492
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.serializeBinaryToWriter = function(message, writer) {
|
|
10493
|
+
var f = undefined;
|
|
10494
|
+
f = message.getBeforeCreateList();
|
|
10495
|
+
if (f.length > 0) {
|
|
10496
|
+
writer.writeRepeatedString(
|
|
10497
|
+
1,
|
|
10498
|
+
f
|
|
10499
|
+
);
|
|
10500
|
+
}
|
|
10501
|
+
f = message.getAfterCreateList();
|
|
10502
|
+
if (f.length > 0) {
|
|
10503
|
+
writer.writeRepeatedString(
|
|
10504
|
+
2,
|
|
10505
|
+
f
|
|
10506
|
+
);
|
|
10507
|
+
}
|
|
10508
|
+
f = message.getBeforeUpdateList();
|
|
10509
|
+
if (f.length > 0) {
|
|
10510
|
+
writer.writeRepeatedString(
|
|
10511
|
+
3,
|
|
10512
|
+
f
|
|
10513
|
+
);
|
|
10514
|
+
}
|
|
10515
|
+
f = message.getAfterUpdateList();
|
|
10516
|
+
if (f.length > 0) {
|
|
10517
|
+
writer.writeRepeatedString(
|
|
10518
|
+
4,
|
|
10519
|
+
f
|
|
10520
|
+
);
|
|
10521
|
+
}
|
|
10522
|
+
f = message.getBeforeDeleteList();
|
|
10523
|
+
if (f.length > 0) {
|
|
10524
|
+
writer.writeRepeatedString(
|
|
10525
|
+
5,
|
|
10526
|
+
f
|
|
10527
|
+
);
|
|
10528
|
+
}
|
|
10529
|
+
f = message.getAfterDeleteList();
|
|
10530
|
+
if (f.length > 0) {
|
|
10531
|
+
writer.writeRepeatedString(
|
|
10532
|
+
6,
|
|
10533
|
+
f
|
|
10534
|
+
);
|
|
10535
|
+
}
|
|
10536
|
+
};
|
|
10537
|
+
|
|
10538
|
+
|
|
10539
|
+
/**
|
|
10540
|
+
* repeated string before_create = 1;
|
|
10541
|
+
* @return {!Array<string>}
|
|
10542
|
+
*/
|
|
10543
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.getBeforeCreateList = function() {
|
|
10544
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
10545
|
+
};
|
|
10546
|
+
|
|
10547
|
+
|
|
10548
|
+
/**
|
|
10549
|
+
* @param {!Array<string>} value
|
|
10550
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10551
|
+
*/
|
|
10552
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.setBeforeCreateList = function(value) {
|
|
10553
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
10554
|
+
};
|
|
10555
|
+
|
|
10556
|
+
|
|
10557
|
+
/**
|
|
10558
|
+
* @param {string} value
|
|
10559
|
+
* @param {number=} opt_index
|
|
10560
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10561
|
+
*/
|
|
10562
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.addBeforeCreate = function(value, opt_index) {
|
|
10563
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
10564
|
+
};
|
|
10565
|
+
|
|
10566
|
+
|
|
10567
|
+
/**
|
|
10568
|
+
* Clears the list making it empty but non-null.
|
|
10569
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10570
|
+
*/
|
|
10571
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.clearBeforeCreateList = function() {
|
|
10572
|
+
return this.setBeforeCreateList([]);
|
|
10573
|
+
};
|
|
10574
|
+
|
|
10575
|
+
|
|
10576
|
+
/**
|
|
10577
|
+
* repeated string after_create = 2;
|
|
10578
|
+
* @return {!Array<string>}
|
|
10579
|
+
*/
|
|
10580
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.getAfterCreateList = function() {
|
|
10581
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
10582
|
+
};
|
|
10583
|
+
|
|
10584
|
+
|
|
10585
|
+
/**
|
|
10586
|
+
* @param {!Array<string>} value
|
|
10587
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10588
|
+
*/
|
|
10589
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.setAfterCreateList = function(value) {
|
|
10590
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
10591
|
+
};
|
|
10592
|
+
|
|
10593
|
+
|
|
10594
|
+
/**
|
|
10595
|
+
* @param {string} value
|
|
10596
|
+
* @param {number=} opt_index
|
|
10597
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10598
|
+
*/
|
|
10599
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.addAfterCreate = function(value, opt_index) {
|
|
10600
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
10601
|
+
};
|
|
10602
|
+
|
|
10603
|
+
|
|
10604
|
+
/**
|
|
10605
|
+
* Clears the list making it empty but non-null.
|
|
10606
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10607
|
+
*/
|
|
10608
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.clearAfterCreateList = function() {
|
|
10609
|
+
return this.setAfterCreateList([]);
|
|
10610
|
+
};
|
|
10611
|
+
|
|
10612
|
+
|
|
10613
|
+
/**
|
|
10614
|
+
* repeated string before_update = 3;
|
|
10615
|
+
* @return {!Array<string>}
|
|
10616
|
+
*/
|
|
10617
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.getBeforeUpdateList = function() {
|
|
10618
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
10619
|
+
};
|
|
10620
|
+
|
|
10621
|
+
|
|
10622
|
+
/**
|
|
10623
|
+
* @param {!Array<string>} value
|
|
10624
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10625
|
+
*/
|
|
10626
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.setBeforeUpdateList = function(value) {
|
|
10627
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
10628
|
+
};
|
|
10629
|
+
|
|
10630
|
+
|
|
10631
|
+
/**
|
|
10632
|
+
* @param {string} value
|
|
10633
|
+
* @param {number=} opt_index
|
|
10634
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10635
|
+
*/
|
|
10636
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.addBeforeUpdate = function(value, opt_index) {
|
|
10637
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
10638
|
+
};
|
|
10639
|
+
|
|
10640
|
+
|
|
10641
|
+
/**
|
|
10642
|
+
* Clears the list making it empty but non-null.
|
|
10643
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10644
|
+
*/
|
|
10645
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.clearBeforeUpdateList = function() {
|
|
10646
|
+
return this.setBeforeUpdateList([]);
|
|
10647
|
+
};
|
|
10648
|
+
|
|
10649
|
+
|
|
10650
|
+
/**
|
|
10651
|
+
* repeated string after_update = 4;
|
|
10652
|
+
* @return {!Array<string>}
|
|
10653
|
+
*/
|
|
10654
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.getAfterUpdateList = function() {
|
|
10655
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
10656
|
+
};
|
|
10657
|
+
|
|
10658
|
+
|
|
10659
|
+
/**
|
|
10660
|
+
* @param {!Array<string>} value
|
|
10661
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10662
|
+
*/
|
|
10663
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.setAfterUpdateList = function(value) {
|
|
10664
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
10665
|
+
};
|
|
10666
|
+
|
|
10667
|
+
|
|
10668
|
+
/**
|
|
10669
|
+
* @param {string} value
|
|
10670
|
+
* @param {number=} opt_index
|
|
10671
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10672
|
+
*/
|
|
10673
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.addAfterUpdate = function(value, opt_index) {
|
|
10674
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
10675
|
+
};
|
|
10676
|
+
|
|
10677
|
+
|
|
10678
|
+
/**
|
|
10679
|
+
* Clears the list making it empty but non-null.
|
|
10680
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10681
|
+
*/
|
|
10682
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.clearAfterUpdateList = function() {
|
|
10683
|
+
return this.setAfterUpdateList([]);
|
|
10684
|
+
};
|
|
10685
|
+
|
|
10686
|
+
|
|
10687
|
+
/**
|
|
10688
|
+
* repeated string before_delete = 5;
|
|
10689
|
+
* @return {!Array<string>}
|
|
10690
|
+
*/
|
|
10691
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.getBeforeDeleteList = function() {
|
|
10692
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
10693
|
+
};
|
|
10694
|
+
|
|
10695
|
+
|
|
10696
|
+
/**
|
|
10697
|
+
* @param {!Array<string>} value
|
|
10698
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10699
|
+
*/
|
|
10700
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.setBeforeDeleteList = function(value) {
|
|
10701
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
10702
|
+
};
|
|
10703
|
+
|
|
10704
|
+
|
|
10705
|
+
/**
|
|
10706
|
+
* @param {string} value
|
|
10707
|
+
* @param {number=} opt_index
|
|
10708
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10709
|
+
*/
|
|
10710
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.addBeforeDelete = function(value, opt_index) {
|
|
10711
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
10712
|
+
};
|
|
10713
|
+
|
|
10714
|
+
|
|
10715
|
+
/**
|
|
10716
|
+
* Clears the list making it empty but non-null.
|
|
10717
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10718
|
+
*/
|
|
10719
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.clearBeforeDeleteList = function() {
|
|
10720
|
+
return this.setBeforeDeleteList([]);
|
|
10721
|
+
};
|
|
10722
|
+
|
|
10723
|
+
|
|
10724
|
+
/**
|
|
10725
|
+
* repeated string after_delete = 6;
|
|
10726
|
+
* @return {!Array<string>}
|
|
10727
|
+
*/
|
|
10728
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.getAfterDeleteList = function() {
|
|
10729
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
10730
|
+
};
|
|
10731
|
+
|
|
10732
|
+
|
|
10733
|
+
/**
|
|
10734
|
+
* @param {!Array<string>} value
|
|
10735
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10736
|
+
*/
|
|
10737
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.setAfterDeleteList = function(value) {
|
|
10738
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
10739
|
+
};
|
|
10740
|
+
|
|
10741
|
+
|
|
10742
|
+
/**
|
|
10743
|
+
* @param {string} value
|
|
10744
|
+
* @param {number=} opt_index
|
|
10745
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10746
|
+
*/
|
|
10747
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.addAfterDelete = function(value, opt_index) {
|
|
10748
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
10749
|
+
};
|
|
10750
|
+
|
|
10751
|
+
|
|
10752
|
+
/**
|
|
10753
|
+
* Clears the list making it empty but non-null.
|
|
10754
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10755
|
+
*/
|
|
10756
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.clearAfterDeleteList = function() {
|
|
10757
|
+
return this.setAfterDeleteList([]);
|
|
10758
|
+
};
|
|
10759
|
+
|
|
10760
|
+
|
|
10324
10761
|
/**
|
|
10325
10762
|
* optional string project = 1;
|
|
10326
10763
|
* @return {string}
|
|
@@ -10989,6 +11426,43 @@ proto.pulumirpc.ConstructRequest.prototype.setAcceptsOutputValues = function(val
|
|
|
10989
11426
|
};
|
|
10990
11427
|
|
|
10991
11428
|
|
|
11429
|
+
/**
|
|
11430
|
+
* optional ResourceHooksBinding resource_hooks = 26;
|
|
11431
|
+
* @return {?proto.pulumirpc.ConstructRequest.ResourceHooksBinding}
|
|
11432
|
+
*/
|
|
11433
|
+
proto.pulumirpc.ConstructRequest.prototype.getResourceHooks = function() {
|
|
11434
|
+
return /** @type{?proto.pulumirpc.ConstructRequest.ResourceHooksBinding} */ (
|
|
11435
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ConstructRequest.ResourceHooksBinding, 26));
|
|
11436
|
+
};
|
|
11437
|
+
|
|
11438
|
+
|
|
11439
|
+
/**
|
|
11440
|
+
* @param {?proto.pulumirpc.ConstructRequest.ResourceHooksBinding|undefined} value
|
|
11441
|
+
* @return {!proto.pulumirpc.ConstructRequest} returns this
|
|
11442
|
+
*/
|
|
11443
|
+
proto.pulumirpc.ConstructRequest.prototype.setResourceHooks = function(value) {
|
|
11444
|
+
return jspb.Message.setWrapperField(this, 26, value);
|
|
11445
|
+
};
|
|
11446
|
+
|
|
11447
|
+
|
|
11448
|
+
/**
|
|
11449
|
+
* Clears the message field making it undefined.
|
|
11450
|
+
* @return {!proto.pulumirpc.ConstructRequest} returns this
|
|
11451
|
+
*/
|
|
11452
|
+
proto.pulumirpc.ConstructRequest.prototype.clearResourceHooks = function() {
|
|
11453
|
+
return this.setResourceHooks(undefined);
|
|
11454
|
+
};
|
|
11455
|
+
|
|
11456
|
+
|
|
11457
|
+
/**
|
|
11458
|
+
* Returns whether this field is set.
|
|
11459
|
+
* @return {boolean}
|
|
11460
|
+
*/
|
|
11461
|
+
proto.pulumirpc.ConstructRequest.prototype.hasResourceHooks = function() {
|
|
11462
|
+
return jspb.Message.getField(this, 26) != null;
|
|
11463
|
+
};
|
|
11464
|
+
|
|
11465
|
+
|
|
10992
11466
|
|
|
10993
11467
|
|
|
10994
11468
|
|