@miradorlabs/web-grpc 4.5.2 → 4.11.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.
Files changed (33) hide show
  1. package/google/api/field_behavior.ts +1 -1
  2. package/google/protobuf/descriptor.ts +1 -1
  3. package/google/protobuf/duration.ts +1 -1
  4. package/google/protobuf/timestamp.ts +1 -1
  5. package/package.json +1 -1
  6. package/proto/gateway/common/v1/attribute_value.ts +1 -1
  7. package/proto/gateway/common/v1/status.ts +1 -1
  8. package/proto/gateway/common/v1/types.ts +1 -1
  9. package/proto/gateway/web/v1/account_gateway.ts +1 -1
  10. package/proto/gateway/web/v1/admin_gateway.ts +1 -1
  11. package/proto/gateway/web/v1/ai_gateway.ts +268 -372
  12. package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +2 -2
  13. package/proto/gateway/web/v1/ai_gateway_pb.js +499 -757
  14. package/proto/gateway/web/v1/attribute_value.ts +1 -1
  15. package/proto/gateway/web/v1/beta_gateway.ts +1 -1
  16. package/proto/gateway/web/v1/chain_gateway.ts +1 -1
  17. package/proto/gateway/web/v1/claude_enterprise_gateway.ts +1 -1
  18. package/proto/gateway/web/v1/common.ts +1 -1
  19. package/proto/gateway/web/v1/derived_metric_gateway.ts +1 -1
  20. package/proto/gateway/web/v1/github_connector.ts +1 -1
  21. package/proto/gateway/web/v1/integration_gateway.ts +1 -1
  22. package/proto/gateway/web/v1/log_gateway.ts +1 -1
  23. package/proto/gateway/web/v1/market_gateway.ts +1 -1
  24. package/proto/gateway/web/v1/metric_gateway.ts +1 -1
  25. package/proto/gateway/web/v1/notification_gateway.ts +1 -1
  26. package/proto/gateway/web/v1/oauth_gateway.ts +1 -1
  27. package/proto/gateway/web/v1/plan_gateway.ts +1 -1
  28. package/proto/gateway/web/v1/policy_gateway.ts +1 -1
  29. package/proto/gateway/web/v1/reference_gateway.ts +1 -1
  30. package/proto/gateway/web/v1/rule_gateway.ts +1 -1
  31. package/proto/gateway/web/v1/slo_gateway.ts +1 -1
  32. package/proto/gateway/web/v1/trace_gateway.ts +1 -1
  33. package/proto/gateway/web/v1/trace_measure_gateway.ts +1 -1
@@ -84,6 +84,8 @@ goog.exportSymbol('proto.gateway.web.v1.AISessionSteeringLoad', null, global);
84
84
  goog.exportSymbol('proto.gateway.web.v1.AISessionSummary', null, global);
85
85
  goog.exportSymbol('proto.gateway.web.v1.AISessionVerification', null, global);
86
86
  goog.exportSymbol('proto.gateway.web.v1.AISessionWorkType', null, global);
87
+ goog.exportSymbol('proto.gateway.web.v1.AISkillMetadata', null, global);
88
+ goog.exportSymbol('proto.gateway.web.v1.AISkillSuggestion', null, global);
87
89
  goog.exportSymbol('proto.gateway.web.v1.AISpendForecastDimension', null, global);
88
90
  goog.exportSymbol('proto.gateway.web.v1.AITokenActivityDimension', null, global);
89
91
  goog.exportSymbol('proto.gateway.web.v1.AITokenUsage', null, global);
@@ -170,10 +172,8 @@ goog.exportSymbol('proto.gateway.web.v1.ModelActivityPrincipal', null, global);
170
172
  goog.exportSymbol('proto.gateway.web.v1.ModelActivityRequest', null, global);
171
173
  goog.exportSymbol('proto.gateway.web.v1.ModelActivityResponse', null, global);
172
174
  goog.exportSymbol('proto.gateway.web.v1.ModelReasoning', null, global);
173
- goog.exportSymbol('proto.gateway.web.v1.ModelReasoningBaseline', null, global);
174
175
  goog.exportSymbol('proto.gateway.web.v1.ModelReasoningTrend', null, global);
175
176
  goog.exportSymbol('proto.gateway.web.v1.ModelReasoningTrendPoint', null, global);
176
- goog.exportSymbol('proto.gateway.web.v1.ModelReasoningWeek', null, global);
177
177
  goog.exportSymbol('proto.gateway.web.v1.ProjectOverview', null, global);
178
178
  goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewRequest', null, global);
179
179
  goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewSlice', null, global);
@@ -2142,7 +2142,7 @@ if (goog.DEBUG && !COMPILED) {
2142
2142
  * @constructor
2143
2143
  */
2144
2144
  proto.gateway.web.v1.ModelReasoning = function(opt_data) {
2145
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ModelReasoning.repeatedFields_, null);
2145
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2146
2146
  };
2147
2147
  goog.inherits(proto.gateway.web.v1.ModelReasoning, jspb.Message);
2148
2148
  if (goog.DEBUG && !COMPILED) {
@@ -2152,48 +2152,6 @@ if (goog.DEBUG && !COMPILED) {
2152
2152
  */
2153
2153
  proto.gateway.web.v1.ModelReasoning.displayName = 'proto.gateway.web.v1.ModelReasoning';
2154
2154
  }
2155
- /**
2156
- * Generated by JsPbCodeGenerator.
2157
- * @param {Array=} opt_data Optional initial data array, typically from a
2158
- * server response, or constructed directly in Javascript. The array is used
2159
- * in place and becomes part of the constructed object. It is not cloned.
2160
- * If no data is provided, the constructed object will be empty, but still
2161
- * valid.
2162
- * @extends {jspb.Message}
2163
- * @constructor
2164
- */
2165
- proto.gateway.web.v1.ModelReasoningWeek = function(opt_data) {
2166
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2167
- };
2168
- goog.inherits(proto.gateway.web.v1.ModelReasoningWeek, jspb.Message);
2169
- if (goog.DEBUG && !COMPILED) {
2170
- /**
2171
- * @public
2172
- * @override
2173
- */
2174
- proto.gateway.web.v1.ModelReasoningWeek.displayName = 'proto.gateway.web.v1.ModelReasoningWeek';
2175
- }
2176
- /**
2177
- * Generated by JsPbCodeGenerator.
2178
- * @param {Array=} opt_data Optional initial data array, typically from a
2179
- * server response, or constructed directly in Javascript. The array is used
2180
- * in place and becomes part of the constructed object. It is not cloned.
2181
- * If no data is provided, the constructed object will be empty, but still
2182
- * valid.
2183
- * @extends {jspb.Message}
2184
- * @constructor
2185
- */
2186
- proto.gateway.web.v1.ModelReasoningBaseline = function(opt_data) {
2187
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2188
- };
2189
- goog.inherits(proto.gateway.web.v1.ModelReasoningBaseline, jspb.Message);
2190
- if (goog.DEBUG && !COMPILED) {
2191
- /**
2192
- * @public
2193
- * @override
2194
- */
2195
- proto.gateway.web.v1.ModelReasoningBaseline.displayName = 'proto.gateway.web.v1.ModelReasoningBaseline';
2196
- }
2197
2155
  /**
2198
2156
  * Generated by JsPbCodeGenerator.
2199
2157
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2698,6 +2656,48 @@ if (goog.DEBUG && !COMPILED) {
2698
2656
  */
2699
2657
  proto.gateway.web.v1.AISessionInsight.displayName = 'proto.gateway.web.v1.AISessionInsight';
2700
2658
  }
2659
+ /**
2660
+ * Generated by JsPbCodeGenerator.
2661
+ * @param {Array=} opt_data Optional initial data array, typically from a
2662
+ * server response, or constructed directly in Javascript. The array is used
2663
+ * in place and becomes part of the constructed object. It is not cloned.
2664
+ * If no data is provided, the constructed object will be empty, but still
2665
+ * valid.
2666
+ * @extends {jspb.Message}
2667
+ * @constructor
2668
+ */
2669
+ proto.gateway.web.v1.AISkillSuggestion = function(opt_data) {
2670
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2671
+ };
2672
+ goog.inherits(proto.gateway.web.v1.AISkillSuggestion, jspb.Message);
2673
+ if (goog.DEBUG && !COMPILED) {
2674
+ /**
2675
+ * @public
2676
+ * @override
2677
+ */
2678
+ proto.gateway.web.v1.AISkillSuggestion.displayName = 'proto.gateway.web.v1.AISkillSuggestion';
2679
+ }
2680
+ /**
2681
+ * Generated by JsPbCodeGenerator.
2682
+ * @param {Array=} opt_data Optional initial data array, typically from a
2683
+ * server response, or constructed directly in Javascript. The array is used
2684
+ * in place and becomes part of the constructed object. It is not cloned.
2685
+ * If no data is provided, the constructed object will be empty, but still
2686
+ * valid.
2687
+ * @extends {jspb.Message}
2688
+ * @constructor
2689
+ */
2690
+ proto.gateway.web.v1.AISkillMetadata = function(opt_data) {
2691
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2692
+ };
2693
+ goog.inherits(proto.gateway.web.v1.AISkillMetadata, jspb.Message);
2694
+ if (goog.DEBUG && !COMPILED) {
2695
+ /**
2696
+ * @public
2697
+ * @override
2698
+ */
2699
+ proto.gateway.web.v1.AISkillMetadata.displayName = 'proto.gateway.web.v1.AISkillMetadata';
2700
+ }
2701
2701
  /**
2702
2702
  * Generated by JsPbCodeGenerator.
2703
2703
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -32555,13 +32555,6 @@ proto.gateway.web.v1.ListModelReasoningResponse.prototype.hasWindowEnd = functio
32555
32555
 
32556
32556
 
32557
32557
 
32558
- /**
32559
- * List of repeated fields within this message type.
32560
- * @private {!Array<number>}
32561
- * @const
32562
- */
32563
- proto.gateway.web.v1.ModelReasoning.repeatedFields_ = [10];
32564
-
32565
32558
 
32566
32559
 
32567
32560
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -32601,9 +32594,7 @@ zeroThinkingCalls: jspb.Message.getFieldWithDefault(msg, 5, 0),
32601
32594
  medianPerCall: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
32602
32595
  p90PerCall: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
32603
32596
  countedTurns: jspb.Message.getFieldWithDefault(msg, 8, 0),
32604
- medianPerTurn: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f,
32605
- weeksList: jspb.Message.toObjectList(msg.getWeeksList(),
32606
- proto.gateway.web.v1.ModelReasoningWeek.toObject, includeInstance)
32597
+ medianPerTurn: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f
32607
32598
  };
32608
32599
 
32609
32600
  if (includeInstance) {
@@ -32676,11 +32667,6 @@ proto.gateway.web.v1.ModelReasoning.deserializeBinaryFromReader = function(msg,
32676
32667
  var value = /** @type {number} */ (reader.readUint64());
32677
32668
  msg.setMedianPerTurn(value);
32678
32669
  break;
32679
- case 10:
32680
- var value = new proto.gateway.web.v1.ModelReasoningWeek;
32681
- reader.readMessage(value,proto.gateway.web.v1.ModelReasoningWeek.deserializeBinaryFromReader);
32682
- msg.addWeeks(value);
32683
- break;
32684
32670
  default:
32685
32671
  reader.skipField();
32686
32672
  break;
@@ -32773,14 +32759,6 @@ proto.gateway.web.v1.ModelReasoning.serializeBinaryToWriter = function(message,
32773
32759
  f
32774
32760
  );
32775
32761
  }
32776
- f = message.getWeeksList();
32777
- if (f.length > 0) {
32778
- writer.writeRepeatedMessage(
32779
- 10,
32780
- f,
32781
- proto.gateway.web.v1.ModelReasoningWeek.serializeBinaryToWriter
32782
- );
32783
- }
32784
32762
  };
32785
32763
 
32786
32764
 
@@ -33000,694 +32978,6 @@ proto.gateway.web.v1.ModelReasoning.prototype.hasMedianPerTurn = function() {
33000
32978
  };
33001
32979
 
33002
32980
 
33003
- /**
33004
- * repeated ModelReasoningWeek weeks = 10;
33005
- * @return {!Array<!proto.gateway.web.v1.ModelReasoningWeek>}
33006
- */
33007
- proto.gateway.web.v1.ModelReasoning.prototype.getWeeksList = function() {
33008
- return /** @type{!Array<!proto.gateway.web.v1.ModelReasoningWeek>} */ (
33009
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.ModelReasoningWeek, 10));
33010
- };
33011
-
33012
-
33013
- /**
33014
- * @param {!Array<!proto.gateway.web.v1.ModelReasoningWeek>} value
33015
- * @return {!proto.gateway.web.v1.ModelReasoning} returns this
33016
- */
33017
- proto.gateway.web.v1.ModelReasoning.prototype.setWeeksList = function(value) {
33018
- return jspb.Message.setRepeatedWrapperField(this, 10, value);
33019
- };
33020
-
33021
-
33022
- /**
33023
- * @param {!proto.gateway.web.v1.ModelReasoningWeek=} opt_value
33024
- * @param {number=} opt_index
33025
- * @return {!proto.gateway.web.v1.ModelReasoningWeek}
33026
- */
33027
- proto.gateway.web.v1.ModelReasoning.prototype.addWeeks = function(opt_value, opt_index) {
33028
- return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.gateway.web.v1.ModelReasoningWeek, opt_index);
33029
- };
33030
-
33031
-
33032
- /**
33033
- * Clears the list making it empty but non-null.
33034
- * @return {!proto.gateway.web.v1.ModelReasoning} returns this
33035
- */
33036
- proto.gateway.web.v1.ModelReasoning.prototype.clearWeeksList = function() {
33037
- return this.setWeeksList([]);
33038
- };
33039
-
33040
-
33041
-
33042
-
33043
-
33044
- if (jspb.Message.GENERATE_TO_OBJECT) {
33045
- /**
33046
- * Creates an object representation of this proto.
33047
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
33048
- * Optional fields that are not set will be set to undefined.
33049
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
33050
- * For the list of reserved names please see:
33051
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
33052
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
33053
- * JSPB instance for transitional soy proto support:
33054
- * http://goto/soy-param-migration
33055
- * @return {!Object}
33056
- */
33057
- proto.gateway.web.v1.ModelReasoningWeek.prototype.toObject = function(opt_includeInstance) {
33058
- return proto.gateway.web.v1.ModelReasoningWeek.toObject(opt_includeInstance, this);
33059
- };
33060
-
33061
-
33062
- /**
33063
- * Static version of the {@see toObject} method.
33064
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
33065
- * the JSPB instance for transitional soy proto support:
33066
- * http://goto/soy-param-migration
33067
- * @param {!proto.gateway.web.v1.ModelReasoningWeek} msg The msg instance to transform.
33068
- * @return {!Object}
33069
- * @suppress {unusedLocalVariables} f is only used for nested messages
33070
- */
33071
- proto.gateway.web.v1.ModelReasoningWeek.toObject = function(includeInstance, msg) {
33072
- var f, obj = {
33073
- weekStart: (f = msg.getWeekStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
33074
- countedCalls: jspb.Message.getFieldWithDefault(msg, 2, 0),
33075
- medianPerCall: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
33076
- medianCiLow: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
33077
- medianCiHigh: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
33078
- baseline: (f = msg.getBaseline()) && proto.gateway.web.v1.ModelReasoningBaseline.toObject(includeInstance, f)
33079
- };
33080
-
33081
- if (includeInstance) {
33082
- obj.$jspbMessageInstance = msg;
33083
- }
33084
- return obj;
33085
- };
33086
- }
33087
-
33088
-
33089
- /**
33090
- * Deserializes binary data (in protobuf wire format).
33091
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
33092
- * @return {!proto.gateway.web.v1.ModelReasoningWeek}
33093
- */
33094
- proto.gateway.web.v1.ModelReasoningWeek.deserializeBinary = function(bytes) {
33095
- var reader = new jspb.BinaryReader(bytes);
33096
- var msg = new proto.gateway.web.v1.ModelReasoningWeek;
33097
- return proto.gateway.web.v1.ModelReasoningWeek.deserializeBinaryFromReader(msg, reader);
33098
- };
33099
-
33100
-
33101
- /**
33102
- * Deserializes binary data (in protobuf wire format) from the
33103
- * given reader into the given message object.
33104
- * @param {!proto.gateway.web.v1.ModelReasoningWeek} msg The message object to deserialize into.
33105
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
33106
- * @return {!proto.gateway.web.v1.ModelReasoningWeek}
33107
- */
33108
- proto.gateway.web.v1.ModelReasoningWeek.deserializeBinaryFromReader = function(msg, reader) {
33109
- while (reader.nextField()) {
33110
- if (reader.isEndGroup()) {
33111
- break;
33112
- }
33113
- var field = reader.getFieldNumber();
33114
- switch (field) {
33115
- case 1:
33116
- var value = new google_protobuf_timestamp_pb.Timestamp;
33117
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
33118
- msg.setWeekStart(value);
33119
- break;
33120
- case 2:
33121
- var value = /** @type {number} */ (reader.readUint64());
33122
- msg.setCountedCalls(value);
33123
- break;
33124
- case 3:
33125
- var value = /** @type {number} */ (reader.readUint64());
33126
- msg.setMedianPerCall(value);
33127
- break;
33128
- case 4:
33129
- var value = /** @type {number} */ (reader.readUint64());
33130
- msg.setMedianCiLow(value);
33131
- break;
33132
- case 5:
33133
- var value = /** @type {number} */ (reader.readUint64());
33134
- msg.setMedianCiHigh(value);
33135
- break;
33136
- case 6:
33137
- var value = new proto.gateway.web.v1.ModelReasoningBaseline;
33138
- reader.readMessage(value,proto.gateway.web.v1.ModelReasoningBaseline.deserializeBinaryFromReader);
33139
- msg.setBaseline(value);
33140
- break;
33141
- default:
33142
- reader.skipField();
33143
- break;
33144
- }
33145
- }
33146
- return msg;
33147
- };
33148
-
33149
-
33150
- /**
33151
- * Serializes the message to binary data (in protobuf wire format).
33152
- * @return {!Uint8Array}
33153
- */
33154
- proto.gateway.web.v1.ModelReasoningWeek.prototype.serializeBinary = function() {
33155
- var writer = new jspb.BinaryWriter();
33156
- proto.gateway.web.v1.ModelReasoningWeek.serializeBinaryToWriter(this, writer);
33157
- return writer.getResultBuffer();
33158
- };
33159
-
33160
-
33161
- /**
33162
- * Serializes the given message to binary data (in protobuf wire
33163
- * format), writing to the given BinaryWriter.
33164
- * @param {!proto.gateway.web.v1.ModelReasoningWeek} message
33165
- * @param {!jspb.BinaryWriter} writer
33166
- * @suppress {unusedLocalVariables} f is only used for nested messages
33167
- */
33168
- proto.gateway.web.v1.ModelReasoningWeek.serializeBinaryToWriter = function(message, writer) {
33169
- var f = undefined;
33170
- f = message.getWeekStart();
33171
- if (f != null) {
33172
- writer.writeMessage(
33173
- 1,
33174
- f,
33175
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
33176
- );
33177
- }
33178
- f = message.getCountedCalls();
33179
- if (f !== 0) {
33180
- writer.writeUint64(
33181
- 2,
33182
- f
33183
- );
33184
- }
33185
- f = /** @type {number} */ (jspb.Message.getField(message, 3));
33186
- if (f != null) {
33187
- writer.writeUint64(
33188
- 3,
33189
- f
33190
- );
33191
- }
33192
- f = /** @type {number} */ (jspb.Message.getField(message, 4));
33193
- if (f != null) {
33194
- writer.writeUint64(
33195
- 4,
33196
- f
33197
- );
33198
- }
33199
- f = /** @type {number} */ (jspb.Message.getField(message, 5));
33200
- if (f != null) {
33201
- writer.writeUint64(
33202
- 5,
33203
- f
33204
- );
33205
- }
33206
- f = message.getBaseline();
33207
- if (f != null) {
33208
- writer.writeMessage(
33209
- 6,
33210
- f,
33211
- proto.gateway.web.v1.ModelReasoningBaseline.serializeBinaryToWriter
33212
- );
33213
- }
33214
- };
33215
-
33216
-
33217
- /**
33218
- * optional google.protobuf.Timestamp week_start = 1;
33219
- * @return {?proto.google.protobuf.Timestamp}
33220
- */
33221
- proto.gateway.web.v1.ModelReasoningWeek.prototype.getWeekStart = function() {
33222
- return /** @type{?proto.google.protobuf.Timestamp} */ (
33223
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
33224
- };
33225
-
33226
-
33227
- /**
33228
- * @param {?proto.google.protobuf.Timestamp|undefined} value
33229
- * @return {!proto.gateway.web.v1.ModelReasoningWeek} returns this
33230
- */
33231
- proto.gateway.web.v1.ModelReasoningWeek.prototype.setWeekStart = function(value) {
33232
- return jspb.Message.setWrapperField(this, 1, value);
33233
- };
33234
-
33235
-
33236
- /**
33237
- * Clears the message field making it undefined.
33238
- * @return {!proto.gateway.web.v1.ModelReasoningWeek} returns this
33239
- */
33240
- proto.gateway.web.v1.ModelReasoningWeek.prototype.clearWeekStart = function() {
33241
- return this.setWeekStart(undefined);
33242
- };
33243
-
33244
-
33245
- /**
33246
- * Returns whether this field is set.
33247
- * @return {boolean}
33248
- */
33249
- proto.gateway.web.v1.ModelReasoningWeek.prototype.hasWeekStart = function() {
33250
- return jspb.Message.getField(this, 1) != null;
33251
- };
33252
-
33253
-
33254
- /**
33255
- * optional uint64 counted_calls = 2;
33256
- * @return {number}
33257
- */
33258
- proto.gateway.web.v1.ModelReasoningWeek.prototype.getCountedCalls = function() {
33259
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
33260
- };
33261
-
33262
-
33263
- /**
33264
- * @param {number} value
33265
- * @return {!proto.gateway.web.v1.ModelReasoningWeek} returns this
33266
- */
33267
- proto.gateway.web.v1.ModelReasoningWeek.prototype.setCountedCalls = function(value) {
33268
- return jspb.Message.setProto3IntField(this, 2, value);
33269
- };
33270
-
33271
-
33272
- /**
33273
- * optional uint64 median_per_call = 3;
33274
- * @return {number}
33275
- */
33276
- proto.gateway.web.v1.ModelReasoningWeek.prototype.getMedianPerCall = function() {
33277
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
33278
- };
33279
-
33280
-
33281
- /**
33282
- * @param {number} value
33283
- * @return {!proto.gateway.web.v1.ModelReasoningWeek} returns this
33284
- */
33285
- proto.gateway.web.v1.ModelReasoningWeek.prototype.setMedianPerCall = function(value) {
33286
- return jspb.Message.setField(this, 3, value);
33287
- };
33288
-
33289
-
33290
- /**
33291
- * Clears the field making it undefined.
33292
- * @return {!proto.gateway.web.v1.ModelReasoningWeek} returns this
33293
- */
33294
- proto.gateway.web.v1.ModelReasoningWeek.prototype.clearMedianPerCall = function() {
33295
- return jspb.Message.setField(this, 3, undefined);
33296
- };
33297
-
33298
-
33299
- /**
33300
- * Returns whether this field is set.
33301
- * @return {boolean}
33302
- */
33303
- proto.gateway.web.v1.ModelReasoningWeek.prototype.hasMedianPerCall = function() {
33304
- return jspb.Message.getField(this, 3) != null;
33305
- };
33306
-
33307
-
33308
- /**
33309
- * optional uint64 median_ci_low = 4;
33310
- * @return {number}
33311
- */
33312
- proto.gateway.web.v1.ModelReasoningWeek.prototype.getMedianCiLow = function() {
33313
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
33314
- };
33315
-
33316
-
33317
- /**
33318
- * @param {number} value
33319
- * @return {!proto.gateway.web.v1.ModelReasoningWeek} returns this
33320
- */
33321
- proto.gateway.web.v1.ModelReasoningWeek.prototype.setMedianCiLow = function(value) {
33322
- return jspb.Message.setField(this, 4, value);
33323
- };
33324
-
33325
-
33326
- /**
33327
- * Clears the field making it undefined.
33328
- * @return {!proto.gateway.web.v1.ModelReasoningWeek} returns this
33329
- */
33330
- proto.gateway.web.v1.ModelReasoningWeek.prototype.clearMedianCiLow = function() {
33331
- return jspb.Message.setField(this, 4, undefined);
33332
- };
33333
-
33334
-
33335
- /**
33336
- * Returns whether this field is set.
33337
- * @return {boolean}
33338
- */
33339
- proto.gateway.web.v1.ModelReasoningWeek.prototype.hasMedianCiLow = function() {
33340
- return jspb.Message.getField(this, 4) != null;
33341
- };
33342
-
33343
-
33344
- /**
33345
- * optional uint64 median_ci_high = 5;
33346
- * @return {number}
33347
- */
33348
- proto.gateway.web.v1.ModelReasoningWeek.prototype.getMedianCiHigh = function() {
33349
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
33350
- };
33351
-
33352
-
33353
- /**
33354
- * @param {number} value
33355
- * @return {!proto.gateway.web.v1.ModelReasoningWeek} returns this
33356
- */
33357
- proto.gateway.web.v1.ModelReasoningWeek.prototype.setMedianCiHigh = function(value) {
33358
- return jspb.Message.setField(this, 5, value);
33359
- };
33360
-
33361
-
33362
- /**
33363
- * Clears the field making it undefined.
33364
- * @return {!proto.gateway.web.v1.ModelReasoningWeek} returns this
33365
- */
33366
- proto.gateway.web.v1.ModelReasoningWeek.prototype.clearMedianCiHigh = function() {
33367
- return jspb.Message.setField(this, 5, undefined);
33368
- };
33369
-
33370
-
33371
- /**
33372
- * Returns whether this field is set.
33373
- * @return {boolean}
33374
- */
33375
- proto.gateway.web.v1.ModelReasoningWeek.prototype.hasMedianCiHigh = function() {
33376
- return jspb.Message.getField(this, 5) != null;
33377
- };
33378
-
33379
-
33380
- /**
33381
- * optional ModelReasoningBaseline baseline = 6;
33382
- * @return {?proto.gateway.web.v1.ModelReasoningBaseline}
33383
- */
33384
- proto.gateway.web.v1.ModelReasoningWeek.prototype.getBaseline = function() {
33385
- return /** @type{?proto.gateway.web.v1.ModelReasoningBaseline} */ (
33386
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.ModelReasoningBaseline, 6));
33387
- };
33388
-
33389
-
33390
- /**
33391
- * @param {?proto.gateway.web.v1.ModelReasoningBaseline|undefined} value
33392
- * @return {!proto.gateway.web.v1.ModelReasoningWeek} returns this
33393
- */
33394
- proto.gateway.web.v1.ModelReasoningWeek.prototype.setBaseline = function(value) {
33395
- return jspb.Message.setWrapperField(this, 6, value);
33396
- };
33397
-
33398
-
33399
- /**
33400
- * Clears the message field making it undefined.
33401
- * @return {!proto.gateway.web.v1.ModelReasoningWeek} returns this
33402
- */
33403
- proto.gateway.web.v1.ModelReasoningWeek.prototype.clearBaseline = function() {
33404
- return this.setBaseline(undefined);
33405
- };
33406
-
33407
-
33408
- /**
33409
- * Returns whether this field is set.
33410
- * @return {boolean}
33411
- */
33412
- proto.gateway.web.v1.ModelReasoningWeek.prototype.hasBaseline = function() {
33413
- return jspb.Message.getField(this, 6) != null;
33414
- };
33415
-
33416
-
33417
-
33418
-
33419
-
33420
- if (jspb.Message.GENERATE_TO_OBJECT) {
33421
- /**
33422
- * Creates an object representation of this proto.
33423
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
33424
- * Optional fields that are not set will be set to undefined.
33425
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
33426
- * For the list of reserved names please see:
33427
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
33428
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
33429
- * JSPB instance for transitional soy proto support:
33430
- * http://goto/soy-param-migration
33431
- * @return {!Object}
33432
- */
33433
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.toObject = function(opt_includeInstance) {
33434
- return proto.gateway.web.v1.ModelReasoningBaseline.toObject(opt_includeInstance, this);
33435
- };
33436
-
33437
-
33438
- /**
33439
- * Static version of the {@see toObject} method.
33440
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
33441
- * the JSPB instance for transitional soy proto support:
33442
- * http://goto/soy-param-migration
33443
- * @param {!proto.gateway.web.v1.ModelReasoningBaseline} msg The msg instance to transform.
33444
- * @return {!Object}
33445
- * @suppress {unusedLocalVariables} f is only used for nested messages
33446
- */
33447
- proto.gateway.web.v1.ModelReasoningBaseline.toObject = function(includeInstance, msg) {
33448
- var f, obj = {
33449
- countedCalls: jspb.Message.getFieldWithDefault(msg, 1, 0),
33450
- median: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
33451
- ciLow: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
33452
- ciHigh: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
33453
- };
33454
-
33455
- if (includeInstance) {
33456
- obj.$jspbMessageInstance = msg;
33457
- }
33458
- return obj;
33459
- };
33460
- }
33461
-
33462
-
33463
- /**
33464
- * Deserializes binary data (in protobuf wire format).
33465
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
33466
- * @return {!proto.gateway.web.v1.ModelReasoningBaseline}
33467
- */
33468
- proto.gateway.web.v1.ModelReasoningBaseline.deserializeBinary = function(bytes) {
33469
- var reader = new jspb.BinaryReader(bytes);
33470
- var msg = new proto.gateway.web.v1.ModelReasoningBaseline;
33471
- return proto.gateway.web.v1.ModelReasoningBaseline.deserializeBinaryFromReader(msg, reader);
33472
- };
33473
-
33474
-
33475
- /**
33476
- * Deserializes binary data (in protobuf wire format) from the
33477
- * given reader into the given message object.
33478
- * @param {!proto.gateway.web.v1.ModelReasoningBaseline} msg The message object to deserialize into.
33479
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
33480
- * @return {!proto.gateway.web.v1.ModelReasoningBaseline}
33481
- */
33482
- proto.gateway.web.v1.ModelReasoningBaseline.deserializeBinaryFromReader = function(msg, reader) {
33483
- while (reader.nextField()) {
33484
- if (reader.isEndGroup()) {
33485
- break;
33486
- }
33487
- var field = reader.getFieldNumber();
33488
- switch (field) {
33489
- case 1:
33490
- var value = /** @type {number} */ (reader.readUint64());
33491
- msg.setCountedCalls(value);
33492
- break;
33493
- case 2:
33494
- var value = /** @type {number} */ (reader.readUint64());
33495
- msg.setMedian(value);
33496
- break;
33497
- case 3:
33498
- var value = /** @type {number} */ (reader.readUint64());
33499
- msg.setCiLow(value);
33500
- break;
33501
- case 4:
33502
- var value = /** @type {number} */ (reader.readUint64());
33503
- msg.setCiHigh(value);
33504
- break;
33505
- default:
33506
- reader.skipField();
33507
- break;
33508
- }
33509
- }
33510
- return msg;
33511
- };
33512
-
33513
-
33514
- /**
33515
- * Serializes the message to binary data (in protobuf wire format).
33516
- * @return {!Uint8Array}
33517
- */
33518
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.serializeBinary = function() {
33519
- var writer = new jspb.BinaryWriter();
33520
- proto.gateway.web.v1.ModelReasoningBaseline.serializeBinaryToWriter(this, writer);
33521
- return writer.getResultBuffer();
33522
- };
33523
-
33524
-
33525
- /**
33526
- * Serializes the given message to binary data (in protobuf wire
33527
- * format), writing to the given BinaryWriter.
33528
- * @param {!proto.gateway.web.v1.ModelReasoningBaseline} message
33529
- * @param {!jspb.BinaryWriter} writer
33530
- * @suppress {unusedLocalVariables} f is only used for nested messages
33531
- */
33532
- proto.gateway.web.v1.ModelReasoningBaseline.serializeBinaryToWriter = function(message, writer) {
33533
- var f = undefined;
33534
- f = message.getCountedCalls();
33535
- if (f !== 0) {
33536
- writer.writeUint64(
33537
- 1,
33538
- f
33539
- );
33540
- }
33541
- f = /** @type {number} */ (jspb.Message.getField(message, 2));
33542
- if (f != null) {
33543
- writer.writeUint64(
33544
- 2,
33545
- f
33546
- );
33547
- }
33548
- f = /** @type {number} */ (jspb.Message.getField(message, 3));
33549
- if (f != null) {
33550
- writer.writeUint64(
33551
- 3,
33552
- f
33553
- );
33554
- }
33555
- f = /** @type {number} */ (jspb.Message.getField(message, 4));
33556
- if (f != null) {
33557
- writer.writeUint64(
33558
- 4,
33559
- f
33560
- );
33561
- }
33562
- };
33563
-
33564
-
33565
- /**
33566
- * optional uint64 counted_calls = 1;
33567
- * @return {number}
33568
- */
33569
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.getCountedCalls = function() {
33570
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
33571
- };
33572
-
33573
-
33574
- /**
33575
- * @param {number} value
33576
- * @return {!proto.gateway.web.v1.ModelReasoningBaseline} returns this
33577
- */
33578
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.setCountedCalls = function(value) {
33579
- return jspb.Message.setProto3IntField(this, 1, value);
33580
- };
33581
-
33582
-
33583
- /**
33584
- * optional uint64 median = 2;
33585
- * @return {number}
33586
- */
33587
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.getMedian = function() {
33588
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
33589
- };
33590
-
33591
-
33592
- /**
33593
- * @param {number} value
33594
- * @return {!proto.gateway.web.v1.ModelReasoningBaseline} returns this
33595
- */
33596
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.setMedian = function(value) {
33597
- return jspb.Message.setField(this, 2, value);
33598
- };
33599
-
33600
-
33601
- /**
33602
- * Clears the field making it undefined.
33603
- * @return {!proto.gateway.web.v1.ModelReasoningBaseline} returns this
33604
- */
33605
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.clearMedian = function() {
33606
- return jspb.Message.setField(this, 2, undefined);
33607
- };
33608
-
33609
-
33610
- /**
33611
- * Returns whether this field is set.
33612
- * @return {boolean}
33613
- */
33614
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.hasMedian = function() {
33615
- return jspb.Message.getField(this, 2) != null;
33616
- };
33617
-
33618
-
33619
- /**
33620
- * optional uint64 ci_low = 3;
33621
- * @return {number}
33622
- */
33623
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.getCiLow = function() {
33624
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
33625
- };
33626
-
33627
-
33628
- /**
33629
- * @param {number} value
33630
- * @return {!proto.gateway.web.v1.ModelReasoningBaseline} returns this
33631
- */
33632
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.setCiLow = function(value) {
33633
- return jspb.Message.setField(this, 3, value);
33634
- };
33635
-
33636
-
33637
- /**
33638
- * Clears the field making it undefined.
33639
- * @return {!proto.gateway.web.v1.ModelReasoningBaseline} returns this
33640
- */
33641
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.clearCiLow = function() {
33642
- return jspb.Message.setField(this, 3, undefined);
33643
- };
33644
-
33645
-
33646
- /**
33647
- * Returns whether this field is set.
33648
- * @return {boolean}
33649
- */
33650
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.hasCiLow = function() {
33651
- return jspb.Message.getField(this, 3) != null;
33652
- };
33653
-
33654
-
33655
- /**
33656
- * optional uint64 ci_high = 4;
33657
- * @return {number}
33658
- */
33659
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.getCiHigh = function() {
33660
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
33661
- };
33662
-
33663
-
33664
- /**
33665
- * @param {number} value
33666
- * @return {!proto.gateway.web.v1.ModelReasoningBaseline} returns this
33667
- */
33668
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.setCiHigh = function(value) {
33669
- return jspb.Message.setField(this, 4, value);
33670
- };
33671
-
33672
-
33673
- /**
33674
- * Clears the field making it undefined.
33675
- * @return {!proto.gateway.web.v1.ModelReasoningBaseline} returns this
33676
- */
33677
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.clearCiHigh = function() {
33678
- return jspb.Message.setField(this, 4, undefined);
33679
- };
33680
-
33681
-
33682
- /**
33683
- * Returns whether this field is set.
33684
- * @return {boolean}
33685
- */
33686
- proto.gateway.web.v1.ModelReasoningBaseline.prototype.hasCiHigh = function() {
33687
- return jspb.Message.getField(this, 4) != null;
33688
- };
33689
-
33690
-
33691
32981
 
33692
32982
  /**
33693
32983
  * List of repeated fields within this message type.
@@ -40070,7 +39360,8 @@ evidenceRefsList: jspb.Message.toObjectList(msg.getEvidenceRefsList(),
40070
39360
  proto.gateway.web.v1.AISessionEventRef.toObject, includeInstance),
40071
39361
  cause: jspb.Message.getFieldWithDefault(msg, 4, ""),
40072
39362
  action: jspb.Message.getFieldWithDefault(msg, 5, ""),
40073
- severity: jspb.Message.getFieldWithDefault(msg, 6, 0)
39363
+ severity: jspb.Message.getFieldWithDefault(msg, 6, 0),
39364
+ skillSuggestion: (f = msg.getSkillSuggestion()) && proto.gateway.web.v1.AISkillSuggestion.toObject(includeInstance, f)
40074
39365
  };
40075
39366
 
40076
39367
  if (includeInstance) {
@@ -40132,6 +39423,11 @@ proto.gateway.web.v1.AISessionInsight.deserializeBinaryFromReader = function(msg
40132
39423
  var value = /** @type {!proto.gateway.web.v1.AISessionInsightSeverity} */ (reader.readEnum());
40133
39424
  msg.setSeverity(value);
40134
39425
  break;
39426
+ case 7:
39427
+ var value = new proto.gateway.web.v1.AISkillSuggestion;
39428
+ reader.readMessage(value,proto.gateway.web.v1.AISkillSuggestion.deserializeBinaryFromReader);
39429
+ msg.setSkillSuggestion(value);
39430
+ break;
40135
39431
  default:
40136
39432
  reader.skipField();
40137
39433
  break;
@@ -40204,6 +39500,14 @@ proto.gateway.web.v1.AISessionInsight.serializeBinaryToWriter = function(message
40204
39500
  f
40205
39501
  );
40206
39502
  }
39503
+ f = message.getSkillSuggestion();
39504
+ if (f != null) {
39505
+ writer.writeMessage(
39506
+ 7,
39507
+ f,
39508
+ proto.gateway.web.v1.AISkillSuggestion.serializeBinaryToWriter
39509
+ );
39510
+ }
40207
39511
  };
40208
39512
 
40209
39513
 
@@ -40335,6 +39639,444 @@ proto.gateway.web.v1.AISessionInsight.prototype.setSeverity = function(value) {
40335
39639
  };
40336
39640
 
40337
39641
 
39642
+ /**
39643
+ * optional AISkillSuggestion skill_suggestion = 7;
39644
+ * @return {?proto.gateway.web.v1.AISkillSuggestion}
39645
+ */
39646
+ proto.gateway.web.v1.AISessionInsight.prototype.getSkillSuggestion = function() {
39647
+ return /** @type{?proto.gateway.web.v1.AISkillSuggestion} */ (
39648
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISkillSuggestion, 7));
39649
+ };
39650
+
39651
+
39652
+ /**
39653
+ * @param {?proto.gateway.web.v1.AISkillSuggestion|undefined} value
39654
+ * @return {!proto.gateway.web.v1.AISessionInsight} returns this
39655
+ */
39656
+ proto.gateway.web.v1.AISessionInsight.prototype.setSkillSuggestion = function(value) {
39657
+ return jspb.Message.setWrapperField(this, 7, value);
39658
+ };
39659
+
39660
+
39661
+ /**
39662
+ * Clears the message field making it undefined.
39663
+ * @return {!proto.gateway.web.v1.AISessionInsight} returns this
39664
+ */
39665
+ proto.gateway.web.v1.AISessionInsight.prototype.clearSkillSuggestion = function() {
39666
+ return this.setSkillSuggestion(undefined);
39667
+ };
39668
+
39669
+
39670
+ /**
39671
+ * Returns whether this field is set.
39672
+ * @return {boolean}
39673
+ */
39674
+ proto.gateway.web.v1.AISessionInsight.prototype.hasSkillSuggestion = function() {
39675
+ return jspb.Message.getField(this, 7) != null;
39676
+ };
39677
+
39678
+
39679
+
39680
+
39681
+
39682
+ if (jspb.Message.GENERATE_TO_OBJECT) {
39683
+ /**
39684
+ * Creates an object representation of this proto.
39685
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
39686
+ * Optional fields that are not set will be set to undefined.
39687
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
39688
+ * For the list of reserved names please see:
39689
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
39690
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
39691
+ * JSPB instance for transitional soy proto support:
39692
+ * http://goto/soy-param-migration
39693
+ * @return {!Object}
39694
+ */
39695
+ proto.gateway.web.v1.AISkillSuggestion.prototype.toObject = function(opt_includeInstance) {
39696
+ return proto.gateway.web.v1.AISkillSuggestion.toObject(opt_includeInstance, this);
39697
+ };
39698
+
39699
+
39700
+ /**
39701
+ * Static version of the {@see toObject} method.
39702
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39703
+ * the JSPB instance for transitional soy proto support:
39704
+ * http://goto/soy-param-migration
39705
+ * @param {!proto.gateway.web.v1.AISkillSuggestion} msg The msg instance to transform.
39706
+ * @return {!Object}
39707
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39708
+ */
39709
+ proto.gateway.web.v1.AISkillSuggestion.toObject = function(includeInstance, msg) {
39710
+ var f, obj = {
39711
+ skillVersionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
39712
+ skill: (f = msg.getSkill()) && proto.gateway.web.v1.AISkillMetadata.toObject(includeInstance, f)
39713
+ };
39714
+
39715
+ if (includeInstance) {
39716
+ obj.$jspbMessageInstance = msg;
39717
+ }
39718
+ return obj;
39719
+ };
39720
+ }
39721
+
39722
+
39723
+ /**
39724
+ * Deserializes binary data (in protobuf wire format).
39725
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
39726
+ * @return {!proto.gateway.web.v1.AISkillSuggestion}
39727
+ */
39728
+ proto.gateway.web.v1.AISkillSuggestion.deserializeBinary = function(bytes) {
39729
+ var reader = new jspb.BinaryReader(bytes);
39730
+ var msg = new proto.gateway.web.v1.AISkillSuggestion;
39731
+ return proto.gateway.web.v1.AISkillSuggestion.deserializeBinaryFromReader(msg, reader);
39732
+ };
39733
+
39734
+
39735
+ /**
39736
+ * Deserializes binary data (in protobuf wire format) from the
39737
+ * given reader into the given message object.
39738
+ * @param {!proto.gateway.web.v1.AISkillSuggestion} msg The message object to deserialize into.
39739
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39740
+ * @return {!proto.gateway.web.v1.AISkillSuggestion}
39741
+ */
39742
+ proto.gateway.web.v1.AISkillSuggestion.deserializeBinaryFromReader = function(msg, reader) {
39743
+ while (reader.nextField()) {
39744
+ if (reader.isEndGroup()) {
39745
+ break;
39746
+ }
39747
+ var field = reader.getFieldNumber();
39748
+ switch (field) {
39749
+ case 1:
39750
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
39751
+ msg.setSkillVersionId(value);
39752
+ break;
39753
+ case 2:
39754
+ var value = new proto.gateway.web.v1.AISkillMetadata;
39755
+ reader.readMessage(value,proto.gateway.web.v1.AISkillMetadata.deserializeBinaryFromReader);
39756
+ msg.setSkill(value);
39757
+ break;
39758
+ default:
39759
+ reader.skipField();
39760
+ break;
39761
+ }
39762
+ }
39763
+ return msg;
39764
+ };
39765
+
39766
+
39767
+ /**
39768
+ * Serializes the message to binary data (in protobuf wire format).
39769
+ * @return {!Uint8Array}
39770
+ */
39771
+ proto.gateway.web.v1.AISkillSuggestion.prototype.serializeBinary = function() {
39772
+ var writer = new jspb.BinaryWriter();
39773
+ proto.gateway.web.v1.AISkillSuggestion.serializeBinaryToWriter(this, writer);
39774
+ return writer.getResultBuffer();
39775
+ };
39776
+
39777
+
39778
+ /**
39779
+ * Serializes the given message to binary data (in protobuf wire
39780
+ * format), writing to the given BinaryWriter.
39781
+ * @param {!proto.gateway.web.v1.AISkillSuggestion} message
39782
+ * @param {!jspb.BinaryWriter} writer
39783
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39784
+ */
39785
+ proto.gateway.web.v1.AISkillSuggestion.serializeBinaryToWriter = function(message, writer) {
39786
+ var f = undefined;
39787
+ f = message.getSkillVersionId();
39788
+ if (f.length > 0) {
39789
+ writer.writeString(
39790
+ 1,
39791
+ f
39792
+ );
39793
+ }
39794
+ f = message.getSkill();
39795
+ if (f != null) {
39796
+ writer.writeMessage(
39797
+ 2,
39798
+ f,
39799
+ proto.gateway.web.v1.AISkillMetadata.serializeBinaryToWriter
39800
+ );
39801
+ }
39802
+ };
39803
+
39804
+
39805
+ /**
39806
+ * optional string skill_version_id = 1;
39807
+ * @return {string}
39808
+ */
39809
+ proto.gateway.web.v1.AISkillSuggestion.prototype.getSkillVersionId = function() {
39810
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
39811
+ };
39812
+
39813
+
39814
+ /**
39815
+ * @param {string} value
39816
+ * @return {!proto.gateway.web.v1.AISkillSuggestion} returns this
39817
+ */
39818
+ proto.gateway.web.v1.AISkillSuggestion.prototype.setSkillVersionId = function(value) {
39819
+ return jspb.Message.setProto3StringField(this, 1, value);
39820
+ };
39821
+
39822
+
39823
+ /**
39824
+ * optional AISkillMetadata skill = 2;
39825
+ * @return {?proto.gateway.web.v1.AISkillMetadata}
39826
+ */
39827
+ proto.gateway.web.v1.AISkillSuggestion.prototype.getSkill = function() {
39828
+ return /** @type{?proto.gateway.web.v1.AISkillMetadata} */ (
39829
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISkillMetadata, 2));
39830
+ };
39831
+
39832
+
39833
+ /**
39834
+ * @param {?proto.gateway.web.v1.AISkillMetadata|undefined} value
39835
+ * @return {!proto.gateway.web.v1.AISkillSuggestion} returns this
39836
+ */
39837
+ proto.gateway.web.v1.AISkillSuggestion.prototype.setSkill = function(value) {
39838
+ return jspb.Message.setWrapperField(this, 2, value);
39839
+ };
39840
+
39841
+
39842
+ /**
39843
+ * Clears the message field making it undefined.
39844
+ * @return {!proto.gateway.web.v1.AISkillSuggestion} returns this
39845
+ */
39846
+ proto.gateway.web.v1.AISkillSuggestion.prototype.clearSkill = function() {
39847
+ return this.setSkill(undefined);
39848
+ };
39849
+
39850
+
39851
+ /**
39852
+ * Returns whether this field is set.
39853
+ * @return {boolean}
39854
+ */
39855
+ proto.gateway.web.v1.AISkillSuggestion.prototype.hasSkill = function() {
39856
+ return jspb.Message.getField(this, 2) != null;
39857
+ };
39858
+
39859
+
39860
+
39861
+
39862
+
39863
+ if (jspb.Message.GENERATE_TO_OBJECT) {
39864
+ /**
39865
+ * Creates an object representation of this proto.
39866
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
39867
+ * Optional fields that are not set will be set to undefined.
39868
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
39869
+ * For the list of reserved names please see:
39870
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
39871
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
39872
+ * JSPB instance for transitional soy proto support:
39873
+ * http://goto/soy-param-migration
39874
+ * @return {!Object}
39875
+ */
39876
+ proto.gateway.web.v1.AISkillMetadata.prototype.toObject = function(opt_includeInstance) {
39877
+ return proto.gateway.web.v1.AISkillMetadata.toObject(opt_includeInstance, this);
39878
+ };
39879
+
39880
+
39881
+ /**
39882
+ * Static version of the {@see toObject} method.
39883
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39884
+ * the JSPB instance for transitional soy proto support:
39885
+ * http://goto/soy-param-migration
39886
+ * @param {!proto.gateway.web.v1.AISkillMetadata} msg The msg instance to transform.
39887
+ * @return {!Object}
39888
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39889
+ */
39890
+ proto.gateway.web.v1.AISkillMetadata.toObject = function(includeInstance, msg) {
39891
+ var f, obj = {
39892
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
39893
+ summary: jspb.Message.getFieldWithDefault(msg, 2, ""),
39894
+ sourceUrl: jspb.Message.getFieldWithDefault(msg, 3, ""),
39895
+ available: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
39896
+ };
39897
+
39898
+ if (includeInstance) {
39899
+ obj.$jspbMessageInstance = msg;
39900
+ }
39901
+ return obj;
39902
+ };
39903
+ }
39904
+
39905
+
39906
+ /**
39907
+ * Deserializes binary data (in protobuf wire format).
39908
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
39909
+ * @return {!proto.gateway.web.v1.AISkillMetadata}
39910
+ */
39911
+ proto.gateway.web.v1.AISkillMetadata.deserializeBinary = function(bytes) {
39912
+ var reader = new jspb.BinaryReader(bytes);
39913
+ var msg = new proto.gateway.web.v1.AISkillMetadata;
39914
+ return proto.gateway.web.v1.AISkillMetadata.deserializeBinaryFromReader(msg, reader);
39915
+ };
39916
+
39917
+
39918
+ /**
39919
+ * Deserializes binary data (in protobuf wire format) from the
39920
+ * given reader into the given message object.
39921
+ * @param {!proto.gateway.web.v1.AISkillMetadata} msg The message object to deserialize into.
39922
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39923
+ * @return {!proto.gateway.web.v1.AISkillMetadata}
39924
+ */
39925
+ proto.gateway.web.v1.AISkillMetadata.deserializeBinaryFromReader = function(msg, reader) {
39926
+ while (reader.nextField()) {
39927
+ if (reader.isEndGroup()) {
39928
+ break;
39929
+ }
39930
+ var field = reader.getFieldNumber();
39931
+ switch (field) {
39932
+ case 1:
39933
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
39934
+ msg.setName(value);
39935
+ break;
39936
+ case 2:
39937
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
39938
+ msg.setSummary(value);
39939
+ break;
39940
+ case 3:
39941
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
39942
+ msg.setSourceUrl(value);
39943
+ break;
39944
+ case 4:
39945
+ var value = /** @type {boolean} */ (reader.readBool());
39946
+ msg.setAvailable(value);
39947
+ break;
39948
+ default:
39949
+ reader.skipField();
39950
+ break;
39951
+ }
39952
+ }
39953
+ return msg;
39954
+ };
39955
+
39956
+
39957
+ /**
39958
+ * Serializes the message to binary data (in protobuf wire format).
39959
+ * @return {!Uint8Array}
39960
+ */
39961
+ proto.gateway.web.v1.AISkillMetadata.prototype.serializeBinary = function() {
39962
+ var writer = new jspb.BinaryWriter();
39963
+ proto.gateway.web.v1.AISkillMetadata.serializeBinaryToWriter(this, writer);
39964
+ return writer.getResultBuffer();
39965
+ };
39966
+
39967
+
39968
+ /**
39969
+ * Serializes the given message to binary data (in protobuf wire
39970
+ * format), writing to the given BinaryWriter.
39971
+ * @param {!proto.gateway.web.v1.AISkillMetadata} message
39972
+ * @param {!jspb.BinaryWriter} writer
39973
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39974
+ */
39975
+ proto.gateway.web.v1.AISkillMetadata.serializeBinaryToWriter = function(message, writer) {
39976
+ var f = undefined;
39977
+ f = message.getName();
39978
+ if (f.length > 0) {
39979
+ writer.writeString(
39980
+ 1,
39981
+ f
39982
+ );
39983
+ }
39984
+ f = message.getSummary();
39985
+ if (f.length > 0) {
39986
+ writer.writeString(
39987
+ 2,
39988
+ f
39989
+ );
39990
+ }
39991
+ f = message.getSourceUrl();
39992
+ if (f.length > 0) {
39993
+ writer.writeString(
39994
+ 3,
39995
+ f
39996
+ );
39997
+ }
39998
+ f = message.getAvailable();
39999
+ if (f) {
40000
+ writer.writeBool(
40001
+ 4,
40002
+ f
40003
+ );
40004
+ }
40005
+ };
40006
+
40007
+
40008
+ /**
40009
+ * optional string name = 1;
40010
+ * @return {string}
40011
+ */
40012
+ proto.gateway.web.v1.AISkillMetadata.prototype.getName = function() {
40013
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
40014
+ };
40015
+
40016
+
40017
+ /**
40018
+ * @param {string} value
40019
+ * @return {!proto.gateway.web.v1.AISkillMetadata} returns this
40020
+ */
40021
+ proto.gateway.web.v1.AISkillMetadata.prototype.setName = function(value) {
40022
+ return jspb.Message.setProto3StringField(this, 1, value);
40023
+ };
40024
+
40025
+
40026
+ /**
40027
+ * optional string summary = 2;
40028
+ * @return {string}
40029
+ */
40030
+ proto.gateway.web.v1.AISkillMetadata.prototype.getSummary = function() {
40031
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
40032
+ };
40033
+
40034
+
40035
+ /**
40036
+ * @param {string} value
40037
+ * @return {!proto.gateway.web.v1.AISkillMetadata} returns this
40038
+ */
40039
+ proto.gateway.web.v1.AISkillMetadata.prototype.setSummary = function(value) {
40040
+ return jspb.Message.setProto3StringField(this, 2, value);
40041
+ };
40042
+
40043
+
40044
+ /**
40045
+ * optional string source_url = 3;
40046
+ * @return {string}
40047
+ */
40048
+ proto.gateway.web.v1.AISkillMetadata.prototype.getSourceUrl = function() {
40049
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
40050
+ };
40051
+
40052
+
40053
+ /**
40054
+ * @param {string} value
40055
+ * @return {!proto.gateway.web.v1.AISkillMetadata} returns this
40056
+ */
40057
+ proto.gateway.web.v1.AISkillMetadata.prototype.setSourceUrl = function(value) {
40058
+ return jspb.Message.setProto3StringField(this, 3, value);
40059
+ };
40060
+
40061
+
40062
+ /**
40063
+ * optional bool available = 4;
40064
+ * @return {boolean}
40065
+ */
40066
+ proto.gateway.web.v1.AISkillMetadata.prototype.getAvailable = function() {
40067
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
40068
+ };
40069
+
40070
+
40071
+ /**
40072
+ * @param {boolean} value
40073
+ * @return {!proto.gateway.web.v1.AISkillMetadata} returns this
40074
+ */
40075
+ proto.gateway.web.v1.AISkillMetadata.prototype.setAvailable = function(value) {
40076
+ return jspb.Message.setProto3BooleanField(this, 4, value);
40077
+ };
40078
+
40079
+
40338
40080
 
40339
40081
 
40340
40082