@miradorlabs/web-grpc 2.39.0 → 2.40.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
CHANGED
|
@@ -401,10 +401,26 @@ export interface AIGitActivity {
|
|
|
401
401
|
outcome: AIGitOutcome;
|
|
402
402
|
ownerKey: string;
|
|
403
403
|
repositoryKey: string;
|
|
404
|
-
|
|
405
|
-
|
|
404
|
+
remoteName: string;
|
|
405
|
+
remoteUrl: string;
|
|
406
|
+
sourceRef: string;
|
|
407
|
+
destRef: string;
|
|
408
|
+
stdoutCommitSha: string;
|
|
409
|
+
structuredCommitId: string;
|
|
410
|
+
pushOldSha: string;
|
|
411
|
+
pushNewSha: string;
|
|
412
|
+
messageHeadline: string;
|
|
413
|
+
filesChanged: number;
|
|
414
|
+
insertions: number;
|
|
415
|
+
deletions: number;
|
|
416
|
+
flags: string[];
|
|
417
|
+
aiCoAuthored: boolean;
|
|
406
418
|
pullRequestNumber: number;
|
|
407
419
|
pullRequestUrl: string;
|
|
420
|
+
prState: string;
|
|
421
|
+
prBaseRef: string;
|
|
422
|
+
prHeadRef: string;
|
|
423
|
+
mergeCommitSha: string;
|
|
408
424
|
}
|
|
409
425
|
|
|
410
426
|
export interface AITokenUsage {
|
|
@@ -3010,10 +3026,26 @@ function createBaseAIGitActivity(): AIGitActivity {
|
|
|
3010
3026
|
outcome: 0,
|
|
3011
3027
|
ownerKey: "",
|
|
3012
3028
|
repositoryKey: "",
|
|
3013
|
-
|
|
3014
|
-
|
|
3029
|
+
remoteName: "",
|
|
3030
|
+
remoteUrl: "",
|
|
3031
|
+
sourceRef: "",
|
|
3032
|
+
destRef: "",
|
|
3033
|
+
stdoutCommitSha: "",
|
|
3034
|
+
structuredCommitId: "",
|
|
3035
|
+
pushOldSha: "",
|
|
3036
|
+
pushNewSha: "",
|
|
3037
|
+
messageHeadline: "",
|
|
3038
|
+
filesChanged: 0,
|
|
3039
|
+
insertions: 0,
|
|
3040
|
+
deletions: 0,
|
|
3041
|
+
flags: [],
|
|
3042
|
+
aiCoAuthored: false,
|
|
3015
3043
|
pullRequestNumber: 0,
|
|
3016
3044
|
pullRequestUrl: "",
|
|
3045
|
+
prState: "",
|
|
3046
|
+
prBaseRef: "",
|
|
3047
|
+
prHeadRef: "",
|
|
3048
|
+
mergeCommitSha: "",
|
|
3017
3049
|
};
|
|
3018
3050
|
}
|
|
3019
3051
|
|
|
@@ -3043,17 +3075,65 @@ export const AIGitActivity: MessageFns<AIGitActivity> = {
|
|
|
3043
3075
|
if (message.repositoryKey !== "") {
|
|
3044
3076
|
writer.uint32(66).string(message.repositoryKey);
|
|
3045
3077
|
}
|
|
3046
|
-
if (message.
|
|
3047
|
-
writer.uint32(74).string(message.
|
|
3078
|
+
if (message.remoteName !== "") {
|
|
3079
|
+
writer.uint32(74).string(message.remoteName);
|
|
3048
3080
|
}
|
|
3049
|
-
if (message.
|
|
3050
|
-
writer.uint32(82).string(message.
|
|
3081
|
+
if (message.remoteUrl !== "") {
|
|
3082
|
+
writer.uint32(82).string(message.remoteUrl);
|
|
3083
|
+
}
|
|
3084
|
+
if (message.sourceRef !== "") {
|
|
3085
|
+
writer.uint32(90).string(message.sourceRef);
|
|
3086
|
+
}
|
|
3087
|
+
if (message.destRef !== "") {
|
|
3088
|
+
writer.uint32(98).string(message.destRef);
|
|
3089
|
+
}
|
|
3090
|
+
if (message.stdoutCommitSha !== "") {
|
|
3091
|
+
writer.uint32(106).string(message.stdoutCommitSha);
|
|
3092
|
+
}
|
|
3093
|
+
if (message.structuredCommitId !== "") {
|
|
3094
|
+
writer.uint32(114).string(message.structuredCommitId);
|
|
3095
|
+
}
|
|
3096
|
+
if (message.pushOldSha !== "") {
|
|
3097
|
+
writer.uint32(122).string(message.pushOldSha);
|
|
3098
|
+
}
|
|
3099
|
+
if (message.pushNewSha !== "") {
|
|
3100
|
+
writer.uint32(130).string(message.pushNewSha);
|
|
3101
|
+
}
|
|
3102
|
+
if (message.messageHeadline !== "") {
|
|
3103
|
+
writer.uint32(138).string(message.messageHeadline);
|
|
3104
|
+
}
|
|
3105
|
+
if (message.filesChanged !== 0) {
|
|
3106
|
+
writer.uint32(144).uint32(message.filesChanged);
|
|
3107
|
+
}
|
|
3108
|
+
if (message.insertions !== 0) {
|
|
3109
|
+
writer.uint32(152).uint32(message.insertions);
|
|
3110
|
+
}
|
|
3111
|
+
if (message.deletions !== 0) {
|
|
3112
|
+
writer.uint32(160).uint32(message.deletions);
|
|
3113
|
+
}
|
|
3114
|
+
for (const v of message.flags) {
|
|
3115
|
+
writer.uint32(170).string(v!);
|
|
3116
|
+
}
|
|
3117
|
+
if (message.aiCoAuthored !== false) {
|
|
3118
|
+
writer.uint32(176).bool(message.aiCoAuthored);
|
|
3051
3119
|
}
|
|
3052
3120
|
if (message.pullRequestNumber !== 0) {
|
|
3053
|
-
writer.uint32(
|
|
3121
|
+
writer.uint32(184).uint32(message.pullRequestNumber);
|
|
3054
3122
|
}
|
|
3055
3123
|
if (message.pullRequestUrl !== "") {
|
|
3056
|
-
writer.uint32(
|
|
3124
|
+
writer.uint32(194).string(message.pullRequestUrl);
|
|
3125
|
+
}
|
|
3126
|
+
if (message.prState !== "") {
|
|
3127
|
+
writer.uint32(202).string(message.prState);
|
|
3128
|
+
}
|
|
3129
|
+
if (message.prBaseRef !== "") {
|
|
3130
|
+
writer.uint32(210).string(message.prBaseRef);
|
|
3131
|
+
}
|
|
3132
|
+
if (message.prHeadRef !== "") {
|
|
3133
|
+
writer.uint32(218).string(message.prHeadRef);
|
|
3134
|
+
}
|
|
3135
|
+
if (message.mergeCommitSha !== "") {
|
|
3136
|
+
writer.uint32(226).string(message.mergeCommitSha);
|
|
3057
3137
|
}
|
|
3058
3138
|
return writer;
|
|
3059
3139
|
},
|
|
@@ -3140,7 +3220,7 @@ export const AIGitActivity: MessageFns<AIGitActivity> = {
|
|
|
3140
3220
|
break;
|
|
3141
3221
|
}
|
|
3142
3222
|
|
|
3143
|
-
message.
|
|
3223
|
+
message.remoteName = reader.string();
|
|
3144
3224
|
continue;
|
|
3145
3225
|
}
|
|
3146
3226
|
case 10: {
|
|
@@ -3148,15 +3228,15 @@ export const AIGitActivity: MessageFns<AIGitActivity> = {
|
|
|
3148
3228
|
break;
|
|
3149
3229
|
}
|
|
3150
3230
|
|
|
3151
|
-
message.
|
|
3231
|
+
message.remoteUrl = reader.string();
|
|
3152
3232
|
continue;
|
|
3153
3233
|
}
|
|
3154
3234
|
case 11: {
|
|
3155
|
-
if (tag !==
|
|
3235
|
+
if (tag !== 90) {
|
|
3156
3236
|
break;
|
|
3157
3237
|
}
|
|
3158
3238
|
|
|
3159
|
-
message.
|
|
3239
|
+
message.sourceRef = reader.string();
|
|
3160
3240
|
continue;
|
|
3161
3241
|
}
|
|
3162
3242
|
case 12: {
|
|
@@ -3164,9 +3244,137 @@ export const AIGitActivity: MessageFns<AIGitActivity> = {
|
|
|
3164
3244
|
break;
|
|
3165
3245
|
}
|
|
3166
3246
|
|
|
3247
|
+
message.destRef = reader.string();
|
|
3248
|
+
continue;
|
|
3249
|
+
}
|
|
3250
|
+
case 13: {
|
|
3251
|
+
if (tag !== 106) {
|
|
3252
|
+
break;
|
|
3253
|
+
}
|
|
3254
|
+
|
|
3255
|
+
message.stdoutCommitSha = reader.string();
|
|
3256
|
+
continue;
|
|
3257
|
+
}
|
|
3258
|
+
case 14: {
|
|
3259
|
+
if (tag !== 114) {
|
|
3260
|
+
break;
|
|
3261
|
+
}
|
|
3262
|
+
|
|
3263
|
+
message.structuredCommitId = reader.string();
|
|
3264
|
+
continue;
|
|
3265
|
+
}
|
|
3266
|
+
case 15: {
|
|
3267
|
+
if (tag !== 122) {
|
|
3268
|
+
break;
|
|
3269
|
+
}
|
|
3270
|
+
|
|
3271
|
+
message.pushOldSha = reader.string();
|
|
3272
|
+
continue;
|
|
3273
|
+
}
|
|
3274
|
+
case 16: {
|
|
3275
|
+
if (tag !== 130) {
|
|
3276
|
+
break;
|
|
3277
|
+
}
|
|
3278
|
+
|
|
3279
|
+
message.pushNewSha = reader.string();
|
|
3280
|
+
continue;
|
|
3281
|
+
}
|
|
3282
|
+
case 17: {
|
|
3283
|
+
if (tag !== 138) {
|
|
3284
|
+
break;
|
|
3285
|
+
}
|
|
3286
|
+
|
|
3287
|
+
message.messageHeadline = reader.string();
|
|
3288
|
+
continue;
|
|
3289
|
+
}
|
|
3290
|
+
case 18: {
|
|
3291
|
+
if (tag !== 144) {
|
|
3292
|
+
break;
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3295
|
+
message.filesChanged = reader.uint32();
|
|
3296
|
+
continue;
|
|
3297
|
+
}
|
|
3298
|
+
case 19: {
|
|
3299
|
+
if (tag !== 152) {
|
|
3300
|
+
break;
|
|
3301
|
+
}
|
|
3302
|
+
|
|
3303
|
+
message.insertions = reader.uint32();
|
|
3304
|
+
continue;
|
|
3305
|
+
}
|
|
3306
|
+
case 20: {
|
|
3307
|
+
if (tag !== 160) {
|
|
3308
|
+
break;
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
message.deletions = reader.uint32();
|
|
3312
|
+
continue;
|
|
3313
|
+
}
|
|
3314
|
+
case 21: {
|
|
3315
|
+
if (tag !== 170) {
|
|
3316
|
+
break;
|
|
3317
|
+
}
|
|
3318
|
+
|
|
3319
|
+
message.flags.push(reader.string());
|
|
3320
|
+
continue;
|
|
3321
|
+
}
|
|
3322
|
+
case 22: {
|
|
3323
|
+
if (tag !== 176) {
|
|
3324
|
+
break;
|
|
3325
|
+
}
|
|
3326
|
+
|
|
3327
|
+
message.aiCoAuthored = reader.bool();
|
|
3328
|
+
continue;
|
|
3329
|
+
}
|
|
3330
|
+
case 23: {
|
|
3331
|
+
if (tag !== 184) {
|
|
3332
|
+
break;
|
|
3333
|
+
}
|
|
3334
|
+
|
|
3335
|
+
message.pullRequestNumber = reader.uint32();
|
|
3336
|
+
continue;
|
|
3337
|
+
}
|
|
3338
|
+
case 24: {
|
|
3339
|
+
if (tag !== 194) {
|
|
3340
|
+
break;
|
|
3341
|
+
}
|
|
3342
|
+
|
|
3167
3343
|
message.pullRequestUrl = reader.string();
|
|
3168
3344
|
continue;
|
|
3169
3345
|
}
|
|
3346
|
+
case 25: {
|
|
3347
|
+
if (tag !== 202) {
|
|
3348
|
+
break;
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
message.prState = reader.string();
|
|
3352
|
+
continue;
|
|
3353
|
+
}
|
|
3354
|
+
case 26: {
|
|
3355
|
+
if (tag !== 210) {
|
|
3356
|
+
break;
|
|
3357
|
+
}
|
|
3358
|
+
|
|
3359
|
+
message.prBaseRef = reader.string();
|
|
3360
|
+
continue;
|
|
3361
|
+
}
|
|
3362
|
+
case 27: {
|
|
3363
|
+
if (tag !== 218) {
|
|
3364
|
+
break;
|
|
3365
|
+
}
|
|
3366
|
+
|
|
3367
|
+
message.prHeadRef = reader.string();
|
|
3368
|
+
continue;
|
|
3369
|
+
}
|
|
3370
|
+
case 28: {
|
|
3371
|
+
if (tag !== 226) {
|
|
3372
|
+
break;
|
|
3373
|
+
}
|
|
3374
|
+
|
|
3375
|
+
message.mergeCommitSha = reader.string();
|
|
3376
|
+
continue;
|
|
3377
|
+
}
|
|
3170
3378
|
}
|
|
3171
3379
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3172
3380
|
break;
|
|
@@ -3213,16 +3421,66 @@ export const AIGitActivity: MessageFns<AIGitActivity> = {
|
|
|
3213
3421
|
: isSet(object.repository_key)
|
|
3214
3422
|
? globalThis.String(object.repository_key)
|
|
3215
3423
|
: "",
|
|
3216
|
-
|
|
3217
|
-
? globalThis.String(object.
|
|
3218
|
-
: isSet(object.
|
|
3219
|
-
? globalThis.String(object.
|
|
3424
|
+
remoteName: isSet(object.remoteName)
|
|
3425
|
+
? globalThis.String(object.remoteName)
|
|
3426
|
+
: isSet(object.remote_name)
|
|
3427
|
+
? globalThis.String(object.remote_name)
|
|
3428
|
+
: "",
|
|
3429
|
+
remoteUrl: isSet(object.remoteUrl)
|
|
3430
|
+
? globalThis.String(object.remoteUrl)
|
|
3431
|
+
: isSet(object.remote_url)
|
|
3432
|
+
? globalThis.String(object.remote_url)
|
|
3433
|
+
: "",
|
|
3434
|
+
sourceRef: isSet(object.sourceRef)
|
|
3435
|
+
? globalThis.String(object.sourceRef)
|
|
3436
|
+
: isSet(object.source_ref)
|
|
3437
|
+
? globalThis.String(object.source_ref)
|
|
3220
3438
|
: "",
|
|
3221
|
-
|
|
3222
|
-
? globalThis.String(object.
|
|
3223
|
-
: isSet(object.
|
|
3224
|
-
? globalThis.String(object.
|
|
3439
|
+
destRef: isSet(object.destRef)
|
|
3440
|
+
? globalThis.String(object.destRef)
|
|
3441
|
+
: isSet(object.dest_ref)
|
|
3442
|
+
? globalThis.String(object.dest_ref)
|
|
3225
3443
|
: "",
|
|
3444
|
+
stdoutCommitSha: isSet(object.stdoutCommitSha)
|
|
3445
|
+
? globalThis.String(object.stdoutCommitSha)
|
|
3446
|
+
: isSet(object.stdout_commit_sha)
|
|
3447
|
+
? globalThis.String(object.stdout_commit_sha)
|
|
3448
|
+
: "",
|
|
3449
|
+
structuredCommitId: isSet(object.structuredCommitId)
|
|
3450
|
+
? globalThis.String(object.structuredCommitId)
|
|
3451
|
+
: isSet(object.structured_commit_id)
|
|
3452
|
+
? globalThis.String(object.structured_commit_id)
|
|
3453
|
+
: "",
|
|
3454
|
+
pushOldSha: isSet(object.pushOldSha)
|
|
3455
|
+
? globalThis.String(object.pushOldSha)
|
|
3456
|
+
: isSet(object.push_old_sha)
|
|
3457
|
+
? globalThis.String(object.push_old_sha)
|
|
3458
|
+
: "",
|
|
3459
|
+
pushNewSha: isSet(object.pushNewSha)
|
|
3460
|
+
? globalThis.String(object.pushNewSha)
|
|
3461
|
+
: isSet(object.push_new_sha)
|
|
3462
|
+
? globalThis.String(object.push_new_sha)
|
|
3463
|
+
: "",
|
|
3464
|
+
messageHeadline: isSet(object.messageHeadline)
|
|
3465
|
+
? globalThis.String(object.messageHeadline)
|
|
3466
|
+
: isSet(object.message_headline)
|
|
3467
|
+
? globalThis.String(object.message_headline)
|
|
3468
|
+
: "",
|
|
3469
|
+
filesChanged: isSet(object.filesChanged)
|
|
3470
|
+
? globalThis.Number(object.filesChanged)
|
|
3471
|
+
: isSet(object.files_changed)
|
|
3472
|
+
? globalThis.Number(object.files_changed)
|
|
3473
|
+
: 0,
|
|
3474
|
+
insertions: isSet(object.insertions) ? globalThis.Number(object.insertions) : 0,
|
|
3475
|
+
deletions: isSet(object.deletions) ? globalThis.Number(object.deletions) : 0,
|
|
3476
|
+
flags: globalThis.Array.isArray(object?.flags)
|
|
3477
|
+
? object.flags.map((e: any) => globalThis.String(e))
|
|
3478
|
+
: [],
|
|
3479
|
+
aiCoAuthored: isSet(object.aiCoAuthored)
|
|
3480
|
+
? globalThis.Boolean(object.aiCoAuthored)
|
|
3481
|
+
: isSet(object.ai_co_authored)
|
|
3482
|
+
? globalThis.Boolean(object.ai_co_authored)
|
|
3483
|
+
: false,
|
|
3226
3484
|
pullRequestNumber: isSet(object.pullRequestNumber)
|
|
3227
3485
|
? globalThis.Number(object.pullRequestNumber)
|
|
3228
3486
|
: isSet(object.pull_request_number)
|
|
@@ -3233,6 +3491,26 @@ export const AIGitActivity: MessageFns<AIGitActivity> = {
|
|
|
3233
3491
|
: isSet(object.pull_request_url)
|
|
3234
3492
|
? globalThis.String(object.pull_request_url)
|
|
3235
3493
|
: "",
|
|
3494
|
+
prState: isSet(object.prState)
|
|
3495
|
+
? globalThis.String(object.prState)
|
|
3496
|
+
: isSet(object.pr_state)
|
|
3497
|
+
? globalThis.String(object.pr_state)
|
|
3498
|
+
: "",
|
|
3499
|
+
prBaseRef: isSet(object.prBaseRef)
|
|
3500
|
+
? globalThis.String(object.prBaseRef)
|
|
3501
|
+
: isSet(object.pr_base_ref)
|
|
3502
|
+
? globalThis.String(object.pr_base_ref)
|
|
3503
|
+
: "",
|
|
3504
|
+
prHeadRef: isSet(object.prHeadRef)
|
|
3505
|
+
? globalThis.String(object.prHeadRef)
|
|
3506
|
+
: isSet(object.pr_head_ref)
|
|
3507
|
+
? globalThis.String(object.pr_head_ref)
|
|
3508
|
+
: "",
|
|
3509
|
+
mergeCommitSha: isSet(object.mergeCommitSha)
|
|
3510
|
+
? globalThis.String(object.mergeCommitSha)
|
|
3511
|
+
: isSet(object.merge_commit_sha)
|
|
3512
|
+
? globalThis.String(object.merge_commit_sha)
|
|
3513
|
+
: "",
|
|
3236
3514
|
};
|
|
3237
3515
|
},
|
|
3238
3516
|
|
|
@@ -3262,11 +3540,47 @@ export const AIGitActivity: MessageFns<AIGitActivity> = {
|
|
|
3262
3540
|
if (message.repositoryKey !== "") {
|
|
3263
3541
|
obj.repositoryKey = message.repositoryKey;
|
|
3264
3542
|
}
|
|
3265
|
-
if (message.
|
|
3266
|
-
obj.
|
|
3543
|
+
if (message.remoteName !== "") {
|
|
3544
|
+
obj.remoteName = message.remoteName;
|
|
3545
|
+
}
|
|
3546
|
+
if (message.remoteUrl !== "") {
|
|
3547
|
+
obj.remoteUrl = message.remoteUrl;
|
|
3548
|
+
}
|
|
3549
|
+
if (message.sourceRef !== "") {
|
|
3550
|
+
obj.sourceRef = message.sourceRef;
|
|
3551
|
+
}
|
|
3552
|
+
if (message.destRef !== "") {
|
|
3553
|
+
obj.destRef = message.destRef;
|
|
3554
|
+
}
|
|
3555
|
+
if (message.stdoutCommitSha !== "") {
|
|
3556
|
+
obj.stdoutCommitSha = message.stdoutCommitSha;
|
|
3557
|
+
}
|
|
3558
|
+
if (message.structuredCommitId !== "") {
|
|
3559
|
+
obj.structuredCommitId = message.structuredCommitId;
|
|
3560
|
+
}
|
|
3561
|
+
if (message.pushOldSha !== "") {
|
|
3562
|
+
obj.pushOldSha = message.pushOldSha;
|
|
3563
|
+
}
|
|
3564
|
+
if (message.pushNewSha !== "") {
|
|
3565
|
+
obj.pushNewSha = message.pushNewSha;
|
|
3267
3566
|
}
|
|
3268
|
-
if (message.
|
|
3269
|
-
obj.
|
|
3567
|
+
if (message.messageHeadline !== "") {
|
|
3568
|
+
obj.messageHeadline = message.messageHeadline;
|
|
3569
|
+
}
|
|
3570
|
+
if (message.filesChanged !== 0) {
|
|
3571
|
+
obj.filesChanged = Math.round(message.filesChanged);
|
|
3572
|
+
}
|
|
3573
|
+
if (message.insertions !== 0) {
|
|
3574
|
+
obj.insertions = Math.round(message.insertions);
|
|
3575
|
+
}
|
|
3576
|
+
if (message.deletions !== 0) {
|
|
3577
|
+
obj.deletions = Math.round(message.deletions);
|
|
3578
|
+
}
|
|
3579
|
+
if (message.flags?.length) {
|
|
3580
|
+
obj.flags = message.flags;
|
|
3581
|
+
}
|
|
3582
|
+
if (message.aiCoAuthored !== false) {
|
|
3583
|
+
obj.aiCoAuthored = message.aiCoAuthored;
|
|
3270
3584
|
}
|
|
3271
3585
|
if (message.pullRequestNumber !== 0) {
|
|
3272
3586
|
obj.pullRequestNumber = Math.round(message.pullRequestNumber);
|
|
@@ -3274,6 +3588,18 @@ export const AIGitActivity: MessageFns<AIGitActivity> = {
|
|
|
3274
3588
|
if (message.pullRequestUrl !== "") {
|
|
3275
3589
|
obj.pullRequestUrl = message.pullRequestUrl;
|
|
3276
3590
|
}
|
|
3591
|
+
if (message.prState !== "") {
|
|
3592
|
+
obj.prState = message.prState;
|
|
3593
|
+
}
|
|
3594
|
+
if (message.prBaseRef !== "") {
|
|
3595
|
+
obj.prBaseRef = message.prBaseRef;
|
|
3596
|
+
}
|
|
3597
|
+
if (message.prHeadRef !== "") {
|
|
3598
|
+
obj.prHeadRef = message.prHeadRef;
|
|
3599
|
+
}
|
|
3600
|
+
if (message.mergeCommitSha !== "") {
|
|
3601
|
+
obj.mergeCommitSha = message.mergeCommitSha;
|
|
3602
|
+
}
|
|
3277
3603
|
return obj;
|
|
3278
3604
|
},
|
|
3279
3605
|
|
|
@@ -3290,10 +3616,26 @@ export const AIGitActivity: MessageFns<AIGitActivity> = {
|
|
|
3290
3616
|
message.outcome = object.outcome ?? 0;
|
|
3291
3617
|
message.ownerKey = object.ownerKey ?? "";
|
|
3292
3618
|
message.repositoryKey = object.repositoryKey ?? "";
|
|
3293
|
-
message.
|
|
3294
|
-
message.
|
|
3619
|
+
message.remoteName = object.remoteName ?? "";
|
|
3620
|
+
message.remoteUrl = object.remoteUrl ?? "";
|
|
3621
|
+
message.sourceRef = object.sourceRef ?? "";
|
|
3622
|
+
message.destRef = object.destRef ?? "";
|
|
3623
|
+
message.stdoutCommitSha = object.stdoutCommitSha ?? "";
|
|
3624
|
+
message.structuredCommitId = object.structuredCommitId ?? "";
|
|
3625
|
+
message.pushOldSha = object.pushOldSha ?? "";
|
|
3626
|
+
message.pushNewSha = object.pushNewSha ?? "";
|
|
3627
|
+
message.messageHeadline = object.messageHeadline ?? "";
|
|
3628
|
+
message.filesChanged = object.filesChanged ?? 0;
|
|
3629
|
+
message.insertions = object.insertions ?? 0;
|
|
3630
|
+
message.deletions = object.deletions ?? 0;
|
|
3631
|
+
message.flags = object.flags?.map((e) => e) || [];
|
|
3632
|
+
message.aiCoAuthored = object.aiCoAuthored ?? false;
|
|
3295
3633
|
message.pullRequestNumber = object.pullRequestNumber ?? 0;
|
|
3296
3634
|
message.pullRequestUrl = object.pullRequestUrl ?? "";
|
|
3635
|
+
message.prState = object.prState ?? "";
|
|
3636
|
+
message.prBaseRef = object.prBaseRef ?? "";
|
|
3637
|
+
message.prHeadRef = object.prHeadRef ?? "";
|
|
3638
|
+
message.mergeCommitSha = object.mergeCommitSha ?? "";
|
|
3297
3639
|
return message;
|
|
3298
3640
|
},
|
|
3299
3641
|
};
|
|
@@ -395,7 +395,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
395
395
|
* @constructor
|
|
396
396
|
*/
|
|
397
397
|
proto.gateway.web.v1.AIGitActivity = function(opt_data) {
|
|
398
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
398
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AIGitActivity.repeatedFields_, null);
|
|
399
399
|
};
|
|
400
400
|
goog.inherits(proto.gateway.web.v1.AIGitActivity, jspb.Message);
|
|
401
401
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -5445,6 +5445,13 @@ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.clearActivitiesList = f
|
|
|
5445
5445
|
|
|
5446
5446
|
|
|
5447
5447
|
|
|
5448
|
+
/**
|
|
5449
|
+
* List of repeated fields within this message type.
|
|
5450
|
+
* @private {!Array<number>}
|
|
5451
|
+
* @const
|
|
5452
|
+
*/
|
|
5453
|
+
proto.gateway.web.v1.AIGitActivity.repeatedFields_ = [21];
|
|
5454
|
+
|
|
5448
5455
|
|
|
5449
5456
|
|
|
5450
5457
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5484,10 +5491,26 @@ action: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
|
5484
5491
|
outcome: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
5485
5492
|
ownerKey: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
5486
5493
|
repositoryKey: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5494
|
+
remoteName: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5495
|
+
remoteUrl: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5496
|
+
sourceRef: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5497
|
+
destRef: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
5498
|
+
stdoutCommitSha: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
5499
|
+
structuredCommitId: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
5500
|
+
pushOldSha: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
5501
|
+
pushNewSha: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
5502
|
+
messageHeadline: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
5503
|
+
filesChanged: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
5504
|
+
insertions: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
5505
|
+
deletions: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
5506
|
+
flagsList: (f = jspb.Message.getRepeatedField(msg, 21)) == null ? undefined : f,
|
|
5507
|
+
aiCoAuthored: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
|
5508
|
+
pullRequestNumber: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
5509
|
+
pullRequestUrl: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
5510
|
+
prState: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
5511
|
+
prBaseRef: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
5512
|
+
prHeadRef: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
5513
|
+
mergeCommitSha: jspb.Message.getFieldWithDefault(msg, 28, "")
|
|
5491
5514
|
};
|
|
5492
5515
|
|
|
5493
5516
|
if (includeInstance) {
|
|
@@ -5559,20 +5582,84 @@ proto.gateway.web.v1.AIGitActivity.deserializeBinaryFromReader = function(msg, r
|
|
|
5559
5582
|
break;
|
|
5560
5583
|
case 9:
|
|
5561
5584
|
var value = /** @type {string} */ (reader.readString());
|
|
5562
|
-
msg.
|
|
5585
|
+
msg.setRemoteName(value);
|
|
5563
5586
|
break;
|
|
5564
5587
|
case 10:
|
|
5565
5588
|
var value = /** @type {string} */ (reader.readString());
|
|
5566
|
-
msg.
|
|
5589
|
+
msg.setRemoteUrl(value);
|
|
5567
5590
|
break;
|
|
5568
5591
|
case 11:
|
|
5592
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5593
|
+
msg.setSourceRef(value);
|
|
5594
|
+
break;
|
|
5595
|
+
case 12:
|
|
5596
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5597
|
+
msg.setDestRef(value);
|
|
5598
|
+
break;
|
|
5599
|
+
case 13:
|
|
5600
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5601
|
+
msg.setStdoutCommitSha(value);
|
|
5602
|
+
break;
|
|
5603
|
+
case 14:
|
|
5604
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5605
|
+
msg.setStructuredCommitId(value);
|
|
5606
|
+
break;
|
|
5607
|
+
case 15:
|
|
5608
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5609
|
+
msg.setPushOldSha(value);
|
|
5610
|
+
break;
|
|
5611
|
+
case 16:
|
|
5612
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5613
|
+
msg.setPushNewSha(value);
|
|
5614
|
+
break;
|
|
5615
|
+
case 17:
|
|
5616
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5617
|
+
msg.setMessageHeadline(value);
|
|
5618
|
+
break;
|
|
5619
|
+
case 18:
|
|
5620
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
5621
|
+
msg.setFilesChanged(value);
|
|
5622
|
+
break;
|
|
5623
|
+
case 19:
|
|
5624
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
5625
|
+
msg.setInsertions(value);
|
|
5626
|
+
break;
|
|
5627
|
+
case 20:
|
|
5628
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
5629
|
+
msg.setDeletions(value);
|
|
5630
|
+
break;
|
|
5631
|
+
case 21:
|
|
5632
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5633
|
+
msg.addFlags(value);
|
|
5634
|
+
break;
|
|
5635
|
+
case 22:
|
|
5636
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5637
|
+
msg.setAiCoAuthored(value);
|
|
5638
|
+
break;
|
|
5639
|
+
case 23:
|
|
5569
5640
|
var value = /** @type {number} */ (reader.readUint32());
|
|
5570
5641
|
msg.setPullRequestNumber(value);
|
|
5571
5642
|
break;
|
|
5572
|
-
case
|
|
5643
|
+
case 24:
|
|
5573
5644
|
var value = /** @type {string} */ (reader.readString());
|
|
5574
5645
|
msg.setPullRequestUrl(value);
|
|
5575
5646
|
break;
|
|
5647
|
+
case 25:
|
|
5648
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5649
|
+
msg.setPrState(value);
|
|
5650
|
+
break;
|
|
5651
|
+
case 26:
|
|
5652
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5653
|
+
msg.setPrBaseRef(value);
|
|
5654
|
+
break;
|
|
5655
|
+
case 27:
|
|
5656
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5657
|
+
msg.setPrHeadRef(value);
|
|
5658
|
+
break;
|
|
5659
|
+
case 28:
|
|
5660
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5661
|
+
msg.setMergeCommitSha(value);
|
|
5662
|
+
break;
|
|
5576
5663
|
default:
|
|
5577
5664
|
reader.skipField();
|
|
5578
5665
|
break;
|
|
@@ -5659,31 +5746,143 @@ proto.gateway.web.v1.AIGitActivity.serializeBinaryToWriter = function(message, w
|
|
|
5659
5746
|
f
|
|
5660
5747
|
);
|
|
5661
5748
|
}
|
|
5662
|
-
f = message.
|
|
5749
|
+
f = message.getRemoteName();
|
|
5663
5750
|
if (f.length > 0) {
|
|
5664
5751
|
writer.writeString(
|
|
5665
5752
|
9,
|
|
5666
5753
|
f
|
|
5667
5754
|
);
|
|
5668
5755
|
}
|
|
5669
|
-
f = message.
|
|
5756
|
+
f = message.getRemoteUrl();
|
|
5670
5757
|
if (f.length > 0) {
|
|
5671
5758
|
writer.writeString(
|
|
5672
5759
|
10,
|
|
5673
5760
|
f
|
|
5674
5761
|
);
|
|
5675
5762
|
}
|
|
5763
|
+
f = message.getSourceRef();
|
|
5764
|
+
if (f.length > 0) {
|
|
5765
|
+
writer.writeString(
|
|
5766
|
+
11,
|
|
5767
|
+
f
|
|
5768
|
+
);
|
|
5769
|
+
}
|
|
5770
|
+
f = message.getDestRef();
|
|
5771
|
+
if (f.length > 0) {
|
|
5772
|
+
writer.writeString(
|
|
5773
|
+
12,
|
|
5774
|
+
f
|
|
5775
|
+
);
|
|
5776
|
+
}
|
|
5777
|
+
f = message.getStdoutCommitSha();
|
|
5778
|
+
if (f.length > 0) {
|
|
5779
|
+
writer.writeString(
|
|
5780
|
+
13,
|
|
5781
|
+
f
|
|
5782
|
+
);
|
|
5783
|
+
}
|
|
5784
|
+
f = message.getStructuredCommitId();
|
|
5785
|
+
if (f.length > 0) {
|
|
5786
|
+
writer.writeString(
|
|
5787
|
+
14,
|
|
5788
|
+
f
|
|
5789
|
+
);
|
|
5790
|
+
}
|
|
5791
|
+
f = message.getPushOldSha();
|
|
5792
|
+
if (f.length > 0) {
|
|
5793
|
+
writer.writeString(
|
|
5794
|
+
15,
|
|
5795
|
+
f
|
|
5796
|
+
);
|
|
5797
|
+
}
|
|
5798
|
+
f = message.getPushNewSha();
|
|
5799
|
+
if (f.length > 0) {
|
|
5800
|
+
writer.writeString(
|
|
5801
|
+
16,
|
|
5802
|
+
f
|
|
5803
|
+
);
|
|
5804
|
+
}
|
|
5805
|
+
f = message.getMessageHeadline();
|
|
5806
|
+
if (f.length > 0) {
|
|
5807
|
+
writer.writeString(
|
|
5808
|
+
17,
|
|
5809
|
+
f
|
|
5810
|
+
);
|
|
5811
|
+
}
|
|
5812
|
+
f = message.getFilesChanged();
|
|
5813
|
+
if (f !== 0) {
|
|
5814
|
+
writer.writeUint32(
|
|
5815
|
+
18,
|
|
5816
|
+
f
|
|
5817
|
+
);
|
|
5818
|
+
}
|
|
5819
|
+
f = message.getInsertions();
|
|
5820
|
+
if (f !== 0) {
|
|
5821
|
+
writer.writeUint32(
|
|
5822
|
+
19,
|
|
5823
|
+
f
|
|
5824
|
+
);
|
|
5825
|
+
}
|
|
5826
|
+
f = message.getDeletions();
|
|
5827
|
+
if (f !== 0) {
|
|
5828
|
+
writer.writeUint32(
|
|
5829
|
+
20,
|
|
5830
|
+
f
|
|
5831
|
+
);
|
|
5832
|
+
}
|
|
5833
|
+
f = message.getFlagsList();
|
|
5834
|
+
if (f.length > 0) {
|
|
5835
|
+
writer.writeRepeatedString(
|
|
5836
|
+
21,
|
|
5837
|
+
f
|
|
5838
|
+
);
|
|
5839
|
+
}
|
|
5840
|
+
f = message.getAiCoAuthored();
|
|
5841
|
+
if (f) {
|
|
5842
|
+
writer.writeBool(
|
|
5843
|
+
22,
|
|
5844
|
+
f
|
|
5845
|
+
);
|
|
5846
|
+
}
|
|
5676
5847
|
f = message.getPullRequestNumber();
|
|
5677
5848
|
if (f !== 0) {
|
|
5678
5849
|
writer.writeUint32(
|
|
5679
|
-
|
|
5850
|
+
23,
|
|
5680
5851
|
f
|
|
5681
5852
|
);
|
|
5682
5853
|
}
|
|
5683
5854
|
f = message.getPullRequestUrl();
|
|
5684
5855
|
if (f.length > 0) {
|
|
5685
5856
|
writer.writeString(
|
|
5686
|
-
|
|
5857
|
+
24,
|
|
5858
|
+
f
|
|
5859
|
+
);
|
|
5860
|
+
}
|
|
5861
|
+
f = message.getPrState();
|
|
5862
|
+
if (f.length > 0) {
|
|
5863
|
+
writer.writeString(
|
|
5864
|
+
25,
|
|
5865
|
+
f
|
|
5866
|
+
);
|
|
5867
|
+
}
|
|
5868
|
+
f = message.getPrBaseRef();
|
|
5869
|
+
if (f.length > 0) {
|
|
5870
|
+
writer.writeString(
|
|
5871
|
+
26,
|
|
5872
|
+
f
|
|
5873
|
+
);
|
|
5874
|
+
}
|
|
5875
|
+
f = message.getPrHeadRef();
|
|
5876
|
+
if (f.length > 0) {
|
|
5877
|
+
writer.writeString(
|
|
5878
|
+
27,
|
|
5879
|
+
f
|
|
5880
|
+
);
|
|
5881
|
+
}
|
|
5882
|
+
f = message.getMergeCommitSha();
|
|
5883
|
+
if (f.length > 0) {
|
|
5884
|
+
writer.writeString(
|
|
5885
|
+
28,
|
|
5687
5886
|
f
|
|
5688
5887
|
);
|
|
5689
5888
|
}
|
|
@@ -5854,10 +6053,10 @@ proto.gateway.web.v1.AIGitActivity.prototype.setRepositoryKey = function(value)
|
|
|
5854
6053
|
|
|
5855
6054
|
|
|
5856
6055
|
/**
|
|
5857
|
-
* optional string
|
|
6056
|
+
* optional string remote_name = 9;
|
|
5858
6057
|
* @return {string}
|
|
5859
6058
|
*/
|
|
5860
|
-
proto.gateway.web.v1.AIGitActivity.prototype.
|
|
6059
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getRemoteName = function() {
|
|
5861
6060
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
5862
6061
|
};
|
|
5863
6062
|
|
|
@@ -5866,16 +6065,16 @@ proto.gateway.web.v1.AIGitActivity.prototype.getRefName = function() {
|
|
|
5866
6065
|
* @param {string} value
|
|
5867
6066
|
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
5868
6067
|
*/
|
|
5869
|
-
proto.gateway.web.v1.AIGitActivity.prototype.
|
|
6068
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setRemoteName = function(value) {
|
|
5870
6069
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
5871
6070
|
};
|
|
5872
6071
|
|
|
5873
6072
|
|
|
5874
6073
|
/**
|
|
5875
|
-
* optional string
|
|
6074
|
+
* optional string remote_url = 10;
|
|
5876
6075
|
* @return {string}
|
|
5877
6076
|
*/
|
|
5878
|
-
proto.gateway.web.v1.AIGitActivity.prototype.
|
|
6077
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getRemoteUrl = function() {
|
|
5879
6078
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5880
6079
|
};
|
|
5881
6080
|
|
|
@@ -5884,17 +6083,252 @@ proto.gateway.web.v1.AIGitActivity.prototype.getCommitSha = function() {
|
|
|
5884
6083
|
* @param {string} value
|
|
5885
6084
|
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
5886
6085
|
*/
|
|
5887
|
-
proto.gateway.web.v1.AIGitActivity.prototype.
|
|
6086
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setRemoteUrl = function(value) {
|
|
5888
6087
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
5889
6088
|
};
|
|
5890
6089
|
|
|
5891
6090
|
|
|
5892
6091
|
/**
|
|
5893
|
-
* optional
|
|
6092
|
+
* optional string source_ref = 11;
|
|
6093
|
+
* @return {string}
|
|
6094
|
+
*/
|
|
6095
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getSourceRef = function() {
|
|
6096
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
6097
|
+
};
|
|
6098
|
+
|
|
6099
|
+
|
|
6100
|
+
/**
|
|
6101
|
+
* @param {string} value
|
|
6102
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6103
|
+
*/
|
|
6104
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setSourceRef = function(value) {
|
|
6105
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
6106
|
+
};
|
|
6107
|
+
|
|
6108
|
+
|
|
6109
|
+
/**
|
|
6110
|
+
* optional string dest_ref = 12;
|
|
6111
|
+
* @return {string}
|
|
6112
|
+
*/
|
|
6113
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getDestRef = function() {
|
|
6114
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
6115
|
+
};
|
|
6116
|
+
|
|
6117
|
+
|
|
6118
|
+
/**
|
|
6119
|
+
* @param {string} value
|
|
6120
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6121
|
+
*/
|
|
6122
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setDestRef = function(value) {
|
|
6123
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
6124
|
+
};
|
|
6125
|
+
|
|
6126
|
+
|
|
6127
|
+
/**
|
|
6128
|
+
* optional string stdout_commit_sha = 13;
|
|
6129
|
+
* @return {string}
|
|
6130
|
+
*/
|
|
6131
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getStdoutCommitSha = function() {
|
|
6132
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
6133
|
+
};
|
|
6134
|
+
|
|
6135
|
+
|
|
6136
|
+
/**
|
|
6137
|
+
* @param {string} value
|
|
6138
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6139
|
+
*/
|
|
6140
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setStdoutCommitSha = function(value) {
|
|
6141
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
6142
|
+
};
|
|
6143
|
+
|
|
6144
|
+
|
|
6145
|
+
/**
|
|
6146
|
+
* optional string structured_commit_id = 14;
|
|
6147
|
+
* @return {string}
|
|
6148
|
+
*/
|
|
6149
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getStructuredCommitId = function() {
|
|
6150
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
6151
|
+
};
|
|
6152
|
+
|
|
6153
|
+
|
|
6154
|
+
/**
|
|
6155
|
+
* @param {string} value
|
|
6156
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6157
|
+
*/
|
|
6158
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setStructuredCommitId = function(value) {
|
|
6159
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
6160
|
+
};
|
|
6161
|
+
|
|
6162
|
+
|
|
6163
|
+
/**
|
|
6164
|
+
* optional string push_old_sha = 15;
|
|
6165
|
+
* @return {string}
|
|
6166
|
+
*/
|
|
6167
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getPushOldSha = function() {
|
|
6168
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
6169
|
+
};
|
|
6170
|
+
|
|
6171
|
+
|
|
6172
|
+
/**
|
|
6173
|
+
* @param {string} value
|
|
6174
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6175
|
+
*/
|
|
6176
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setPushOldSha = function(value) {
|
|
6177
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
6178
|
+
};
|
|
6179
|
+
|
|
6180
|
+
|
|
6181
|
+
/**
|
|
6182
|
+
* optional string push_new_sha = 16;
|
|
6183
|
+
* @return {string}
|
|
6184
|
+
*/
|
|
6185
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getPushNewSha = function() {
|
|
6186
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
6187
|
+
};
|
|
6188
|
+
|
|
6189
|
+
|
|
6190
|
+
/**
|
|
6191
|
+
* @param {string} value
|
|
6192
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6193
|
+
*/
|
|
6194
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setPushNewSha = function(value) {
|
|
6195
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
6196
|
+
};
|
|
6197
|
+
|
|
6198
|
+
|
|
6199
|
+
/**
|
|
6200
|
+
* optional string message_headline = 17;
|
|
6201
|
+
* @return {string}
|
|
6202
|
+
*/
|
|
6203
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getMessageHeadline = function() {
|
|
6204
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
6205
|
+
};
|
|
6206
|
+
|
|
6207
|
+
|
|
6208
|
+
/**
|
|
6209
|
+
* @param {string} value
|
|
6210
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6211
|
+
*/
|
|
6212
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setMessageHeadline = function(value) {
|
|
6213
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
6214
|
+
};
|
|
6215
|
+
|
|
6216
|
+
|
|
6217
|
+
/**
|
|
6218
|
+
* optional uint32 files_changed = 18;
|
|
6219
|
+
* @return {number}
|
|
6220
|
+
*/
|
|
6221
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getFilesChanged = function() {
|
|
6222
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
6223
|
+
};
|
|
6224
|
+
|
|
6225
|
+
|
|
6226
|
+
/**
|
|
6227
|
+
* @param {number} value
|
|
6228
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6229
|
+
*/
|
|
6230
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setFilesChanged = function(value) {
|
|
6231
|
+
return jspb.Message.setProto3IntField(this, 18, value);
|
|
6232
|
+
};
|
|
6233
|
+
|
|
6234
|
+
|
|
6235
|
+
/**
|
|
6236
|
+
* optional uint32 insertions = 19;
|
|
6237
|
+
* @return {number}
|
|
6238
|
+
*/
|
|
6239
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getInsertions = function() {
|
|
6240
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
|
6241
|
+
};
|
|
6242
|
+
|
|
6243
|
+
|
|
6244
|
+
/**
|
|
6245
|
+
* @param {number} value
|
|
6246
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6247
|
+
*/
|
|
6248
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setInsertions = function(value) {
|
|
6249
|
+
return jspb.Message.setProto3IntField(this, 19, value);
|
|
6250
|
+
};
|
|
6251
|
+
|
|
6252
|
+
|
|
6253
|
+
/**
|
|
6254
|
+
* optional uint32 deletions = 20;
|
|
6255
|
+
* @return {number}
|
|
6256
|
+
*/
|
|
6257
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getDeletions = function() {
|
|
6258
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
6259
|
+
};
|
|
6260
|
+
|
|
6261
|
+
|
|
6262
|
+
/**
|
|
6263
|
+
* @param {number} value
|
|
6264
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6265
|
+
*/
|
|
6266
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setDeletions = function(value) {
|
|
6267
|
+
return jspb.Message.setProto3IntField(this, 20, value);
|
|
6268
|
+
};
|
|
6269
|
+
|
|
6270
|
+
|
|
6271
|
+
/**
|
|
6272
|
+
* repeated string flags = 21;
|
|
6273
|
+
* @return {!Array<string>}
|
|
6274
|
+
*/
|
|
6275
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getFlagsList = function() {
|
|
6276
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 21));
|
|
6277
|
+
};
|
|
6278
|
+
|
|
6279
|
+
|
|
6280
|
+
/**
|
|
6281
|
+
* @param {!Array<string>} value
|
|
6282
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6283
|
+
*/
|
|
6284
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setFlagsList = function(value) {
|
|
6285
|
+
return jspb.Message.setField(this, 21, value || []);
|
|
6286
|
+
};
|
|
6287
|
+
|
|
6288
|
+
|
|
6289
|
+
/**
|
|
6290
|
+
* @param {string} value
|
|
6291
|
+
* @param {number=} opt_index
|
|
6292
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6293
|
+
*/
|
|
6294
|
+
proto.gateway.web.v1.AIGitActivity.prototype.addFlags = function(value, opt_index) {
|
|
6295
|
+
return jspb.Message.addToRepeatedField(this, 21, value, opt_index);
|
|
6296
|
+
};
|
|
6297
|
+
|
|
6298
|
+
|
|
6299
|
+
/**
|
|
6300
|
+
* Clears the list making it empty but non-null.
|
|
6301
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6302
|
+
*/
|
|
6303
|
+
proto.gateway.web.v1.AIGitActivity.prototype.clearFlagsList = function() {
|
|
6304
|
+
return this.setFlagsList([]);
|
|
6305
|
+
};
|
|
6306
|
+
|
|
6307
|
+
|
|
6308
|
+
/**
|
|
6309
|
+
* optional bool ai_co_authored = 22;
|
|
6310
|
+
* @return {boolean}
|
|
6311
|
+
*/
|
|
6312
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getAiCoAuthored = function() {
|
|
6313
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
|
6314
|
+
};
|
|
6315
|
+
|
|
6316
|
+
|
|
6317
|
+
/**
|
|
6318
|
+
* @param {boolean} value
|
|
6319
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6320
|
+
*/
|
|
6321
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setAiCoAuthored = function(value) {
|
|
6322
|
+
return jspb.Message.setProto3BooleanField(this, 22, value);
|
|
6323
|
+
};
|
|
6324
|
+
|
|
6325
|
+
|
|
6326
|
+
/**
|
|
6327
|
+
* optional uint32 pull_request_number = 23;
|
|
5894
6328
|
* @return {number}
|
|
5895
6329
|
*/
|
|
5896
6330
|
proto.gateway.web.v1.AIGitActivity.prototype.getPullRequestNumber = function() {
|
|
5897
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6331
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
|
|
5898
6332
|
};
|
|
5899
6333
|
|
|
5900
6334
|
|
|
@@ -5903,16 +6337,16 @@ proto.gateway.web.v1.AIGitActivity.prototype.getPullRequestNumber = function() {
|
|
|
5903
6337
|
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
5904
6338
|
*/
|
|
5905
6339
|
proto.gateway.web.v1.AIGitActivity.prototype.setPullRequestNumber = function(value) {
|
|
5906
|
-
return jspb.Message.setProto3IntField(this,
|
|
6340
|
+
return jspb.Message.setProto3IntField(this, 23, value);
|
|
5907
6341
|
};
|
|
5908
6342
|
|
|
5909
6343
|
|
|
5910
6344
|
/**
|
|
5911
|
-
* optional string pull_request_url =
|
|
6345
|
+
* optional string pull_request_url = 24;
|
|
5912
6346
|
* @return {string}
|
|
5913
6347
|
*/
|
|
5914
6348
|
proto.gateway.web.v1.AIGitActivity.prototype.getPullRequestUrl = function() {
|
|
5915
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6349
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
|
|
5916
6350
|
};
|
|
5917
6351
|
|
|
5918
6352
|
|
|
@@ -5921,7 +6355,79 @@ proto.gateway.web.v1.AIGitActivity.prototype.getPullRequestUrl = function() {
|
|
|
5921
6355
|
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
5922
6356
|
*/
|
|
5923
6357
|
proto.gateway.web.v1.AIGitActivity.prototype.setPullRequestUrl = function(value) {
|
|
5924
|
-
return jspb.Message.setProto3StringField(this,
|
|
6358
|
+
return jspb.Message.setProto3StringField(this, 24, value);
|
|
6359
|
+
};
|
|
6360
|
+
|
|
6361
|
+
|
|
6362
|
+
/**
|
|
6363
|
+
* optional string pr_state = 25;
|
|
6364
|
+
* @return {string}
|
|
6365
|
+
*/
|
|
6366
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getPrState = function() {
|
|
6367
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
|
|
6368
|
+
};
|
|
6369
|
+
|
|
6370
|
+
|
|
6371
|
+
/**
|
|
6372
|
+
* @param {string} value
|
|
6373
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6374
|
+
*/
|
|
6375
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setPrState = function(value) {
|
|
6376
|
+
return jspb.Message.setProto3StringField(this, 25, value);
|
|
6377
|
+
};
|
|
6378
|
+
|
|
6379
|
+
|
|
6380
|
+
/**
|
|
6381
|
+
* optional string pr_base_ref = 26;
|
|
6382
|
+
* @return {string}
|
|
6383
|
+
*/
|
|
6384
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getPrBaseRef = function() {
|
|
6385
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
|
|
6386
|
+
};
|
|
6387
|
+
|
|
6388
|
+
|
|
6389
|
+
/**
|
|
6390
|
+
* @param {string} value
|
|
6391
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6392
|
+
*/
|
|
6393
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setPrBaseRef = function(value) {
|
|
6394
|
+
return jspb.Message.setProto3StringField(this, 26, value);
|
|
6395
|
+
};
|
|
6396
|
+
|
|
6397
|
+
|
|
6398
|
+
/**
|
|
6399
|
+
* optional string pr_head_ref = 27;
|
|
6400
|
+
* @return {string}
|
|
6401
|
+
*/
|
|
6402
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getPrHeadRef = function() {
|
|
6403
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
6404
|
+
};
|
|
6405
|
+
|
|
6406
|
+
|
|
6407
|
+
/**
|
|
6408
|
+
* @param {string} value
|
|
6409
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6410
|
+
*/
|
|
6411
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setPrHeadRef = function(value) {
|
|
6412
|
+
return jspb.Message.setProto3StringField(this, 27, value);
|
|
6413
|
+
};
|
|
6414
|
+
|
|
6415
|
+
|
|
6416
|
+
/**
|
|
6417
|
+
* optional string merge_commit_sha = 28;
|
|
6418
|
+
* @return {string}
|
|
6419
|
+
*/
|
|
6420
|
+
proto.gateway.web.v1.AIGitActivity.prototype.getMergeCommitSha = function() {
|
|
6421
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
|
|
6422
|
+
};
|
|
6423
|
+
|
|
6424
|
+
|
|
6425
|
+
/**
|
|
6426
|
+
* @param {string} value
|
|
6427
|
+
* @return {!proto.gateway.web.v1.AIGitActivity} returns this
|
|
6428
|
+
*/
|
|
6429
|
+
proto.gateway.web.v1.AIGitActivity.prototype.setMergeCommitSha = function(value) {
|
|
6430
|
+
return jspb.Message.setProto3StringField(this, 28, value);
|
|
5925
6431
|
};
|
|
5926
6432
|
|
|
5927
6433
|
|