@miradorlabs/web-grpc 4.33.0 → 4.35.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.
@@ -54,10 +54,6 @@ goog.exportSymbol('proto.gateway.web.v1.AILabelSet', null, global);
54
54
  goog.exportSymbol('proto.gateway.web.v1.AILabelValue', null, global);
55
55
  goog.exportSymbol('proto.gateway.web.v1.AIModelPrice', null, global);
56
56
  goog.exportSymbol('proto.gateway.web.v1.AIModelPriceFilter', null, global);
57
- goog.exportSymbol('proto.gateway.web.v1.AIProjectInsight', null, global);
58
- goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightCard', null, global);
59
- goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightCitation', null, global);
60
- goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightKind', null, global);
61
57
  goog.exportSymbol('proto.gateway.web.v1.AIPromptLabelSummary', null, global);
62
58
  goog.exportSymbol('proto.gateway.web.v1.AIPromptLabelWeek', null, global);
63
59
  goog.exportSymbol('proto.gateway.web.v1.AIPromptLabels', null, global);
@@ -126,6 +122,8 @@ goog.exportSymbol('proto.gateway.web.v1.GetSessionAnalysisRequest', null, global
126
122
  goog.exportSymbol('proto.gateway.web.v1.GetSessionAnalysisResponse', null, global);
127
123
  goog.exportSymbol('proto.gateway.web.v1.GetSessionIssuesRequest', null, global);
128
124
  goog.exportSymbol('proto.gateway.web.v1.GetSessionIssuesResponse', null, global);
125
+ goog.exportSymbol('proto.gateway.web.v1.GetSessionPeriodTotalsRequest', null, global);
126
+ goog.exportSymbol('proto.gateway.web.v1.GetSessionPeriodTotalsResponse', null, global);
129
127
  goog.exportSymbol('proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest', null, global);
130
128
  goog.exportSymbol('proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse', null, global);
131
129
  goog.exportSymbol('proto.gateway.web.v1.GetSessionScoreTrendRequest', null, global);
@@ -170,14 +168,10 @@ goog.exportSymbol('proto.gateway.web.v1.ListModelReasoningRequest', null, global
170
168
  goog.exportSymbol('proto.gateway.web.v1.ListModelReasoningResponse', null, global);
171
169
  goog.exportSymbol('proto.gateway.web.v1.ListModelReasoningTrendRequest', null, global);
172
170
  goog.exportSymbol('proto.gateway.web.v1.ListModelReasoningTrendResponse', null, global);
173
- goog.exportSymbol('proto.gateway.web.v1.ListProjectInsightCardsRequest', null, global);
174
- goog.exportSymbol('proto.gateway.web.v1.ListProjectInsightCardsResponse', null, global);
175
171
  goog.exportSymbol('proto.gateway.web.v1.ListRelayHeartbeatsRequest', null, global);
176
172
  goog.exportSymbol('proto.gateway.web.v1.ListRelayHeartbeatsResponse', null, global);
177
173
  goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsRequest', null, global);
178
174
  goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsResponse', null, global);
179
- goog.exportSymbol('proto.gateway.web.v1.ListSessionInsightsRequest', null, global);
180
- goog.exportSymbol('proto.gateway.web.v1.ListSessionInsightsResponse', null, global);
181
175
  goog.exportSymbol('proto.gateway.web.v1.ListSessionsRequest', null, global);
182
176
  goog.exportSymbol('proto.gateway.web.v1.ListSessionsResponse', null, global);
183
177
  goog.exportSymbol('proto.gateway.web.v1.ModelActivity', null, global);
@@ -213,6 +207,7 @@ goog.exportSymbol('proto.gateway.web.v1.ResourceRankingsRequest', null, global);
213
207
  goog.exportSymbol('proto.gateway.web.v1.ResourceRankingsResponse', null, global);
214
208
  goog.exportSymbol('proto.gateway.web.v1.ScoredSession', null, global);
215
209
  goog.exportSymbol('proto.gateway.web.v1.SeatEntitlement', null, global);
210
+ goog.exportSymbol('proto.gateway.web.v1.SessionActorUsage', null, global);
216
211
  goog.exportSymbol('proto.gateway.web.v1.SessionAnalysisOverviewFilter', null, global);
217
212
  goog.exportSymbol('proto.gateway.web.v1.SessionEventFilter', null, global);
218
213
  goog.exportSymbol('proto.gateway.web.v1.SessionFileChange', null, global);
@@ -220,13 +215,11 @@ goog.exportSymbol('proto.gateway.web.v1.SessionFileChanges', null, global);
220
215
  goog.exportSymbol('proto.gateway.web.v1.SessionFileChangesRequest', null, global);
221
216
  goog.exportSymbol('proto.gateway.web.v1.SessionFilter', null, global);
222
217
  goog.exportSymbol('proto.gateway.web.v1.SessionGitBucket', null, global);
223
- goog.exportSymbol('proto.gateway.web.v1.SessionInsightEntry', null, global);
224
- goog.exportSymbol('proto.gateway.web.v1.SessionInsightFilter', null, global);
225
- goog.exportSymbol('proto.gateway.web.v1.SessionInsightSort', null, global);
226
218
  goog.exportSymbol('proto.gateway.web.v1.SessionIssueCost', null, global);
227
219
  goog.exportSymbol('proto.gateway.web.v1.SessionIssueTotals', null, global);
228
220
  goog.exportSymbol('proto.gateway.web.v1.SessionModelUsage', null, global);
229
221
  goog.exportSymbol('proto.gateway.web.v1.SessionPagination', null, global);
222
+ goog.exportSymbol('proto.gateway.web.v1.SessionPeriodTotals', null, global);
230
223
  goog.exportSymbol('proto.gateway.web.v1.SessionPromptAnchor', null, global);
231
224
  goog.exportSymbol('proto.gateway.web.v1.SessionPullRequest', null, global);
232
225
  goog.exportSymbol('proto.gateway.web.v1.SessionSort', null, global);
@@ -237,6 +230,7 @@ goog.exportSymbol('proto.gateway.web.v1.SessionTotalsBucket', null, global);
237
230
  goog.exportSymbol('proto.gateway.web.v1.SessionUsageBucket', null, global);
238
231
  goog.exportSymbol('proto.gateway.web.v1.SessionUsageTrendRequest', null, global);
239
232
  goog.exportSymbol('proto.gateway.web.v1.SessionUsageTrendResponse', null, global);
233
+ goog.exportSymbol('proto.gateway.web.v1.SessionWorkSizeCount', null, global);
240
234
  goog.exportSymbol('proto.gateway.web.v1.SessionWorkTypeCount', null, global);
241
235
  goog.exportSymbol('proto.gateway.web.v1.SessionsSnapshot', null, global);
242
236
  goog.exportSymbol('proto.gateway.web.v1.SetReasoningTrendContributionRequest', null, global);
@@ -3047,16 +3041,37 @@ if (goog.DEBUG && !COMPILED) {
3047
3041
  * @extends {jspb.Message}
3048
3042
  * @constructor
3049
3043
  */
3050
- proto.gateway.web.v1.GetSessionAnalysisRequest = function(opt_data) {
3044
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest = function(opt_data) {
3051
3045
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3052
3046
  };
3053
- goog.inherits(proto.gateway.web.v1.GetSessionAnalysisRequest, jspb.Message);
3047
+ goog.inherits(proto.gateway.web.v1.GetSessionPeriodTotalsRequest, jspb.Message);
3054
3048
  if (goog.DEBUG && !COMPILED) {
3055
3049
  /**
3056
3050
  * @public
3057
3051
  * @override
3058
3052
  */
3059
- proto.gateway.web.v1.GetSessionAnalysisRequest.displayName = 'proto.gateway.web.v1.GetSessionAnalysisRequest';
3053
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.displayName = 'proto.gateway.web.v1.GetSessionPeriodTotalsRequest';
3054
+ }
3055
+ /**
3056
+ * Generated by JsPbCodeGenerator.
3057
+ * @param {Array=} opt_data Optional initial data array, typically from a
3058
+ * server response, or constructed directly in Javascript. The array is used
3059
+ * in place and becomes part of the constructed object. It is not cloned.
3060
+ * If no data is provided, the constructed object will be empty, but still
3061
+ * valid.
3062
+ * @extends {jspb.Message}
3063
+ * @constructor
3064
+ */
3065
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse = function(opt_data) {
3066
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.GetSessionPeriodTotalsResponse.repeatedFields_, null);
3067
+ };
3068
+ goog.inherits(proto.gateway.web.v1.GetSessionPeriodTotalsResponse, jspb.Message);
3069
+ if (goog.DEBUG && !COMPILED) {
3070
+ /**
3071
+ * @public
3072
+ * @override
3073
+ */
3074
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.displayName = 'proto.gateway.web.v1.GetSessionPeriodTotalsResponse';
3060
3075
  }
3061
3076
  /**
3062
3077
  * Generated by JsPbCodeGenerator.
@@ -3068,16 +3083,16 @@ if (goog.DEBUG && !COMPILED) {
3068
3083
  * @extends {jspb.Message}
3069
3084
  * @constructor
3070
3085
  */
3071
- proto.gateway.web.v1.ListSessionInsightsRequest = function(opt_data) {
3086
+ proto.gateway.web.v1.SessionPeriodTotals = function(opt_data) {
3072
3087
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3073
3088
  };
3074
- goog.inherits(proto.gateway.web.v1.ListSessionInsightsRequest, jspb.Message);
3089
+ goog.inherits(proto.gateway.web.v1.SessionPeriodTotals, jspb.Message);
3075
3090
  if (goog.DEBUG && !COMPILED) {
3076
3091
  /**
3077
3092
  * @public
3078
3093
  * @override
3079
3094
  */
3080
- proto.gateway.web.v1.ListSessionInsightsRequest.displayName = 'proto.gateway.web.v1.ListSessionInsightsRequest';
3095
+ proto.gateway.web.v1.SessionPeriodTotals.displayName = 'proto.gateway.web.v1.SessionPeriodTotals';
3081
3096
  }
3082
3097
  /**
3083
3098
  * Generated by JsPbCodeGenerator.
@@ -3089,16 +3104,16 @@ if (goog.DEBUG && !COMPILED) {
3089
3104
  * @extends {jspb.Message}
3090
3105
  * @constructor
3091
3106
  */
3092
- proto.gateway.web.v1.SessionInsightFilter = function(opt_data) {
3093
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.SessionInsightFilter.repeatedFields_, null);
3107
+ proto.gateway.web.v1.SessionActorUsage = function(opt_data) {
3108
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3094
3109
  };
3095
- goog.inherits(proto.gateway.web.v1.SessionInsightFilter, jspb.Message);
3110
+ goog.inherits(proto.gateway.web.v1.SessionActorUsage, jspb.Message);
3096
3111
  if (goog.DEBUG && !COMPILED) {
3097
3112
  /**
3098
3113
  * @public
3099
3114
  * @override
3100
3115
  */
3101
- proto.gateway.web.v1.SessionInsightFilter.displayName = 'proto.gateway.web.v1.SessionInsightFilter';
3116
+ proto.gateway.web.v1.SessionActorUsage.displayName = 'proto.gateway.web.v1.SessionActorUsage';
3102
3117
  }
3103
3118
  /**
3104
3119
  * Generated by JsPbCodeGenerator.
@@ -3110,16 +3125,16 @@ if (goog.DEBUG && !COMPILED) {
3110
3125
  * @extends {jspb.Message}
3111
3126
  * @constructor
3112
3127
  */
3113
- proto.gateway.web.v1.ListSessionInsightsResponse = function(opt_data) {
3114
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListSessionInsightsResponse.repeatedFields_, null);
3128
+ proto.gateway.web.v1.SessionWorkSizeCount = function(opt_data) {
3129
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3115
3130
  };
3116
- goog.inherits(proto.gateway.web.v1.ListSessionInsightsResponse, jspb.Message);
3131
+ goog.inherits(proto.gateway.web.v1.SessionWorkSizeCount, jspb.Message);
3117
3132
  if (goog.DEBUG && !COMPILED) {
3118
3133
  /**
3119
3134
  * @public
3120
3135
  * @override
3121
3136
  */
3122
- proto.gateway.web.v1.ListSessionInsightsResponse.displayName = 'proto.gateway.web.v1.ListSessionInsightsResponse';
3137
+ proto.gateway.web.v1.SessionWorkSizeCount.displayName = 'proto.gateway.web.v1.SessionWorkSizeCount';
3123
3138
  }
3124
3139
  /**
3125
3140
  * Generated by JsPbCodeGenerator.
@@ -3131,16 +3146,16 @@ if (goog.DEBUG && !COMPILED) {
3131
3146
  * @extends {jspb.Message}
3132
3147
  * @constructor
3133
3148
  */
3134
- proto.gateway.web.v1.SessionInsightEntry = function(opt_data) {
3149
+ proto.gateway.web.v1.GetSessionAnalysisRequest = function(opt_data) {
3135
3150
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3136
3151
  };
3137
- goog.inherits(proto.gateway.web.v1.SessionInsightEntry, jspb.Message);
3152
+ goog.inherits(proto.gateway.web.v1.GetSessionAnalysisRequest, jspb.Message);
3138
3153
  if (goog.DEBUG && !COMPILED) {
3139
3154
  /**
3140
3155
  * @public
3141
3156
  * @override
3142
3157
  */
3143
- proto.gateway.web.v1.SessionInsightEntry.displayName = 'proto.gateway.web.v1.SessionInsightEntry';
3158
+ proto.gateway.web.v1.GetSessionAnalysisRequest.displayName = 'proto.gateway.web.v1.GetSessionAnalysisRequest';
3144
3159
  }
3145
3160
  /**
3146
3161
  * Generated by JsPbCodeGenerator.
@@ -4486,111 +4501,6 @@ if (goog.DEBUG && !COMPILED) {
4486
4501
  */
4487
4502
  proto.gateway.web.v1.IssueSession.displayName = 'proto.gateway.web.v1.IssueSession';
4488
4503
  }
4489
- /**
4490
- * Generated by JsPbCodeGenerator.
4491
- * @param {Array=} opt_data Optional initial data array, typically from a
4492
- * server response, or constructed directly in Javascript. The array is used
4493
- * in place and becomes part of the constructed object. It is not cloned.
4494
- * If no data is provided, the constructed object will be empty, but still
4495
- * valid.
4496
- * @extends {jspb.Message}
4497
- * @constructor
4498
- */
4499
- proto.gateway.web.v1.ListProjectInsightCardsRequest = function(opt_data) {
4500
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4501
- };
4502
- goog.inherits(proto.gateway.web.v1.ListProjectInsightCardsRequest, jspb.Message);
4503
- if (goog.DEBUG && !COMPILED) {
4504
- /**
4505
- * @public
4506
- * @override
4507
- */
4508
- proto.gateway.web.v1.ListProjectInsightCardsRequest.displayName = 'proto.gateway.web.v1.ListProjectInsightCardsRequest';
4509
- }
4510
- /**
4511
- * Generated by JsPbCodeGenerator.
4512
- * @param {Array=} opt_data Optional initial data array, typically from a
4513
- * server response, or constructed directly in Javascript. The array is used
4514
- * in place and becomes part of the constructed object. It is not cloned.
4515
- * If no data is provided, the constructed object will be empty, but still
4516
- * valid.
4517
- * @extends {jspb.Message}
4518
- * @constructor
4519
- */
4520
- proto.gateway.web.v1.ListProjectInsightCardsResponse = function(opt_data) {
4521
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListProjectInsightCardsResponse.repeatedFields_, null);
4522
- };
4523
- goog.inherits(proto.gateway.web.v1.ListProjectInsightCardsResponse, jspb.Message);
4524
- if (goog.DEBUG && !COMPILED) {
4525
- /**
4526
- * @public
4527
- * @override
4528
- */
4529
- proto.gateway.web.v1.ListProjectInsightCardsResponse.displayName = 'proto.gateway.web.v1.ListProjectInsightCardsResponse';
4530
- }
4531
- /**
4532
- * Generated by JsPbCodeGenerator.
4533
- * @param {Array=} opt_data Optional initial data array, typically from a
4534
- * server response, or constructed directly in Javascript. The array is used
4535
- * in place and becomes part of the constructed object. It is not cloned.
4536
- * If no data is provided, the constructed object will be empty, but still
4537
- * valid.
4538
- * @extends {jspb.Message}
4539
- * @constructor
4540
- */
4541
- proto.gateway.web.v1.AIProjectInsightCard = function(opt_data) {
4542
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4543
- };
4544
- goog.inherits(proto.gateway.web.v1.AIProjectInsightCard, jspb.Message);
4545
- if (goog.DEBUG && !COMPILED) {
4546
- /**
4547
- * @public
4548
- * @override
4549
- */
4550
- proto.gateway.web.v1.AIProjectInsightCard.displayName = 'proto.gateway.web.v1.AIProjectInsightCard';
4551
- }
4552
- /**
4553
- * Generated by JsPbCodeGenerator.
4554
- * @param {Array=} opt_data Optional initial data array, typically from a
4555
- * server response, or constructed directly in Javascript. The array is used
4556
- * in place and becomes part of the constructed object. It is not cloned.
4557
- * If no data is provided, the constructed object will be empty, but still
4558
- * valid.
4559
- * @extends {jspb.Message}
4560
- * @constructor
4561
- */
4562
- proto.gateway.web.v1.AIProjectInsight = function(opt_data) {
4563
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AIProjectInsight.repeatedFields_, null);
4564
- };
4565
- goog.inherits(proto.gateway.web.v1.AIProjectInsight, jspb.Message);
4566
- if (goog.DEBUG && !COMPILED) {
4567
- /**
4568
- * @public
4569
- * @override
4570
- */
4571
- proto.gateway.web.v1.AIProjectInsight.displayName = 'proto.gateway.web.v1.AIProjectInsight';
4572
- }
4573
- /**
4574
- * Generated by JsPbCodeGenerator.
4575
- * @param {Array=} opt_data Optional initial data array, typically from a
4576
- * server response, or constructed directly in Javascript. The array is used
4577
- * in place and becomes part of the constructed object. It is not cloned.
4578
- * If no data is provided, the constructed object will be empty, but still
4579
- * valid.
4580
- * @extends {jspb.Message}
4581
- * @constructor
4582
- */
4583
- proto.gateway.web.v1.AIProjectInsightCitation = function(opt_data) {
4584
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4585
- };
4586
- goog.inherits(proto.gateway.web.v1.AIProjectInsightCitation, jspb.Message);
4587
- if (goog.DEBUG && !COMPILED) {
4588
- /**
4589
- * @public
4590
- * @override
4591
- */
4592
- proto.gateway.web.v1.AIProjectInsightCitation.displayName = 'proto.gateway.web.v1.AIProjectInsightCitation';
4593
- }
4594
4504
 
4595
4505
 
4596
4506
 
@@ -43916,8 +43826,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
43916
43826
  * http://goto/soy-param-migration
43917
43827
  * @return {!Object}
43918
43828
  */
43919
- proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.toObject = function(opt_includeInstance) {
43920
- return proto.gateway.web.v1.GetSessionAnalysisRequest.toObject(opt_includeInstance, this);
43829
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.toObject = function(opt_includeInstance) {
43830
+ return proto.gateway.web.v1.GetSessionPeriodTotalsRequest.toObject(opt_includeInstance, this);
43921
43831
  };
43922
43832
 
43923
43833
 
@@ -43926,238 +43836,16 @@ proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.toObject = function(opt
43926
43836
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43927
43837
  * the JSPB instance for transitional soy proto support:
43928
43838
  * http://goto/soy-param-migration
43929
- * @param {!proto.gateway.web.v1.GetSessionAnalysisRequest} msg The msg instance to transform.
43839
+ * @param {!proto.gateway.web.v1.GetSessionPeriodTotalsRequest} msg The msg instance to transform.
43930
43840
  * @return {!Object}
43931
43841
  * @suppress {unusedLocalVariables} f is only used for nested messages
43932
43842
  */
43933
- proto.gateway.web.v1.GetSessionAnalysisRequest.toObject = function(includeInstance, msg) {
43843
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.toObject = function(includeInstance, msg) {
43934
43844
  var f, obj = {
43935
43845
  organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
43936
43846
  projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
43937
- sourceSystem: jspb.Message.getFieldWithDefault(msg, 3, ""),
43938
- sessionId: jspb.Message.getFieldWithDefault(msg, 4, "")
43939
- };
43940
-
43941
- if (includeInstance) {
43942
- obj.$jspbMessageInstance = msg;
43943
- }
43944
- return obj;
43945
- };
43946
- }
43947
-
43948
-
43949
- /**
43950
- * Deserializes binary data (in protobuf wire format).
43951
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
43952
- * @return {!proto.gateway.web.v1.GetSessionAnalysisRequest}
43953
- */
43954
- proto.gateway.web.v1.GetSessionAnalysisRequest.deserializeBinary = function(bytes) {
43955
- var reader = new jspb.BinaryReader(bytes);
43956
- var msg = new proto.gateway.web.v1.GetSessionAnalysisRequest;
43957
- return proto.gateway.web.v1.GetSessionAnalysisRequest.deserializeBinaryFromReader(msg, reader);
43958
- };
43959
-
43960
-
43961
- /**
43962
- * Deserializes binary data (in protobuf wire format) from the
43963
- * given reader into the given message object.
43964
- * @param {!proto.gateway.web.v1.GetSessionAnalysisRequest} msg The message object to deserialize into.
43965
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43966
- * @return {!proto.gateway.web.v1.GetSessionAnalysisRequest}
43967
- */
43968
- proto.gateway.web.v1.GetSessionAnalysisRequest.deserializeBinaryFromReader = function(msg, reader) {
43969
- while (reader.nextField()) {
43970
- if (reader.isEndGroup()) {
43971
- break;
43972
- }
43973
- var field = reader.getFieldNumber();
43974
- switch (field) {
43975
- case 1:
43976
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
43977
- msg.setOrganizationId(value);
43978
- break;
43979
- case 2:
43980
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
43981
- msg.setProjectId(value);
43982
- break;
43983
- case 3:
43984
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
43985
- msg.setSourceSystem(value);
43986
- break;
43987
- case 4:
43988
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
43989
- msg.setSessionId(value);
43990
- break;
43991
- default:
43992
- reader.skipField();
43993
- break;
43994
- }
43995
- }
43996
- return msg;
43997
- };
43998
-
43999
-
44000
- /**
44001
- * Serializes the message to binary data (in protobuf wire format).
44002
- * @return {!Uint8Array}
44003
- */
44004
- proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.serializeBinary = function() {
44005
- var writer = new jspb.BinaryWriter();
44006
- proto.gateway.web.v1.GetSessionAnalysisRequest.serializeBinaryToWriter(this, writer);
44007
- return writer.getResultBuffer();
44008
- };
44009
-
44010
-
44011
- /**
44012
- * Serializes the given message to binary data (in protobuf wire
44013
- * format), writing to the given BinaryWriter.
44014
- * @param {!proto.gateway.web.v1.GetSessionAnalysisRequest} message
44015
- * @param {!jspb.BinaryWriter} writer
44016
- * @suppress {unusedLocalVariables} f is only used for nested messages
44017
- */
44018
- proto.gateway.web.v1.GetSessionAnalysisRequest.serializeBinaryToWriter = function(message, writer) {
44019
- var f = undefined;
44020
- f = message.getOrganizationId();
44021
- if (f.length > 0) {
44022
- writer.writeString(
44023
- 1,
44024
- f
44025
- );
44026
- }
44027
- f = message.getProjectId();
44028
- if (f.length > 0) {
44029
- writer.writeString(
44030
- 2,
44031
- f
44032
- );
44033
- }
44034
- f = message.getSourceSystem();
44035
- if (f.length > 0) {
44036
- writer.writeString(
44037
- 3,
44038
- f
44039
- );
44040
- }
44041
- f = message.getSessionId();
44042
- if (f.length > 0) {
44043
- writer.writeString(
44044
- 4,
44045
- f
44046
- );
44047
- }
44048
- };
44049
-
44050
-
44051
- /**
44052
- * optional string organization_id = 1;
44053
- * @return {string}
44054
- */
44055
- proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.getOrganizationId = function() {
44056
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
44057
- };
44058
-
44059
-
44060
- /**
44061
- * @param {string} value
44062
- * @return {!proto.gateway.web.v1.GetSessionAnalysisRequest} returns this
44063
- */
44064
- proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.setOrganizationId = function(value) {
44065
- return jspb.Message.setProto3StringField(this, 1, value);
44066
- };
44067
-
44068
-
44069
- /**
44070
- * optional string project_id = 2;
44071
- * @return {string}
44072
- */
44073
- proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.getProjectId = function() {
44074
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
44075
- };
44076
-
44077
-
44078
- /**
44079
- * @param {string} value
44080
- * @return {!proto.gateway.web.v1.GetSessionAnalysisRequest} returns this
44081
- */
44082
- proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.setProjectId = function(value) {
44083
- return jspb.Message.setProto3StringField(this, 2, value);
44084
- };
44085
-
44086
-
44087
- /**
44088
- * optional string source_system = 3;
44089
- * @return {string}
44090
- */
44091
- proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.getSourceSystem = function() {
44092
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
44093
- };
44094
-
44095
-
44096
- /**
44097
- * @param {string} value
44098
- * @return {!proto.gateway.web.v1.GetSessionAnalysisRequest} returns this
44099
- */
44100
- proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.setSourceSystem = function(value) {
44101
- return jspb.Message.setProto3StringField(this, 3, value);
44102
- };
44103
-
44104
-
44105
- /**
44106
- * optional string session_id = 4;
44107
- * @return {string}
44108
- */
44109
- proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.getSessionId = function() {
44110
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
44111
- };
44112
-
44113
-
44114
- /**
44115
- * @param {string} value
44116
- * @return {!proto.gateway.web.v1.GetSessionAnalysisRequest} returns this
44117
- */
44118
- proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.setSessionId = function(value) {
44119
- return jspb.Message.setProto3StringField(this, 4, value);
44120
- };
44121
-
44122
-
44123
-
44124
-
44125
-
44126
- if (jspb.Message.GENERATE_TO_OBJECT) {
44127
- /**
44128
- * Creates an object representation of this proto.
44129
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
44130
- * Optional fields that are not set will be set to undefined.
44131
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
44132
- * For the list of reserved names please see:
44133
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
44134
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
44135
- * JSPB instance for transitional soy proto support:
44136
- * http://goto/soy-param-migration
44137
- * @return {!Object}
44138
- */
44139
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.toObject = function(opt_includeInstance) {
44140
- return proto.gateway.web.v1.ListSessionInsightsRequest.toObject(opt_includeInstance, this);
44141
- };
44142
-
44143
-
44144
- /**
44145
- * Static version of the {@see toObject} method.
44146
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
44147
- * the JSPB instance for transitional soy proto support:
44148
- * http://goto/soy-param-migration
44149
- * @param {!proto.gateway.web.v1.ListSessionInsightsRequest} msg The msg instance to transform.
44150
- * @return {!Object}
44151
- * @suppress {unusedLocalVariables} f is only used for nested messages
44152
- */
44153
- proto.gateway.web.v1.ListSessionInsightsRequest.toObject = function(includeInstance, msg) {
44154
- var f, obj = {
44155
- organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
44156
- projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
44157
- filter: (f = msg.getFilter()) && proto.gateway.web.v1.SessionInsightFilter.toObject(includeInstance, f),
44158
- sort: jspb.Message.getFieldWithDefault(msg, 4, 0),
44159
- pageSize: jspb.Message.getFieldWithDefault(msg, 5, 0),
44160
- pageToken: jspb.Message.getFieldWithDefault(msg, 6, "")
43847
+ activeAfter: (f = msg.getActiveAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
43848
+ priorActiveAfter: (f = msg.getPriorActiveAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
44161
43849
  };
44162
43850
 
44163
43851
  if (includeInstance) {
@@ -44171,23 +43859,23 @@ pageToken: jspb.Message.getFieldWithDefault(msg, 6, "")
44171
43859
  /**
44172
43860
  * Deserializes binary data (in protobuf wire format).
44173
43861
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
44174
- * @return {!proto.gateway.web.v1.ListSessionInsightsRequest}
43862
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsRequest}
44175
43863
  */
44176
- proto.gateway.web.v1.ListSessionInsightsRequest.deserializeBinary = function(bytes) {
43864
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.deserializeBinary = function(bytes) {
44177
43865
  var reader = new jspb.BinaryReader(bytes);
44178
- var msg = new proto.gateway.web.v1.ListSessionInsightsRequest;
44179
- return proto.gateway.web.v1.ListSessionInsightsRequest.deserializeBinaryFromReader(msg, reader);
43866
+ var msg = new proto.gateway.web.v1.GetSessionPeriodTotalsRequest;
43867
+ return proto.gateway.web.v1.GetSessionPeriodTotalsRequest.deserializeBinaryFromReader(msg, reader);
44180
43868
  };
44181
43869
 
44182
43870
 
44183
43871
  /**
44184
43872
  * Deserializes binary data (in protobuf wire format) from the
44185
43873
  * given reader into the given message object.
44186
- * @param {!proto.gateway.web.v1.ListSessionInsightsRequest} msg The message object to deserialize into.
43874
+ * @param {!proto.gateway.web.v1.GetSessionPeriodTotalsRequest} msg The message object to deserialize into.
44187
43875
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
44188
- * @return {!proto.gateway.web.v1.ListSessionInsightsRequest}
43876
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsRequest}
44189
43877
  */
44190
- proto.gateway.web.v1.ListSessionInsightsRequest.deserializeBinaryFromReader = function(msg, reader) {
43878
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.deserializeBinaryFromReader = function(msg, reader) {
44191
43879
  while (reader.nextField()) {
44192
43880
  if (reader.isEndGroup()) {
44193
43881
  break;
@@ -44203,21 +43891,14 @@ proto.gateway.web.v1.ListSessionInsightsRequest.deserializeBinaryFromReader = fu
44203
43891
  msg.setProjectId(value);
44204
43892
  break;
44205
43893
  case 3:
44206
- var value = new proto.gateway.web.v1.SessionInsightFilter;
44207
- reader.readMessage(value,proto.gateway.web.v1.SessionInsightFilter.deserializeBinaryFromReader);
44208
- msg.setFilter(value);
43894
+ var value = new google_protobuf_timestamp_pb.Timestamp;
43895
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
43896
+ msg.setActiveAfter(value);
44209
43897
  break;
44210
43898
  case 4:
44211
- var value = /** @type {!proto.gateway.web.v1.SessionInsightSort} */ (reader.readEnum());
44212
- msg.setSort(value);
44213
- break;
44214
- case 5:
44215
- var value = /** @type {number} */ (reader.readInt32());
44216
- msg.setPageSize(value);
44217
- break;
44218
- case 6:
44219
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
44220
- msg.setPageToken(value);
43899
+ var value = new google_protobuf_timestamp_pb.Timestamp;
43900
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
43901
+ msg.setPriorActiveAfter(value);
44221
43902
  break;
44222
43903
  default:
44223
43904
  reader.skipField();
@@ -44232,9 +43913,9 @@ proto.gateway.web.v1.ListSessionInsightsRequest.deserializeBinaryFromReader = fu
44232
43913
  * Serializes the message to binary data (in protobuf wire format).
44233
43914
  * @return {!Uint8Array}
44234
43915
  */
44235
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.serializeBinary = function() {
43916
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.serializeBinary = function() {
44236
43917
  var writer = new jspb.BinaryWriter();
44237
- proto.gateway.web.v1.ListSessionInsightsRequest.serializeBinaryToWriter(this, writer);
43918
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.serializeBinaryToWriter(this, writer);
44238
43919
  return writer.getResultBuffer();
44239
43920
  };
44240
43921
 
@@ -44242,11 +43923,11 @@ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.serializeBinary = func
44242
43923
  /**
44243
43924
  * Serializes the given message to binary data (in protobuf wire
44244
43925
  * format), writing to the given BinaryWriter.
44245
- * @param {!proto.gateway.web.v1.ListSessionInsightsRequest} message
43926
+ * @param {!proto.gateway.web.v1.GetSessionPeriodTotalsRequest} message
44246
43927
  * @param {!jspb.BinaryWriter} writer
44247
43928
  * @suppress {unusedLocalVariables} f is only used for nested messages
44248
43929
  */
44249
- proto.gateway.web.v1.ListSessionInsightsRequest.serializeBinaryToWriter = function(message, writer) {
43930
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.serializeBinaryToWriter = function(message, writer) {
44250
43931
  var f = undefined;
44251
43932
  f = message.getOrganizationId();
44252
43933
  if (f.length > 0) {
@@ -44262,33 +43943,20 @@ proto.gateway.web.v1.ListSessionInsightsRequest.serializeBinaryToWriter = functi
44262
43943
  f
44263
43944
  );
44264
43945
  }
44265
- f = message.getFilter();
43946
+ f = message.getActiveAfter();
44266
43947
  if (f != null) {
44267
43948
  writer.writeMessage(
44268
43949
  3,
44269
43950
  f,
44270
- proto.gateway.web.v1.SessionInsightFilter.serializeBinaryToWriter
43951
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
44271
43952
  );
44272
43953
  }
44273
- f = message.getSort();
44274
- if (f !== 0.0) {
44275
- writer.writeEnum(
43954
+ f = message.getPriorActiveAfter();
43955
+ if (f != null) {
43956
+ writer.writeMessage(
44276
43957
  4,
44277
- f
44278
- );
44279
- }
44280
- f = message.getPageSize();
44281
- if (f !== 0) {
44282
- writer.writeInt32(
44283
- 5,
44284
- f
44285
- );
44286
- }
44287
- f = message.getPageToken();
44288
- if (f.length > 0) {
44289
- writer.writeString(
44290
- 6,
44291
- f
43958
+ f,
43959
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
44292
43960
  );
44293
43961
  }
44294
43962
  };
@@ -44298,16 +43966,16 @@ proto.gateway.web.v1.ListSessionInsightsRequest.serializeBinaryToWriter = functi
44298
43966
  * optional string organization_id = 1;
44299
43967
  * @return {string}
44300
43968
  */
44301
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.getOrganizationId = function() {
43969
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.getOrganizationId = function() {
44302
43970
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
44303
43971
  };
44304
43972
 
44305
43973
 
44306
43974
  /**
44307
43975
  * @param {string} value
44308
- * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
43976
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsRequest} returns this
44309
43977
  */
44310
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setOrganizationId = function(value) {
43978
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.setOrganizationId = function(value) {
44311
43979
  return jspb.Message.setProto3StringField(this, 1, value);
44312
43980
  };
44313
43981
 
@@ -44316,45 +43984,45 @@ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setOrganizationId = fu
44316
43984
  * optional string project_id = 2;
44317
43985
  * @return {string}
44318
43986
  */
44319
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.getProjectId = function() {
43987
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.getProjectId = function() {
44320
43988
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
44321
43989
  };
44322
43990
 
44323
43991
 
44324
43992
  /**
44325
43993
  * @param {string} value
44326
- * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
43994
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsRequest} returns this
44327
43995
  */
44328
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setProjectId = function(value) {
43996
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.setProjectId = function(value) {
44329
43997
  return jspb.Message.setProto3StringField(this, 2, value);
44330
43998
  };
44331
43999
 
44332
44000
 
44333
44001
  /**
44334
- * optional SessionInsightFilter filter = 3;
44335
- * @return {?proto.gateway.web.v1.SessionInsightFilter}
44002
+ * optional google.protobuf.Timestamp active_after = 3;
44003
+ * @return {?proto.google.protobuf.Timestamp}
44336
44004
  */
44337
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.getFilter = function() {
44338
- return /** @type{?proto.gateway.web.v1.SessionInsightFilter} */ (
44339
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.SessionInsightFilter, 3));
44005
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.getActiveAfter = function() {
44006
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
44007
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
44340
44008
  };
44341
44009
 
44342
44010
 
44343
44011
  /**
44344
- * @param {?proto.gateway.web.v1.SessionInsightFilter|undefined} value
44345
- * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
44012
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
44013
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsRequest} returns this
44346
44014
  */
44347
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setFilter = function(value) {
44015
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.setActiveAfter = function(value) {
44348
44016
  return jspb.Message.setWrapperField(this, 3, value);
44349
44017
  };
44350
44018
 
44351
44019
 
44352
44020
  /**
44353
44021
  * Clears the message field making it undefined.
44354
- * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
44022
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsRequest} returns this
44355
44023
  */
44356
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.clearFilter = function() {
44357
- return this.setFilter(undefined);
44024
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.clearActiveAfter = function() {
44025
+ return this.setActiveAfter(undefined);
44358
44026
  };
44359
44027
 
44360
44028
 
@@ -44362,62 +44030,45 @@ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.clearFilter = function
44362
44030
  * Returns whether this field is set.
44363
44031
  * @return {boolean}
44364
44032
  */
44365
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.hasFilter = function() {
44033
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.hasActiveAfter = function() {
44366
44034
  return jspb.Message.getField(this, 3) != null;
44367
44035
  };
44368
44036
 
44369
44037
 
44370
44038
  /**
44371
- * optional SessionInsightSort sort = 4;
44372
- * @return {!proto.gateway.web.v1.SessionInsightSort}
44373
- */
44374
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.getSort = function() {
44375
- return /** @type {!proto.gateway.web.v1.SessionInsightSort} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
44376
- };
44377
-
44378
-
44379
- /**
44380
- * @param {!proto.gateway.web.v1.SessionInsightSort} value
44381
- * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
44382
- */
44383
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setSort = function(value) {
44384
- return jspb.Message.setProto3EnumField(this, 4, value);
44385
- };
44386
-
44387
-
44388
- /**
44389
- * optional int32 page_size = 5;
44390
- * @return {number}
44039
+ * optional google.protobuf.Timestamp prior_active_after = 4;
44040
+ * @return {?proto.google.protobuf.Timestamp}
44391
44041
  */
44392
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.getPageSize = function() {
44393
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
44042
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.getPriorActiveAfter = function() {
44043
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
44044
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
44394
44045
  };
44395
44046
 
44396
44047
 
44397
44048
  /**
44398
- * @param {number} value
44399
- * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
44400
- */
44401
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setPageSize = function(value) {
44402
- return jspb.Message.setProto3IntField(this, 5, value);
44049
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
44050
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsRequest} returns this
44051
+ */
44052
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.setPriorActiveAfter = function(value) {
44053
+ return jspb.Message.setWrapperField(this, 4, value);
44403
44054
  };
44404
44055
 
44405
44056
 
44406
44057
  /**
44407
- * optional string page_token = 6;
44408
- * @return {string}
44058
+ * Clears the message field making it undefined.
44059
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsRequest} returns this
44409
44060
  */
44410
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.getPageToken = function() {
44411
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
44061
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.clearPriorActiveAfter = function() {
44062
+ return this.setPriorActiveAfter(undefined);
44412
44063
  };
44413
44064
 
44414
44065
 
44415
44066
  /**
44416
- * @param {string} value
44417
- * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
44067
+ * Returns whether this field is set.
44068
+ * @return {boolean}
44418
44069
  */
44419
- proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setPageToken = function(value) {
44420
- return jspb.Message.setProto3StringField(this, 6, value);
44070
+ proto.gateway.web.v1.GetSessionPeriodTotalsRequest.prototype.hasPriorActiveAfter = function() {
44071
+ return jspb.Message.getField(this, 4) != null;
44421
44072
  };
44422
44073
 
44423
44074
 
@@ -44427,7 +44078,7 @@ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setPageToken = functio
44427
44078
  * @private {!Array<number>}
44428
44079
  * @const
44429
44080
  */
44430
- proto.gateway.web.v1.SessionInsightFilter.repeatedFields_ = [1,2,3];
44081
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.repeatedFields_ = [4,5,6];
44431
44082
 
44432
44083
 
44433
44084
 
@@ -44444,8 +44095,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
44444
44095
  * http://goto/soy-param-migration
44445
44096
  * @return {!Object}
44446
44097
  */
44447
- proto.gateway.web.v1.SessionInsightFilter.prototype.toObject = function(opt_includeInstance) {
44448
- return proto.gateway.web.v1.SessionInsightFilter.toObject(opt_includeInstance, this);
44098
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.toObject = function(opt_includeInstance) {
44099
+ return proto.gateway.web.v1.GetSessionPeriodTotalsResponse.toObject(opt_includeInstance, this);
44449
44100
  };
44450
44101
 
44451
44102
 
@@ -44454,15 +44105,21 @@ proto.gateway.web.v1.SessionInsightFilter.prototype.toObject = function(opt_incl
44454
44105
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
44455
44106
  * the JSPB instance for transitional soy proto support:
44456
44107
  * http://goto/soy-param-migration
44457
- * @param {!proto.gateway.web.v1.SessionInsightFilter} msg The msg instance to transform.
44108
+ * @param {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} msg The msg instance to transform.
44458
44109
  * @return {!Object}
44459
44110
  * @suppress {unusedLocalVariables} f is only used for nested messages
44460
44111
  */
44461
- proto.gateway.web.v1.SessionInsightFilter.toObject = function(includeInstance, msg) {
44112
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.toObject = function(includeInstance, msg) {
44462
44113
  var f, obj = {
44463
- userIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
44464
- sourceSystemsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
44465
- topicKeysList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
44114
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
44115
+ totals: (f = msg.getTotals()) && proto.gateway.web.v1.SessionPeriodTotals.toObject(includeInstance, f),
44116
+ priorTotals: (f = msg.getPriorTotals()) && proto.gateway.web.v1.SessionPeriodTotals.toObject(includeInstance, f),
44117
+ actorsList: jspb.Message.toObjectList(msg.getActorsList(),
44118
+ proto.gateway.web.v1.SessionActorUsage.toObject, includeInstance),
44119
+ workTypeCountsList: jspb.Message.toObjectList(msg.getWorkTypeCountsList(),
44120
+ proto.gateway.web.v1.SessionWorkTypeCount.toObject, includeInstance),
44121
+ workSizeCountsList: jspb.Message.toObjectList(msg.getWorkSizeCountsList(),
44122
+ proto.gateway.web.v1.SessionWorkSizeCount.toObject, includeInstance)
44466
44123
  };
44467
44124
 
44468
44125
  if (includeInstance) {
@@ -44476,23 +44133,23 @@ topicKeysList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined :
44476
44133
  /**
44477
44134
  * Deserializes binary data (in protobuf wire format).
44478
44135
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
44479
- * @return {!proto.gateway.web.v1.SessionInsightFilter}
44136
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse}
44480
44137
  */
44481
- proto.gateway.web.v1.SessionInsightFilter.deserializeBinary = function(bytes) {
44138
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.deserializeBinary = function(bytes) {
44482
44139
  var reader = new jspb.BinaryReader(bytes);
44483
- var msg = new proto.gateway.web.v1.SessionInsightFilter;
44484
- return proto.gateway.web.v1.SessionInsightFilter.deserializeBinaryFromReader(msg, reader);
44140
+ var msg = new proto.gateway.web.v1.GetSessionPeriodTotalsResponse;
44141
+ return proto.gateway.web.v1.GetSessionPeriodTotalsResponse.deserializeBinaryFromReader(msg, reader);
44485
44142
  };
44486
44143
 
44487
44144
 
44488
44145
  /**
44489
44146
  * Deserializes binary data (in protobuf wire format) from the
44490
44147
  * given reader into the given message object.
44491
- * @param {!proto.gateway.web.v1.SessionInsightFilter} msg The message object to deserialize into.
44148
+ * @param {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} msg The message object to deserialize into.
44492
44149
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
44493
- * @return {!proto.gateway.web.v1.SessionInsightFilter}
44150
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse}
44494
44151
  */
44495
- proto.gateway.web.v1.SessionInsightFilter.deserializeBinaryFromReader = function(msg, reader) {
44152
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.deserializeBinaryFromReader = function(msg, reader) {
44496
44153
  while (reader.nextField()) {
44497
44154
  if (reader.isEndGroup()) {
44498
44155
  break;
@@ -44500,16 +44157,34 @@ proto.gateway.web.v1.SessionInsightFilter.deserializeBinaryFromReader = function
44500
44157
  var field = reader.getFieldNumber();
44501
44158
  switch (field) {
44502
44159
  case 1:
44503
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
44504
- msg.addUserIds(value);
44160
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
44161
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
44162
+ msg.setStatus(value);
44505
44163
  break;
44506
44164
  case 2:
44507
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
44508
- msg.addSourceSystems(value);
44165
+ var value = new proto.gateway.web.v1.SessionPeriodTotals;
44166
+ reader.readMessage(value,proto.gateway.web.v1.SessionPeriodTotals.deserializeBinaryFromReader);
44167
+ msg.setTotals(value);
44509
44168
  break;
44510
44169
  case 3:
44511
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
44512
- msg.addTopicKeys(value);
44170
+ var value = new proto.gateway.web.v1.SessionPeriodTotals;
44171
+ reader.readMessage(value,proto.gateway.web.v1.SessionPeriodTotals.deserializeBinaryFromReader);
44172
+ msg.setPriorTotals(value);
44173
+ break;
44174
+ case 4:
44175
+ var value = new proto.gateway.web.v1.SessionActorUsage;
44176
+ reader.readMessage(value,proto.gateway.web.v1.SessionActorUsage.deserializeBinaryFromReader);
44177
+ msg.addActors(value);
44178
+ break;
44179
+ case 5:
44180
+ var value = new proto.gateway.web.v1.SessionWorkTypeCount;
44181
+ reader.readMessage(value,proto.gateway.web.v1.SessionWorkTypeCount.deserializeBinaryFromReader);
44182
+ msg.addWorkTypeCounts(value);
44183
+ break;
44184
+ case 6:
44185
+ var value = new proto.gateway.web.v1.SessionWorkSizeCount;
44186
+ reader.readMessage(value,proto.gateway.web.v1.SessionWorkSizeCount.deserializeBinaryFromReader);
44187
+ msg.addWorkSizeCounts(value);
44513
44188
  break;
44514
44189
  default:
44515
44190
  reader.skipField();
@@ -44524,9 +44199,9 @@ proto.gateway.web.v1.SessionInsightFilter.deserializeBinaryFromReader = function
44524
44199
  * Serializes the message to binary data (in protobuf wire format).
44525
44200
  * @return {!Uint8Array}
44526
44201
  */
44527
- proto.gateway.web.v1.SessionInsightFilter.prototype.serializeBinary = function() {
44202
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.serializeBinary = function() {
44528
44203
  var writer = new jspb.BinaryWriter();
44529
- proto.gateway.web.v1.SessionInsightFilter.serializeBinaryToWriter(this, writer);
44204
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.serializeBinaryToWriter(this, writer);
44530
44205
  return writer.getResultBuffer();
44531
44206
  };
44532
44207
 
@@ -44534,154 +44209,288 @@ proto.gateway.web.v1.SessionInsightFilter.prototype.serializeBinary = function()
44534
44209
  /**
44535
44210
  * Serializes the given message to binary data (in protobuf wire
44536
44211
  * format), writing to the given BinaryWriter.
44537
- * @param {!proto.gateway.web.v1.SessionInsightFilter} message
44212
+ * @param {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} message
44538
44213
  * @param {!jspb.BinaryWriter} writer
44539
44214
  * @suppress {unusedLocalVariables} f is only used for nested messages
44540
44215
  */
44541
- proto.gateway.web.v1.SessionInsightFilter.serializeBinaryToWriter = function(message, writer) {
44216
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.serializeBinaryToWriter = function(message, writer) {
44542
44217
  var f = undefined;
44543
- f = message.getUserIdsList();
44544
- if (f.length > 0) {
44545
- writer.writeRepeatedString(
44218
+ f = message.getStatus();
44219
+ if (f != null) {
44220
+ writer.writeMessage(
44546
44221
  1,
44547
- f
44222
+ f,
44223
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
44548
44224
  );
44549
44225
  }
44550
- f = message.getSourceSystemsList();
44551
- if (f.length > 0) {
44552
- writer.writeRepeatedString(
44226
+ f = message.getTotals();
44227
+ if (f != null) {
44228
+ writer.writeMessage(
44553
44229
  2,
44554
- f
44230
+ f,
44231
+ proto.gateway.web.v1.SessionPeriodTotals.serializeBinaryToWriter
44555
44232
  );
44556
44233
  }
44557
- f = message.getTopicKeysList();
44558
- if (f.length > 0) {
44559
- writer.writeRepeatedString(
44234
+ f = message.getPriorTotals();
44235
+ if (f != null) {
44236
+ writer.writeMessage(
44560
44237
  3,
44561
- f
44238
+ f,
44239
+ proto.gateway.web.v1.SessionPeriodTotals.serializeBinaryToWriter
44240
+ );
44241
+ }
44242
+ f = message.getActorsList();
44243
+ if (f.length > 0) {
44244
+ writer.writeRepeatedMessage(
44245
+ 4,
44246
+ f,
44247
+ proto.gateway.web.v1.SessionActorUsage.serializeBinaryToWriter
44248
+ );
44249
+ }
44250
+ f = message.getWorkTypeCountsList();
44251
+ if (f.length > 0) {
44252
+ writer.writeRepeatedMessage(
44253
+ 5,
44254
+ f,
44255
+ proto.gateway.web.v1.SessionWorkTypeCount.serializeBinaryToWriter
44256
+ );
44257
+ }
44258
+ f = message.getWorkSizeCountsList();
44259
+ if (f.length > 0) {
44260
+ writer.writeRepeatedMessage(
44261
+ 6,
44262
+ f,
44263
+ proto.gateway.web.v1.SessionWorkSizeCount.serializeBinaryToWriter
44562
44264
  );
44563
44265
  }
44564
44266
  };
44565
44267
 
44566
44268
 
44567
44269
  /**
44568
- * repeated string user_ids = 1;
44569
- * @return {!Array<string>}
44270
+ * optional gateway.common.v1.ResponseStatus status = 1;
44271
+ * @return {?proto.gateway.common.v1.ResponseStatus}
44570
44272
  */
44571
- proto.gateway.web.v1.SessionInsightFilter.prototype.getUserIdsList = function() {
44572
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
44273
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.getStatus = function() {
44274
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
44275
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
44573
44276
  };
44574
44277
 
44575
44278
 
44576
44279
  /**
44577
- * @param {!Array<string>} value
44578
- * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
44280
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
44281
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} returns this
44282
+ */
44283
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.setStatus = function(value) {
44284
+ return jspb.Message.setWrapperField(this, 1, value);
44285
+ };
44286
+
44287
+
44288
+ /**
44289
+ * Clears the message field making it undefined.
44290
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} returns this
44579
44291
  */
44580
- proto.gateway.web.v1.SessionInsightFilter.prototype.setUserIdsList = function(value) {
44581
- return jspb.Message.setField(this, 1, value || []);
44292
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.clearStatus = function() {
44293
+ return this.setStatus(undefined);
44582
44294
  };
44583
44295
 
44584
44296
 
44585
44297
  /**
44586
- * @param {string} value
44587
- * @param {number=} opt_index
44588
- * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
44298
+ * Returns whether this field is set.
44299
+ * @return {boolean}
44589
44300
  */
44590
- proto.gateway.web.v1.SessionInsightFilter.prototype.addUserIds = function(value, opt_index) {
44591
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
44301
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.hasStatus = function() {
44302
+ return jspb.Message.getField(this, 1) != null;
44592
44303
  };
44593
44304
 
44594
44305
 
44595
44306
  /**
44596
- * Clears the list making it empty but non-null.
44597
- * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
44307
+ * optional SessionPeriodTotals totals = 2;
44308
+ * @return {?proto.gateway.web.v1.SessionPeriodTotals}
44598
44309
  */
44599
- proto.gateway.web.v1.SessionInsightFilter.prototype.clearUserIdsList = function() {
44600
- return this.setUserIdsList([]);
44310
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.getTotals = function() {
44311
+ return /** @type{?proto.gateway.web.v1.SessionPeriodTotals} */ (
44312
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.SessionPeriodTotals, 2));
44601
44313
  };
44602
44314
 
44603
44315
 
44604
44316
  /**
44605
- * repeated string source_systems = 2;
44606
- * @return {!Array<string>}
44317
+ * @param {?proto.gateway.web.v1.SessionPeriodTotals|undefined} value
44318
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} returns this
44319
+ */
44320
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.setTotals = function(value) {
44321
+ return jspb.Message.setWrapperField(this, 2, value);
44322
+ };
44323
+
44324
+
44325
+ /**
44326
+ * Clears the message field making it undefined.
44327
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} returns this
44607
44328
  */
44608
- proto.gateway.web.v1.SessionInsightFilter.prototype.getSourceSystemsList = function() {
44609
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
44329
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.clearTotals = function() {
44330
+ return this.setTotals(undefined);
44610
44331
  };
44611
44332
 
44612
44333
 
44613
44334
  /**
44614
- * @param {!Array<string>} value
44615
- * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
44335
+ * Returns whether this field is set.
44336
+ * @return {boolean}
44616
44337
  */
44617
- proto.gateway.web.v1.SessionInsightFilter.prototype.setSourceSystemsList = function(value) {
44618
- return jspb.Message.setField(this, 2, value || []);
44338
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.hasTotals = function() {
44339
+ return jspb.Message.getField(this, 2) != null;
44619
44340
  };
44620
44341
 
44621
44342
 
44622
44343
  /**
44623
- * @param {string} value
44344
+ * optional SessionPeriodTotals prior_totals = 3;
44345
+ * @return {?proto.gateway.web.v1.SessionPeriodTotals}
44346
+ */
44347
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.getPriorTotals = function() {
44348
+ return /** @type{?proto.gateway.web.v1.SessionPeriodTotals} */ (
44349
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.SessionPeriodTotals, 3));
44350
+ };
44351
+
44352
+
44353
+ /**
44354
+ * @param {?proto.gateway.web.v1.SessionPeriodTotals|undefined} value
44355
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} returns this
44356
+ */
44357
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.setPriorTotals = function(value) {
44358
+ return jspb.Message.setWrapperField(this, 3, value);
44359
+ };
44360
+
44361
+
44362
+ /**
44363
+ * Clears the message field making it undefined.
44364
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} returns this
44365
+ */
44366
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.clearPriorTotals = function() {
44367
+ return this.setPriorTotals(undefined);
44368
+ };
44369
+
44370
+
44371
+ /**
44372
+ * Returns whether this field is set.
44373
+ * @return {boolean}
44374
+ */
44375
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.hasPriorTotals = function() {
44376
+ return jspb.Message.getField(this, 3) != null;
44377
+ };
44378
+
44379
+
44380
+ /**
44381
+ * repeated SessionActorUsage actors = 4;
44382
+ * @return {!Array<!proto.gateway.web.v1.SessionActorUsage>}
44383
+ */
44384
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.getActorsList = function() {
44385
+ return /** @type{!Array<!proto.gateway.web.v1.SessionActorUsage>} */ (
44386
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.SessionActorUsage, 4));
44387
+ };
44388
+
44389
+
44390
+ /**
44391
+ * @param {!Array<!proto.gateway.web.v1.SessionActorUsage>} value
44392
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} returns this
44393
+ */
44394
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.setActorsList = function(value) {
44395
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
44396
+ };
44397
+
44398
+
44399
+ /**
44400
+ * @param {!proto.gateway.web.v1.SessionActorUsage=} opt_value
44624
44401
  * @param {number=} opt_index
44625
- * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
44402
+ * @return {!proto.gateway.web.v1.SessionActorUsage}
44626
44403
  */
44627
- proto.gateway.web.v1.SessionInsightFilter.prototype.addSourceSystems = function(value, opt_index) {
44628
- return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
44404
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.addActors = function(opt_value, opt_index) {
44405
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.gateway.web.v1.SessionActorUsage, opt_index);
44629
44406
  };
44630
44407
 
44631
44408
 
44632
44409
  /**
44633
44410
  * Clears the list making it empty but non-null.
44634
- * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
44411
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} returns this
44635
44412
  */
44636
- proto.gateway.web.v1.SessionInsightFilter.prototype.clearSourceSystemsList = function() {
44637
- return this.setSourceSystemsList([]);
44413
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.clearActorsList = function() {
44414
+ return this.setActorsList([]);
44638
44415
  };
44639
44416
 
44640
44417
 
44641
44418
  /**
44642
- * repeated string topic_keys = 3;
44643
- * @return {!Array<string>}
44419
+ * repeated SessionWorkTypeCount work_type_counts = 5;
44420
+ * @return {!Array<!proto.gateway.web.v1.SessionWorkTypeCount>}
44644
44421
  */
44645
- proto.gateway.web.v1.SessionInsightFilter.prototype.getTopicKeysList = function() {
44646
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
44422
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.getWorkTypeCountsList = function() {
44423
+ return /** @type{!Array<!proto.gateway.web.v1.SessionWorkTypeCount>} */ (
44424
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.SessionWorkTypeCount, 5));
44647
44425
  };
44648
44426
 
44649
44427
 
44650
44428
  /**
44651
- * @param {!Array<string>} value
44652
- * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
44653
- */
44654
- proto.gateway.web.v1.SessionInsightFilter.prototype.setTopicKeysList = function(value) {
44655
- return jspb.Message.setField(this, 3, value || []);
44429
+ * @param {!Array<!proto.gateway.web.v1.SessionWorkTypeCount>} value
44430
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} returns this
44431
+ */
44432
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.setWorkTypeCountsList = function(value) {
44433
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
44656
44434
  };
44657
44435
 
44658
44436
 
44659
44437
  /**
44660
- * @param {string} value
44438
+ * @param {!proto.gateway.web.v1.SessionWorkTypeCount=} opt_value
44661
44439
  * @param {number=} opt_index
44662
- * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
44440
+ * @return {!proto.gateway.web.v1.SessionWorkTypeCount}
44663
44441
  */
44664
- proto.gateway.web.v1.SessionInsightFilter.prototype.addTopicKeys = function(value, opt_index) {
44665
- return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
44442
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.addWorkTypeCounts = function(opt_value, opt_index) {
44443
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.gateway.web.v1.SessionWorkTypeCount, opt_index);
44666
44444
  };
44667
44445
 
44668
44446
 
44669
44447
  /**
44670
44448
  * Clears the list making it empty but non-null.
44671
- * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
44449
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} returns this
44450
+ */
44451
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.clearWorkTypeCountsList = function() {
44452
+ return this.setWorkTypeCountsList([]);
44453
+ };
44454
+
44455
+
44456
+ /**
44457
+ * repeated SessionWorkSizeCount work_size_counts = 6;
44458
+ * @return {!Array<!proto.gateway.web.v1.SessionWorkSizeCount>}
44672
44459
  */
44673
- proto.gateway.web.v1.SessionInsightFilter.prototype.clearTopicKeysList = function() {
44674
- return this.setTopicKeysList([]);
44460
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.getWorkSizeCountsList = function() {
44461
+ return /** @type{!Array<!proto.gateway.web.v1.SessionWorkSizeCount>} */ (
44462
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.SessionWorkSizeCount, 6));
44675
44463
  };
44676
44464
 
44677
44465
 
44466
+ /**
44467
+ * @param {!Array<!proto.gateway.web.v1.SessionWorkSizeCount>} value
44468
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} returns this
44469
+ */
44470
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.setWorkSizeCountsList = function(value) {
44471
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
44472
+ };
44473
+
44678
44474
 
44679
44475
  /**
44680
- * List of repeated fields within this message type.
44681
- * @private {!Array<number>}
44682
- * @const
44476
+ * @param {!proto.gateway.web.v1.SessionWorkSizeCount=} opt_value
44477
+ * @param {number=} opt_index
44478
+ * @return {!proto.gateway.web.v1.SessionWorkSizeCount}
44479
+ */
44480
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.addWorkSizeCounts = function(opt_value, opt_index) {
44481
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.gateway.web.v1.SessionWorkSizeCount, opt_index);
44482
+ };
44483
+
44484
+
44485
+ /**
44486
+ * Clears the list making it empty but non-null.
44487
+ * @return {!proto.gateway.web.v1.GetSessionPeriodTotalsResponse} returns this
44683
44488
  */
44684
- proto.gateway.web.v1.ListSessionInsightsResponse.repeatedFields_ = [2];
44489
+ proto.gateway.web.v1.GetSessionPeriodTotalsResponse.prototype.clearWorkSizeCountsList = function() {
44490
+ return this.setWorkSizeCountsList([]);
44491
+ };
44492
+
44493
+
44685
44494
 
44686
44495
 
44687
44496
 
@@ -44698,8 +44507,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
44698
44507
  * http://goto/soy-param-migration
44699
44508
  * @return {!Object}
44700
44509
  */
44701
- proto.gateway.web.v1.ListSessionInsightsResponse.prototype.toObject = function(opt_includeInstance) {
44702
- return proto.gateway.web.v1.ListSessionInsightsResponse.toObject(opt_includeInstance, this);
44510
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.toObject = function(opt_includeInstance) {
44511
+ return proto.gateway.web.v1.SessionPeriodTotals.toObject(opt_includeInstance, this);
44703
44512
  };
44704
44513
 
44705
44514
 
@@ -44708,16 +44517,21 @@ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.toObject = function(o
44708
44517
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
44709
44518
  * the JSPB instance for transitional soy proto support:
44710
44519
  * http://goto/soy-param-migration
44711
- * @param {!proto.gateway.web.v1.ListSessionInsightsResponse} msg The msg instance to transform.
44520
+ * @param {!proto.gateway.web.v1.SessionPeriodTotals} msg The msg instance to transform.
44712
44521
  * @return {!Object}
44713
44522
  * @suppress {unusedLocalVariables} f is only used for nested messages
44714
44523
  */
44715
- proto.gateway.web.v1.ListSessionInsightsResponse.toObject = function(includeInstance, msg) {
44524
+ proto.gateway.web.v1.SessionPeriodTotals.toObject = function(includeInstance, msg) {
44716
44525
  var f, obj = {
44717
- status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
44718
- insightsList: jspb.Message.toObjectList(msg.getInsightsList(),
44719
- proto.gateway.web.v1.SessionInsightEntry.toObject, includeInstance),
44720
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
44526
+ sessions: jspb.Message.getFieldWithDefault(msg, 1, 0),
44527
+ sessionsWithCommits: jspb.Message.getFieldWithDefault(msg, 2, 0),
44528
+ commits: jspb.Message.getFieldWithDefault(msg, 3, 0),
44529
+ gitPushes: jspb.Message.getFieldWithDefault(msg, 4, 0),
44530
+ pullRequestsCreated: jspb.Message.getFieldWithDefault(msg, 5, 0),
44531
+ pullRequestsMerged: jspb.Message.getFieldWithDefault(msg, 6, 0),
44532
+ inputTokens: jspb.Message.getFieldWithDefault(msg, 7, 0),
44533
+ outputTokens: jspb.Message.getFieldWithDefault(msg, 8, 0),
44534
+ unpricedTokens: jspb.Message.getFieldWithDefault(msg, 9, 0)
44721
44535
  };
44722
44536
 
44723
44537
  if (includeInstance) {
@@ -44731,23 +44545,23 @@ nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
44731
44545
  /**
44732
44546
  * Deserializes binary data (in protobuf wire format).
44733
44547
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
44734
- * @return {!proto.gateway.web.v1.ListSessionInsightsResponse}
44548
+ * @return {!proto.gateway.web.v1.SessionPeriodTotals}
44735
44549
  */
44736
- proto.gateway.web.v1.ListSessionInsightsResponse.deserializeBinary = function(bytes) {
44550
+ proto.gateway.web.v1.SessionPeriodTotals.deserializeBinary = function(bytes) {
44737
44551
  var reader = new jspb.BinaryReader(bytes);
44738
- var msg = new proto.gateway.web.v1.ListSessionInsightsResponse;
44739
- return proto.gateway.web.v1.ListSessionInsightsResponse.deserializeBinaryFromReader(msg, reader);
44552
+ var msg = new proto.gateway.web.v1.SessionPeriodTotals;
44553
+ return proto.gateway.web.v1.SessionPeriodTotals.deserializeBinaryFromReader(msg, reader);
44740
44554
  };
44741
44555
 
44742
44556
 
44743
44557
  /**
44744
44558
  * Deserializes binary data (in protobuf wire format) from the
44745
44559
  * given reader into the given message object.
44746
- * @param {!proto.gateway.web.v1.ListSessionInsightsResponse} msg The message object to deserialize into.
44560
+ * @param {!proto.gateway.web.v1.SessionPeriodTotals} msg The message object to deserialize into.
44747
44561
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
44748
- * @return {!proto.gateway.web.v1.ListSessionInsightsResponse}
44562
+ * @return {!proto.gateway.web.v1.SessionPeriodTotals}
44749
44563
  */
44750
- proto.gateway.web.v1.ListSessionInsightsResponse.deserializeBinaryFromReader = function(msg, reader) {
44564
+ proto.gateway.web.v1.SessionPeriodTotals.deserializeBinaryFromReader = function(msg, reader) {
44751
44565
  while (reader.nextField()) {
44752
44566
  if (reader.isEndGroup()) {
44753
44567
  break;
@@ -44755,18 +44569,40 @@ proto.gateway.web.v1.ListSessionInsightsResponse.deserializeBinaryFromReader = f
44755
44569
  var field = reader.getFieldNumber();
44756
44570
  switch (field) {
44757
44571
  case 1:
44758
- var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
44759
- reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
44760
- msg.setStatus(value);
44572
+ var value = /** @type {number} */ (reader.readUint64());
44573
+ msg.setSessions(value);
44761
44574
  break;
44762
44575
  case 2:
44763
- var value = new proto.gateway.web.v1.SessionInsightEntry;
44764
- reader.readMessage(value,proto.gateway.web.v1.SessionInsightEntry.deserializeBinaryFromReader);
44765
- msg.addInsights(value);
44576
+ var value = /** @type {number} */ (reader.readUint64());
44577
+ msg.setSessionsWithCommits(value);
44766
44578
  break;
44767
44579
  case 3:
44768
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
44769
- msg.setNextPageToken(value);
44580
+ var value = /** @type {number} */ (reader.readUint64());
44581
+ msg.setCommits(value);
44582
+ break;
44583
+ case 4:
44584
+ var value = /** @type {number} */ (reader.readUint64());
44585
+ msg.setGitPushes(value);
44586
+ break;
44587
+ case 5:
44588
+ var value = /** @type {number} */ (reader.readUint64());
44589
+ msg.setPullRequestsCreated(value);
44590
+ break;
44591
+ case 6:
44592
+ var value = /** @type {number} */ (reader.readUint64());
44593
+ msg.setPullRequestsMerged(value);
44594
+ break;
44595
+ case 7:
44596
+ var value = /** @type {number} */ (reader.readUint64());
44597
+ msg.setInputTokens(value);
44598
+ break;
44599
+ case 8:
44600
+ var value = /** @type {number} */ (reader.readUint64());
44601
+ msg.setOutputTokens(value);
44602
+ break;
44603
+ case 9:
44604
+ var value = /** @type {number} */ (reader.readUint64());
44605
+ msg.setUnpricedTokens(value);
44770
44606
  break;
44771
44607
  default:
44772
44608
  reader.skipField();
@@ -44781,9 +44617,9 @@ proto.gateway.web.v1.ListSessionInsightsResponse.deserializeBinaryFromReader = f
44781
44617
  * Serializes the message to binary data (in protobuf wire format).
44782
44618
  * @return {!Uint8Array}
44783
44619
  */
44784
- proto.gateway.web.v1.ListSessionInsightsResponse.prototype.serializeBinary = function() {
44620
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.serializeBinary = function() {
44785
44621
  var writer = new jspb.BinaryWriter();
44786
- proto.gateway.web.v1.ListSessionInsightsResponse.serializeBinaryToWriter(this, writer);
44622
+ proto.gateway.web.v1.SessionPeriodTotals.serializeBinaryToWriter(this, writer);
44787
44623
  return writer.getResultBuffer();
44788
44624
  };
44789
44625
 
@@ -44791,128 +44627,237 @@ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.serializeBinary = fun
44791
44627
  /**
44792
44628
  * Serializes the given message to binary data (in protobuf wire
44793
44629
  * format), writing to the given BinaryWriter.
44794
- * @param {!proto.gateway.web.v1.ListSessionInsightsResponse} message
44630
+ * @param {!proto.gateway.web.v1.SessionPeriodTotals} message
44795
44631
  * @param {!jspb.BinaryWriter} writer
44796
44632
  * @suppress {unusedLocalVariables} f is only used for nested messages
44797
44633
  */
44798
- proto.gateway.web.v1.ListSessionInsightsResponse.serializeBinaryToWriter = function(message, writer) {
44634
+ proto.gateway.web.v1.SessionPeriodTotals.serializeBinaryToWriter = function(message, writer) {
44799
44635
  var f = undefined;
44800
- f = message.getStatus();
44801
- if (f != null) {
44802
- writer.writeMessage(
44636
+ f = message.getSessions();
44637
+ if (f !== 0) {
44638
+ writer.writeUint64(
44803
44639
  1,
44804
- f,
44805
- proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
44640
+ f
44806
44641
  );
44807
44642
  }
44808
- f = message.getInsightsList();
44809
- if (f.length > 0) {
44810
- writer.writeRepeatedMessage(
44643
+ f = message.getSessionsWithCommits();
44644
+ if (f !== 0) {
44645
+ writer.writeUint64(
44811
44646
  2,
44812
- f,
44813
- proto.gateway.web.v1.SessionInsightEntry.serializeBinaryToWriter
44647
+ f
44814
44648
  );
44815
44649
  }
44816
- f = message.getNextPageToken();
44817
- if (f.length > 0) {
44818
- writer.writeString(
44650
+ f = message.getCommits();
44651
+ if (f !== 0) {
44652
+ writer.writeUint64(
44819
44653
  3,
44820
44654
  f
44821
44655
  );
44822
44656
  }
44657
+ f = message.getGitPushes();
44658
+ if (f !== 0) {
44659
+ writer.writeUint64(
44660
+ 4,
44661
+ f
44662
+ );
44663
+ }
44664
+ f = message.getPullRequestsCreated();
44665
+ if (f !== 0) {
44666
+ writer.writeUint64(
44667
+ 5,
44668
+ f
44669
+ );
44670
+ }
44671
+ f = message.getPullRequestsMerged();
44672
+ if (f !== 0) {
44673
+ writer.writeUint64(
44674
+ 6,
44675
+ f
44676
+ );
44677
+ }
44678
+ f = message.getInputTokens();
44679
+ if (f !== 0) {
44680
+ writer.writeUint64(
44681
+ 7,
44682
+ f
44683
+ );
44684
+ }
44685
+ f = message.getOutputTokens();
44686
+ if (f !== 0) {
44687
+ writer.writeUint64(
44688
+ 8,
44689
+ f
44690
+ );
44691
+ }
44692
+ f = message.getUnpricedTokens();
44693
+ if (f !== 0) {
44694
+ writer.writeUint64(
44695
+ 9,
44696
+ f
44697
+ );
44698
+ }
44823
44699
  };
44824
44700
 
44825
44701
 
44826
44702
  /**
44827
- * optional gateway.common.v1.ResponseStatus status = 1;
44828
- * @return {?proto.gateway.common.v1.ResponseStatus}
44703
+ * optional uint64 sessions = 1;
44704
+ * @return {number}
44829
44705
  */
44830
- proto.gateway.web.v1.ListSessionInsightsResponse.prototype.getStatus = function() {
44831
- return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
44832
- jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
44706
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.getSessions = function() {
44707
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
44833
44708
  };
44834
44709
 
44835
44710
 
44836
44711
  /**
44837
- * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
44838
- * @return {!proto.gateway.web.v1.ListSessionInsightsResponse} returns this
44839
- */
44840
- proto.gateway.web.v1.ListSessionInsightsResponse.prototype.setStatus = function(value) {
44841
- return jspb.Message.setWrapperField(this, 1, value);
44712
+ * @param {number} value
44713
+ * @return {!proto.gateway.web.v1.SessionPeriodTotals} returns this
44714
+ */
44715
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.setSessions = function(value) {
44716
+ return jspb.Message.setProto3IntField(this, 1, value);
44842
44717
  };
44843
44718
 
44844
44719
 
44845
44720
  /**
44846
- * Clears the message field making it undefined.
44847
- * @return {!proto.gateway.web.v1.ListSessionInsightsResponse} returns this
44721
+ * optional uint64 sessions_with_commits = 2;
44722
+ * @return {number}
44848
44723
  */
44849
- proto.gateway.web.v1.ListSessionInsightsResponse.prototype.clearStatus = function() {
44850
- return this.setStatus(undefined);
44724
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.getSessionsWithCommits = function() {
44725
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
44851
44726
  };
44852
44727
 
44853
44728
 
44854
44729
  /**
44855
- * Returns whether this field is set.
44856
- * @return {boolean}
44730
+ * @param {number} value
44731
+ * @return {!proto.gateway.web.v1.SessionPeriodTotals} returns this
44857
44732
  */
44858
- proto.gateway.web.v1.ListSessionInsightsResponse.prototype.hasStatus = function() {
44859
- return jspb.Message.getField(this, 1) != null;
44733
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.setSessionsWithCommits = function(value) {
44734
+ return jspb.Message.setProto3IntField(this, 2, value);
44860
44735
  };
44861
44736
 
44862
44737
 
44863
44738
  /**
44864
- * repeated SessionInsightEntry insights = 2;
44865
- * @return {!Array<!proto.gateway.web.v1.SessionInsightEntry>}
44739
+ * optional uint64 commits = 3;
44740
+ * @return {number}
44866
44741
  */
44867
- proto.gateway.web.v1.ListSessionInsightsResponse.prototype.getInsightsList = function() {
44868
- return /** @type{!Array<!proto.gateway.web.v1.SessionInsightEntry>} */ (
44869
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.SessionInsightEntry, 2));
44742
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.getCommits = function() {
44743
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
44870
44744
  };
44871
44745
 
44872
44746
 
44873
44747
  /**
44874
- * @param {!Array<!proto.gateway.web.v1.SessionInsightEntry>} value
44875
- * @return {!proto.gateway.web.v1.ListSessionInsightsResponse} returns this
44876
- */
44877
- proto.gateway.web.v1.ListSessionInsightsResponse.prototype.setInsightsList = function(value) {
44878
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
44748
+ * @param {number} value
44749
+ * @return {!proto.gateway.web.v1.SessionPeriodTotals} returns this
44750
+ */
44751
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.setCommits = function(value) {
44752
+ return jspb.Message.setProto3IntField(this, 3, value);
44879
44753
  };
44880
44754
 
44881
44755
 
44882
44756
  /**
44883
- * @param {!proto.gateway.web.v1.SessionInsightEntry=} opt_value
44884
- * @param {number=} opt_index
44885
- * @return {!proto.gateway.web.v1.SessionInsightEntry}
44757
+ * optional uint64 git_pushes = 4;
44758
+ * @return {number}
44886
44759
  */
44887
- proto.gateway.web.v1.ListSessionInsightsResponse.prototype.addInsights = function(opt_value, opt_index) {
44888
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.SessionInsightEntry, opt_index);
44760
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.getGitPushes = function() {
44761
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
44889
44762
  };
44890
44763
 
44891
44764
 
44892
44765
  /**
44893
- * Clears the list making it empty but non-null.
44894
- * @return {!proto.gateway.web.v1.ListSessionInsightsResponse} returns this
44766
+ * @param {number} value
44767
+ * @return {!proto.gateway.web.v1.SessionPeriodTotals} returns this
44895
44768
  */
44896
- proto.gateway.web.v1.ListSessionInsightsResponse.prototype.clearInsightsList = function() {
44897
- return this.setInsightsList([]);
44769
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.setGitPushes = function(value) {
44770
+ return jspb.Message.setProto3IntField(this, 4, value);
44898
44771
  };
44899
44772
 
44900
44773
 
44901
44774
  /**
44902
- * optional string next_page_token = 3;
44903
- * @return {string}
44775
+ * optional uint64 pull_requests_created = 5;
44776
+ * @return {number}
44904
44777
  */
44905
- proto.gateway.web.v1.ListSessionInsightsResponse.prototype.getNextPageToken = function() {
44906
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
44778
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.getPullRequestsCreated = function() {
44779
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
44907
44780
  };
44908
44781
 
44909
44782
 
44910
44783
  /**
44911
- * @param {string} value
44912
- * @return {!proto.gateway.web.v1.ListSessionInsightsResponse} returns this
44784
+ * @param {number} value
44785
+ * @return {!proto.gateway.web.v1.SessionPeriodTotals} returns this
44913
44786
  */
44914
- proto.gateway.web.v1.ListSessionInsightsResponse.prototype.setNextPageToken = function(value) {
44915
- return jspb.Message.setProto3StringField(this, 3, value);
44787
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.setPullRequestsCreated = function(value) {
44788
+ return jspb.Message.setProto3IntField(this, 5, value);
44789
+ };
44790
+
44791
+
44792
+ /**
44793
+ * optional uint64 pull_requests_merged = 6;
44794
+ * @return {number}
44795
+ */
44796
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.getPullRequestsMerged = function() {
44797
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
44798
+ };
44799
+
44800
+
44801
+ /**
44802
+ * @param {number} value
44803
+ * @return {!proto.gateway.web.v1.SessionPeriodTotals} returns this
44804
+ */
44805
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.setPullRequestsMerged = function(value) {
44806
+ return jspb.Message.setProto3IntField(this, 6, value);
44807
+ };
44808
+
44809
+
44810
+ /**
44811
+ * optional uint64 input_tokens = 7;
44812
+ * @return {number}
44813
+ */
44814
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.getInputTokens = function() {
44815
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
44816
+ };
44817
+
44818
+
44819
+ /**
44820
+ * @param {number} value
44821
+ * @return {!proto.gateway.web.v1.SessionPeriodTotals} returns this
44822
+ */
44823
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.setInputTokens = function(value) {
44824
+ return jspb.Message.setProto3IntField(this, 7, value);
44825
+ };
44826
+
44827
+
44828
+ /**
44829
+ * optional uint64 output_tokens = 8;
44830
+ * @return {number}
44831
+ */
44832
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.getOutputTokens = function() {
44833
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
44834
+ };
44835
+
44836
+
44837
+ /**
44838
+ * @param {number} value
44839
+ * @return {!proto.gateway.web.v1.SessionPeriodTotals} returns this
44840
+ */
44841
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.setOutputTokens = function(value) {
44842
+ return jspb.Message.setProto3IntField(this, 8, value);
44843
+ };
44844
+
44845
+
44846
+ /**
44847
+ * optional uint64 unpriced_tokens = 9;
44848
+ * @return {number}
44849
+ */
44850
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.getUnpricedTokens = function() {
44851
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
44852
+ };
44853
+
44854
+
44855
+ /**
44856
+ * @param {number} value
44857
+ * @return {!proto.gateway.web.v1.SessionPeriodTotals} returns this
44858
+ */
44859
+ proto.gateway.web.v1.SessionPeriodTotals.prototype.setUnpricedTokens = function(value) {
44860
+ return jspb.Message.setProto3IntField(this, 9, value);
44916
44861
  };
44917
44862
 
44918
44863
 
@@ -44932,8 +44877,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
44932
44877
  * http://goto/soy-param-migration
44933
44878
  * @return {!Object}
44934
44879
  */
44935
- proto.gateway.web.v1.SessionInsightEntry.prototype.toObject = function(opt_includeInstance) {
44936
- return proto.gateway.web.v1.SessionInsightEntry.toObject(opt_includeInstance, this);
44880
+ proto.gateway.web.v1.SessionActorUsage.prototype.toObject = function(opt_includeInstance) {
44881
+ return proto.gateway.web.v1.SessionActorUsage.toObject(opt_includeInstance, this);
44937
44882
  };
44938
44883
 
44939
44884
 
@@ -44942,16 +44887,19 @@ proto.gateway.web.v1.SessionInsightEntry.prototype.toObject = function(opt_inclu
44942
44887
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
44943
44888
  * the JSPB instance for transitional soy proto support:
44944
44889
  * http://goto/soy-param-migration
44945
- * @param {!proto.gateway.web.v1.SessionInsightEntry} msg The msg instance to transform.
44890
+ * @param {!proto.gateway.web.v1.SessionActorUsage} msg The msg instance to transform.
44946
44891
  * @return {!Object}
44947
44892
  * @suppress {unusedLocalVariables} f is only used for nested messages
44948
44893
  */
44949
- proto.gateway.web.v1.SessionInsightEntry.toObject = function(includeInstance, msg) {
44894
+ proto.gateway.web.v1.SessionActorUsage.toObject = function(includeInstance, msg) {
44950
44895
  var f, obj = {
44951
44896
  sourceSystem: jspb.Message.getFieldWithDefault(msg, 1, ""),
44952
- sessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
44953
- analyzedAt: (f = msg.getAnalyzedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
44954
- insight: (f = msg.getInsight()) && proto.gateway.web.v1.AISessionInsight.toObject(includeInstance, f)
44897
+ userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
44898
+ apiKeyId: jspb.Message.getFieldWithDefault(msg, 3, ""),
44899
+ inputTokens: jspb.Message.getFieldWithDefault(msg, 4, 0),
44900
+ outputTokens: jspb.Message.getFieldWithDefault(msg, 5, 0),
44901
+ providerCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
44902
+ subscriptionFacilityUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0)
44955
44903
  };
44956
44904
 
44957
44905
  if (includeInstance) {
@@ -44965,23 +44913,23 @@ insight: (f = msg.getInsight()) && proto.gateway.web.v1.AISessionInsight.toObjec
44965
44913
  /**
44966
44914
  * Deserializes binary data (in protobuf wire format).
44967
44915
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
44968
- * @return {!proto.gateway.web.v1.SessionInsightEntry}
44916
+ * @return {!proto.gateway.web.v1.SessionActorUsage}
44969
44917
  */
44970
- proto.gateway.web.v1.SessionInsightEntry.deserializeBinary = function(bytes) {
44918
+ proto.gateway.web.v1.SessionActorUsage.deserializeBinary = function(bytes) {
44971
44919
  var reader = new jspb.BinaryReader(bytes);
44972
- var msg = new proto.gateway.web.v1.SessionInsightEntry;
44973
- return proto.gateway.web.v1.SessionInsightEntry.deserializeBinaryFromReader(msg, reader);
44920
+ var msg = new proto.gateway.web.v1.SessionActorUsage;
44921
+ return proto.gateway.web.v1.SessionActorUsage.deserializeBinaryFromReader(msg, reader);
44974
44922
  };
44975
44923
 
44976
44924
 
44977
44925
  /**
44978
44926
  * Deserializes binary data (in protobuf wire format) from the
44979
44927
  * given reader into the given message object.
44980
- * @param {!proto.gateway.web.v1.SessionInsightEntry} msg The message object to deserialize into.
44928
+ * @param {!proto.gateway.web.v1.SessionActorUsage} msg The message object to deserialize into.
44981
44929
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
44982
- * @return {!proto.gateway.web.v1.SessionInsightEntry}
44930
+ * @return {!proto.gateway.web.v1.SessionActorUsage}
44983
44931
  */
44984
- proto.gateway.web.v1.SessionInsightEntry.deserializeBinaryFromReader = function(msg, reader) {
44932
+ proto.gateway.web.v1.SessionActorUsage.deserializeBinaryFromReader = function(msg, reader) {
44985
44933
  while (reader.nextField()) {
44986
44934
  if (reader.isEndGroup()) {
44987
44935
  break;
@@ -44994,17 +44942,27 @@ proto.gateway.web.v1.SessionInsightEntry.deserializeBinaryFromReader = function(
44994
44942
  break;
44995
44943
  case 2:
44996
44944
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
44997
- msg.setSessionId(value);
44945
+ msg.setUserId(value);
44998
44946
  break;
44999
44947
  case 3:
45000
- var value = new google_protobuf_timestamp_pb.Timestamp;
45001
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
45002
- msg.setAnalyzedAt(value);
44948
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
44949
+ msg.setApiKeyId(value);
45003
44950
  break;
45004
44951
  case 4:
45005
- var value = new proto.gateway.web.v1.AISessionInsight;
45006
- reader.readMessage(value,proto.gateway.web.v1.AISessionInsight.deserializeBinaryFromReader);
45007
- msg.setInsight(value);
44952
+ var value = /** @type {number} */ (reader.readUint64());
44953
+ msg.setInputTokens(value);
44954
+ break;
44955
+ case 5:
44956
+ var value = /** @type {number} */ (reader.readUint64());
44957
+ msg.setOutputTokens(value);
44958
+ break;
44959
+ case 6:
44960
+ var value = /** @type {number} */ (reader.readDouble());
44961
+ msg.setProviderCostUsd(value);
44962
+ break;
44963
+ case 7:
44964
+ var value = /** @type {number} */ (reader.readDouble());
44965
+ msg.setSubscriptionFacilityUsd(value);
45008
44966
  break;
45009
44967
  default:
45010
44968
  reader.skipField();
@@ -45019,9 +44977,9 @@ proto.gateway.web.v1.SessionInsightEntry.deserializeBinaryFromReader = function(
45019
44977
  * Serializes the message to binary data (in protobuf wire format).
45020
44978
  * @return {!Uint8Array}
45021
44979
  */
45022
- proto.gateway.web.v1.SessionInsightEntry.prototype.serializeBinary = function() {
44980
+ proto.gateway.web.v1.SessionActorUsage.prototype.serializeBinary = function() {
45023
44981
  var writer = new jspb.BinaryWriter();
45024
- proto.gateway.web.v1.SessionInsightEntry.serializeBinaryToWriter(this, writer);
44982
+ proto.gateway.web.v1.SessionActorUsage.serializeBinaryToWriter(this, writer);
45025
44983
  return writer.getResultBuffer();
45026
44984
  };
45027
44985
 
@@ -45029,11 +44987,11 @@ proto.gateway.web.v1.SessionInsightEntry.prototype.serializeBinary = function()
45029
44987
  /**
45030
44988
  * Serializes the given message to binary data (in protobuf wire
45031
44989
  * format), writing to the given BinaryWriter.
45032
- * @param {!proto.gateway.web.v1.SessionInsightEntry} message
44990
+ * @param {!proto.gateway.web.v1.SessionActorUsage} message
45033
44991
  * @param {!jspb.BinaryWriter} writer
45034
44992
  * @suppress {unusedLocalVariables} f is only used for nested messages
45035
44993
  */
45036
- proto.gateway.web.v1.SessionInsightEntry.serializeBinaryToWriter = function(message, writer) {
44994
+ proto.gateway.web.v1.SessionActorUsage.serializeBinaryToWriter = function(message, writer) {
45037
44995
  var f = undefined;
45038
44996
  f = message.getSourceSystem();
45039
44997
  if (f.length > 0) {
@@ -45042,27 +45000,46 @@ proto.gateway.web.v1.SessionInsightEntry.serializeBinaryToWriter = function(mess
45042
45000
  f
45043
45001
  );
45044
45002
  }
45045
- f = message.getSessionId();
45003
+ f = message.getUserId();
45046
45004
  if (f.length > 0) {
45047
45005
  writer.writeString(
45048
45006
  2,
45049
45007
  f
45050
45008
  );
45051
45009
  }
45052
- f = message.getAnalyzedAt();
45053
- if (f != null) {
45054
- writer.writeMessage(
45010
+ f = message.getApiKeyId();
45011
+ if (f.length > 0) {
45012
+ writer.writeString(
45055
45013
  3,
45056
- f,
45057
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
45014
+ f
45058
45015
  );
45059
45016
  }
45060
- f = message.getInsight();
45061
- if (f != null) {
45062
- writer.writeMessage(
45017
+ f = message.getInputTokens();
45018
+ if (f !== 0) {
45019
+ writer.writeUint64(
45063
45020
  4,
45064
- f,
45065
- proto.gateway.web.v1.AISessionInsight.serializeBinaryToWriter
45021
+ f
45022
+ );
45023
+ }
45024
+ f = message.getOutputTokens();
45025
+ if (f !== 0) {
45026
+ writer.writeUint64(
45027
+ 5,
45028
+ f
45029
+ );
45030
+ }
45031
+ f = message.getProviderCostUsd();
45032
+ if (f !== 0.0) {
45033
+ writer.writeDouble(
45034
+ 6,
45035
+ f
45036
+ );
45037
+ }
45038
+ f = message.getSubscriptionFacilityUsd();
45039
+ if (f !== 0.0) {
45040
+ writer.writeDouble(
45041
+ 7,
45042
+ f
45066
45043
  );
45067
45044
  }
45068
45045
  };
@@ -45072,109 +45049,505 @@ proto.gateway.web.v1.SessionInsightEntry.serializeBinaryToWriter = function(mess
45072
45049
  * optional string source_system = 1;
45073
45050
  * @return {string}
45074
45051
  */
45075
- proto.gateway.web.v1.SessionInsightEntry.prototype.getSourceSystem = function() {
45052
+ proto.gateway.web.v1.SessionActorUsage.prototype.getSourceSystem = function() {
45076
45053
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
45077
45054
  };
45078
45055
 
45079
45056
 
45080
45057
  /**
45081
45058
  * @param {string} value
45082
- * @return {!proto.gateway.web.v1.SessionInsightEntry} returns this
45059
+ * @return {!proto.gateway.web.v1.SessionActorUsage} returns this
45083
45060
  */
45084
- proto.gateway.web.v1.SessionInsightEntry.prototype.setSourceSystem = function(value) {
45061
+ proto.gateway.web.v1.SessionActorUsage.prototype.setSourceSystem = function(value) {
45085
45062
  return jspb.Message.setProto3StringField(this, 1, value);
45086
45063
  };
45087
45064
 
45088
45065
 
45089
45066
  /**
45090
- * optional string session_id = 2;
45067
+ * optional string user_id = 2;
45091
45068
  * @return {string}
45092
45069
  */
45093
- proto.gateway.web.v1.SessionInsightEntry.prototype.getSessionId = function() {
45070
+ proto.gateway.web.v1.SessionActorUsage.prototype.getUserId = function() {
45094
45071
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
45095
45072
  };
45096
45073
 
45097
45074
 
45098
45075
  /**
45099
45076
  * @param {string} value
45100
- * @return {!proto.gateway.web.v1.SessionInsightEntry} returns this
45077
+ * @return {!proto.gateway.web.v1.SessionActorUsage} returns this
45101
45078
  */
45102
- proto.gateway.web.v1.SessionInsightEntry.prototype.setSessionId = function(value) {
45079
+ proto.gateway.web.v1.SessionActorUsage.prototype.setUserId = function(value) {
45103
45080
  return jspb.Message.setProto3StringField(this, 2, value);
45104
45081
  };
45105
45082
 
45106
45083
 
45107
45084
  /**
45108
- * optional google.protobuf.Timestamp analyzed_at = 3;
45109
- * @return {?proto.google.protobuf.Timestamp}
45085
+ * optional string api_key_id = 3;
45086
+ * @return {string}
45110
45087
  */
45111
- proto.gateway.web.v1.SessionInsightEntry.prototype.getAnalyzedAt = function() {
45112
- return /** @type{?proto.google.protobuf.Timestamp} */ (
45113
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
45088
+ proto.gateway.web.v1.SessionActorUsage.prototype.getApiKeyId = function() {
45089
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
45114
45090
  };
45115
45091
 
45116
45092
 
45117
45093
  /**
45118
- * @param {?proto.google.protobuf.Timestamp|undefined} value
45119
- * @return {!proto.gateway.web.v1.SessionInsightEntry} returns this
45120
- */
45121
- proto.gateway.web.v1.SessionInsightEntry.prototype.setAnalyzedAt = function(value) {
45122
- return jspb.Message.setWrapperField(this, 3, value);
45094
+ * @param {string} value
45095
+ * @return {!proto.gateway.web.v1.SessionActorUsage} returns this
45096
+ */
45097
+ proto.gateway.web.v1.SessionActorUsage.prototype.setApiKeyId = function(value) {
45098
+ return jspb.Message.setProto3StringField(this, 3, value);
45123
45099
  };
45124
45100
 
45125
45101
 
45126
45102
  /**
45127
- * Clears the message field making it undefined.
45128
- * @return {!proto.gateway.web.v1.SessionInsightEntry} returns this
45103
+ * optional uint64 input_tokens = 4;
45104
+ * @return {number}
45129
45105
  */
45130
- proto.gateway.web.v1.SessionInsightEntry.prototype.clearAnalyzedAt = function() {
45131
- return this.setAnalyzedAt(undefined);
45106
+ proto.gateway.web.v1.SessionActorUsage.prototype.getInputTokens = function() {
45107
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
45132
45108
  };
45133
45109
 
45134
45110
 
45135
45111
  /**
45136
- * Returns whether this field is set.
45137
- * @return {boolean}
45112
+ * @param {number} value
45113
+ * @return {!proto.gateway.web.v1.SessionActorUsage} returns this
45138
45114
  */
45139
- proto.gateway.web.v1.SessionInsightEntry.prototype.hasAnalyzedAt = function() {
45140
- return jspb.Message.getField(this, 3) != null;
45115
+ proto.gateway.web.v1.SessionActorUsage.prototype.setInputTokens = function(value) {
45116
+ return jspb.Message.setProto3IntField(this, 4, value);
45141
45117
  };
45142
45118
 
45143
45119
 
45144
45120
  /**
45145
- * optional AISessionInsight insight = 4;
45146
- * @return {?proto.gateway.web.v1.AISessionInsight}
45121
+ * optional uint64 output_tokens = 5;
45122
+ * @return {number}
45147
45123
  */
45148
- proto.gateway.web.v1.SessionInsightEntry.prototype.getInsight = function() {
45149
- return /** @type{?proto.gateway.web.v1.AISessionInsight} */ (
45150
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionInsight, 4));
45124
+ proto.gateway.web.v1.SessionActorUsage.prototype.getOutputTokens = function() {
45125
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
45151
45126
  };
45152
45127
 
45153
45128
 
45154
45129
  /**
45155
- * @param {?proto.gateway.web.v1.AISessionInsight|undefined} value
45156
- * @return {!proto.gateway.web.v1.SessionInsightEntry} returns this
45157
- */
45158
- proto.gateway.web.v1.SessionInsightEntry.prototype.setInsight = function(value) {
45159
- return jspb.Message.setWrapperField(this, 4, value);
45130
+ * @param {number} value
45131
+ * @return {!proto.gateway.web.v1.SessionActorUsage} returns this
45132
+ */
45133
+ proto.gateway.web.v1.SessionActorUsage.prototype.setOutputTokens = function(value) {
45134
+ return jspb.Message.setProto3IntField(this, 5, value);
45160
45135
  };
45161
45136
 
45162
45137
 
45163
45138
  /**
45164
- * Clears the message field making it undefined.
45165
- * @return {!proto.gateway.web.v1.SessionInsightEntry} returns this
45139
+ * optional double provider_cost_usd = 6;
45140
+ * @return {number}
45166
45141
  */
45167
- proto.gateway.web.v1.SessionInsightEntry.prototype.clearInsight = function() {
45168
- return this.setInsight(undefined);
45142
+ proto.gateway.web.v1.SessionActorUsage.prototype.getProviderCostUsd = function() {
45143
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
45169
45144
  };
45170
45145
 
45171
45146
 
45172
45147
  /**
45173
- * Returns whether this field is set.
45174
- * @return {boolean}
45148
+ * @param {number} value
45149
+ * @return {!proto.gateway.web.v1.SessionActorUsage} returns this
45175
45150
  */
45176
- proto.gateway.web.v1.SessionInsightEntry.prototype.hasInsight = function() {
45177
- return jspb.Message.getField(this, 4) != null;
45151
+ proto.gateway.web.v1.SessionActorUsage.prototype.setProviderCostUsd = function(value) {
45152
+ return jspb.Message.setProto3FloatField(this, 6, value);
45153
+ };
45154
+
45155
+
45156
+ /**
45157
+ * optional double subscription_facility_usd = 7;
45158
+ * @return {number}
45159
+ */
45160
+ proto.gateway.web.v1.SessionActorUsage.prototype.getSubscriptionFacilityUsd = function() {
45161
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
45162
+ };
45163
+
45164
+
45165
+ /**
45166
+ * @param {number} value
45167
+ * @return {!proto.gateway.web.v1.SessionActorUsage} returns this
45168
+ */
45169
+ proto.gateway.web.v1.SessionActorUsage.prototype.setSubscriptionFacilityUsd = function(value) {
45170
+ return jspb.Message.setProto3FloatField(this, 7, value);
45171
+ };
45172
+
45173
+
45174
+
45175
+
45176
+
45177
+ if (jspb.Message.GENERATE_TO_OBJECT) {
45178
+ /**
45179
+ * Creates an object representation of this proto.
45180
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
45181
+ * Optional fields that are not set will be set to undefined.
45182
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
45183
+ * For the list of reserved names please see:
45184
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
45185
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
45186
+ * JSPB instance for transitional soy proto support:
45187
+ * http://goto/soy-param-migration
45188
+ * @return {!Object}
45189
+ */
45190
+ proto.gateway.web.v1.SessionWorkSizeCount.prototype.toObject = function(opt_includeInstance) {
45191
+ return proto.gateway.web.v1.SessionWorkSizeCount.toObject(opt_includeInstance, this);
45192
+ };
45193
+
45194
+
45195
+ /**
45196
+ * Static version of the {@see toObject} method.
45197
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
45198
+ * the JSPB instance for transitional soy proto support:
45199
+ * http://goto/soy-param-migration
45200
+ * @param {!proto.gateway.web.v1.SessionWorkSizeCount} msg The msg instance to transform.
45201
+ * @return {!Object}
45202
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45203
+ */
45204
+ proto.gateway.web.v1.SessionWorkSizeCount.toObject = function(includeInstance, msg) {
45205
+ var f, obj = {
45206
+ workSize: jspb.Message.getFieldWithDefault(msg, 1, ""),
45207
+ sessions: jspb.Message.getFieldWithDefault(msg, 2, 0)
45208
+ };
45209
+
45210
+ if (includeInstance) {
45211
+ obj.$jspbMessageInstance = msg;
45212
+ }
45213
+ return obj;
45214
+ };
45215
+ }
45216
+
45217
+
45218
+ /**
45219
+ * Deserializes binary data (in protobuf wire format).
45220
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
45221
+ * @return {!proto.gateway.web.v1.SessionWorkSizeCount}
45222
+ */
45223
+ proto.gateway.web.v1.SessionWorkSizeCount.deserializeBinary = function(bytes) {
45224
+ var reader = new jspb.BinaryReader(bytes);
45225
+ var msg = new proto.gateway.web.v1.SessionWorkSizeCount;
45226
+ return proto.gateway.web.v1.SessionWorkSizeCount.deserializeBinaryFromReader(msg, reader);
45227
+ };
45228
+
45229
+
45230
+ /**
45231
+ * Deserializes binary data (in protobuf wire format) from the
45232
+ * given reader into the given message object.
45233
+ * @param {!proto.gateway.web.v1.SessionWorkSizeCount} msg The message object to deserialize into.
45234
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
45235
+ * @return {!proto.gateway.web.v1.SessionWorkSizeCount}
45236
+ */
45237
+ proto.gateway.web.v1.SessionWorkSizeCount.deserializeBinaryFromReader = function(msg, reader) {
45238
+ while (reader.nextField()) {
45239
+ if (reader.isEndGroup()) {
45240
+ break;
45241
+ }
45242
+ var field = reader.getFieldNumber();
45243
+ switch (field) {
45244
+ case 1:
45245
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
45246
+ msg.setWorkSize(value);
45247
+ break;
45248
+ case 2:
45249
+ var value = /** @type {number} */ (reader.readUint64());
45250
+ msg.setSessions(value);
45251
+ break;
45252
+ default:
45253
+ reader.skipField();
45254
+ break;
45255
+ }
45256
+ }
45257
+ return msg;
45258
+ };
45259
+
45260
+
45261
+ /**
45262
+ * Serializes the message to binary data (in protobuf wire format).
45263
+ * @return {!Uint8Array}
45264
+ */
45265
+ proto.gateway.web.v1.SessionWorkSizeCount.prototype.serializeBinary = function() {
45266
+ var writer = new jspb.BinaryWriter();
45267
+ proto.gateway.web.v1.SessionWorkSizeCount.serializeBinaryToWriter(this, writer);
45268
+ return writer.getResultBuffer();
45269
+ };
45270
+
45271
+
45272
+ /**
45273
+ * Serializes the given message to binary data (in protobuf wire
45274
+ * format), writing to the given BinaryWriter.
45275
+ * @param {!proto.gateway.web.v1.SessionWorkSizeCount} message
45276
+ * @param {!jspb.BinaryWriter} writer
45277
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45278
+ */
45279
+ proto.gateway.web.v1.SessionWorkSizeCount.serializeBinaryToWriter = function(message, writer) {
45280
+ var f = undefined;
45281
+ f = message.getWorkSize();
45282
+ if (f.length > 0) {
45283
+ writer.writeString(
45284
+ 1,
45285
+ f
45286
+ );
45287
+ }
45288
+ f = message.getSessions();
45289
+ if (f !== 0) {
45290
+ writer.writeUint64(
45291
+ 2,
45292
+ f
45293
+ );
45294
+ }
45295
+ };
45296
+
45297
+
45298
+ /**
45299
+ * optional string work_size = 1;
45300
+ * @return {string}
45301
+ */
45302
+ proto.gateway.web.v1.SessionWorkSizeCount.prototype.getWorkSize = function() {
45303
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
45304
+ };
45305
+
45306
+
45307
+ /**
45308
+ * @param {string} value
45309
+ * @return {!proto.gateway.web.v1.SessionWorkSizeCount} returns this
45310
+ */
45311
+ proto.gateway.web.v1.SessionWorkSizeCount.prototype.setWorkSize = function(value) {
45312
+ return jspb.Message.setProto3StringField(this, 1, value);
45313
+ };
45314
+
45315
+
45316
+ /**
45317
+ * optional uint64 sessions = 2;
45318
+ * @return {number}
45319
+ */
45320
+ proto.gateway.web.v1.SessionWorkSizeCount.prototype.getSessions = function() {
45321
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
45322
+ };
45323
+
45324
+
45325
+ /**
45326
+ * @param {number} value
45327
+ * @return {!proto.gateway.web.v1.SessionWorkSizeCount} returns this
45328
+ */
45329
+ proto.gateway.web.v1.SessionWorkSizeCount.prototype.setSessions = function(value) {
45330
+ return jspb.Message.setProto3IntField(this, 2, value);
45331
+ };
45332
+
45333
+
45334
+
45335
+
45336
+
45337
+ if (jspb.Message.GENERATE_TO_OBJECT) {
45338
+ /**
45339
+ * Creates an object representation of this proto.
45340
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
45341
+ * Optional fields that are not set will be set to undefined.
45342
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
45343
+ * For the list of reserved names please see:
45344
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
45345
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
45346
+ * JSPB instance for transitional soy proto support:
45347
+ * http://goto/soy-param-migration
45348
+ * @return {!Object}
45349
+ */
45350
+ proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.toObject = function(opt_includeInstance) {
45351
+ return proto.gateway.web.v1.GetSessionAnalysisRequest.toObject(opt_includeInstance, this);
45352
+ };
45353
+
45354
+
45355
+ /**
45356
+ * Static version of the {@see toObject} method.
45357
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
45358
+ * the JSPB instance for transitional soy proto support:
45359
+ * http://goto/soy-param-migration
45360
+ * @param {!proto.gateway.web.v1.GetSessionAnalysisRequest} msg The msg instance to transform.
45361
+ * @return {!Object}
45362
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45363
+ */
45364
+ proto.gateway.web.v1.GetSessionAnalysisRequest.toObject = function(includeInstance, msg) {
45365
+ var f, obj = {
45366
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
45367
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
45368
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 3, ""),
45369
+ sessionId: jspb.Message.getFieldWithDefault(msg, 4, "")
45370
+ };
45371
+
45372
+ if (includeInstance) {
45373
+ obj.$jspbMessageInstance = msg;
45374
+ }
45375
+ return obj;
45376
+ };
45377
+ }
45378
+
45379
+
45380
+ /**
45381
+ * Deserializes binary data (in protobuf wire format).
45382
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
45383
+ * @return {!proto.gateway.web.v1.GetSessionAnalysisRequest}
45384
+ */
45385
+ proto.gateway.web.v1.GetSessionAnalysisRequest.deserializeBinary = function(bytes) {
45386
+ var reader = new jspb.BinaryReader(bytes);
45387
+ var msg = new proto.gateway.web.v1.GetSessionAnalysisRequest;
45388
+ return proto.gateway.web.v1.GetSessionAnalysisRequest.deserializeBinaryFromReader(msg, reader);
45389
+ };
45390
+
45391
+
45392
+ /**
45393
+ * Deserializes binary data (in protobuf wire format) from the
45394
+ * given reader into the given message object.
45395
+ * @param {!proto.gateway.web.v1.GetSessionAnalysisRequest} msg The message object to deserialize into.
45396
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
45397
+ * @return {!proto.gateway.web.v1.GetSessionAnalysisRequest}
45398
+ */
45399
+ proto.gateway.web.v1.GetSessionAnalysisRequest.deserializeBinaryFromReader = function(msg, reader) {
45400
+ while (reader.nextField()) {
45401
+ if (reader.isEndGroup()) {
45402
+ break;
45403
+ }
45404
+ var field = reader.getFieldNumber();
45405
+ switch (field) {
45406
+ case 1:
45407
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
45408
+ msg.setOrganizationId(value);
45409
+ break;
45410
+ case 2:
45411
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
45412
+ msg.setProjectId(value);
45413
+ break;
45414
+ case 3:
45415
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
45416
+ msg.setSourceSystem(value);
45417
+ break;
45418
+ case 4:
45419
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
45420
+ msg.setSessionId(value);
45421
+ break;
45422
+ default:
45423
+ reader.skipField();
45424
+ break;
45425
+ }
45426
+ }
45427
+ return msg;
45428
+ };
45429
+
45430
+
45431
+ /**
45432
+ * Serializes the message to binary data (in protobuf wire format).
45433
+ * @return {!Uint8Array}
45434
+ */
45435
+ proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.serializeBinary = function() {
45436
+ var writer = new jspb.BinaryWriter();
45437
+ proto.gateway.web.v1.GetSessionAnalysisRequest.serializeBinaryToWriter(this, writer);
45438
+ return writer.getResultBuffer();
45439
+ };
45440
+
45441
+
45442
+ /**
45443
+ * Serializes the given message to binary data (in protobuf wire
45444
+ * format), writing to the given BinaryWriter.
45445
+ * @param {!proto.gateway.web.v1.GetSessionAnalysisRequest} message
45446
+ * @param {!jspb.BinaryWriter} writer
45447
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45448
+ */
45449
+ proto.gateway.web.v1.GetSessionAnalysisRequest.serializeBinaryToWriter = function(message, writer) {
45450
+ var f = undefined;
45451
+ f = message.getOrganizationId();
45452
+ if (f.length > 0) {
45453
+ writer.writeString(
45454
+ 1,
45455
+ f
45456
+ );
45457
+ }
45458
+ f = message.getProjectId();
45459
+ if (f.length > 0) {
45460
+ writer.writeString(
45461
+ 2,
45462
+ f
45463
+ );
45464
+ }
45465
+ f = message.getSourceSystem();
45466
+ if (f.length > 0) {
45467
+ writer.writeString(
45468
+ 3,
45469
+ f
45470
+ );
45471
+ }
45472
+ f = message.getSessionId();
45473
+ if (f.length > 0) {
45474
+ writer.writeString(
45475
+ 4,
45476
+ f
45477
+ );
45478
+ }
45479
+ };
45480
+
45481
+
45482
+ /**
45483
+ * optional string organization_id = 1;
45484
+ * @return {string}
45485
+ */
45486
+ proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.getOrganizationId = function() {
45487
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
45488
+ };
45489
+
45490
+
45491
+ /**
45492
+ * @param {string} value
45493
+ * @return {!proto.gateway.web.v1.GetSessionAnalysisRequest} returns this
45494
+ */
45495
+ proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.setOrganizationId = function(value) {
45496
+ return jspb.Message.setProto3StringField(this, 1, value);
45497
+ };
45498
+
45499
+
45500
+ /**
45501
+ * optional string project_id = 2;
45502
+ * @return {string}
45503
+ */
45504
+ proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.getProjectId = function() {
45505
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
45506
+ };
45507
+
45508
+
45509
+ /**
45510
+ * @param {string} value
45511
+ * @return {!proto.gateway.web.v1.GetSessionAnalysisRequest} returns this
45512
+ */
45513
+ proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.setProjectId = function(value) {
45514
+ return jspb.Message.setProto3StringField(this, 2, value);
45515
+ };
45516
+
45517
+
45518
+ /**
45519
+ * optional string source_system = 3;
45520
+ * @return {string}
45521
+ */
45522
+ proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.getSourceSystem = function() {
45523
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
45524
+ };
45525
+
45526
+
45527
+ /**
45528
+ * @param {string} value
45529
+ * @return {!proto.gateway.web.v1.GetSessionAnalysisRequest} returns this
45530
+ */
45531
+ proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.setSourceSystem = function(value) {
45532
+ return jspb.Message.setProto3StringField(this, 3, value);
45533
+ };
45534
+
45535
+
45536
+ /**
45537
+ * optional string session_id = 4;
45538
+ * @return {string}
45539
+ */
45540
+ proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.getSessionId = function() {
45541
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
45542
+ };
45543
+
45544
+
45545
+ /**
45546
+ * @param {string} value
45547
+ * @return {!proto.gateway.web.v1.GetSessionAnalysisRequest} returns this
45548
+ */
45549
+ proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.setSessionId = function(value) {
45550
+ return jspb.Message.setProto3StringField(this, 4, value);
45178
45551
  };
45179
45552
 
45180
45553
 
@@ -46017,7 +46390,8 @@ recommendation: jspb.Message.getFieldWithDefault(msg, 4, ""),
46017
46390
  actionType: jspb.Message.getFieldWithDefault(msg, 5, 0),
46018
46391
  remediationPrompt: jspb.Message.getFieldWithDefault(msg, 6, ""),
46019
46392
  topic: (f = msg.getTopic()) && proto.gateway.web.v1.AISessionInsightTopic.toObject(includeInstance, f),
46020
- skill: (f = msg.getSkill()) && proto.gateway.web.v1.AISkillSuggestion.toObject(includeInstance, f)
46393
+ skill: (f = msg.getSkill()) && proto.gateway.web.v1.AISkillSuggestion.toObject(includeInstance, f),
46394
+ id: jspb.Message.getFieldWithDefault(msg, 9, "")
46021
46395
  };
46022
46396
 
46023
46397
  if (includeInstance) {
@@ -46089,6 +46463,10 @@ proto.gateway.web.v1.AISessionInsight.deserializeBinaryFromReader = function(msg
46089
46463
  reader.readMessage(value,proto.gateway.web.v1.AISkillSuggestion.deserializeBinaryFromReader);
46090
46464
  msg.setSkill(value);
46091
46465
  break;
46466
+ case 9:
46467
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
46468
+ msg.setId(value);
46469
+ break;
46092
46470
  default:
46093
46471
  reader.skipField();
46094
46472
  break;
@@ -46177,6 +46555,13 @@ proto.gateway.web.v1.AISessionInsight.serializeBinaryToWriter = function(message
46177
46555
  proto.gateway.web.v1.AISkillSuggestion.serializeBinaryToWriter
46178
46556
  );
46179
46557
  }
46558
+ f = message.getId();
46559
+ if (f.length > 0) {
46560
+ writer.writeString(
46561
+ 9,
46562
+ f
46563
+ );
46564
+ }
46180
46565
  };
46181
46566
 
46182
46567
 
@@ -46382,6 +46767,24 @@ proto.gateway.web.v1.AISessionInsight.prototype.hasSkill = function() {
46382
46767
  };
46383
46768
 
46384
46769
 
46770
+ /**
46771
+ * optional string id = 9;
46772
+ * @return {string}
46773
+ */
46774
+ proto.gateway.web.v1.AISessionInsight.prototype.getId = function() {
46775
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
46776
+ };
46777
+
46778
+
46779
+ /**
46780
+ * @param {string} value
46781
+ * @return {!proto.gateway.web.v1.AISessionInsight} returns this
46782
+ */
46783
+ proto.gateway.web.v1.AISessionInsight.prototype.setId = function(value) {
46784
+ return jspb.Message.setProto3StringField(this, 9, value);
46785
+ };
46786
+
46787
+
46385
46788
 
46386
46789
 
46387
46790
 
@@ -47051,7 +47454,8 @@ model: jspb.Message.getFieldWithDefault(msg, 5, ""),
47051
47454
  scoreVersion: jspb.Message.getFieldWithDefault(msg, 6, ""),
47052
47455
  inputSessionVersion: jspb.Message.getFieldWithDefault(msg, 7, 0),
47053
47456
  scoredAt: (f = msg.getScoredAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
47054
- rubric: jspb.Message.getFieldWithDefault(msg, 9, 0)
47457
+ rubric: jspb.Message.getFieldWithDefault(msg, 9, 0),
47458
+ id: jspb.Message.getFieldWithDefault(msg, 10, "")
47055
47459
  };
47056
47460
 
47057
47461
  if (includeInstance) {
@@ -47127,6 +47531,10 @@ proto.gateway.web.v1.AISessionScore.deserializeBinaryFromReader = function(msg,
47127
47531
  var value = /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (reader.readEnum());
47128
47532
  msg.setRubric(value);
47129
47533
  break;
47534
+ case 10:
47535
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
47536
+ msg.setId(value);
47537
+ break;
47130
47538
  default:
47131
47539
  reader.skipField();
47132
47540
  break;
@@ -47222,6 +47630,13 @@ proto.gateway.web.v1.AISessionScore.serializeBinaryToWriter = function(message,
47222
47630
  f
47223
47631
  );
47224
47632
  }
47633
+ f = message.getId();
47634
+ if (f.length > 0) {
47635
+ writer.writeString(
47636
+ 10,
47637
+ f
47638
+ );
47639
+ }
47225
47640
  };
47226
47641
 
47227
47642
 
@@ -47445,6 +47860,24 @@ proto.gateway.web.v1.AISessionScore.prototype.setRubric = function(value) {
47445
47860
  };
47446
47861
 
47447
47862
 
47863
+ /**
47864
+ * optional string id = 10;
47865
+ * @return {string}
47866
+ */
47867
+ proto.gateway.web.v1.AISessionScore.prototype.getId = function() {
47868
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
47869
+ };
47870
+
47871
+
47872
+ /**
47873
+ * @param {string} value
47874
+ * @return {!proto.gateway.web.v1.AISessionScore} returns this
47875
+ */
47876
+ proto.gateway.web.v1.AISessionScore.prototype.setId = function(value) {
47877
+ return jspb.Message.setProto3StringField(this, 10, value);
47878
+ };
47879
+
47880
+
47448
47881
 
47449
47882
  /**
47450
47883
  * List of repeated fields within this message type.
@@ -64309,1368 +64742,38 @@ proto.gateway.web.v1.ListIssueSessionsResponse.prototype.addSessions = function(
64309
64742
 
64310
64743
  /**
64311
64744
  * Clears the list making it empty but non-null.
64312
- * @return {!proto.gateway.web.v1.ListIssueSessionsResponse} returns this
64313
- */
64314
- proto.gateway.web.v1.ListIssueSessionsResponse.prototype.clearSessionsList = function() {
64315
- return this.setSessionsList([]);
64316
- };
64317
-
64318
-
64319
- /**
64320
- * optional IssueCostPagination pagination = 10;
64321
- * @return {?proto.gateway.web.v1.IssueCostPagination}
64322
- */
64323
- proto.gateway.web.v1.ListIssueSessionsResponse.prototype.getPagination = function() {
64324
- return /** @type{?proto.gateway.web.v1.IssueCostPagination} */ (
64325
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.IssueCostPagination, 10));
64326
- };
64327
-
64328
-
64329
- /**
64330
- * @param {?proto.gateway.web.v1.IssueCostPagination|undefined} value
64331
- * @return {!proto.gateway.web.v1.ListIssueSessionsResponse} returns this
64332
- */
64333
- proto.gateway.web.v1.ListIssueSessionsResponse.prototype.setPagination = function(value) {
64334
- return jspb.Message.setWrapperField(this, 10, value);
64335
- };
64336
-
64337
-
64338
- /**
64339
- * Clears the message field making it undefined.
64340
- * @return {!proto.gateway.web.v1.ListIssueSessionsResponse} returns this
64341
- */
64342
- proto.gateway.web.v1.ListIssueSessionsResponse.prototype.clearPagination = function() {
64343
- return this.setPagination(undefined);
64344
- };
64345
-
64346
-
64347
- /**
64348
- * Returns whether this field is set.
64349
- * @return {boolean}
64350
- */
64351
- proto.gateway.web.v1.ListIssueSessionsResponse.prototype.hasPagination = function() {
64352
- return jspb.Message.getField(this, 10) != null;
64353
- };
64354
-
64355
-
64356
-
64357
-
64358
-
64359
- if (jspb.Message.GENERATE_TO_OBJECT) {
64360
- /**
64361
- * Creates an object representation of this proto.
64362
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
64363
- * Optional fields that are not set will be set to undefined.
64364
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
64365
- * For the list of reserved names please see:
64366
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
64367
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
64368
- * JSPB instance for transitional soy proto support:
64369
- * http://goto/soy-param-migration
64370
- * @return {!Object}
64371
- */
64372
- proto.gateway.web.v1.IssuePullRequest.prototype.toObject = function(opt_includeInstance) {
64373
- return proto.gateway.web.v1.IssuePullRequest.toObject(opt_includeInstance, this);
64374
- };
64375
-
64376
-
64377
- /**
64378
- * Static version of the {@see toObject} method.
64379
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
64380
- * the JSPB instance for transitional soy proto support:
64381
- * http://goto/soy-param-migration
64382
- * @param {!proto.gateway.web.v1.IssuePullRequest} msg The msg instance to transform.
64383
- * @return {!Object}
64384
- * @suppress {unusedLocalVariables} f is only used for nested messages
64385
- */
64386
- proto.gateway.web.v1.IssuePullRequest.toObject = function(includeInstance, msg) {
64387
- var f, obj = {
64388
- repositoryKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
64389
- number: jspb.Message.getFieldWithDefault(msg, 2, 0),
64390
- url: jspb.Message.getFieldWithDefault(msg, 3, ""),
64391
- state: jspb.Message.getFieldWithDefault(msg, 4, "")
64392
- };
64393
-
64394
- if (includeInstance) {
64395
- obj.$jspbMessageInstance = msg;
64396
- }
64397
- return obj;
64398
- };
64399
- }
64400
-
64401
-
64402
- /**
64403
- * Deserializes binary data (in protobuf wire format).
64404
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
64405
- * @return {!proto.gateway.web.v1.IssuePullRequest}
64406
- */
64407
- proto.gateway.web.v1.IssuePullRequest.deserializeBinary = function(bytes) {
64408
- var reader = new jspb.BinaryReader(bytes);
64409
- var msg = new proto.gateway.web.v1.IssuePullRequest;
64410
- return proto.gateway.web.v1.IssuePullRequest.deserializeBinaryFromReader(msg, reader);
64411
- };
64412
-
64413
-
64414
- /**
64415
- * Deserializes binary data (in protobuf wire format) from the
64416
- * given reader into the given message object.
64417
- * @param {!proto.gateway.web.v1.IssuePullRequest} msg The message object to deserialize into.
64418
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
64419
- * @return {!proto.gateway.web.v1.IssuePullRequest}
64420
- */
64421
- proto.gateway.web.v1.IssuePullRequest.deserializeBinaryFromReader = function(msg, reader) {
64422
- while (reader.nextField()) {
64423
- if (reader.isEndGroup()) {
64424
- break;
64425
- }
64426
- var field = reader.getFieldNumber();
64427
- switch (field) {
64428
- case 1:
64429
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
64430
- msg.setRepositoryKey(value);
64431
- break;
64432
- case 2:
64433
- var value = /** @type {number} */ (reader.readInt32());
64434
- msg.setNumber(value);
64435
- break;
64436
- case 3:
64437
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
64438
- msg.setUrl(value);
64439
- break;
64440
- case 4:
64441
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
64442
- msg.setState(value);
64443
- break;
64444
- default:
64445
- reader.skipField();
64446
- break;
64447
- }
64448
- }
64449
- return msg;
64450
- };
64451
-
64452
-
64453
- /**
64454
- * Serializes the message to binary data (in protobuf wire format).
64455
- * @return {!Uint8Array}
64456
- */
64457
- proto.gateway.web.v1.IssuePullRequest.prototype.serializeBinary = function() {
64458
- var writer = new jspb.BinaryWriter();
64459
- proto.gateway.web.v1.IssuePullRequest.serializeBinaryToWriter(this, writer);
64460
- return writer.getResultBuffer();
64461
- };
64462
-
64463
-
64464
- /**
64465
- * Serializes the given message to binary data (in protobuf wire
64466
- * format), writing to the given BinaryWriter.
64467
- * @param {!proto.gateway.web.v1.IssuePullRequest} message
64468
- * @param {!jspb.BinaryWriter} writer
64469
- * @suppress {unusedLocalVariables} f is only used for nested messages
64470
- */
64471
- proto.gateway.web.v1.IssuePullRequest.serializeBinaryToWriter = function(message, writer) {
64472
- var f = undefined;
64473
- f = message.getRepositoryKey();
64474
- if (f.length > 0) {
64475
- writer.writeString(
64476
- 1,
64477
- f
64478
- );
64479
- }
64480
- f = message.getNumber();
64481
- if (f !== 0) {
64482
- writer.writeInt32(
64483
- 2,
64484
- f
64485
- );
64486
- }
64487
- f = message.getUrl();
64488
- if (f.length > 0) {
64489
- writer.writeString(
64490
- 3,
64491
- f
64492
- );
64493
- }
64494
- f = message.getState();
64495
- if (f.length > 0) {
64496
- writer.writeString(
64497
- 4,
64498
- f
64499
- );
64500
- }
64501
- };
64502
-
64503
-
64504
- /**
64505
- * optional string repository_key = 1;
64506
- * @return {string}
64507
- */
64508
- proto.gateway.web.v1.IssuePullRequest.prototype.getRepositoryKey = function() {
64509
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
64510
- };
64511
-
64512
-
64513
- /**
64514
- * @param {string} value
64515
- * @return {!proto.gateway.web.v1.IssuePullRequest} returns this
64516
- */
64517
- proto.gateway.web.v1.IssuePullRequest.prototype.setRepositoryKey = function(value) {
64518
- return jspb.Message.setProto3StringField(this, 1, value);
64519
- };
64520
-
64521
-
64522
- /**
64523
- * optional int32 number = 2;
64524
- * @return {number}
64525
- */
64526
- proto.gateway.web.v1.IssuePullRequest.prototype.getNumber = function() {
64527
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
64528
- };
64529
-
64530
-
64531
- /**
64532
- * @param {number} value
64533
- * @return {!proto.gateway.web.v1.IssuePullRequest} returns this
64534
- */
64535
- proto.gateway.web.v1.IssuePullRequest.prototype.setNumber = function(value) {
64536
- return jspb.Message.setProto3IntField(this, 2, value);
64537
- };
64538
-
64539
-
64540
- /**
64541
- * optional string url = 3;
64542
- * @return {string}
64543
- */
64544
- proto.gateway.web.v1.IssuePullRequest.prototype.getUrl = function() {
64545
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
64546
- };
64547
-
64548
-
64549
- /**
64550
- * @param {string} value
64551
- * @return {!proto.gateway.web.v1.IssuePullRequest} returns this
64552
- */
64553
- proto.gateway.web.v1.IssuePullRequest.prototype.setUrl = function(value) {
64554
- return jspb.Message.setProto3StringField(this, 3, value);
64555
- };
64556
-
64557
-
64558
- /**
64559
- * optional string state = 4;
64560
- * @return {string}
64561
- */
64562
- proto.gateway.web.v1.IssuePullRequest.prototype.getState = function() {
64563
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
64564
- };
64565
-
64566
-
64567
- /**
64568
- * @param {string} value
64569
- * @return {!proto.gateway.web.v1.IssuePullRequest} returns this
64570
- */
64571
- proto.gateway.web.v1.IssuePullRequest.prototype.setState = function(value) {
64572
- return jspb.Message.setProto3StringField(this, 4, value);
64573
- };
64574
-
64575
-
64576
-
64577
- /**
64578
- * List of repeated fields within this message type.
64579
- * @private {!Array<number>}
64580
- * @const
64581
- */
64582
- proto.gateway.web.v1.IssueSession.repeatedFields_ = [3];
64583
-
64584
-
64585
-
64586
- if (jspb.Message.GENERATE_TO_OBJECT) {
64587
- /**
64588
- * Creates an object representation of this proto.
64589
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
64590
- * Optional fields that are not set will be set to undefined.
64591
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
64592
- * For the list of reserved names please see:
64593
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
64594
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
64595
- * JSPB instance for transitional soy proto support:
64596
- * http://goto/soy-param-migration
64597
- * @return {!Object}
64598
- */
64599
- proto.gateway.web.v1.IssueSession.prototype.toObject = function(opt_includeInstance) {
64600
- return proto.gateway.web.v1.IssueSession.toObject(opt_includeInstance, this);
64601
- };
64602
-
64603
-
64604
- /**
64605
- * Static version of the {@see toObject} method.
64606
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
64607
- * the JSPB instance for transitional soy proto support:
64608
- * http://goto/soy-param-migration
64609
- * @param {!proto.gateway.web.v1.IssueSession} msg The msg instance to transform.
64610
- * @return {!Object}
64611
- * @suppress {unusedLocalVariables} f is only used for nested messages
64612
- */
64613
- proto.gateway.web.v1.IssueSession.toObject = function(includeInstance, msg) {
64614
- var f, obj = {
64615
- sourceSystem: jspb.Message.getFieldWithDefault(msg, 1, ""),
64616
- sessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
64617
- projectIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
64618
- startedAt: (f = msg.getStartedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
64619
- recordedCostUsdNanos: jspb.Message.getFieldWithDefault(msg, 5, "0"),
64620
- costUsdNanos: jspb.Message.getFieldWithDefault(msg, 6, "0")
64621
- };
64622
-
64623
- if (includeInstance) {
64624
- obj.$jspbMessageInstance = msg;
64625
- }
64626
- return obj;
64627
- };
64628
- }
64629
-
64630
-
64631
- /**
64632
- * Deserializes binary data (in protobuf wire format).
64633
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
64634
- * @return {!proto.gateway.web.v1.IssueSession}
64635
- */
64636
- proto.gateway.web.v1.IssueSession.deserializeBinary = function(bytes) {
64637
- var reader = new jspb.BinaryReader(bytes);
64638
- var msg = new proto.gateway.web.v1.IssueSession;
64639
- return proto.gateway.web.v1.IssueSession.deserializeBinaryFromReader(msg, reader);
64640
- };
64641
-
64642
-
64643
- /**
64644
- * Deserializes binary data (in protobuf wire format) from the
64645
- * given reader into the given message object.
64646
- * @param {!proto.gateway.web.v1.IssueSession} msg The message object to deserialize into.
64647
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
64648
- * @return {!proto.gateway.web.v1.IssueSession}
64649
- */
64650
- proto.gateway.web.v1.IssueSession.deserializeBinaryFromReader = function(msg, reader) {
64651
- while (reader.nextField()) {
64652
- if (reader.isEndGroup()) {
64653
- break;
64654
- }
64655
- var field = reader.getFieldNumber();
64656
- switch (field) {
64657
- case 1:
64658
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
64659
- msg.setSourceSystem(value);
64660
- break;
64661
- case 2:
64662
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
64663
- msg.setSessionId(value);
64664
- break;
64665
- case 3:
64666
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
64667
- msg.addProjectIds(value);
64668
- break;
64669
- case 4:
64670
- var value = new google_protobuf_timestamp_pb.Timestamp;
64671
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
64672
- msg.setStartedAt(value);
64673
- break;
64674
- case 5:
64675
- var value = /** @type {string} */ (reader.readInt64String());
64676
- msg.setRecordedCostUsdNanos(value);
64677
- break;
64678
- case 6:
64679
- var value = /** @type {string} */ (reader.readInt64String());
64680
- msg.setCostUsdNanos(value);
64681
- break;
64682
- default:
64683
- reader.skipField();
64684
- break;
64685
- }
64686
- }
64687
- return msg;
64688
- };
64689
-
64690
-
64691
- /**
64692
- * Serializes the message to binary data (in protobuf wire format).
64693
- * @return {!Uint8Array}
64694
- */
64695
- proto.gateway.web.v1.IssueSession.prototype.serializeBinary = function() {
64696
- var writer = new jspb.BinaryWriter();
64697
- proto.gateway.web.v1.IssueSession.serializeBinaryToWriter(this, writer);
64698
- return writer.getResultBuffer();
64699
- };
64700
-
64701
-
64702
- /**
64703
- * Serializes the given message to binary data (in protobuf wire
64704
- * format), writing to the given BinaryWriter.
64705
- * @param {!proto.gateway.web.v1.IssueSession} message
64706
- * @param {!jspb.BinaryWriter} writer
64707
- * @suppress {unusedLocalVariables} f is only used for nested messages
64708
- */
64709
- proto.gateway.web.v1.IssueSession.serializeBinaryToWriter = function(message, writer) {
64710
- var f = undefined;
64711
- f = message.getSourceSystem();
64712
- if (f.length > 0) {
64713
- writer.writeString(
64714
- 1,
64715
- f
64716
- );
64717
- }
64718
- f = message.getSessionId();
64719
- if (f.length > 0) {
64720
- writer.writeString(
64721
- 2,
64722
- f
64723
- );
64724
- }
64725
- f = message.getProjectIdsList();
64726
- if (f.length > 0) {
64727
- writer.writeRepeatedString(
64728
- 3,
64729
- f
64730
- );
64731
- }
64732
- f = message.getStartedAt();
64733
- if (f != null) {
64734
- writer.writeMessage(
64735
- 4,
64736
- f,
64737
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
64738
- );
64739
- }
64740
- f = message.getRecordedCostUsdNanos();
64741
- if (parseInt(f, 10) !== 0) {
64742
- writer.writeInt64String(
64743
- 5,
64744
- f
64745
- );
64746
- }
64747
- f = message.getCostUsdNanos();
64748
- if (parseInt(f, 10) !== 0) {
64749
- writer.writeInt64String(
64750
- 6,
64751
- f
64752
- );
64753
- }
64754
- };
64755
-
64756
-
64757
- /**
64758
- * optional string source_system = 1;
64759
- * @return {string}
64760
- */
64761
- proto.gateway.web.v1.IssueSession.prototype.getSourceSystem = function() {
64762
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
64763
- };
64764
-
64765
-
64766
- /**
64767
- * @param {string} value
64768
- * @return {!proto.gateway.web.v1.IssueSession} returns this
64769
- */
64770
- proto.gateway.web.v1.IssueSession.prototype.setSourceSystem = function(value) {
64771
- return jspb.Message.setProto3StringField(this, 1, value);
64772
- };
64773
-
64774
-
64775
- /**
64776
- * optional string session_id = 2;
64777
- * @return {string}
64778
- */
64779
- proto.gateway.web.v1.IssueSession.prototype.getSessionId = function() {
64780
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
64781
- };
64782
-
64783
-
64784
- /**
64785
- * @param {string} value
64786
- * @return {!proto.gateway.web.v1.IssueSession} returns this
64787
- */
64788
- proto.gateway.web.v1.IssueSession.prototype.setSessionId = function(value) {
64789
- return jspb.Message.setProto3StringField(this, 2, value);
64790
- };
64791
-
64792
-
64793
- /**
64794
- * repeated string project_ids = 3;
64795
- * @return {!Array<string>}
64796
- */
64797
- proto.gateway.web.v1.IssueSession.prototype.getProjectIdsList = function() {
64798
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
64799
- };
64800
-
64801
-
64802
- /**
64803
- * @param {!Array<string>} value
64804
- * @return {!proto.gateway.web.v1.IssueSession} returns this
64805
- */
64806
- proto.gateway.web.v1.IssueSession.prototype.setProjectIdsList = function(value) {
64807
- return jspb.Message.setField(this, 3, value || []);
64808
- };
64809
-
64810
-
64811
- /**
64812
- * @param {string} value
64813
- * @param {number=} opt_index
64814
- * @return {!proto.gateway.web.v1.IssueSession} returns this
64815
- */
64816
- proto.gateway.web.v1.IssueSession.prototype.addProjectIds = function(value, opt_index) {
64817
- return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
64818
- };
64819
-
64820
-
64821
- /**
64822
- * Clears the list making it empty but non-null.
64823
- * @return {!proto.gateway.web.v1.IssueSession} returns this
64824
- */
64825
- proto.gateway.web.v1.IssueSession.prototype.clearProjectIdsList = function() {
64826
- return this.setProjectIdsList([]);
64827
- };
64828
-
64829
-
64830
- /**
64831
- * optional google.protobuf.Timestamp started_at = 4;
64832
- * @return {?proto.google.protobuf.Timestamp}
64833
- */
64834
- proto.gateway.web.v1.IssueSession.prototype.getStartedAt = function() {
64835
- return /** @type{?proto.google.protobuf.Timestamp} */ (
64836
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
64837
- };
64838
-
64839
-
64840
- /**
64841
- * @param {?proto.google.protobuf.Timestamp|undefined} value
64842
- * @return {!proto.gateway.web.v1.IssueSession} returns this
64843
- */
64844
- proto.gateway.web.v1.IssueSession.prototype.setStartedAt = function(value) {
64845
- return jspb.Message.setWrapperField(this, 4, value);
64846
- };
64847
-
64848
-
64849
- /**
64850
- * Clears the message field making it undefined.
64851
- * @return {!proto.gateway.web.v1.IssueSession} returns this
64852
- */
64853
- proto.gateway.web.v1.IssueSession.prototype.clearStartedAt = function() {
64854
- return this.setStartedAt(undefined);
64855
- };
64856
-
64857
-
64858
- /**
64859
- * Returns whether this field is set.
64860
- * @return {boolean}
64861
- */
64862
- proto.gateway.web.v1.IssueSession.prototype.hasStartedAt = function() {
64863
- return jspb.Message.getField(this, 4) != null;
64864
- };
64865
-
64866
-
64867
- /**
64868
- * optional int64 recorded_cost_usd_nanos = 5;
64869
- * @return {string}
64870
- */
64871
- proto.gateway.web.v1.IssueSession.prototype.getRecordedCostUsdNanos = function() {
64872
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "0"));
64873
- };
64874
-
64875
-
64876
- /**
64877
- * @param {string} value
64878
- * @return {!proto.gateway.web.v1.IssueSession} returns this
64879
- */
64880
- proto.gateway.web.v1.IssueSession.prototype.setRecordedCostUsdNanos = function(value) {
64881
- return jspb.Message.setProto3StringIntField(this, 5, value);
64882
- };
64883
-
64884
-
64885
- /**
64886
- * optional int64 cost_usd_nanos = 6;
64887
- * @return {string}
64888
- */
64889
- proto.gateway.web.v1.IssueSession.prototype.getCostUsdNanos = function() {
64890
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "0"));
64891
- };
64892
-
64893
-
64894
- /**
64895
- * @param {string} value
64896
- * @return {!proto.gateway.web.v1.IssueSession} returns this
64897
- */
64898
- proto.gateway.web.v1.IssueSession.prototype.setCostUsdNanos = function(value) {
64899
- return jspb.Message.setProto3StringIntField(this, 6, value);
64900
- };
64901
-
64902
-
64903
-
64904
-
64905
-
64906
- if (jspb.Message.GENERATE_TO_OBJECT) {
64907
- /**
64908
- * Creates an object representation of this proto.
64909
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
64910
- * Optional fields that are not set will be set to undefined.
64911
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
64912
- * For the list of reserved names please see:
64913
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
64914
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
64915
- * JSPB instance for transitional soy proto support:
64916
- * http://goto/soy-param-migration
64917
- * @return {!Object}
64918
- */
64919
- proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.toObject = function(opt_includeInstance) {
64920
- return proto.gateway.web.v1.ListProjectInsightCardsRequest.toObject(opt_includeInstance, this);
64921
- };
64922
-
64923
-
64924
- /**
64925
- * Static version of the {@see toObject} method.
64926
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
64927
- * the JSPB instance for transitional soy proto support:
64928
- * http://goto/soy-param-migration
64929
- * @param {!proto.gateway.web.v1.ListProjectInsightCardsRequest} msg The msg instance to transform.
64930
- * @return {!Object}
64931
- * @suppress {unusedLocalVariables} f is only used for nested messages
64932
- */
64933
- proto.gateway.web.v1.ListProjectInsightCardsRequest.toObject = function(includeInstance, msg) {
64934
- var f, obj = {
64935
- organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
64936
- projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
64937
- pageSize: jspb.Message.getFieldWithDefault(msg, 3, 0),
64938
- pageToken: jspb.Message.getFieldWithDefault(msg, 4, "")
64939
- };
64940
-
64941
- if (includeInstance) {
64942
- obj.$jspbMessageInstance = msg;
64943
- }
64944
- return obj;
64945
- };
64946
- }
64947
-
64948
-
64949
- /**
64950
- * Deserializes binary data (in protobuf wire format).
64951
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
64952
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsRequest}
64953
- */
64954
- proto.gateway.web.v1.ListProjectInsightCardsRequest.deserializeBinary = function(bytes) {
64955
- var reader = new jspb.BinaryReader(bytes);
64956
- var msg = new proto.gateway.web.v1.ListProjectInsightCardsRequest;
64957
- return proto.gateway.web.v1.ListProjectInsightCardsRequest.deserializeBinaryFromReader(msg, reader);
64958
- };
64959
-
64960
-
64961
- /**
64962
- * Deserializes binary data (in protobuf wire format) from the
64963
- * given reader into the given message object.
64964
- * @param {!proto.gateway.web.v1.ListProjectInsightCardsRequest} msg The message object to deserialize into.
64965
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
64966
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsRequest}
64967
- */
64968
- proto.gateway.web.v1.ListProjectInsightCardsRequest.deserializeBinaryFromReader = function(msg, reader) {
64969
- while (reader.nextField()) {
64970
- if (reader.isEndGroup()) {
64971
- break;
64972
- }
64973
- var field = reader.getFieldNumber();
64974
- switch (field) {
64975
- case 1:
64976
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
64977
- msg.setOrganizationId(value);
64978
- break;
64979
- case 2:
64980
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
64981
- msg.setProjectId(value);
64982
- break;
64983
- case 3:
64984
- var value = /** @type {number} */ (reader.readInt32());
64985
- msg.setPageSize(value);
64986
- break;
64987
- case 4:
64988
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
64989
- msg.setPageToken(value);
64990
- break;
64991
- default:
64992
- reader.skipField();
64993
- break;
64994
- }
64995
- }
64996
- return msg;
64997
- };
64998
-
64999
-
65000
- /**
65001
- * Serializes the message to binary data (in protobuf wire format).
65002
- * @return {!Uint8Array}
65003
- */
65004
- proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.serializeBinary = function() {
65005
- var writer = new jspb.BinaryWriter();
65006
- proto.gateway.web.v1.ListProjectInsightCardsRequest.serializeBinaryToWriter(this, writer);
65007
- return writer.getResultBuffer();
65008
- };
65009
-
65010
-
65011
- /**
65012
- * Serializes the given message to binary data (in protobuf wire
65013
- * format), writing to the given BinaryWriter.
65014
- * @param {!proto.gateway.web.v1.ListProjectInsightCardsRequest} message
65015
- * @param {!jspb.BinaryWriter} writer
65016
- * @suppress {unusedLocalVariables} f is only used for nested messages
65017
- */
65018
- proto.gateway.web.v1.ListProjectInsightCardsRequest.serializeBinaryToWriter = function(message, writer) {
65019
- var f = undefined;
65020
- f = message.getOrganizationId();
65021
- if (f.length > 0) {
65022
- writer.writeString(
65023
- 1,
65024
- f
65025
- );
65026
- }
65027
- f = message.getProjectId();
65028
- if (f.length > 0) {
65029
- writer.writeString(
65030
- 2,
65031
- f
65032
- );
65033
- }
65034
- f = message.getPageSize();
65035
- if (f !== 0) {
65036
- writer.writeInt32(
65037
- 3,
65038
- f
65039
- );
65040
- }
65041
- f = message.getPageToken();
65042
- if (f.length > 0) {
65043
- writer.writeString(
65044
- 4,
65045
- f
65046
- );
65047
- }
65048
- };
65049
-
65050
-
65051
- /**
65052
- * optional string organization_id = 1;
65053
- * @return {string}
65054
- */
65055
- proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.getOrganizationId = function() {
65056
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
65057
- };
65058
-
65059
-
65060
- /**
65061
- * @param {string} value
65062
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsRequest} returns this
65063
- */
65064
- proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.setOrganizationId = function(value) {
65065
- return jspb.Message.setProto3StringField(this, 1, value);
65066
- };
65067
-
65068
-
65069
- /**
65070
- * optional string project_id = 2;
65071
- * @return {string}
65072
- */
65073
- proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.getProjectId = function() {
65074
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
65075
- };
65076
-
65077
-
65078
- /**
65079
- * @param {string} value
65080
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsRequest} returns this
65081
- */
65082
- proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.setProjectId = function(value) {
65083
- return jspb.Message.setProto3StringField(this, 2, value);
65084
- };
65085
-
65086
-
65087
- /**
65088
- * optional int32 page_size = 3;
65089
- * @return {number}
65090
- */
65091
- proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.getPageSize = function() {
65092
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
65093
- };
65094
-
65095
-
65096
- /**
65097
- * @param {number} value
65098
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsRequest} returns this
65099
- */
65100
- proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.setPageSize = function(value) {
65101
- return jspb.Message.setProto3IntField(this, 3, value);
65102
- };
65103
-
65104
-
65105
- /**
65106
- * optional string page_token = 4;
65107
- * @return {string}
65108
- */
65109
- proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.getPageToken = function() {
65110
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
65111
- };
65112
-
65113
-
65114
- /**
65115
- * @param {string} value
65116
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsRequest} returns this
65117
- */
65118
- proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.setPageToken = function(value) {
65119
- return jspb.Message.setProto3StringField(this, 4, value);
65120
- };
65121
-
65122
-
65123
-
65124
- /**
65125
- * List of repeated fields within this message type.
65126
- * @private {!Array<number>}
65127
- * @const
65128
- */
65129
- proto.gateway.web.v1.ListProjectInsightCardsResponse.repeatedFields_ = [2];
65130
-
65131
-
65132
-
65133
- if (jspb.Message.GENERATE_TO_OBJECT) {
65134
- /**
65135
- * Creates an object representation of this proto.
65136
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
65137
- * Optional fields that are not set will be set to undefined.
65138
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
65139
- * For the list of reserved names please see:
65140
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
65141
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
65142
- * JSPB instance for transitional soy proto support:
65143
- * http://goto/soy-param-migration
65144
- * @return {!Object}
65145
- */
65146
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.toObject = function(opt_includeInstance) {
65147
- return proto.gateway.web.v1.ListProjectInsightCardsResponse.toObject(opt_includeInstance, this);
65148
- };
65149
-
65150
-
65151
- /**
65152
- * Static version of the {@see toObject} method.
65153
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
65154
- * the JSPB instance for transitional soy proto support:
65155
- * http://goto/soy-param-migration
65156
- * @param {!proto.gateway.web.v1.ListProjectInsightCardsResponse} msg The msg instance to transform.
65157
- * @return {!Object}
65158
- * @suppress {unusedLocalVariables} f is only used for nested messages
65159
- */
65160
- proto.gateway.web.v1.ListProjectInsightCardsResponse.toObject = function(includeInstance, msg) {
65161
- var f, obj = {
65162
- status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
65163
- cardsList: jspb.Message.toObjectList(msg.getCardsList(),
65164
- proto.gateway.web.v1.AIProjectInsightCard.toObject, includeInstance),
65165
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
65166
- };
65167
-
65168
- if (includeInstance) {
65169
- obj.$jspbMessageInstance = msg;
65170
- }
65171
- return obj;
65172
- };
65173
- }
65174
-
65175
-
65176
- /**
65177
- * Deserializes binary data (in protobuf wire format).
65178
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
65179
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse}
65180
- */
65181
- proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinary = function(bytes) {
65182
- var reader = new jspb.BinaryReader(bytes);
65183
- var msg = new proto.gateway.web.v1.ListProjectInsightCardsResponse;
65184
- return proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinaryFromReader(msg, reader);
65185
- };
65186
-
65187
-
65188
- /**
65189
- * Deserializes binary data (in protobuf wire format) from the
65190
- * given reader into the given message object.
65191
- * @param {!proto.gateway.web.v1.ListProjectInsightCardsResponse} msg The message object to deserialize into.
65192
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
65193
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse}
65194
- */
65195
- proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinaryFromReader = function(msg, reader) {
65196
- while (reader.nextField()) {
65197
- if (reader.isEndGroup()) {
65198
- break;
65199
- }
65200
- var field = reader.getFieldNumber();
65201
- switch (field) {
65202
- case 1:
65203
- var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
65204
- reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
65205
- msg.setStatus(value);
65206
- break;
65207
- case 2:
65208
- var value = new proto.gateway.web.v1.AIProjectInsightCard;
65209
- reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightCard.deserializeBinaryFromReader);
65210
- msg.addCards(value);
65211
- break;
65212
- case 3:
65213
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
65214
- msg.setNextPageToken(value);
65215
- break;
65216
- default:
65217
- reader.skipField();
65218
- break;
65219
- }
65220
- }
65221
- return msg;
65222
- };
65223
-
65224
-
65225
- /**
65226
- * Serializes the message to binary data (in protobuf wire format).
65227
- * @return {!Uint8Array}
65228
- */
65229
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.serializeBinary = function() {
65230
- var writer = new jspb.BinaryWriter();
65231
- proto.gateway.web.v1.ListProjectInsightCardsResponse.serializeBinaryToWriter(this, writer);
65232
- return writer.getResultBuffer();
65233
- };
65234
-
65235
-
65236
- /**
65237
- * Serializes the given message to binary data (in protobuf wire
65238
- * format), writing to the given BinaryWriter.
65239
- * @param {!proto.gateway.web.v1.ListProjectInsightCardsResponse} message
65240
- * @param {!jspb.BinaryWriter} writer
65241
- * @suppress {unusedLocalVariables} f is only used for nested messages
65242
- */
65243
- proto.gateway.web.v1.ListProjectInsightCardsResponse.serializeBinaryToWriter = function(message, writer) {
65244
- var f = undefined;
65245
- f = message.getStatus();
65246
- if (f != null) {
65247
- writer.writeMessage(
65248
- 1,
65249
- f,
65250
- proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
65251
- );
65252
- }
65253
- f = message.getCardsList();
65254
- if (f.length > 0) {
65255
- writer.writeRepeatedMessage(
65256
- 2,
65257
- f,
65258
- proto.gateway.web.v1.AIProjectInsightCard.serializeBinaryToWriter
65259
- );
65260
- }
65261
- f = message.getNextPageToken();
65262
- if (f.length > 0) {
65263
- writer.writeString(
65264
- 3,
65265
- f
65266
- );
65267
- }
65268
- };
65269
-
65270
-
65271
- /**
65272
- * optional gateway.common.v1.ResponseStatus status = 1;
65273
- * @return {?proto.gateway.common.v1.ResponseStatus}
65274
- */
65275
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.getStatus = function() {
65276
- return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
65277
- jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
65278
- };
65279
-
65280
-
65281
- /**
65282
- * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
65283
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
65284
- */
65285
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.setStatus = function(value) {
65286
- return jspb.Message.setWrapperField(this, 1, value);
65287
- };
65288
-
65289
-
65290
- /**
65291
- * Clears the message field making it undefined.
65292
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
65293
- */
65294
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.clearStatus = function() {
65295
- return this.setStatus(undefined);
65296
- };
65297
-
65298
-
65299
- /**
65300
- * Returns whether this field is set.
65301
- * @return {boolean}
65302
- */
65303
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.hasStatus = function() {
65304
- return jspb.Message.getField(this, 1) != null;
65305
- };
65306
-
65307
-
65308
- /**
65309
- * repeated AIProjectInsightCard cards = 2;
65310
- * @return {!Array<!proto.gateway.web.v1.AIProjectInsightCard>}
65311
- */
65312
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.getCardsList = function() {
65313
- return /** @type{!Array<!proto.gateway.web.v1.AIProjectInsightCard>} */ (
65314
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIProjectInsightCard, 2));
65315
- };
65316
-
65317
-
65318
- /**
65319
- * @param {!Array<!proto.gateway.web.v1.AIProjectInsightCard>} value
65320
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
65321
- */
65322
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.setCardsList = function(value) {
65323
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
65324
- };
65325
-
65326
-
65327
- /**
65328
- * @param {!proto.gateway.web.v1.AIProjectInsightCard=} opt_value
65329
- * @param {number=} opt_index
65330
- * @return {!proto.gateway.web.v1.AIProjectInsightCard}
65331
- */
65332
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.addCards = function(opt_value, opt_index) {
65333
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIProjectInsightCard, opt_index);
65334
- };
65335
-
65336
-
65337
- /**
65338
- * Clears the list making it empty but non-null.
65339
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
65340
- */
65341
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.clearCardsList = function() {
65342
- return this.setCardsList([]);
65343
- };
65344
-
65345
-
65346
- /**
65347
- * optional string next_page_token = 3;
65348
- * @return {string}
65349
- */
65350
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.getNextPageToken = function() {
65351
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
65352
- };
65353
-
65354
-
65355
- /**
65356
- * @param {string} value
65357
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
65358
- */
65359
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.setNextPageToken = function(value) {
65360
- return jspb.Message.setProto3StringField(this, 3, value);
65361
- };
65362
-
65363
-
65364
-
65365
-
65366
-
65367
- if (jspb.Message.GENERATE_TO_OBJECT) {
65368
- /**
65369
- * Creates an object representation of this proto.
65370
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
65371
- * Optional fields that are not set will be set to undefined.
65372
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
65373
- * For the list of reserved names please see:
65374
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
65375
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
65376
- * JSPB instance for transitional soy proto support:
65377
- * http://goto/soy-param-migration
65378
- * @return {!Object}
65379
- */
65380
- proto.gateway.web.v1.AIProjectInsightCard.prototype.toObject = function(opt_includeInstance) {
65381
- return proto.gateway.web.v1.AIProjectInsightCard.toObject(opt_includeInstance, this);
65382
- };
65383
-
65384
-
65385
- /**
65386
- * Static version of the {@see toObject} method.
65387
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
65388
- * the JSPB instance for transitional soy proto support:
65389
- * http://goto/soy-param-migration
65390
- * @param {!proto.gateway.web.v1.AIProjectInsightCard} msg The msg instance to transform.
65391
- * @return {!Object}
65392
- * @suppress {unusedLocalVariables} f is only used for nested messages
65393
- */
65394
- proto.gateway.web.v1.AIProjectInsightCard.toObject = function(includeInstance, msg) {
65395
- var f, obj = {
65396
- insight: (f = msg.getInsight()) && proto.gateway.web.v1.AIProjectInsight.toObject(includeInstance, f),
65397
- runId: jspb.Message.getFieldWithDefault(msg, 2, ""),
65398
- localDate: jspb.Message.getFieldWithDefault(msg, 3, ""),
65399
- timeZone: jspb.Message.getFieldWithDefault(msg, 4, ""),
65400
- windowClosed: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
65401
- analyzedAt: (f = msg.getAnalyzedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
65402
- };
65403
-
65404
- if (includeInstance) {
65405
- obj.$jspbMessageInstance = msg;
65406
- }
65407
- return obj;
65408
- };
65409
- }
65410
-
65411
-
65412
- /**
65413
- * Deserializes binary data (in protobuf wire format).
65414
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
65415
- * @return {!proto.gateway.web.v1.AIProjectInsightCard}
65416
- */
65417
- proto.gateway.web.v1.AIProjectInsightCard.deserializeBinary = function(bytes) {
65418
- var reader = new jspb.BinaryReader(bytes);
65419
- var msg = new proto.gateway.web.v1.AIProjectInsightCard;
65420
- return proto.gateway.web.v1.AIProjectInsightCard.deserializeBinaryFromReader(msg, reader);
65421
- };
65422
-
65423
-
65424
- /**
65425
- * Deserializes binary data (in protobuf wire format) from the
65426
- * given reader into the given message object.
65427
- * @param {!proto.gateway.web.v1.AIProjectInsightCard} msg The message object to deserialize into.
65428
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
65429
- * @return {!proto.gateway.web.v1.AIProjectInsightCard}
65430
- */
65431
- proto.gateway.web.v1.AIProjectInsightCard.deserializeBinaryFromReader = function(msg, reader) {
65432
- while (reader.nextField()) {
65433
- if (reader.isEndGroup()) {
65434
- break;
65435
- }
65436
- var field = reader.getFieldNumber();
65437
- switch (field) {
65438
- case 1:
65439
- var value = new proto.gateway.web.v1.AIProjectInsight;
65440
- reader.readMessage(value,proto.gateway.web.v1.AIProjectInsight.deserializeBinaryFromReader);
65441
- msg.setInsight(value);
65442
- break;
65443
- case 2:
65444
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
65445
- msg.setRunId(value);
65446
- break;
65447
- case 3:
65448
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
65449
- msg.setLocalDate(value);
65450
- break;
65451
- case 4:
65452
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
65453
- msg.setTimeZone(value);
65454
- break;
65455
- case 5:
65456
- var value = /** @type {boolean} */ (reader.readBool());
65457
- msg.setWindowClosed(value);
65458
- break;
65459
- case 6:
65460
- var value = new google_protobuf_timestamp_pb.Timestamp;
65461
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
65462
- msg.setAnalyzedAt(value);
65463
- break;
65464
- default:
65465
- reader.skipField();
65466
- break;
65467
- }
65468
- }
65469
- return msg;
65470
- };
65471
-
65472
-
65473
- /**
65474
- * Serializes the message to binary data (in protobuf wire format).
65475
- * @return {!Uint8Array}
65476
- */
65477
- proto.gateway.web.v1.AIProjectInsightCard.prototype.serializeBinary = function() {
65478
- var writer = new jspb.BinaryWriter();
65479
- proto.gateway.web.v1.AIProjectInsightCard.serializeBinaryToWriter(this, writer);
65480
- return writer.getResultBuffer();
65481
- };
65482
-
65483
-
65484
- /**
65485
- * Serializes the given message to binary data (in protobuf wire
65486
- * format), writing to the given BinaryWriter.
65487
- * @param {!proto.gateway.web.v1.AIProjectInsightCard} message
65488
- * @param {!jspb.BinaryWriter} writer
65489
- * @suppress {unusedLocalVariables} f is only used for nested messages
65490
- */
65491
- proto.gateway.web.v1.AIProjectInsightCard.serializeBinaryToWriter = function(message, writer) {
65492
- var f = undefined;
65493
- f = message.getInsight();
65494
- if (f != null) {
65495
- writer.writeMessage(
65496
- 1,
65497
- f,
65498
- proto.gateway.web.v1.AIProjectInsight.serializeBinaryToWriter
65499
- );
65500
- }
65501
- f = message.getRunId();
65502
- if (f.length > 0) {
65503
- writer.writeString(
65504
- 2,
65505
- f
65506
- );
65507
- }
65508
- f = message.getLocalDate();
65509
- if (f.length > 0) {
65510
- writer.writeString(
65511
- 3,
65512
- f
65513
- );
65514
- }
65515
- f = message.getTimeZone();
65516
- if (f.length > 0) {
65517
- writer.writeString(
65518
- 4,
65519
- f
65520
- );
65521
- }
65522
- f = message.getWindowClosed();
65523
- if (f) {
65524
- writer.writeBool(
65525
- 5,
65526
- f
65527
- );
65528
- }
65529
- f = message.getAnalyzedAt();
65530
- if (f != null) {
65531
- writer.writeMessage(
65532
- 6,
65533
- f,
65534
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
65535
- );
65536
- }
65537
- };
65538
-
65539
-
65540
- /**
65541
- * optional AIProjectInsight insight = 1;
65542
- * @return {?proto.gateway.web.v1.AIProjectInsight}
65543
- */
65544
- proto.gateway.web.v1.AIProjectInsightCard.prototype.getInsight = function() {
65545
- return /** @type{?proto.gateway.web.v1.AIProjectInsight} */ (
65546
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIProjectInsight, 1));
65547
- };
65548
-
65549
-
65550
- /**
65551
- * @param {?proto.gateway.web.v1.AIProjectInsight|undefined} value
65552
- * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
65553
- */
65554
- proto.gateway.web.v1.AIProjectInsightCard.prototype.setInsight = function(value) {
65555
- return jspb.Message.setWrapperField(this, 1, value);
65556
- };
65557
-
65558
-
65559
- /**
65560
- * Clears the message field making it undefined.
65561
- * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
65562
- */
65563
- proto.gateway.web.v1.AIProjectInsightCard.prototype.clearInsight = function() {
65564
- return this.setInsight(undefined);
65565
- };
65566
-
65567
-
65568
- /**
65569
- * Returns whether this field is set.
65570
- * @return {boolean}
65571
- */
65572
- proto.gateway.web.v1.AIProjectInsightCard.prototype.hasInsight = function() {
65573
- return jspb.Message.getField(this, 1) != null;
65574
- };
65575
-
65576
-
65577
- /**
65578
- * optional string run_id = 2;
65579
- * @return {string}
65580
- */
65581
- proto.gateway.web.v1.AIProjectInsightCard.prototype.getRunId = function() {
65582
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
65583
- };
65584
-
65585
-
65586
- /**
65587
- * @param {string} value
65588
- * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
65589
- */
65590
- proto.gateway.web.v1.AIProjectInsightCard.prototype.setRunId = function(value) {
65591
- return jspb.Message.setProto3StringField(this, 2, value);
65592
- };
65593
-
65594
-
65595
- /**
65596
- * optional string local_date = 3;
65597
- * @return {string}
65598
- */
65599
- proto.gateway.web.v1.AIProjectInsightCard.prototype.getLocalDate = function() {
65600
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
65601
- };
65602
-
65603
-
65604
- /**
65605
- * @param {string} value
65606
- * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
65607
- */
65608
- proto.gateway.web.v1.AIProjectInsightCard.prototype.setLocalDate = function(value) {
65609
- return jspb.Message.setProto3StringField(this, 3, value);
65610
- };
65611
-
65612
-
65613
- /**
65614
- * optional string time_zone = 4;
65615
- * @return {string}
65616
- */
65617
- proto.gateway.web.v1.AIProjectInsightCard.prototype.getTimeZone = function() {
65618
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
65619
- };
65620
-
65621
-
65622
- /**
65623
- * @param {string} value
65624
- * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
65625
- */
65626
- proto.gateway.web.v1.AIProjectInsightCard.prototype.setTimeZone = function(value) {
65627
- return jspb.Message.setProto3StringField(this, 4, value);
65628
- };
65629
-
65630
-
65631
- /**
65632
- * optional bool window_closed = 5;
65633
- * @return {boolean}
65634
- */
65635
- proto.gateway.web.v1.AIProjectInsightCard.prototype.getWindowClosed = function() {
65636
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
65637
- };
65638
-
65639
-
65640
- /**
65641
- * @param {boolean} value
65642
- * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
64745
+ * @return {!proto.gateway.web.v1.ListIssueSessionsResponse} returns this
65643
64746
  */
65644
- proto.gateway.web.v1.AIProjectInsightCard.prototype.setWindowClosed = function(value) {
65645
- return jspb.Message.setProto3BooleanField(this, 5, value);
64747
+ proto.gateway.web.v1.ListIssueSessionsResponse.prototype.clearSessionsList = function() {
64748
+ return this.setSessionsList([]);
65646
64749
  };
65647
64750
 
65648
64751
 
65649
64752
  /**
65650
- * optional google.protobuf.Timestamp analyzed_at = 6;
65651
- * @return {?proto.google.protobuf.Timestamp}
64753
+ * optional IssueCostPagination pagination = 10;
64754
+ * @return {?proto.gateway.web.v1.IssueCostPagination}
65652
64755
  */
65653
- proto.gateway.web.v1.AIProjectInsightCard.prototype.getAnalyzedAt = function() {
65654
- return /** @type{?proto.google.protobuf.Timestamp} */ (
65655
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
64756
+ proto.gateway.web.v1.ListIssueSessionsResponse.prototype.getPagination = function() {
64757
+ return /** @type{?proto.gateway.web.v1.IssueCostPagination} */ (
64758
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.IssueCostPagination, 10));
65656
64759
  };
65657
64760
 
65658
64761
 
65659
64762
  /**
65660
- * @param {?proto.google.protobuf.Timestamp|undefined} value
65661
- * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
64763
+ * @param {?proto.gateway.web.v1.IssueCostPagination|undefined} value
64764
+ * @return {!proto.gateway.web.v1.ListIssueSessionsResponse} returns this
65662
64765
  */
65663
- proto.gateway.web.v1.AIProjectInsightCard.prototype.setAnalyzedAt = function(value) {
65664
- return jspb.Message.setWrapperField(this, 6, value);
64766
+ proto.gateway.web.v1.ListIssueSessionsResponse.prototype.setPagination = function(value) {
64767
+ return jspb.Message.setWrapperField(this, 10, value);
65665
64768
  };
65666
64769
 
65667
64770
 
65668
64771
  /**
65669
64772
  * Clears the message field making it undefined.
65670
- * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
64773
+ * @return {!proto.gateway.web.v1.ListIssueSessionsResponse} returns this
65671
64774
  */
65672
- proto.gateway.web.v1.AIProjectInsightCard.prototype.clearAnalyzedAt = function() {
65673
- return this.setAnalyzedAt(undefined);
64775
+ proto.gateway.web.v1.ListIssueSessionsResponse.prototype.clearPagination = function() {
64776
+ return this.setPagination(undefined);
65674
64777
  };
65675
64778
 
65676
64779
 
@@ -65678,19 +64781,12 @@ proto.gateway.web.v1.AIProjectInsightCard.prototype.clearAnalyzedAt = function()
65678
64781
  * Returns whether this field is set.
65679
64782
  * @return {boolean}
65680
64783
  */
65681
- proto.gateway.web.v1.AIProjectInsightCard.prototype.hasAnalyzedAt = function() {
65682
- return jspb.Message.getField(this, 6) != null;
64784
+ proto.gateway.web.v1.ListIssueSessionsResponse.prototype.hasPagination = function() {
64785
+ return jspb.Message.getField(this, 10) != null;
65683
64786
  };
65684
64787
 
65685
64788
 
65686
64789
 
65687
- /**
65688
- * List of repeated fields within this message type.
65689
- * @private {!Array<number>}
65690
- * @const
65691
- */
65692
- proto.gateway.web.v1.AIProjectInsight.repeatedFields_ = [12];
65693
-
65694
64790
 
65695
64791
 
65696
64792
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -65706,8 +64802,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
65706
64802
  * http://goto/soy-param-migration
65707
64803
  * @return {!Object}
65708
64804
  */
65709
- proto.gateway.web.v1.AIProjectInsight.prototype.toObject = function(opt_includeInstance) {
65710
- return proto.gateway.web.v1.AIProjectInsight.toObject(opt_includeInstance, this);
64805
+ proto.gateway.web.v1.IssuePullRequest.prototype.toObject = function(opt_includeInstance) {
64806
+ return proto.gateway.web.v1.IssuePullRequest.toObject(opt_includeInstance, this);
65711
64807
  };
65712
64808
 
65713
64809
 
@@ -65716,26 +64812,16 @@ proto.gateway.web.v1.AIProjectInsight.prototype.toObject = function(opt_includeI
65716
64812
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
65717
64813
  * the JSPB instance for transitional soy proto support:
65718
64814
  * http://goto/soy-param-migration
65719
- * @param {!proto.gateway.web.v1.AIProjectInsight} msg The msg instance to transform.
64815
+ * @param {!proto.gateway.web.v1.IssuePullRequest} msg The msg instance to transform.
65720
64816
  * @return {!Object}
65721
64817
  * @suppress {unusedLocalVariables} f is only used for nested messages
65722
64818
  */
65723
- proto.gateway.web.v1.AIProjectInsight.toObject = function(includeInstance, msg) {
64819
+ proto.gateway.web.v1.IssuePullRequest.toObject = function(includeInstance, msg) {
65724
64820
  var f, obj = {
65725
- id: jspb.Message.getFieldWithDefault(msg, 1, ""),
65726
- rank: jspb.Message.getFieldWithDefault(msg, 2, 0),
65727
- kind: jspb.Message.getFieldWithDefault(msg, 3, 0),
65728
- title: jspb.Message.getFieldWithDefault(msg, 4, ""),
65729
- pattern: jspb.Message.getFieldWithDefault(msg, 5, ""),
65730
- explanation: jspb.Message.getFieldWithDefault(msg, 6, ""),
65731
- action: jspb.Message.getFieldWithDefault(msg, 7, ""),
65732
- limitations: jspb.Message.getFieldWithDefault(msg, 8, ""),
65733
- sessionCount: jspb.Message.getFieldWithDefault(msg, 9, 0),
65734
- personCount: jspb.Message.getFieldWithDefault(msg, 10, 0),
65735
- spendUsd: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f,
65736
- citationsList: jspb.Message.toObjectList(msg.getCitationsList(),
65737
- proto.gateway.web.v1.AIProjectInsightCitation.toObject, includeInstance),
65738
- skillSuggestion: (f = msg.getSkillSuggestion()) && proto.gateway.web.v1.AISkillSuggestion.toObject(includeInstance, f)
64821
+ repositoryKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
64822
+ number: jspb.Message.getFieldWithDefault(msg, 2, 0),
64823
+ url: jspb.Message.getFieldWithDefault(msg, 3, ""),
64824
+ state: jspb.Message.getFieldWithDefault(msg, 4, "")
65739
64825
  };
65740
64826
 
65741
64827
  if (includeInstance) {
@@ -65749,23 +64835,23 @@ skillSuggestion: (f = msg.getSkillSuggestion()) && proto.gateway.web.v1.AISkillS
65749
64835
  /**
65750
64836
  * Deserializes binary data (in protobuf wire format).
65751
64837
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
65752
- * @return {!proto.gateway.web.v1.AIProjectInsight}
64838
+ * @return {!proto.gateway.web.v1.IssuePullRequest}
65753
64839
  */
65754
- proto.gateway.web.v1.AIProjectInsight.deserializeBinary = function(bytes) {
64840
+ proto.gateway.web.v1.IssuePullRequest.deserializeBinary = function(bytes) {
65755
64841
  var reader = new jspb.BinaryReader(bytes);
65756
- var msg = new proto.gateway.web.v1.AIProjectInsight;
65757
- return proto.gateway.web.v1.AIProjectInsight.deserializeBinaryFromReader(msg, reader);
64842
+ var msg = new proto.gateway.web.v1.IssuePullRequest;
64843
+ return proto.gateway.web.v1.IssuePullRequest.deserializeBinaryFromReader(msg, reader);
65758
64844
  };
65759
64845
 
65760
64846
 
65761
64847
  /**
65762
64848
  * Deserializes binary data (in protobuf wire format) from the
65763
64849
  * given reader into the given message object.
65764
- * @param {!proto.gateway.web.v1.AIProjectInsight} msg The message object to deserialize into.
64850
+ * @param {!proto.gateway.web.v1.IssuePullRequest} msg The message object to deserialize into.
65765
64851
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
65766
- * @return {!proto.gateway.web.v1.AIProjectInsight}
64852
+ * @return {!proto.gateway.web.v1.IssuePullRequest}
65767
64853
  */
65768
- proto.gateway.web.v1.AIProjectInsight.deserializeBinaryFromReader = function(msg, reader) {
64854
+ proto.gateway.web.v1.IssuePullRequest.deserializeBinaryFromReader = function(msg, reader) {
65769
64855
  while (reader.nextField()) {
65770
64856
  if (reader.isEndGroup()) {
65771
64857
  break;
@@ -65774,57 +64860,19 @@ proto.gateway.web.v1.AIProjectInsight.deserializeBinaryFromReader = function(msg
65774
64860
  switch (field) {
65775
64861
  case 1:
65776
64862
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
65777
- msg.setId(value);
64863
+ msg.setRepositoryKey(value);
65778
64864
  break;
65779
64865
  case 2:
65780
- var value = /** @type {number} */ (reader.readUint32());
65781
- msg.setRank(value);
64866
+ var value = /** @type {number} */ (reader.readInt32());
64867
+ msg.setNumber(value);
65782
64868
  break;
65783
64869
  case 3:
65784
- var value = /** @type {!proto.gateway.web.v1.AIProjectInsightKind} */ (reader.readEnum());
65785
- msg.setKind(value);
65786
- break;
65787
- case 4:
65788
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
65789
- msg.setTitle(value);
65790
- break;
65791
- case 5:
65792
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
65793
- msg.setPattern(value);
65794
- break;
65795
- case 6:
65796
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
65797
- msg.setExplanation(value);
65798
- break;
65799
- case 7:
65800
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
65801
- msg.setAction(value);
65802
- break;
65803
- case 8:
65804
64870
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
65805
- msg.setLimitations(value);
65806
- break;
65807
- case 9:
65808
- var value = /** @type {number} */ (reader.readUint32());
65809
- msg.setSessionCount(value);
65810
- break;
65811
- case 10:
65812
- var value = /** @type {number} */ (reader.readUint32());
65813
- msg.setPersonCount(value);
64871
+ msg.setUrl(value);
65814
64872
  break;
65815
- case 11:
64873
+ case 4:
65816
64874
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
65817
- msg.setSpendUsd(value);
65818
- break;
65819
- case 12:
65820
- var value = new proto.gateway.web.v1.AIProjectInsightCitation;
65821
- reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightCitation.deserializeBinaryFromReader);
65822
- msg.addCitations(value);
65823
- break;
65824
- case 13:
65825
- var value = new proto.gateway.web.v1.AISkillSuggestion;
65826
- reader.readMessage(value,proto.gateway.web.v1.AISkillSuggestion.deserializeBinaryFromReader);
65827
- msg.setSkillSuggestion(value);
64875
+ msg.setState(value);
65828
64876
  break;
65829
64877
  default:
65830
64878
  reader.skipField();
@@ -65839,9 +64887,9 @@ proto.gateway.web.v1.AIProjectInsight.deserializeBinaryFromReader = function(msg
65839
64887
  * Serializes the message to binary data (in protobuf wire format).
65840
64888
  * @return {!Uint8Array}
65841
64889
  */
65842
- proto.gateway.web.v1.AIProjectInsight.prototype.serializeBinary = function() {
64890
+ proto.gateway.web.v1.IssuePullRequest.prototype.serializeBinary = function() {
65843
64891
  var writer = new jspb.BinaryWriter();
65844
- proto.gateway.web.v1.AIProjectInsight.serializeBinaryToWriter(this, writer);
64892
+ proto.gateway.web.v1.IssuePullRequest.serializeBinaryToWriter(this, writer);
65845
64893
  return writer.getResultBuffer();
65846
64894
  };
65847
64895
 
@@ -65849,399 +64897,122 @@ proto.gateway.web.v1.AIProjectInsight.prototype.serializeBinary = function() {
65849
64897
  /**
65850
64898
  * Serializes the given message to binary data (in protobuf wire
65851
64899
  * format), writing to the given BinaryWriter.
65852
- * @param {!proto.gateway.web.v1.AIProjectInsight} message
64900
+ * @param {!proto.gateway.web.v1.IssuePullRequest} message
65853
64901
  * @param {!jspb.BinaryWriter} writer
65854
64902
  * @suppress {unusedLocalVariables} f is only used for nested messages
65855
64903
  */
65856
- proto.gateway.web.v1.AIProjectInsight.serializeBinaryToWriter = function(message, writer) {
64904
+ proto.gateway.web.v1.IssuePullRequest.serializeBinaryToWriter = function(message, writer) {
65857
64905
  var f = undefined;
65858
- f = message.getId();
64906
+ f = message.getRepositoryKey();
65859
64907
  if (f.length > 0) {
65860
64908
  writer.writeString(
65861
64909
  1,
65862
64910
  f
65863
64911
  );
65864
64912
  }
65865
- f = message.getRank();
64913
+ f = message.getNumber();
65866
64914
  if (f !== 0) {
65867
- writer.writeUint32(
64915
+ writer.writeInt32(
65868
64916
  2,
65869
64917
  f
65870
64918
  );
65871
64919
  }
65872
- f = message.getKind();
65873
- if (f !== 0.0) {
65874
- writer.writeEnum(
65875
- 3,
65876
- f
65877
- );
65878
- }
65879
- f = message.getTitle();
65880
- if (f.length > 0) {
65881
- writer.writeString(
65882
- 4,
65883
- f
65884
- );
65885
- }
65886
- f = message.getPattern();
65887
- if (f.length > 0) {
65888
- writer.writeString(
65889
- 5,
65890
- f
65891
- );
65892
- }
65893
- f = message.getExplanation();
65894
- if (f.length > 0) {
65895
- writer.writeString(
65896
- 6,
65897
- f
65898
- );
65899
- }
65900
- f = message.getAction();
64920
+ f = message.getUrl();
65901
64921
  if (f.length > 0) {
65902
64922
  writer.writeString(
65903
- 7,
64923
+ 3,
65904
64924
  f
65905
64925
  );
65906
64926
  }
65907
- f = message.getLimitations();
64927
+ f = message.getState();
65908
64928
  if (f.length > 0) {
65909
64929
  writer.writeString(
65910
- 8,
65911
- f
65912
- );
65913
- }
65914
- f = message.getSessionCount();
65915
- if (f !== 0) {
65916
- writer.writeUint32(
65917
- 9,
65918
- f
65919
- );
65920
- }
65921
- f = message.getPersonCount();
65922
- if (f !== 0) {
65923
- writer.writeUint32(
65924
- 10,
65925
- f
65926
- );
65927
- }
65928
- f = /** @type {string} */ (jspb.Message.getField(message, 11));
65929
- if (f != null) {
65930
- writer.writeString(
65931
- 11,
64930
+ 4,
65932
64931
  f
65933
64932
  );
65934
64933
  }
65935
- f = message.getCitationsList();
65936
- if (f.length > 0) {
65937
- writer.writeRepeatedMessage(
65938
- 12,
65939
- f,
65940
- proto.gateway.web.v1.AIProjectInsightCitation.serializeBinaryToWriter
65941
- );
65942
- }
65943
- f = message.getSkillSuggestion();
65944
- if (f != null) {
65945
- writer.writeMessage(
65946
- 13,
65947
- f,
65948
- proto.gateway.web.v1.AISkillSuggestion.serializeBinaryToWriter
65949
- );
65950
- }
65951
64934
  };
65952
64935
 
65953
64936
 
65954
64937
  /**
65955
- * optional string id = 1;
64938
+ * optional string repository_key = 1;
65956
64939
  * @return {string}
65957
64940
  */
65958
- proto.gateway.web.v1.AIProjectInsight.prototype.getId = function() {
64941
+ proto.gateway.web.v1.IssuePullRequest.prototype.getRepositoryKey = function() {
65959
64942
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
65960
64943
  };
65961
64944
 
65962
64945
 
65963
64946
  /**
65964
64947
  * @param {string} value
65965
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
64948
+ * @return {!proto.gateway.web.v1.IssuePullRequest} returns this
65966
64949
  */
65967
- proto.gateway.web.v1.AIProjectInsight.prototype.setId = function(value) {
64950
+ proto.gateway.web.v1.IssuePullRequest.prototype.setRepositoryKey = function(value) {
65968
64951
  return jspb.Message.setProto3StringField(this, 1, value);
65969
64952
  };
65970
64953
 
65971
64954
 
65972
64955
  /**
65973
- * optional uint32 rank = 2;
64956
+ * optional int32 number = 2;
65974
64957
  * @return {number}
65975
64958
  */
65976
- proto.gateway.web.v1.AIProjectInsight.prototype.getRank = function() {
64959
+ proto.gateway.web.v1.IssuePullRequest.prototype.getNumber = function() {
65977
64960
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
65978
64961
  };
65979
64962
 
65980
64963
 
65981
64964
  /**
65982
64965
  * @param {number} value
65983
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
64966
+ * @return {!proto.gateway.web.v1.IssuePullRequest} returns this
65984
64967
  */
65985
- proto.gateway.web.v1.AIProjectInsight.prototype.setRank = function(value) {
64968
+ proto.gateway.web.v1.IssuePullRequest.prototype.setNumber = function(value) {
65986
64969
  return jspb.Message.setProto3IntField(this, 2, value);
65987
64970
  };
65988
64971
 
65989
64972
 
65990
64973
  /**
65991
- * optional AIProjectInsightKind kind = 3;
65992
- * @return {!proto.gateway.web.v1.AIProjectInsightKind}
65993
- */
65994
- proto.gateway.web.v1.AIProjectInsight.prototype.getKind = function() {
65995
- return /** @type {!proto.gateway.web.v1.AIProjectInsightKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
65996
- };
65997
-
65998
-
65999
- /**
66000
- * @param {!proto.gateway.web.v1.AIProjectInsightKind} value
66001
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
66002
- */
66003
- proto.gateway.web.v1.AIProjectInsight.prototype.setKind = function(value) {
66004
- return jspb.Message.setProto3EnumField(this, 3, value);
66005
- };
66006
-
66007
-
66008
- /**
66009
- * optional string title = 4;
66010
- * @return {string}
66011
- */
66012
- proto.gateway.web.v1.AIProjectInsight.prototype.getTitle = function() {
66013
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
66014
- };
66015
-
66016
-
66017
- /**
66018
- * @param {string} value
66019
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
66020
- */
66021
- proto.gateway.web.v1.AIProjectInsight.prototype.setTitle = function(value) {
66022
- return jspb.Message.setProto3StringField(this, 4, value);
66023
- };
66024
-
66025
-
66026
- /**
66027
- * optional string pattern = 5;
66028
- * @return {string}
66029
- */
66030
- proto.gateway.web.v1.AIProjectInsight.prototype.getPattern = function() {
66031
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
66032
- };
66033
-
66034
-
66035
- /**
66036
- * @param {string} value
66037
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
66038
- */
66039
- proto.gateway.web.v1.AIProjectInsight.prototype.setPattern = function(value) {
66040
- return jspb.Message.setProto3StringField(this, 5, value);
66041
- };
66042
-
66043
-
66044
- /**
66045
- * optional string explanation = 6;
66046
- * @return {string}
66047
- */
66048
- proto.gateway.web.v1.AIProjectInsight.prototype.getExplanation = function() {
66049
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
66050
- };
66051
-
66052
-
66053
- /**
66054
- * @param {string} value
66055
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
66056
- */
66057
- proto.gateway.web.v1.AIProjectInsight.prototype.setExplanation = function(value) {
66058
- return jspb.Message.setProto3StringField(this, 6, value);
66059
- };
66060
-
66061
-
66062
- /**
66063
- * optional string action = 7;
66064
- * @return {string}
66065
- */
66066
- proto.gateway.web.v1.AIProjectInsight.prototype.getAction = function() {
66067
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
66068
- };
66069
-
66070
-
66071
- /**
66072
- * @param {string} value
66073
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
66074
- */
66075
- proto.gateway.web.v1.AIProjectInsight.prototype.setAction = function(value) {
66076
- return jspb.Message.setProto3StringField(this, 7, value);
66077
- };
66078
-
66079
-
66080
- /**
66081
- * optional string limitations = 8;
64974
+ * optional string url = 3;
66082
64975
  * @return {string}
66083
64976
  */
66084
- proto.gateway.web.v1.AIProjectInsight.prototype.getLimitations = function() {
66085
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
64977
+ proto.gateway.web.v1.IssuePullRequest.prototype.getUrl = function() {
64978
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
66086
64979
  };
66087
64980
 
66088
64981
 
66089
64982
  /**
66090
64983
  * @param {string} value
66091
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
66092
- */
66093
- proto.gateway.web.v1.AIProjectInsight.prototype.setLimitations = function(value) {
66094
- return jspb.Message.setProto3StringField(this, 8, value);
66095
- };
66096
-
66097
-
66098
- /**
66099
- * optional uint32 session_count = 9;
66100
- * @return {number}
66101
- */
66102
- proto.gateway.web.v1.AIProjectInsight.prototype.getSessionCount = function() {
66103
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
66104
- };
66105
-
66106
-
66107
- /**
66108
- * @param {number} value
66109
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
66110
- */
66111
- proto.gateway.web.v1.AIProjectInsight.prototype.setSessionCount = function(value) {
66112
- return jspb.Message.setProto3IntField(this, 9, value);
66113
- };
66114
-
66115
-
66116
- /**
66117
- * optional uint32 person_count = 10;
66118
- * @return {number}
66119
- */
66120
- proto.gateway.web.v1.AIProjectInsight.prototype.getPersonCount = function() {
66121
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
66122
- };
66123
-
66124
-
66125
- /**
66126
- * @param {number} value
66127
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
64984
+ * @return {!proto.gateway.web.v1.IssuePullRequest} returns this
66128
64985
  */
66129
- proto.gateway.web.v1.AIProjectInsight.prototype.setPersonCount = function(value) {
66130
- return jspb.Message.setProto3IntField(this, 10, value);
64986
+ proto.gateway.web.v1.IssuePullRequest.prototype.setUrl = function(value) {
64987
+ return jspb.Message.setProto3StringField(this, 3, value);
66131
64988
  };
66132
64989
 
66133
64990
 
66134
64991
  /**
66135
- * optional string spend_usd = 11;
64992
+ * optional string state = 4;
66136
64993
  * @return {string}
66137
64994
  */
66138
- proto.gateway.web.v1.AIProjectInsight.prototype.getSpendUsd = function() {
66139
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
64995
+ proto.gateway.web.v1.IssuePullRequest.prototype.getState = function() {
64996
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
66140
64997
  };
66141
64998
 
66142
64999
 
66143
65000
  /**
66144
65001
  * @param {string} value
66145
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
66146
- */
66147
- proto.gateway.web.v1.AIProjectInsight.prototype.setSpendUsd = function(value) {
66148
- return jspb.Message.setField(this, 11, value);
66149
- };
66150
-
66151
-
66152
- /**
66153
- * Clears the field making it undefined.
66154
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
66155
- */
66156
- proto.gateway.web.v1.AIProjectInsight.prototype.clearSpendUsd = function() {
66157
- return jspb.Message.setField(this, 11, undefined);
66158
- };
66159
-
66160
-
66161
- /**
66162
- * Returns whether this field is set.
66163
- * @return {boolean}
66164
- */
66165
- proto.gateway.web.v1.AIProjectInsight.prototype.hasSpendUsd = function() {
66166
- return jspb.Message.getField(this, 11) != null;
66167
- };
66168
-
66169
-
66170
- /**
66171
- * repeated AIProjectInsightCitation citations = 12;
66172
- * @return {!Array<!proto.gateway.web.v1.AIProjectInsightCitation>}
66173
- */
66174
- proto.gateway.web.v1.AIProjectInsight.prototype.getCitationsList = function() {
66175
- return /** @type{!Array<!proto.gateway.web.v1.AIProjectInsightCitation>} */ (
66176
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIProjectInsightCitation, 12));
66177
- };
66178
-
66179
-
66180
- /**
66181
- * @param {!Array<!proto.gateway.web.v1.AIProjectInsightCitation>} value
66182
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
66183
- */
66184
- proto.gateway.web.v1.AIProjectInsight.prototype.setCitationsList = function(value) {
66185
- return jspb.Message.setRepeatedWrapperField(this, 12, value);
66186
- };
66187
-
66188
-
66189
- /**
66190
- * @param {!proto.gateway.web.v1.AIProjectInsightCitation=} opt_value
66191
- * @param {number=} opt_index
66192
- * @return {!proto.gateway.web.v1.AIProjectInsightCitation}
66193
- */
66194
- proto.gateway.web.v1.AIProjectInsight.prototype.addCitations = function(opt_value, opt_index) {
66195
- return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.gateway.web.v1.AIProjectInsightCitation, opt_index);
66196
- };
66197
-
66198
-
66199
- /**
66200
- * Clears the list making it empty but non-null.
66201
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
66202
- */
66203
- proto.gateway.web.v1.AIProjectInsight.prototype.clearCitationsList = function() {
66204
- return this.setCitationsList([]);
66205
- };
66206
-
66207
-
66208
- /**
66209
- * optional AISkillSuggestion skill_suggestion = 13;
66210
- * @return {?proto.gateway.web.v1.AISkillSuggestion}
65002
+ * @return {!proto.gateway.web.v1.IssuePullRequest} returns this
66211
65003
  */
66212
- proto.gateway.web.v1.AIProjectInsight.prototype.getSkillSuggestion = function() {
66213
- return /** @type{?proto.gateway.web.v1.AISkillSuggestion} */ (
66214
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISkillSuggestion, 13));
66215
- };
66216
-
66217
-
66218
- /**
66219
- * @param {?proto.gateway.web.v1.AISkillSuggestion|undefined} value
66220
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
66221
- */
66222
- proto.gateway.web.v1.AIProjectInsight.prototype.setSkillSuggestion = function(value) {
66223
- return jspb.Message.setWrapperField(this, 13, value);
65004
+ proto.gateway.web.v1.IssuePullRequest.prototype.setState = function(value) {
65005
+ return jspb.Message.setProto3StringField(this, 4, value);
66224
65006
  };
66225
65007
 
66226
65008
 
66227
- /**
66228
- * Clears the message field making it undefined.
66229
- * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
66230
- */
66231
- proto.gateway.web.v1.AIProjectInsight.prototype.clearSkillSuggestion = function() {
66232
- return this.setSkillSuggestion(undefined);
66233
- };
66234
-
66235
65009
 
66236
65010
  /**
66237
- * Returns whether this field is set.
66238
- * @return {boolean}
65011
+ * List of repeated fields within this message type.
65012
+ * @private {!Array<number>}
65013
+ * @const
66239
65014
  */
66240
- proto.gateway.web.v1.AIProjectInsight.prototype.hasSkillSuggestion = function() {
66241
- return jspb.Message.getField(this, 13) != null;
66242
- };
66243
-
66244
-
65015
+ proto.gateway.web.v1.IssueSession.repeatedFields_ = [3];
66245
65016
 
66246
65017
 
66247
65018
 
@@ -66258,8 +65029,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
66258
65029
  * http://goto/soy-param-migration
66259
65030
  * @return {!Object}
66260
65031
  */
66261
- proto.gateway.web.v1.AIProjectInsightCitation.prototype.toObject = function(opt_includeInstance) {
66262
- return proto.gateway.web.v1.AIProjectInsightCitation.toObject(opt_includeInstance, this);
65032
+ proto.gateway.web.v1.IssueSession.prototype.toObject = function(opt_includeInstance) {
65033
+ return proto.gateway.web.v1.IssueSession.toObject(opt_includeInstance, this);
66263
65034
  };
66264
65035
 
66265
65036
 
@@ -66268,15 +65039,18 @@ proto.gateway.web.v1.AIProjectInsightCitation.prototype.toObject = function(opt_
66268
65039
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
66269
65040
  * the JSPB instance for transitional soy proto support:
66270
65041
  * http://goto/soy-param-migration
66271
- * @param {!proto.gateway.web.v1.AIProjectInsightCitation} msg The msg instance to transform.
65042
+ * @param {!proto.gateway.web.v1.IssueSession} msg The msg instance to transform.
66272
65043
  * @return {!Object}
66273
65044
  * @suppress {unusedLocalVariables} f is only used for nested messages
66274
65045
  */
66275
- proto.gateway.web.v1.AIProjectInsightCitation.toObject = function(includeInstance, msg) {
65046
+ proto.gateway.web.v1.IssueSession.toObject = function(includeInstance, msg) {
66276
65047
  var f, obj = {
66277
65048
  sourceSystem: jspb.Message.getFieldWithDefault(msg, 1, ""),
66278
65049
  sessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
66279
- eventRef: (f = msg.getEventRef()) && proto.gateway.web.v1.AISessionEventRef.toObject(includeInstance, f)
65050
+ projectIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
65051
+ startedAt: (f = msg.getStartedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
65052
+ recordedCostUsdNanos: jspb.Message.getFieldWithDefault(msg, 5, "0"),
65053
+ costUsdNanos: jspb.Message.getFieldWithDefault(msg, 6, "0")
66280
65054
  };
66281
65055
 
66282
65056
  if (includeInstance) {
@@ -66290,23 +65064,23 @@ eventRef: (f = msg.getEventRef()) && proto.gateway.web.v1.AISessionEventRef.toOb
66290
65064
  /**
66291
65065
  * Deserializes binary data (in protobuf wire format).
66292
65066
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
66293
- * @return {!proto.gateway.web.v1.AIProjectInsightCitation}
65067
+ * @return {!proto.gateway.web.v1.IssueSession}
66294
65068
  */
66295
- proto.gateway.web.v1.AIProjectInsightCitation.deserializeBinary = function(bytes) {
65069
+ proto.gateway.web.v1.IssueSession.deserializeBinary = function(bytes) {
66296
65070
  var reader = new jspb.BinaryReader(bytes);
66297
- var msg = new proto.gateway.web.v1.AIProjectInsightCitation;
66298
- return proto.gateway.web.v1.AIProjectInsightCitation.deserializeBinaryFromReader(msg, reader);
65071
+ var msg = new proto.gateway.web.v1.IssueSession;
65072
+ return proto.gateway.web.v1.IssueSession.deserializeBinaryFromReader(msg, reader);
66299
65073
  };
66300
65074
 
66301
65075
 
66302
65076
  /**
66303
65077
  * Deserializes binary data (in protobuf wire format) from the
66304
65078
  * given reader into the given message object.
66305
- * @param {!proto.gateway.web.v1.AIProjectInsightCitation} msg The message object to deserialize into.
65079
+ * @param {!proto.gateway.web.v1.IssueSession} msg The message object to deserialize into.
66306
65080
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
66307
- * @return {!proto.gateway.web.v1.AIProjectInsightCitation}
65081
+ * @return {!proto.gateway.web.v1.IssueSession}
66308
65082
  */
66309
- proto.gateway.web.v1.AIProjectInsightCitation.deserializeBinaryFromReader = function(msg, reader) {
65083
+ proto.gateway.web.v1.IssueSession.deserializeBinaryFromReader = function(msg, reader) {
66310
65084
  while (reader.nextField()) {
66311
65085
  if (reader.isEndGroup()) {
66312
65086
  break;
@@ -66322,9 +65096,21 @@ proto.gateway.web.v1.AIProjectInsightCitation.deserializeBinaryFromReader = func
66322
65096
  msg.setSessionId(value);
66323
65097
  break;
66324
65098
  case 3:
66325
- var value = new proto.gateway.web.v1.AISessionEventRef;
66326
- reader.readMessage(value,proto.gateway.web.v1.AISessionEventRef.deserializeBinaryFromReader);
66327
- msg.setEventRef(value);
65099
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
65100
+ msg.addProjectIds(value);
65101
+ break;
65102
+ case 4:
65103
+ var value = new google_protobuf_timestamp_pb.Timestamp;
65104
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
65105
+ msg.setStartedAt(value);
65106
+ break;
65107
+ case 5:
65108
+ var value = /** @type {string} */ (reader.readInt64String());
65109
+ msg.setRecordedCostUsdNanos(value);
65110
+ break;
65111
+ case 6:
65112
+ var value = /** @type {string} */ (reader.readInt64String());
65113
+ msg.setCostUsdNanos(value);
66328
65114
  break;
66329
65115
  default:
66330
65116
  reader.skipField();
@@ -66339,9 +65125,9 @@ proto.gateway.web.v1.AIProjectInsightCitation.deserializeBinaryFromReader = func
66339
65125
  * Serializes the message to binary data (in protobuf wire format).
66340
65126
  * @return {!Uint8Array}
66341
65127
  */
66342
- proto.gateway.web.v1.AIProjectInsightCitation.prototype.serializeBinary = function() {
65128
+ proto.gateway.web.v1.IssueSession.prototype.serializeBinary = function() {
66343
65129
  var writer = new jspb.BinaryWriter();
66344
- proto.gateway.web.v1.AIProjectInsightCitation.serializeBinaryToWriter(this, writer);
65130
+ proto.gateway.web.v1.IssueSession.serializeBinaryToWriter(this, writer);
66345
65131
  return writer.getResultBuffer();
66346
65132
  };
66347
65133
 
@@ -66349,11 +65135,11 @@ proto.gateway.web.v1.AIProjectInsightCitation.prototype.serializeBinary = functi
66349
65135
  /**
66350
65136
  * Serializes the given message to binary data (in protobuf wire
66351
65137
  * format), writing to the given BinaryWriter.
66352
- * @param {!proto.gateway.web.v1.AIProjectInsightCitation} message
65138
+ * @param {!proto.gateway.web.v1.IssueSession} message
66353
65139
  * @param {!jspb.BinaryWriter} writer
66354
65140
  * @suppress {unusedLocalVariables} f is only used for nested messages
66355
65141
  */
66356
- proto.gateway.web.v1.AIProjectInsightCitation.serializeBinaryToWriter = function(message, writer) {
65142
+ proto.gateway.web.v1.IssueSession.serializeBinaryToWriter = function(message, writer) {
66357
65143
  var f = undefined;
66358
65144
  f = message.getSourceSystem();
66359
65145
  if (f.length > 0) {
@@ -66369,12 +65155,33 @@ proto.gateway.web.v1.AIProjectInsightCitation.serializeBinaryToWriter = function
66369
65155
  f
66370
65156
  );
66371
65157
  }
66372
- f = message.getEventRef();
65158
+ f = message.getProjectIdsList();
65159
+ if (f.length > 0) {
65160
+ writer.writeRepeatedString(
65161
+ 3,
65162
+ f
65163
+ );
65164
+ }
65165
+ f = message.getStartedAt();
66373
65166
  if (f != null) {
66374
65167
  writer.writeMessage(
66375
- 3,
65168
+ 4,
66376
65169
  f,
66377
- proto.gateway.web.v1.AISessionEventRef.serializeBinaryToWriter
65170
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
65171
+ );
65172
+ }
65173
+ f = message.getRecordedCostUsdNanos();
65174
+ if (parseInt(f, 10) !== 0) {
65175
+ writer.writeInt64String(
65176
+ 5,
65177
+ f
65178
+ );
65179
+ }
65180
+ f = message.getCostUsdNanos();
65181
+ if (parseInt(f, 10) !== 0) {
65182
+ writer.writeInt64String(
65183
+ 6,
65184
+ f
66378
65185
  );
66379
65186
  }
66380
65187
  };
@@ -66384,16 +65191,16 @@ proto.gateway.web.v1.AIProjectInsightCitation.serializeBinaryToWriter = function
66384
65191
  * optional string source_system = 1;
66385
65192
  * @return {string}
66386
65193
  */
66387
- proto.gateway.web.v1.AIProjectInsightCitation.prototype.getSourceSystem = function() {
65194
+ proto.gateway.web.v1.IssueSession.prototype.getSourceSystem = function() {
66388
65195
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
66389
65196
  };
66390
65197
 
66391
65198
 
66392
65199
  /**
66393
65200
  * @param {string} value
66394
- * @return {!proto.gateway.web.v1.AIProjectInsightCitation} returns this
65201
+ * @return {!proto.gateway.web.v1.IssueSession} returns this
66395
65202
  */
66396
- proto.gateway.web.v1.AIProjectInsightCitation.prototype.setSourceSystem = function(value) {
65203
+ proto.gateway.web.v1.IssueSession.prototype.setSourceSystem = function(value) {
66397
65204
  return jspb.Message.setProto3StringField(this, 1, value);
66398
65205
  };
66399
65206
 
@@ -66402,45 +65209,82 @@ proto.gateway.web.v1.AIProjectInsightCitation.prototype.setSourceSystem = functi
66402
65209
  * optional string session_id = 2;
66403
65210
  * @return {string}
66404
65211
  */
66405
- proto.gateway.web.v1.AIProjectInsightCitation.prototype.getSessionId = function() {
65212
+ proto.gateway.web.v1.IssueSession.prototype.getSessionId = function() {
66406
65213
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
66407
65214
  };
66408
65215
 
66409
65216
 
66410
65217
  /**
66411
65218
  * @param {string} value
66412
- * @return {!proto.gateway.web.v1.AIProjectInsightCitation} returns this
65219
+ * @return {!proto.gateway.web.v1.IssueSession} returns this
66413
65220
  */
66414
- proto.gateway.web.v1.AIProjectInsightCitation.prototype.setSessionId = function(value) {
65221
+ proto.gateway.web.v1.IssueSession.prototype.setSessionId = function(value) {
66415
65222
  return jspb.Message.setProto3StringField(this, 2, value);
66416
65223
  };
66417
65224
 
66418
65225
 
66419
65226
  /**
66420
- * optional AISessionEventRef event_ref = 3;
66421
- * @return {?proto.gateway.web.v1.AISessionEventRef}
65227
+ * repeated string project_ids = 3;
65228
+ * @return {!Array<string>}
65229
+ */
65230
+ proto.gateway.web.v1.IssueSession.prototype.getProjectIdsList = function() {
65231
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
65232
+ };
65233
+
65234
+
65235
+ /**
65236
+ * @param {!Array<string>} value
65237
+ * @return {!proto.gateway.web.v1.IssueSession} returns this
65238
+ */
65239
+ proto.gateway.web.v1.IssueSession.prototype.setProjectIdsList = function(value) {
65240
+ return jspb.Message.setField(this, 3, value || []);
65241
+ };
65242
+
65243
+
65244
+ /**
65245
+ * @param {string} value
65246
+ * @param {number=} opt_index
65247
+ * @return {!proto.gateway.web.v1.IssueSession} returns this
65248
+ */
65249
+ proto.gateway.web.v1.IssueSession.prototype.addProjectIds = function(value, opt_index) {
65250
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
65251
+ };
65252
+
65253
+
65254
+ /**
65255
+ * Clears the list making it empty but non-null.
65256
+ * @return {!proto.gateway.web.v1.IssueSession} returns this
65257
+ */
65258
+ proto.gateway.web.v1.IssueSession.prototype.clearProjectIdsList = function() {
65259
+ return this.setProjectIdsList([]);
65260
+ };
65261
+
65262
+
65263
+ /**
65264
+ * optional google.protobuf.Timestamp started_at = 4;
65265
+ * @return {?proto.google.protobuf.Timestamp}
66422
65266
  */
66423
- proto.gateway.web.v1.AIProjectInsightCitation.prototype.getEventRef = function() {
66424
- return /** @type{?proto.gateway.web.v1.AISessionEventRef} */ (
66425
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionEventRef, 3));
65267
+ proto.gateway.web.v1.IssueSession.prototype.getStartedAt = function() {
65268
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
65269
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
66426
65270
  };
66427
65271
 
66428
65272
 
66429
65273
  /**
66430
- * @param {?proto.gateway.web.v1.AISessionEventRef|undefined} value
66431
- * @return {!proto.gateway.web.v1.AIProjectInsightCitation} returns this
65274
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
65275
+ * @return {!proto.gateway.web.v1.IssueSession} returns this
66432
65276
  */
66433
- proto.gateway.web.v1.AIProjectInsightCitation.prototype.setEventRef = function(value) {
66434
- return jspb.Message.setWrapperField(this, 3, value);
65277
+ proto.gateway.web.v1.IssueSession.prototype.setStartedAt = function(value) {
65278
+ return jspb.Message.setWrapperField(this, 4, value);
66435
65279
  };
66436
65280
 
66437
65281
 
66438
65282
  /**
66439
65283
  * Clears the message field making it undefined.
66440
- * @return {!proto.gateway.web.v1.AIProjectInsightCitation} returns this
65284
+ * @return {!proto.gateway.web.v1.IssueSession} returns this
66441
65285
  */
66442
- proto.gateway.web.v1.AIProjectInsightCitation.prototype.clearEventRef = function() {
66443
- return this.setEventRef(undefined);
65286
+ proto.gateway.web.v1.IssueSession.prototype.clearStartedAt = function() {
65287
+ return this.setStartedAt(undefined);
66444
65288
  };
66445
65289
 
66446
65290
 
@@ -66448,8 +65292,44 @@ proto.gateway.web.v1.AIProjectInsightCitation.prototype.clearEventRef = function
66448
65292
  * Returns whether this field is set.
66449
65293
  * @return {boolean}
66450
65294
  */
66451
- proto.gateway.web.v1.AIProjectInsightCitation.prototype.hasEventRef = function() {
66452
- return jspb.Message.getField(this, 3) != null;
65295
+ proto.gateway.web.v1.IssueSession.prototype.hasStartedAt = function() {
65296
+ return jspb.Message.getField(this, 4) != null;
65297
+ };
65298
+
65299
+
65300
+ /**
65301
+ * optional int64 recorded_cost_usd_nanos = 5;
65302
+ * @return {string}
65303
+ */
65304
+ proto.gateway.web.v1.IssueSession.prototype.getRecordedCostUsdNanos = function() {
65305
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "0"));
65306
+ };
65307
+
65308
+
65309
+ /**
65310
+ * @param {string} value
65311
+ * @return {!proto.gateway.web.v1.IssueSession} returns this
65312
+ */
65313
+ proto.gateway.web.v1.IssueSession.prototype.setRecordedCostUsdNanos = function(value) {
65314
+ return jspb.Message.setProto3StringIntField(this, 5, value);
65315
+ };
65316
+
65317
+
65318
+ /**
65319
+ * optional int64 cost_usd_nanos = 6;
65320
+ * @return {string}
65321
+ */
65322
+ proto.gateway.web.v1.IssueSession.prototype.getCostUsdNanos = function() {
65323
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "0"));
65324
+ };
65325
+
65326
+
65327
+ /**
65328
+ * @param {string} value
65329
+ * @return {!proto.gateway.web.v1.IssueSession} returns this
65330
+ */
65331
+ proto.gateway.web.v1.IssueSession.prototype.setCostUsdNanos = function(value) {
65332
+ return jspb.Message.setProto3StringIntField(this, 6, value);
66453
65333
  };
66454
65334
 
66455
65335
 
@@ -66476,14 +65356,6 @@ proto.gateway.web.v1.AISessionScoreRubric = {
66476
65356
  AI_SESSION_SCORE_RUBRIC_OWNERSHIP: 6
66477
65357
  };
66478
65358
 
66479
- /**
66480
- * @enum {number}
66481
- */
66482
- proto.gateway.web.v1.SessionInsightSort = {
66483
- SESSION_INSIGHT_SORT_UNSPECIFIED: 0,
66484
- SESSION_INSIGHT_SORT_RECENT: 1
66485
- };
66486
-
66487
65359
  /**
66488
65360
  * @enum {number}
66489
65361
  */
@@ -66765,21 +65637,6 @@ proto.gateway.web.v1.TrackerSyncError = {
66765
65637
  TRACKER_SYNC_ERROR_INTERNAL: 7
66766
65638
  };
66767
65639
 
66768
- /**
66769
- * @enum {number}
66770
- */
66771
- proto.gateway.web.v1.AIProjectInsightKind = {
66772
- AI_PROJECT_INSIGHT_KIND_UNSPECIFIED: 0,
66773
- AI_PROJECT_INSIGHT_KIND_REUSABLE_WORKFLOW: 1,
66774
- AI_PROJECT_INSIGHT_KIND_REPOSITORY_STRUCTURE: 2,
66775
- AI_PROJECT_INSIGHT_KIND_SECURITY_REVIEW: 3,
66776
- AI_PROJECT_INSIGHT_KIND_TOOLING_MCP: 4,
66777
- AI_PROJECT_INSIGHT_KIND_COORDINATION: 5,
66778
- AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS: 6,
66779
- AI_PROJECT_INSIGHT_KIND_SKILL_SHARING: 7,
66780
- AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE: 8
66781
- };
66782
-
66783
65640
  /**
66784
65641
  * @enum {number}
66785
65642
  */