@superblocksteam/sabs-types-js 0.381.0 → 0.384.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/build/v1/service_pb.d.ts +47 -0
- package/build/v1/service_pb.js +366 -1
- package/package.json +1 -1
package/build/v1/service_pb.d.ts
CHANGED
|
@@ -298,6 +298,47 @@ export namespace BuildStepTimings {
|
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
+
export class BuildSizeMetrics extends jspb.Message {
|
|
302
|
+
|
|
303
|
+
hasSourceBundleSizeBytes(): boolean;
|
|
304
|
+
clearSourceBundleSizeBytes(): void;
|
|
305
|
+
getSourceBundleSizeBytes(): number | undefined;
|
|
306
|
+
setSourceBundleSizeBytes(value: number): BuildSizeMetrics;
|
|
307
|
+
|
|
308
|
+
hasNodeModulesSizeBytes(): boolean;
|
|
309
|
+
clearNodeModulesSizeBytes(): void;
|
|
310
|
+
getNodeModulesSizeBytes(): number | undefined;
|
|
311
|
+
setNodeModulesSizeBytes(value: number): BuildSizeMetrics;
|
|
312
|
+
|
|
313
|
+
hasBuildOutputSizeBytes(): boolean;
|
|
314
|
+
clearBuildOutputSizeBytes(): void;
|
|
315
|
+
getBuildOutputSizeBytes(): number | undefined;
|
|
316
|
+
setBuildOutputSizeBytes(value: number): BuildSizeMetrics;
|
|
317
|
+
|
|
318
|
+
hasDependencyCount(): boolean;
|
|
319
|
+
clearDependencyCount(): void;
|
|
320
|
+
getDependencyCount(): number | undefined;
|
|
321
|
+
setDependencyCount(value: number): BuildSizeMetrics;
|
|
322
|
+
|
|
323
|
+
serializeBinary(): Uint8Array;
|
|
324
|
+
toObject(includeInstance?: boolean): BuildSizeMetrics.AsObject;
|
|
325
|
+
static toObject(includeInstance: boolean, msg: BuildSizeMetrics): BuildSizeMetrics.AsObject;
|
|
326
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
327
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
328
|
+
static serializeBinaryToWriter(message: BuildSizeMetrics, writer: jspb.BinaryWriter): void;
|
|
329
|
+
static deserializeBinary(bytes: Uint8Array): BuildSizeMetrics;
|
|
330
|
+
static deserializeBinaryFromReader(message: BuildSizeMetrics, reader: jspb.BinaryReader): BuildSizeMetrics;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export namespace BuildSizeMetrics {
|
|
334
|
+
export type AsObject = {
|
|
335
|
+
sourceBundleSizeBytes?: number,
|
|
336
|
+
nodeModulesSizeBytes?: number,
|
|
337
|
+
buildOutputSizeBytes?: number,
|
|
338
|
+
dependencyCount?: number,
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
301
342
|
export class TerminateRequest extends jspb.Message {
|
|
302
343
|
getBuildId(): string;
|
|
303
344
|
setBuildId(value: string): TerminateRequest;
|
|
@@ -316,6 +357,11 @@ export class TerminateRequest extends jspb.Message {
|
|
|
316
357
|
getStepTimings(): BuildStepTimings | undefined;
|
|
317
358
|
setStepTimings(value?: BuildStepTimings): TerminateRequest;
|
|
318
359
|
|
|
360
|
+
hasSizeMetrics(): boolean;
|
|
361
|
+
clearSizeMetrics(): void;
|
|
362
|
+
getSizeMetrics(): BuildSizeMetrics | undefined;
|
|
363
|
+
setSizeMetrics(value?: BuildSizeMetrics): TerminateRequest;
|
|
364
|
+
|
|
319
365
|
serializeBinary(): Uint8Array;
|
|
320
366
|
toObject(includeInstance?: boolean): TerminateRequest.AsObject;
|
|
321
367
|
static toObject(includeInstance: boolean, msg: TerminateRequest): TerminateRequest.AsObject;
|
|
@@ -333,6 +379,7 @@ export namespace TerminateRequest {
|
|
|
333
379
|
error?: string,
|
|
334
380
|
buildKey: string,
|
|
335
381
|
stepTimings?: BuildStepTimings.AsObject,
|
|
382
|
+
sizeMetrics?: BuildSizeMetrics.AsObject,
|
|
336
383
|
}
|
|
337
384
|
}
|
|
338
385
|
|
package/build/v1/service_pb.js
CHANGED
|
@@ -24,6 +24,7 @@ goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb);
|
|
|
24
24
|
goog.exportSymbol('proto.build.v1.ApplicationMetadata', null, global);
|
|
25
25
|
goog.exportSymbol('proto.build.v1.BuildRequest', null, global);
|
|
26
26
|
goog.exportSymbol('proto.build.v1.BuildResponse', null, global);
|
|
27
|
+
goog.exportSymbol('proto.build.v1.BuildSizeMetrics', null, global);
|
|
27
28
|
goog.exportSymbol('proto.build.v1.BuildStatus', null, global);
|
|
28
29
|
goog.exportSymbol('proto.build.v1.BuildStepTimings', null, global);
|
|
29
30
|
goog.exportSymbol('proto.build.v1.BulkStatusRequest', null, global);
|
|
@@ -244,6 +245,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
244
245
|
*/
|
|
245
246
|
proto.build.v1.BuildStepTimings.displayName = 'proto.build.v1.BuildStepTimings';
|
|
246
247
|
}
|
|
248
|
+
/**
|
|
249
|
+
* Generated by JsPbCodeGenerator.
|
|
250
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
251
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
252
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
253
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
254
|
+
* valid.
|
|
255
|
+
* @extends {jspb.Message}
|
|
256
|
+
* @constructor
|
|
257
|
+
*/
|
|
258
|
+
proto.build.v1.BuildSizeMetrics = function(opt_data) {
|
|
259
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
260
|
+
};
|
|
261
|
+
goog.inherits(proto.build.v1.BuildSizeMetrics, jspb.Message);
|
|
262
|
+
if (goog.DEBUG && !COMPILED) {
|
|
263
|
+
/**
|
|
264
|
+
* @public
|
|
265
|
+
* @override
|
|
266
|
+
*/
|
|
267
|
+
proto.build.v1.BuildSizeMetrics.displayName = 'proto.build.v1.BuildSizeMetrics';
|
|
268
|
+
}
|
|
247
269
|
/**
|
|
248
270
|
* Generated by JsPbCodeGenerator.
|
|
249
271
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2378,6 +2400,298 @@ proto.build.v1.BuildStepTimings.prototype.hasUploadMs = function() {
|
|
|
2378
2400
|
|
|
2379
2401
|
|
|
2380
2402
|
|
|
2403
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2404
|
+
/**
|
|
2405
|
+
* Creates an object representation of this proto.
|
|
2406
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2407
|
+
* Optional fields that are not set will be set to undefined.
|
|
2408
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2409
|
+
* For the list of reserved names please see:
|
|
2410
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2411
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2412
|
+
* JSPB instance for transitional soy proto support:
|
|
2413
|
+
* http://goto/soy-param-migration
|
|
2414
|
+
* @return {!Object}
|
|
2415
|
+
*/
|
|
2416
|
+
proto.build.v1.BuildSizeMetrics.prototype.toObject = function(opt_includeInstance) {
|
|
2417
|
+
return proto.build.v1.BuildSizeMetrics.toObject(opt_includeInstance, this);
|
|
2418
|
+
};
|
|
2419
|
+
|
|
2420
|
+
|
|
2421
|
+
/**
|
|
2422
|
+
* Static version of the {@see toObject} method.
|
|
2423
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2424
|
+
* the JSPB instance for transitional soy proto support:
|
|
2425
|
+
* http://goto/soy-param-migration
|
|
2426
|
+
* @param {!proto.build.v1.BuildSizeMetrics} msg The msg instance to transform.
|
|
2427
|
+
* @return {!Object}
|
|
2428
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2429
|
+
*/
|
|
2430
|
+
proto.build.v1.BuildSizeMetrics.toObject = function(includeInstance, msg) {
|
|
2431
|
+
var f, obj = {
|
|
2432
|
+
sourceBundleSizeBytes: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
2433
|
+
nodeModulesSizeBytes: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
2434
|
+
buildOutputSizeBytes: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
|
2435
|
+
dependencyCount: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
|
|
2436
|
+
};
|
|
2437
|
+
|
|
2438
|
+
if (includeInstance) {
|
|
2439
|
+
obj.$jspbMessageInstance = msg;
|
|
2440
|
+
}
|
|
2441
|
+
return obj;
|
|
2442
|
+
};
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
/**
|
|
2447
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2448
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
2449
|
+
* @return {!proto.build.v1.BuildSizeMetrics}
|
|
2450
|
+
*/
|
|
2451
|
+
proto.build.v1.BuildSizeMetrics.deserializeBinary = function(bytes) {
|
|
2452
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2453
|
+
var msg = new proto.build.v1.BuildSizeMetrics;
|
|
2454
|
+
return proto.build.v1.BuildSizeMetrics.deserializeBinaryFromReader(msg, reader);
|
|
2455
|
+
};
|
|
2456
|
+
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2460
|
+
* given reader into the given message object.
|
|
2461
|
+
* @param {!proto.build.v1.BuildSizeMetrics} msg The message object to deserialize into.
|
|
2462
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2463
|
+
* @return {!proto.build.v1.BuildSizeMetrics}
|
|
2464
|
+
*/
|
|
2465
|
+
proto.build.v1.BuildSizeMetrics.deserializeBinaryFromReader = function(msg, reader) {
|
|
2466
|
+
while (reader.nextField()) {
|
|
2467
|
+
if (reader.isEndGroup()) {
|
|
2468
|
+
break;
|
|
2469
|
+
}
|
|
2470
|
+
var field = reader.getFieldNumber();
|
|
2471
|
+
switch (field) {
|
|
2472
|
+
case 1:
|
|
2473
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2474
|
+
msg.setSourceBundleSizeBytes(value);
|
|
2475
|
+
break;
|
|
2476
|
+
case 2:
|
|
2477
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2478
|
+
msg.setNodeModulesSizeBytes(value);
|
|
2479
|
+
break;
|
|
2480
|
+
case 3:
|
|
2481
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2482
|
+
msg.setBuildOutputSizeBytes(value);
|
|
2483
|
+
break;
|
|
2484
|
+
case 4:
|
|
2485
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2486
|
+
msg.setDependencyCount(value);
|
|
2487
|
+
break;
|
|
2488
|
+
default:
|
|
2489
|
+
reader.skipField();
|
|
2490
|
+
break;
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
return msg;
|
|
2494
|
+
};
|
|
2495
|
+
|
|
2496
|
+
|
|
2497
|
+
/**
|
|
2498
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2499
|
+
* @return {!Uint8Array}
|
|
2500
|
+
*/
|
|
2501
|
+
proto.build.v1.BuildSizeMetrics.prototype.serializeBinary = function() {
|
|
2502
|
+
var writer = new jspb.BinaryWriter();
|
|
2503
|
+
proto.build.v1.BuildSizeMetrics.serializeBinaryToWriter(this, writer);
|
|
2504
|
+
return writer.getResultBuffer();
|
|
2505
|
+
};
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
/**
|
|
2509
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2510
|
+
* format), writing to the given BinaryWriter.
|
|
2511
|
+
* @param {!proto.build.v1.BuildSizeMetrics} message
|
|
2512
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2513
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2514
|
+
*/
|
|
2515
|
+
proto.build.v1.BuildSizeMetrics.serializeBinaryToWriter = function(message, writer) {
|
|
2516
|
+
var f = undefined;
|
|
2517
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
2518
|
+
if (f != null) {
|
|
2519
|
+
writer.writeInt64(
|
|
2520
|
+
1,
|
|
2521
|
+
f
|
|
2522
|
+
);
|
|
2523
|
+
}
|
|
2524
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
2525
|
+
if (f != null) {
|
|
2526
|
+
writer.writeInt64(
|
|
2527
|
+
2,
|
|
2528
|
+
f
|
|
2529
|
+
);
|
|
2530
|
+
}
|
|
2531
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
2532
|
+
if (f != null) {
|
|
2533
|
+
writer.writeInt64(
|
|
2534
|
+
3,
|
|
2535
|
+
f
|
|
2536
|
+
);
|
|
2537
|
+
}
|
|
2538
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
2539
|
+
if (f != null) {
|
|
2540
|
+
writer.writeInt64(
|
|
2541
|
+
4,
|
|
2542
|
+
f
|
|
2543
|
+
);
|
|
2544
|
+
}
|
|
2545
|
+
};
|
|
2546
|
+
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* optional int64 source_bundle_size_bytes = 1;
|
|
2550
|
+
* @return {number}
|
|
2551
|
+
*/
|
|
2552
|
+
proto.build.v1.BuildSizeMetrics.prototype.getSourceBundleSizeBytes = function() {
|
|
2553
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2554
|
+
};
|
|
2555
|
+
|
|
2556
|
+
|
|
2557
|
+
/**
|
|
2558
|
+
* @param {number} value
|
|
2559
|
+
* @return {!proto.build.v1.BuildSizeMetrics} returns this
|
|
2560
|
+
*/
|
|
2561
|
+
proto.build.v1.BuildSizeMetrics.prototype.setSourceBundleSizeBytes = function(value) {
|
|
2562
|
+
return jspb.Message.setField(this, 1, value);
|
|
2563
|
+
};
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* Clears the field making it undefined.
|
|
2568
|
+
* @return {!proto.build.v1.BuildSizeMetrics} returns this
|
|
2569
|
+
*/
|
|
2570
|
+
proto.build.v1.BuildSizeMetrics.prototype.clearSourceBundleSizeBytes = function() {
|
|
2571
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
2572
|
+
};
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
/**
|
|
2576
|
+
* Returns whether this field is set.
|
|
2577
|
+
* @return {boolean}
|
|
2578
|
+
*/
|
|
2579
|
+
proto.build.v1.BuildSizeMetrics.prototype.hasSourceBundleSizeBytes = function() {
|
|
2580
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2581
|
+
};
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
/**
|
|
2585
|
+
* optional int64 node_modules_size_bytes = 2;
|
|
2586
|
+
* @return {number}
|
|
2587
|
+
*/
|
|
2588
|
+
proto.build.v1.BuildSizeMetrics.prototype.getNodeModulesSizeBytes = function() {
|
|
2589
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2590
|
+
};
|
|
2591
|
+
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* @param {number} value
|
|
2595
|
+
* @return {!proto.build.v1.BuildSizeMetrics} returns this
|
|
2596
|
+
*/
|
|
2597
|
+
proto.build.v1.BuildSizeMetrics.prototype.setNodeModulesSizeBytes = function(value) {
|
|
2598
|
+
return jspb.Message.setField(this, 2, value);
|
|
2599
|
+
};
|
|
2600
|
+
|
|
2601
|
+
|
|
2602
|
+
/**
|
|
2603
|
+
* Clears the field making it undefined.
|
|
2604
|
+
* @return {!proto.build.v1.BuildSizeMetrics} returns this
|
|
2605
|
+
*/
|
|
2606
|
+
proto.build.v1.BuildSizeMetrics.prototype.clearNodeModulesSizeBytes = function() {
|
|
2607
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
2608
|
+
};
|
|
2609
|
+
|
|
2610
|
+
|
|
2611
|
+
/**
|
|
2612
|
+
* Returns whether this field is set.
|
|
2613
|
+
* @return {boolean}
|
|
2614
|
+
*/
|
|
2615
|
+
proto.build.v1.BuildSizeMetrics.prototype.hasNodeModulesSizeBytes = function() {
|
|
2616
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2617
|
+
};
|
|
2618
|
+
|
|
2619
|
+
|
|
2620
|
+
/**
|
|
2621
|
+
* optional int64 build_output_size_bytes = 3;
|
|
2622
|
+
* @return {number}
|
|
2623
|
+
*/
|
|
2624
|
+
proto.build.v1.BuildSizeMetrics.prototype.getBuildOutputSizeBytes = function() {
|
|
2625
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2626
|
+
};
|
|
2627
|
+
|
|
2628
|
+
|
|
2629
|
+
/**
|
|
2630
|
+
* @param {number} value
|
|
2631
|
+
* @return {!proto.build.v1.BuildSizeMetrics} returns this
|
|
2632
|
+
*/
|
|
2633
|
+
proto.build.v1.BuildSizeMetrics.prototype.setBuildOutputSizeBytes = function(value) {
|
|
2634
|
+
return jspb.Message.setField(this, 3, value);
|
|
2635
|
+
};
|
|
2636
|
+
|
|
2637
|
+
|
|
2638
|
+
/**
|
|
2639
|
+
* Clears the field making it undefined.
|
|
2640
|
+
* @return {!proto.build.v1.BuildSizeMetrics} returns this
|
|
2641
|
+
*/
|
|
2642
|
+
proto.build.v1.BuildSizeMetrics.prototype.clearBuildOutputSizeBytes = function() {
|
|
2643
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
2644
|
+
};
|
|
2645
|
+
|
|
2646
|
+
|
|
2647
|
+
/**
|
|
2648
|
+
* Returns whether this field is set.
|
|
2649
|
+
* @return {boolean}
|
|
2650
|
+
*/
|
|
2651
|
+
proto.build.v1.BuildSizeMetrics.prototype.hasBuildOutputSizeBytes = function() {
|
|
2652
|
+
return jspb.Message.getField(this, 3) != null;
|
|
2653
|
+
};
|
|
2654
|
+
|
|
2655
|
+
|
|
2656
|
+
/**
|
|
2657
|
+
* optional int64 dependency_count = 4;
|
|
2658
|
+
* @return {number}
|
|
2659
|
+
*/
|
|
2660
|
+
proto.build.v1.BuildSizeMetrics.prototype.getDependencyCount = function() {
|
|
2661
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
2662
|
+
};
|
|
2663
|
+
|
|
2664
|
+
|
|
2665
|
+
/**
|
|
2666
|
+
* @param {number} value
|
|
2667
|
+
* @return {!proto.build.v1.BuildSizeMetrics} returns this
|
|
2668
|
+
*/
|
|
2669
|
+
proto.build.v1.BuildSizeMetrics.prototype.setDependencyCount = function(value) {
|
|
2670
|
+
return jspb.Message.setField(this, 4, value);
|
|
2671
|
+
};
|
|
2672
|
+
|
|
2673
|
+
|
|
2674
|
+
/**
|
|
2675
|
+
* Clears the field making it undefined.
|
|
2676
|
+
* @return {!proto.build.v1.BuildSizeMetrics} returns this
|
|
2677
|
+
*/
|
|
2678
|
+
proto.build.v1.BuildSizeMetrics.prototype.clearDependencyCount = function() {
|
|
2679
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
2680
|
+
};
|
|
2681
|
+
|
|
2682
|
+
|
|
2683
|
+
/**
|
|
2684
|
+
* Returns whether this field is set.
|
|
2685
|
+
* @return {boolean}
|
|
2686
|
+
*/
|
|
2687
|
+
proto.build.v1.BuildSizeMetrics.prototype.hasDependencyCount = function() {
|
|
2688
|
+
return jspb.Message.getField(this, 4) != null;
|
|
2689
|
+
};
|
|
2690
|
+
|
|
2691
|
+
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
|
|
2381
2695
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2382
2696
|
/**
|
|
2383
2697
|
* Creates an object representation of this proto.
|
|
@@ -2411,7 +2725,8 @@ buildId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
2411
2725
|
status: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2412
2726
|
error: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
|
2413
2727
|
buildKey: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2414
|
-
stepTimings: (f = msg.getStepTimings()) && proto.build.v1.BuildStepTimings.toObject(includeInstance, f)
|
|
2728
|
+
stepTimings: (f = msg.getStepTimings()) && proto.build.v1.BuildStepTimings.toObject(includeInstance, f),
|
|
2729
|
+
sizeMetrics: (f = msg.getSizeMetrics()) && proto.build.v1.BuildSizeMetrics.toObject(includeInstance, f)
|
|
2415
2730
|
};
|
|
2416
2731
|
|
|
2417
2732
|
if (includeInstance) {
|
|
@@ -2469,6 +2784,11 @@ proto.build.v1.TerminateRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
2469
2784
|
reader.readMessage(value,proto.build.v1.BuildStepTimings.deserializeBinaryFromReader);
|
|
2470
2785
|
msg.setStepTimings(value);
|
|
2471
2786
|
break;
|
|
2787
|
+
case 6:
|
|
2788
|
+
var value = new proto.build.v1.BuildSizeMetrics;
|
|
2789
|
+
reader.readMessage(value,proto.build.v1.BuildSizeMetrics.deserializeBinaryFromReader);
|
|
2790
|
+
msg.setSizeMetrics(value);
|
|
2791
|
+
break;
|
|
2472
2792
|
default:
|
|
2473
2793
|
reader.skipField();
|
|
2474
2794
|
break;
|
|
@@ -2534,6 +2854,14 @@ proto.build.v1.TerminateRequest.serializeBinaryToWriter = function(message, writ
|
|
|
2534
2854
|
proto.build.v1.BuildStepTimings.serializeBinaryToWriter
|
|
2535
2855
|
);
|
|
2536
2856
|
}
|
|
2857
|
+
f = message.getSizeMetrics();
|
|
2858
|
+
if (f != null) {
|
|
2859
|
+
writer.writeMessage(
|
|
2860
|
+
6,
|
|
2861
|
+
f,
|
|
2862
|
+
proto.build.v1.BuildSizeMetrics.serializeBinaryToWriter
|
|
2863
|
+
);
|
|
2864
|
+
}
|
|
2537
2865
|
};
|
|
2538
2866
|
|
|
2539
2867
|
|
|
@@ -2664,6 +2992,43 @@ proto.build.v1.TerminateRequest.prototype.hasStepTimings = function() {
|
|
|
2664
2992
|
};
|
|
2665
2993
|
|
|
2666
2994
|
|
|
2995
|
+
/**
|
|
2996
|
+
* optional BuildSizeMetrics size_metrics = 6;
|
|
2997
|
+
* @return {?proto.build.v1.BuildSizeMetrics}
|
|
2998
|
+
*/
|
|
2999
|
+
proto.build.v1.TerminateRequest.prototype.getSizeMetrics = function() {
|
|
3000
|
+
return /** @type{?proto.build.v1.BuildSizeMetrics} */ (
|
|
3001
|
+
jspb.Message.getWrapperField(this, proto.build.v1.BuildSizeMetrics, 6));
|
|
3002
|
+
};
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
/**
|
|
3006
|
+
* @param {?proto.build.v1.BuildSizeMetrics|undefined} value
|
|
3007
|
+
* @return {!proto.build.v1.TerminateRequest} returns this
|
|
3008
|
+
*/
|
|
3009
|
+
proto.build.v1.TerminateRequest.prototype.setSizeMetrics = function(value) {
|
|
3010
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
3011
|
+
};
|
|
3012
|
+
|
|
3013
|
+
|
|
3014
|
+
/**
|
|
3015
|
+
* Clears the message field making it undefined.
|
|
3016
|
+
* @return {!proto.build.v1.TerminateRequest} returns this
|
|
3017
|
+
*/
|
|
3018
|
+
proto.build.v1.TerminateRequest.prototype.clearSizeMetrics = function() {
|
|
3019
|
+
return this.setSizeMetrics(undefined);
|
|
3020
|
+
};
|
|
3021
|
+
|
|
3022
|
+
|
|
3023
|
+
/**
|
|
3024
|
+
* Returns whether this field is set.
|
|
3025
|
+
* @return {boolean}
|
|
3026
|
+
*/
|
|
3027
|
+
proto.build.v1.TerminateRequest.prototype.hasSizeMetrics = function() {
|
|
3028
|
+
return jspb.Message.getField(this, 6) != null;
|
|
3029
|
+
};
|
|
3030
|
+
|
|
3031
|
+
|
|
2667
3032
|
|
|
2668
3033
|
|
|
2669
3034
|
|