@miradorlabs/web-grpc 4.35.0 → 4.37.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.
@@ -27,11 +27,13 @@ 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.AIProjectInsightKind', null, global);
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);
34
34
  goog.exportSymbol('proto.gateway.web.v1.DeleteInsightRatingResponse', null, global);
35
+ goog.exportSymbol('proto.gateway.web.v1.GetInsightsOverviewRequest', null, global);
36
+ goog.exportSymbol('proto.gateway.web.v1.GetInsightsOverviewResponse', null, global);
35
37
  goog.exportSymbol('proto.gateway.web.v1.InsightRating', null, global);
36
38
  goog.exportSymbol('proto.gateway.web.v1.InsightRef', null, global);
37
39
  goog.exportSymbol('proto.gateway.web.v1.InsightRef.InsightCase', null, global);
@@ -39,9 +41,11 @@ goog.exportSymbol('proto.gateway.web.v1.ListProjectInsightCardsRequest', null, g
39
41
  goog.exportSymbol('proto.gateway.web.v1.ListProjectInsightCardsResponse', null, global);
40
42
  goog.exportSymbol('proto.gateway.web.v1.ListSessionInsightsRequest', null, global);
41
43
  goog.exportSymbol('proto.gateway.web.v1.ListSessionInsightsResponse', null, global);
44
+ goog.exportSymbol('proto.gateway.web.v1.ProjectInsightTopicCount', null, global);
42
45
  goog.exportSymbol('proto.gateway.web.v1.SessionInsightEntry', null, global);
43
46
  goog.exportSymbol('proto.gateway.web.v1.SessionInsightFilter', null, global);
44
47
  goog.exportSymbol('proto.gateway.web.v1.SessionInsightSort', null, global);
48
+ goog.exportSymbol('proto.gateway.web.v1.SessionInsightTopicCount', null, global);
45
49
  goog.exportSymbol('proto.gateway.web.v1.SetInsightRatingRequest', null, global);
46
50
  goog.exportSymbol('proto.gateway.web.v1.SetInsightRatingResponse', null, global);
47
51
  /**
@@ -170,6 +174,90 @@ if (goog.DEBUG && !COMPILED) {
170
174
  */
171
175
  proto.gateway.web.v1.ListProjectInsightCardsResponse.displayName = 'proto.gateway.web.v1.ListProjectInsightCardsResponse';
172
176
  }
177
+ /**
178
+ * Generated by JsPbCodeGenerator.
179
+ * @param {Array=} opt_data Optional initial data array, typically from a
180
+ * server response, or constructed directly in Javascript. The array is used
181
+ * in place and becomes part of the constructed object. It is not cloned.
182
+ * If no data is provided, the constructed object will be empty, but still
183
+ * valid.
184
+ * @extends {jspb.Message}
185
+ * @constructor
186
+ */
187
+ proto.gateway.web.v1.GetInsightsOverviewRequest = function(opt_data) {
188
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
189
+ };
190
+ goog.inherits(proto.gateway.web.v1.GetInsightsOverviewRequest, jspb.Message);
191
+ if (goog.DEBUG && !COMPILED) {
192
+ /**
193
+ * @public
194
+ * @override
195
+ */
196
+ proto.gateway.web.v1.GetInsightsOverviewRequest.displayName = 'proto.gateway.web.v1.GetInsightsOverviewRequest';
197
+ }
198
+ /**
199
+ * Generated by JsPbCodeGenerator.
200
+ * @param {Array=} opt_data Optional initial data array, typically from a
201
+ * server response, or constructed directly in Javascript. The array is used
202
+ * in place and becomes part of the constructed object. It is not cloned.
203
+ * If no data is provided, the constructed object will be empty, but still
204
+ * valid.
205
+ * @extends {jspb.Message}
206
+ * @constructor
207
+ */
208
+ proto.gateway.web.v1.GetInsightsOverviewResponse = function(opt_data) {
209
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.GetInsightsOverviewResponse.repeatedFields_, null);
210
+ };
211
+ goog.inherits(proto.gateway.web.v1.GetInsightsOverviewResponse, jspb.Message);
212
+ if (goog.DEBUG && !COMPILED) {
213
+ /**
214
+ * @public
215
+ * @override
216
+ */
217
+ proto.gateway.web.v1.GetInsightsOverviewResponse.displayName = 'proto.gateway.web.v1.GetInsightsOverviewResponse';
218
+ }
219
+ /**
220
+ * Generated by JsPbCodeGenerator.
221
+ * @param {Array=} opt_data Optional initial data array, typically from a
222
+ * server response, or constructed directly in Javascript. The array is used
223
+ * in place and becomes part of the constructed object. It is not cloned.
224
+ * If no data is provided, the constructed object will be empty, but still
225
+ * valid.
226
+ * @extends {jspb.Message}
227
+ * @constructor
228
+ */
229
+ proto.gateway.web.v1.SessionInsightTopicCount = function(opt_data) {
230
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
231
+ };
232
+ goog.inherits(proto.gateway.web.v1.SessionInsightTopicCount, jspb.Message);
233
+ if (goog.DEBUG && !COMPILED) {
234
+ /**
235
+ * @public
236
+ * @override
237
+ */
238
+ proto.gateway.web.v1.SessionInsightTopicCount.displayName = 'proto.gateway.web.v1.SessionInsightTopicCount';
239
+ }
240
+ /**
241
+ * Generated by JsPbCodeGenerator.
242
+ * @param {Array=} opt_data Optional initial data array, typically from a
243
+ * server response, or constructed directly in Javascript. The array is used
244
+ * in place and becomes part of the constructed object. It is not cloned.
245
+ * If no data is provided, the constructed object will be empty, but still
246
+ * valid.
247
+ * @extends {jspb.Message}
248
+ * @constructor
249
+ */
250
+ proto.gateway.web.v1.ProjectInsightTopicCount = function(opt_data) {
251
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
252
+ };
253
+ goog.inherits(proto.gateway.web.v1.ProjectInsightTopicCount, jspb.Message);
254
+ if (goog.DEBUG && !COMPILED) {
255
+ /**
256
+ * @public
257
+ * @override
258
+ */
259
+ proto.gateway.web.v1.ProjectInsightTopicCount.displayName = 'proto.gateway.web.v1.ProjectInsightTopicCount';
260
+ }
173
261
  /**
174
262
  * Generated by JsPbCodeGenerator.
175
263
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -212,6 +300,27 @@ if (goog.DEBUG && !COMPILED) {
212
300
  */
213
301
  proto.gateway.web.v1.AIProjectInsight.displayName = 'proto.gateway.web.v1.AIProjectInsight';
214
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
+ }
215
324
  /**
216
325
  * Generated by JsPbCodeGenerator.
217
326
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1735,23 +1844,911 @@ nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
1735
1844
  /**
1736
1845
  * Deserializes binary data (in protobuf wire format).
1737
1846
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1738
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse}
1847
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse}
1848
+ */
1849
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinary = function(bytes) {
1850
+ var reader = new jspb.BinaryReader(bytes);
1851
+ var msg = new proto.gateway.web.v1.ListProjectInsightCardsResponse;
1852
+ return proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinaryFromReader(msg, reader);
1853
+ };
1854
+
1855
+
1856
+ /**
1857
+ * Deserializes binary data (in protobuf wire format) from the
1858
+ * given reader into the given message object.
1859
+ * @param {!proto.gateway.web.v1.ListProjectInsightCardsResponse} msg The message object to deserialize into.
1860
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1861
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse}
1862
+ */
1863
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinaryFromReader = function(msg, reader) {
1864
+ while (reader.nextField()) {
1865
+ if (reader.isEndGroup()) {
1866
+ break;
1867
+ }
1868
+ var field = reader.getFieldNumber();
1869
+ switch (field) {
1870
+ case 1:
1871
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
1872
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
1873
+ msg.setStatus(value);
1874
+ break;
1875
+ case 2:
1876
+ var value = new proto.gateway.web.v1.AIProjectInsightCard;
1877
+ reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightCard.deserializeBinaryFromReader);
1878
+ msg.addCards(value);
1879
+ break;
1880
+ case 3:
1881
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1882
+ msg.setNextPageToken(value);
1883
+ break;
1884
+ default:
1885
+ reader.skipField();
1886
+ break;
1887
+ }
1888
+ }
1889
+ return msg;
1890
+ };
1891
+
1892
+
1893
+ /**
1894
+ * Serializes the message to binary data (in protobuf wire format).
1895
+ * @return {!Uint8Array}
1896
+ */
1897
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.serializeBinary = function() {
1898
+ var writer = new jspb.BinaryWriter();
1899
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.serializeBinaryToWriter(this, writer);
1900
+ return writer.getResultBuffer();
1901
+ };
1902
+
1903
+
1904
+ /**
1905
+ * Serializes the given message to binary data (in protobuf wire
1906
+ * format), writing to the given BinaryWriter.
1907
+ * @param {!proto.gateway.web.v1.ListProjectInsightCardsResponse} message
1908
+ * @param {!jspb.BinaryWriter} writer
1909
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1910
+ */
1911
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.serializeBinaryToWriter = function(message, writer) {
1912
+ var f = undefined;
1913
+ f = message.getStatus();
1914
+ if (f != null) {
1915
+ writer.writeMessage(
1916
+ 1,
1917
+ f,
1918
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
1919
+ );
1920
+ }
1921
+ f = message.getCardsList();
1922
+ if (f.length > 0) {
1923
+ writer.writeRepeatedMessage(
1924
+ 2,
1925
+ f,
1926
+ proto.gateway.web.v1.AIProjectInsightCard.serializeBinaryToWriter
1927
+ );
1928
+ }
1929
+ f = message.getNextPageToken();
1930
+ if (f.length > 0) {
1931
+ writer.writeString(
1932
+ 3,
1933
+ f
1934
+ );
1935
+ }
1936
+ };
1937
+
1938
+
1939
+ /**
1940
+ * optional gateway.common.v1.ResponseStatus status = 1;
1941
+ * @return {?proto.gateway.common.v1.ResponseStatus}
1942
+ */
1943
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.getStatus = function() {
1944
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
1945
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
1946
+ };
1947
+
1948
+
1949
+ /**
1950
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
1951
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
1952
+ */
1953
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.setStatus = function(value) {
1954
+ return jspb.Message.setWrapperField(this, 1, value);
1955
+ };
1956
+
1957
+
1958
+ /**
1959
+ * Clears the message field making it undefined.
1960
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
1961
+ */
1962
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.clearStatus = function() {
1963
+ return this.setStatus(undefined);
1964
+ };
1965
+
1966
+
1967
+ /**
1968
+ * Returns whether this field is set.
1969
+ * @return {boolean}
1970
+ */
1971
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.hasStatus = function() {
1972
+ return jspb.Message.getField(this, 1) != null;
1973
+ };
1974
+
1975
+
1976
+ /**
1977
+ * repeated AIProjectInsightCard cards = 2;
1978
+ * @return {!Array<!proto.gateway.web.v1.AIProjectInsightCard>}
1979
+ */
1980
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.getCardsList = function() {
1981
+ return /** @type{!Array<!proto.gateway.web.v1.AIProjectInsightCard>} */ (
1982
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIProjectInsightCard, 2));
1983
+ };
1984
+
1985
+
1986
+ /**
1987
+ * @param {!Array<!proto.gateway.web.v1.AIProjectInsightCard>} value
1988
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
1989
+ */
1990
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.setCardsList = function(value) {
1991
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
1992
+ };
1993
+
1994
+
1995
+ /**
1996
+ * @param {!proto.gateway.web.v1.AIProjectInsightCard=} opt_value
1997
+ * @param {number=} opt_index
1998
+ * @return {!proto.gateway.web.v1.AIProjectInsightCard}
1999
+ */
2000
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.addCards = function(opt_value, opt_index) {
2001
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIProjectInsightCard, opt_index);
2002
+ };
2003
+
2004
+
2005
+ /**
2006
+ * Clears the list making it empty but non-null.
2007
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
2008
+ */
2009
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.clearCardsList = function() {
2010
+ return this.setCardsList([]);
2011
+ };
2012
+
2013
+
2014
+ /**
2015
+ * optional string next_page_token = 3;
2016
+ * @return {string}
2017
+ */
2018
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.getNextPageToken = function() {
2019
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2020
+ };
2021
+
2022
+
2023
+ /**
2024
+ * @param {string} value
2025
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
2026
+ */
2027
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.setNextPageToken = function(value) {
2028
+ return jspb.Message.setProto3StringField(this, 3, value);
2029
+ };
2030
+
2031
+
2032
+
2033
+
2034
+
2035
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2036
+ /**
2037
+ * Creates an object representation of this proto.
2038
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2039
+ * Optional fields that are not set will be set to undefined.
2040
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2041
+ * For the list of reserved names please see:
2042
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2043
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2044
+ * JSPB instance for transitional soy proto support:
2045
+ * http://goto/soy-param-migration
2046
+ * @return {!Object}
2047
+ */
2048
+ proto.gateway.web.v1.GetInsightsOverviewRequest.prototype.toObject = function(opt_includeInstance) {
2049
+ return proto.gateway.web.v1.GetInsightsOverviewRequest.toObject(opt_includeInstance, this);
2050
+ };
2051
+
2052
+
2053
+ /**
2054
+ * Static version of the {@see toObject} method.
2055
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2056
+ * the JSPB instance for transitional soy proto support:
2057
+ * http://goto/soy-param-migration
2058
+ * @param {!proto.gateway.web.v1.GetInsightsOverviewRequest} msg The msg instance to transform.
2059
+ * @return {!Object}
2060
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2061
+ */
2062
+ proto.gateway.web.v1.GetInsightsOverviewRequest.toObject = function(includeInstance, msg) {
2063
+ var f, obj = {
2064
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2065
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
2066
+ analyzedAfter: (f = msg.getAnalyzedAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
2067
+ };
2068
+
2069
+ if (includeInstance) {
2070
+ obj.$jspbMessageInstance = msg;
2071
+ }
2072
+ return obj;
2073
+ };
2074
+ }
2075
+
2076
+
2077
+ /**
2078
+ * Deserializes binary data (in protobuf wire format).
2079
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2080
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewRequest}
2081
+ */
2082
+ proto.gateway.web.v1.GetInsightsOverviewRequest.deserializeBinary = function(bytes) {
2083
+ var reader = new jspb.BinaryReader(bytes);
2084
+ var msg = new proto.gateway.web.v1.GetInsightsOverviewRequest;
2085
+ return proto.gateway.web.v1.GetInsightsOverviewRequest.deserializeBinaryFromReader(msg, reader);
2086
+ };
2087
+
2088
+
2089
+ /**
2090
+ * Deserializes binary data (in protobuf wire format) from the
2091
+ * given reader into the given message object.
2092
+ * @param {!proto.gateway.web.v1.GetInsightsOverviewRequest} msg The message object to deserialize into.
2093
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2094
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewRequest}
2095
+ */
2096
+ proto.gateway.web.v1.GetInsightsOverviewRequest.deserializeBinaryFromReader = function(msg, reader) {
2097
+ while (reader.nextField()) {
2098
+ if (reader.isEndGroup()) {
2099
+ break;
2100
+ }
2101
+ var field = reader.getFieldNumber();
2102
+ switch (field) {
2103
+ case 1:
2104
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2105
+ msg.setOrganizationId(value);
2106
+ break;
2107
+ case 2:
2108
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2109
+ msg.setProjectId(value);
2110
+ break;
2111
+ case 3:
2112
+ var value = new google_protobuf_timestamp_pb.Timestamp;
2113
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2114
+ msg.setAnalyzedAfter(value);
2115
+ break;
2116
+ default:
2117
+ reader.skipField();
2118
+ break;
2119
+ }
2120
+ }
2121
+ return msg;
2122
+ };
2123
+
2124
+
2125
+ /**
2126
+ * Serializes the message to binary data (in protobuf wire format).
2127
+ * @return {!Uint8Array}
2128
+ */
2129
+ proto.gateway.web.v1.GetInsightsOverviewRequest.prototype.serializeBinary = function() {
2130
+ var writer = new jspb.BinaryWriter();
2131
+ proto.gateway.web.v1.GetInsightsOverviewRequest.serializeBinaryToWriter(this, writer);
2132
+ return writer.getResultBuffer();
2133
+ };
2134
+
2135
+
2136
+ /**
2137
+ * Serializes the given message to binary data (in protobuf wire
2138
+ * format), writing to the given BinaryWriter.
2139
+ * @param {!proto.gateway.web.v1.GetInsightsOverviewRequest} message
2140
+ * @param {!jspb.BinaryWriter} writer
2141
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2142
+ */
2143
+ proto.gateway.web.v1.GetInsightsOverviewRequest.serializeBinaryToWriter = function(message, writer) {
2144
+ var f = undefined;
2145
+ f = message.getOrganizationId();
2146
+ if (f.length > 0) {
2147
+ writer.writeString(
2148
+ 1,
2149
+ f
2150
+ );
2151
+ }
2152
+ f = message.getProjectId();
2153
+ if (f.length > 0) {
2154
+ writer.writeString(
2155
+ 2,
2156
+ f
2157
+ );
2158
+ }
2159
+ f = message.getAnalyzedAfter();
2160
+ if (f != null) {
2161
+ writer.writeMessage(
2162
+ 3,
2163
+ f,
2164
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2165
+ );
2166
+ }
2167
+ };
2168
+
2169
+
2170
+ /**
2171
+ * optional string organization_id = 1;
2172
+ * @return {string}
2173
+ */
2174
+ proto.gateway.web.v1.GetInsightsOverviewRequest.prototype.getOrganizationId = function() {
2175
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2176
+ };
2177
+
2178
+
2179
+ /**
2180
+ * @param {string} value
2181
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewRequest} returns this
2182
+ */
2183
+ proto.gateway.web.v1.GetInsightsOverviewRequest.prototype.setOrganizationId = function(value) {
2184
+ return jspb.Message.setProto3StringField(this, 1, value);
2185
+ };
2186
+
2187
+
2188
+ /**
2189
+ * optional string project_id = 2;
2190
+ * @return {string}
2191
+ */
2192
+ proto.gateway.web.v1.GetInsightsOverviewRequest.prototype.getProjectId = function() {
2193
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2194
+ };
2195
+
2196
+
2197
+ /**
2198
+ * @param {string} value
2199
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewRequest} returns this
2200
+ */
2201
+ proto.gateway.web.v1.GetInsightsOverviewRequest.prototype.setProjectId = function(value) {
2202
+ return jspb.Message.setProto3StringField(this, 2, value);
2203
+ };
2204
+
2205
+
2206
+ /**
2207
+ * optional google.protobuf.Timestamp analyzed_after = 3;
2208
+ * @return {?proto.google.protobuf.Timestamp}
2209
+ */
2210
+ proto.gateway.web.v1.GetInsightsOverviewRequest.prototype.getAnalyzedAfter = function() {
2211
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
2212
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
2213
+ };
2214
+
2215
+
2216
+ /**
2217
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
2218
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewRequest} returns this
2219
+ */
2220
+ proto.gateway.web.v1.GetInsightsOverviewRequest.prototype.setAnalyzedAfter = function(value) {
2221
+ return jspb.Message.setWrapperField(this, 3, value);
2222
+ };
2223
+
2224
+
2225
+ /**
2226
+ * Clears the message field making it undefined.
2227
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewRequest} returns this
2228
+ */
2229
+ proto.gateway.web.v1.GetInsightsOverviewRequest.prototype.clearAnalyzedAfter = function() {
2230
+ return this.setAnalyzedAfter(undefined);
2231
+ };
2232
+
2233
+
2234
+ /**
2235
+ * Returns whether this field is set.
2236
+ * @return {boolean}
2237
+ */
2238
+ proto.gateway.web.v1.GetInsightsOverviewRequest.prototype.hasAnalyzedAfter = function() {
2239
+ return jspb.Message.getField(this, 3) != null;
2240
+ };
2241
+
2242
+
2243
+
2244
+ /**
2245
+ * List of repeated fields within this message type.
2246
+ * @private {!Array<number>}
2247
+ * @const
2248
+ */
2249
+ proto.gateway.web.v1.GetInsightsOverviewResponse.repeatedFields_ = [2,3];
2250
+
2251
+
2252
+
2253
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2254
+ /**
2255
+ * Creates an object representation of this proto.
2256
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2257
+ * Optional fields that are not set will be set to undefined.
2258
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2259
+ * For the list of reserved names please see:
2260
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2261
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2262
+ * JSPB instance for transitional soy proto support:
2263
+ * http://goto/soy-param-migration
2264
+ * @return {!Object}
2265
+ */
2266
+ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.toObject = function(opt_includeInstance) {
2267
+ return proto.gateway.web.v1.GetInsightsOverviewResponse.toObject(opt_includeInstance, this);
2268
+ };
2269
+
2270
+
2271
+ /**
2272
+ * Static version of the {@see toObject} method.
2273
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2274
+ * the JSPB instance for transitional soy proto support:
2275
+ * http://goto/soy-param-migration
2276
+ * @param {!proto.gateway.web.v1.GetInsightsOverviewResponse} msg The msg instance to transform.
2277
+ * @return {!Object}
2278
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2279
+ */
2280
+ proto.gateway.web.v1.GetInsightsOverviewResponse.toObject = function(includeInstance, msg) {
2281
+ var f, obj = {
2282
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
2283
+ sessionInsightTopicCountsList: jspb.Message.toObjectList(msg.getSessionInsightTopicCountsList(),
2284
+ proto.gateway.web.v1.SessionInsightTopicCount.toObject, includeInstance),
2285
+ projectInsightTopicCountsList: jspb.Message.toObjectList(msg.getProjectInsightTopicCountsList(),
2286
+ proto.gateway.web.v1.ProjectInsightTopicCount.toObject, includeInstance)
2287
+ };
2288
+
2289
+ if (includeInstance) {
2290
+ obj.$jspbMessageInstance = msg;
2291
+ }
2292
+ return obj;
2293
+ };
2294
+ }
2295
+
2296
+
2297
+ /**
2298
+ * Deserializes binary data (in protobuf wire format).
2299
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2300
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewResponse}
2301
+ */
2302
+ proto.gateway.web.v1.GetInsightsOverviewResponse.deserializeBinary = function(bytes) {
2303
+ var reader = new jspb.BinaryReader(bytes);
2304
+ var msg = new proto.gateway.web.v1.GetInsightsOverviewResponse;
2305
+ return proto.gateway.web.v1.GetInsightsOverviewResponse.deserializeBinaryFromReader(msg, reader);
2306
+ };
2307
+
2308
+
2309
+ /**
2310
+ * Deserializes binary data (in protobuf wire format) from the
2311
+ * given reader into the given message object.
2312
+ * @param {!proto.gateway.web.v1.GetInsightsOverviewResponse} msg The message object to deserialize into.
2313
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2314
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewResponse}
2315
+ */
2316
+ proto.gateway.web.v1.GetInsightsOverviewResponse.deserializeBinaryFromReader = function(msg, reader) {
2317
+ while (reader.nextField()) {
2318
+ if (reader.isEndGroup()) {
2319
+ break;
2320
+ }
2321
+ var field = reader.getFieldNumber();
2322
+ switch (field) {
2323
+ case 1:
2324
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
2325
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
2326
+ msg.setStatus(value);
2327
+ break;
2328
+ case 2:
2329
+ var value = new proto.gateway.web.v1.SessionInsightTopicCount;
2330
+ reader.readMessage(value,proto.gateway.web.v1.SessionInsightTopicCount.deserializeBinaryFromReader);
2331
+ msg.addSessionInsightTopicCounts(value);
2332
+ break;
2333
+ case 3:
2334
+ var value = new proto.gateway.web.v1.ProjectInsightTopicCount;
2335
+ reader.readMessage(value,proto.gateway.web.v1.ProjectInsightTopicCount.deserializeBinaryFromReader);
2336
+ msg.addProjectInsightTopicCounts(value);
2337
+ break;
2338
+ default:
2339
+ reader.skipField();
2340
+ break;
2341
+ }
2342
+ }
2343
+ return msg;
2344
+ };
2345
+
2346
+
2347
+ /**
2348
+ * Serializes the message to binary data (in protobuf wire format).
2349
+ * @return {!Uint8Array}
2350
+ */
2351
+ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.serializeBinary = function() {
2352
+ var writer = new jspb.BinaryWriter();
2353
+ proto.gateway.web.v1.GetInsightsOverviewResponse.serializeBinaryToWriter(this, writer);
2354
+ return writer.getResultBuffer();
2355
+ };
2356
+
2357
+
2358
+ /**
2359
+ * Serializes the given message to binary data (in protobuf wire
2360
+ * format), writing to the given BinaryWriter.
2361
+ * @param {!proto.gateway.web.v1.GetInsightsOverviewResponse} message
2362
+ * @param {!jspb.BinaryWriter} writer
2363
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2364
+ */
2365
+ proto.gateway.web.v1.GetInsightsOverviewResponse.serializeBinaryToWriter = function(message, writer) {
2366
+ var f = undefined;
2367
+ f = message.getStatus();
2368
+ if (f != null) {
2369
+ writer.writeMessage(
2370
+ 1,
2371
+ f,
2372
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
2373
+ );
2374
+ }
2375
+ f = message.getSessionInsightTopicCountsList();
2376
+ if (f.length > 0) {
2377
+ writer.writeRepeatedMessage(
2378
+ 2,
2379
+ f,
2380
+ proto.gateway.web.v1.SessionInsightTopicCount.serializeBinaryToWriter
2381
+ );
2382
+ }
2383
+ f = message.getProjectInsightTopicCountsList();
2384
+ if (f.length > 0) {
2385
+ writer.writeRepeatedMessage(
2386
+ 3,
2387
+ f,
2388
+ proto.gateway.web.v1.ProjectInsightTopicCount.serializeBinaryToWriter
2389
+ );
2390
+ }
2391
+ };
2392
+
2393
+
2394
+ /**
2395
+ * optional gateway.common.v1.ResponseStatus status = 1;
2396
+ * @return {?proto.gateway.common.v1.ResponseStatus}
2397
+ */
2398
+ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.getStatus = function() {
2399
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
2400
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
2401
+ };
2402
+
2403
+
2404
+ /**
2405
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
2406
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewResponse} returns this
2407
+ */
2408
+ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.setStatus = function(value) {
2409
+ return jspb.Message.setWrapperField(this, 1, value);
2410
+ };
2411
+
2412
+
2413
+ /**
2414
+ * Clears the message field making it undefined.
2415
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewResponse} returns this
2416
+ */
2417
+ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.clearStatus = function() {
2418
+ return this.setStatus(undefined);
2419
+ };
2420
+
2421
+
2422
+ /**
2423
+ * Returns whether this field is set.
2424
+ * @return {boolean}
2425
+ */
2426
+ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.hasStatus = function() {
2427
+ return jspb.Message.getField(this, 1) != null;
2428
+ };
2429
+
2430
+
2431
+ /**
2432
+ * repeated SessionInsightTopicCount session_insight_topic_counts = 2;
2433
+ * @return {!Array<!proto.gateway.web.v1.SessionInsightTopicCount>}
2434
+ */
2435
+ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.getSessionInsightTopicCountsList = function() {
2436
+ return /** @type{!Array<!proto.gateway.web.v1.SessionInsightTopicCount>} */ (
2437
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.SessionInsightTopicCount, 2));
2438
+ };
2439
+
2440
+
2441
+ /**
2442
+ * @param {!Array<!proto.gateway.web.v1.SessionInsightTopicCount>} value
2443
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewResponse} returns this
2444
+ */
2445
+ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.setSessionInsightTopicCountsList = function(value) {
2446
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
2447
+ };
2448
+
2449
+
2450
+ /**
2451
+ * @param {!proto.gateway.web.v1.SessionInsightTopicCount=} opt_value
2452
+ * @param {number=} opt_index
2453
+ * @return {!proto.gateway.web.v1.SessionInsightTopicCount}
2454
+ */
2455
+ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.addSessionInsightTopicCounts = function(opt_value, opt_index) {
2456
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.SessionInsightTopicCount, opt_index);
2457
+ };
2458
+
2459
+
2460
+ /**
2461
+ * Clears the list making it empty but non-null.
2462
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewResponse} returns this
2463
+ */
2464
+ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.clearSessionInsightTopicCountsList = function() {
2465
+ return this.setSessionInsightTopicCountsList([]);
2466
+ };
2467
+
2468
+
2469
+ /**
2470
+ * repeated ProjectInsightTopicCount project_insight_topic_counts = 3;
2471
+ * @return {!Array<!proto.gateway.web.v1.ProjectInsightTopicCount>}
2472
+ */
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));
2476
+ };
2477
+
2478
+
2479
+ /**
2480
+ * @param {!Array<!proto.gateway.web.v1.ProjectInsightTopicCount>} value
2481
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewResponse} returns this
2482
+ */
2483
+ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.setProjectInsightTopicCountsList = function(value) {
2484
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
2485
+ };
2486
+
2487
+
2488
+ /**
2489
+ * @param {!proto.gateway.web.v1.ProjectInsightTopicCount=} opt_value
2490
+ * @param {number=} opt_index
2491
+ * @return {!proto.gateway.web.v1.ProjectInsightTopicCount}
2492
+ */
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);
2495
+ };
2496
+
2497
+
2498
+ /**
2499
+ * Clears the list making it empty but non-null.
2500
+ * @return {!proto.gateway.web.v1.GetInsightsOverviewResponse} returns this
2501
+ */
2502
+ proto.gateway.web.v1.GetInsightsOverviewResponse.prototype.clearProjectInsightTopicCountsList = function() {
2503
+ return this.setProjectInsightTopicCountsList([]);
2504
+ };
2505
+
2506
+
2507
+
2508
+
2509
+
2510
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2511
+ /**
2512
+ * Creates an object representation of this proto.
2513
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2514
+ * Optional fields that are not set will be set to undefined.
2515
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2516
+ * For the list of reserved names please see:
2517
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2518
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2519
+ * JSPB instance for transitional soy proto support:
2520
+ * http://goto/soy-param-migration
2521
+ * @return {!Object}
2522
+ */
2523
+ proto.gateway.web.v1.SessionInsightTopicCount.prototype.toObject = function(opt_includeInstance) {
2524
+ return proto.gateway.web.v1.SessionInsightTopicCount.toObject(opt_includeInstance, this);
2525
+ };
2526
+
2527
+
2528
+ /**
2529
+ * Static version of the {@see toObject} method.
2530
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2531
+ * the JSPB instance for transitional soy proto support:
2532
+ * http://goto/soy-param-migration
2533
+ * @param {!proto.gateway.web.v1.SessionInsightTopicCount} msg The msg instance to transform.
2534
+ * @return {!Object}
2535
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2536
+ */
2537
+ proto.gateway.web.v1.SessionInsightTopicCount.toObject = function(includeInstance, msg) {
2538
+ var f, obj = {
2539
+ topic: (f = msg.getTopic()) && proto_gateway_web_v1_ai_gateway_pb.AISessionInsightTopic.toObject(includeInstance, f),
2540
+ insights: jspb.Message.getFieldWithDefault(msg, 2, 0)
2541
+ };
2542
+
2543
+ if (includeInstance) {
2544
+ obj.$jspbMessageInstance = msg;
2545
+ }
2546
+ return obj;
2547
+ };
2548
+ }
2549
+
2550
+
2551
+ /**
2552
+ * Deserializes binary data (in protobuf wire format).
2553
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2554
+ * @return {!proto.gateway.web.v1.SessionInsightTopicCount}
2555
+ */
2556
+ proto.gateway.web.v1.SessionInsightTopicCount.deserializeBinary = function(bytes) {
2557
+ var reader = new jspb.BinaryReader(bytes);
2558
+ var msg = new proto.gateway.web.v1.SessionInsightTopicCount;
2559
+ return proto.gateway.web.v1.SessionInsightTopicCount.deserializeBinaryFromReader(msg, reader);
2560
+ };
2561
+
2562
+
2563
+ /**
2564
+ * Deserializes binary data (in protobuf wire format) from the
2565
+ * given reader into the given message object.
2566
+ * @param {!proto.gateway.web.v1.SessionInsightTopicCount} msg The message object to deserialize into.
2567
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2568
+ * @return {!proto.gateway.web.v1.SessionInsightTopicCount}
2569
+ */
2570
+ proto.gateway.web.v1.SessionInsightTopicCount.deserializeBinaryFromReader = function(msg, reader) {
2571
+ while (reader.nextField()) {
2572
+ if (reader.isEndGroup()) {
2573
+ break;
2574
+ }
2575
+ var field = reader.getFieldNumber();
2576
+ switch (field) {
2577
+ case 1:
2578
+ var value = new proto_gateway_web_v1_ai_gateway_pb.AISessionInsightTopic;
2579
+ reader.readMessage(value,proto_gateway_web_v1_ai_gateway_pb.AISessionInsightTopic.deserializeBinaryFromReader);
2580
+ msg.setTopic(value);
2581
+ break;
2582
+ case 2:
2583
+ var value = /** @type {number} */ (reader.readUint64());
2584
+ msg.setInsights(value);
2585
+ break;
2586
+ default:
2587
+ reader.skipField();
2588
+ break;
2589
+ }
2590
+ }
2591
+ return msg;
2592
+ };
2593
+
2594
+
2595
+ /**
2596
+ * Serializes the message to binary data (in protobuf wire format).
2597
+ * @return {!Uint8Array}
2598
+ */
2599
+ proto.gateway.web.v1.SessionInsightTopicCount.prototype.serializeBinary = function() {
2600
+ var writer = new jspb.BinaryWriter();
2601
+ proto.gateway.web.v1.SessionInsightTopicCount.serializeBinaryToWriter(this, writer);
2602
+ return writer.getResultBuffer();
2603
+ };
2604
+
2605
+
2606
+ /**
2607
+ * Serializes the given message to binary data (in protobuf wire
2608
+ * format), writing to the given BinaryWriter.
2609
+ * @param {!proto.gateway.web.v1.SessionInsightTopicCount} message
2610
+ * @param {!jspb.BinaryWriter} writer
2611
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2612
+ */
2613
+ proto.gateway.web.v1.SessionInsightTopicCount.serializeBinaryToWriter = function(message, writer) {
2614
+ var f = undefined;
2615
+ f = message.getTopic();
2616
+ if (f != null) {
2617
+ writer.writeMessage(
2618
+ 1,
2619
+ f,
2620
+ proto_gateway_web_v1_ai_gateway_pb.AISessionInsightTopic.serializeBinaryToWriter
2621
+ );
2622
+ }
2623
+ f = message.getInsights();
2624
+ if (f !== 0) {
2625
+ writer.writeUint64(
2626
+ 2,
2627
+ f
2628
+ );
2629
+ }
2630
+ };
2631
+
2632
+
2633
+ /**
2634
+ * optional AISessionInsightTopic topic = 1;
2635
+ * @return {?proto.gateway.web.v1.AISessionInsightTopic}
2636
+ */
2637
+ proto.gateway.web.v1.SessionInsightTopicCount.prototype.getTopic = function() {
2638
+ return /** @type{?proto.gateway.web.v1.AISessionInsightTopic} */ (
2639
+ jspb.Message.getWrapperField(this, proto_gateway_web_v1_ai_gateway_pb.AISessionInsightTopic, 1));
2640
+ };
2641
+
2642
+
2643
+ /**
2644
+ * @param {?proto.gateway.web.v1.AISessionInsightTopic|undefined} value
2645
+ * @return {!proto.gateway.web.v1.SessionInsightTopicCount} returns this
2646
+ */
2647
+ proto.gateway.web.v1.SessionInsightTopicCount.prototype.setTopic = function(value) {
2648
+ return jspb.Message.setWrapperField(this, 1, value);
2649
+ };
2650
+
2651
+
2652
+ /**
2653
+ * Clears the message field making it undefined.
2654
+ * @return {!proto.gateway.web.v1.SessionInsightTopicCount} returns this
2655
+ */
2656
+ proto.gateway.web.v1.SessionInsightTopicCount.prototype.clearTopic = function() {
2657
+ return this.setTopic(undefined);
2658
+ };
2659
+
2660
+
2661
+ /**
2662
+ * Returns whether this field is set.
2663
+ * @return {boolean}
2664
+ */
2665
+ proto.gateway.web.v1.SessionInsightTopicCount.prototype.hasTopic = function() {
2666
+ return jspb.Message.getField(this, 1) != null;
2667
+ };
2668
+
2669
+
2670
+ /**
2671
+ * optional uint64 insights = 2;
2672
+ * @return {number}
2673
+ */
2674
+ proto.gateway.web.v1.SessionInsightTopicCount.prototype.getInsights = function() {
2675
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2676
+ };
2677
+
2678
+
2679
+ /**
2680
+ * @param {number} value
2681
+ * @return {!proto.gateway.web.v1.SessionInsightTopicCount} returns this
2682
+ */
2683
+ proto.gateway.web.v1.SessionInsightTopicCount.prototype.setInsights = function(value) {
2684
+ return jspb.Message.setProto3IntField(this, 2, value);
2685
+ };
2686
+
2687
+
2688
+
2689
+
2690
+
2691
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2692
+ /**
2693
+ * Creates an object representation of this proto.
2694
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2695
+ * Optional fields that are not set will be set to undefined.
2696
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2697
+ * For the list of reserved names please see:
2698
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2699
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2700
+ * JSPB instance for transitional soy proto support:
2701
+ * http://goto/soy-param-migration
2702
+ * @return {!Object}
2703
+ */
2704
+ proto.gateway.web.v1.ProjectInsightTopicCount.prototype.toObject = function(opt_includeInstance) {
2705
+ return proto.gateway.web.v1.ProjectInsightTopicCount.toObject(opt_includeInstance, this);
2706
+ };
2707
+
2708
+
2709
+ /**
2710
+ * Static version of the {@see toObject} method.
2711
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2712
+ * the JSPB instance for transitional soy proto support:
2713
+ * http://goto/soy-param-migration
2714
+ * @param {!proto.gateway.web.v1.ProjectInsightTopicCount} msg The msg instance to transform.
2715
+ * @return {!Object}
2716
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2717
+ */
2718
+ proto.gateway.web.v1.ProjectInsightTopicCount.toObject = function(includeInstance, msg) {
2719
+ var f, obj = {
2720
+ topic: (f = msg.getTopic()) && proto.gateway.web.v1.AIProjectInsightTopic.toObject(includeInstance, f),
2721
+ cards: jspb.Message.getFieldWithDefault(msg, 2, 0)
2722
+ };
2723
+
2724
+ if (includeInstance) {
2725
+ obj.$jspbMessageInstance = msg;
2726
+ }
2727
+ return obj;
2728
+ };
2729
+ }
2730
+
2731
+
2732
+ /**
2733
+ * Deserializes binary data (in protobuf wire format).
2734
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2735
+ * @return {!proto.gateway.web.v1.ProjectInsightTopicCount}
1739
2736
  */
1740
- proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinary = function(bytes) {
2737
+ proto.gateway.web.v1.ProjectInsightTopicCount.deserializeBinary = function(bytes) {
1741
2738
  var reader = new jspb.BinaryReader(bytes);
1742
- var msg = new proto.gateway.web.v1.ListProjectInsightCardsResponse;
1743
- return proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinaryFromReader(msg, reader);
2739
+ var msg = new proto.gateway.web.v1.ProjectInsightTopicCount;
2740
+ return proto.gateway.web.v1.ProjectInsightTopicCount.deserializeBinaryFromReader(msg, reader);
1744
2741
  };
1745
2742
 
1746
2743
 
1747
2744
  /**
1748
2745
  * Deserializes binary data (in protobuf wire format) from the
1749
2746
  * given reader into the given message object.
1750
- * @param {!proto.gateway.web.v1.ListProjectInsightCardsResponse} msg The message object to deserialize into.
2747
+ * @param {!proto.gateway.web.v1.ProjectInsightTopicCount} msg The message object to deserialize into.
1751
2748
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1752
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse}
2749
+ * @return {!proto.gateway.web.v1.ProjectInsightTopicCount}
1753
2750
  */
1754
- proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinaryFromReader = function(msg, reader) {
2751
+ proto.gateway.web.v1.ProjectInsightTopicCount.deserializeBinaryFromReader = function(msg, reader) {
1755
2752
  while (reader.nextField()) {
1756
2753
  if (reader.isEndGroup()) {
1757
2754
  break;
@@ -1759,18 +2756,13 @@ proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinaryFromReader
1759
2756
  var field = reader.getFieldNumber();
1760
2757
  switch (field) {
1761
2758
  case 1:
1762
- var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
1763
- reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
1764
- msg.setStatus(value);
2759
+ var value = new proto.gateway.web.v1.AIProjectInsightTopic;
2760
+ reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightTopic.deserializeBinaryFromReader);
2761
+ msg.setTopic(value);
1765
2762
  break;
1766
2763
  case 2:
1767
- var value = new proto.gateway.web.v1.AIProjectInsightCard;
1768
- reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightCard.deserializeBinaryFromReader);
1769
- msg.addCards(value);
1770
- break;
1771
- case 3:
1772
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1773
- msg.setNextPageToken(value);
2764
+ var value = /** @type {number} */ (reader.readUint64());
2765
+ msg.setCards(value);
1774
2766
  break;
1775
2767
  default:
1776
2768
  reader.skipField();
@@ -1785,9 +2777,9 @@ proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinaryFromReader
1785
2777
  * Serializes the message to binary data (in protobuf wire format).
1786
2778
  * @return {!Uint8Array}
1787
2779
  */
1788
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.serializeBinary = function() {
2780
+ proto.gateway.web.v1.ProjectInsightTopicCount.prototype.serializeBinary = function() {
1789
2781
  var writer = new jspb.BinaryWriter();
1790
- proto.gateway.web.v1.ListProjectInsightCardsResponse.serializeBinaryToWriter(this, writer);
2782
+ proto.gateway.web.v1.ProjectInsightTopicCount.serializeBinaryToWriter(this, writer);
1791
2783
  return writer.getResultBuffer();
1792
2784
  };
1793
2785
 
@@ -1795,32 +2787,24 @@ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.serializeBinary =
1795
2787
  /**
1796
2788
  * Serializes the given message to binary data (in protobuf wire
1797
2789
  * format), writing to the given BinaryWriter.
1798
- * @param {!proto.gateway.web.v1.ListProjectInsightCardsResponse} message
2790
+ * @param {!proto.gateway.web.v1.ProjectInsightTopicCount} message
1799
2791
  * @param {!jspb.BinaryWriter} writer
1800
2792
  * @suppress {unusedLocalVariables} f is only used for nested messages
1801
2793
  */
1802
- proto.gateway.web.v1.ListProjectInsightCardsResponse.serializeBinaryToWriter = function(message, writer) {
2794
+ proto.gateway.web.v1.ProjectInsightTopicCount.serializeBinaryToWriter = function(message, writer) {
1803
2795
  var f = undefined;
1804
- f = message.getStatus();
2796
+ f = message.getTopic();
1805
2797
  if (f != null) {
1806
2798
  writer.writeMessage(
1807
2799
  1,
1808
2800
  f,
1809
- proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
2801
+ proto.gateway.web.v1.AIProjectInsightTopic.serializeBinaryToWriter
1810
2802
  );
1811
2803
  }
1812
- f = message.getCardsList();
1813
- if (f.length > 0) {
1814
- writer.writeRepeatedMessage(
2804
+ f = message.getCards();
2805
+ if (f !== 0) {
2806
+ writer.writeUint64(
1815
2807
  2,
1816
- f,
1817
- proto.gateway.web.v1.AIProjectInsightCard.serializeBinaryToWriter
1818
- );
1819
- }
1820
- f = message.getNextPageToken();
1821
- if (f.length > 0) {
1822
- writer.writeString(
1823
- 3,
1824
2808
  f
1825
2809
  );
1826
2810
  }
@@ -1828,30 +2812,30 @@ proto.gateway.web.v1.ListProjectInsightCardsResponse.serializeBinaryToWriter = f
1828
2812
 
1829
2813
 
1830
2814
  /**
1831
- * optional gateway.common.v1.ResponseStatus status = 1;
1832
- * @return {?proto.gateway.common.v1.ResponseStatus}
2815
+ * optional AIProjectInsightTopic topic = 1;
2816
+ * @return {?proto.gateway.web.v1.AIProjectInsightTopic}
1833
2817
  */
1834
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.getStatus = function() {
1835
- return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
1836
- jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
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));
1837
2821
  };
1838
2822
 
1839
2823
 
1840
2824
  /**
1841
- * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
1842
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
2825
+ * @param {?proto.gateway.web.v1.AIProjectInsightTopic|undefined} value
2826
+ * @return {!proto.gateway.web.v1.ProjectInsightTopicCount} returns this
1843
2827
  */
1844
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.setStatus = function(value) {
2828
+ proto.gateway.web.v1.ProjectInsightTopicCount.prototype.setTopic = function(value) {
1845
2829
  return jspb.Message.setWrapperField(this, 1, value);
1846
2830
  };
1847
2831
 
1848
2832
 
1849
2833
  /**
1850
2834
  * Clears the message field making it undefined.
1851
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
2835
+ * @return {!proto.gateway.web.v1.ProjectInsightTopicCount} returns this
1852
2836
  */
1853
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.clearStatus = function() {
1854
- return this.setStatus(undefined);
2837
+ proto.gateway.web.v1.ProjectInsightTopicCount.prototype.clearTopic = function() {
2838
+ return this.setTopic(undefined);
1855
2839
  };
1856
2840
 
1857
2841
 
@@ -1859,64 +2843,26 @@ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.clearStatus = fun
1859
2843
  * Returns whether this field is set.
1860
2844
  * @return {boolean}
1861
2845
  */
1862
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.hasStatus = function() {
2846
+ proto.gateway.web.v1.ProjectInsightTopicCount.prototype.hasTopic = function() {
1863
2847
  return jspb.Message.getField(this, 1) != null;
1864
2848
  };
1865
2849
 
1866
2850
 
1867
2851
  /**
1868
- * repeated AIProjectInsightCard cards = 2;
1869
- * @return {!Array<!proto.gateway.web.v1.AIProjectInsightCard>}
1870
- */
1871
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.getCardsList = function() {
1872
- return /** @type{!Array<!proto.gateway.web.v1.AIProjectInsightCard>} */ (
1873
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIProjectInsightCard, 2));
1874
- };
1875
-
1876
-
1877
- /**
1878
- * @param {!Array<!proto.gateway.web.v1.AIProjectInsightCard>} value
1879
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
1880
- */
1881
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.setCardsList = function(value) {
1882
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
1883
- };
1884
-
1885
-
1886
- /**
1887
- * @param {!proto.gateway.web.v1.AIProjectInsightCard=} opt_value
1888
- * @param {number=} opt_index
1889
- * @return {!proto.gateway.web.v1.AIProjectInsightCard}
1890
- */
1891
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.addCards = function(opt_value, opt_index) {
1892
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIProjectInsightCard, opt_index);
1893
- };
1894
-
1895
-
1896
- /**
1897
- * Clears the list making it empty but non-null.
1898
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
1899
- */
1900
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.clearCardsList = function() {
1901
- return this.setCardsList([]);
1902
- };
1903
-
1904
-
1905
- /**
1906
- * optional string next_page_token = 3;
1907
- * @return {string}
2852
+ * optional uint64 cards = 2;
2853
+ * @return {number}
1908
2854
  */
1909
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.getNextPageToken = function() {
1910
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2855
+ proto.gateway.web.v1.ProjectInsightTopicCount.prototype.getCards = function() {
2856
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1911
2857
  };
1912
2858
 
1913
2859
 
1914
2860
  /**
1915
- * @param {string} value
1916
- * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
2861
+ * @param {number} value
2862
+ * @return {!proto.gateway.web.v1.ProjectInsightTopicCount} returns this
1917
2863
  */
1918
- proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.setNextPageToken = function(value) {
1919
- return jspb.Message.setProto3StringField(this, 3, value);
2864
+ proto.gateway.web.v1.ProjectInsightTopicCount.prototype.setCards = function(value) {
2865
+ return jspb.Message.setProto3IntField(this, 2, value);
1920
2866
  };
1921
2867
 
1922
2868
 
@@ -2283,7 +3229,7 @@ proto.gateway.web.v1.AIProjectInsight.toObject = function(includeInstance, msg)
2283
3229
  var f, obj = {
2284
3230
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
2285
3231
  rank: jspb.Message.getFieldWithDefault(msg, 2, 0),
2286
- kind: jspb.Message.getFieldWithDefault(msg, 3, 0),
3232
+ topic: (f = msg.getTopic()) && proto.gateway.web.v1.AIProjectInsightTopic.toObject(includeInstance, f),
2287
3233
  title: jspb.Message.getFieldWithDefault(msg, 4, ""),
2288
3234
  pattern: jspb.Message.getFieldWithDefault(msg, 5, ""),
2289
3235
  explanation: jspb.Message.getFieldWithDefault(msg, 6, ""),
@@ -2340,8 +3286,9 @@ proto.gateway.web.v1.AIProjectInsight.deserializeBinaryFromReader = function(msg
2340
3286
  msg.setRank(value);
2341
3287
  break;
2342
3288
  case 3:
2343
- var value = /** @type {!proto.gateway.web.v1.AIProjectInsightKind} */ (reader.readEnum());
2344
- msg.setKind(value);
3289
+ var value = new proto.gateway.web.v1.AIProjectInsightTopic;
3290
+ reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightTopic.deserializeBinaryFromReader);
3291
+ msg.setTopic(value);
2345
3292
  break;
2346
3293
  case 4:
2347
3294
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
@@ -2428,11 +3375,12 @@ proto.gateway.web.v1.AIProjectInsight.serializeBinaryToWriter = function(message
2428
3375
  f
2429
3376
  );
2430
3377
  }
2431
- f = message.getKind();
2432
- if (f !== 0.0) {
2433
- writer.writeEnum(
3378
+ f = message.getTopic();
3379
+ if (f != null) {
3380
+ writer.writeMessage(
2434
3381
  3,
2435
- f
3382
+ f,
3383
+ proto.gateway.web.v1.AIProjectInsightTopic.serializeBinaryToWriter
2436
3384
  );
2437
3385
  }
2438
3386
  f = message.getTitle();
@@ -2547,20 +3495,39 @@ proto.gateway.web.v1.AIProjectInsight.prototype.setRank = function(value) {
2547
3495
 
2548
3496
 
2549
3497
  /**
2550
- * optional AIProjectInsightKind kind = 3;
2551
- * @return {!proto.gateway.web.v1.AIProjectInsightKind}
3498
+ * optional AIProjectInsightTopic topic = 3;
3499
+ * @return {?proto.gateway.web.v1.AIProjectInsightTopic}
2552
3500
  */
2553
- proto.gateway.web.v1.AIProjectInsight.prototype.getKind = function() {
2554
- return /** @type {!proto.gateway.web.v1.AIProjectInsightKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
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));
2555
3504
  };
2556
3505
 
2557
3506
 
2558
3507
  /**
2559
- * @param {!proto.gateway.web.v1.AIProjectInsightKind} value
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);
3513
+ };
3514
+
3515
+
3516
+ /**
3517
+ * Clears the message field making it undefined.
2560
3518
  * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
2561
3519
  */
2562
- proto.gateway.web.v1.AIProjectInsight.prototype.setKind = function(value) {
2563
- return jspb.Message.setProto3EnumField(this, 3, value);
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;
2564
3531
  };
2565
3532
 
2566
3533
 
@@ -2804,6 +3771,166 @@ proto.gateway.web.v1.AIProjectInsight.prototype.hasSkillSuggestion = function()
2804
3771
 
2805
3772
 
2806
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
+
2807
3934
  if (jspb.Message.GENERATE_TO_OBJECT) {
2808
3935
  /**
2809
3936
  * Creates an object representation of this proto.
@@ -4759,21 +5886,6 @@ proto.gateway.web.v1.SessionInsightSort = {
4759
5886
  SESSION_INSIGHT_SORT_RECENT: 1
4760
5887
  };
4761
5888
 
4762
- /**
4763
- * @enum {number}
4764
- */
4765
- proto.gateway.web.v1.AIProjectInsightKind = {
4766
- AI_PROJECT_INSIGHT_KIND_UNSPECIFIED: 0,
4767
- AI_PROJECT_INSIGHT_KIND_REUSABLE_WORKFLOW: 1,
4768
- AI_PROJECT_INSIGHT_KIND_REPOSITORY_STRUCTURE: 2,
4769
- AI_PROJECT_INSIGHT_KIND_SECURITY_REVIEW: 3,
4770
- AI_PROJECT_INSIGHT_KIND_TOOLING_MCP: 4,
4771
- AI_PROJECT_INSIGHT_KIND_COORDINATION: 5,
4772
- AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS: 6,
4773
- AI_PROJECT_INSIGHT_KIND_SKILL_SHARING: 7,
4774
- AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE: 8
4775
- };
4776
-
4777
5889
  /**
4778
5890
  * @enum {number}
4779
5891
  */