@miradorlabs/web-grpc 4.1.0 → 4.2.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.
@@ -125,6 +125,12 @@ goog.exportSymbol('proto.gateway.web.v1.GitActivitySummary', null, global);
125
125
  goog.exportSymbol('proto.gateway.web.v1.GitActivitySummaryBucket', null, global);
126
126
  goog.exportSymbol('proto.gateway.web.v1.GitActivitySummaryGroup', null, global);
127
127
  goog.exportSymbol('proto.gateway.web.v1.GitActivitySummaryRequest', null, global);
128
+ goog.exportSymbol('proto.gateway.web.v1.IssueCostFilter', null, global);
129
+ goog.exportSymbol('proto.gateway.web.v1.IssueCostGroup', null, global);
130
+ goog.exportSymbol('proto.gateway.web.v1.IssueCostGroupBy', null, global);
131
+ goog.exportSymbol('proto.gateway.web.v1.IssueCostPagination', null, global);
132
+ goog.exportSymbol('proto.gateway.web.v1.IssueCostSort', null, global);
133
+ goog.exportSymbol('proto.gateway.web.v1.IssueCostTotals', null, global);
128
134
  goog.exportSymbol('proto.gateway.web.v1.LabelCount', null, global);
129
135
  goog.exportSymbol('proto.gateway.web.v1.ListFileDirectoriesRequest', null, global);
130
136
  goog.exportSymbol('proto.gateway.web.v1.ListFileDirectoriesResponse', null, global);
@@ -132,6 +138,8 @@ goog.exportSymbol('proto.gateway.web.v1.ListFilesRequest', null, global);
132
138
  goog.exportSymbol('proto.gateway.web.v1.ListFilesResponse', null, global);
133
139
  goog.exportSymbol('proto.gateway.web.v1.ListGitActivitiesRequest', null, global);
134
140
  goog.exportSymbol('proto.gateway.web.v1.ListGitActivitiesResponse', null, global);
141
+ goog.exportSymbol('proto.gateway.web.v1.ListIssueCostsRequest', null, global);
142
+ goog.exportSymbol('proto.gateway.web.v1.ListIssueCostsResponse', null, global);
135
143
  goog.exportSymbol('proto.gateway.web.v1.ListModelPriceHistoryRequest', null, global);
136
144
  goog.exportSymbol('proto.gateway.web.v1.ListModelPriceHistoryResponse', null, global);
137
145
  goog.exportSymbol('proto.gateway.web.v1.ListModelPricesRequest', null, global);
@@ -207,6 +215,10 @@ goog.exportSymbol('proto.gateway.web.v1.TokenActivityGroup', null, global);
207
215
  goog.exportSymbol('proto.gateway.web.v1.TokenActivityMeasures', null, global);
208
216
  goog.exportSymbol('proto.gateway.web.v1.TokenActivitySummary', null, global);
209
217
  goog.exportSymbol('proto.gateway.web.v1.TokenActivitySummaryRequest', null, global);
218
+ goog.exportSymbol('proto.gateway.web.v1.Tracker', null, global);
219
+ goog.exportSymbol('proto.gateway.web.v1.TrackerIssue', null, global);
220
+ goog.exportSymbol('proto.gateway.web.v1.TrackerSyncError', null, global);
221
+ goog.exportSymbol('proto.gateway.web.v1.TrackerSyncState', null, global);
210
222
  /**
211
223
  * Generated by JsPbCodeGenerator.
212
224
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3294,6 +3306,153 @@ if (goog.DEBUG && !COMPILED) {
3294
3306
  */
3295
3307
  proto.gateway.web.v1.RelayHeartbeatFilter.displayName = 'proto.gateway.web.v1.RelayHeartbeatFilter';
3296
3308
  }
3309
+ /**
3310
+ * Generated by JsPbCodeGenerator.
3311
+ * @param {Array=} opt_data Optional initial data array, typically from a
3312
+ * server response, or constructed directly in Javascript. The array is used
3313
+ * in place and becomes part of the constructed object. It is not cloned.
3314
+ * If no data is provided, the constructed object will be empty, but still
3315
+ * valid.
3316
+ * @extends {jspb.Message}
3317
+ * @constructor
3318
+ */
3319
+ proto.gateway.web.v1.ListIssueCostsRequest = function(opt_data) {
3320
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3321
+ };
3322
+ goog.inherits(proto.gateway.web.v1.ListIssueCostsRequest, jspb.Message);
3323
+ if (goog.DEBUG && !COMPILED) {
3324
+ /**
3325
+ * @public
3326
+ * @override
3327
+ */
3328
+ proto.gateway.web.v1.ListIssueCostsRequest.displayName = 'proto.gateway.web.v1.ListIssueCostsRequest';
3329
+ }
3330
+ /**
3331
+ * Generated by JsPbCodeGenerator.
3332
+ * @param {Array=} opt_data Optional initial data array, typically from a
3333
+ * server response, or constructed directly in Javascript. The array is used
3334
+ * in place and becomes part of the constructed object. It is not cloned.
3335
+ * If no data is provided, the constructed object will be empty, but still
3336
+ * valid.
3337
+ * @extends {jspb.Message}
3338
+ * @constructor
3339
+ */
3340
+ proto.gateway.web.v1.IssueCostFilter = function(opt_data) {
3341
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.IssueCostFilter.repeatedFields_, null);
3342
+ };
3343
+ goog.inherits(proto.gateway.web.v1.IssueCostFilter, jspb.Message);
3344
+ if (goog.DEBUG && !COMPILED) {
3345
+ /**
3346
+ * @public
3347
+ * @override
3348
+ */
3349
+ proto.gateway.web.v1.IssueCostFilter.displayName = 'proto.gateway.web.v1.IssueCostFilter';
3350
+ }
3351
+ /**
3352
+ * Generated by JsPbCodeGenerator.
3353
+ * @param {Array=} opt_data Optional initial data array, typically from a
3354
+ * server response, or constructed directly in Javascript. The array is used
3355
+ * in place and becomes part of the constructed object. It is not cloned.
3356
+ * If no data is provided, the constructed object will be empty, but still
3357
+ * valid.
3358
+ * @extends {jspb.Message}
3359
+ * @constructor
3360
+ */
3361
+ proto.gateway.web.v1.ListIssueCostsResponse = function(opt_data) {
3362
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListIssueCostsResponse.repeatedFields_, null);
3363
+ };
3364
+ goog.inherits(proto.gateway.web.v1.ListIssueCostsResponse, jspb.Message);
3365
+ if (goog.DEBUG && !COMPILED) {
3366
+ /**
3367
+ * @public
3368
+ * @override
3369
+ */
3370
+ proto.gateway.web.v1.ListIssueCostsResponse.displayName = 'proto.gateway.web.v1.ListIssueCostsResponse';
3371
+ }
3372
+ /**
3373
+ * Generated by JsPbCodeGenerator.
3374
+ * @param {Array=} opt_data Optional initial data array, typically from a
3375
+ * server response, or constructed directly in Javascript. The array is used
3376
+ * in place and becomes part of the constructed object. It is not cloned.
3377
+ * If no data is provided, the constructed object will be empty, but still
3378
+ * valid.
3379
+ * @extends {jspb.Message}
3380
+ * @constructor
3381
+ */
3382
+ proto.gateway.web.v1.IssueCostGroup = function(opt_data) {
3383
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3384
+ };
3385
+ goog.inherits(proto.gateway.web.v1.IssueCostGroup, jspb.Message);
3386
+ if (goog.DEBUG && !COMPILED) {
3387
+ /**
3388
+ * @public
3389
+ * @override
3390
+ */
3391
+ proto.gateway.web.v1.IssueCostGroup.displayName = 'proto.gateway.web.v1.IssueCostGroup';
3392
+ }
3393
+ /**
3394
+ * Generated by JsPbCodeGenerator.
3395
+ * @param {Array=} opt_data Optional initial data array, typically from a
3396
+ * server response, or constructed directly in Javascript. The array is used
3397
+ * in place and becomes part of the constructed object. It is not cloned.
3398
+ * If no data is provided, the constructed object will be empty, but still
3399
+ * valid.
3400
+ * @extends {jspb.Message}
3401
+ * @constructor
3402
+ */
3403
+ proto.gateway.web.v1.TrackerIssue = function(opt_data) {
3404
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3405
+ };
3406
+ goog.inherits(proto.gateway.web.v1.TrackerIssue, jspb.Message);
3407
+ if (goog.DEBUG && !COMPILED) {
3408
+ /**
3409
+ * @public
3410
+ * @override
3411
+ */
3412
+ proto.gateway.web.v1.TrackerIssue.displayName = 'proto.gateway.web.v1.TrackerIssue';
3413
+ }
3414
+ /**
3415
+ * Generated by JsPbCodeGenerator.
3416
+ * @param {Array=} opt_data Optional initial data array, typically from a
3417
+ * server response, or constructed directly in Javascript. The array is used
3418
+ * in place and becomes part of the constructed object. It is not cloned.
3419
+ * If no data is provided, the constructed object will be empty, but still
3420
+ * valid.
3421
+ * @extends {jspb.Message}
3422
+ * @constructor
3423
+ */
3424
+ proto.gateway.web.v1.IssueCostPagination = function(opt_data) {
3425
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3426
+ };
3427
+ goog.inherits(proto.gateway.web.v1.IssueCostPagination, jspb.Message);
3428
+ if (goog.DEBUG && !COMPILED) {
3429
+ /**
3430
+ * @public
3431
+ * @override
3432
+ */
3433
+ proto.gateway.web.v1.IssueCostPagination.displayName = 'proto.gateway.web.v1.IssueCostPagination';
3434
+ }
3435
+ /**
3436
+ * Generated by JsPbCodeGenerator.
3437
+ * @param {Array=} opt_data Optional initial data array, typically from a
3438
+ * server response, or constructed directly in Javascript. The array is used
3439
+ * in place and becomes part of the constructed object. It is not cloned.
3440
+ * If no data is provided, the constructed object will be empty, but still
3441
+ * valid.
3442
+ * @extends {jspb.Message}
3443
+ * @constructor
3444
+ */
3445
+ proto.gateway.web.v1.IssueCostTotals = function(opt_data) {
3446
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3447
+ };
3448
+ goog.inherits(proto.gateway.web.v1.IssueCostTotals, jspb.Message);
3449
+ if (goog.DEBUG && !COMPILED) {
3450
+ /**
3451
+ * @public
3452
+ * @override
3453
+ */
3454
+ proto.gateway.web.v1.IssueCostTotals.displayName = 'proto.gateway.web.v1.IssueCostTotals';
3455
+ }
3297
3456
 
3298
3457
 
3299
3458
 
@@ -50001,299 +50160,2493 @@ proto.gateway.web.v1.RelayHeartbeatFilter.prototype.hasLastSeenBefore = function
50001
50160
  };
50002
50161
 
50003
50162
 
50163
+
50164
+
50165
+
50166
+ if (jspb.Message.GENERATE_TO_OBJECT) {
50004
50167
  /**
50005
- * @enum {number}
50168
+ * Creates an object representation of this proto.
50169
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
50170
+ * Optional fields that are not set will be set to undefined.
50171
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
50172
+ * For the list of reserved names please see:
50173
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
50174
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
50175
+ * JSPB instance for transitional soy proto support:
50176
+ * http://goto/soy-param-migration
50177
+ * @return {!Object}
50006
50178
  */
50007
- proto.gateway.web.v1.SessionSort = {
50008
- SESSION_SORT_UNSPECIFIED: 0,
50009
- SESSION_SORT_COST: 1,
50010
- SESSION_SORT_TOKENS: 2,
50011
- SESSION_SORT_TURNS: 3,
50012
- SESSION_SORT_TOOLS: 4,
50013
- SESSION_SORT_RECENCY: 5,
50014
- SESSION_SORT_NET_COST: 6
50179
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.toObject = function(opt_includeInstance) {
50180
+ return proto.gateway.web.v1.ListIssueCostsRequest.toObject(opt_includeInstance, this);
50015
50181
  };
50016
50182
 
50183
+
50017
50184
  /**
50018
- * @enum {number}
50185
+ * Static version of the {@see toObject} method.
50186
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
50187
+ * the JSPB instance for transitional soy proto support:
50188
+ * http://goto/soy-param-migration
50189
+ * @param {!proto.gateway.web.v1.ListIssueCostsRequest} msg The msg instance to transform.
50190
+ * @return {!Object}
50191
+ * @suppress {unusedLocalVariables} f is only used for nested messages
50019
50192
  */
50020
- proto.gateway.web.v1.AISessionEventType = {
50021
- AI_SESSION_EVENT_TYPE_UNSPECIFIED: 0,
50022
- AI_SESSION_EVENT_TYPE_SESSION: 1,
50023
- AI_SESSION_EVENT_TYPE_MESSAGE: 2,
50024
- AI_SESSION_EVENT_TYPE_MODEL: 3,
50025
- AI_SESSION_EVENT_TYPE_TOOL: 4,
50026
- AI_SESSION_EVENT_TYPE_AGENT: 5,
50027
- AI_SESSION_EVENT_TYPE_COMMAND: 6,
50028
- AI_SESSION_EVENT_TYPE_COMPACTION: 7,
50029
- AI_SESSION_EVENT_TYPE_AUTH: 8,
50030
- AI_SESSION_EVENT_TYPE_SKILL: 9,
50031
- AI_SESSION_EVENT_TYPE_MCP: 10,
50032
- AI_SESSION_EVENT_TYPE_MENTION: 11,
50033
- AI_SESSION_EVENT_TYPE_PERMISSION: 12,
50034
- AI_SESSION_EVENT_TYPE_FEEDBACK: 13,
50035
- AI_SESSION_EVENT_TYPE_ERROR: 14,
50036
- AI_SESSION_EVENT_TYPE_SUMMARY: 15
50193
+ proto.gateway.web.v1.ListIssueCostsRequest.toObject = function(includeInstance, msg) {
50194
+ var f, obj = {
50195
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
50196
+ tracker: jspb.Message.getFieldWithDefault(msg, 2, 0),
50197
+ groupBy: jspb.Message.getFieldWithDefault(msg, 3, 0),
50198
+ filter: (f = msg.getFilter()) && proto.gateway.web.v1.IssueCostFilter.toObject(includeInstance, f),
50199
+ sort: jspb.Message.getFieldWithDefault(msg, 5, 0),
50200
+ page: jspb.Message.getFieldWithDefault(msg, 6, 0),
50201
+ perPage: jspb.Message.getFieldWithDefault(msg, 7, 0)
50202
+ };
50203
+
50204
+ if (includeInstance) {
50205
+ obj.$jspbMessageInstance = msg;
50206
+ }
50207
+ return obj;
50037
50208
  };
50209
+ }
50210
+
50038
50211
 
50039
50212
  /**
50040
- * @enum {number}
50213
+ * Deserializes binary data (in protobuf wire format).
50214
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
50215
+ * @return {!proto.gateway.web.v1.ListIssueCostsRequest}
50041
50216
  */
50042
- proto.gateway.web.v1.AIPromptComplexity = {
50043
- AI_PROMPT_COMPLEXITY_UNSPECIFIED: 0,
50044
- AI_PROMPT_COMPLEXITY_SIMPLE: 1,
50045
- AI_PROMPT_COMPLEXITY_MODERATE: 2,
50046
- AI_PROMPT_COMPLEXITY_COMPLEX: 3
50217
+ proto.gateway.web.v1.ListIssueCostsRequest.deserializeBinary = function(bytes) {
50218
+ var reader = new jspb.BinaryReader(bytes);
50219
+ var msg = new proto.gateway.web.v1.ListIssueCostsRequest;
50220
+ return proto.gateway.web.v1.ListIssueCostsRequest.deserializeBinaryFromReader(msg, reader);
50047
50221
  };
50048
50222
 
50223
+
50049
50224
  /**
50050
- * @enum {number}
50225
+ * Deserializes binary data (in protobuf wire format) from the
50226
+ * given reader into the given message object.
50227
+ * @param {!proto.gateway.web.v1.ListIssueCostsRequest} msg The message object to deserialize into.
50228
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
50229
+ * @return {!proto.gateway.web.v1.ListIssueCostsRequest}
50051
50230
  */
50052
- proto.gateway.web.v1.AIPromptClarity = {
50053
- AI_PROMPT_CLARITY_UNSPECIFIED: 0,
50054
- AI_PROMPT_CLARITY_UNCLEAR: 1,
50055
- AI_PROMPT_CLARITY_PARTIAL: 2,
50056
- AI_PROMPT_CLARITY_CLEAR: 3
50231
+ proto.gateway.web.v1.ListIssueCostsRequest.deserializeBinaryFromReader = function(msg, reader) {
50232
+ while (reader.nextField()) {
50233
+ if (reader.isEndGroup()) {
50234
+ break;
50235
+ }
50236
+ var field = reader.getFieldNumber();
50237
+ switch (field) {
50238
+ case 1:
50239
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
50240
+ msg.setOrganizationId(value);
50241
+ break;
50242
+ case 2:
50243
+ var value = /** @type {!proto.gateway.web.v1.Tracker} */ (reader.readEnum());
50244
+ msg.setTracker(value);
50245
+ break;
50246
+ case 3:
50247
+ var value = /** @type {!proto.gateway.web.v1.IssueCostGroupBy} */ (reader.readEnum());
50248
+ msg.setGroupBy(value);
50249
+ break;
50250
+ case 4:
50251
+ var value = new proto.gateway.web.v1.IssueCostFilter;
50252
+ reader.readMessage(value,proto.gateway.web.v1.IssueCostFilter.deserializeBinaryFromReader);
50253
+ msg.setFilter(value);
50254
+ break;
50255
+ case 5:
50256
+ var value = /** @type {!proto.gateway.web.v1.IssueCostSort} */ (reader.readEnum());
50257
+ msg.setSort(value);
50258
+ break;
50259
+ case 6:
50260
+ var value = /** @type {number} */ (reader.readInt32());
50261
+ msg.setPage(value);
50262
+ break;
50263
+ case 7:
50264
+ var value = /** @type {number} */ (reader.readInt32());
50265
+ msg.setPerPage(value);
50266
+ break;
50267
+ default:
50268
+ reader.skipField();
50269
+ break;
50270
+ }
50271
+ }
50272
+ return msg;
50057
50273
  };
50058
50274
 
50275
+
50059
50276
  /**
50060
- * @enum {number}
50277
+ * Serializes the message to binary data (in protobuf wire format).
50278
+ * @return {!Uint8Array}
50061
50279
  */
50062
- proto.gateway.web.v1.AIPromptSteering = {
50063
- AI_PROMPT_STEERING_UNSPECIFIED: 0,
50064
- AI_PROMPT_STEERING_NEW_TASK: 1,
50065
- AI_PROMPT_STEERING_FOLLOW_UP: 2,
50066
- AI_PROMPT_STEERING_CORRECTION: 3,
50067
- AI_PROMPT_STEERING_REDIRECT: 4,
50068
- AI_PROMPT_STEERING_APPROVAL: 5
50280
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.serializeBinary = function() {
50281
+ var writer = new jspb.BinaryWriter();
50282
+ proto.gateway.web.v1.ListIssueCostsRequest.serializeBinaryToWriter(this, writer);
50283
+ return writer.getResultBuffer();
50069
50284
  };
50070
50285
 
50286
+
50071
50287
  /**
50072
- * @enum {number}
50288
+ * Serializes the given message to binary data (in protobuf wire
50289
+ * format), writing to the given BinaryWriter.
50290
+ * @param {!proto.gateway.web.v1.ListIssueCostsRequest} message
50291
+ * @param {!jspb.BinaryWriter} writer
50292
+ * @suppress {unusedLocalVariables} f is only used for nested messages
50073
50293
  */
50074
- proto.gateway.web.v1.AIPromptFrustration = {
50075
- AI_PROMPT_FRUSTRATION_UNSPECIFIED: 0,
50076
- AI_PROMPT_FRUSTRATION_NONE: 1,
50077
- AI_PROMPT_FRUSTRATION_MILD: 2,
50078
- AI_PROMPT_FRUSTRATION_STRONG: 3
50294
+ proto.gateway.web.v1.ListIssueCostsRequest.serializeBinaryToWriter = function(message, writer) {
50295
+ var f = undefined;
50296
+ f = message.getOrganizationId();
50297
+ if (f.length > 0) {
50298
+ writer.writeString(
50299
+ 1,
50300
+ f
50301
+ );
50302
+ }
50303
+ f = message.getTracker();
50304
+ if (f !== 0.0) {
50305
+ writer.writeEnum(
50306
+ 2,
50307
+ f
50308
+ );
50309
+ }
50310
+ f = message.getGroupBy();
50311
+ if (f !== 0.0) {
50312
+ writer.writeEnum(
50313
+ 3,
50314
+ f
50315
+ );
50316
+ }
50317
+ f = message.getFilter();
50318
+ if (f != null) {
50319
+ writer.writeMessage(
50320
+ 4,
50321
+ f,
50322
+ proto.gateway.web.v1.IssueCostFilter.serializeBinaryToWriter
50323
+ );
50324
+ }
50325
+ f = message.getSort();
50326
+ if (f !== 0.0) {
50327
+ writer.writeEnum(
50328
+ 5,
50329
+ f
50330
+ );
50331
+ }
50332
+ f = message.getPage();
50333
+ if (f !== 0) {
50334
+ writer.writeInt32(
50335
+ 6,
50336
+ f
50337
+ );
50338
+ }
50339
+ f = message.getPerPage();
50340
+ if (f !== 0) {
50341
+ writer.writeInt32(
50342
+ 7,
50343
+ f
50344
+ );
50345
+ }
50079
50346
  };
50080
50347
 
50348
+
50081
50349
  /**
50082
- * @enum {number}
50350
+ * optional string organization_id = 1;
50351
+ * @return {string}
50083
50352
  */
50084
- proto.gateway.web.v1.AIPromptSentiment = {
50085
- AI_PROMPT_SENTIMENT_UNSPECIFIED: 0,
50086
- AI_PROMPT_SENTIMENT_NEGATIVE: 1,
50087
- AI_PROMPT_SENTIMENT_NEUTRAL: 2,
50088
- AI_PROMPT_SENTIMENT_POSITIVE: 3
50353
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.getOrganizationId = function() {
50354
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
50089
50355
  };
50090
50356
 
50357
+
50091
50358
  /**
50092
- * @enum {number}
50359
+ * @param {string} value
50360
+ * @return {!proto.gateway.web.v1.ListIssueCostsRequest} returns this
50093
50361
  */
50094
- proto.gateway.web.v1.AISessionWorkType = {
50095
- AI_SESSION_WORK_TYPE_UNSPECIFIED: 0,
50096
- AI_SESSION_WORK_TYPE_BUG_FIX: 1,
50097
- AI_SESSION_WORK_TYPE_FEATURE: 2,
50098
- AI_SESSION_WORK_TYPE_REFACTOR: 3,
50099
- AI_SESSION_WORK_TYPE_TESTS: 4,
50100
- AI_SESSION_WORK_TYPE_DOCS: 5,
50101
- AI_SESSION_WORK_TYPE_OPS: 6,
50102
- AI_SESSION_WORK_TYPE_REVIEW: 7,
50103
- AI_SESSION_WORK_TYPE_EXPLORATION: 8
50362
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.setOrganizationId = function(value) {
50363
+ return jspb.Message.setProto3StringField(this, 1, value);
50104
50364
  };
50105
50365
 
50366
+
50106
50367
  /**
50107
- * @enum {number}
50368
+ * optional Tracker tracker = 2;
50369
+ * @return {!proto.gateway.web.v1.Tracker}
50108
50370
  */
50109
- proto.gateway.web.v1.AISessionComplexity = {
50110
- AI_SESSION_COMPLEXITY_UNSPECIFIED: 0,
50111
- AI_SESSION_COMPLEXITY_SMALL: 1,
50112
- AI_SESSION_COMPLEXITY_MEDIUM: 2,
50113
- AI_SESSION_COMPLEXITY_LARGE: 3
50371
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.getTracker = function() {
50372
+ return /** @type {!proto.gateway.web.v1.Tracker} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
50114
50373
  };
50115
50374
 
50375
+
50116
50376
  /**
50117
- * @enum {number}
50377
+ * @param {!proto.gateway.web.v1.Tracker} value
50378
+ * @return {!proto.gateway.web.v1.ListIssueCostsRequest} returns this
50118
50379
  */
50119
- proto.gateway.web.v1.AISessionOutcome = {
50120
- AI_SESSION_OUTCOME_UNSPECIFIED: 0,
50121
- AI_SESSION_OUTCOME_DELIVERED: 1,
50122
- AI_SESSION_OUTCOME_PARTIAL: 2,
50123
- AI_SESSION_OUTCOME_ABANDONED: 3,
50124
- AI_SESSION_OUTCOME_UNCLEAR: 4
50380
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.setTracker = function(value) {
50381
+ return jspb.Message.setProto3EnumField(this, 2, value);
50125
50382
  };
50126
50383
 
50384
+
50127
50385
  /**
50128
- * @enum {number}
50386
+ * optional IssueCostGroupBy group_by = 3;
50387
+ * @return {!proto.gateway.web.v1.IssueCostGroupBy}
50129
50388
  */
50130
- proto.gateway.web.v1.AISessionSteeringLoad = {
50131
- AI_SESSION_STEERING_LOAD_UNSPECIFIED: 0,
50132
- AI_SESSION_STEERING_LOAD_NONE: 1,
50133
- AI_SESSION_STEERING_LOAD_LIGHT: 2,
50134
- AI_SESSION_STEERING_LOAD_HEAVY: 3
50389
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.getGroupBy = function() {
50390
+ return /** @type {!proto.gateway.web.v1.IssueCostGroupBy} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
50135
50391
  };
50136
50392
 
50393
+
50137
50394
  /**
50138
- * @enum {number}
50395
+ * @param {!proto.gateway.web.v1.IssueCostGroupBy} value
50396
+ * @return {!proto.gateway.web.v1.ListIssueCostsRequest} returns this
50139
50397
  */
50140
- proto.gateway.web.v1.AISessionAgentReliability = {
50141
- AI_SESSION_AGENT_RELIABILITY_UNSPECIFIED: 0,
50142
- AI_SESSION_AGENT_RELIABILITY_CLEAN: 1,
50143
- AI_SESSION_AGENT_RELIABILITY_MINOR_ISSUES: 2,
50144
- AI_SESSION_AGENT_RELIABILITY_CONSTRAINT_VIOLATION: 3,
50145
- AI_SESSION_AGENT_RELIABILITY_MAJOR_FAILURE: 4
50398
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.setGroupBy = function(value) {
50399
+ return jspb.Message.setProto3EnumField(this, 3, value);
50146
50400
  };
50147
50401
 
50402
+
50148
50403
  /**
50149
- * @enum {number}
50404
+ * optional IssueCostFilter filter = 4;
50405
+ * @return {?proto.gateway.web.v1.IssueCostFilter}
50150
50406
  */
50151
- proto.gateway.web.v1.AISessionVerification = {
50152
- AI_SESSION_VERIFICATION_UNSPECIFIED: 0,
50153
- AI_SESSION_VERIFICATION_VERIFIED: 1,
50154
- AI_SESSION_VERIFICATION_CLAIMED_ONLY: 2,
50155
- AI_SESSION_VERIFICATION_NOT_APPLICABLE: 3,
50156
- AI_SESSION_VERIFICATION_UNOBSERVED: 4
50407
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.getFilter = function() {
50408
+ return /** @type{?proto.gateway.web.v1.IssueCostFilter} */ (
50409
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.IssueCostFilter, 4));
50157
50410
  };
50158
50411
 
50412
+
50159
50413
  /**
50160
- * @enum {number}
50161
- */
50162
- proto.gateway.web.v1.AISessionInsightCategory = {
50163
- AI_SESSION_INSIGHT_CATEGORY_UNSPECIFIED: 0,
50164
- AI_SESSION_INSIGHT_CATEGORY_CONSTRAINT_VIOLATION: 1,
50165
- AI_SESSION_INSIGHT_CATEGORY_MISREAD_REQUEST: 2,
50166
- AI_SESSION_INSIGHT_CATEGORY_REPEATED_CORRECTION: 3,
50167
- AI_SESSION_INSIGHT_CATEGORY_LOOPING: 4,
50168
- AI_SESSION_INSIGHT_CATEGORY_VERIFICATION_GAP: 5,
50169
- AI_SESSION_INSIGHT_CATEGORY_MISSING_CONTEXT: 6,
50170
- AI_SESSION_INSIGHT_CATEGORY_TOOLING_FAILURE: 7,
50171
- AI_SESSION_INSIGHT_CATEGORY_SCOPE_CREEP: 8,
50172
- AI_SESSION_INSIGHT_CATEGORY_MANUAL_WORKFLOW: 9
50414
+ * @param {?proto.gateway.web.v1.IssueCostFilter|undefined} value
50415
+ * @return {!proto.gateway.web.v1.ListIssueCostsRequest} returns this
50416
+ */
50417
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.setFilter = function(value) {
50418
+ return jspb.Message.setWrapperField(this, 4, value);
50173
50419
  };
50174
50420
 
50421
+
50175
50422
  /**
50176
- * @enum {number}
50423
+ * Clears the message field making it undefined.
50424
+ * @return {!proto.gateway.web.v1.ListIssueCostsRequest} returns this
50177
50425
  */
50178
- proto.gateway.web.v1.AISessionInsightActionType = {
50179
- AI_SESSION_INSIGHT_ACTION_TYPE_UNSPECIFIED: 0,
50180
- AI_SESSION_INSIGHT_ACTION_TYPE_ADD_RULE: 1,
50181
- AI_SESSION_INSIGHT_ACTION_TYPE_ADD_SKILL: 2,
50182
- AI_SESSION_INSIGHT_ACTION_TYPE_USE_EXISTING_SKILL: 3,
50183
- AI_SESSION_INSIGHT_ACTION_TYPE_CHANGE_MODEL: 4,
50184
- AI_SESSION_INSIGHT_ACTION_TYPE_CLARIFY_PROMPTS: 5,
50185
- AI_SESSION_INSIGHT_ACTION_TYPE_FIX_TOOLING: 6
50426
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.clearFilter = function() {
50427
+ return this.setFilter(undefined);
50186
50428
  };
50187
50429
 
50430
+
50188
50431
  /**
50189
- * @enum {number}
50432
+ * Returns whether this field is set.
50433
+ * @return {boolean}
50190
50434
  */
50191
- proto.gateway.web.v1.AISessionInsightSeverity = {
50192
- AI_SESSION_INSIGHT_SEVERITY_UNSPECIFIED: 0,
50193
- AI_SESSION_INSIGHT_SEVERITY_LOW: 1,
50194
- AI_SESSION_INSIGHT_SEVERITY_MEDIUM: 2,
50195
- AI_SESSION_INSIGHT_SEVERITY_HIGH: 3
50435
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.hasFilter = function() {
50436
+ return jspb.Message.getField(this, 4) != null;
50196
50437
  };
50197
50438
 
50439
+
50198
50440
  /**
50199
- * @enum {number}
50441
+ * optional IssueCostSort sort = 5;
50442
+ * @return {!proto.gateway.web.v1.IssueCostSort}
50200
50443
  */
50201
- proto.gateway.web.v1.AISessionScoreComponentKind = {
50202
- AI_SESSION_SCORE_COMPONENT_KIND_UNSPECIFIED: 0,
50203
- AI_SESSION_SCORE_COMPONENT_KIND_OUTCOME: 1,
50204
- AI_SESSION_SCORE_COMPONENT_KIND_STEERING_LOAD: 2,
50205
- AI_SESSION_SCORE_COMPONENT_KIND_AGENT_RELIABILITY: 3,
50206
- AI_SESSION_SCORE_COMPONENT_KIND_VERIFICATION: 4,
50207
- AI_SESSION_SCORE_COMPONENT_KIND_REWORK_SPEND: 5,
50208
- AI_SESSION_SCORE_COMPONENT_KIND_PROMPT_CLARITY: 6
50444
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.getSort = function() {
50445
+ return /** @type {!proto.gateway.web.v1.IssueCostSort} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
50209
50446
  };
50210
50447
 
50448
+
50211
50449
  /**
50212
- * @enum {number}
50450
+ * @param {!proto.gateway.web.v1.IssueCostSort} value
50451
+ * @return {!proto.gateway.web.v1.ListIssueCostsRequest} returns this
50213
50452
  */
50214
- proto.gateway.web.v1.AIGitAction = {
50215
- AI_GIT_ACTION_UNSPECIFIED: 0,
50216
- AI_GIT_ACTION_BRANCH_CREATE: 1,
50217
- AI_GIT_ACTION_COMMIT: 2,
50218
- AI_GIT_ACTION_PUSH: 3,
50219
- AI_GIT_ACTION_PULL_REQUEST_CREATE: 4,
50220
- AI_GIT_ACTION_PULL_REQUEST_MERGE: 5,
50221
- AI_GIT_ACTION_PULL_REQUEST_COMMENT: 6,
50222
- AI_GIT_ACTION_OTHER: 7
50453
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.setSort = function(value) {
50454
+ return jspb.Message.setProto3EnumField(this, 5, value);
50223
50455
  };
50224
50456
 
50457
+
50225
50458
  /**
50226
- * @enum {number}
50459
+ * optional int32 page = 6;
50460
+ * @return {number}
50227
50461
  */
50228
- proto.gateway.web.v1.AIGitOutcome = {
50229
- AI_GIT_OUTCOME_UNSPECIFIED: 0,
50230
- AI_GIT_OUTCOME_ATTEMPTED: 1,
50231
- AI_GIT_OUTCOME_CONFIRMED: 2,
50232
- AI_GIT_OUTCOME_FAILED: 3
50462
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.getPage = function() {
50463
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
50233
50464
  };
50234
50465
 
50466
+
50235
50467
  /**
50236
- * @enum {number}
50468
+ * @param {number} value
50469
+ * @return {!proto.gateway.web.v1.ListIssueCostsRequest} returns this
50237
50470
  */
50238
- proto.gateway.web.v1.AIGitActivityDimension = {
50239
- AI_GIT_ACTIVITY_DIMENSION_UNSPECIFIED: 0,
50240
- AI_GIT_ACTIVITY_DIMENSION_SOURCE_SYSTEM: 1,
50241
- AI_GIT_ACTIVITY_DIMENSION_REPOSITORY: 2,
50242
- AI_GIT_ACTIVITY_DIMENSION_ACTION: 3,
50243
- AI_GIT_ACTIVITY_DIMENSION_OUTCOME: 4,
50244
- AI_GIT_ACTIVITY_DIMENSION_SESSION: 5
50471
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.setPage = function(value) {
50472
+ return jspb.Message.setProto3IntField(this, 6, value);
50245
50473
  };
50246
50474
 
50475
+
50247
50476
  /**
50248
- * @enum {number}
50477
+ * optional int32 per_page = 7;
50478
+ * @return {number}
50249
50479
  */
50250
- proto.gateway.web.v1.AITokenActivityDimension = {
50251
- AI_TOKEN_ACTIVITY_DIMENSION_UNSPECIFIED: 0,
50252
- AI_TOKEN_ACTIVITY_DIMENSION_MODEL: 1,
50253
- AI_TOKEN_ACTIVITY_DIMENSION_PROVIDER: 2,
50254
- AI_TOKEN_ACTIVITY_DIMENSION_SOURCE_SYSTEM: 3,
50255
- AI_TOKEN_ACTIVITY_DIMENSION_USER: 4,
50256
- AI_TOKEN_ACTIVITY_DIMENSION_API_KEY: 5,
50257
- AI_TOKEN_ACTIVITY_DIMENSION_EFFORT: 6
50480
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.getPerPage = function() {
50481
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
50258
50482
  };
50259
50483
 
50484
+
50260
50485
  /**
50261
- * @enum {number}
50486
+ * @param {number} value
50487
+ * @return {!proto.gateway.web.v1.ListIssueCostsRequest} returns this
50262
50488
  */
50263
- proto.gateway.web.v1.AISpendForecastDimension = {
50264
- AI_SPEND_FORECAST_DIMENSION_UNSPECIFIED: 0,
50265
- AI_SPEND_FORECAST_DIMENSION_MODEL: 1,
50266
- AI_SPEND_FORECAST_DIMENSION_PROVIDER: 2,
50267
- AI_SPEND_FORECAST_DIMENSION_SOURCE_SYSTEM: 3
50489
+ proto.gateway.web.v1.ListIssueCostsRequest.prototype.setPerPage = function(value) {
50490
+ return jspb.Message.setProto3IntField(this, 7, value);
50268
50491
  };
50269
50492
 
50493
+
50494
+
50270
50495
  /**
50271
- * @enum {number}
50496
+ * List of repeated fields within this message type.
50497
+ * @private {!Array<number>}
50498
+ * @const
50272
50499
  */
50273
- proto.gateway.web.v1.AIResourceDimension = {
50274
- AI_RESOURCE_DIMENSION_UNSPECIFIED: 0,
50275
- AI_RESOURCE_DIMENSION_SKILL: 1,
50276
- AI_RESOURCE_DIMENSION_TOOL: 2,
50277
- AI_RESOURCE_DIMENSION_FILE: 3,
50278
- AI_RESOURCE_DIMENSION_URL: 4,
50279
- AI_RESOURCE_DIMENSION_COMMAND: 5
50280
- };
50500
+ proto.gateway.web.v1.IssueCostFilter.repeatedFields_ = [3,4];
50281
50501
 
50502
+
50503
+
50504
+ if (jspb.Message.GENERATE_TO_OBJECT) {
50282
50505
  /**
50283
- * @enum {number}
50506
+ * Creates an object representation of this proto.
50507
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
50508
+ * Optional fields that are not set will be set to undefined.
50509
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
50510
+ * For the list of reserved names please see:
50511
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
50512
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
50513
+ * JSPB instance for transitional soy proto support:
50514
+ * http://goto/soy-param-migration
50515
+ * @return {!Object}
50284
50516
  */
50285
- proto.gateway.web.v1.AIResourceRankingGroupBy = {
50286
- AI_RESOURCE_RANKING_GROUP_BY_UNSPECIFIED: 0,
50287
- AI_RESOURCE_RANKING_GROUP_BY_PRINCIPAL: 1
50517
+ proto.gateway.web.v1.IssueCostFilter.prototype.toObject = function(opt_includeInstance) {
50518
+ return proto.gateway.web.v1.IssueCostFilter.toObject(opt_includeInstance, this);
50288
50519
  };
50289
50520
 
50521
+
50290
50522
  /**
50291
- * @enum {number}
50292
- */
50293
- proto.gateway.web.v1.AIFileLifecycle = {
50294
- AI_FILE_LIFECYCLE_UNSPECIFIED: 0,
50295
- AI_FILE_LIFECYCLE_UNLANDED: 1,
50296
- AI_FILE_LIFECYCLE_CHANGED_SINCE_COMMIT: 2,
50523
+ * Static version of the {@see toObject} method.
50524
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
50525
+ * the JSPB instance for transitional soy proto support:
50526
+ * http://goto/soy-param-migration
50527
+ * @param {!proto.gateway.web.v1.IssueCostFilter} msg The msg instance to transform.
50528
+ * @return {!Object}
50529
+ * @suppress {unusedLocalVariables} f is only used for nested messages
50530
+ */
50531
+ proto.gateway.web.v1.IssueCostFilter.toObject = function(includeInstance, msg) {
50532
+ var f, obj = {
50533
+ startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
50534
+ endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
50535
+ parentIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
50536
+ iterationIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
50537
+ };
50538
+
50539
+ if (includeInstance) {
50540
+ obj.$jspbMessageInstance = msg;
50541
+ }
50542
+ return obj;
50543
+ };
50544
+ }
50545
+
50546
+
50547
+ /**
50548
+ * Deserializes binary data (in protobuf wire format).
50549
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
50550
+ * @return {!proto.gateway.web.v1.IssueCostFilter}
50551
+ */
50552
+ proto.gateway.web.v1.IssueCostFilter.deserializeBinary = function(bytes) {
50553
+ var reader = new jspb.BinaryReader(bytes);
50554
+ var msg = new proto.gateway.web.v1.IssueCostFilter;
50555
+ return proto.gateway.web.v1.IssueCostFilter.deserializeBinaryFromReader(msg, reader);
50556
+ };
50557
+
50558
+
50559
+ /**
50560
+ * Deserializes binary data (in protobuf wire format) from the
50561
+ * given reader into the given message object.
50562
+ * @param {!proto.gateway.web.v1.IssueCostFilter} msg The message object to deserialize into.
50563
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
50564
+ * @return {!proto.gateway.web.v1.IssueCostFilter}
50565
+ */
50566
+ proto.gateway.web.v1.IssueCostFilter.deserializeBinaryFromReader = function(msg, reader) {
50567
+ while (reader.nextField()) {
50568
+ if (reader.isEndGroup()) {
50569
+ break;
50570
+ }
50571
+ var field = reader.getFieldNumber();
50572
+ switch (field) {
50573
+ case 1:
50574
+ var value = new google_protobuf_timestamp_pb.Timestamp;
50575
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
50576
+ msg.setStartTime(value);
50577
+ break;
50578
+ case 2:
50579
+ var value = new google_protobuf_timestamp_pb.Timestamp;
50580
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
50581
+ msg.setEndTime(value);
50582
+ break;
50583
+ case 3:
50584
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
50585
+ msg.addParentIds(value);
50586
+ break;
50587
+ case 4:
50588
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
50589
+ msg.addIterationIds(value);
50590
+ break;
50591
+ default:
50592
+ reader.skipField();
50593
+ break;
50594
+ }
50595
+ }
50596
+ return msg;
50597
+ };
50598
+
50599
+
50600
+ /**
50601
+ * Serializes the message to binary data (in protobuf wire format).
50602
+ * @return {!Uint8Array}
50603
+ */
50604
+ proto.gateway.web.v1.IssueCostFilter.prototype.serializeBinary = function() {
50605
+ var writer = new jspb.BinaryWriter();
50606
+ proto.gateway.web.v1.IssueCostFilter.serializeBinaryToWriter(this, writer);
50607
+ return writer.getResultBuffer();
50608
+ };
50609
+
50610
+
50611
+ /**
50612
+ * Serializes the given message to binary data (in protobuf wire
50613
+ * format), writing to the given BinaryWriter.
50614
+ * @param {!proto.gateway.web.v1.IssueCostFilter} message
50615
+ * @param {!jspb.BinaryWriter} writer
50616
+ * @suppress {unusedLocalVariables} f is only used for nested messages
50617
+ */
50618
+ proto.gateway.web.v1.IssueCostFilter.serializeBinaryToWriter = function(message, writer) {
50619
+ var f = undefined;
50620
+ f = message.getStartTime();
50621
+ if (f != null) {
50622
+ writer.writeMessage(
50623
+ 1,
50624
+ f,
50625
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
50626
+ );
50627
+ }
50628
+ f = message.getEndTime();
50629
+ if (f != null) {
50630
+ writer.writeMessage(
50631
+ 2,
50632
+ f,
50633
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
50634
+ );
50635
+ }
50636
+ f = message.getParentIdsList();
50637
+ if (f.length > 0) {
50638
+ writer.writeRepeatedString(
50639
+ 3,
50640
+ f
50641
+ );
50642
+ }
50643
+ f = message.getIterationIdsList();
50644
+ if (f.length > 0) {
50645
+ writer.writeRepeatedString(
50646
+ 4,
50647
+ f
50648
+ );
50649
+ }
50650
+ };
50651
+
50652
+
50653
+ /**
50654
+ * optional google.protobuf.Timestamp start_time = 1;
50655
+ * @return {?proto.google.protobuf.Timestamp}
50656
+ */
50657
+ proto.gateway.web.v1.IssueCostFilter.prototype.getStartTime = function() {
50658
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
50659
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
50660
+ };
50661
+
50662
+
50663
+ /**
50664
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
50665
+ * @return {!proto.gateway.web.v1.IssueCostFilter} returns this
50666
+ */
50667
+ proto.gateway.web.v1.IssueCostFilter.prototype.setStartTime = function(value) {
50668
+ return jspb.Message.setWrapperField(this, 1, value);
50669
+ };
50670
+
50671
+
50672
+ /**
50673
+ * Clears the message field making it undefined.
50674
+ * @return {!proto.gateway.web.v1.IssueCostFilter} returns this
50675
+ */
50676
+ proto.gateway.web.v1.IssueCostFilter.prototype.clearStartTime = function() {
50677
+ return this.setStartTime(undefined);
50678
+ };
50679
+
50680
+
50681
+ /**
50682
+ * Returns whether this field is set.
50683
+ * @return {boolean}
50684
+ */
50685
+ proto.gateway.web.v1.IssueCostFilter.prototype.hasStartTime = function() {
50686
+ return jspb.Message.getField(this, 1) != null;
50687
+ };
50688
+
50689
+
50690
+ /**
50691
+ * optional google.protobuf.Timestamp end_time = 2;
50692
+ * @return {?proto.google.protobuf.Timestamp}
50693
+ */
50694
+ proto.gateway.web.v1.IssueCostFilter.prototype.getEndTime = function() {
50695
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
50696
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
50697
+ };
50698
+
50699
+
50700
+ /**
50701
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
50702
+ * @return {!proto.gateway.web.v1.IssueCostFilter} returns this
50703
+ */
50704
+ proto.gateway.web.v1.IssueCostFilter.prototype.setEndTime = function(value) {
50705
+ return jspb.Message.setWrapperField(this, 2, value);
50706
+ };
50707
+
50708
+
50709
+ /**
50710
+ * Clears the message field making it undefined.
50711
+ * @return {!proto.gateway.web.v1.IssueCostFilter} returns this
50712
+ */
50713
+ proto.gateway.web.v1.IssueCostFilter.prototype.clearEndTime = function() {
50714
+ return this.setEndTime(undefined);
50715
+ };
50716
+
50717
+
50718
+ /**
50719
+ * Returns whether this field is set.
50720
+ * @return {boolean}
50721
+ */
50722
+ proto.gateway.web.v1.IssueCostFilter.prototype.hasEndTime = function() {
50723
+ return jspb.Message.getField(this, 2) != null;
50724
+ };
50725
+
50726
+
50727
+ /**
50728
+ * repeated string parent_ids = 3;
50729
+ * @return {!Array<string>}
50730
+ */
50731
+ proto.gateway.web.v1.IssueCostFilter.prototype.getParentIdsList = function() {
50732
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
50733
+ };
50734
+
50735
+
50736
+ /**
50737
+ * @param {!Array<string>} value
50738
+ * @return {!proto.gateway.web.v1.IssueCostFilter} returns this
50739
+ */
50740
+ proto.gateway.web.v1.IssueCostFilter.prototype.setParentIdsList = function(value) {
50741
+ return jspb.Message.setField(this, 3, value || []);
50742
+ };
50743
+
50744
+
50745
+ /**
50746
+ * @param {string} value
50747
+ * @param {number=} opt_index
50748
+ * @return {!proto.gateway.web.v1.IssueCostFilter} returns this
50749
+ */
50750
+ proto.gateway.web.v1.IssueCostFilter.prototype.addParentIds = function(value, opt_index) {
50751
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
50752
+ };
50753
+
50754
+
50755
+ /**
50756
+ * Clears the list making it empty but non-null.
50757
+ * @return {!proto.gateway.web.v1.IssueCostFilter} returns this
50758
+ */
50759
+ proto.gateway.web.v1.IssueCostFilter.prototype.clearParentIdsList = function() {
50760
+ return this.setParentIdsList([]);
50761
+ };
50762
+
50763
+
50764
+ /**
50765
+ * repeated string iteration_ids = 4;
50766
+ * @return {!Array<string>}
50767
+ */
50768
+ proto.gateway.web.v1.IssueCostFilter.prototype.getIterationIdsList = function() {
50769
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
50770
+ };
50771
+
50772
+
50773
+ /**
50774
+ * @param {!Array<string>} value
50775
+ * @return {!proto.gateway.web.v1.IssueCostFilter} returns this
50776
+ */
50777
+ proto.gateway.web.v1.IssueCostFilter.prototype.setIterationIdsList = function(value) {
50778
+ return jspb.Message.setField(this, 4, value || []);
50779
+ };
50780
+
50781
+
50782
+ /**
50783
+ * @param {string} value
50784
+ * @param {number=} opt_index
50785
+ * @return {!proto.gateway.web.v1.IssueCostFilter} returns this
50786
+ */
50787
+ proto.gateway.web.v1.IssueCostFilter.prototype.addIterationIds = function(value, opt_index) {
50788
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
50789
+ };
50790
+
50791
+
50792
+ /**
50793
+ * Clears the list making it empty but non-null.
50794
+ * @return {!proto.gateway.web.v1.IssueCostFilter} returns this
50795
+ */
50796
+ proto.gateway.web.v1.IssueCostFilter.prototype.clearIterationIdsList = function() {
50797
+ return this.setIterationIdsList([]);
50798
+ };
50799
+
50800
+
50801
+
50802
+ /**
50803
+ * List of repeated fields within this message type.
50804
+ * @private {!Array<number>}
50805
+ * @const
50806
+ */
50807
+ proto.gateway.web.v1.ListIssueCostsResponse.repeatedFields_ = [5];
50808
+
50809
+
50810
+
50811
+ if (jspb.Message.GENERATE_TO_OBJECT) {
50812
+ /**
50813
+ * Creates an object representation of this proto.
50814
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
50815
+ * Optional fields that are not set will be set to undefined.
50816
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
50817
+ * For the list of reserved names please see:
50818
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
50819
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
50820
+ * JSPB instance for transitional soy proto support:
50821
+ * http://goto/soy-param-migration
50822
+ * @return {!Object}
50823
+ */
50824
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.toObject = function(opt_includeInstance) {
50825
+ return proto.gateway.web.v1.ListIssueCostsResponse.toObject(opt_includeInstance, this);
50826
+ };
50827
+
50828
+
50829
+ /**
50830
+ * Static version of the {@see toObject} method.
50831
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
50832
+ * the JSPB instance for transitional soy proto support:
50833
+ * http://goto/soy-param-migration
50834
+ * @param {!proto.gateway.web.v1.ListIssueCostsResponse} msg The msg instance to transform.
50835
+ * @return {!Object}
50836
+ * @suppress {unusedLocalVariables} f is only used for nested messages
50837
+ */
50838
+ proto.gateway.web.v1.ListIssueCostsResponse.toObject = function(includeInstance, msg) {
50839
+ var f, obj = {
50840
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
50841
+ syncState: jspb.Message.getFieldWithDefault(msg, 2, 0),
50842
+ lastSyncedAt: (f = msg.getLastSyncedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
50843
+ lastSyncError: jspb.Message.getFieldWithDefault(msg, 4, 0),
50844
+ groupsList: jspb.Message.toObjectList(msg.getGroupsList(),
50845
+ proto.gateway.web.v1.IssueCostGroup.toObject, includeInstance),
50846
+ pagination: (f = msg.getPagination()) && proto.gateway.web.v1.IssueCostPagination.toObject(includeInstance, f),
50847
+ totals: (f = msg.getTotals()) && proto.gateway.web.v1.IssueCostTotals.toObject(includeInstance, f)
50848
+ };
50849
+
50850
+ if (includeInstance) {
50851
+ obj.$jspbMessageInstance = msg;
50852
+ }
50853
+ return obj;
50854
+ };
50855
+ }
50856
+
50857
+
50858
+ /**
50859
+ * Deserializes binary data (in protobuf wire format).
50860
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
50861
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse}
50862
+ */
50863
+ proto.gateway.web.v1.ListIssueCostsResponse.deserializeBinary = function(bytes) {
50864
+ var reader = new jspb.BinaryReader(bytes);
50865
+ var msg = new proto.gateway.web.v1.ListIssueCostsResponse;
50866
+ return proto.gateway.web.v1.ListIssueCostsResponse.deserializeBinaryFromReader(msg, reader);
50867
+ };
50868
+
50869
+
50870
+ /**
50871
+ * Deserializes binary data (in protobuf wire format) from the
50872
+ * given reader into the given message object.
50873
+ * @param {!proto.gateway.web.v1.ListIssueCostsResponse} msg The message object to deserialize into.
50874
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
50875
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse}
50876
+ */
50877
+ proto.gateway.web.v1.ListIssueCostsResponse.deserializeBinaryFromReader = function(msg, reader) {
50878
+ while (reader.nextField()) {
50879
+ if (reader.isEndGroup()) {
50880
+ break;
50881
+ }
50882
+ var field = reader.getFieldNumber();
50883
+ switch (field) {
50884
+ case 1:
50885
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
50886
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
50887
+ msg.setStatus(value);
50888
+ break;
50889
+ case 2:
50890
+ var value = /** @type {!proto.gateway.web.v1.TrackerSyncState} */ (reader.readEnum());
50891
+ msg.setSyncState(value);
50892
+ break;
50893
+ case 3:
50894
+ var value = new google_protobuf_timestamp_pb.Timestamp;
50895
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
50896
+ msg.setLastSyncedAt(value);
50897
+ break;
50898
+ case 4:
50899
+ var value = /** @type {!proto.gateway.web.v1.TrackerSyncError} */ (reader.readEnum());
50900
+ msg.setLastSyncError(value);
50901
+ break;
50902
+ case 5:
50903
+ var value = new proto.gateway.web.v1.IssueCostGroup;
50904
+ reader.readMessage(value,proto.gateway.web.v1.IssueCostGroup.deserializeBinaryFromReader);
50905
+ msg.addGroups(value);
50906
+ break;
50907
+ case 6:
50908
+ var value = new proto.gateway.web.v1.IssueCostPagination;
50909
+ reader.readMessage(value,proto.gateway.web.v1.IssueCostPagination.deserializeBinaryFromReader);
50910
+ msg.setPagination(value);
50911
+ break;
50912
+ case 7:
50913
+ var value = new proto.gateway.web.v1.IssueCostTotals;
50914
+ reader.readMessage(value,proto.gateway.web.v1.IssueCostTotals.deserializeBinaryFromReader);
50915
+ msg.setTotals(value);
50916
+ break;
50917
+ default:
50918
+ reader.skipField();
50919
+ break;
50920
+ }
50921
+ }
50922
+ return msg;
50923
+ };
50924
+
50925
+
50926
+ /**
50927
+ * Serializes the message to binary data (in protobuf wire format).
50928
+ * @return {!Uint8Array}
50929
+ */
50930
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.serializeBinary = function() {
50931
+ var writer = new jspb.BinaryWriter();
50932
+ proto.gateway.web.v1.ListIssueCostsResponse.serializeBinaryToWriter(this, writer);
50933
+ return writer.getResultBuffer();
50934
+ };
50935
+
50936
+
50937
+ /**
50938
+ * Serializes the given message to binary data (in protobuf wire
50939
+ * format), writing to the given BinaryWriter.
50940
+ * @param {!proto.gateway.web.v1.ListIssueCostsResponse} message
50941
+ * @param {!jspb.BinaryWriter} writer
50942
+ * @suppress {unusedLocalVariables} f is only used for nested messages
50943
+ */
50944
+ proto.gateway.web.v1.ListIssueCostsResponse.serializeBinaryToWriter = function(message, writer) {
50945
+ var f = undefined;
50946
+ f = message.getStatus();
50947
+ if (f != null) {
50948
+ writer.writeMessage(
50949
+ 1,
50950
+ f,
50951
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
50952
+ );
50953
+ }
50954
+ f = message.getSyncState();
50955
+ if (f !== 0.0) {
50956
+ writer.writeEnum(
50957
+ 2,
50958
+ f
50959
+ );
50960
+ }
50961
+ f = message.getLastSyncedAt();
50962
+ if (f != null) {
50963
+ writer.writeMessage(
50964
+ 3,
50965
+ f,
50966
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
50967
+ );
50968
+ }
50969
+ f = message.getLastSyncError();
50970
+ if (f !== 0.0) {
50971
+ writer.writeEnum(
50972
+ 4,
50973
+ f
50974
+ );
50975
+ }
50976
+ f = message.getGroupsList();
50977
+ if (f.length > 0) {
50978
+ writer.writeRepeatedMessage(
50979
+ 5,
50980
+ f,
50981
+ proto.gateway.web.v1.IssueCostGroup.serializeBinaryToWriter
50982
+ );
50983
+ }
50984
+ f = message.getPagination();
50985
+ if (f != null) {
50986
+ writer.writeMessage(
50987
+ 6,
50988
+ f,
50989
+ proto.gateway.web.v1.IssueCostPagination.serializeBinaryToWriter
50990
+ );
50991
+ }
50992
+ f = message.getTotals();
50993
+ if (f != null) {
50994
+ writer.writeMessage(
50995
+ 7,
50996
+ f,
50997
+ proto.gateway.web.v1.IssueCostTotals.serializeBinaryToWriter
50998
+ );
50999
+ }
51000
+ };
51001
+
51002
+
51003
+ /**
51004
+ * optional gateway.common.v1.ResponseStatus status = 1;
51005
+ * @return {?proto.gateway.common.v1.ResponseStatus}
51006
+ */
51007
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.getStatus = function() {
51008
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
51009
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
51010
+ };
51011
+
51012
+
51013
+ /**
51014
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
51015
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse} returns this
51016
+ */
51017
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.setStatus = function(value) {
51018
+ return jspb.Message.setWrapperField(this, 1, value);
51019
+ };
51020
+
51021
+
51022
+ /**
51023
+ * Clears the message field making it undefined.
51024
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse} returns this
51025
+ */
51026
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.clearStatus = function() {
51027
+ return this.setStatus(undefined);
51028
+ };
51029
+
51030
+
51031
+ /**
51032
+ * Returns whether this field is set.
51033
+ * @return {boolean}
51034
+ */
51035
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.hasStatus = function() {
51036
+ return jspb.Message.getField(this, 1) != null;
51037
+ };
51038
+
51039
+
51040
+ /**
51041
+ * optional TrackerSyncState sync_state = 2;
51042
+ * @return {!proto.gateway.web.v1.TrackerSyncState}
51043
+ */
51044
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.getSyncState = function() {
51045
+ return /** @type {!proto.gateway.web.v1.TrackerSyncState} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
51046
+ };
51047
+
51048
+
51049
+ /**
51050
+ * @param {!proto.gateway.web.v1.TrackerSyncState} value
51051
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse} returns this
51052
+ */
51053
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.setSyncState = function(value) {
51054
+ return jspb.Message.setProto3EnumField(this, 2, value);
51055
+ };
51056
+
51057
+
51058
+ /**
51059
+ * optional google.protobuf.Timestamp last_synced_at = 3;
51060
+ * @return {?proto.google.protobuf.Timestamp}
51061
+ */
51062
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.getLastSyncedAt = function() {
51063
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
51064
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
51065
+ };
51066
+
51067
+
51068
+ /**
51069
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
51070
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse} returns this
51071
+ */
51072
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.setLastSyncedAt = function(value) {
51073
+ return jspb.Message.setWrapperField(this, 3, value);
51074
+ };
51075
+
51076
+
51077
+ /**
51078
+ * Clears the message field making it undefined.
51079
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse} returns this
51080
+ */
51081
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.clearLastSyncedAt = function() {
51082
+ return this.setLastSyncedAt(undefined);
51083
+ };
51084
+
51085
+
51086
+ /**
51087
+ * Returns whether this field is set.
51088
+ * @return {boolean}
51089
+ */
51090
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.hasLastSyncedAt = function() {
51091
+ return jspb.Message.getField(this, 3) != null;
51092
+ };
51093
+
51094
+
51095
+ /**
51096
+ * optional TrackerSyncError last_sync_error = 4;
51097
+ * @return {!proto.gateway.web.v1.TrackerSyncError}
51098
+ */
51099
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.getLastSyncError = function() {
51100
+ return /** @type {!proto.gateway.web.v1.TrackerSyncError} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
51101
+ };
51102
+
51103
+
51104
+ /**
51105
+ * @param {!proto.gateway.web.v1.TrackerSyncError} value
51106
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse} returns this
51107
+ */
51108
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.setLastSyncError = function(value) {
51109
+ return jspb.Message.setProto3EnumField(this, 4, value);
51110
+ };
51111
+
51112
+
51113
+ /**
51114
+ * repeated IssueCostGroup groups = 5;
51115
+ * @return {!Array<!proto.gateway.web.v1.IssueCostGroup>}
51116
+ */
51117
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.getGroupsList = function() {
51118
+ return /** @type{!Array<!proto.gateway.web.v1.IssueCostGroup>} */ (
51119
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.IssueCostGroup, 5));
51120
+ };
51121
+
51122
+
51123
+ /**
51124
+ * @param {!Array<!proto.gateway.web.v1.IssueCostGroup>} value
51125
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse} returns this
51126
+ */
51127
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.setGroupsList = function(value) {
51128
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
51129
+ };
51130
+
51131
+
51132
+ /**
51133
+ * @param {!proto.gateway.web.v1.IssueCostGroup=} opt_value
51134
+ * @param {number=} opt_index
51135
+ * @return {!proto.gateway.web.v1.IssueCostGroup}
51136
+ */
51137
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.addGroups = function(opt_value, opt_index) {
51138
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.gateway.web.v1.IssueCostGroup, opt_index);
51139
+ };
51140
+
51141
+
51142
+ /**
51143
+ * Clears the list making it empty but non-null.
51144
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse} returns this
51145
+ */
51146
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.clearGroupsList = function() {
51147
+ return this.setGroupsList([]);
51148
+ };
51149
+
51150
+
51151
+ /**
51152
+ * optional IssueCostPagination pagination = 6;
51153
+ * @return {?proto.gateway.web.v1.IssueCostPagination}
51154
+ */
51155
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.getPagination = function() {
51156
+ return /** @type{?proto.gateway.web.v1.IssueCostPagination} */ (
51157
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.IssueCostPagination, 6));
51158
+ };
51159
+
51160
+
51161
+ /**
51162
+ * @param {?proto.gateway.web.v1.IssueCostPagination|undefined} value
51163
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse} returns this
51164
+ */
51165
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.setPagination = function(value) {
51166
+ return jspb.Message.setWrapperField(this, 6, value);
51167
+ };
51168
+
51169
+
51170
+ /**
51171
+ * Clears the message field making it undefined.
51172
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse} returns this
51173
+ */
51174
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.clearPagination = function() {
51175
+ return this.setPagination(undefined);
51176
+ };
51177
+
51178
+
51179
+ /**
51180
+ * Returns whether this field is set.
51181
+ * @return {boolean}
51182
+ */
51183
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.hasPagination = function() {
51184
+ return jspb.Message.getField(this, 6) != null;
51185
+ };
51186
+
51187
+
51188
+ /**
51189
+ * optional IssueCostTotals totals = 7;
51190
+ * @return {?proto.gateway.web.v1.IssueCostTotals}
51191
+ */
51192
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.getTotals = function() {
51193
+ return /** @type{?proto.gateway.web.v1.IssueCostTotals} */ (
51194
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.IssueCostTotals, 7));
51195
+ };
51196
+
51197
+
51198
+ /**
51199
+ * @param {?proto.gateway.web.v1.IssueCostTotals|undefined} value
51200
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse} returns this
51201
+ */
51202
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.setTotals = function(value) {
51203
+ return jspb.Message.setWrapperField(this, 7, value);
51204
+ };
51205
+
51206
+
51207
+ /**
51208
+ * Clears the message field making it undefined.
51209
+ * @return {!proto.gateway.web.v1.ListIssueCostsResponse} returns this
51210
+ */
51211
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.clearTotals = function() {
51212
+ return this.setTotals(undefined);
51213
+ };
51214
+
51215
+
51216
+ /**
51217
+ * Returns whether this field is set.
51218
+ * @return {boolean}
51219
+ */
51220
+ proto.gateway.web.v1.ListIssueCostsResponse.prototype.hasTotals = function() {
51221
+ return jspb.Message.getField(this, 7) != null;
51222
+ };
51223
+
51224
+
51225
+
51226
+
51227
+
51228
+ if (jspb.Message.GENERATE_TO_OBJECT) {
51229
+ /**
51230
+ * Creates an object representation of this proto.
51231
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
51232
+ * Optional fields that are not set will be set to undefined.
51233
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
51234
+ * For the list of reserved names please see:
51235
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
51236
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
51237
+ * JSPB instance for transitional soy proto support:
51238
+ * http://goto/soy-param-migration
51239
+ * @return {!Object}
51240
+ */
51241
+ proto.gateway.web.v1.IssueCostGroup.prototype.toObject = function(opt_includeInstance) {
51242
+ return proto.gateway.web.v1.IssueCostGroup.toObject(opt_includeInstance, this);
51243
+ };
51244
+
51245
+
51246
+ /**
51247
+ * Static version of the {@see toObject} method.
51248
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
51249
+ * the JSPB instance for transitional soy proto support:
51250
+ * http://goto/soy-param-migration
51251
+ * @param {!proto.gateway.web.v1.IssueCostGroup} msg The msg instance to transform.
51252
+ * @return {!Object}
51253
+ * @suppress {unusedLocalVariables} f is only used for nested messages
51254
+ */
51255
+ proto.gateway.web.v1.IssueCostGroup.toObject = function(includeInstance, msg) {
51256
+ var f, obj = {
51257
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
51258
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
51259
+ costUsdNanos: jspb.Message.getFieldWithDefault(msg, 3, "0"),
51260
+ sessionCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
51261
+ pullRequestCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
51262
+ issue: (f = msg.getIssue()) && proto.gateway.web.v1.TrackerIssue.toObject(includeInstance, f)
51263
+ };
51264
+
51265
+ if (includeInstance) {
51266
+ obj.$jspbMessageInstance = msg;
51267
+ }
51268
+ return obj;
51269
+ };
51270
+ }
51271
+
51272
+
51273
+ /**
51274
+ * Deserializes binary data (in protobuf wire format).
51275
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
51276
+ * @return {!proto.gateway.web.v1.IssueCostGroup}
51277
+ */
51278
+ proto.gateway.web.v1.IssueCostGroup.deserializeBinary = function(bytes) {
51279
+ var reader = new jspb.BinaryReader(bytes);
51280
+ var msg = new proto.gateway.web.v1.IssueCostGroup;
51281
+ return proto.gateway.web.v1.IssueCostGroup.deserializeBinaryFromReader(msg, reader);
51282
+ };
51283
+
51284
+
51285
+ /**
51286
+ * Deserializes binary data (in protobuf wire format) from the
51287
+ * given reader into the given message object.
51288
+ * @param {!proto.gateway.web.v1.IssueCostGroup} msg The message object to deserialize into.
51289
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
51290
+ * @return {!proto.gateway.web.v1.IssueCostGroup}
51291
+ */
51292
+ proto.gateway.web.v1.IssueCostGroup.deserializeBinaryFromReader = function(msg, reader) {
51293
+ while (reader.nextField()) {
51294
+ if (reader.isEndGroup()) {
51295
+ break;
51296
+ }
51297
+ var field = reader.getFieldNumber();
51298
+ switch (field) {
51299
+ case 1:
51300
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
51301
+ msg.setId(value);
51302
+ break;
51303
+ case 2:
51304
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
51305
+ msg.setName(value);
51306
+ break;
51307
+ case 3:
51308
+ var value = /** @type {string} */ (reader.readInt64String());
51309
+ msg.setCostUsdNanos(value);
51310
+ break;
51311
+ case 4:
51312
+ var value = /** @type {number} */ (reader.readInt64());
51313
+ msg.setSessionCount(value);
51314
+ break;
51315
+ case 5:
51316
+ var value = /** @type {number} */ (reader.readInt64());
51317
+ msg.setPullRequestCount(value);
51318
+ break;
51319
+ case 6:
51320
+ var value = new proto.gateway.web.v1.TrackerIssue;
51321
+ reader.readMessage(value,proto.gateway.web.v1.TrackerIssue.deserializeBinaryFromReader);
51322
+ msg.setIssue(value);
51323
+ break;
51324
+ default:
51325
+ reader.skipField();
51326
+ break;
51327
+ }
51328
+ }
51329
+ return msg;
51330
+ };
51331
+
51332
+
51333
+ /**
51334
+ * Serializes the message to binary data (in protobuf wire format).
51335
+ * @return {!Uint8Array}
51336
+ */
51337
+ proto.gateway.web.v1.IssueCostGroup.prototype.serializeBinary = function() {
51338
+ var writer = new jspb.BinaryWriter();
51339
+ proto.gateway.web.v1.IssueCostGroup.serializeBinaryToWriter(this, writer);
51340
+ return writer.getResultBuffer();
51341
+ };
51342
+
51343
+
51344
+ /**
51345
+ * Serializes the given message to binary data (in protobuf wire
51346
+ * format), writing to the given BinaryWriter.
51347
+ * @param {!proto.gateway.web.v1.IssueCostGroup} message
51348
+ * @param {!jspb.BinaryWriter} writer
51349
+ * @suppress {unusedLocalVariables} f is only used for nested messages
51350
+ */
51351
+ proto.gateway.web.v1.IssueCostGroup.serializeBinaryToWriter = function(message, writer) {
51352
+ var f = undefined;
51353
+ f = message.getId();
51354
+ if (f.length > 0) {
51355
+ writer.writeString(
51356
+ 1,
51357
+ f
51358
+ );
51359
+ }
51360
+ f = message.getName();
51361
+ if (f.length > 0) {
51362
+ writer.writeString(
51363
+ 2,
51364
+ f
51365
+ );
51366
+ }
51367
+ f = message.getCostUsdNanos();
51368
+ if (parseInt(f, 10) !== 0) {
51369
+ writer.writeInt64String(
51370
+ 3,
51371
+ f
51372
+ );
51373
+ }
51374
+ f = message.getSessionCount();
51375
+ if (f !== 0) {
51376
+ writer.writeInt64(
51377
+ 4,
51378
+ f
51379
+ );
51380
+ }
51381
+ f = message.getPullRequestCount();
51382
+ if (f !== 0) {
51383
+ writer.writeInt64(
51384
+ 5,
51385
+ f
51386
+ );
51387
+ }
51388
+ f = message.getIssue();
51389
+ if (f != null) {
51390
+ writer.writeMessage(
51391
+ 6,
51392
+ f,
51393
+ proto.gateway.web.v1.TrackerIssue.serializeBinaryToWriter
51394
+ );
51395
+ }
51396
+ };
51397
+
51398
+
51399
+ /**
51400
+ * optional string id = 1;
51401
+ * @return {string}
51402
+ */
51403
+ proto.gateway.web.v1.IssueCostGroup.prototype.getId = function() {
51404
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
51405
+ };
51406
+
51407
+
51408
+ /**
51409
+ * @param {string} value
51410
+ * @return {!proto.gateway.web.v1.IssueCostGroup} returns this
51411
+ */
51412
+ proto.gateway.web.v1.IssueCostGroup.prototype.setId = function(value) {
51413
+ return jspb.Message.setProto3StringField(this, 1, value);
51414
+ };
51415
+
51416
+
51417
+ /**
51418
+ * optional string name = 2;
51419
+ * @return {string}
51420
+ */
51421
+ proto.gateway.web.v1.IssueCostGroup.prototype.getName = function() {
51422
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
51423
+ };
51424
+
51425
+
51426
+ /**
51427
+ * @param {string} value
51428
+ * @return {!proto.gateway.web.v1.IssueCostGroup} returns this
51429
+ */
51430
+ proto.gateway.web.v1.IssueCostGroup.prototype.setName = function(value) {
51431
+ return jspb.Message.setProto3StringField(this, 2, value);
51432
+ };
51433
+
51434
+
51435
+ /**
51436
+ * optional int64 cost_usd_nanos = 3;
51437
+ * @return {string}
51438
+ */
51439
+ proto.gateway.web.v1.IssueCostGroup.prototype.getCostUsdNanos = function() {
51440
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
51441
+ };
51442
+
51443
+
51444
+ /**
51445
+ * @param {string} value
51446
+ * @return {!proto.gateway.web.v1.IssueCostGroup} returns this
51447
+ */
51448
+ proto.gateway.web.v1.IssueCostGroup.prototype.setCostUsdNanos = function(value) {
51449
+ return jspb.Message.setProto3StringIntField(this, 3, value);
51450
+ };
51451
+
51452
+
51453
+ /**
51454
+ * optional int64 session_count = 4;
51455
+ * @return {number}
51456
+ */
51457
+ proto.gateway.web.v1.IssueCostGroup.prototype.getSessionCount = function() {
51458
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
51459
+ };
51460
+
51461
+
51462
+ /**
51463
+ * @param {number} value
51464
+ * @return {!proto.gateway.web.v1.IssueCostGroup} returns this
51465
+ */
51466
+ proto.gateway.web.v1.IssueCostGroup.prototype.setSessionCount = function(value) {
51467
+ return jspb.Message.setProto3IntField(this, 4, value);
51468
+ };
51469
+
51470
+
51471
+ /**
51472
+ * optional int64 pull_request_count = 5;
51473
+ * @return {number}
51474
+ */
51475
+ proto.gateway.web.v1.IssueCostGroup.prototype.getPullRequestCount = function() {
51476
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
51477
+ };
51478
+
51479
+
51480
+ /**
51481
+ * @param {number} value
51482
+ * @return {!proto.gateway.web.v1.IssueCostGroup} returns this
51483
+ */
51484
+ proto.gateway.web.v1.IssueCostGroup.prototype.setPullRequestCount = function(value) {
51485
+ return jspb.Message.setProto3IntField(this, 5, value);
51486
+ };
51487
+
51488
+
51489
+ /**
51490
+ * optional TrackerIssue issue = 6;
51491
+ * @return {?proto.gateway.web.v1.TrackerIssue}
51492
+ */
51493
+ proto.gateway.web.v1.IssueCostGroup.prototype.getIssue = function() {
51494
+ return /** @type{?proto.gateway.web.v1.TrackerIssue} */ (
51495
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.TrackerIssue, 6));
51496
+ };
51497
+
51498
+
51499
+ /**
51500
+ * @param {?proto.gateway.web.v1.TrackerIssue|undefined} value
51501
+ * @return {!proto.gateway.web.v1.IssueCostGroup} returns this
51502
+ */
51503
+ proto.gateway.web.v1.IssueCostGroup.prototype.setIssue = function(value) {
51504
+ return jspb.Message.setWrapperField(this, 6, value);
51505
+ };
51506
+
51507
+
51508
+ /**
51509
+ * Clears the message field making it undefined.
51510
+ * @return {!proto.gateway.web.v1.IssueCostGroup} returns this
51511
+ */
51512
+ proto.gateway.web.v1.IssueCostGroup.prototype.clearIssue = function() {
51513
+ return this.setIssue(undefined);
51514
+ };
51515
+
51516
+
51517
+ /**
51518
+ * Returns whether this field is set.
51519
+ * @return {boolean}
51520
+ */
51521
+ proto.gateway.web.v1.IssueCostGroup.prototype.hasIssue = function() {
51522
+ return jspb.Message.getField(this, 6) != null;
51523
+ };
51524
+
51525
+
51526
+
51527
+
51528
+
51529
+ if (jspb.Message.GENERATE_TO_OBJECT) {
51530
+ /**
51531
+ * Creates an object representation of this proto.
51532
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
51533
+ * Optional fields that are not set will be set to undefined.
51534
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
51535
+ * For the list of reserved names please see:
51536
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
51537
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
51538
+ * JSPB instance for transitional soy proto support:
51539
+ * http://goto/soy-param-migration
51540
+ * @return {!Object}
51541
+ */
51542
+ proto.gateway.web.v1.TrackerIssue.prototype.toObject = function(opt_includeInstance) {
51543
+ return proto.gateway.web.v1.TrackerIssue.toObject(opt_includeInstance, this);
51544
+ };
51545
+
51546
+
51547
+ /**
51548
+ * Static version of the {@see toObject} method.
51549
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
51550
+ * the JSPB instance for transitional soy proto support:
51551
+ * http://goto/soy-param-migration
51552
+ * @param {!proto.gateway.web.v1.TrackerIssue} msg The msg instance to transform.
51553
+ * @return {!Object}
51554
+ * @suppress {unusedLocalVariables} f is only used for nested messages
51555
+ */
51556
+ proto.gateway.web.v1.TrackerIssue.toObject = function(includeInstance, msg) {
51557
+ var f, obj = {
51558
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
51559
+ state: jspb.Message.getFieldWithDefault(msg, 2, ""),
51560
+ url: jspb.Message.getFieldWithDefault(msg, 3, ""),
51561
+ parentId: jspb.Message.getFieldWithDefault(msg, 4, ""),
51562
+ parentName: jspb.Message.getFieldWithDefault(msg, 5, ""),
51563
+ iterationId: jspb.Message.getFieldWithDefault(msg, 6, ""),
51564
+ iterationName: jspb.Message.getFieldWithDefault(msg, 7, ""),
51565
+ archivedAt: (f = msg.getArchivedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
51566
+ };
51567
+
51568
+ if (includeInstance) {
51569
+ obj.$jspbMessageInstance = msg;
51570
+ }
51571
+ return obj;
51572
+ };
51573
+ }
51574
+
51575
+
51576
+ /**
51577
+ * Deserializes binary data (in protobuf wire format).
51578
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
51579
+ * @return {!proto.gateway.web.v1.TrackerIssue}
51580
+ */
51581
+ proto.gateway.web.v1.TrackerIssue.deserializeBinary = function(bytes) {
51582
+ var reader = new jspb.BinaryReader(bytes);
51583
+ var msg = new proto.gateway.web.v1.TrackerIssue;
51584
+ return proto.gateway.web.v1.TrackerIssue.deserializeBinaryFromReader(msg, reader);
51585
+ };
51586
+
51587
+
51588
+ /**
51589
+ * Deserializes binary data (in protobuf wire format) from the
51590
+ * given reader into the given message object.
51591
+ * @param {!proto.gateway.web.v1.TrackerIssue} msg The message object to deserialize into.
51592
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
51593
+ * @return {!proto.gateway.web.v1.TrackerIssue}
51594
+ */
51595
+ proto.gateway.web.v1.TrackerIssue.deserializeBinaryFromReader = function(msg, reader) {
51596
+ while (reader.nextField()) {
51597
+ if (reader.isEndGroup()) {
51598
+ break;
51599
+ }
51600
+ var field = reader.getFieldNumber();
51601
+ switch (field) {
51602
+ case 1:
51603
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
51604
+ msg.setKey(value);
51605
+ break;
51606
+ case 2:
51607
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
51608
+ msg.setState(value);
51609
+ break;
51610
+ case 3:
51611
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
51612
+ msg.setUrl(value);
51613
+ break;
51614
+ case 4:
51615
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
51616
+ msg.setParentId(value);
51617
+ break;
51618
+ case 5:
51619
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
51620
+ msg.setParentName(value);
51621
+ break;
51622
+ case 6:
51623
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
51624
+ msg.setIterationId(value);
51625
+ break;
51626
+ case 7:
51627
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
51628
+ msg.setIterationName(value);
51629
+ break;
51630
+ case 8:
51631
+ var value = new google_protobuf_timestamp_pb.Timestamp;
51632
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
51633
+ msg.setArchivedAt(value);
51634
+ break;
51635
+ default:
51636
+ reader.skipField();
51637
+ break;
51638
+ }
51639
+ }
51640
+ return msg;
51641
+ };
51642
+
51643
+
51644
+ /**
51645
+ * Serializes the message to binary data (in protobuf wire format).
51646
+ * @return {!Uint8Array}
51647
+ */
51648
+ proto.gateway.web.v1.TrackerIssue.prototype.serializeBinary = function() {
51649
+ var writer = new jspb.BinaryWriter();
51650
+ proto.gateway.web.v1.TrackerIssue.serializeBinaryToWriter(this, writer);
51651
+ return writer.getResultBuffer();
51652
+ };
51653
+
51654
+
51655
+ /**
51656
+ * Serializes the given message to binary data (in protobuf wire
51657
+ * format), writing to the given BinaryWriter.
51658
+ * @param {!proto.gateway.web.v1.TrackerIssue} message
51659
+ * @param {!jspb.BinaryWriter} writer
51660
+ * @suppress {unusedLocalVariables} f is only used for nested messages
51661
+ */
51662
+ proto.gateway.web.v1.TrackerIssue.serializeBinaryToWriter = function(message, writer) {
51663
+ var f = undefined;
51664
+ f = message.getKey();
51665
+ if (f.length > 0) {
51666
+ writer.writeString(
51667
+ 1,
51668
+ f
51669
+ );
51670
+ }
51671
+ f = message.getState();
51672
+ if (f.length > 0) {
51673
+ writer.writeString(
51674
+ 2,
51675
+ f
51676
+ );
51677
+ }
51678
+ f = message.getUrl();
51679
+ if (f.length > 0) {
51680
+ writer.writeString(
51681
+ 3,
51682
+ f
51683
+ );
51684
+ }
51685
+ f = message.getParentId();
51686
+ if (f.length > 0) {
51687
+ writer.writeString(
51688
+ 4,
51689
+ f
51690
+ );
51691
+ }
51692
+ f = message.getParentName();
51693
+ if (f.length > 0) {
51694
+ writer.writeString(
51695
+ 5,
51696
+ f
51697
+ );
51698
+ }
51699
+ f = message.getIterationId();
51700
+ if (f.length > 0) {
51701
+ writer.writeString(
51702
+ 6,
51703
+ f
51704
+ );
51705
+ }
51706
+ f = message.getIterationName();
51707
+ if (f.length > 0) {
51708
+ writer.writeString(
51709
+ 7,
51710
+ f
51711
+ );
51712
+ }
51713
+ f = message.getArchivedAt();
51714
+ if (f != null) {
51715
+ writer.writeMessage(
51716
+ 8,
51717
+ f,
51718
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
51719
+ );
51720
+ }
51721
+ };
51722
+
51723
+
51724
+ /**
51725
+ * optional string key = 1;
51726
+ * @return {string}
51727
+ */
51728
+ proto.gateway.web.v1.TrackerIssue.prototype.getKey = function() {
51729
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
51730
+ };
51731
+
51732
+
51733
+ /**
51734
+ * @param {string} value
51735
+ * @return {!proto.gateway.web.v1.TrackerIssue} returns this
51736
+ */
51737
+ proto.gateway.web.v1.TrackerIssue.prototype.setKey = function(value) {
51738
+ return jspb.Message.setProto3StringField(this, 1, value);
51739
+ };
51740
+
51741
+
51742
+ /**
51743
+ * optional string state = 2;
51744
+ * @return {string}
51745
+ */
51746
+ proto.gateway.web.v1.TrackerIssue.prototype.getState = function() {
51747
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
51748
+ };
51749
+
51750
+
51751
+ /**
51752
+ * @param {string} value
51753
+ * @return {!proto.gateway.web.v1.TrackerIssue} returns this
51754
+ */
51755
+ proto.gateway.web.v1.TrackerIssue.prototype.setState = function(value) {
51756
+ return jspb.Message.setProto3StringField(this, 2, value);
51757
+ };
51758
+
51759
+
51760
+ /**
51761
+ * optional string url = 3;
51762
+ * @return {string}
51763
+ */
51764
+ proto.gateway.web.v1.TrackerIssue.prototype.getUrl = function() {
51765
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
51766
+ };
51767
+
51768
+
51769
+ /**
51770
+ * @param {string} value
51771
+ * @return {!proto.gateway.web.v1.TrackerIssue} returns this
51772
+ */
51773
+ proto.gateway.web.v1.TrackerIssue.prototype.setUrl = function(value) {
51774
+ return jspb.Message.setProto3StringField(this, 3, value);
51775
+ };
51776
+
51777
+
51778
+ /**
51779
+ * optional string parent_id = 4;
51780
+ * @return {string}
51781
+ */
51782
+ proto.gateway.web.v1.TrackerIssue.prototype.getParentId = function() {
51783
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
51784
+ };
51785
+
51786
+
51787
+ /**
51788
+ * @param {string} value
51789
+ * @return {!proto.gateway.web.v1.TrackerIssue} returns this
51790
+ */
51791
+ proto.gateway.web.v1.TrackerIssue.prototype.setParentId = function(value) {
51792
+ return jspb.Message.setProto3StringField(this, 4, value);
51793
+ };
51794
+
51795
+
51796
+ /**
51797
+ * optional string parent_name = 5;
51798
+ * @return {string}
51799
+ */
51800
+ proto.gateway.web.v1.TrackerIssue.prototype.getParentName = function() {
51801
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
51802
+ };
51803
+
51804
+
51805
+ /**
51806
+ * @param {string} value
51807
+ * @return {!proto.gateway.web.v1.TrackerIssue} returns this
51808
+ */
51809
+ proto.gateway.web.v1.TrackerIssue.prototype.setParentName = function(value) {
51810
+ return jspb.Message.setProto3StringField(this, 5, value);
51811
+ };
51812
+
51813
+
51814
+ /**
51815
+ * optional string iteration_id = 6;
51816
+ * @return {string}
51817
+ */
51818
+ proto.gateway.web.v1.TrackerIssue.prototype.getIterationId = function() {
51819
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
51820
+ };
51821
+
51822
+
51823
+ /**
51824
+ * @param {string} value
51825
+ * @return {!proto.gateway.web.v1.TrackerIssue} returns this
51826
+ */
51827
+ proto.gateway.web.v1.TrackerIssue.prototype.setIterationId = function(value) {
51828
+ return jspb.Message.setProto3StringField(this, 6, value);
51829
+ };
51830
+
51831
+
51832
+ /**
51833
+ * optional string iteration_name = 7;
51834
+ * @return {string}
51835
+ */
51836
+ proto.gateway.web.v1.TrackerIssue.prototype.getIterationName = function() {
51837
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
51838
+ };
51839
+
51840
+
51841
+ /**
51842
+ * @param {string} value
51843
+ * @return {!proto.gateway.web.v1.TrackerIssue} returns this
51844
+ */
51845
+ proto.gateway.web.v1.TrackerIssue.prototype.setIterationName = function(value) {
51846
+ return jspb.Message.setProto3StringField(this, 7, value);
51847
+ };
51848
+
51849
+
51850
+ /**
51851
+ * optional google.protobuf.Timestamp archived_at = 8;
51852
+ * @return {?proto.google.protobuf.Timestamp}
51853
+ */
51854
+ proto.gateway.web.v1.TrackerIssue.prototype.getArchivedAt = function() {
51855
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
51856
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
51857
+ };
51858
+
51859
+
51860
+ /**
51861
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
51862
+ * @return {!proto.gateway.web.v1.TrackerIssue} returns this
51863
+ */
51864
+ proto.gateway.web.v1.TrackerIssue.prototype.setArchivedAt = function(value) {
51865
+ return jspb.Message.setWrapperField(this, 8, value);
51866
+ };
51867
+
51868
+
51869
+ /**
51870
+ * Clears the message field making it undefined.
51871
+ * @return {!proto.gateway.web.v1.TrackerIssue} returns this
51872
+ */
51873
+ proto.gateway.web.v1.TrackerIssue.prototype.clearArchivedAt = function() {
51874
+ return this.setArchivedAt(undefined);
51875
+ };
51876
+
51877
+
51878
+ /**
51879
+ * Returns whether this field is set.
51880
+ * @return {boolean}
51881
+ */
51882
+ proto.gateway.web.v1.TrackerIssue.prototype.hasArchivedAt = function() {
51883
+ return jspb.Message.getField(this, 8) != null;
51884
+ };
51885
+
51886
+
51887
+
51888
+
51889
+
51890
+ if (jspb.Message.GENERATE_TO_OBJECT) {
51891
+ /**
51892
+ * Creates an object representation of this proto.
51893
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
51894
+ * Optional fields that are not set will be set to undefined.
51895
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
51896
+ * For the list of reserved names please see:
51897
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
51898
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
51899
+ * JSPB instance for transitional soy proto support:
51900
+ * http://goto/soy-param-migration
51901
+ * @return {!Object}
51902
+ */
51903
+ proto.gateway.web.v1.IssueCostPagination.prototype.toObject = function(opt_includeInstance) {
51904
+ return proto.gateway.web.v1.IssueCostPagination.toObject(opt_includeInstance, this);
51905
+ };
51906
+
51907
+
51908
+ /**
51909
+ * Static version of the {@see toObject} method.
51910
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
51911
+ * the JSPB instance for transitional soy proto support:
51912
+ * http://goto/soy-param-migration
51913
+ * @param {!proto.gateway.web.v1.IssueCostPagination} msg The msg instance to transform.
51914
+ * @return {!Object}
51915
+ * @suppress {unusedLocalVariables} f is only used for nested messages
51916
+ */
51917
+ proto.gateway.web.v1.IssueCostPagination.toObject = function(includeInstance, msg) {
51918
+ var f, obj = {
51919
+ page: jspb.Message.getFieldWithDefault(msg, 1, 0),
51920
+ perPage: jspb.Message.getFieldWithDefault(msg, 2, 0),
51921
+ totalCount: jspb.Message.getFieldWithDefault(msg, 3, 0),
51922
+ totalPages: jspb.Message.getFieldWithDefault(msg, 4, 0)
51923
+ };
51924
+
51925
+ if (includeInstance) {
51926
+ obj.$jspbMessageInstance = msg;
51927
+ }
51928
+ return obj;
51929
+ };
51930
+ }
51931
+
51932
+
51933
+ /**
51934
+ * Deserializes binary data (in protobuf wire format).
51935
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
51936
+ * @return {!proto.gateway.web.v1.IssueCostPagination}
51937
+ */
51938
+ proto.gateway.web.v1.IssueCostPagination.deserializeBinary = function(bytes) {
51939
+ var reader = new jspb.BinaryReader(bytes);
51940
+ var msg = new proto.gateway.web.v1.IssueCostPagination;
51941
+ return proto.gateway.web.v1.IssueCostPagination.deserializeBinaryFromReader(msg, reader);
51942
+ };
51943
+
51944
+
51945
+ /**
51946
+ * Deserializes binary data (in protobuf wire format) from the
51947
+ * given reader into the given message object.
51948
+ * @param {!proto.gateway.web.v1.IssueCostPagination} msg The message object to deserialize into.
51949
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
51950
+ * @return {!proto.gateway.web.v1.IssueCostPagination}
51951
+ */
51952
+ proto.gateway.web.v1.IssueCostPagination.deserializeBinaryFromReader = function(msg, reader) {
51953
+ while (reader.nextField()) {
51954
+ if (reader.isEndGroup()) {
51955
+ break;
51956
+ }
51957
+ var field = reader.getFieldNumber();
51958
+ switch (field) {
51959
+ case 1:
51960
+ var value = /** @type {number} */ (reader.readInt32());
51961
+ msg.setPage(value);
51962
+ break;
51963
+ case 2:
51964
+ var value = /** @type {number} */ (reader.readInt32());
51965
+ msg.setPerPage(value);
51966
+ break;
51967
+ case 3:
51968
+ var value = /** @type {number} */ (reader.readInt64());
51969
+ msg.setTotalCount(value);
51970
+ break;
51971
+ case 4:
51972
+ var value = /** @type {number} */ (reader.readInt32());
51973
+ msg.setTotalPages(value);
51974
+ break;
51975
+ default:
51976
+ reader.skipField();
51977
+ break;
51978
+ }
51979
+ }
51980
+ return msg;
51981
+ };
51982
+
51983
+
51984
+ /**
51985
+ * Serializes the message to binary data (in protobuf wire format).
51986
+ * @return {!Uint8Array}
51987
+ */
51988
+ proto.gateway.web.v1.IssueCostPagination.prototype.serializeBinary = function() {
51989
+ var writer = new jspb.BinaryWriter();
51990
+ proto.gateway.web.v1.IssueCostPagination.serializeBinaryToWriter(this, writer);
51991
+ return writer.getResultBuffer();
51992
+ };
51993
+
51994
+
51995
+ /**
51996
+ * Serializes the given message to binary data (in protobuf wire
51997
+ * format), writing to the given BinaryWriter.
51998
+ * @param {!proto.gateway.web.v1.IssueCostPagination} message
51999
+ * @param {!jspb.BinaryWriter} writer
52000
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52001
+ */
52002
+ proto.gateway.web.v1.IssueCostPagination.serializeBinaryToWriter = function(message, writer) {
52003
+ var f = undefined;
52004
+ f = message.getPage();
52005
+ if (f !== 0) {
52006
+ writer.writeInt32(
52007
+ 1,
52008
+ f
52009
+ );
52010
+ }
52011
+ f = message.getPerPage();
52012
+ if (f !== 0) {
52013
+ writer.writeInt32(
52014
+ 2,
52015
+ f
52016
+ );
52017
+ }
52018
+ f = message.getTotalCount();
52019
+ if (f !== 0) {
52020
+ writer.writeInt64(
52021
+ 3,
52022
+ f
52023
+ );
52024
+ }
52025
+ f = message.getTotalPages();
52026
+ if (f !== 0) {
52027
+ writer.writeInt32(
52028
+ 4,
52029
+ f
52030
+ );
52031
+ }
52032
+ };
52033
+
52034
+
52035
+ /**
52036
+ * optional int32 page = 1;
52037
+ * @return {number}
52038
+ */
52039
+ proto.gateway.web.v1.IssueCostPagination.prototype.getPage = function() {
52040
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
52041
+ };
52042
+
52043
+
52044
+ /**
52045
+ * @param {number} value
52046
+ * @return {!proto.gateway.web.v1.IssueCostPagination} returns this
52047
+ */
52048
+ proto.gateway.web.v1.IssueCostPagination.prototype.setPage = function(value) {
52049
+ return jspb.Message.setProto3IntField(this, 1, value);
52050
+ };
52051
+
52052
+
52053
+ /**
52054
+ * optional int32 per_page = 2;
52055
+ * @return {number}
52056
+ */
52057
+ proto.gateway.web.v1.IssueCostPagination.prototype.getPerPage = function() {
52058
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
52059
+ };
52060
+
52061
+
52062
+ /**
52063
+ * @param {number} value
52064
+ * @return {!proto.gateway.web.v1.IssueCostPagination} returns this
52065
+ */
52066
+ proto.gateway.web.v1.IssueCostPagination.prototype.setPerPage = function(value) {
52067
+ return jspb.Message.setProto3IntField(this, 2, value);
52068
+ };
52069
+
52070
+
52071
+ /**
52072
+ * optional int64 total_count = 3;
52073
+ * @return {number}
52074
+ */
52075
+ proto.gateway.web.v1.IssueCostPagination.prototype.getTotalCount = function() {
52076
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
52077
+ };
52078
+
52079
+
52080
+ /**
52081
+ * @param {number} value
52082
+ * @return {!proto.gateway.web.v1.IssueCostPagination} returns this
52083
+ */
52084
+ proto.gateway.web.v1.IssueCostPagination.prototype.setTotalCount = function(value) {
52085
+ return jspb.Message.setProto3IntField(this, 3, value);
52086
+ };
52087
+
52088
+
52089
+ /**
52090
+ * optional int32 total_pages = 4;
52091
+ * @return {number}
52092
+ */
52093
+ proto.gateway.web.v1.IssueCostPagination.prototype.getTotalPages = function() {
52094
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
52095
+ };
52096
+
52097
+
52098
+ /**
52099
+ * @param {number} value
52100
+ * @return {!proto.gateway.web.v1.IssueCostPagination} returns this
52101
+ */
52102
+ proto.gateway.web.v1.IssueCostPagination.prototype.setTotalPages = function(value) {
52103
+ return jspb.Message.setProto3IntField(this, 4, value);
52104
+ };
52105
+
52106
+
52107
+
52108
+
52109
+
52110
+ if (jspb.Message.GENERATE_TO_OBJECT) {
52111
+ /**
52112
+ * Creates an object representation of this proto.
52113
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
52114
+ * Optional fields that are not set will be set to undefined.
52115
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
52116
+ * For the list of reserved names please see:
52117
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
52118
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
52119
+ * JSPB instance for transitional soy proto support:
52120
+ * http://goto/soy-param-migration
52121
+ * @return {!Object}
52122
+ */
52123
+ proto.gateway.web.v1.IssueCostTotals.prototype.toObject = function(opt_includeInstance) {
52124
+ return proto.gateway.web.v1.IssueCostTotals.toObject(opt_includeInstance, this);
52125
+ };
52126
+
52127
+
52128
+ /**
52129
+ * Static version of the {@see toObject} method.
52130
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
52131
+ * the JSPB instance for transitional soy proto support:
52132
+ * http://goto/soy-param-migration
52133
+ * @param {!proto.gateway.web.v1.IssueCostTotals} msg The msg instance to transform.
52134
+ * @return {!Object}
52135
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52136
+ */
52137
+ proto.gateway.web.v1.IssueCostTotals.toObject = function(includeInstance, msg) {
52138
+ var f, obj = {
52139
+ recordedCostUsdNanos: jspb.Message.getFieldWithDefault(msg, 1, "0"),
52140
+ attributedCostUsdNanos: jspb.Message.getFieldWithDefault(msg, 2, "0"),
52141
+ noPullRequestCostUsdNanos: jspb.Message.getFieldWithDefault(msg, 3, "0"),
52142
+ unlinkedPullRequestCostUsdNanos: jspb.Message.getFieldWithDefault(msg, 4, "0"),
52143
+ filteredCostUsdNanos: jspb.Message.getFieldWithDefault(msg, 5, "0")
52144
+ };
52145
+
52146
+ if (includeInstance) {
52147
+ obj.$jspbMessageInstance = msg;
52148
+ }
52149
+ return obj;
52150
+ };
52151
+ }
52152
+
52153
+
52154
+ /**
52155
+ * Deserializes binary data (in protobuf wire format).
52156
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
52157
+ * @return {!proto.gateway.web.v1.IssueCostTotals}
52158
+ */
52159
+ proto.gateway.web.v1.IssueCostTotals.deserializeBinary = function(bytes) {
52160
+ var reader = new jspb.BinaryReader(bytes);
52161
+ var msg = new proto.gateway.web.v1.IssueCostTotals;
52162
+ return proto.gateway.web.v1.IssueCostTotals.deserializeBinaryFromReader(msg, reader);
52163
+ };
52164
+
52165
+
52166
+ /**
52167
+ * Deserializes binary data (in protobuf wire format) from the
52168
+ * given reader into the given message object.
52169
+ * @param {!proto.gateway.web.v1.IssueCostTotals} msg The message object to deserialize into.
52170
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
52171
+ * @return {!proto.gateway.web.v1.IssueCostTotals}
52172
+ */
52173
+ proto.gateway.web.v1.IssueCostTotals.deserializeBinaryFromReader = function(msg, reader) {
52174
+ while (reader.nextField()) {
52175
+ if (reader.isEndGroup()) {
52176
+ break;
52177
+ }
52178
+ var field = reader.getFieldNumber();
52179
+ switch (field) {
52180
+ case 1:
52181
+ var value = /** @type {string} */ (reader.readInt64String());
52182
+ msg.setRecordedCostUsdNanos(value);
52183
+ break;
52184
+ case 2:
52185
+ var value = /** @type {string} */ (reader.readInt64String());
52186
+ msg.setAttributedCostUsdNanos(value);
52187
+ break;
52188
+ case 3:
52189
+ var value = /** @type {string} */ (reader.readInt64String());
52190
+ msg.setNoPullRequestCostUsdNanos(value);
52191
+ break;
52192
+ case 4:
52193
+ var value = /** @type {string} */ (reader.readInt64String());
52194
+ msg.setUnlinkedPullRequestCostUsdNanos(value);
52195
+ break;
52196
+ case 5:
52197
+ var value = /** @type {string} */ (reader.readInt64String());
52198
+ msg.setFilteredCostUsdNanos(value);
52199
+ break;
52200
+ default:
52201
+ reader.skipField();
52202
+ break;
52203
+ }
52204
+ }
52205
+ return msg;
52206
+ };
52207
+
52208
+
52209
+ /**
52210
+ * Serializes the message to binary data (in protobuf wire format).
52211
+ * @return {!Uint8Array}
52212
+ */
52213
+ proto.gateway.web.v1.IssueCostTotals.prototype.serializeBinary = function() {
52214
+ var writer = new jspb.BinaryWriter();
52215
+ proto.gateway.web.v1.IssueCostTotals.serializeBinaryToWriter(this, writer);
52216
+ return writer.getResultBuffer();
52217
+ };
52218
+
52219
+
52220
+ /**
52221
+ * Serializes the given message to binary data (in protobuf wire
52222
+ * format), writing to the given BinaryWriter.
52223
+ * @param {!proto.gateway.web.v1.IssueCostTotals} message
52224
+ * @param {!jspb.BinaryWriter} writer
52225
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52226
+ */
52227
+ proto.gateway.web.v1.IssueCostTotals.serializeBinaryToWriter = function(message, writer) {
52228
+ var f = undefined;
52229
+ f = message.getRecordedCostUsdNanos();
52230
+ if (parseInt(f, 10) !== 0) {
52231
+ writer.writeInt64String(
52232
+ 1,
52233
+ f
52234
+ );
52235
+ }
52236
+ f = message.getAttributedCostUsdNanos();
52237
+ if (parseInt(f, 10) !== 0) {
52238
+ writer.writeInt64String(
52239
+ 2,
52240
+ f
52241
+ );
52242
+ }
52243
+ f = message.getNoPullRequestCostUsdNanos();
52244
+ if (parseInt(f, 10) !== 0) {
52245
+ writer.writeInt64String(
52246
+ 3,
52247
+ f
52248
+ );
52249
+ }
52250
+ f = message.getUnlinkedPullRequestCostUsdNanos();
52251
+ if (parseInt(f, 10) !== 0) {
52252
+ writer.writeInt64String(
52253
+ 4,
52254
+ f
52255
+ );
52256
+ }
52257
+ f = message.getFilteredCostUsdNanos();
52258
+ if (parseInt(f, 10) !== 0) {
52259
+ writer.writeInt64String(
52260
+ 5,
52261
+ f
52262
+ );
52263
+ }
52264
+ };
52265
+
52266
+
52267
+ /**
52268
+ * optional int64 recorded_cost_usd_nanos = 1;
52269
+ * @return {string}
52270
+ */
52271
+ proto.gateway.web.v1.IssueCostTotals.prototype.getRecordedCostUsdNanos = function() {
52272
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
52273
+ };
52274
+
52275
+
52276
+ /**
52277
+ * @param {string} value
52278
+ * @return {!proto.gateway.web.v1.IssueCostTotals} returns this
52279
+ */
52280
+ proto.gateway.web.v1.IssueCostTotals.prototype.setRecordedCostUsdNanos = function(value) {
52281
+ return jspb.Message.setProto3StringIntField(this, 1, value);
52282
+ };
52283
+
52284
+
52285
+ /**
52286
+ * optional int64 attributed_cost_usd_nanos = 2;
52287
+ * @return {string}
52288
+ */
52289
+ proto.gateway.web.v1.IssueCostTotals.prototype.getAttributedCostUsdNanos = function() {
52290
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
52291
+ };
52292
+
52293
+
52294
+ /**
52295
+ * @param {string} value
52296
+ * @return {!proto.gateway.web.v1.IssueCostTotals} returns this
52297
+ */
52298
+ proto.gateway.web.v1.IssueCostTotals.prototype.setAttributedCostUsdNanos = function(value) {
52299
+ return jspb.Message.setProto3StringIntField(this, 2, value);
52300
+ };
52301
+
52302
+
52303
+ /**
52304
+ * optional int64 no_pull_request_cost_usd_nanos = 3;
52305
+ * @return {string}
52306
+ */
52307
+ proto.gateway.web.v1.IssueCostTotals.prototype.getNoPullRequestCostUsdNanos = function() {
52308
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
52309
+ };
52310
+
52311
+
52312
+ /**
52313
+ * @param {string} value
52314
+ * @return {!proto.gateway.web.v1.IssueCostTotals} returns this
52315
+ */
52316
+ proto.gateway.web.v1.IssueCostTotals.prototype.setNoPullRequestCostUsdNanos = function(value) {
52317
+ return jspb.Message.setProto3StringIntField(this, 3, value);
52318
+ };
52319
+
52320
+
52321
+ /**
52322
+ * optional int64 unlinked_pull_request_cost_usd_nanos = 4;
52323
+ * @return {string}
52324
+ */
52325
+ proto.gateway.web.v1.IssueCostTotals.prototype.getUnlinkedPullRequestCostUsdNanos = function() {
52326
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "0"));
52327
+ };
52328
+
52329
+
52330
+ /**
52331
+ * @param {string} value
52332
+ * @return {!proto.gateway.web.v1.IssueCostTotals} returns this
52333
+ */
52334
+ proto.gateway.web.v1.IssueCostTotals.prototype.setUnlinkedPullRequestCostUsdNanos = function(value) {
52335
+ return jspb.Message.setProto3StringIntField(this, 4, value);
52336
+ };
52337
+
52338
+
52339
+ /**
52340
+ * optional int64 filtered_cost_usd_nanos = 5;
52341
+ * @return {string}
52342
+ */
52343
+ proto.gateway.web.v1.IssueCostTotals.prototype.getFilteredCostUsdNanos = function() {
52344
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "0"));
52345
+ };
52346
+
52347
+
52348
+ /**
52349
+ * @param {string} value
52350
+ * @return {!proto.gateway.web.v1.IssueCostTotals} returns this
52351
+ */
52352
+ proto.gateway.web.v1.IssueCostTotals.prototype.setFilteredCostUsdNanos = function(value) {
52353
+ return jspb.Message.setProto3StringIntField(this, 5, value);
52354
+ };
52355
+
52356
+
52357
+ /**
52358
+ * @enum {number}
52359
+ */
52360
+ proto.gateway.web.v1.SessionSort = {
52361
+ SESSION_SORT_UNSPECIFIED: 0,
52362
+ SESSION_SORT_COST: 1,
52363
+ SESSION_SORT_TOKENS: 2,
52364
+ SESSION_SORT_TURNS: 3,
52365
+ SESSION_SORT_TOOLS: 4,
52366
+ SESSION_SORT_RECENCY: 5,
52367
+ SESSION_SORT_NET_COST: 6
52368
+ };
52369
+
52370
+ /**
52371
+ * @enum {number}
52372
+ */
52373
+ proto.gateway.web.v1.AISessionEventType = {
52374
+ AI_SESSION_EVENT_TYPE_UNSPECIFIED: 0,
52375
+ AI_SESSION_EVENT_TYPE_SESSION: 1,
52376
+ AI_SESSION_EVENT_TYPE_MESSAGE: 2,
52377
+ AI_SESSION_EVENT_TYPE_MODEL: 3,
52378
+ AI_SESSION_EVENT_TYPE_TOOL: 4,
52379
+ AI_SESSION_EVENT_TYPE_AGENT: 5,
52380
+ AI_SESSION_EVENT_TYPE_COMMAND: 6,
52381
+ AI_SESSION_EVENT_TYPE_COMPACTION: 7,
52382
+ AI_SESSION_EVENT_TYPE_AUTH: 8,
52383
+ AI_SESSION_EVENT_TYPE_SKILL: 9,
52384
+ AI_SESSION_EVENT_TYPE_MCP: 10,
52385
+ AI_SESSION_EVENT_TYPE_MENTION: 11,
52386
+ AI_SESSION_EVENT_TYPE_PERMISSION: 12,
52387
+ AI_SESSION_EVENT_TYPE_FEEDBACK: 13,
52388
+ AI_SESSION_EVENT_TYPE_ERROR: 14,
52389
+ AI_SESSION_EVENT_TYPE_SUMMARY: 15
52390
+ };
52391
+
52392
+ /**
52393
+ * @enum {number}
52394
+ */
52395
+ proto.gateway.web.v1.AIPromptComplexity = {
52396
+ AI_PROMPT_COMPLEXITY_UNSPECIFIED: 0,
52397
+ AI_PROMPT_COMPLEXITY_SIMPLE: 1,
52398
+ AI_PROMPT_COMPLEXITY_MODERATE: 2,
52399
+ AI_PROMPT_COMPLEXITY_COMPLEX: 3
52400
+ };
52401
+
52402
+ /**
52403
+ * @enum {number}
52404
+ */
52405
+ proto.gateway.web.v1.AIPromptClarity = {
52406
+ AI_PROMPT_CLARITY_UNSPECIFIED: 0,
52407
+ AI_PROMPT_CLARITY_UNCLEAR: 1,
52408
+ AI_PROMPT_CLARITY_PARTIAL: 2,
52409
+ AI_PROMPT_CLARITY_CLEAR: 3
52410
+ };
52411
+
52412
+ /**
52413
+ * @enum {number}
52414
+ */
52415
+ proto.gateway.web.v1.AIPromptSteering = {
52416
+ AI_PROMPT_STEERING_UNSPECIFIED: 0,
52417
+ AI_PROMPT_STEERING_NEW_TASK: 1,
52418
+ AI_PROMPT_STEERING_FOLLOW_UP: 2,
52419
+ AI_PROMPT_STEERING_CORRECTION: 3,
52420
+ AI_PROMPT_STEERING_REDIRECT: 4,
52421
+ AI_PROMPT_STEERING_APPROVAL: 5
52422
+ };
52423
+
52424
+ /**
52425
+ * @enum {number}
52426
+ */
52427
+ proto.gateway.web.v1.AIPromptFrustration = {
52428
+ AI_PROMPT_FRUSTRATION_UNSPECIFIED: 0,
52429
+ AI_PROMPT_FRUSTRATION_NONE: 1,
52430
+ AI_PROMPT_FRUSTRATION_MILD: 2,
52431
+ AI_PROMPT_FRUSTRATION_STRONG: 3
52432
+ };
52433
+
52434
+ /**
52435
+ * @enum {number}
52436
+ */
52437
+ proto.gateway.web.v1.AIPromptSentiment = {
52438
+ AI_PROMPT_SENTIMENT_UNSPECIFIED: 0,
52439
+ AI_PROMPT_SENTIMENT_NEGATIVE: 1,
52440
+ AI_PROMPT_SENTIMENT_NEUTRAL: 2,
52441
+ AI_PROMPT_SENTIMENT_POSITIVE: 3
52442
+ };
52443
+
52444
+ /**
52445
+ * @enum {number}
52446
+ */
52447
+ proto.gateway.web.v1.AISessionWorkType = {
52448
+ AI_SESSION_WORK_TYPE_UNSPECIFIED: 0,
52449
+ AI_SESSION_WORK_TYPE_BUG_FIX: 1,
52450
+ AI_SESSION_WORK_TYPE_FEATURE: 2,
52451
+ AI_SESSION_WORK_TYPE_REFACTOR: 3,
52452
+ AI_SESSION_WORK_TYPE_TESTS: 4,
52453
+ AI_SESSION_WORK_TYPE_DOCS: 5,
52454
+ AI_SESSION_WORK_TYPE_OPS: 6,
52455
+ AI_SESSION_WORK_TYPE_REVIEW: 7,
52456
+ AI_SESSION_WORK_TYPE_EXPLORATION: 8
52457
+ };
52458
+
52459
+ /**
52460
+ * @enum {number}
52461
+ */
52462
+ proto.gateway.web.v1.AISessionComplexity = {
52463
+ AI_SESSION_COMPLEXITY_UNSPECIFIED: 0,
52464
+ AI_SESSION_COMPLEXITY_SMALL: 1,
52465
+ AI_SESSION_COMPLEXITY_MEDIUM: 2,
52466
+ AI_SESSION_COMPLEXITY_LARGE: 3
52467
+ };
52468
+
52469
+ /**
52470
+ * @enum {number}
52471
+ */
52472
+ proto.gateway.web.v1.AISessionOutcome = {
52473
+ AI_SESSION_OUTCOME_UNSPECIFIED: 0,
52474
+ AI_SESSION_OUTCOME_DELIVERED: 1,
52475
+ AI_SESSION_OUTCOME_PARTIAL: 2,
52476
+ AI_SESSION_OUTCOME_ABANDONED: 3,
52477
+ AI_SESSION_OUTCOME_UNCLEAR: 4
52478
+ };
52479
+
52480
+ /**
52481
+ * @enum {number}
52482
+ */
52483
+ proto.gateway.web.v1.AISessionSteeringLoad = {
52484
+ AI_SESSION_STEERING_LOAD_UNSPECIFIED: 0,
52485
+ AI_SESSION_STEERING_LOAD_NONE: 1,
52486
+ AI_SESSION_STEERING_LOAD_LIGHT: 2,
52487
+ AI_SESSION_STEERING_LOAD_HEAVY: 3
52488
+ };
52489
+
52490
+ /**
52491
+ * @enum {number}
52492
+ */
52493
+ proto.gateway.web.v1.AISessionAgentReliability = {
52494
+ AI_SESSION_AGENT_RELIABILITY_UNSPECIFIED: 0,
52495
+ AI_SESSION_AGENT_RELIABILITY_CLEAN: 1,
52496
+ AI_SESSION_AGENT_RELIABILITY_MINOR_ISSUES: 2,
52497
+ AI_SESSION_AGENT_RELIABILITY_CONSTRAINT_VIOLATION: 3,
52498
+ AI_SESSION_AGENT_RELIABILITY_MAJOR_FAILURE: 4
52499
+ };
52500
+
52501
+ /**
52502
+ * @enum {number}
52503
+ */
52504
+ proto.gateway.web.v1.AISessionVerification = {
52505
+ AI_SESSION_VERIFICATION_UNSPECIFIED: 0,
52506
+ AI_SESSION_VERIFICATION_VERIFIED: 1,
52507
+ AI_SESSION_VERIFICATION_CLAIMED_ONLY: 2,
52508
+ AI_SESSION_VERIFICATION_NOT_APPLICABLE: 3,
52509
+ AI_SESSION_VERIFICATION_UNOBSERVED: 4
52510
+ };
52511
+
52512
+ /**
52513
+ * @enum {number}
52514
+ */
52515
+ proto.gateway.web.v1.AISessionInsightCategory = {
52516
+ AI_SESSION_INSIGHT_CATEGORY_UNSPECIFIED: 0,
52517
+ AI_SESSION_INSIGHT_CATEGORY_CONSTRAINT_VIOLATION: 1,
52518
+ AI_SESSION_INSIGHT_CATEGORY_MISREAD_REQUEST: 2,
52519
+ AI_SESSION_INSIGHT_CATEGORY_REPEATED_CORRECTION: 3,
52520
+ AI_SESSION_INSIGHT_CATEGORY_LOOPING: 4,
52521
+ AI_SESSION_INSIGHT_CATEGORY_VERIFICATION_GAP: 5,
52522
+ AI_SESSION_INSIGHT_CATEGORY_MISSING_CONTEXT: 6,
52523
+ AI_SESSION_INSIGHT_CATEGORY_TOOLING_FAILURE: 7,
52524
+ AI_SESSION_INSIGHT_CATEGORY_SCOPE_CREEP: 8,
52525
+ AI_SESSION_INSIGHT_CATEGORY_MANUAL_WORKFLOW: 9
52526
+ };
52527
+
52528
+ /**
52529
+ * @enum {number}
52530
+ */
52531
+ proto.gateway.web.v1.AISessionInsightActionType = {
52532
+ AI_SESSION_INSIGHT_ACTION_TYPE_UNSPECIFIED: 0,
52533
+ AI_SESSION_INSIGHT_ACTION_TYPE_ADD_RULE: 1,
52534
+ AI_SESSION_INSIGHT_ACTION_TYPE_ADD_SKILL: 2,
52535
+ AI_SESSION_INSIGHT_ACTION_TYPE_USE_EXISTING_SKILL: 3,
52536
+ AI_SESSION_INSIGHT_ACTION_TYPE_CHANGE_MODEL: 4,
52537
+ AI_SESSION_INSIGHT_ACTION_TYPE_CLARIFY_PROMPTS: 5,
52538
+ AI_SESSION_INSIGHT_ACTION_TYPE_FIX_TOOLING: 6
52539
+ };
52540
+
52541
+ /**
52542
+ * @enum {number}
52543
+ */
52544
+ proto.gateway.web.v1.AISessionInsightSeverity = {
52545
+ AI_SESSION_INSIGHT_SEVERITY_UNSPECIFIED: 0,
52546
+ AI_SESSION_INSIGHT_SEVERITY_LOW: 1,
52547
+ AI_SESSION_INSIGHT_SEVERITY_MEDIUM: 2,
52548
+ AI_SESSION_INSIGHT_SEVERITY_HIGH: 3
52549
+ };
52550
+
52551
+ /**
52552
+ * @enum {number}
52553
+ */
52554
+ proto.gateway.web.v1.AISessionScoreComponentKind = {
52555
+ AI_SESSION_SCORE_COMPONENT_KIND_UNSPECIFIED: 0,
52556
+ AI_SESSION_SCORE_COMPONENT_KIND_OUTCOME: 1,
52557
+ AI_SESSION_SCORE_COMPONENT_KIND_STEERING_LOAD: 2,
52558
+ AI_SESSION_SCORE_COMPONENT_KIND_AGENT_RELIABILITY: 3,
52559
+ AI_SESSION_SCORE_COMPONENT_KIND_VERIFICATION: 4,
52560
+ AI_SESSION_SCORE_COMPONENT_KIND_REWORK_SPEND: 5,
52561
+ AI_SESSION_SCORE_COMPONENT_KIND_PROMPT_CLARITY: 6
52562
+ };
52563
+
52564
+ /**
52565
+ * @enum {number}
52566
+ */
52567
+ proto.gateway.web.v1.AIGitAction = {
52568
+ AI_GIT_ACTION_UNSPECIFIED: 0,
52569
+ AI_GIT_ACTION_BRANCH_CREATE: 1,
52570
+ AI_GIT_ACTION_COMMIT: 2,
52571
+ AI_GIT_ACTION_PUSH: 3,
52572
+ AI_GIT_ACTION_PULL_REQUEST_CREATE: 4,
52573
+ AI_GIT_ACTION_PULL_REQUEST_MERGE: 5,
52574
+ AI_GIT_ACTION_PULL_REQUEST_COMMENT: 6,
52575
+ AI_GIT_ACTION_OTHER: 7
52576
+ };
52577
+
52578
+ /**
52579
+ * @enum {number}
52580
+ */
52581
+ proto.gateway.web.v1.AIGitOutcome = {
52582
+ AI_GIT_OUTCOME_UNSPECIFIED: 0,
52583
+ AI_GIT_OUTCOME_ATTEMPTED: 1,
52584
+ AI_GIT_OUTCOME_CONFIRMED: 2,
52585
+ AI_GIT_OUTCOME_FAILED: 3
52586
+ };
52587
+
52588
+ /**
52589
+ * @enum {number}
52590
+ */
52591
+ proto.gateway.web.v1.AIGitActivityDimension = {
52592
+ AI_GIT_ACTIVITY_DIMENSION_UNSPECIFIED: 0,
52593
+ AI_GIT_ACTIVITY_DIMENSION_SOURCE_SYSTEM: 1,
52594
+ AI_GIT_ACTIVITY_DIMENSION_REPOSITORY: 2,
52595
+ AI_GIT_ACTIVITY_DIMENSION_ACTION: 3,
52596
+ AI_GIT_ACTIVITY_DIMENSION_OUTCOME: 4,
52597
+ AI_GIT_ACTIVITY_DIMENSION_SESSION: 5
52598
+ };
52599
+
52600
+ /**
52601
+ * @enum {number}
52602
+ */
52603
+ proto.gateway.web.v1.AITokenActivityDimension = {
52604
+ AI_TOKEN_ACTIVITY_DIMENSION_UNSPECIFIED: 0,
52605
+ AI_TOKEN_ACTIVITY_DIMENSION_MODEL: 1,
52606
+ AI_TOKEN_ACTIVITY_DIMENSION_PROVIDER: 2,
52607
+ AI_TOKEN_ACTIVITY_DIMENSION_SOURCE_SYSTEM: 3,
52608
+ AI_TOKEN_ACTIVITY_DIMENSION_USER: 4,
52609
+ AI_TOKEN_ACTIVITY_DIMENSION_API_KEY: 5,
52610
+ AI_TOKEN_ACTIVITY_DIMENSION_EFFORT: 6
52611
+ };
52612
+
52613
+ /**
52614
+ * @enum {number}
52615
+ */
52616
+ proto.gateway.web.v1.AISpendForecastDimension = {
52617
+ AI_SPEND_FORECAST_DIMENSION_UNSPECIFIED: 0,
52618
+ AI_SPEND_FORECAST_DIMENSION_MODEL: 1,
52619
+ AI_SPEND_FORECAST_DIMENSION_PROVIDER: 2,
52620
+ AI_SPEND_FORECAST_DIMENSION_SOURCE_SYSTEM: 3
52621
+ };
52622
+
52623
+ /**
52624
+ * @enum {number}
52625
+ */
52626
+ proto.gateway.web.v1.AIResourceDimension = {
52627
+ AI_RESOURCE_DIMENSION_UNSPECIFIED: 0,
52628
+ AI_RESOURCE_DIMENSION_SKILL: 1,
52629
+ AI_RESOURCE_DIMENSION_TOOL: 2,
52630
+ AI_RESOURCE_DIMENSION_FILE: 3,
52631
+ AI_RESOURCE_DIMENSION_URL: 4,
52632
+ AI_RESOURCE_DIMENSION_COMMAND: 5
52633
+ };
52634
+
52635
+ /**
52636
+ * @enum {number}
52637
+ */
52638
+ proto.gateway.web.v1.AIResourceRankingGroupBy = {
52639
+ AI_RESOURCE_RANKING_GROUP_BY_UNSPECIFIED: 0,
52640
+ AI_RESOURCE_RANKING_GROUP_BY_PRINCIPAL: 1
52641
+ };
52642
+
52643
+ /**
52644
+ * @enum {number}
52645
+ */
52646
+ proto.gateway.web.v1.AIFileLifecycle = {
52647
+ AI_FILE_LIFECYCLE_UNSPECIFIED: 0,
52648
+ AI_FILE_LIFECYCLE_UNLANDED: 1,
52649
+ AI_FILE_LIFECYCLE_CHANGED_SINCE_COMMIT: 2,
50297
52650
  AI_FILE_LIFECYCLE_COMMITTED_NOT_PUSHED: 3,
50298
52651
  AI_FILE_LIFECYCLE_PUSHED: 4,
50299
52652
  AI_FILE_LIFECYCLE_DISCARDED: 5
@@ -50361,4 +52714,55 @@ proto.gateway.web.v1.RelayHeartbeatSort = {
50361
52714
  RELAY_HEARTBEAT_SORT_LAST_SEEN_DESC: 1
50362
52715
  };
50363
52716
 
52717
+ /**
52718
+ * @enum {number}
52719
+ */
52720
+ proto.gateway.web.v1.Tracker = {
52721
+ TRACKER_UNSPECIFIED: 0,
52722
+ TRACKER_LINEAR: 1
52723
+ };
52724
+
52725
+ /**
52726
+ * @enum {number}
52727
+ */
52728
+ proto.gateway.web.v1.IssueCostGroupBy = {
52729
+ ISSUE_COST_GROUP_BY_UNSPECIFIED: 0,
52730
+ ISSUE_COST_GROUP_BY_ISSUE: 1,
52731
+ ISSUE_COST_GROUP_BY_PARENT: 2,
52732
+ ISSUE_COST_GROUP_BY_ITERATION: 3
52733
+ };
52734
+
52735
+ /**
52736
+ * @enum {number}
52737
+ */
52738
+ proto.gateway.web.v1.IssueCostSort = {
52739
+ ISSUE_COST_SORT_UNSPECIFIED: 0,
52740
+ ISSUE_COST_SORT_COST_DESC: 1
52741
+ };
52742
+
52743
+ /**
52744
+ * @enum {number}
52745
+ */
52746
+ proto.gateway.web.v1.TrackerSyncState = {
52747
+ TRACKER_SYNC_STATE_UNSPECIFIED: 0,
52748
+ TRACKER_SYNC_STATE_NOT_CONNECTED: 1,
52749
+ TRACKER_SYNC_STATE_PENDING: 2,
52750
+ TRACKER_SYNC_STATE_SYNCED: 3,
52751
+ TRACKER_SYNC_STATE_STALE: 4
52752
+ };
52753
+
52754
+ /**
52755
+ * @enum {number}
52756
+ */
52757
+ proto.gateway.web.v1.TrackerSyncError = {
52758
+ TRACKER_SYNC_ERROR_UNSPECIFIED: 0,
52759
+ TRACKER_SYNC_ERROR_UNAUTHORIZED: 1,
52760
+ TRACKER_SYNC_ERROR_RATE_LIMITED: 2,
52761
+ TRACKER_SYNC_ERROR_UNAVAILABLE: 3,
52762
+ TRACKER_SYNC_ERROR_REJECTED: 4,
52763
+ TRACKER_SYNC_ERROR_UNREADABLE: 5,
52764
+ TRACKER_SYNC_ERROR_WORKSPACE_CHANGED: 6,
52765
+ TRACKER_SYNC_ERROR_INTERNAL: 7
52766
+ };
52767
+
50364
52768
  goog.object.extend(exports, proto.gateway.web.v1);