@miradorlabs/web-grpc 4.36.0 → 4.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/proto/gateway/web/v1/ai_gateway.ts +6 -0
- package/proto/gateway/web/v1/ai_gateway_pb.js +2 -1
- package/proto/gateway/web/v1/ai_insights_gateway.ts +154 -132
- package/proto/gateway/web/v1/ai_insights_gateway_grpc_pb.js +1 -1
- package/proto/gateway/web/v1/ai_insights_gateway_pb.js +295 -87
package/package.json
CHANGED
|
@@ -86,6 +86,7 @@ export enum AISessionScoreRubric {
|
|
|
86
86
|
AI_SESSION_SCORE_RUBRIC_SKILLED_USE = 4,
|
|
87
87
|
AI_SESSION_SCORE_RUBRIC_QUALITY = 5,
|
|
88
88
|
AI_SESSION_SCORE_RUBRIC_OWNERSHIP = 6,
|
|
89
|
+
AI_SESSION_SCORE_RUBRIC_SECURITY = 7,
|
|
89
90
|
UNRECOGNIZED = -1,
|
|
90
91
|
}
|
|
91
92
|
|
|
@@ -112,6 +113,9 @@ export function aISessionScoreRubricFromJSON(object: any): AISessionScoreRubric
|
|
|
112
113
|
case 6:
|
|
113
114
|
case "AI_SESSION_SCORE_RUBRIC_OWNERSHIP":
|
|
114
115
|
return AISessionScoreRubric.AI_SESSION_SCORE_RUBRIC_OWNERSHIP;
|
|
116
|
+
case 7:
|
|
117
|
+
case "AI_SESSION_SCORE_RUBRIC_SECURITY":
|
|
118
|
+
return AISessionScoreRubric.AI_SESSION_SCORE_RUBRIC_SECURITY;
|
|
115
119
|
case -1:
|
|
116
120
|
case "UNRECOGNIZED":
|
|
117
121
|
default:
|
|
@@ -135,6 +139,8 @@ export function aISessionScoreRubricToJSON(object: AISessionScoreRubric): string
|
|
|
135
139
|
return "AI_SESSION_SCORE_RUBRIC_QUALITY";
|
|
136
140
|
case AISessionScoreRubric.AI_SESSION_SCORE_RUBRIC_OWNERSHIP:
|
|
137
141
|
return "AI_SESSION_SCORE_RUBRIC_OWNERSHIP";
|
|
142
|
+
case AISessionScoreRubric.AI_SESSION_SCORE_RUBRIC_SECURITY:
|
|
143
|
+
return "AI_SESSION_SCORE_RUBRIC_SECURITY";
|
|
138
144
|
case AISessionScoreRubric.UNRECOGNIZED:
|
|
139
145
|
default:
|
|
140
146
|
return "UNRECOGNIZED";
|
|
@@ -65588,7 +65588,8 @@ proto.gateway.web.v1.AISessionScoreRubric = {
|
|
|
65588
65588
|
AI_SESSION_SCORE_RUBRIC_TOKEN_EFFICIENCY: 3,
|
|
65589
65589
|
AI_SESSION_SCORE_RUBRIC_SKILLED_USE: 4,
|
|
65590
65590
|
AI_SESSION_SCORE_RUBRIC_QUALITY: 5,
|
|
65591
|
-
AI_SESSION_SCORE_RUBRIC_OWNERSHIP: 6
|
|
65591
|
+
AI_SESSION_SCORE_RUBRIC_OWNERSHIP: 6,
|
|
65592
|
+
AI_SESSION_SCORE_RUBRIC_SECURITY: 7
|
|
65592
65593
|
};
|
|
65593
65594
|
|
|
65594
65595
|
/**
|
|
@@ -50,88 +50,6 @@ export function sessionInsightSortToJSON(object: SessionInsightSort): string {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
/** AIProjectInsightKind is what a card recommends, for display. */
|
|
54
|
-
export enum AIProjectInsightKind {
|
|
55
|
-
AI_PROJECT_INSIGHT_KIND_UNSPECIFIED = 0,
|
|
56
|
-
/** AI_PROJECT_INSIGHT_KIND_REUSABLE_WORKFLOW - A repeated workflow worth turning into a new reusable skill. */
|
|
57
|
-
AI_PROJECT_INSIGHT_KIND_REUSABLE_WORKFLOW = 1,
|
|
58
|
-
AI_PROJECT_INSIGHT_KIND_REPOSITORY_STRUCTURE = 2,
|
|
59
|
-
/** AI_PROJECT_INSIGHT_KIND_SECURITY_REVIEW - An observed concern to investigate, never a confirmed vulnerability. */
|
|
60
|
-
AI_PROJECT_INSIGHT_KIND_SECURITY_REVIEW = 3,
|
|
61
|
-
AI_PROJECT_INSIGHT_KIND_TOOLING_MCP = 4,
|
|
62
|
-
/** AI_PROJECT_INSIGHT_KIND_COORDINATION - Members duplicating work, or needing to coordinate it. */
|
|
63
|
-
AI_PROJECT_INSIGHT_KIND_COORDINATION = 5,
|
|
64
|
-
/** AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS - Members working on the same product, feature or area, who would gain from knowing it. */
|
|
65
|
-
AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS = 6,
|
|
66
|
-
/** AI_PROJECT_INSIGHT_KIND_SKILL_SHARING - A practice, skill or know-how one member shows that others working nearby would benefit from. */
|
|
67
|
-
AI_PROJECT_INSIGHT_KIND_SKILL_SHARING = 7,
|
|
68
|
-
/** AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE - How members get on with their agents: models or tools they favour, and where work flowed or stalled. */
|
|
69
|
-
AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE = 8,
|
|
70
|
-
UNRECOGNIZED = -1,
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export function aIProjectInsightKindFromJSON(object: any): AIProjectInsightKind {
|
|
74
|
-
switch (object) {
|
|
75
|
-
case 0:
|
|
76
|
-
case "AI_PROJECT_INSIGHT_KIND_UNSPECIFIED":
|
|
77
|
-
return AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_UNSPECIFIED;
|
|
78
|
-
case 1:
|
|
79
|
-
case "AI_PROJECT_INSIGHT_KIND_REUSABLE_WORKFLOW":
|
|
80
|
-
return AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_REUSABLE_WORKFLOW;
|
|
81
|
-
case 2:
|
|
82
|
-
case "AI_PROJECT_INSIGHT_KIND_REPOSITORY_STRUCTURE":
|
|
83
|
-
return AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_REPOSITORY_STRUCTURE;
|
|
84
|
-
case 3:
|
|
85
|
-
case "AI_PROJECT_INSIGHT_KIND_SECURITY_REVIEW":
|
|
86
|
-
return AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_SECURITY_REVIEW;
|
|
87
|
-
case 4:
|
|
88
|
-
case "AI_PROJECT_INSIGHT_KIND_TOOLING_MCP":
|
|
89
|
-
return AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_TOOLING_MCP;
|
|
90
|
-
case 5:
|
|
91
|
-
case "AI_PROJECT_INSIGHT_KIND_COORDINATION":
|
|
92
|
-
return AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_COORDINATION;
|
|
93
|
-
case 6:
|
|
94
|
-
case "AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS":
|
|
95
|
-
return AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS;
|
|
96
|
-
case 7:
|
|
97
|
-
case "AI_PROJECT_INSIGHT_KIND_SKILL_SHARING":
|
|
98
|
-
return AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_SKILL_SHARING;
|
|
99
|
-
case 8:
|
|
100
|
-
case "AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE":
|
|
101
|
-
return AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE;
|
|
102
|
-
case -1:
|
|
103
|
-
case "UNRECOGNIZED":
|
|
104
|
-
default:
|
|
105
|
-
return AIProjectInsightKind.UNRECOGNIZED;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export function aIProjectInsightKindToJSON(object: AIProjectInsightKind): string {
|
|
110
|
-
switch (object) {
|
|
111
|
-
case AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_UNSPECIFIED:
|
|
112
|
-
return "AI_PROJECT_INSIGHT_KIND_UNSPECIFIED";
|
|
113
|
-
case AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_REUSABLE_WORKFLOW:
|
|
114
|
-
return "AI_PROJECT_INSIGHT_KIND_REUSABLE_WORKFLOW";
|
|
115
|
-
case AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_REPOSITORY_STRUCTURE:
|
|
116
|
-
return "AI_PROJECT_INSIGHT_KIND_REPOSITORY_STRUCTURE";
|
|
117
|
-
case AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_SECURITY_REVIEW:
|
|
118
|
-
return "AI_PROJECT_INSIGHT_KIND_SECURITY_REVIEW";
|
|
119
|
-
case AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_TOOLING_MCP:
|
|
120
|
-
return "AI_PROJECT_INSIGHT_KIND_TOOLING_MCP";
|
|
121
|
-
case AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_COORDINATION:
|
|
122
|
-
return "AI_PROJECT_INSIGHT_KIND_COORDINATION";
|
|
123
|
-
case AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS:
|
|
124
|
-
return "AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS";
|
|
125
|
-
case AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_SKILL_SHARING:
|
|
126
|
-
return "AI_PROJECT_INSIGHT_KIND_SKILL_SHARING";
|
|
127
|
-
case AIProjectInsightKind.AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE:
|
|
128
|
-
return "AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE";
|
|
129
|
-
case AIProjectInsightKind.UNRECOGNIZED:
|
|
130
|
-
default:
|
|
131
|
-
return "UNRECOGNIZED";
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
53
|
/** AIInsightRating is how helpful a person found an insight or score card (ai.common.v1.AIInsightRating, same numbers). */
|
|
136
54
|
export enum AIInsightRating {
|
|
137
55
|
AI_INSIGHT_RATING_UNSPECIFIED = 0,
|
|
@@ -276,12 +194,12 @@ export interface GetInsightsOverviewResponse {
|
|
|
276
194
|
sessionInsightTopicCounts: SessionInsightTopicCount[];
|
|
277
195
|
/**
|
|
278
196
|
* The cards ListProjectInsightCards serves (each local day's latest run, only when READY) whose
|
|
279
|
-
* AIProjectInsightCard.analyzed_at is at or after analyzed_after, one row per
|
|
280
|
-
* by
|
|
197
|
+
* AIProjectInsightCard.analyzed_at is at or after analyzed_after, one row per topic with at least one card, ordered
|
|
198
|
+
* by topic key, then name. A card counts by when its run analyzed the day, not by the day: a day that closed before analyzed_after
|
|
281
199
|
* but whose served run analyzed it after counts, and a day whose served run analyzed it before does not.
|
|
282
200
|
* A rerun of a day replaces its served run, so it can move that day's cards into the window between reads.
|
|
283
201
|
*/
|
|
284
|
-
|
|
202
|
+
projectInsightTopicCounts: ProjectInsightTopicCount[];
|
|
285
203
|
}
|
|
286
204
|
|
|
287
205
|
/** SessionInsightTopicCount is how many insights are filed under one topic (AISessionInsight.topic). */
|
|
@@ -295,9 +213,13 @@ export interface SessionInsightTopicCount {
|
|
|
295
213
|
insights: number;
|
|
296
214
|
}
|
|
297
215
|
|
|
298
|
-
/**
|
|
299
|
-
|
|
300
|
-
|
|
216
|
+
/**
|
|
217
|
+
* ProjectInsightTopicCount is how many served cards are filed under one topic (AIProjectInsight.topic): one row per
|
|
218
|
+
* topics file key, and one per exact name the model wrote for a topic of its own.
|
|
219
|
+
*/
|
|
220
|
+
export interface ProjectInsightTopicCount {
|
|
221
|
+
/** Unset for cards stored without a topic. */
|
|
222
|
+
topic: AIProjectInsightTopic | undefined;
|
|
301
223
|
cards: number;
|
|
302
224
|
}
|
|
303
225
|
|
|
@@ -327,8 +249,8 @@ export interface AIProjectInsight {
|
|
|
327
249
|
id: string;
|
|
328
250
|
/** 1 is the model's highest priority; unique within the run. */
|
|
329
251
|
rank: number;
|
|
330
|
-
/**
|
|
331
|
-
|
|
252
|
+
/** What the card is filed under, for display only; not evidence. */
|
|
253
|
+
topic: AIProjectInsightTopic | undefined;
|
|
332
254
|
title: string;
|
|
333
255
|
/** The observed pattern. */
|
|
334
256
|
pattern: string;
|
|
@@ -358,6 +280,17 @@ export interface AIProjectInsight {
|
|
|
358
280
|
skillSuggestion: AISkillSuggestion | undefined;
|
|
359
281
|
}
|
|
360
282
|
|
|
283
|
+
/**
|
|
284
|
+
* AIProjectInsightTopic is what a card is filed under: a topic from the project insights job's topics file, or one the model
|
|
285
|
+
* named for a cross-member pattern none of them fits.
|
|
286
|
+
*/
|
|
287
|
+
export interface AIProjectInsightTopic {
|
|
288
|
+
/** The topics file's key (e.g. duplicate_work); empty for a topic the model named. */
|
|
289
|
+
key: string;
|
|
290
|
+
/** The topic's name: the topics file's, or 2 to 4 words the model wrote. */
|
|
291
|
+
name: string;
|
|
292
|
+
}
|
|
293
|
+
|
|
361
294
|
/**
|
|
362
295
|
* AIProjectInsightCitation is one cited event: its session's identity (source_system with session_id) and the
|
|
363
296
|
* event's stored identity in that session.
|
|
@@ -1311,7 +1244,7 @@ export const GetInsightsOverviewRequest: MessageFns<GetInsightsOverviewRequest>
|
|
|
1311
1244
|
};
|
|
1312
1245
|
|
|
1313
1246
|
function createBaseGetInsightsOverviewResponse(): GetInsightsOverviewResponse {
|
|
1314
|
-
return { status: undefined, sessionInsightTopicCounts: [],
|
|
1247
|
+
return { status: undefined, sessionInsightTopicCounts: [], projectInsightTopicCounts: [] };
|
|
1315
1248
|
}
|
|
1316
1249
|
|
|
1317
1250
|
export const GetInsightsOverviewResponse: MessageFns<GetInsightsOverviewResponse> = {
|
|
@@ -1322,8 +1255,8 @@ export const GetInsightsOverviewResponse: MessageFns<GetInsightsOverviewResponse
|
|
|
1322
1255
|
for (const v of message.sessionInsightTopicCounts) {
|
|
1323
1256
|
SessionInsightTopicCount.encode(v!, writer.uint32(18).fork()).join();
|
|
1324
1257
|
}
|
|
1325
|
-
for (const v of message.
|
|
1326
|
-
|
|
1258
|
+
for (const v of message.projectInsightTopicCounts) {
|
|
1259
|
+
ProjectInsightTopicCount.encode(v!, writer.uint32(26).fork()).join();
|
|
1327
1260
|
}
|
|
1328
1261
|
return writer;
|
|
1329
1262
|
},
|
|
@@ -1362,7 +1295,7 @@ export const GetInsightsOverviewResponse: MessageFns<GetInsightsOverviewResponse
|
|
|
1362
1295
|
break;
|
|
1363
1296
|
}
|
|
1364
1297
|
|
|
1365
|
-
message.
|
|
1298
|
+
message.projectInsightTopicCounts.push(ProjectInsightTopicCount.decode(reader, reader.uint32()));
|
|
1366
1299
|
continue;
|
|
1367
1300
|
}
|
|
1368
1301
|
}
|
|
@@ -1385,10 +1318,10 @@ export const GetInsightsOverviewResponse: MessageFns<GetInsightsOverviewResponse
|
|
|
1385
1318
|
: globalThis.Array.isArray(object?.session_insight_topic_counts)
|
|
1386
1319
|
? object.session_insight_topic_counts.map((e: any) => SessionInsightTopicCount.fromJSON(e))
|
|
1387
1320
|
: [],
|
|
1388
|
-
|
|
1389
|
-
? object.
|
|
1390
|
-
: globalThis.Array.isArray(object?.
|
|
1391
|
-
? object.
|
|
1321
|
+
projectInsightTopicCounts: globalThis.Array.isArray(object?.projectInsightTopicCounts)
|
|
1322
|
+
? object.projectInsightTopicCounts.map((e: any) => ProjectInsightTopicCount.fromJSON(e))
|
|
1323
|
+
: globalThis.Array.isArray(object?.project_insight_topic_counts)
|
|
1324
|
+
? object.project_insight_topic_counts.map((e: any) => ProjectInsightTopicCount.fromJSON(e))
|
|
1392
1325
|
: [],
|
|
1393
1326
|
};
|
|
1394
1327
|
},
|
|
@@ -1401,8 +1334,8 @@ export const GetInsightsOverviewResponse: MessageFns<GetInsightsOverviewResponse
|
|
|
1401
1334
|
if (message.sessionInsightTopicCounts?.length) {
|
|
1402
1335
|
obj.sessionInsightTopicCounts = message.sessionInsightTopicCounts.map((e) => SessionInsightTopicCount.toJSON(e));
|
|
1403
1336
|
}
|
|
1404
|
-
if (message.
|
|
1405
|
-
obj.
|
|
1337
|
+
if (message.projectInsightTopicCounts?.length) {
|
|
1338
|
+
obj.projectInsightTopicCounts = message.projectInsightTopicCounts.map((e) => ProjectInsightTopicCount.toJSON(e));
|
|
1406
1339
|
}
|
|
1407
1340
|
return obj;
|
|
1408
1341
|
},
|
|
@@ -1417,8 +1350,8 @@ export const GetInsightsOverviewResponse: MessageFns<GetInsightsOverviewResponse
|
|
|
1417
1350
|
: undefined;
|
|
1418
1351
|
message.sessionInsightTopicCounts =
|
|
1419
1352
|
object.sessionInsightTopicCounts?.map((e) => SessionInsightTopicCount.fromPartial(e)) || [];
|
|
1420
|
-
message.
|
|
1421
|
-
object.
|
|
1353
|
+
message.projectInsightTopicCounts =
|
|
1354
|
+
object.projectInsightTopicCounts?.map((e) => ProjectInsightTopicCount.fromPartial(e)) || [];
|
|
1422
1355
|
return message;
|
|
1423
1356
|
},
|
|
1424
1357
|
};
|
|
@@ -1510,14 +1443,14 @@ export const SessionInsightTopicCount: MessageFns<SessionInsightTopicCount> = {
|
|
|
1510
1443
|
},
|
|
1511
1444
|
};
|
|
1512
1445
|
|
|
1513
|
-
function
|
|
1514
|
-
return {
|
|
1446
|
+
function createBaseProjectInsightTopicCount(): ProjectInsightTopicCount {
|
|
1447
|
+
return { topic: undefined, cards: 0 };
|
|
1515
1448
|
}
|
|
1516
1449
|
|
|
1517
|
-
export const
|
|
1518
|
-
encode(message:
|
|
1519
|
-
if (message.
|
|
1520
|
-
writer.uint32(
|
|
1450
|
+
export const ProjectInsightTopicCount: MessageFns<ProjectInsightTopicCount> = {
|
|
1451
|
+
encode(message: ProjectInsightTopicCount, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
1452
|
+
if (message.topic !== undefined) {
|
|
1453
|
+
AIProjectInsightTopic.encode(message.topic, writer.uint32(10).fork()).join();
|
|
1521
1454
|
}
|
|
1522
1455
|
if (message.cards !== 0) {
|
|
1523
1456
|
writer.uint32(16).uint64(message.cards);
|
|
@@ -1525,7 +1458,7 @@ export const ProjectInsightKindCount: MessageFns<ProjectInsightKindCount> = {
|
|
|
1525
1458
|
return writer;
|
|
1526
1459
|
},
|
|
1527
1460
|
|
|
1528
|
-
decode(input: BinaryReader | Uint8Array, length?: number):
|
|
1461
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ProjectInsightTopicCount {
|
|
1529
1462
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1530
1463
|
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1531
1464
|
if (previousRecursionDepth >= 100) {
|
|
@@ -1534,16 +1467,16 @@ export const ProjectInsightKindCount: MessageFns<ProjectInsightKindCount> = {
|
|
|
1534
1467
|
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1535
1468
|
try {
|
|
1536
1469
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1537
|
-
const message =
|
|
1470
|
+
const message = createBaseProjectInsightTopicCount();
|
|
1538
1471
|
while (reader.pos < end) {
|
|
1539
1472
|
const tag = reader.uint32();
|
|
1540
1473
|
switch (tag >>> 3) {
|
|
1541
1474
|
case 1: {
|
|
1542
|
-
if (tag !==
|
|
1475
|
+
if (tag !== 10) {
|
|
1543
1476
|
break;
|
|
1544
1477
|
}
|
|
1545
1478
|
|
|
1546
|
-
message.
|
|
1479
|
+
message.topic = AIProjectInsightTopic.decode(reader, reader.uint32());
|
|
1547
1480
|
continue;
|
|
1548
1481
|
}
|
|
1549
1482
|
case 2: {
|
|
@@ -1566,17 +1499,17 @@ export const ProjectInsightKindCount: MessageFns<ProjectInsightKindCount> = {
|
|
|
1566
1499
|
}
|
|
1567
1500
|
},
|
|
1568
1501
|
|
|
1569
|
-
fromJSON(object: any):
|
|
1502
|
+
fromJSON(object: any): ProjectInsightTopicCount {
|
|
1570
1503
|
return {
|
|
1571
|
-
|
|
1504
|
+
topic: isSet(object.topic) ? AIProjectInsightTopic.fromJSON(object.topic) : undefined,
|
|
1572
1505
|
cards: isSet(object.cards) ? globalThis.Number(object.cards) : 0,
|
|
1573
1506
|
};
|
|
1574
1507
|
},
|
|
1575
1508
|
|
|
1576
|
-
toJSON(message:
|
|
1509
|
+
toJSON(message: ProjectInsightTopicCount): unknown {
|
|
1577
1510
|
const obj: any = {};
|
|
1578
|
-
if (message.
|
|
1579
|
-
obj.
|
|
1511
|
+
if (message.topic !== undefined) {
|
|
1512
|
+
obj.topic = AIProjectInsightTopic.toJSON(message.topic);
|
|
1580
1513
|
}
|
|
1581
1514
|
if (message.cards !== 0) {
|
|
1582
1515
|
obj.cards = Math.round(message.cards);
|
|
@@ -1584,12 +1517,14 @@ export const ProjectInsightKindCount: MessageFns<ProjectInsightKindCount> = {
|
|
|
1584
1517
|
return obj;
|
|
1585
1518
|
},
|
|
1586
1519
|
|
|
1587
|
-
create<I extends Exact<DeepPartial<
|
|
1588
|
-
return
|
|
1520
|
+
create<I extends Exact<DeepPartial<ProjectInsightTopicCount>, I>>(base?: I): ProjectInsightTopicCount {
|
|
1521
|
+
return ProjectInsightTopicCount.fromPartial(base ?? ({} as any));
|
|
1589
1522
|
},
|
|
1590
|
-
fromPartial<I extends Exact<DeepPartial<
|
|
1591
|
-
const message =
|
|
1592
|
-
message.
|
|
1523
|
+
fromPartial<I extends Exact<DeepPartial<ProjectInsightTopicCount>, I>>(object: I): ProjectInsightTopicCount {
|
|
1524
|
+
const message = createBaseProjectInsightTopicCount();
|
|
1525
|
+
message.topic = (object.topic !== undefined && object.topic !== null)
|
|
1526
|
+
? AIProjectInsightTopic.fromPartial(object.topic)
|
|
1527
|
+
: undefined;
|
|
1593
1528
|
message.cards = object.cards ?? 0;
|
|
1594
1529
|
return message;
|
|
1595
1530
|
},
|
|
@@ -1770,7 +1705,7 @@ function createBaseAIProjectInsight(): AIProjectInsight {
|
|
|
1770
1705
|
return {
|
|
1771
1706
|
id: "",
|
|
1772
1707
|
rank: 0,
|
|
1773
|
-
|
|
1708
|
+
topic: undefined,
|
|
1774
1709
|
title: "",
|
|
1775
1710
|
pattern: "",
|
|
1776
1711
|
explanation: "",
|
|
@@ -1792,8 +1727,8 @@ export const AIProjectInsight: MessageFns<AIProjectInsight> = {
|
|
|
1792
1727
|
if (message.rank !== 0) {
|
|
1793
1728
|
writer.uint32(16).uint32(message.rank);
|
|
1794
1729
|
}
|
|
1795
|
-
if (message.
|
|
1796
|
-
writer.uint32(
|
|
1730
|
+
if (message.topic !== undefined) {
|
|
1731
|
+
AIProjectInsightTopic.encode(message.topic, writer.uint32(26).fork()).join();
|
|
1797
1732
|
}
|
|
1798
1733
|
if (message.title !== "") {
|
|
1799
1734
|
writer.uint32(34).string(message.title);
|
|
@@ -1858,11 +1793,11 @@ export const AIProjectInsight: MessageFns<AIProjectInsight> = {
|
|
|
1858
1793
|
continue;
|
|
1859
1794
|
}
|
|
1860
1795
|
case 3: {
|
|
1861
|
-
if (tag !==
|
|
1796
|
+
if (tag !== 26) {
|
|
1862
1797
|
break;
|
|
1863
1798
|
}
|
|
1864
1799
|
|
|
1865
|
-
message.
|
|
1800
|
+
message.topic = AIProjectInsightTopic.decode(reader, reader.uint32());
|
|
1866
1801
|
continue;
|
|
1867
1802
|
}
|
|
1868
1803
|
case 4: {
|
|
@@ -1961,7 +1896,7 @@ export const AIProjectInsight: MessageFns<AIProjectInsight> = {
|
|
|
1961
1896
|
return {
|
|
1962
1897
|
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
1963
1898
|
rank: isSet(object.rank) ? globalThis.Number(object.rank) : 0,
|
|
1964
|
-
|
|
1899
|
+
topic: isSet(object.topic) ? AIProjectInsightTopic.fromJSON(object.topic) : undefined,
|
|
1965
1900
|
title: isSet(object.title) ? globalThis.String(object.title) : "",
|
|
1966
1901
|
pattern: isSet(object.pattern) ? globalThis.String(object.pattern) : "",
|
|
1967
1902
|
explanation: isSet(object.explanation) ? globalThis.String(object.explanation) : "",
|
|
@@ -2001,8 +1936,8 @@ export const AIProjectInsight: MessageFns<AIProjectInsight> = {
|
|
|
2001
1936
|
if (message.rank !== 0) {
|
|
2002
1937
|
obj.rank = Math.round(message.rank);
|
|
2003
1938
|
}
|
|
2004
|
-
if (message.
|
|
2005
|
-
obj.
|
|
1939
|
+
if (message.topic !== undefined) {
|
|
1940
|
+
obj.topic = AIProjectInsightTopic.toJSON(message.topic);
|
|
2006
1941
|
}
|
|
2007
1942
|
if (message.title !== "") {
|
|
2008
1943
|
obj.title = message.title;
|
|
@@ -2044,7 +1979,9 @@ export const AIProjectInsight: MessageFns<AIProjectInsight> = {
|
|
|
2044
1979
|
const message = createBaseAIProjectInsight();
|
|
2045
1980
|
message.id = object.id ?? "";
|
|
2046
1981
|
message.rank = object.rank ?? 0;
|
|
2047
|
-
message.
|
|
1982
|
+
message.topic = (object.topic !== undefined && object.topic !== null)
|
|
1983
|
+
? AIProjectInsightTopic.fromPartial(object.topic)
|
|
1984
|
+
: undefined;
|
|
2048
1985
|
message.title = object.title ?? "";
|
|
2049
1986
|
message.pattern = object.pattern ?? "";
|
|
2050
1987
|
message.explanation = object.explanation ?? "";
|
|
@@ -2061,6 +1998,91 @@ export const AIProjectInsight: MessageFns<AIProjectInsight> = {
|
|
|
2061
1998
|
},
|
|
2062
1999
|
};
|
|
2063
2000
|
|
|
2001
|
+
function createBaseAIProjectInsightTopic(): AIProjectInsightTopic {
|
|
2002
|
+
return { key: "", name: "" };
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
export const AIProjectInsightTopic: MessageFns<AIProjectInsightTopic> = {
|
|
2006
|
+
encode(message: AIProjectInsightTopic, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
2007
|
+
if (message.key !== "") {
|
|
2008
|
+
writer.uint32(10).string(message.key);
|
|
2009
|
+
}
|
|
2010
|
+
if (message.name !== "") {
|
|
2011
|
+
writer.uint32(18).string(message.name);
|
|
2012
|
+
}
|
|
2013
|
+
return writer;
|
|
2014
|
+
},
|
|
2015
|
+
|
|
2016
|
+
decode(input: BinaryReader | Uint8Array, length?: number): AIProjectInsightTopic {
|
|
2017
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2018
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
2019
|
+
if (previousRecursionDepth >= 100) {
|
|
2020
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2021
|
+
}
|
|
2022
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2023
|
+
try {
|
|
2024
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2025
|
+
const message = createBaseAIProjectInsightTopic();
|
|
2026
|
+
while (reader.pos < end) {
|
|
2027
|
+
const tag = reader.uint32();
|
|
2028
|
+
switch (tag >>> 3) {
|
|
2029
|
+
case 1: {
|
|
2030
|
+
if (tag !== 10) {
|
|
2031
|
+
break;
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
message.key = reader.string();
|
|
2035
|
+
continue;
|
|
2036
|
+
}
|
|
2037
|
+
case 2: {
|
|
2038
|
+
if (tag !== 18) {
|
|
2039
|
+
break;
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2042
|
+
message.name = reader.string();
|
|
2043
|
+
continue;
|
|
2044
|
+
}
|
|
2045
|
+
}
|
|
2046
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2047
|
+
break;
|
|
2048
|
+
}
|
|
2049
|
+
reader.skip(tag & 7);
|
|
2050
|
+
}
|
|
2051
|
+
return message;
|
|
2052
|
+
} finally {
|
|
2053
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2054
|
+
}
|
|
2055
|
+
},
|
|
2056
|
+
|
|
2057
|
+
fromJSON(object: any): AIProjectInsightTopic {
|
|
2058
|
+
return {
|
|
2059
|
+
key: isSet(object.key) ? globalThis.String(object.key) : "",
|
|
2060
|
+
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
2061
|
+
};
|
|
2062
|
+
},
|
|
2063
|
+
|
|
2064
|
+
toJSON(message: AIProjectInsightTopic): unknown {
|
|
2065
|
+
const obj: any = {};
|
|
2066
|
+
if (message.key !== "") {
|
|
2067
|
+
obj.key = message.key;
|
|
2068
|
+
}
|
|
2069
|
+
if (message.name !== "") {
|
|
2070
|
+
obj.name = message.name;
|
|
2071
|
+
}
|
|
2072
|
+
return obj;
|
|
2073
|
+
},
|
|
2074
|
+
|
|
2075
|
+
create<I extends Exact<DeepPartial<AIProjectInsightTopic>, I>>(base?: I): AIProjectInsightTopic {
|
|
2076
|
+
return AIProjectInsightTopic.fromPartial(base ?? ({} as any));
|
|
2077
|
+
},
|
|
2078
|
+
fromPartial<I extends Exact<DeepPartial<AIProjectInsightTopic>, I>>(object: I): AIProjectInsightTopic {
|
|
2079
|
+
const message = createBaseAIProjectInsightTopic();
|
|
2080
|
+
message.key = object.key ?? "";
|
|
2081
|
+
message.name = object.name ?? "";
|
|
2082
|
+
return message;
|
|
2083
|
+
},
|
|
2084
|
+
};
|
|
2085
|
+
|
|
2064
2086
|
function createBaseAIProjectInsightCitation(): AIProjectInsightCitation {
|
|
2065
2087
|
return { sourceSystem: "", sessionId: "", eventRef: undefined };
|
|
2066
2088
|
}
|
|
@@ -3017,7 +3039,7 @@ export interface AIInsightsGatewayService {
|
|
|
3017
3039
|
): Promise<ListProjectInsightCardsResponse>;
|
|
3018
3040
|
/**
|
|
3019
3041
|
* The project's insights in one window counted without listing them: ListSessionInsights' insights by topic and
|
|
3020
|
-
* ListProjectInsightCards' cards by
|
|
3042
|
+
* ListProjectInsightCards' cards by topic, from the same rows those RPCs serve. A part that cannot be read fails the
|
|
3021
3043
|
* call, so a zero is a count of none. Mirrors ai.api.v1.
|
|
3022
3044
|
*/
|
|
3023
3045
|
GetInsightsOverview(request: GetInsightsOverviewRequest, metadata?: Metadata): Promise<GetInsightsOverviewResponse>;
|
|
@@ -172,7 +172,7 @@ listProjectInsightCards: {
|
|
|
172
172
|
responseDeserialize: deserialize_gateway_web_v1_ListProjectInsightCardsResponse,
|
|
173
173
|
},
|
|
174
174
|
// The project's insights in one window counted without listing them: ListSessionInsights' insights by topic and
|
|
175
|
-
// ListProjectInsightCards' cards by
|
|
175
|
+
// ListProjectInsightCards' cards by topic, from the same rows those RPCs serve. A part that cannot be read fails the
|
|
176
176
|
// call, so a zero is a count of none. Mirrors ai.api.v1.
|
|
177
177
|
getInsightsOverview: {
|
|
178
178
|
path: '/gateway.web.v1.AIInsightsGatewayService/GetInsightsOverview',
|
|
@@ -27,7 +27,7 @@ goog.exportSymbol('proto.gateway.web.v1.AIInsightRating', null, global);
|
|
|
27
27
|
goog.exportSymbol('proto.gateway.web.v1.AIProjectInsight', null, global);
|
|
28
28
|
goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightCard', null, global);
|
|
29
29
|
goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightCitation', null, global);
|
|
30
|
-
goog.exportSymbol('proto.gateway.web.v1.
|
|
30
|
+
goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightTopic', null, global);
|
|
31
31
|
goog.exportSymbol('proto.gateway.web.v1.BatchGetInsightRatingsRequest', null, global);
|
|
32
32
|
goog.exportSymbol('proto.gateway.web.v1.BatchGetInsightRatingsResponse', null, global);
|
|
33
33
|
goog.exportSymbol('proto.gateway.web.v1.DeleteInsightRatingRequest', null, global);
|
|
@@ -41,7 +41,7 @@ goog.exportSymbol('proto.gateway.web.v1.ListProjectInsightCardsRequest', null, g
|
|
|
41
41
|
goog.exportSymbol('proto.gateway.web.v1.ListProjectInsightCardsResponse', null, global);
|
|
42
42
|
goog.exportSymbol('proto.gateway.web.v1.ListSessionInsightsRequest', null, global);
|
|
43
43
|
goog.exportSymbol('proto.gateway.web.v1.ListSessionInsightsResponse', null, global);
|
|
44
|
-
goog.exportSymbol('proto.gateway.web.v1.
|
|
44
|
+
goog.exportSymbol('proto.gateway.web.v1.ProjectInsightTopicCount', null, global);
|
|
45
45
|
goog.exportSymbol('proto.gateway.web.v1.SessionInsightEntry', null, global);
|
|
46
46
|
goog.exportSymbol('proto.gateway.web.v1.SessionInsightFilter', null, global);
|
|
47
47
|
goog.exportSymbol('proto.gateway.web.v1.SessionInsightSort', null, global);
|
|
@@ -247,16 +247,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
247
247
|
* @extends {jspb.Message}
|
|
248
248
|
* @constructor
|
|
249
249
|
*/
|
|
250
|
-
proto.gateway.web.v1.
|
|
250
|
+
proto.gateway.web.v1.ProjectInsightTopicCount = function(opt_data) {
|
|
251
251
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
252
252
|
};
|
|
253
|
-
goog.inherits(proto.gateway.web.v1.
|
|
253
|
+
goog.inherits(proto.gateway.web.v1.ProjectInsightTopicCount, jspb.Message);
|
|
254
254
|
if (goog.DEBUG && !COMPILED) {
|
|
255
255
|
/**
|
|
256
256
|
* @public
|
|
257
257
|
* @override
|
|
258
258
|
*/
|
|
259
|
-
proto.gateway.web.v1.
|
|
259
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.displayName = 'proto.gateway.web.v1.ProjectInsightTopicCount';
|
|
260
260
|
}
|
|
261
261
|
/**
|
|
262
262
|
* Generated by JsPbCodeGenerator.
|
|
@@ -300,6 +300,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
300
300
|
*/
|
|
301
301
|
proto.gateway.web.v1.AIProjectInsight.displayName = 'proto.gateway.web.v1.AIProjectInsight';
|
|
302
302
|
}
|
|
303
|
+
/**
|
|
304
|
+
* Generated by JsPbCodeGenerator.
|
|
305
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
306
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
307
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
308
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
309
|
+
* valid.
|
|
310
|
+
* @extends {jspb.Message}
|
|
311
|
+
* @constructor
|
|
312
|
+
*/
|
|
313
|
+
proto.gateway.web.v1.AIProjectInsightTopic = function(opt_data) {
|
|
314
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
315
|
+
};
|
|
316
|
+
goog.inherits(proto.gateway.web.v1.AIProjectInsightTopic, jspb.Message);
|
|
317
|
+
if (goog.DEBUG && !COMPILED) {
|
|
318
|
+
/**
|
|
319
|
+
* @public
|
|
320
|
+
* @override
|
|
321
|
+
*/
|
|
322
|
+
proto.gateway.web.v1.AIProjectInsightTopic.displayName = 'proto.gateway.web.v1.AIProjectInsightTopic';
|
|
323
|
+
}
|
|
303
324
|
/**
|
|
304
325
|
* Generated by JsPbCodeGenerator.
|
|
305
326
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2261,8 +2282,8 @@ proto.gateway.web.v1.GetInsightsOverviewResponse.toObject = function(includeInst
|
|
|
2261
2282
|
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
2262
2283
|
sessionInsightTopicCountsList: jspb.Message.toObjectList(msg.getSessionInsightTopicCountsList(),
|
|
2263
2284
|
proto.gateway.web.v1.SessionInsightTopicCount.toObject, includeInstance),
|
|
2264
|
-
|
|
2265
|
-
proto.gateway.web.v1.
|
|
2285
|
+
projectInsightTopicCountsList: jspb.Message.toObjectList(msg.getProjectInsightTopicCountsList(),
|
|
2286
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.toObject, includeInstance)
|
|
2266
2287
|
};
|
|
2267
2288
|
|
|
2268
2289
|
if (includeInstance) {
|
|
@@ -2310,9 +2331,9 @@ proto.gateway.web.v1.GetInsightsOverviewResponse.deserializeBinaryFromReader = f
|
|
|
2310
2331
|
msg.addSessionInsightTopicCounts(value);
|
|
2311
2332
|
break;
|
|
2312
2333
|
case 3:
|
|
2313
|
-
var value = new proto.gateway.web.v1.
|
|
2314
|
-
reader.readMessage(value,proto.gateway.web.v1.
|
|
2315
|
-
msg.
|
|
2334
|
+
var value = new proto.gateway.web.v1.ProjectInsightTopicCount;
|
|
2335
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectInsightTopicCount.deserializeBinaryFromReader);
|
|
2336
|
+
msg.addProjectInsightTopicCounts(value);
|
|
2316
2337
|
break;
|
|
2317
2338
|
default:
|
|
2318
2339
|
reader.skipField();
|
|
@@ -2359,12 +2380,12 @@ proto.gateway.web.v1.GetInsightsOverviewResponse.serializeBinaryToWriter = funct
|
|
|
2359
2380
|
proto.gateway.web.v1.SessionInsightTopicCount.serializeBinaryToWriter
|
|
2360
2381
|
);
|
|
2361
2382
|
}
|
|
2362
|
-
f = message.
|
|
2383
|
+
f = message.getProjectInsightTopicCountsList();
|
|
2363
2384
|
if (f.length > 0) {
|
|
2364
2385
|
writer.writeRepeatedMessage(
|
|
2365
2386
|
3,
|
|
2366
2387
|
f,
|
|
2367
|
-
proto.gateway.web.v1.
|
|
2388
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.serializeBinaryToWriter
|
|
2368
2389
|
);
|
|
2369
2390
|
}
|
|
2370
2391
|
};
|
|
@@ -2446,31 +2467,31 @@ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.clearSessionInsightTo
|
|
|
2446
2467
|
|
|
2447
2468
|
|
|
2448
2469
|
/**
|
|
2449
|
-
* repeated
|
|
2450
|
-
* @return {!Array<!proto.gateway.web.v1.
|
|
2470
|
+
* repeated ProjectInsightTopicCount project_insight_topic_counts = 3;
|
|
2471
|
+
* @return {!Array<!proto.gateway.web.v1.ProjectInsightTopicCount>}
|
|
2451
2472
|
*/
|
|
2452
|
-
proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.
|
|
2453
|
-
return /** @type{!Array<!proto.gateway.web.v1.
|
|
2454
|
-
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.
|
|
2473
|
+
proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.getProjectInsightTopicCountsList = function() {
|
|
2474
|
+
return /** @type{!Array<!proto.gateway.web.v1.ProjectInsightTopicCount>} */ (
|
|
2475
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ProjectInsightTopicCount, 3));
|
|
2455
2476
|
};
|
|
2456
2477
|
|
|
2457
2478
|
|
|
2458
2479
|
/**
|
|
2459
|
-
* @param {!Array<!proto.gateway.web.v1.
|
|
2480
|
+
* @param {!Array<!proto.gateway.web.v1.ProjectInsightTopicCount>} value
|
|
2460
2481
|
* @return {!proto.gateway.web.v1.GetInsightsOverviewResponse} returns this
|
|
2461
2482
|
*/
|
|
2462
|
-
proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.
|
|
2483
|
+
proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.setProjectInsightTopicCountsList = function(value) {
|
|
2463
2484
|
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
2464
2485
|
};
|
|
2465
2486
|
|
|
2466
2487
|
|
|
2467
2488
|
/**
|
|
2468
|
-
* @param {!proto.gateway.web.v1.
|
|
2489
|
+
* @param {!proto.gateway.web.v1.ProjectInsightTopicCount=} opt_value
|
|
2469
2490
|
* @param {number=} opt_index
|
|
2470
|
-
* @return {!proto.gateway.web.v1.
|
|
2491
|
+
* @return {!proto.gateway.web.v1.ProjectInsightTopicCount}
|
|
2471
2492
|
*/
|
|
2472
|
-
proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.
|
|
2473
|
-
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.
|
|
2493
|
+
proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.addProjectInsightTopicCounts = function(opt_value, opt_index) {
|
|
2494
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.ProjectInsightTopicCount, opt_index);
|
|
2474
2495
|
};
|
|
2475
2496
|
|
|
2476
2497
|
|
|
@@ -2478,8 +2499,8 @@ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.addProjectInsightKind
|
|
|
2478
2499
|
* Clears the list making it empty but non-null.
|
|
2479
2500
|
* @return {!proto.gateway.web.v1.GetInsightsOverviewResponse} returns this
|
|
2480
2501
|
*/
|
|
2481
|
-
proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.
|
|
2482
|
-
return this.
|
|
2502
|
+
proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.clearProjectInsightTopicCountsList = function() {
|
|
2503
|
+
return this.setProjectInsightTopicCountsList([]);
|
|
2483
2504
|
};
|
|
2484
2505
|
|
|
2485
2506
|
|
|
@@ -2680,8 +2701,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2680
2701
|
* http://goto/soy-param-migration
|
|
2681
2702
|
* @return {!Object}
|
|
2682
2703
|
*/
|
|
2683
|
-
proto.gateway.web.v1.
|
|
2684
|
-
return proto.gateway.web.v1.
|
|
2704
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.prototype.toObject = function(opt_includeInstance) {
|
|
2705
|
+
return proto.gateway.web.v1.ProjectInsightTopicCount.toObject(opt_includeInstance, this);
|
|
2685
2706
|
};
|
|
2686
2707
|
|
|
2687
2708
|
|
|
@@ -2690,13 +2711,13 @@ proto.gateway.web.v1.ProjectInsightKindCount.prototype.toObject = function(opt_i
|
|
|
2690
2711
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2691
2712
|
* the JSPB instance for transitional soy proto support:
|
|
2692
2713
|
* http://goto/soy-param-migration
|
|
2693
|
-
* @param {!proto.gateway.web.v1.
|
|
2714
|
+
* @param {!proto.gateway.web.v1.ProjectInsightTopicCount} msg The msg instance to transform.
|
|
2694
2715
|
* @return {!Object}
|
|
2695
2716
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2696
2717
|
*/
|
|
2697
|
-
proto.gateway.web.v1.
|
|
2718
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.toObject = function(includeInstance, msg) {
|
|
2698
2719
|
var f, obj = {
|
|
2699
|
-
|
|
2720
|
+
topic: (f = msg.getTopic()) && proto.gateway.web.v1.AIProjectInsightTopic.toObject(includeInstance, f),
|
|
2700
2721
|
cards: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2701
2722
|
};
|
|
2702
2723
|
|
|
@@ -2711,23 +2732,23 @@ cards: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
|
2711
2732
|
/**
|
|
2712
2733
|
* Deserializes binary data (in protobuf wire format).
|
|
2713
2734
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
2714
|
-
* @return {!proto.gateway.web.v1.
|
|
2735
|
+
* @return {!proto.gateway.web.v1.ProjectInsightTopicCount}
|
|
2715
2736
|
*/
|
|
2716
|
-
proto.gateway.web.v1.
|
|
2737
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.deserializeBinary = function(bytes) {
|
|
2717
2738
|
var reader = new jspb.BinaryReader(bytes);
|
|
2718
|
-
var msg = new proto.gateway.web.v1.
|
|
2719
|
-
return proto.gateway.web.v1.
|
|
2739
|
+
var msg = new proto.gateway.web.v1.ProjectInsightTopicCount;
|
|
2740
|
+
return proto.gateway.web.v1.ProjectInsightTopicCount.deserializeBinaryFromReader(msg, reader);
|
|
2720
2741
|
};
|
|
2721
2742
|
|
|
2722
2743
|
|
|
2723
2744
|
/**
|
|
2724
2745
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2725
2746
|
* given reader into the given message object.
|
|
2726
|
-
* @param {!proto.gateway.web.v1.
|
|
2747
|
+
* @param {!proto.gateway.web.v1.ProjectInsightTopicCount} msg The message object to deserialize into.
|
|
2727
2748
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2728
|
-
* @return {!proto.gateway.web.v1.
|
|
2749
|
+
* @return {!proto.gateway.web.v1.ProjectInsightTopicCount}
|
|
2729
2750
|
*/
|
|
2730
|
-
proto.gateway.web.v1.
|
|
2751
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.deserializeBinaryFromReader = function(msg, reader) {
|
|
2731
2752
|
while (reader.nextField()) {
|
|
2732
2753
|
if (reader.isEndGroup()) {
|
|
2733
2754
|
break;
|
|
@@ -2735,8 +2756,9 @@ proto.gateway.web.v1.ProjectInsightKindCount.deserializeBinaryFromReader = funct
|
|
|
2735
2756
|
var field = reader.getFieldNumber();
|
|
2736
2757
|
switch (field) {
|
|
2737
2758
|
case 1:
|
|
2738
|
-
var value =
|
|
2739
|
-
|
|
2759
|
+
var value = new proto.gateway.web.v1.AIProjectInsightTopic;
|
|
2760
|
+
reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightTopic.deserializeBinaryFromReader);
|
|
2761
|
+
msg.setTopic(value);
|
|
2740
2762
|
break;
|
|
2741
2763
|
case 2:
|
|
2742
2764
|
var value = /** @type {number} */ (reader.readUint64());
|
|
@@ -2755,9 +2777,9 @@ proto.gateway.web.v1.ProjectInsightKindCount.deserializeBinaryFromReader = funct
|
|
|
2755
2777
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2756
2778
|
* @return {!Uint8Array}
|
|
2757
2779
|
*/
|
|
2758
|
-
proto.gateway.web.v1.
|
|
2780
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.prototype.serializeBinary = function() {
|
|
2759
2781
|
var writer = new jspb.BinaryWriter();
|
|
2760
|
-
proto.gateway.web.v1.
|
|
2782
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.serializeBinaryToWriter(this, writer);
|
|
2761
2783
|
return writer.getResultBuffer();
|
|
2762
2784
|
};
|
|
2763
2785
|
|
|
@@ -2765,17 +2787,18 @@ proto.gateway.web.v1.ProjectInsightKindCount.prototype.serializeBinary = functio
|
|
|
2765
2787
|
/**
|
|
2766
2788
|
* Serializes the given message to binary data (in protobuf wire
|
|
2767
2789
|
* format), writing to the given BinaryWriter.
|
|
2768
|
-
* @param {!proto.gateway.web.v1.
|
|
2790
|
+
* @param {!proto.gateway.web.v1.ProjectInsightTopicCount} message
|
|
2769
2791
|
* @param {!jspb.BinaryWriter} writer
|
|
2770
2792
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2771
2793
|
*/
|
|
2772
|
-
proto.gateway.web.v1.
|
|
2794
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.serializeBinaryToWriter = function(message, writer) {
|
|
2773
2795
|
var f = undefined;
|
|
2774
|
-
f = message.
|
|
2775
|
-
if (f
|
|
2776
|
-
writer.
|
|
2796
|
+
f = message.getTopic();
|
|
2797
|
+
if (f != null) {
|
|
2798
|
+
writer.writeMessage(
|
|
2777
2799
|
1,
|
|
2778
|
-
f
|
|
2800
|
+
f,
|
|
2801
|
+
proto.gateway.web.v1.AIProjectInsightTopic.serializeBinaryToWriter
|
|
2779
2802
|
);
|
|
2780
2803
|
}
|
|
2781
2804
|
f = message.getCards();
|
|
@@ -2789,20 +2812,39 @@ proto.gateway.web.v1.ProjectInsightKindCount.serializeBinaryToWriter = function(
|
|
|
2789
2812
|
|
|
2790
2813
|
|
|
2791
2814
|
/**
|
|
2792
|
-
* optional
|
|
2793
|
-
* @return {
|
|
2815
|
+
* optional AIProjectInsightTopic topic = 1;
|
|
2816
|
+
* @return {?proto.gateway.web.v1.AIProjectInsightTopic}
|
|
2794
2817
|
*/
|
|
2795
|
-
proto.gateway.web.v1.
|
|
2796
|
-
return /** @type
|
|
2818
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.prototype.getTopic = function() {
|
|
2819
|
+
return /** @type{?proto.gateway.web.v1.AIProjectInsightTopic} */ (
|
|
2820
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIProjectInsightTopic, 1));
|
|
2797
2821
|
};
|
|
2798
2822
|
|
|
2799
2823
|
|
|
2800
2824
|
/**
|
|
2801
|
-
* @param {
|
|
2802
|
-
* @return {!proto.gateway.web.v1.
|
|
2825
|
+
* @param {?proto.gateway.web.v1.AIProjectInsightTopic|undefined} value
|
|
2826
|
+
* @return {!proto.gateway.web.v1.ProjectInsightTopicCount} returns this
|
|
2827
|
+
*/
|
|
2828
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.prototype.setTopic = function(value) {
|
|
2829
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2830
|
+
};
|
|
2831
|
+
|
|
2832
|
+
|
|
2833
|
+
/**
|
|
2834
|
+
* Clears the message field making it undefined.
|
|
2835
|
+
* @return {!proto.gateway.web.v1.ProjectInsightTopicCount} returns this
|
|
2803
2836
|
*/
|
|
2804
|
-
proto.gateway.web.v1.
|
|
2805
|
-
return
|
|
2837
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.prototype.clearTopic = function() {
|
|
2838
|
+
return this.setTopic(undefined);
|
|
2839
|
+
};
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
|
+
/**
|
|
2843
|
+
* Returns whether this field is set.
|
|
2844
|
+
* @return {boolean}
|
|
2845
|
+
*/
|
|
2846
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.prototype.hasTopic = function() {
|
|
2847
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2806
2848
|
};
|
|
2807
2849
|
|
|
2808
2850
|
|
|
@@ -2810,16 +2852,16 @@ proto.gateway.web.v1.ProjectInsightKindCount.prototype.setKind = function(value)
|
|
|
2810
2852
|
* optional uint64 cards = 2;
|
|
2811
2853
|
* @return {number}
|
|
2812
2854
|
*/
|
|
2813
|
-
proto.gateway.web.v1.
|
|
2855
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.prototype.getCards = function() {
|
|
2814
2856
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2815
2857
|
};
|
|
2816
2858
|
|
|
2817
2859
|
|
|
2818
2860
|
/**
|
|
2819
2861
|
* @param {number} value
|
|
2820
|
-
* @return {!proto.gateway.web.v1.
|
|
2862
|
+
* @return {!proto.gateway.web.v1.ProjectInsightTopicCount} returns this
|
|
2821
2863
|
*/
|
|
2822
|
-
proto.gateway.web.v1.
|
|
2864
|
+
proto.gateway.web.v1.ProjectInsightTopicCount.prototype.setCards = function(value) {
|
|
2823
2865
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2824
2866
|
};
|
|
2825
2867
|
|
|
@@ -3187,7 +3229,7 @@ proto.gateway.web.v1.AIProjectInsight.toObject = function(includeInstance, msg)
|
|
|
3187
3229
|
var f, obj = {
|
|
3188
3230
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3189
3231
|
rank: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3190
|
-
|
|
3232
|
+
topic: (f = msg.getTopic()) && proto.gateway.web.v1.AIProjectInsightTopic.toObject(includeInstance, f),
|
|
3191
3233
|
title: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3192
3234
|
pattern: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3193
3235
|
explanation: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
@@ -3244,8 +3286,9 @@ proto.gateway.web.v1.AIProjectInsight.deserializeBinaryFromReader = function(msg
|
|
|
3244
3286
|
msg.setRank(value);
|
|
3245
3287
|
break;
|
|
3246
3288
|
case 3:
|
|
3247
|
-
var value =
|
|
3248
|
-
|
|
3289
|
+
var value = new proto.gateway.web.v1.AIProjectInsightTopic;
|
|
3290
|
+
reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightTopic.deserializeBinaryFromReader);
|
|
3291
|
+
msg.setTopic(value);
|
|
3249
3292
|
break;
|
|
3250
3293
|
case 4:
|
|
3251
3294
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
@@ -3332,11 +3375,12 @@ proto.gateway.web.v1.AIProjectInsight.serializeBinaryToWriter = function(message
|
|
|
3332
3375
|
f
|
|
3333
3376
|
);
|
|
3334
3377
|
}
|
|
3335
|
-
f = message.
|
|
3336
|
-
if (f
|
|
3337
|
-
writer.
|
|
3378
|
+
f = message.getTopic();
|
|
3379
|
+
if (f != null) {
|
|
3380
|
+
writer.writeMessage(
|
|
3338
3381
|
3,
|
|
3339
|
-
f
|
|
3382
|
+
f,
|
|
3383
|
+
proto.gateway.web.v1.AIProjectInsightTopic.serializeBinaryToWriter
|
|
3340
3384
|
);
|
|
3341
3385
|
}
|
|
3342
3386
|
f = message.getTitle();
|
|
@@ -3451,20 +3495,39 @@ proto.gateway.web.v1.AIProjectInsight.prototype.setRank = function(value) {
|
|
|
3451
3495
|
|
|
3452
3496
|
|
|
3453
3497
|
/**
|
|
3454
|
-
* optional
|
|
3455
|
-
* @return {
|
|
3498
|
+
* optional AIProjectInsightTopic topic = 3;
|
|
3499
|
+
* @return {?proto.gateway.web.v1.AIProjectInsightTopic}
|
|
3456
3500
|
*/
|
|
3457
|
-
proto.gateway.web.v1.AIProjectInsight.prototype.
|
|
3458
|
-
return /** @type
|
|
3501
|
+
proto.gateway.web.v1.AIProjectInsight.prototype.getTopic = function() {
|
|
3502
|
+
return /** @type{?proto.gateway.web.v1.AIProjectInsightTopic} */ (
|
|
3503
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIProjectInsightTopic, 3));
|
|
3504
|
+
};
|
|
3505
|
+
|
|
3506
|
+
|
|
3507
|
+
/**
|
|
3508
|
+
* @param {?proto.gateway.web.v1.AIProjectInsightTopic|undefined} value
|
|
3509
|
+
* @return {!proto.gateway.web.v1.AIProjectInsight} returns this
|
|
3510
|
+
*/
|
|
3511
|
+
proto.gateway.web.v1.AIProjectInsight.prototype.setTopic = function(value) {
|
|
3512
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
3459
3513
|
};
|
|
3460
3514
|
|
|
3461
3515
|
|
|
3462
3516
|
/**
|
|
3463
|
-
*
|
|
3517
|
+
* Clears the message field making it undefined.
|
|
3464
3518
|
* @return {!proto.gateway.web.v1.AIProjectInsight} returns this
|
|
3465
3519
|
*/
|
|
3466
|
-
proto.gateway.web.v1.AIProjectInsight.prototype.
|
|
3467
|
-
return
|
|
3520
|
+
proto.gateway.web.v1.AIProjectInsight.prototype.clearTopic = function() {
|
|
3521
|
+
return this.setTopic(undefined);
|
|
3522
|
+
};
|
|
3523
|
+
|
|
3524
|
+
|
|
3525
|
+
/**
|
|
3526
|
+
* Returns whether this field is set.
|
|
3527
|
+
* @return {boolean}
|
|
3528
|
+
*/
|
|
3529
|
+
proto.gateway.web.v1.AIProjectInsight.prototype.hasTopic = function() {
|
|
3530
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3468
3531
|
};
|
|
3469
3532
|
|
|
3470
3533
|
|
|
@@ -3708,6 +3771,166 @@ proto.gateway.web.v1.AIProjectInsight.prototype.hasSkillSuggestion = function()
|
|
|
3708
3771
|
|
|
3709
3772
|
|
|
3710
3773
|
|
|
3774
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3775
|
+
/**
|
|
3776
|
+
* Creates an object representation of this proto.
|
|
3777
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3778
|
+
* Optional fields that are not set will be set to undefined.
|
|
3779
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3780
|
+
* For the list of reserved names please see:
|
|
3781
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3782
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3783
|
+
* JSPB instance for transitional soy proto support:
|
|
3784
|
+
* http://goto/soy-param-migration
|
|
3785
|
+
* @return {!Object}
|
|
3786
|
+
*/
|
|
3787
|
+
proto.gateway.web.v1.AIProjectInsightTopic.prototype.toObject = function(opt_includeInstance) {
|
|
3788
|
+
return proto.gateway.web.v1.AIProjectInsightTopic.toObject(opt_includeInstance, this);
|
|
3789
|
+
};
|
|
3790
|
+
|
|
3791
|
+
|
|
3792
|
+
/**
|
|
3793
|
+
* Static version of the {@see toObject} method.
|
|
3794
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3795
|
+
* the JSPB instance for transitional soy proto support:
|
|
3796
|
+
* http://goto/soy-param-migration
|
|
3797
|
+
* @param {!proto.gateway.web.v1.AIProjectInsightTopic} msg The msg instance to transform.
|
|
3798
|
+
* @return {!Object}
|
|
3799
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3800
|
+
*/
|
|
3801
|
+
proto.gateway.web.v1.AIProjectInsightTopic.toObject = function(includeInstance, msg) {
|
|
3802
|
+
var f, obj = {
|
|
3803
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3804
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3805
|
+
};
|
|
3806
|
+
|
|
3807
|
+
if (includeInstance) {
|
|
3808
|
+
obj.$jspbMessageInstance = msg;
|
|
3809
|
+
}
|
|
3810
|
+
return obj;
|
|
3811
|
+
};
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3814
|
+
|
|
3815
|
+
/**
|
|
3816
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3817
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
3818
|
+
* @return {!proto.gateway.web.v1.AIProjectInsightTopic}
|
|
3819
|
+
*/
|
|
3820
|
+
proto.gateway.web.v1.AIProjectInsightTopic.deserializeBinary = function(bytes) {
|
|
3821
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3822
|
+
var msg = new proto.gateway.web.v1.AIProjectInsightTopic;
|
|
3823
|
+
return proto.gateway.web.v1.AIProjectInsightTopic.deserializeBinaryFromReader(msg, reader);
|
|
3824
|
+
};
|
|
3825
|
+
|
|
3826
|
+
|
|
3827
|
+
/**
|
|
3828
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3829
|
+
* given reader into the given message object.
|
|
3830
|
+
* @param {!proto.gateway.web.v1.AIProjectInsightTopic} msg The message object to deserialize into.
|
|
3831
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3832
|
+
* @return {!proto.gateway.web.v1.AIProjectInsightTopic}
|
|
3833
|
+
*/
|
|
3834
|
+
proto.gateway.web.v1.AIProjectInsightTopic.deserializeBinaryFromReader = function(msg, reader) {
|
|
3835
|
+
while (reader.nextField()) {
|
|
3836
|
+
if (reader.isEndGroup()) {
|
|
3837
|
+
break;
|
|
3838
|
+
}
|
|
3839
|
+
var field = reader.getFieldNumber();
|
|
3840
|
+
switch (field) {
|
|
3841
|
+
case 1:
|
|
3842
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3843
|
+
msg.setKey(value);
|
|
3844
|
+
break;
|
|
3845
|
+
case 2:
|
|
3846
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3847
|
+
msg.setName(value);
|
|
3848
|
+
break;
|
|
3849
|
+
default:
|
|
3850
|
+
reader.skipField();
|
|
3851
|
+
break;
|
|
3852
|
+
}
|
|
3853
|
+
}
|
|
3854
|
+
return msg;
|
|
3855
|
+
};
|
|
3856
|
+
|
|
3857
|
+
|
|
3858
|
+
/**
|
|
3859
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3860
|
+
* @return {!Uint8Array}
|
|
3861
|
+
*/
|
|
3862
|
+
proto.gateway.web.v1.AIProjectInsightTopic.prototype.serializeBinary = function() {
|
|
3863
|
+
var writer = new jspb.BinaryWriter();
|
|
3864
|
+
proto.gateway.web.v1.AIProjectInsightTopic.serializeBinaryToWriter(this, writer);
|
|
3865
|
+
return writer.getResultBuffer();
|
|
3866
|
+
};
|
|
3867
|
+
|
|
3868
|
+
|
|
3869
|
+
/**
|
|
3870
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3871
|
+
* format), writing to the given BinaryWriter.
|
|
3872
|
+
* @param {!proto.gateway.web.v1.AIProjectInsightTopic} message
|
|
3873
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3874
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3875
|
+
*/
|
|
3876
|
+
proto.gateway.web.v1.AIProjectInsightTopic.serializeBinaryToWriter = function(message, writer) {
|
|
3877
|
+
var f = undefined;
|
|
3878
|
+
f = message.getKey();
|
|
3879
|
+
if (f.length > 0) {
|
|
3880
|
+
writer.writeString(
|
|
3881
|
+
1,
|
|
3882
|
+
f
|
|
3883
|
+
);
|
|
3884
|
+
}
|
|
3885
|
+
f = message.getName();
|
|
3886
|
+
if (f.length > 0) {
|
|
3887
|
+
writer.writeString(
|
|
3888
|
+
2,
|
|
3889
|
+
f
|
|
3890
|
+
);
|
|
3891
|
+
}
|
|
3892
|
+
};
|
|
3893
|
+
|
|
3894
|
+
|
|
3895
|
+
/**
|
|
3896
|
+
* optional string key = 1;
|
|
3897
|
+
* @return {string}
|
|
3898
|
+
*/
|
|
3899
|
+
proto.gateway.web.v1.AIProjectInsightTopic.prototype.getKey = function() {
|
|
3900
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3901
|
+
};
|
|
3902
|
+
|
|
3903
|
+
|
|
3904
|
+
/**
|
|
3905
|
+
* @param {string} value
|
|
3906
|
+
* @return {!proto.gateway.web.v1.AIProjectInsightTopic} returns this
|
|
3907
|
+
*/
|
|
3908
|
+
proto.gateway.web.v1.AIProjectInsightTopic.prototype.setKey = function(value) {
|
|
3909
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3910
|
+
};
|
|
3911
|
+
|
|
3912
|
+
|
|
3913
|
+
/**
|
|
3914
|
+
* optional string name = 2;
|
|
3915
|
+
* @return {string}
|
|
3916
|
+
*/
|
|
3917
|
+
proto.gateway.web.v1.AIProjectInsightTopic.prototype.getName = function() {
|
|
3918
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3919
|
+
};
|
|
3920
|
+
|
|
3921
|
+
|
|
3922
|
+
/**
|
|
3923
|
+
* @param {string} value
|
|
3924
|
+
* @return {!proto.gateway.web.v1.AIProjectInsightTopic} returns this
|
|
3925
|
+
*/
|
|
3926
|
+
proto.gateway.web.v1.AIProjectInsightTopic.prototype.setName = function(value) {
|
|
3927
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3928
|
+
};
|
|
3929
|
+
|
|
3930
|
+
|
|
3931
|
+
|
|
3932
|
+
|
|
3933
|
+
|
|
3711
3934
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3712
3935
|
/**
|
|
3713
3936
|
* Creates an object representation of this proto.
|
|
@@ -5663,21 +5886,6 @@ proto.gateway.web.v1.SessionInsightSort = {
|
|
|
5663
5886
|
SESSION_INSIGHT_SORT_RECENT: 1
|
|
5664
5887
|
};
|
|
5665
5888
|
|
|
5666
|
-
/**
|
|
5667
|
-
* @enum {number}
|
|
5668
|
-
*/
|
|
5669
|
-
proto.gateway.web.v1.AIProjectInsightKind = {
|
|
5670
|
-
AI_PROJECT_INSIGHT_KIND_UNSPECIFIED: 0,
|
|
5671
|
-
AI_PROJECT_INSIGHT_KIND_REUSABLE_WORKFLOW: 1,
|
|
5672
|
-
AI_PROJECT_INSIGHT_KIND_REPOSITORY_STRUCTURE: 2,
|
|
5673
|
-
AI_PROJECT_INSIGHT_KIND_SECURITY_REVIEW: 3,
|
|
5674
|
-
AI_PROJECT_INSIGHT_KIND_TOOLING_MCP: 4,
|
|
5675
|
-
AI_PROJECT_INSIGHT_KIND_COORDINATION: 5,
|
|
5676
|
-
AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS: 6,
|
|
5677
|
-
AI_PROJECT_INSIGHT_KIND_SKILL_SHARING: 7,
|
|
5678
|
-
AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE: 8
|
|
5679
|
-
};
|
|
5680
|
-
|
|
5681
5889
|
/**
|
|
5682
5890
|
* @enum {number}
|
|
5683
5891
|
*/
|