@fonoster/sdk 0.17.4 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node/Applications.d.ts +11 -55
- package/dist/node/Applications.js +85 -71
- package/dist/node/client/types/ApplicationsClient.d.ts +3 -2
- package/dist/node/generated/node/applications_grpc_pb.js +15 -15
- package/dist/node/generated/node/applications_pb.js +1046 -388
- package/dist/node/generated/web/AclsServiceClientPb.ts +1 -1
- package/dist/node/generated/web/AgentsServiceClientPb.ts +1 -1
- package/dist/node/generated/web/ApplicationsServiceClientPb.ts +11 -32
- package/dist/node/generated/web/CallsServiceClientPb.ts +1 -1
- package/dist/node/generated/web/CredentialsServiceClientPb.ts +1 -1
- package/dist/node/generated/web/DomainsServiceClientPb.ts +1 -1
- package/dist/node/generated/web/IdentityServiceClientPb.ts +1 -1
- package/dist/node/generated/web/NumbersServiceClientPb.ts +1 -1
- package/dist/node/generated/web/SecretsServiceClientPb.ts +1 -1
- package/dist/node/generated/web/TrunksServiceClientPb.ts +1 -1
- package/dist/node/generated/web/applications_pb.d.ts +185 -104
- package/dist/node/generated/web/applications_pb.js +1046 -388
- package/dist/node/tsconfig.tsbuildinfo +1 -1
- package/dist/web/fonoster.min.js +1 -1
- package/dist/web/index.esm.js +1 -1
- package/package.json +4 -4
|
@@ -31,17 +31,21 @@ goog.exportSymbol('proto.fonoster.applications.v1beta2.CreateApplicationRequest'
|
|
|
31
31
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.CreateApplicationResponse', null, global);
|
|
32
32
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.DeleteApplicationRequest', null, global);
|
|
33
33
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.DeleteApplicationResponse', null, global);
|
|
34
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.EvalError', null, global);
|
|
35
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent', null, global);
|
|
36
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.EventCase', null, global);
|
|
34
37
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.EvaluateIntelligenceRequest', null, global);
|
|
35
|
-
goog.exportSymbol('proto.fonoster.applications.v1beta2.
|
|
36
|
-
goog.exportSymbol('proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ExpectedTextType', null, global);
|
|
37
|
-
goog.exportSymbol('proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluationReport', null, global);
|
|
38
|
-
goog.exportSymbol('proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.StepEvaluationReport', null, global);
|
|
39
|
-
goog.exportSymbol('proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationReport', null, global);
|
|
38
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.ExpectedTextType', null, global);
|
|
40
39
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.GetApplicationRequest', null, global);
|
|
41
40
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.ListApplicationsRequest', null, global);
|
|
42
41
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.ListApplicationsResponse', null, global);
|
|
43
42
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.ProductContainer', null, global);
|
|
43
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.ScenarioEvaluationReport', null, global);
|
|
44
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.ScenarioSummary', null, global);
|
|
45
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.StepEvaluationReport', null, global);
|
|
46
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.StepEvaluationResult', null, global);
|
|
44
47
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.TestTokenResponse', null, global);
|
|
48
|
+
goog.exportSymbol('proto.fonoster.applications.v1beta2.ToolEvaluationReport', null, global);
|
|
45
49
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.UpdateApplicationRequest', null, global);
|
|
46
50
|
goog.exportSymbol('proto.fonoster.applications.v1beta2.UpdateApplicationResponse', null, global);
|
|
47
51
|
/**
|
|
@@ -306,16 +310,79 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
306
310
|
* @extends {jspb.Message}
|
|
307
311
|
* @constructor
|
|
308
312
|
*/
|
|
309
|
-
proto.fonoster.applications.v1beta2.
|
|
310
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
313
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport = function(opt_data) {
|
|
314
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
315
|
+
};
|
|
316
|
+
goog.inherits(proto.fonoster.applications.v1beta2.ToolEvaluationReport, jspb.Message);
|
|
317
|
+
if (goog.DEBUG && !COMPILED) {
|
|
318
|
+
/**
|
|
319
|
+
* @public
|
|
320
|
+
* @override
|
|
321
|
+
*/
|
|
322
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.displayName = 'proto.fonoster.applications.v1beta2.ToolEvaluationReport';
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Generated by JsPbCodeGenerator.
|
|
326
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
327
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
328
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
329
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
330
|
+
* valid.
|
|
331
|
+
* @extends {jspb.Message}
|
|
332
|
+
* @constructor
|
|
333
|
+
*/
|
|
334
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport = function(opt_data) {
|
|
335
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.applications.v1beta2.StepEvaluationReport.repeatedFields_, null);
|
|
336
|
+
};
|
|
337
|
+
goog.inherits(proto.fonoster.applications.v1beta2.StepEvaluationReport, jspb.Message);
|
|
338
|
+
if (goog.DEBUG && !COMPILED) {
|
|
339
|
+
/**
|
|
340
|
+
* @public
|
|
341
|
+
* @override
|
|
342
|
+
*/
|
|
343
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.displayName = 'proto.fonoster.applications.v1beta2.StepEvaluationReport';
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Generated by JsPbCodeGenerator.
|
|
347
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
348
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
349
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
350
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
351
|
+
* valid.
|
|
352
|
+
* @extends {jspb.Message}
|
|
353
|
+
* @constructor
|
|
354
|
+
*/
|
|
355
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport = function(opt_data) {
|
|
356
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.repeatedFields_, null);
|
|
357
|
+
};
|
|
358
|
+
goog.inherits(proto.fonoster.applications.v1beta2.ScenarioEvaluationReport, jspb.Message);
|
|
359
|
+
if (goog.DEBUG && !COMPILED) {
|
|
360
|
+
/**
|
|
361
|
+
* @public
|
|
362
|
+
* @override
|
|
363
|
+
*/
|
|
364
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.displayName = 'proto.fonoster.applications.v1beta2.ScenarioEvaluationReport';
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Generated by JsPbCodeGenerator.
|
|
368
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
369
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
370
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
371
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
372
|
+
* valid.
|
|
373
|
+
* @extends {jspb.Message}
|
|
374
|
+
* @constructor
|
|
375
|
+
*/
|
|
376
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult = function(opt_data) {
|
|
377
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
311
378
|
};
|
|
312
|
-
goog.inherits(proto.fonoster.applications.v1beta2.
|
|
379
|
+
goog.inherits(proto.fonoster.applications.v1beta2.StepEvaluationResult, jspb.Message);
|
|
313
380
|
if (goog.DEBUG && !COMPILED) {
|
|
314
381
|
/**
|
|
315
382
|
* @public
|
|
316
383
|
* @override
|
|
317
384
|
*/
|
|
318
|
-
proto.fonoster.applications.v1beta2.
|
|
385
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.displayName = 'proto.fonoster.applications.v1beta2.StepEvaluationResult';
|
|
319
386
|
}
|
|
320
387
|
/**
|
|
321
388
|
* Generated by JsPbCodeGenerator.
|
|
@@ -327,16 +394,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
327
394
|
* @extends {jspb.Message}
|
|
328
395
|
* @constructor
|
|
329
396
|
*/
|
|
330
|
-
proto.fonoster.applications.v1beta2.
|
|
397
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary = function(opt_data) {
|
|
331
398
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
332
399
|
};
|
|
333
|
-
goog.inherits(proto.fonoster.applications.v1beta2.
|
|
400
|
+
goog.inherits(proto.fonoster.applications.v1beta2.ScenarioSummary, jspb.Message);
|
|
334
401
|
if (goog.DEBUG && !COMPILED) {
|
|
335
402
|
/**
|
|
336
403
|
* @public
|
|
337
404
|
* @override
|
|
338
405
|
*/
|
|
339
|
-
proto.fonoster.applications.v1beta2.
|
|
406
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary.displayName = 'proto.fonoster.applications.v1beta2.ScenarioSummary';
|
|
340
407
|
}
|
|
341
408
|
/**
|
|
342
409
|
* Generated by JsPbCodeGenerator.
|
|
@@ -348,16 +415,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
348
415
|
* @extends {jspb.Message}
|
|
349
416
|
* @constructor
|
|
350
417
|
*/
|
|
351
|
-
proto.fonoster.applications.v1beta2.
|
|
352
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
418
|
+
proto.fonoster.applications.v1beta2.EvalError = function(opt_data) {
|
|
419
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
353
420
|
};
|
|
354
|
-
goog.inherits(proto.fonoster.applications.v1beta2.
|
|
421
|
+
goog.inherits(proto.fonoster.applications.v1beta2.EvalError, jspb.Message);
|
|
355
422
|
if (goog.DEBUG && !COMPILED) {
|
|
356
423
|
/**
|
|
357
424
|
* @public
|
|
358
425
|
* @override
|
|
359
426
|
*/
|
|
360
|
-
proto.fonoster.applications.v1beta2.
|
|
427
|
+
proto.fonoster.applications.v1beta2.EvalError.displayName = 'proto.fonoster.applications.v1beta2.EvalError';
|
|
361
428
|
}
|
|
362
429
|
/**
|
|
363
430
|
* Generated by JsPbCodeGenerator.
|
|
@@ -369,16 +436,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
369
436
|
* @extends {jspb.Message}
|
|
370
437
|
* @constructor
|
|
371
438
|
*/
|
|
372
|
-
proto.fonoster.applications.v1beta2.
|
|
373
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.fonoster.applications.v1beta2.
|
|
439
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent = function(opt_data) {
|
|
440
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.oneofGroups_);
|
|
374
441
|
};
|
|
375
|
-
goog.inherits(proto.fonoster.applications.v1beta2.
|
|
442
|
+
goog.inherits(proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent, jspb.Message);
|
|
376
443
|
if (goog.DEBUG && !COMPILED) {
|
|
377
444
|
/**
|
|
378
445
|
* @public
|
|
379
446
|
* @override
|
|
380
447
|
*/
|
|
381
|
-
proto.fonoster.applications.v1beta2.
|
|
448
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.displayName = 'proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent';
|
|
382
449
|
}
|
|
383
450
|
/**
|
|
384
451
|
* Generated by JsPbCodeGenerator.
|
|
@@ -2934,136 +3001,6 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceRequest.prototype.hasInt
|
|
|
2934
3001
|
|
|
2935
3002
|
|
|
2936
3003
|
|
|
2937
|
-
/**
|
|
2938
|
-
* List of repeated fields within this message type.
|
|
2939
|
-
* @private {!Array<number>}
|
|
2940
|
-
* @const
|
|
2941
|
-
*/
|
|
2942
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.repeatedFields_ = [1];
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2947
|
-
/**
|
|
2948
|
-
* Creates an object representation of this proto.
|
|
2949
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2950
|
-
* Optional fields that are not set will be set to undefined.
|
|
2951
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2952
|
-
* For the list of reserved names please see:
|
|
2953
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2954
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2955
|
-
* JSPB instance for transitional soy proto support:
|
|
2956
|
-
* http://goto/soy-param-migration
|
|
2957
|
-
* @return {!Object}
|
|
2958
|
-
*/
|
|
2959
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2960
|
-
return proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.toObject(opt_includeInstance, this);
|
|
2961
|
-
};
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
/**
|
|
2965
|
-
* Static version of the {@see toObject} method.
|
|
2966
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2967
|
-
* the JSPB instance for transitional soy proto support:
|
|
2968
|
-
* http://goto/soy-param-migration
|
|
2969
|
-
* @param {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse} msg The msg instance to transform.
|
|
2970
|
-
* @return {!Object}
|
|
2971
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2972
|
-
*/
|
|
2973
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.toObject = function(includeInstance, msg) {
|
|
2974
|
-
var f, obj = {
|
|
2975
|
-
resultsList: jspb.Message.toObjectList(msg.getResultsList(),
|
|
2976
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluationReport.toObject, includeInstance)
|
|
2977
|
-
};
|
|
2978
|
-
|
|
2979
|
-
if (includeInstance) {
|
|
2980
|
-
obj.$jspbMessageInstance = msg;
|
|
2981
|
-
}
|
|
2982
|
-
return obj;
|
|
2983
|
-
};
|
|
2984
|
-
}
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
/**
|
|
2988
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2989
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2990
|
-
* @return {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse}
|
|
2991
|
-
*/
|
|
2992
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.deserializeBinary = function(bytes) {
|
|
2993
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2994
|
-
var msg = new proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse;
|
|
2995
|
-
return proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.deserializeBinaryFromReader(msg, reader);
|
|
2996
|
-
};
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
/**
|
|
3000
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3001
|
-
* given reader into the given message object.
|
|
3002
|
-
* @param {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse} msg The message object to deserialize into.
|
|
3003
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3004
|
-
* @return {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse}
|
|
3005
|
-
*/
|
|
3006
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3007
|
-
while (reader.nextField()) {
|
|
3008
|
-
if (reader.isEndGroup()) {
|
|
3009
|
-
break;
|
|
3010
|
-
}
|
|
3011
|
-
var field = reader.getFieldNumber();
|
|
3012
|
-
switch (field) {
|
|
3013
|
-
case 1:
|
|
3014
|
-
var value = new proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluationReport;
|
|
3015
|
-
reader.readMessage(value,proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluationReport.deserializeBinaryFromReader);
|
|
3016
|
-
msg.addResults(value);
|
|
3017
|
-
break;
|
|
3018
|
-
default:
|
|
3019
|
-
reader.skipField();
|
|
3020
|
-
break;
|
|
3021
|
-
}
|
|
3022
|
-
}
|
|
3023
|
-
return msg;
|
|
3024
|
-
};
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
/**
|
|
3028
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3029
|
-
* @return {!Uint8Array}
|
|
3030
|
-
*/
|
|
3031
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.prototype.serializeBinary = function() {
|
|
3032
|
-
var writer = new jspb.BinaryWriter();
|
|
3033
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.serializeBinaryToWriter(this, writer);
|
|
3034
|
-
return writer.getResultBuffer();
|
|
3035
|
-
};
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
/**
|
|
3039
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3040
|
-
* format), writing to the given BinaryWriter.
|
|
3041
|
-
* @param {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse} message
|
|
3042
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3043
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3044
|
-
*/
|
|
3045
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3046
|
-
var f = undefined;
|
|
3047
|
-
f = message.getResultsList();
|
|
3048
|
-
if (f.length > 0) {
|
|
3049
|
-
writer.writeRepeatedMessage(
|
|
3050
|
-
1,
|
|
3051
|
-
f,
|
|
3052
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluationReport.serializeBinaryToWriter
|
|
3053
|
-
);
|
|
3054
|
-
}
|
|
3055
|
-
};
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
/**
|
|
3059
|
-
* @enum {number}
|
|
3060
|
-
*/
|
|
3061
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ExpectedTextType = {
|
|
3062
|
-
EXACT: 0,
|
|
3063
|
-
SIMILAR: 1
|
|
3064
|
-
};
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
3004
|
|
|
3068
3005
|
|
|
3069
3006
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -3079,8 +3016,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3079
3016
|
* http://goto/soy-param-migration
|
|
3080
3017
|
* @return {!Object}
|
|
3081
3018
|
*/
|
|
3082
|
-
proto.fonoster.applications.v1beta2.
|
|
3083
|
-
return proto.fonoster.applications.v1beta2.
|
|
3019
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.toObject = function(opt_includeInstance) {
|
|
3020
|
+
return proto.fonoster.applications.v1beta2.ToolEvaluationReport.toObject(opt_includeInstance, this);
|
|
3084
3021
|
};
|
|
3085
3022
|
|
|
3086
3023
|
|
|
@@ -3089,11 +3026,11 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3089
3026
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3090
3027
|
* the JSPB instance for transitional soy proto support:
|
|
3091
3028
|
* http://goto/soy-param-migration
|
|
3092
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3029
|
+
* @param {!proto.fonoster.applications.v1beta2.ToolEvaluationReport} msg The msg instance to transform.
|
|
3093
3030
|
* @return {!Object}
|
|
3094
3031
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3095
3032
|
*/
|
|
3096
|
-
proto.fonoster.applications.v1beta2.
|
|
3033
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.toObject = function(includeInstance, msg) {
|
|
3097
3034
|
var f, obj = {
|
|
3098
3035
|
expectedTool: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3099
3036
|
actualTool: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -3114,23 +3051,23 @@ errorMessage: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
|
3114
3051
|
/**
|
|
3115
3052
|
* Deserializes binary data (in protobuf wire format).
|
|
3116
3053
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3117
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3054
|
+
* @return {!proto.fonoster.applications.v1beta2.ToolEvaluationReport}
|
|
3118
3055
|
*/
|
|
3119
|
-
proto.fonoster.applications.v1beta2.
|
|
3056
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.deserializeBinary = function(bytes) {
|
|
3120
3057
|
var reader = new jspb.BinaryReader(bytes);
|
|
3121
|
-
var msg = new proto.fonoster.applications.v1beta2.
|
|
3122
|
-
return proto.fonoster.applications.v1beta2.
|
|
3058
|
+
var msg = new proto.fonoster.applications.v1beta2.ToolEvaluationReport;
|
|
3059
|
+
return proto.fonoster.applications.v1beta2.ToolEvaluationReport.deserializeBinaryFromReader(msg, reader);
|
|
3123
3060
|
};
|
|
3124
3061
|
|
|
3125
3062
|
|
|
3126
3063
|
/**
|
|
3127
3064
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3128
3065
|
* given reader into the given message object.
|
|
3129
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3066
|
+
* @param {!proto.fonoster.applications.v1beta2.ToolEvaluationReport} msg The message object to deserialize into.
|
|
3130
3067
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3131
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3068
|
+
* @return {!proto.fonoster.applications.v1beta2.ToolEvaluationReport}
|
|
3132
3069
|
*/
|
|
3133
|
-
proto.fonoster.applications.v1beta2.
|
|
3070
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.deserializeBinaryFromReader = function(msg, reader) {
|
|
3134
3071
|
while (reader.nextField()) {
|
|
3135
3072
|
if (reader.isEndGroup()) {
|
|
3136
3073
|
break;
|
|
@@ -3176,9 +3113,9 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3176
3113
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3177
3114
|
* @return {!Uint8Array}
|
|
3178
3115
|
*/
|
|
3179
|
-
proto.fonoster.applications.v1beta2.
|
|
3116
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.serializeBinary = function() {
|
|
3180
3117
|
var writer = new jspb.BinaryWriter();
|
|
3181
|
-
proto.fonoster.applications.v1beta2.
|
|
3118
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.serializeBinaryToWriter(this, writer);
|
|
3182
3119
|
return writer.getResultBuffer();
|
|
3183
3120
|
};
|
|
3184
3121
|
|
|
@@ -3186,11 +3123,11 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3186
3123
|
/**
|
|
3187
3124
|
* Serializes the given message to binary data (in protobuf wire
|
|
3188
3125
|
* format), writing to the given BinaryWriter.
|
|
3189
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3126
|
+
* @param {!proto.fonoster.applications.v1beta2.ToolEvaluationReport} message
|
|
3190
3127
|
* @param {!jspb.BinaryWriter} writer
|
|
3191
3128
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3192
3129
|
*/
|
|
3193
|
-
proto.fonoster.applications.v1beta2.
|
|
3130
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.serializeBinaryToWriter = function(message, writer) {
|
|
3194
3131
|
var f = undefined;
|
|
3195
3132
|
f = message.getExpectedTool();
|
|
3196
3133
|
if (f.length > 0) {
|
|
@@ -3243,16 +3180,16 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3243
3180
|
* optional string expected_tool = 1;
|
|
3244
3181
|
* @return {string}
|
|
3245
3182
|
*/
|
|
3246
|
-
proto.fonoster.applications.v1beta2.
|
|
3183
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.getExpectedTool = function() {
|
|
3247
3184
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3248
3185
|
};
|
|
3249
3186
|
|
|
3250
3187
|
|
|
3251
3188
|
/**
|
|
3252
3189
|
* @param {string} value
|
|
3253
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3190
|
+
* @return {!proto.fonoster.applications.v1beta2.ToolEvaluationReport} returns this
|
|
3254
3191
|
*/
|
|
3255
|
-
proto.fonoster.applications.v1beta2.
|
|
3192
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.setExpectedTool = function(value) {
|
|
3256
3193
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3257
3194
|
};
|
|
3258
3195
|
|
|
@@ -3261,16 +3198,16 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3261
3198
|
* optional string actual_tool = 2;
|
|
3262
3199
|
* @return {string}
|
|
3263
3200
|
*/
|
|
3264
|
-
proto.fonoster.applications.v1beta2.
|
|
3201
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.getActualTool = function() {
|
|
3265
3202
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3266
3203
|
};
|
|
3267
3204
|
|
|
3268
3205
|
|
|
3269
3206
|
/**
|
|
3270
3207
|
* @param {string} value
|
|
3271
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3208
|
+
* @return {!proto.fonoster.applications.v1beta2.ToolEvaluationReport} returns this
|
|
3272
3209
|
*/
|
|
3273
|
-
proto.fonoster.applications.v1beta2.
|
|
3210
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.setActualTool = function(value) {
|
|
3274
3211
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3275
3212
|
};
|
|
3276
3213
|
|
|
@@ -3279,16 +3216,16 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3279
3216
|
* optional bool passed = 3;
|
|
3280
3217
|
* @return {boolean}
|
|
3281
3218
|
*/
|
|
3282
|
-
proto.fonoster.applications.v1beta2.
|
|
3219
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.getPassed = function() {
|
|
3283
3220
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
3284
3221
|
};
|
|
3285
3222
|
|
|
3286
3223
|
|
|
3287
3224
|
/**
|
|
3288
3225
|
* @param {boolean} value
|
|
3289
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3226
|
+
* @return {!proto.fonoster.applications.v1beta2.ToolEvaluationReport} returns this
|
|
3290
3227
|
*/
|
|
3291
|
-
proto.fonoster.applications.v1beta2.
|
|
3228
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.setPassed = function(value) {
|
|
3292
3229
|
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
3293
3230
|
};
|
|
3294
3231
|
|
|
@@ -3297,7 +3234,7 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3297
3234
|
* optional google.protobuf.Struct expected_parameters = 4;
|
|
3298
3235
|
* @return {?proto.google.protobuf.Struct}
|
|
3299
3236
|
*/
|
|
3300
|
-
proto.fonoster.applications.v1beta2.
|
|
3237
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.getExpectedParameters = function() {
|
|
3301
3238
|
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
3302
3239
|
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 4));
|
|
3303
3240
|
};
|
|
@@ -3305,18 +3242,18 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3305
3242
|
|
|
3306
3243
|
/**
|
|
3307
3244
|
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
3308
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3245
|
+
* @return {!proto.fonoster.applications.v1beta2.ToolEvaluationReport} returns this
|
|
3309
3246
|
*/
|
|
3310
|
-
proto.fonoster.applications.v1beta2.
|
|
3247
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.setExpectedParameters = function(value) {
|
|
3311
3248
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
3312
3249
|
};
|
|
3313
3250
|
|
|
3314
3251
|
|
|
3315
3252
|
/**
|
|
3316
3253
|
* Clears the message field making it undefined.
|
|
3317
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3254
|
+
* @return {!proto.fonoster.applications.v1beta2.ToolEvaluationReport} returns this
|
|
3318
3255
|
*/
|
|
3319
|
-
proto.fonoster.applications.v1beta2.
|
|
3256
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.clearExpectedParameters = function() {
|
|
3320
3257
|
return this.setExpectedParameters(undefined);
|
|
3321
3258
|
};
|
|
3322
3259
|
|
|
@@ -3325,7 +3262,7 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3325
3262
|
* Returns whether this field is set.
|
|
3326
3263
|
* @return {boolean}
|
|
3327
3264
|
*/
|
|
3328
|
-
proto.fonoster.applications.v1beta2.
|
|
3265
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.hasExpectedParameters = function() {
|
|
3329
3266
|
return jspb.Message.getField(this, 4) != null;
|
|
3330
3267
|
};
|
|
3331
3268
|
|
|
@@ -3334,7 +3271,7 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3334
3271
|
* optional google.protobuf.Struct actual_parameters = 5;
|
|
3335
3272
|
* @return {?proto.google.protobuf.Struct}
|
|
3336
3273
|
*/
|
|
3337
|
-
proto.fonoster.applications.v1beta2.
|
|
3274
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.getActualParameters = function() {
|
|
3338
3275
|
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
3339
3276
|
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5));
|
|
3340
3277
|
};
|
|
@@ -3342,18 +3279,18 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3342
3279
|
|
|
3343
3280
|
/**
|
|
3344
3281
|
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
3345
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3282
|
+
* @return {!proto.fonoster.applications.v1beta2.ToolEvaluationReport} returns this
|
|
3346
3283
|
*/
|
|
3347
|
-
proto.fonoster.applications.v1beta2.
|
|
3284
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.setActualParameters = function(value) {
|
|
3348
3285
|
return jspb.Message.setWrapperField(this, 5, value);
|
|
3349
3286
|
};
|
|
3350
3287
|
|
|
3351
3288
|
|
|
3352
3289
|
/**
|
|
3353
3290
|
* Clears the message field making it undefined.
|
|
3354
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3291
|
+
* @return {!proto.fonoster.applications.v1beta2.ToolEvaluationReport} returns this
|
|
3355
3292
|
*/
|
|
3356
|
-
proto.fonoster.applications.v1beta2.
|
|
3293
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.clearActualParameters = function() {
|
|
3357
3294
|
return this.setActualParameters(undefined);
|
|
3358
3295
|
};
|
|
3359
3296
|
|
|
@@ -3362,7 +3299,7 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3362
3299
|
* Returns whether this field is set.
|
|
3363
3300
|
* @return {boolean}
|
|
3364
3301
|
*/
|
|
3365
|
-
proto.fonoster.applications.v1beta2.
|
|
3302
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.hasActualParameters = function() {
|
|
3366
3303
|
return jspb.Message.getField(this, 5) != null;
|
|
3367
3304
|
};
|
|
3368
3305
|
|
|
@@ -3371,16 +3308,16 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3371
3308
|
* optional string error_message = 6;
|
|
3372
3309
|
* @return {string}
|
|
3373
3310
|
*/
|
|
3374
|
-
proto.fonoster.applications.v1beta2.
|
|
3311
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.getErrorMessage = function() {
|
|
3375
3312
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3376
3313
|
};
|
|
3377
3314
|
|
|
3378
3315
|
|
|
3379
3316
|
/**
|
|
3380
3317
|
* @param {string} value
|
|
3381
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3318
|
+
* @return {!proto.fonoster.applications.v1beta2.ToolEvaluationReport} returns this
|
|
3382
3319
|
*/
|
|
3383
|
-
proto.fonoster.applications.v1beta2.
|
|
3320
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.prototype.setErrorMessage = function(value) {
|
|
3384
3321
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3385
3322
|
};
|
|
3386
3323
|
|
|
@@ -3391,7 +3328,7 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ToolEvaluationR
|
|
|
3391
3328
|
* @private {!Array<number>}
|
|
3392
3329
|
* @const
|
|
3393
3330
|
*/
|
|
3394
|
-
proto.fonoster.applications.v1beta2.
|
|
3331
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.repeatedFields_ = [7];
|
|
3395
3332
|
|
|
3396
3333
|
|
|
3397
3334
|
|
|
@@ -3408,8 +3345,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3408
3345
|
* http://goto/soy-param-migration
|
|
3409
3346
|
* @return {!Object}
|
|
3410
3347
|
*/
|
|
3411
|
-
proto.fonoster.applications.v1beta2.
|
|
3412
|
-
return proto.fonoster.applications.v1beta2.
|
|
3348
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.toObject = function(opt_includeInstance) {
|
|
3349
|
+
return proto.fonoster.applications.v1beta2.StepEvaluationReport.toObject(opt_includeInstance, this);
|
|
3413
3350
|
};
|
|
3414
3351
|
|
|
3415
3352
|
|
|
@@ -3418,11 +3355,11 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.StepEvaluationR
|
|
|
3418
3355
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3419
3356
|
* the JSPB instance for transitional soy proto support:
|
|
3420
3357
|
* http://goto/soy-param-migration
|
|
3421
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3358
|
+
* @param {!proto.fonoster.applications.v1beta2.StepEvaluationReport} msg The msg instance to transform.
|
|
3422
3359
|
* @return {!Object}
|
|
3423
3360
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3424
3361
|
*/
|
|
3425
|
-
proto.fonoster.applications.v1beta2.
|
|
3362
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.toObject = function(includeInstance, msg) {
|
|
3426
3363
|
var f, obj = {
|
|
3427
3364
|
humanInput: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3428
3365
|
expectedResponse: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -3431,7 +3368,7 @@ evaluationType: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
|
3431
3368
|
passed: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
3432
3369
|
errorMessage: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3433
3370
|
toolEvaluationsList: jspb.Message.toObjectList(msg.getToolEvaluationsList(),
|
|
3434
|
-
proto.fonoster.applications.v1beta2.
|
|
3371
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.toObject, includeInstance)
|
|
3435
3372
|
};
|
|
3436
3373
|
|
|
3437
3374
|
if (includeInstance) {
|
|
@@ -3445,23 +3382,23 @@ toolEvaluationsList: jspb.Message.toObjectList(msg.getToolEvaluationsList(),
|
|
|
3445
3382
|
/**
|
|
3446
3383
|
* Deserializes binary data (in protobuf wire format).
|
|
3447
3384
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3448
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3385
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationReport}
|
|
3449
3386
|
*/
|
|
3450
|
-
proto.fonoster.applications.v1beta2.
|
|
3387
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.deserializeBinary = function(bytes) {
|
|
3451
3388
|
var reader = new jspb.BinaryReader(bytes);
|
|
3452
|
-
var msg = new proto.fonoster.applications.v1beta2.
|
|
3453
|
-
return proto.fonoster.applications.v1beta2.
|
|
3389
|
+
var msg = new proto.fonoster.applications.v1beta2.StepEvaluationReport;
|
|
3390
|
+
return proto.fonoster.applications.v1beta2.StepEvaluationReport.deserializeBinaryFromReader(msg, reader);
|
|
3454
3391
|
};
|
|
3455
3392
|
|
|
3456
3393
|
|
|
3457
3394
|
/**
|
|
3458
3395
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3459
3396
|
* given reader into the given message object.
|
|
3460
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3397
|
+
* @param {!proto.fonoster.applications.v1beta2.StepEvaluationReport} msg The message object to deserialize into.
|
|
3461
3398
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3462
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3399
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationReport}
|
|
3463
3400
|
*/
|
|
3464
|
-
proto.fonoster.applications.v1beta2.
|
|
3401
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.deserializeBinaryFromReader = function(msg, reader) {
|
|
3465
3402
|
while (reader.nextField()) {
|
|
3466
3403
|
if (reader.isEndGroup()) {
|
|
3467
3404
|
break;
|
|
@@ -3481,7 +3418,7 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.StepEvaluationR
|
|
|
3481
3418
|
msg.setAiResponse(value);
|
|
3482
3419
|
break;
|
|
3483
3420
|
case 4:
|
|
3484
|
-
var value = /** @type {!proto.fonoster.applications.v1beta2.
|
|
3421
|
+
var value = /** @type {!proto.fonoster.applications.v1beta2.ExpectedTextType} */ (reader.readEnum());
|
|
3485
3422
|
msg.setEvaluationType(value);
|
|
3486
3423
|
break;
|
|
3487
3424
|
case 5:
|
|
@@ -3493,8 +3430,8 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.StepEvaluationR
|
|
|
3493
3430
|
msg.setErrorMessage(value);
|
|
3494
3431
|
break;
|
|
3495
3432
|
case 7:
|
|
3496
|
-
var value = new proto.fonoster.applications.v1beta2.
|
|
3497
|
-
reader.readMessage(value,proto.fonoster.applications.v1beta2.
|
|
3433
|
+
var value = new proto.fonoster.applications.v1beta2.ToolEvaluationReport;
|
|
3434
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.ToolEvaluationReport.deserializeBinaryFromReader);
|
|
3498
3435
|
msg.addToolEvaluations(value);
|
|
3499
3436
|
break;
|
|
3500
3437
|
default:
|
|
@@ -3510,9 +3447,9 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.StepEvaluationR
|
|
|
3510
3447
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3511
3448
|
* @return {!Uint8Array}
|
|
3512
3449
|
*/
|
|
3513
|
-
proto.fonoster.applications.v1beta2.
|
|
3450
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.serializeBinary = function() {
|
|
3514
3451
|
var writer = new jspb.BinaryWriter();
|
|
3515
|
-
proto.fonoster.applications.v1beta2.
|
|
3452
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.serializeBinaryToWriter(this, writer);
|
|
3516
3453
|
return writer.getResultBuffer();
|
|
3517
3454
|
};
|
|
3518
3455
|
|
|
@@ -3520,11 +3457,11 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.StepEvaluationR
|
|
|
3520
3457
|
/**
|
|
3521
3458
|
* Serializes the given message to binary data (in protobuf wire
|
|
3522
3459
|
* format), writing to the given BinaryWriter.
|
|
3523
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3460
|
+
* @param {!proto.fonoster.applications.v1beta2.StepEvaluationReport} message
|
|
3524
3461
|
* @param {!jspb.BinaryWriter} writer
|
|
3525
3462
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3526
3463
|
*/
|
|
3527
|
-
proto.fonoster.applications.v1beta2.
|
|
3464
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.serializeBinaryToWriter = function(message, writer) {
|
|
3528
3465
|
var f = undefined;
|
|
3529
3466
|
f = message.getHumanInput();
|
|
3530
3467
|
if (f.length > 0) {
|
|
@@ -3573,7 +3510,7 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.StepEvaluationR
|
|
|
3573
3510
|
writer.writeRepeatedMessage(
|
|
3574
3511
|
7,
|
|
3575
3512
|
f,
|
|
3576
|
-
proto.fonoster.applications.v1beta2.
|
|
3513
|
+
proto.fonoster.applications.v1beta2.ToolEvaluationReport.serializeBinaryToWriter
|
|
3577
3514
|
);
|
|
3578
3515
|
}
|
|
3579
3516
|
};
|
|
@@ -3583,16 +3520,16 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.StepEvaluationR
|
|
|
3583
3520
|
* optional string human_input = 1;
|
|
3584
3521
|
* @return {string}
|
|
3585
3522
|
*/
|
|
3586
|
-
proto.fonoster.applications.v1beta2.
|
|
3523
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.getHumanInput = function() {
|
|
3587
3524
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3588
3525
|
};
|
|
3589
3526
|
|
|
3590
3527
|
|
|
3591
3528
|
/**
|
|
3592
3529
|
* @param {string} value
|
|
3593
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3530
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationReport} returns this
|
|
3594
3531
|
*/
|
|
3595
|
-
proto.fonoster.applications.v1beta2.
|
|
3532
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.setHumanInput = function(value) {
|
|
3596
3533
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3597
3534
|
};
|
|
3598
3535
|
|
|
@@ -3601,16 +3538,16 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.StepEvaluationR
|
|
|
3601
3538
|
* optional string expected_response = 2;
|
|
3602
3539
|
* @return {string}
|
|
3603
3540
|
*/
|
|
3604
|
-
proto.fonoster.applications.v1beta2.
|
|
3541
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.getExpectedResponse = function() {
|
|
3605
3542
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3606
3543
|
};
|
|
3607
3544
|
|
|
3608
3545
|
|
|
3609
3546
|
/**
|
|
3610
3547
|
* @param {string} value
|
|
3611
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3548
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationReport} returns this
|
|
3612
3549
|
*/
|
|
3613
|
-
proto.fonoster.applications.v1beta2.
|
|
3550
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.setExpectedResponse = function(value) {
|
|
3614
3551
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3615
3552
|
};
|
|
3616
3553
|
|
|
@@ -3619,34 +3556,34 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.StepEvaluationR
|
|
|
3619
3556
|
* optional string ai_response = 3;
|
|
3620
3557
|
* @return {string}
|
|
3621
3558
|
*/
|
|
3622
|
-
proto.fonoster.applications.v1beta2.
|
|
3559
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.getAiResponse = function() {
|
|
3623
3560
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3624
3561
|
};
|
|
3625
3562
|
|
|
3626
3563
|
|
|
3627
3564
|
/**
|
|
3628
3565
|
* @param {string} value
|
|
3629
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3566
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationReport} returns this
|
|
3630
3567
|
*/
|
|
3631
|
-
proto.fonoster.applications.v1beta2.
|
|
3568
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.setAiResponse = function(value) {
|
|
3632
3569
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3633
3570
|
};
|
|
3634
3571
|
|
|
3635
3572
|
|
|
3636
3573
|
/**
|
|
3637
3574
|
* optional ExpectedTextType evaluation_type = 4;
|
|
3638
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3575
|
+
* @return {!proto.fonoster.applications.v1beta2.ExpectedTextType}
|
|
3639
3576
|
*/
|
|
3640
|
-
proto.fonoster.applications.v1beta2.
|
|
3641
|
-
return /** @type {!proto.fonoster.applications.v1beta2.
|
|
3577
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.getEvaluationType = function() {
|
|
3578
|
+
return /** @type {!proto.fonoster.applications.v1beta2.ExpectedTextType} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
3642
3579
|
};
|
|
3643
3580
|
|
|
3644
3581
|
|
|
3645
3582
|
/**
|
|
3646
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3647
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3583
|
+
* @param {!proto.fonoster.applications.v1beta2.ExpectedTextType} value
|
|
3584
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationReport} returns this
|
|
3648
3585
|
*/
|
|
3649
|
-
proto.fonoster.applications.v1beta2.
|
|
3586
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.setEvaluationType = function(value) {
|
|
3650
3587
|
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
3651
3588
|
};
|
|
3652
3589
|
|
|
@@ -3655,16 +3592,16 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.StepEvaluationR
|
|
|
3655
3592
|
* optional bool passed = 5;
|
|
3656
3593
|
* @return {boolean}
|
|
3657
3594
|
*/
|
|
3658
|
-
proto.fonoster.applications.v1beta2.
|
|
3595
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.getPassed = function() {
|
|
3659
3596
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
3660
3597
|
};
|
|
3661
3598
|
|
|
3662
3599
|
|
|
3663
3600
|
/**
|
|
3664
3601
|
* @param {boolean} value
|
|
3665
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3602
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationReport} returns this
|
|
3666
3603
|
*/
|
|
3667
|
-
proto.fonoster.applications.v1beta2.
|
|
3604
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.setPassed = function(value) {
|
|
3668
3605
|
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
3669
3606
|
};
|
|
3670
3607
|
|
|
@@ -3673,54 +3610,54 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.StepEvaluationR
|
|
|
3673
3610
|
* optional string error_message = 6;
|
|
3674
3611
|
* @return {string}
|
|
3675
3612
|
*/
|
|
3676
|
-
proto.fonoster.applications.v1beta2.
|
|
3613
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.getErrorMessage = function() {
|
|
3677
3614
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3678
3615
|
};
|
|
3679
3616
|
|
|
3680
3617
|
|
|
3681
3618
|
/**
|
|
3682
3619
|
* @param {string} value
|
|
3683
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3620
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationReport} returns this
|
|
3684
3621
|
*/
|
|
3685
|
-
proto.fonoster.applications.v1beta2.
|
|
3622
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.setErrorMessage = function(value) {
|
|
3686
3623
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3687
3624
|
};
|
|
3688
3625
|
|
|
3689
3626
|
|
|
3690
3627
|
/**
|
|
3691
3628
|
* repeated ToolEvaluationReport tool_evaluations = 7;
|
|
3692
|
-
* @return {!Array<!proto.fonoster.applications.v1beta2.
|
|
3629
|
+
* @return {!Array<!proto.fonoster.applications.v1beta2.ToolEvaluationReport>}
|
|
3693
3630
|
*/
|
|
3694
|
-
proto.fonoster.applications.v1beta2.
|
|
3695
|
-
return /** @type{!Array<!proto.fonoster.applications.v1beta2.
|
|
3696
|
-
jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.
|
|
3631
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.getToolEvaluationsList = function() {
|
|
3632
|
+
return /** @type{!Array<!proto.fonoster.applications.v1beta2.ToolEvaluationReport>} */ (
|
|
3633
|
+
jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.ToolEvaluationReport, 7));
|
|
3697
3634
|
};
|
|
3698
3635
|
|
|
3699
3636
|
|
|
3700
3637
|
/**
|
|
3701
|
-
* @param {!Array<!proto.fonoster.applications.v1beta2.
|
|
3702
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3638
|
+
* @param {!Array<!proto.fonoster.applications.v1beta2.ToolEvaluationReport>} value
|
|
3639
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationReport} returns this
|
|
3703
3640
|
*/
|
|
3704
|
-
proto.fonoster.applications.v1beta2.
|
|
3641
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.setToolEvaluationsList = function(value) {
|
|
3705
3642
|
return jspb.Message.setRepeatedWrapperField(this, 7, value);
|
|
3706
3643
|
};
|
|
3707
3644
|
|
|
3708
3645
|
|
|
3709
3646
|
/**
|
|
3710
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3647
|
+
* @param {!proto.fonoster.applications.v1beta2.ToolEvaluationReport=} opt_value
|
|
3711
3648
|
* @param {number=} opt_index
|
|
3712
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3649
|
+
* @return {!proto.fonoster.applications.v1beta2.ToolEvaluationReport}
|
|
3713
3650
|
*/
|
|
3714
|
-
proto.fonoster.applications.v1beta2.
|
|
3715
|
-
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.fonoster.applications.v1beta2.
|
|
3651
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.addToolEvaluations = function(opt_value, opt_index) {
|
|
3652
|
+
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.fonoster.applications.v1beta2.ToolEvaluationReport, opt_index);
|
|
3716
3653
|
};
|
|
3717
3654
|
|
|
3718
3655
|
|
|
3719
3656
|
/**
|
|
3720
3657
|
* Clears the list making it empty but non-null.
|
|
3721
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3658
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationReport} returns this
|
|
3722
3659
|
*/
|
|
3723
|
-
proto.fonoster.applications.v1beta2.
|
|
3660
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.prototype.clearToolEvaluationsList = function() {
|
|
3724
3661
|
return this.setToolEvaluationsList([]);
|
|
3725
3662
|
};
|
|
3726
3663
|
|
|
@@ -3731,7 +3668,7 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.StepEvaluationR
|
|
|
3731
3668
|
* @private {!Array<number>}
|
|
3732
3669
|
* @const
|
|
3733
3670
|
*/
|
|
3734
|
-
proto.fonoster.applications.v1beta2.
|
|
3671
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.repeatedFields_ = [3];
|
|
3735
3672
|
|
|
3736
3673
|
|
|
3737
3674
|
|
|
@@ -3748,8 +3685,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3748
3685
|
* http://goto/soy-param-migration
|
|
3749
3686
|
* @return {!Object}
|
|
3750
3687
|
*/
|
|
3751
|
-
proto.fonoster.applications.v1beta2.
|
|
3752
|
-
return proto.fonoster.applications.v1beta2.
|
|
3688
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.prototype.toObject = function(opt_includeInstance) {
|
|
3689
|
+
return proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.toObject(opt_includeInstance, this);
|
|
3753
3690
|
};
|
|
3754
3691
|
|
|
3755
3692
|
|
|
@@ -3758,16 +3695,16 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluat
|
|
|
3758
3695
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3759
3696
|
* the JSPB instance for transitional soy proto support:
|
|
3760
3697
|
* http://goto/soy-param-migration
|
|
3761
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3698
|
+
* @param {!proto.fonoster.applications.v1beta2.ScenarioEvaluationReport} msg The msg instance to transform.
|
|
3762
3699
|
* @return {!Object}
|
|
3763
3700
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3764
3701
|
*/
|
|
3765
|
-
proto.fonoster.applications.v1beta2.
|
|
3702
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.toObject = function(includeInstance, msg) {
|
|
3766
3703
|
var f, obj = {
|
|
3767
3704
|
scenarioRef: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3768
3705
|
overallPassed: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
3769
3706
|
stepsList: jspb.Message.toObjectList(msg.getStepsList(),
|
|
3770
|
-
proto.fonoster.applications.v1beta2.
|
|
3707
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.toObject, includeInstance)
|
|
3771
3708
|
};
|
|
3772
3709
|
|
|
3773
3710
|
if (includeInstance) {
|
|
@@ -3781,23 +3718,23 @@ stepsList: jspb.Message.toObjectList(msg.getStepsList(),
|
|
|
3781
3718
|
/**
|
|
3782
3719
|
* Deserializes binary data (in protobuf wire format).
|
|
3783
3720
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3784
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3721
|
+
* @return {!proto.fonoster.applications.v1beta2.ScenarioEvaluationReport}
|
|
3785
3722
|
*/
|
|
3786
|
-
proto.fonoster.applications.v1beta2.
|
|
3723
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.deserializeBinary = function(bytes) {
|
|
3787
3724
|
var reader = new jspb.BinaryReader(bytes);
|
|
3788
|
-
var msg = new proto.fonoster.applications.v1beta2.
|
|
3789
|
-
return proto.fonoster.applications.v1beta2.
|
|
3725
|
+
var msg = new proto.fonoster.applications.v1beta2.ScenarioEvaluationReport;
|
|
3726
|
+
return proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.deserializeBinaryFromReader(msg, reader);
|
|
3790
3727
|
};
|
|
3791
3728
|
|
|
3792
3729
|
|
|
3793
3730
|
/**
|
|
3794
3731
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3795
3732
|
* given reader into the given message object.
|
|
3796
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3733
|
+
* @param {!proto.fonoster.applications.v1beta2.ScenarioEvaluationReport} msg The message object to deserialize into.
|
|
3797
3734
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3798
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3735
|
+
* @return {!proto.fonoster.applications.v1beta2.ScenarioEvaluationReport}
|
|
3799
3736
|
*/
|
|
3800
|
-
proto.fonoster.applications.v1beta2.
|
|
3737
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.deserializeBinaryFromReader = function(msg, reader) {
|
|
3801
3738
|
while (reader.nextField()) {
|
|
3802
3739
|
if (reader.isEndGroup()) {
|
|
3803
3740
|
break;
|
|
@@ -3813,8 +3750,8 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluat
|
|
|
3813
3750
|
msg.setOverallPassed(value);
|
|
3814
3751
|
break;
|
|
3815
3752
|
case 3:
|
|
3816
|
-
var value = new proto.fonoster.applications.v1beta2.
|
|
3817
|
-
reader.readMessage(value,proto.fonoster.applications.v1beta2.
|
|
3753
|
+
var value = new proto.fonoster.applications.v1beta2.StepEvaluationReport;
|
|
3754
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.StepEvaluationReport.deserializeBinaryFromReader);
|
|
3818
3755
|
msg.addSteps(value);
|
|
3819
3756
|
break;
|
|
3820
3757
|
default:
|
|
@@ -3830,9 +3767,9 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluat
|
|
|
3830
3767
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3831
3768
|
* @return {!Uint8Array}
|
|
3832
3769
|
*/
|
|
3833
|
-
proto.fonoster.applications.v1beta2.
|
|
3770
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.prototype.serializeBinary = function() {
|
|
3834
3771
|
var writer = new jspb.BinaryWriter();
|
|
3835
|
-
proto.fonoster.applications.v1beta2.
|
|
3772
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.serializeBinaryToWriter(this, writer);
|
|
3836
3773
|
return writer.getResultBuffer();
|
|
3837
3774
|
};
|
|
3838
3775
|
|
|
@@ -3840,11 +3777,11 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluat
|
|
|
3840
3777
|
/**
|
|
3841
3778
|
* Serializes the given message to binary data (in protobuf wire
|
|
3842
3779
|
* format), writing to the given BinaryWriter.
|
|
3843
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3780
|
+
* @param {!proto.fonoster.applications.v1beta2.ScenarioEvaluationReport} message
|
|
3844
3781
|
* @param {!jspb.BinaryWriter} writer
|
|
3845
3782
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3846
3783
|
*/
|
|
3847
|
-
proto.fonoster.applications.v1beta2.
|
|
3784
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.serializeBinaryToWriter = function(message, writer) {
|
|
3848
3785
|
var f = undefined;
|
|
3849
3786
|
f = message.getScenarioRef();
|
|
3850
3787
|
if (f.length > 0) {
|
|
@@ -3865,7 +3802,7 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluat
|
|
|
3865
3802
|
writer.writeRepeatedMessage(
|
|
3866
3803
|
3,
|
|
3867
3804
|
f,
|
|
3868
|
-
proto.fonoster.applications.v1beta2.
|
|
3805
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.serializeBinaryToWriter
|
|
3869
3806
|
);
|
|
3870
3807
|
}
|
|
3871
3808
|
};
|
|
@@ -3875,16 +3812,16 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluat
|
|
|
3875
3812
|
* optional string scenario_ref = 1;
|
|
3876
3813
|
* @return {string}
|
|
3877
3814
|
*/
|
|
3878
|
-
proto.fonoster.applications.v1beta2.
|
|
3815
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.prototype.getScenarioRef = function() {
|
|
3879
3816
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3880
3817
|
};
|
|
3881
3818
|
|
|
3882
3819
|
|
|
3883
3820
|
/**
|
|
3884
3821
|
* @param {string} value
|
|
3885
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3822
|
+
* @return {!proto.fonoster.applications.v1beta2.ScenarioEvaluationReport} returns this
|
|
3886
3823
|
*/
|
|
3887
|
-
proto.fonoster.applications.v1beta2.
|
|
3824
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.prototype.setScenarioRef = function(value) {
|
|
3888
3825
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3889
3826
|
};
|
|
3890
3827
|
|
|
@@ -3893,96 +3830,58 @@ proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluat
|
|
|
3893
3830
|
* optional bool overall_passed = 2;
|
|
3894
3831
|
* @return {boolean}
|
|
3895
3832
|
*/
|
|
3896
|
-
proto.fonoster.applications.v1beta2.
|
|
3833
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.prototype.getOverallPassed = function() {
|
|
3897
3834
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
3898
3835
|
};
|
|
3899
3836
|
|
|
3900
3837
|
|
|
3901
3838
|
/**
|
|
3902
3839
|
* @param {boolean} value
|
|
3903
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3840
|
+
* @return {!proto.fonoster.applications.v1beta2.ScenarioEvaluationReport} returns this
|
|
3904
3841
|
*/
|
|
3905
|
-
proto.fonoster.applications.v1beta2.
|
|
3842
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.prototype.setOverallPassed = function(value) {
|
|
3906
3843
|
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
3907
3844
|
};
|
|
3908
3845
|
|
|
3909
3846
|
|
|
3910
3847
|
/**
|
|
3911
3848
|
* repeated StepEvaluationReport steps = 3;
|
|
3912
|
-
* @return {!Array<!proto.fonoster.applications.v1beta2.
|
|
3849
|
+
* @return {!Array<!proto.fonoster.applications.v1beta2.StepEvaluationReport>}
|
|
3913
3850
|
*/
|
|
3914
|
-
proto.fonoster.applications.v1beta2.
|
|
3915
|
-
return /** @type{!Array<!proto.fonoster.applications.v1beta2.
|
|
3916
|
-
jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.
|
|
3851
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.prototype.getStepsList = function() {
|
|
3852
|
+
return /** @type{!Array<!proto.fonoster.applications.v1beta2.StepEvaluationReport>} */ (
|
|
3853
|
+
jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.StepEvaluationReport, 3));
|
|
3917
3854
|
};
|
|
3918
3855
|
|
|
3919
3856
|
|
|
3920
3857
|
/**
|
|
3921
|
-
* @param {!Array<!proto.fonoster.applications.v1beta2.
|
|
3922
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3858
|
+
* @param {!Array<!proto.fonoster.applications.v1beta2.StepEvaluationReport>} value
|
|
3859
|
+
* @return {!proto.fonoster.applications.v1beta2.ScenarioEvaluationReport} returns this
|
|
3923
3860
|
*/
|
|
3924
|
-
proto.fonoster.applications.v1beta2.
|
|
3861
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.prototype.setStepsList = function(value) {
|
|
3925
3862
|
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
3926
3863
|
};
|
|
3927
3864
|
|
|
3928
3865
|
|
|
3929
3866
|
/**
|
|
3930
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3867
|
+
* @param {!proto.fonoster.applications.v1beta2.StepEvaluationReport=} opt_value
|
|
3931
3868
|
* @param {number=} opt_index
|
|
3932
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3869
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationReport}
|
|
3933
3870
|
*/
|
|
3934
|
-
proto.fonoster.applications.v1beta2.
|
|
3935
|
-
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.fonoster.applications.v1beta2.
|
|
3871
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.prototype.addSteps = function(opt_value, opt_index) {
|
|
3872
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.fonoster.applications.v1beta2.StepEvaluationReport, opt_index);
|
|
3936
3873
|
};
|
|
3937
3874
|
|
|
3938
3875
|
|
|
3939
3876
|
/**
|
|
3940
3877
|
* Clears the list making it empty but non-null.
|
|
3941
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3878
|
+
* @return {!proto.fonoster.applications.v1beta2.ScenarioEvaluationReport} returns this
|
|
3942
3879
|
*/
|
|
3943
|
-
proto.fonoster.applications.v1beta2.
|
|
3880
|
+
proto.fonoster.applications.v1beta2.ScenarioEvaluationReport.prototype.clearStepsList = function() {
|
|
3944
3881
|
return this.setStepsList([]);
|
|
3945
3882
|
};
|
|
3946
3883
|
|
|
3947
3884
|
|
|
3948
|
-
/**
|
|
3949
|
-
* repeated ScenarioEvaluationReport results = 1;
|
|
3950
|
-
* @return {!Array<!proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluationReport>}
|
|
3951
|
-
*/
|
|
3952
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.prototype.getResultsList = function() {
|
|
3953
|
-
return /** @type{!Array<!proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluationReport>} */ (
|
|
3954
|
-
jspb.Message.getRepeatedWrapperField(this, proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluationReport, 1));
|
|
3955
|
-
};
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
/**
|
|
3959
|
-
* @param {!Array<!proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluationReport>} value
|
|
3960
|
-
* @return {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse} returns this
|
|
3961
|
-
*/
|
|
3962
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.prototype.setResultsList = function(value) {
|
|
3963
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3964
|
-
};
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
/**
|
|
3968
|
-
* @param {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluationReport=} opt_value
|
|
3969
|
-
* @param {number=} opt_index
|
|
3970
|
-
* @return {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluationReport}
|
|
3971
|
-
*/
|
|
3972
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.prototype.addResults = function(opt_value, opt_index) {
|
|
3973
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.ScenarioEvaluationReport, opt_index);
|
|
3974
|
-
};
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
/**
|
|
3978
|
-
* Clears the list making it empty but non-null.
|
|
3979
|
-
* @return {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse} returns this
|
|
3980
|
-
*/
|
|
3981
|
-
proto.fonoster.applications.v1beta2.EvaluateIntelligenceResponse.prototype.clearResultsList = function() {
|
|
3982
|
-
return this.setResultsList([]);
|
|
3983
|
-
};
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
3885
|
|
|
3987
3886
|
|
|
3988
3887
|
|
|
@@ -3999,8 +3898,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3999
3898
|
* http://goto/soy-param-migration
|
|
4000
3899
|
* @return {!Object}
|
|
4001
3900
|
*/
|
|
4002
|
-
proto.fonoster.applications.v1beta2.
|
|
4003
|
-
return proto.fonoster.applications.v1beta2.
|
|
3901
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.prototype.toObject = function(opt_includeInstance) {
|
|
3902
|
+
return proto.fonoster.applications.v1beta2.StepEvaluationResult.toObject(opt_includeInstance, this);
|
|
4004
3903
|
};
|
|
4005
3904
|
|
|
4006
3905
|
|
|
@@ -4009,18 +3908,14 @@ proto.fonoster.applications.v1beta2.TestTokenResponse.prototype.toObject = funct
|
|
|
4009
3908
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4010
3909
|
* the JSPB instance for transitional soy proto support:
|
|
4011
3910
|
* http://goto/soy-param-migration
|
|
4012
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3911
|
+
* @param {!proto.fonoster.applications.v1beta2.StepEvaluationResult} msg The msg instance to transform.
|
|
4013
3912
|
* @return {!Object}
|
|
4014
3913
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4015
3914
|
*/
|
|
4016
|
-
proto.fonoster.applications.v1beta2.
|
|
3915
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.toObject = function(includeInstance, msg) {
|
|
4017
3916
|
var f, obj = {
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
displayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4021
|
-
signalingServer: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4022
|
-
targetAor: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4023
|
-
username: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
3917
|
+
scenarioRef: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3918
|
+
report: (f = msg.getReport()) && proto.fonoster.applications.v1beta2.StepEvaluationReport.toObject(includeInstance, f)
|
|
4024
3919
|
};
|
|
4025
3920
|
|
|
4026
3921
|
if (includeInstance) {
|
|
@@ -4034,23 +3929,23 @@ username: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
|
4034
3929
|
/**
|
|
4035
3930
|
* Deserializes binary data (in protobuf wire format).
|
|
4036
3931
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4037
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3932
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationResult}
|
|
4038
3933
|
*/
|
|
4039
|
-
proto.fonoster.applications.v1beta2.
|
|
3934
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.deserializeBinary = function(bytes) {
|
|
4040
3935
|
var reader = new jspb.BinaryReader(bytes);
|
|
4041
|
-
var msg = new proto.fonoster.applications.v1beta2.
|
|
4042
|
-
return proto.fonoster.applications.v1beta2.
|
|
3936
|
+
var msg = new proto.fonoster.applications.v1beta2.StepEvaluationResult;
|
|
3937
|
+
return proto.fonoster.applications.v1beta2.StepEvaluationResult.deserializeBinaryFromReader(msg, reader);
|
|
4043
3938
|
};
|
|
4044
3939
|
|
|
4045
3940
|
|
|
4046
3941
|
/**
|
|
4047
3942
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4048
3943
|
* given reader into the given message object.
|
|
4049
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3944
|
+
* @param {!proto.fonoster.applications.v1beta2.StepEvaluationResult} msg The message object to deserialize into.
|
|
4050
3945
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4051
|
-
* @return {!proto.fonoster.applications.v1beta2.
|
|
3946
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationResult}
|
|
4052
3947
|
*/
|
|
4053
|
-
proto.fonoster.applications.v1beta2.
|
|
3948
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.deserializeBinaryFromReader = function(msg, reader) {
|
|
4054
3949
|
while (reader.nextField()) {
|
|
4055
3950
|
if (reader.isEndGroup()) {
|
|
4056
3951
|
break;
|
|
@@ -4059,27 +3954,12 @@ proto.fonoster.applications.v1beta2.TestTokenResponse.deserializeBinaryFromReade
|
|
|
4059
3954
|
switch (field) {
|
|
4060
3955
|
case 1:
|
|
4061
3956
|
var value = /** @type {string} */ (reader.readString());
|
|
4062
|
-
msg.
|
|
3957
|
+
msg.setScenarioRef(value);
|
|
4063
3958
|
break;
|
|
4064
3959
|
case 2:
|
|
4065
|
-
var value =
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
case 3:
|
|
4069
|
-
var value = /** @type {string} */ (reader.readString());
|
|
4070
|
-
msg.setDisplayName(value);
|
|
4071
|
-
break;
|
|
4072
|
-
case 4:
|
|
4073
|
-
var value = /** @type {string} */ (reader.readString());
|
|
4074
|
-
msg.setSignalingServer(value);
|
|
4075
|
-
break;
|
|
4076
|
-
case 5:
|
|
4077
|
-
var value = /** @type {string} */ (reader.readString());
|
|
4078
|
-
msg.setTargetAor(value);
|
|
4079
|
-
break;
|
|
4080
|
-
case 6:
|
|
4081
|
-
var value = /** @type {string} */ (reader.readString());
|
|
4082
|
-
msg.setUsername(value);
|
|
3960
|
+
var value = new proto.fonoster.applications.v1beta2.StepEvaluationReport;
|
|
3961
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.StepEvaluationReport.deserializeBinaryFromReader);
|
|
3962
|
+
msg.setReport(value);
|
|
4083
3963
|
break;
|
|
4084
3964
|
default:
|
|
4085
3965
|
reader.skipField();
|
|
@@ -4094,9 +3974,9 @@ proto.fonoster.applications.v1beta2.TestTokenResponse.deserializeBinaryFromReade
|
|
|
4094
3974
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4095
3975
|
* @return {!Uint8Array}
|
|
4096
3976
|
*/
|
|
4097
|
-
proto.fonoster.applications.v1beta2.
|
|
3977
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.prototype.serializeBinary = function() {
|
|
4098
3978
|
var writer = new jspb.BinaryWriter();
|
|
4099
|
-
proto.fonoster.applications.v1beta2.
|
|
3979
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.serializeBinaryToWriter(this, writer);
|
|
4100
3980
|
return writer.getResultBuffer();
|
|
4101
3981
|
};
|
|
4102
3982
|
|
|
@@ -4104,48 +3984,818 @@ proto.fonoster.applications.v1beta2.TestTokenResponse.prototype.serializeBinary
|
|
|
4104
3984
|
/**
|
|
4105
3985
|
* Serializes the given message to binary data (in protobuf wire
|
|
4106
3986
|
* format), writing to the given BinaryWriter.
|
|
4107
|
-
* @param {!proto.fonoster.applications.v1beta2.
|
|
3987
|
+
* @param {!proto.fonoster.applications.v1beta2.StepEvaluationResult} message
|
|
4108
3988
|
* @param {!jspb.BinaryWriter} writer
|
|
4109
3989
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4110
3990
|
*/
|
|
4111
|
-
proto.fonoster.applications.v1beta2.
|
|
3991
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.serializeBinaryToWriter = function(message, writer) {
|
|
4112
3992
|
var f = undefined;
|
|
4113
|
-
f = message.
|
|
3993
|
+
f = message.getScenarioRef();
|
|
4114
3994
|
if (f.length > 0) {
|
|
4115
3995
|
writer.writeString(
|
|
4116
3996
|
1,
|
|
4117
3997
|
f
|
|
4118
3998
|
);
|
|
4119
3999
|
}
|
|
4120
|
-
f = message.
|
|
4121
|
-
if (f
|
|
4122
|
-
writer.
|
|
4000
|
+
f = message.getReport();
|
|
4001
|
+
if (f != null) {
|
|
4002
|
+
writer.writeMessage(
|
|
4123
4003
|
2,
|
|
4124
|
-
f
|
|
4125
|
-
|
|
4126
|
-
}
|
|
4127
|
-
f = message.getDisplayName();
|
|
4128
|
-
if (f.length > 0) {
|
|
4129
|
-
writer.writeString(
|
|
4130
|
-
3,
|
|
4131
|
-
f
|
|
4132
|
-
);
|
|
4133
|
-
}
|
|
4134
|
-
f = message.getSignalingServer();
|
|
4135
|
-
if (f.length > 0) {
|
|
4136
|
-
writer.writeString(
|
|
4137
|
-
4,
|
|
4138
|
-
f
|
|
4139
|
-
);
|
|
4140
|
-
}
|
|
4141
|
-
f = message.getTargetAor();
|
|
4142
|
-
if (f.length > 0) {
|
|
4143
|
-
writer.writeString(
|
|
4144
|
-
5,
|
|
4145
|
-
f
|
|
4004
|
+
f,
|
|
4005
|
+
proto.fonoster.applications.v1beta2.StepEvaluationReport.serializeBinaryToWriter
|
|
4146
4006
|
);
|
|
4147
4007
|
}
|
|
4148
|
-
|
|
4008
|
+
};
|
|
4009
|
+
|
|
4010
|
+
|
|
4011
|
+
/**
|
|
4012
|
+
* optional string scenario_ref = 1;
|
|
4013
|
+
* @return {string}
|
|
4014
|
+
*/
|
|
4015
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.prototype.getScenarioRef = function() {
|
|
4016
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4017
|
+
};
|
|
4018
|
+
|
|
4019
|
+
|
|
4020
|
+
/**
|
|
4021
|
+
* @param {string} value
|
|
4022
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationResult} returns this
|
|
4023
|
+
*/
|
|
4024
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.prototype.setScenarioRef = function(value) {
|
|
4025
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4026
|
+
};
|
|
4027
|
+
|
|
4028
|
+
|
|
4029
|
+
/**
|
|
4030
|
+
* optional StepEvaluationReport report = 2;
|
|
4031
|
+
* @return {?proto.fonoster.applications.v1beta2.StepEvaluationReport}
|
|
4032
|
+
*/
|
|
4033
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.prototype.getReport = function() {
|
|
4034
|
+
return /** @type{?proto.fonoster.applications.v1beta2.StepEvaluationReport} */ (
|
|
4035
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.StepEvaluationReport, 2));
|
|
4036
|
+
};
|
|
4037
|
+
|
|
4038
|
+
|
|
4039
|
+
/**
|
|
4040
|
+
* @param {?proto.fonoster.applications.v1beta2.StepEvaluationReport|undefined} value
|
|
4041
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationResult} returns this
|
|
4042
|
+
*/
|
|
4043
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.prototype.setReport = function(value) {
|
|
4044
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
4045
|
+
};
|
|
4046
|
+
|
|
4047
|
+
|
|
4048
|
+
/**
|
|
4049
|
+
* Clears the message field making it undefined.
|
|
4050
|
+
* @return {!proto.fonoster.applications.v1beta2.StepEvaluationResult} returns this
|
|
4051
|
+
*/
|
|
4052
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.prototype.clearReport = function() {
|
|
4053
|
+
return this.setReport(undefined);
|
|
4054
|
+
};
|
|
4055
|
+
|
|
4056
|
+
|
|
4057
|
+
/**
|
|
4058
|
+
* Returns whether this field is set.
|
|
4059
|
+
* @return {boolean}
|
|
4060
|
+
*/
|
|
4061
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.prototype.hasReport = function() {
|
|
4062
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4063
|
+
};
|
|
4064
|
+
|
|
4065
|
+
|
|
4066
|
+
|
|
4067
|
+
|
|
4068
|
+
|
|
4069
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4070
|
+
/**
|
|
4071
|
+
* Creates an object representation of this proto.
|
|
4072
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4073
|
+
* Optional fields that are not set will be set to undefined.
|
|
4074
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4075
|
+
* For the list of reserved names please see:
|
|
4076
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4077
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4078
|
+
* JSPB instance for transitional soy proto support:
|
|
4079
|
+
* http://goto/soy-param-migration
|
|
4080
|
+
* @return {!Object}
|
|
4081
|
+
*/
|
|
4082
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary.prototype.toObject = function(opt_includeInstance) {
|
|
4083
|
+
return proto.fonoster.applications.v1beta2.ScenarioSummary.toObject(opt_includeInstance, this);
|
|
4084
|
+
};
|
|
4085
|
+
|
|
4086
|
+
|
|
4087
|
+
/**
|
|
4088
|
+
* Static version of the {@see toObject} method.
|
|
4089
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4090
|
+
* the JSPB instance for transitional soy proto support:
|
|
4091
|
+
* http://goto/soy-param-migration
|
|
4092
|
+
* @param {!proto.fonoster.applications.v1beta2.ScenarioSummary} msg The msg instance to transform.
|
|
4093
|
+
* @return {!Object}
|
|
4094
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4095
|
+
*/
|
|
4096
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary.toObject = function(includeInstance, msg) {
|
|
4097
|
+
var f, obj = {
|
|
4098
|
+
scenarioRef: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4099
|
+
overallPassed: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
4100
|
+
};
|
|
4101
|
+
|
|
4102
|
+
if (includeInstance) {
|
|
4103
|
+
obj.$jspbMessageInstance = msg;
|
|
4104
|
+
}
|
|
4105
|
+
return obj;
|
|
4106
|
+
};
|
|
4107
|
+
}
|
|
4108
|
+
|
|
4109
|
+
|
|
4110
|
+
/**
|
|
4111
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4112
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4113
|
+
* @return {!proto.fonoster.applications.v1beta2.ScenarioSummary}
|
|
4114
|
+
*/
|
|
4115
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary.deserializeBinary = function(bytes) {
|
|
4116
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4117
|
+
var msg = new proto.fonoster.applications.v1beta2.ScenarioSummary;
|
|
4118
|
+
return proto.fonoster.applications.v1beta2.ScenarioSummary.deserializeBinaryFromReader(msg, reader);
|
|
4119
|
+
};
|
|
4120
|
+
|
|
4121
|
+
|
|
4122
|
+
/**
|
|
4123
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4124
|
+
* given reader into the given message object.
|
|
4125
|
+
* @param {!proto.fonoster.applications.v1beta2.ScenarioSummary} msg The message object to deserialize into.
|
|
4126
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4127
|
+
* @return {!proto.fonoster.applications.v1beta2.ScenarioSummary}
|
|
4128
|
+
*/
|
|
4129
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary.deserializeBinaryFromReader = function(msg, reader) {
|
|
4130
|
+
while (reader.nextField()) {
|
|
4131
|
+
if (reader.isEndGroup()) {
|
|
4132
|
+
break;
|
|
4133
|
+
}
|
|
4134
|
+
var field = reader.getFieldNumber();
|
|
4135
|
+
switch (field) {
|
|
4136
|
+
case 1:
|
|
4137
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4138
|
+
msg.setScenarioRef(value);
|
|
4139
|
+
break;
|
|
4140
|
+
case 2:
|
|
4141
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4142
|
+
msg.setOverallPassed(value);
|
|
4143
|
+
break;
|
|
4144
|
+
default:
|
|
4145
|
+
reader.skipField();
|
|
4146
|
+
break;
|
|
4147
|
+
}
|
|
4148
|
+
}
|
|
4149
|
+
return msg;
|
|
4150
|
+
};
|
|
4151
|
+
|
|
4152
|
+
|
|
4153
|
+
/**
|
|
4154
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4155
|
+
* @return {!Uint8Array}
|
|
4156
|
+
*/
|
|
4157
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary.prototype.serializeBinary = function() {
|
|
4158
|
+
var writer = new jspb.BinaryWriter();
|
|
4159
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary.serializeBinaryToWriter(this, writer);
|
|
4160
|
+
return writer.getResultBuffer();
|
|
4161
|
+
};
|
|
4162
|
+
|
|
4163
|
+
|
|
4164
|
+
/**
|
|
4165
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4166
|
+
* format), writing to the given BinaryWriter.
|
|
4167
|
+
* @param {!proto.fonoster.applications.v1beta2.ScenarioSummary} message
|
|
4168
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4169
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4170
|
+
*/
|
|
4171
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary.serializeBinaryToWriter = function(message, writer) {
|
|
4172
|
+
var f = undefined;
|
|
4173
|
+
f = message.getScenarioRef();
|
|
4174
|
+
if (f.length > 0) {
|
|
4175
|
+
writer.writeString(
|
|
4176
|
+
1,
|
|
4177
|
+
f
|
|
4178
|
+
);
|
|
4179
|
+
}
|
|
4180
|
+
f = message.getOverallPassed();
|
|
4181
|
+
if (f) {
|
|
4182
|
+
writer.writeBool(
|
|
4183
|
+
2,
|
|
4184
|
+
f
|
|
4185
|
+
);
|
|
4186
|
+
}
|
|
4187
|
+
};
|
|
4188
|
+
|
|
4189
|
+
|
|
4190
|
+
/**
|
|
4191
|
+
* optional string scenario_ref = 1;
|
|
4192
|
+
* @return {string}
|
|
4193
|
+
*/
|
|
4194
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary.prototype.getScenarioRef = function() {
|
|
4195
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4196
|
+
};
|
|
4197
|
+
|
|
4198
|
+
|
|
4199
|
+
/**
|
|
4200
|
+
* @param {string} value
|
|
4201
|
+
* @return {!proto.fonoster.applications.v1beta2.ScenarioSummary} returns this
|
|
4202
|
+
*/
|
|
4203
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary.prototype.setScenarioRef = function(value) {
|
|
4204
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4205
|
+
};
|
|
4206
|
+
|
|
4207
|
+
|
|
4208
|
+
/**
|
|
4209
|
+
* optional bool overall_passed = 2;
|
|
4210
|
+
* @return {boolean}
|
|
4211
|
+
*/
|
|
4212
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary.prototype.getOverallPassed = function() {
|
|
4213
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
4214
|
+
};
|
|
4215
|
+
|
|
4216
|
+
|
|
4217
|
+
/**
|
|
4218
|
+
* @param {boolean} value
|
|
4219
|
+
* @return {!proto.fonoster.applications.v1beta2.ScenarioSummary} returns this
|
|
4220
|
+
*/
|
|
4221
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary.prototype.setOverallPassed = function(value) {
|
|
4222
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
4223
|
+
};
|
|
4224
|
+
|
|
4225
|
+
|
|
4226
|
+
|
|
4227
|
+
|
|
4228
|
+
|
|
4229
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4230
|
+
/**
|
|
4231
|
+
* Creates an object representation of this proto.
|
|
4232
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4233
|
+
* Optional fields that are not set will be set to undefined.
|
|
4234
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4235
|
+
* For the list of reserved names please see:
|
|
4236
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4237
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4238
|
+
* JSPB instance for transitional soy proto support:
|
|
4239
|
+
* http://goto/soy-param-migration
|
|
4240
|
+
* @return {!Object}
|
|
4241
|
+
*/
|
|
4242
|
+
proto.fonoster.applications.v1beta2.EvalError.prototype.toObject = function(opt_includeInstance) {
|
|
4243
|
+
return proto.fonoster.applications.v1beta2.EvalError.toObject(opt_includeInstance, this);
|
|
4244
|
+
};
|
|
4245
|
+
|
|
4246
|
+
|
|
4247
|
+
/**
|
|
4248
|
+
* Static version of the {@see toObject} method.
|
|
4249
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4250
|
+
* the JSPB instance for transitional soy proto support:
|
|
4251
|
+
* http://goto/soy-param-migration
|
|
4252
|
+
* @param {!proto.fonoster.applications.v1beta2.EvalError} msg The msg instance to transform.
|
|
4253
|
+
* @return {!Object}
|
|
4254
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4255
|
+
*/
|
|
4256
|
+
proto.fonoster.applications.v1beta2.EvalError.toObject = function(includeInstance, msg) {
|
|
4257
|
+
var f, obj = {
|
|
4258
|
+
message: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
4259
|
+
};
|
|
4260
|
+
|
|
4261
|
+
if (includeInstance) {
|
|
4262
|
+
obj.$jspbMessageInstance = msg;
|
|
4263
|
+
}
|
|
4264
|
+
return obj;
|
|
4265
|
+
};
|
|
4266
|
+
}
|
|
4267
|
+
|
|
4268
|
+
|
|
4269
|
+
/**
|
|
4270
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4271
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4272
|
+
* @return {!proto.fonoster.applications.v1beta2.EvalError}
|
|
4273
|
+
*/
|
|
4274
|
+
proto.fonoster.applications.v1beta2.EvalError.deserializeBinary = function(bytes) {
|
|
4275
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4276
|
+
var msg = new proto.fonoster.applications.v1beta2.EvalError;
|
|
4277
|
+
return proto.fonoster.applications.v1beta2.EvalError.deserializeBinaryFromReader(msg, reader);
|
|
4278
|
+
};
|
|
4279
|
+
|
|
4280
|
+
|
|
4281
|
+
/**
|
|
4282
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4283
|
+
* given reader into the given message object.
|
|
4284
|
+
* @param {!proto.fonoster.applications.v1beta2.EvalError} msg The message object to deserialize into.
|
|
4285
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4286
|
+
* @return {!proto.fonoster.applications.v1beta2.EvalError}
|
|
4287
|
+
*/
|
|
4288
|
+
proto.fonoster.applications.v1beta2.EvalError.deserializeBinaryFromReader = function(msg, reader) {
|
|
4289
|
+
while (reader.nextField()) {
|
|
4290
|
+
if (reader.isEndGroup()) {
|
|
4291
|
+
break;
|
|
4292
|
+
}
|
|
4293
|
+
var field = reader.getFieldNumber();
|
|
4294
|
+
switch (field) {
|
|
4295
|
+
case 1:
|
|
4296
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4297
|
+
msg.setMessage(value);
|
|
4298
|
+
break;
|
|
4299
|
+
default:
|
|
4300
|
+
reader.skipField();
|
|
4301
|
+
break;
|
|
4302
|
+
}
|
|
4303
|
+
}
|
|
4304
|
+
return msg;
|
|
4305
|
+
};
|
|
4306
|
+
|
|
4307
|
+
|
|
4308
|
+
/**
|
|
4309
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4310
|
+
* @return {!Uint8Array}
|
|
4311
|
+
*/
|
|
4312
|
+
proto.fonoster.applications.v1beta2.EvalError.prototype.serializeBinary = function() {
|
|
4313
|
+
var writer = new jspb.BinaryWriter();
|
|
4314
|
+
proto.fonoster.applications.v1beta2.EvalError.serializeBinaryToWriter(this, writer);
|
|
4315
|
+
return writer.getResultBuffer();
|
|
4316
|
+
};
|
|
4317
|
+
|
|
4318
|
+
|
|
4319
|
+
/**
|
|
4320
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4321
|
+
* format), writing to the given BinaryWriter.
|
|
4322
|
+
* @param {!proto.fonoster.applications.v1beta2.EvalError} message
|
|
4323
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4324
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4325
|
+
*/
|
|
4326
|
+
proto.fonoster.applications.v1beta2.EvalError.serializeBinaryToWriter = function(message, writer) {
|
|
4327
|
+
var f = undefined;
|
|
4328
|
+
f = message.getMessage();
|
|
4329
|
+
if (f.length > 0) {
|
|
4330
|
+
writer.writeString(
|
|
4331
|
+
1,
|
|
4332
|
+
f
|
|
4333
|
+
);
|
|
4334
|
+
}
|
|
4335
|
+
};
|
|
4336
|
+
|
|
4337
|
+
|
|
4338
|
+
/**
|
|
4339
|
+
* optional string message = 1;
|
|
4340
|
+
* @return {string}
|
|
4341
|
+
*/
|
|
4342
|
+
proto.fonoster.applications.v1beta2.EvalError.prototype.getMessage = function() {
|
|
4343
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4344
|
+
};
|
|
4345
|
+
|
|
4346
|
+
|
|
4347
|
+
/**
|
|
4348
|
+
* @param {string} value
|
|
4349
|
+
* @return {!proto.fonoster.applications.v1beta2.EvalError} returns this
|
|
4350
|
+
*/
|
|
4351
|
+
proto.fonoster.applications.v1beta2.EvalError.prototype.setMessage = function(value) {
|
|
4352
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4353
|
+
};
|
|
4354
|
+
|
|
4355
|
+
|
|
4356
|
+
|
|
4357
|
+
/**
|
|
4358
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
4359
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
4360
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
4361
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
4362
|
+
* @private {!Array<!Array<number>>}
|
|
4363
|
+
* @const
|
|
4364
|
+
*/
|
|
4365
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.oneofGroups_ = [[1,2,3]];
|
|
4366
|
+
|
|
4367
|
+
/**
|
|
4368
|
+
* @enum {number}
|
|
4369
|
+
*/
|
|
4370
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.EventCase = {
|
|
4371
|
+
EVENT_NOT_SET: 0,
|
|
4372
|
+
STEP_RESULT: 1,
|
|
4373
|
+
SCENARIO_SUMMARY: 2,
|
|
4374
|
+
EVAL_ERROR: 3
|
|
4375
|
+
};
|
|
4376
|
+
|
|
4377
|
+
/**
|
|
4378
|
+
* @return {proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.EventCase}
|
|
4379
|
+
*/
|
|
4380
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.getEventCase = function() {
|
|
4381
|
+
return /** @type {proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.EventCase} */(jspb.Message.computeOneofCase(this, proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.oneofGroups_[0]));
|
|
4382
|
+
};
|
|
4383
|
+
|
|
4384
|
+
|
|
4385
|
+
|
|
4386
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4387
|
+
/**
|
|
4388
|
+
* Creates an object representation of this proto.
|
|
4389
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4390
|
+
* Optional fields that are not set will be set to undefined.
|
|
4391
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4392
|
+
* For the list of reserved names please see:
|
|
4393
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4394
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4395
|
+
* JSPB instance for transitional soy proto support:
|
|
4396
|
+
* http://goto/soy-param-migration
|
|
4397
|
+
* @return {!Object}
|
|
4398
|
+
*/
|
|
4399
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.toObject = function(opt_includeInstance) {
|
|
4400
|
+
return proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.toObject(opt_includeInstance, this);
|
|
4401
|
+
};
|
|
4402
|
+
|
|
4403
|
+
|
|
4404
|
+
/**
|
|
4405
|
+
* Static version of the {@see toObject} method.
|
|
4406
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4407
|
+
* the JSPB instance for transitional soy proto support:
|
|
4408
|
+
* http://goto/soy-param-migration
|
|
4409
|
+
* @param {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent} msg The msg instance to transform.
|
|
4410
|
+
* @return {!Object}
|
|
4411
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4412
|
+
*/
|
|
4413
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.toObject = function(includeInstance, msg) {
|
|
4414
|
+
var f, obj = {
|
|
4415
|
+
stepResult: (f = msg.getStepResult()) && proto.fonoster.applications.v1beta2.StepEvaluationResult.toObject(includeInstance, f),
|
|
4416
|
+
scenarioSummary: (f = msg.getScenarioSummary()) && proto.fonoster.applications.v1beta2.ScenarioSummary.toObject(includeInstance, f),
|
|
4417
|
+
evalError: (f = msg.getEvalError()) && proto.fonoster.applications.v1beta2.EvalError.toObject(includeInstance, f)
|
|
4418
|
+
};
|
|
4419
|
+
|
|
4420
|
+
if (includeInstance) {
|
|
4421
|
+
obj.$jspbMessageInstance = msg;
|
|
4422
|
+
}
|
|
4423
|
+
return obj;
|
|
4424
|
+
};
|
|
4425
|
+
}
|
|
4426
|
+
|
|
4427
|
+
|
|
4428
|
+
/**
|
|
4429
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4430
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4431
|
+
* @return {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent}
|
|
4432
|
+
*/
|
|
4433
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.deserializeBinary = function(bytes) {
|
|
4434
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4435
|
+
var msg = new proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent;
|
|
4436
|
+
return proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.deserializeBinaryFromReader(msg, reader);
|
|
4437
|
+
};
|
|
4438
|
+
|
|
4439
|
+
|
|
4440
|
+
/**
|
|
4441
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4442
|
+
* given reader into the given message object.
|
|
4443
|
+
* @param {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent} msg The message object to deserialize into.
|
|
4444
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4445
|
+
* @return {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent}
|
|
4446
|
+
*/
|
|
4447
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.deserializeBinaryFromReader = function(msg, reader) {
|
|
4448
|
+
while (reader.nextField()) {
|
|
4449
|
+
if (reader.isEndGroup()) {
|
|
4450
|
+
break;
|
|
4451
|
+
}
|
|
4452
|
+
var field = reader.getFieldNumber();
|
|
4453
|
+
switch (field) {
|
|
4454
|
+
case 1:
|
|
4455
|
+
var value = new proto.fonoster.applications.v1beta2.StepEvaluationResult;
|
|
4456
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.StepEvaluationResult.deserializeBinaryFromReader);
|
|
4457
|
+
msg.setStepResult(value);
|
|
4458
|
+
break;
|
|
4459
|
+
case 2:
|
|
4460
|
+
var value = new proto.fonoster.applications.v1beta2.ScenarioSummary;
|
|
4461
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.ScenarioSummary.deserializeBinaryFromReader);
|
|
4462
|
+
msg.setScenarioSummary(value);
|
|
4463
|
+
break;
|
|
4464
|
+
case 3:
|
|
4465
|
+
var value = new proto.fonoster.applications.v1beta2.EvalError;
|
|
4466
|
+
reader.readMessage(value,proto.fonoster.applications.v1beta2.EvalError.deserializeBinaryFromReader);
|
|
4467
|
+
msg.setEvalError(value);
|
|
4468
|
+
break;
|
|
4469
|
+
default:
|
|
4470
|
+
reader.skipField();
|
|
4471
|
+
break;
|
|
4472
|
+
}
|
|
4473
|
+
}
|
|
4474
|
+
return msg;
|
|
4475
|
+
};
|
|
4476
|
+
|
|
4477
|
+
|
|
4478
|
+
/**
|
|
4479
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4480
|
+
* @return {!Uint8Array}
|
|
4481
|
+
*/
|
|
4482
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.serializeBinary = function() {
|
|
4483
|
+
var writer = new jspb.BinaryWriter();
|
|
4484
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.serializeBinaryToWriter(this, writer);
|
|
4485
|
+
return writer.getResultBuffer();
|
|
4486
|
+
};
|
|
4487
|
+
|
|
4488
|
+
|
|
4489
|
+
/**
|
|
4490
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4491
|
+
* format), writing to the given BinaryWriter.
|
|
4492
|
+
* @param {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent} message
|
|
4493
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4494
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4495
|
+
*/
|
|
4496
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.serializeBinaryToWriter = function(message, writer) {
|
|
4497
|
+
var f = undefined;
|
|
4498
|
+
f = message.getStepResult();
|
|
4499
|
+
if (f != null) {
|
|
4500
|
+
writer.writeMessage(
|
|
4501
|
+
1,
|
|
4502
|
+
f,
|
|
4503
|
+
proto.fonoster.applications.v1beta2.StepEvaluationResult.serializeBinaryToWriter
|
|
4504
|
+
);
|
|
4505
|
+
}
|
|
4506
|
+
f = message.getScenarioSummary();
|
|
4507
|
+
if (f != null) {
|
|
4508
|
+
writer.writeMessage(
|
|
4509
|
+
2,
|
|
4510
|
+
f,
|
|
4511
|
+
proto.fonoster.applications.v1beta2.ScenarioSummary.serializeBinaryToWriter
|
|
4512
|
+
);
|
|
4513
|
+
}
|
|
4514
|
+
f = message.getEvalError();
|
|
4515
|
+
if (f != null) {
|
|
4516
|
+
writer.writeMessage(
|
|
4517
|
+
3,
|
|
4518
|
+
f,
|
|
4519
|
+
proto.fonoster.applications.v1beta2.EvalError.serializeBinaryToWriter
|
|
4520
|
+
);
|
|
4521
|
+
}
|
|
4522
|
+
};
|
|
4523
|
+
|
|
4524
|
+
|
|
4525
|
+
/**
|
|
4526
|
+
* optional StepEvaluationResult step_result = 1;
|
|
4527
|
+
* @return {?proto.fonoster.applications.v1beta2.StepEvaluationResult}
|
|
4528
|
+
*/
|
|
4529
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.getStepResult = function() {
|
|
4530
|
+
return /** @type{?proto.fonoster.applications.v1beta2.StepEvaluationResult} */ (
|
|
4531
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.StepEvaluationResult, 1));
|
|
4532
|
+
};
|
|
4533
|
+
|
|
4534
|
+
|
|
4535
|
+
/**
|
|
4536
|
+
* @param {?proto.fonoster.applications.v1beta2.StepEvaluationResult|undefined} value
|
|
4537
|
+
* @return {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent} returns this
|
|
4538
|
+
*/
|
|
4539
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.setStepResult = function(value) {
|
|
4540
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.oneofGroups_[0], value);
|
|
4541
|
+
};
|
|
4542
|
+
|
|
4543
|
+
|
|
4544
|
+
/**
|
|
4545
|
+
* Clears the message field making it undefined.
|
|
4546
|
+
* @return {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent} returns this
|
|
4547
|
+
*/
|
|
4548
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.clearStepResult = function() {
|
|
4549
|
+
return this.setStepResult(undefined);
|
|
4550
|
+
};
|
|
4551
|
+
|
|
4552
|
+
|
|
4553
|
+
/**
|
|
4554
|
+
* Returns whether this field is set.
|
|
4555
|
+
* @return {boolean}
|
|
4556
|
+
*/
|
|
4557
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.hasStepResult = function() {
|
|
4558
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4559
|
+
};
|
|
4560
|
+
|
|
4561
|
+
|
|
4562
|
+
/**
|
|
4563
|
+
* optional ScenarioSummary scenario_summary = 2;
|
|
4564
|
+
* @return {?proto.fonoster.applications.v1beta2.ScenarioSummary}
|
|
4565
|
+
*/
|
|
4566
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.getScenarioSummary = function() {
|
|
4567
|
+
return /** @type{?proto.fonoster.applications.v1beta2.ScenarioSummary} */ (
|
|
4568
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.ScenarioSummary, 2));
|
|
4569
|
+
};
|
|
4570
|
+
|
|
4571
|
+
|
|
4572
|
+
/**
|
|
4573
|
+
* @param {?proto.fonoster.applications.v1beta2.ScenarioSummary|undefined} value
|
|
4574
|
+
* @return {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent} returns this
|
|
4575
|
+
*/
|
|
4576
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.setScenarioSummary = function(value) {
|
|
4577
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.oneofGroups_[0], value);
|
|
4578
|
+
};
|
|
4579
|
+
|
|
4580
|
+
|
|
4581
|
+
/**
|
|
4582
|
+
* Clears the message field making it undefined.
|
|
4583
|
+
* @return {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent} returns this
|
|
4584
|
+
*/
|
|
4585
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.clearScenarioSummary = function() {
|
|
4586
|
+
return this.setScenarioSummary(undefined);
|
|
4587
|
+
};
|
|
4588
|
+
|
|
4589
|
+
|
|
4590
|
+
/**
|
|
4591
|
+
* Returns whether this field is set.
|
|
4592
|
+
* @return {boolean}
|
|
4593
|
+
*/
|
|
4594
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.hasScenarioSummary = function() {
|
|
4595
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4596
|
+
};
|
|
4597
|
+
|
|
4598
|
+
|
|
4599
|
+
/**
|
|
4600
|
+
* optional EvalError eval_error = 3;
|
|
4601
|
+
* @return {?proto.fonoster.applications.v1beta2.EvalError}
|
|
4602
|
+
*/
|
|
4603
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.getEvalError = function() {
|
|
4604
|
+
return /** @type{?proto.fonoster.applications.v1beta2.EvalError} */ (
|
|
4605
|
+
jspb.Message.getWrapperField(this, proto.fonoster.applications.v1beta2.EvalError, 3));
|
|
4606
|
+
};
|
|
4607
|
+
|
|
4608
|
+
|
|
4609
|
+
/**
|
|
4610
|
+
* @param {?proto.fonoster.applications.v1beta2.EvalError|undefined} value
|
|
4611
|
+
* @return {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent} returns this
|
|
4612
|
+
*/
|
|
4613
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.setEvalError = function(value) {
|
|
4614
|
+
return jspb.Message.setOneofWrapperField(this, 3, proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.oneofGroups_[0], value);
|
|
4615
|
+
};
|
|
4616
|
+
|
|
4617
|
+
|
|
4618
|
+
/**
|
|
4619
|
+
* Clears the message field making it undefined.
|
|
4620
|
+
* @return {!proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent} returns this
|
|
4621
|
+
*/
|
|
4622
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.clearEvalError = function() {
|
|
4623
|
+
return this.setEvalError(undefined);
|
|
4624
|
+
};
|
|
4625
|
+
|
|
4626
|
+
|
|
4627
|
+
/**
|
|
4628
|
+
* Returns whether this field is set.
|
|
4629
|
+
* @return {boolean}
|
|
4630
|
+
*/
|
|
4631
|
+
proto.fonoster.applications.v1beta2.EvaluateIntelligenceEvent.prototype.hasEvalError = function() {
|
|
4632
|
+
return jspb.Message.getField(this, 3) != null;
|
|
4633
|
+
};
|
|
4634
|
+
|
|
4635
|
+
|
|
4636
|
+
|
|
4637
|
+
|
|
4638
|
+
|
|
4639
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4640
|
+
/**
|
|
4641
|
+
* Creates an object representation of this proto.
|
|
4642
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4643
|
+
* Optional fields that are not set will be set to undefined.
|
|
4644
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4645
|
+
* For the list of reserved names please see:
|
|
4646
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4647
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4648
|
+
* JSPB instance for transitional soy proto support:
|
|
4649
|
+
* http://goto/soy-param-migration
|
|
4650
|
+
* @return {!Object}
|
|
4651
|
+
*/
|
|
4652
|
+
proto.fonoster.applications.v1beta2.TestTokenResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4653
|
+
return proto.fonoster.applications.v1beta2.TestTokenResponse.toObject(opt_includeInstance, this);
|
|
4654
|
+
};
|
|
4655
|
+
|
|
4656
|
+
|
|
4657
|
+
/**
|
|
4658
|
+
* Static version of the {@see toObject} method.
|
|
4659
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4660
|
+
* the JSPB instance for transitional soy proto support:
|
|
4661
|
+
* http://goto/soy-param-migration
|
|
4662
|
+
* @param {!proto.fonoster.applications.v1beta2.TestTokenResponse} msg The msg instance to transform.
|
|
4663
|
+
* @return {!Object}
|
|
4664
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4665
|
+
*/
|
|
4666
|
+
proto.fonoster.applications.v1beta2.TestTokenResponse.toObject = function(includeInstance, msg) {
|
|
4667
|
+
var f, obj = {
|
|
4668
|
+
token: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4669
|
+
domain: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4670
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4671
|
+
signalingServer: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4672
|
+
targetAor: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4673
|
+
username: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
4674
|
+
};
|
|
4675
|
+
|
|
4676
|
+
if (includeInstance) {
|
|
4677
|
+
obj.$jspbMessageInstance = msg;
|
|
4678
|
+
}
|
|
4679
|
+
return obj;
|
|
4680
|
+
};
|
|
4681
|
+
}
|
|
4682
|
+
|
|
4683
|
+
|
|
4684
|
+
/**
|
|
4685
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4686
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4687
|
+
* @return {!proto.fonoster.applications.v1beta2.TestTokenResponse}
|
|
4688
|
+
*/
|
|
4689
|
+
proto.fonoster.applications.v1beta2.TestTokenResponse.deserializeBinary = function(bytes) {
|
|
4690
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4691
|
+
var msg = new proto.fonoster.applications.v1beta2.TestTokenResponse;
|
|
4692
|
+
return proto.fonoster.applications.v1beta2.TestTokenResponse.deserializeBinaryFromReader(msg, reader);
|
|
4693
|
+
};
|
|
4694
|
+
|
|
4695
|
+
|
|
4696
|
+
/**
|
|
4697
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4698
|
+
* given reader into the given message object.
|
|
4699
|
+
* @param {!proto.fonoster.applications.v1beta2.TestTokenResponse} msg The message object to deserialize into.
|
|
4700
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4701
|
+
* @return {!proto.fonoster.applications.v1beta2.TestTokenResponse}
|
|
4702
|
+
*/
|
|
4703
|
+
proto.fonoster.applications.v1beta2.TestTokenResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4704
|
+
while (reader.nextField()) {
|
|
4705
|
+
if (reader.isEndGroup()) {
|
|
4706
|
+
break;
|
|
4707
|
+
}
|
|
4708
|
+
var field = reader.getFieldNumber();
|
|
4709
|
+
switch (field) {
|
|
4710
|
+
case 1:
|
|
4711
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4712
|
+
msg.setToken(value);
|
|
4713
|
+
break;
|
|
4714
|
+
case 2:
|
|
4715
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4716
|
+
msg.setDomain(value);
|
|
4717
|
+
break;
|
|
4718
|
+
case 3:
|
|
4719
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4720
|
+
msg.setDisplayName(value);
|
|
4721
|
+
break;
|
|
4722
|
+
case 4:
|
|
4723
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4724
|
+
msg.setSignalingServer(value);
|
|
4725
|
+
break;
|
|
4726
|
+
case 5:
|
|
4727
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4728
|
+
msg.setTargetAor(value);
|
|
4729
|
+
break;
|
|
4730
|
+
case 6:
|
|
4731
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4732
|
+
msg.setUsername(value);
|
|
4733
|
+
break;
|
|
4734
|
+
default:
|
|
4735
|
+
reader.skipField();
|
|
4736
|
+
break;
|
|
4737
|
+
}
|
|
4738
|
+
}
|
|
4739
|
+
return msg;
|
|
4740
|
+
};
|
|
4741
|
+
|
|
4742
|
+
|
|
4743
|
+
/**
|
|
4744
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4745
|
+
* @return {!Uint8Array}
|
|
4746
|
+
*/
|
|
4747
|
+
proto.fonoster.applications.v1beta2.TestTokenResponse.prototype.serializeBinary = function() {
|
|
4748
|
+
var writer = new jspb.BinaryWriter();
|
|
4749
|
+
proto.fonoster.applications.v1beta2.TestTokenResponse.serializeBinaryToWriter(this, writer);
|
|
4750
|
+
return writer.getResultBuffer();
|
|
4751
|
+
};
|
|
4752
|
+
|
|
4753
|
+
|
|
4754
|
+
/**
|
|
4755
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4756
|
+
* format), writing to the given BinaryWriter.
|
|
4757
|
+
* @param {!proto.fonoster.applications.v1beta2.TestTokenResponse} message
|
|
4758
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4759
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4760
|
+
*/
|
|
4761
|
+
proto.fonoster.applications.v1beta2.TestTokenResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4762
|
+
var f = undefined;
|
|
4763
|
+
f = message.getToken();
|
|
4764
|
+
if (f.length > 0) {
|
|
4765
|
+
writer.writeString(
|
|
4766
|
+
1,
|
|
4767
|
+
f
|
|
4768
|
+
);
|
|
4769
|
+
}
|
|
4770
|
+
f = message.getDomain();
|
|
4771
|
+
if (f.length > 0) {
|
|
4772
|
+
writer.writeString(
|
|
4773
|
+
2,
|
|
4774
|
+
f
|
|
4775
|
+
);
|
|
4776
|
+
}
|
|
4777
|
+
f = message.getDisplayName();
|
|
4778
|
+
if (f.length > 0) {
|
|
4779
|
+
writer.writeString(
|
|
4780
|
+
3,
|
|
4781
|
+
f
|
|
4782
|
+
);
|
|
4783
|
+
}
|
|
4784
|
+
f = message.getSignalingServer();
|
|
4785
|
+
if (f.length > 0) {
|
|
4786
|
+
writer.writeString(
|
|
4787
|
+
4,
|
|
4788
|
+
f
|
|
4789
|
+
);
|
|
4790
|
+
}
|
|
4791
|
+
f = message.getTargetAor();
|
|
4792
|
+
if (f.length > 0) {
|
|
4793
|
+
writer.writeString(
|
|
4794
|
+
5,
|
|
4795
|
+
f
|
|
4796
|
+
);
|
|
4797
|
+
}
|
|
4798
|
+
f = message.getUsername();
|
|
4149
4799
|
if (f.length > 0) {
|
|
4150
4800
|
writer.writeString(
|
|
4151
4801
|
6,
|
|
@@ -4271,4 +4921,12 @@ proto.fonoster.applications.v1beta2.ApplicationType = {
|
|
|
4271
4921
|
AUTOPILOT: 1
|
|
4272
4922
|
};
|
|
4273
4923
|
|
|
4924
|
+
/**
|
|
4925
|
+
* @enum {number}
|
|
4926
|
+
*/
|
|
4927
|
+
proto.fonoster.applications.v1beta2.ExpectedTextType = {
|
|
4928
|
+
EXACT: 0,
|
|
4929
|
+
SIMILAR: 1
|
|
4930
|
+
};
|
|
4931
|
+
|
|
4274
4932
|
goog.object.extend(exports, proto.fonoster.applications.v1beta2);
|