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