UNPKG

convai-web-sdk

Version:

Integrate lifelike digital beings into your web applications with real-time conversations, actions, and facial expressions. Supports a variety of voices, languages, and emotions.

1 lines 408 kB
(()=>{var __webpack_modules__={720:(e,t,o)=>{var r=o(339),s=r,i=Function("return this")();s.exportSymbol("proto.service.ARKitBlendShapes",null,i),s.exportSymbol("proto.service.ARKitBlendShapesData",null,i),proto.service.ARKitBlendShapesData=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.ARKitBlendShapesData,r.Message),s.DEBUG&&!COMPILED&&(proto.service.ARKitBlendShapesData.displayName="proto.service.ARKitBlendShapesData"),r.Message.GENERATE_TO_OBJECT&&(proto.service.ARKitBlendShapesData.prototype.toObject=function(e){return proto.service.ARKitBlendShapesData.toObject(e,this)},proto.service.ARKitBlendShapesData.toObject=function(e,t){var o,r={arKitBlendShapes:(o=t.getArKitBlendShapes())&&proto.service.ARKitBlendShapes.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.service.ARKitBlendShapesData.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.ARKitBlendShapesData;return proto.service.ARKitBlendShapesData.deserializeBinaryFromReader(o,t)},proto.service.ARKitBlendShapesData.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=new proto.service.ARKitBlendShapes;t.readMessage(o,proto.service.ARKitBlendShapes.deserializeBinaryFromReader),e.setArKitBlendShapes(o)}else t.skipField()}return e},proto.service.ARKitBlendShapesData.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.ARKitBlendShapesData.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.ARKitBlendShapesData.serializeBinaryToWriter=function(e,t){var o;null!=(o=e.getArKitBlendShapes())&&t.writeMessage(1,o,proto.service.ARKitBlendShapes.serializeBinaryToWriter)},proto.service.ARKitBlendShapesData.prototype.getArKitBlendShapes=function(){return r.Message.getWrapperField(this,proto.service.ARKitBlendShapes,1)},proto.service.ARKitBlendShapesData.prototype.setArKitBlendShapes=function(e){r.Message.setWrapperField(this,1,e)},proto.service.ARKitBlendShapesData.prototype.clearArKitBlendShapes=function(){this.setArKitBlendShapes(void 0)},proto.service.ARKitBlendShapesData.prototype.hasArKitBlendShapes=function(){return null!=r.Message.getField(this,1)},proto.service.ARKitBlendShapes=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.ARKitBlendShapes,r.Message),s.DEBUG&&!COMPILED&&(proto.service.ARKitBlendShapes.displayName="proto.service.ARKitBlendShapes"),r.Message.GENERATE_TO_OBJECT&&(proto.service.ARKitBlendShapes.prototype.toObject=function(e){return proto.service.ARKitBlendShapes.toObject(e,this)},proto.service.ARKitBlendShapes.toObject=function(e,t){var o={browDownLeft:+r.Message.getFieldWithDefault(t,1,0),browDownRight:+r.Message.getFieldWithDefault(t,2,0),browInnerUp:+r.Message.getFieldWithDefault(t,3,0),browOuterUpLeft:+r.Message.getFieldWithDefault(t,4,0),browOuterUpRight:+r.Message.getFieldWithDefault(t,5,0),cheekPuff:+r.Message.getFieldWithDefault(t,6,0),cheekSquintLeft:+r.Message.getFieldWithDefault(t,7,0),cheekSquintRight:+r.Message.getFieldWithDefault(t,8,0),eyeBlinkLeft:+r.Message.getFieldWithDefault(t,9,0),eyeBlinkRight:+r.Message.getFieldWithDefault(t,10,0),eyeLookDownLeft:+r.Message.getFieldWithDefault(t,11,0),eyeLookDownRight:+r.Message.getFieldWithDefault(t,12,0),eyeLookInLeft:+r.Message.getFieldWithDefault(t,13,0),eyeLookInRight:+r.Message.getFieldWithDefault(t,14,0),eyeLookOutLeft:+r.Message.getFieldWithDefault(t,15,0),eyeLookOutRight:+r.Message.getFieldWithDefault(t,16,0),eyeLookUpLeft:+r.Message.getFieldWithDefault(t,17,0),eyeLookUpRight:+r.Message.getFieldWithDefault(t,18,0),eyeSquintLeft:+r.Message.getFieldWithDefault(t,19,0),eyeSquintRight:+r.Message.getFieldWithDefault(t,20,0),eyeWideLeft:+r.Message.getFieldWithDefault(t,21,0),eyeWideRight:+r.Message.getFieldWithDefault(t,22,0),jawForward:+r.Message.getFieldWithDefault(t,23,0),jawLeft:+r.Message.getFieldWithDefault(t,24,0),jawOpen:+r.Message.getFieldWithDefault(t,25,0),jawRight:+r.Message.getFieldWithDefault(t,26,0),mouthClose:+r.Message.getFieldWithDefault(t,27,0),mouthDimpleLeft:+r.Message.getFieldWithDefault(t,28,0),mouthDimpleRight:+r.Message.getFieldWithDefault(t,29,0),mouthFrownLeft:+r.Message.getFieldWithDefault(t,30,0),mouthFrownRight:+r.Message.getFieldWithDefault(t,31,0),mouthFunnel:+r.Message.getFieldWithDefault(t,32,0),mouthLeft:+r.Message.getFieldWithDefault(t,33,0),mouthLowerDownLeft:+r.Message.getFieldWithDefault(t,34,0),mouthLowerDownRight:+r.Message.getFieldWithDefault(t,35,0),mouthPressLeft:+r.Message.getFieldWithDefault(t,36,0),mouthPressRight:+r.Message.getFieldWithDefault(t,37,0),mouthPucker:+r.Message.getFieldWithDefault(t,38,0),mouthRight:+r.Message.getFieldWithDefault(t,39,0),mouthRollLower:+r.Message.getFieldWithDefault(t,40,0),mouthRollUpper:+r.Message.getFieldWithDefault(t,41,0),mouthShrugLower:+r.Message.getFieldWithDefault(t,42,0),mouthShrugUpper:+r.Message.getFieldWithDefault(t,43,0),mouthSmileLeft:+r.Message.getFieldWithDefault(t,44,0),mouthSmileRight:+r.Message.getFieldWithDefault(t,45,0),mouthStretchLeft:+r.Message.getFieldWithDefault(t,46,0),mouthStretchRight:+r.Message.getFieldWithDefault(t,47,0),mouthUpperUpLeft:+r.Message.getFieldWithDefault(t,48,0),mouthUpperUpRight:+r.Message.getFieldWithDefault(t,49,0),noseSneerLeft:+r.Message.getFieldWithDefault(t,50,0),noseSneerRight:+r.Message.getFieldWithDefault(t,51,0),tongueOut:+r.Message.getFieldWithDefault(t,52,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.service.ARKitBlendShapes.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.ARKitBlendShapes;return proto.service.ARKitBlendShapes.deserializeBinaryFromReader(o,t)},proto.service.ARKitBlendShapes.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setBrowDownLeft(o);break;case 2:o=t.readFloat();e.setBrowDownRight(o);break;case 3:o=t.readFloat();e.setBrowInnerUp(o);break;case 4:o=t.readFloat();e.setBrowOuterUpLeft(o);break;case 5:o=t.readFloat();e.setBrowOuterUpRight(o);break;case 6:o=t.readFloat();e.setCheekPuff(o);break;case 7:o=t.readFloat();e.setCheekSquintLeft(o);break;case 8:o=t.readFloat();e.setCheekSquintRight(o);break;case 9:o=t.readFloat();e.setEyeBlinkLeft(o);break;case 10:o=t.readFloat();e.setEyeBlinkRight(o);break;case 11:o=t.readFloat();e.setEyeLookDownLeft(o);break;case 12:o=t.readFloat();e.setEyeLookDownRight(o);break;case 13:o=t.readFloat();e.setEyeLookInLeft(o);break;case 14:o=t.readFloat();e.setEyeLookInRight(o);break;case 15:o=t.readFloat();e.setEyeLookOutLeft(o);break;case 16:o=t.readFloat();e.setEyeLookOutRight(o);break;case 17:o=t.readFloat();e.setEyeLookUpLeft(o);break;case 18:o=t.readFloat();e.setEyeLookUpRight(o);break;case 19:o=t.readFloat();e.setEyeSquintLeft(o);break;case 20:o=t.readFloat();e.setEyeSquintRight(o);break;case 21:o=t.readFloat();e.setEyeWideLeft(o);break;case 22:o=t.readFloat();e.setEyeWideRight(o);break;case 23:o=t.readFloat();e.setJawForward(o);break;case 24:o=t.readFloat();e.setJawLeft(o);break;case 25:o=t.readFloat();e.setJawOpen(o);break;case 26:o=t.readFloat();e.setJawRight(o);break;case 27:o=t.readFloat();e.setMouthClose(o);break;case 28:o=t.readFloat();e.setMouthDimpleLeft(o);break;case 29:o=t.readFloat();e.setMouthDimpleRight(o);break;case 30:o=t.readFloat();e.setMouthFrownLeft(o);break;case 31:o=t.readFloat();e.setMouthFrownRight(o);break;case 32:o=t.readFloat();e.setMouthFunnel(o);break;case 33:o=t.readFloat();e.setMouthLeft(o);break;case 34:o=t.readFloat();e.setMouthLowerDownLeft(o);break;case 35:o=t.readFloat();e.setMouthLowerDownRight(o);break;case 36:o=t.readFloat();e.setMouthPressLeft(o);break;case 37:o=t.readFloat();e.setMouthPressRight(o);break;case 38:o=t.readFloat();e.setMouthPucker(o);break;case 39:o=t.readFloat();e.setMouthRight(o);break;case 40:o=t.readFloat();e.setMouthRollLower(o);break;case 41:o=t.readFloat();e.setMouthRollUpper(o);break;case 42:o=t.readFloat();e.setMouthShrugLower(o);break;case 43:o=t.readFloat();e.setMouthShrugUpper(o);break;case 44:o=t.readFloat();e.setMouthSmileLeft(o);break;case 45:o=t.readFloat();e.setMouthSmileRight(o);break;case 46:o=t.readFloat();e.setMouthStretchLeft(o);break;case 47:o=t.readFloat();e.setMouthStretchRight(o);break;case 48:o=t.readFloat();e.setMouthUpperUpLeft(o);break;case 49:o=t.readFloat();e.setMouthUpperUpRight(o);break;case 50:o=t.readFloat();e.setNoseSneerLeft(o);break;case 51:o=t.readFloat();e.setNoseSneerRight(o);break;case 52:o=t.readFloat();e.setTongueOut(o);break;default:t.skipField()}}return e},proto.service.ARKitBlendShapes.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.ARKitBlendShapes.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.ARKitBlendShapes.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getBrowDownLeft())&&t.writeFloat(1,o),0!==(o=e.getBrowDownRight())&&t.writeFloat(2,o),0!==(o=e.getBrowInnerUp())&&t.writeFloat(3,o),0!==(o=e.getBrowOuterUpLeft())&&t.writeFloat(4,o),0!==(o=e.getBrowOuterUpRight())&&t.writeFloat(5,o),0!==(o=e.getCheekPuff())&&t.writeFloat(6,o),0!==(o=e.getCheekSquintLeft())&&t.writeFloat(7,o),0!==(o=e.getCheekSquintRight())&&t.writeFloat(8,o),0!==(o=e.getEyeBlinkLeft())&&t.writeFloat(9,o),0!==(o=e.getEyeBlinkRight())&&t.writeFloat(10,o),0!==(o=e.getEyeLookDownLeft())&&t.writeFloat(11,o),0!==(o=e.getEyeLookDownRight())&&t.writeFloat(12,o),0!==(o=e.getEyeLookInLeft())&&t.writeFloat(13,o),0!==(o=e.getEyeLookInRight())&&t.writeFloat(14,o),0!==(o=e.getEyeLookOutLeft())&&t.writeFloat(15,o),0!==(o=e.getEyeLookOutRight())&&t.writeFloat(16,o),0!==(o=e.getEyeLookUpLeft())&&t.writeFloat(17,o),0!==(o=e.getEyeLookUpRight())&&t.writeFloat(18,o),0!==(o=e.getEyeSquintLeft())&&t.writeFloat(19,o),0!==(o=e.getEyeSquintRight())&&t.writeFloat(20,o),0!==(o=e.getEyeWideLeft())&&t.writeFloat(21,o),0!==(o=e.getEyeWideRight())&&t.writeFloat(22,o),0!==(o=e.getJawForward())&&t.writeFloat(23,o),0!==(o=e.getJawLeft())&&t.writeFloat(24,o),0!==(o=e.getJawOpen())&&t.writeFloat(25,o),0!==(o=e.getJawRight())&&t.writeFloat(26,o),0!==(o=e.getMouthClose())&&t.writeFloat(27,o),0!==(o=e.getMouthDimpleLeft())&&t.writeFloat(28,o),0!==(o=e.getMouthDimpleRight())&&t.writeFloat(29,o),0!==(o=e.getMouthFrownLeft())&&t.writeFloat(30,o),0!==(o=e.getMouthFrownRight())&&t.writeFloat(31,o),0!==(o=e.getMouthFunnel())&&t.writeFloat(32,o),0!==(o=e.getMouthLeft())&&t.writeFloat(33,o),0!==(o=e.getMouthLowerDownLeft())&&t.writeFloat(34,o),0!==(o=e.getMouthLowerDownRight())&&t.writeFloat(35,o),0!==(o=e.getMouthPressLeft())&&t.writeFloat(36,o),0!==(o=e.getMouthPressRight())&&t.writeFloat(37,o),0!==(o=e.getMouthPucker())&&t.writeFloat(38,o),0!==(o=e.getMouthRight())&&t.writeFloat(39,o),0!==(o=e.getMouthRollLower())&&t.writeFloat(40,o),0!==(o=e.getMouthRollUpper())&&t.writeFloat(41,o),0!==(o=e.getMouthShrugLower())&&t.writeFloat(42,o),0!==(o=e.getMouthShrugUpper())&&t.writeFloat(43,o),0!==(o=e.getMouthSmileLeft())&&t.writeFloat(44,o),0!==(o=e.getMouthSmileRight())&&t.writeFloat(45,o),0!==(o=e.getMouthStretchLeft())&&t.writeFloat(46,o),0!==(o=e.getMouthStretchRight())&&t.writeFloat(47,o),0!==(o=e.getMouthUpperUpLeft())&&t.writeFloat(48,o),0!==(o=e.getMouthUpperUpRight())&&t.writeFloat(49,o),0!==(o=e.getNoseSneerLeft())&&t.writeFloat(50,o),0!==(o=e.getNoseSneerRight())&&t.writeFloat(51,o),0!==(o=e.getTongueOut())&&t.writeFloat(52,o)},proto.service.ARKitBlendShapes.prototype.getBrowDownLeft=function(){return+r.Message.getFieldWithDefault(this,1,0)},proto.service.ARKitBlendShapes.prototype.setBrowDownLeft=function(e){r.Message.setProto3FloatField(this,1,e)},proto.service.ARKitBlendShapes.prototype.getBrowDownRight=function(){return+r.Message.getFieldWithDefault(this,2,0)},proto.service.ARKitBlendShapes.prototype.setBrowDownRight=function(e){r.Message.setProto3FloatField(this,2,e)},proto.service.ARKitBlendShapes.prototype.getBrowInnerUp=function(){return+r.Message.getFieldWithDefault(this,3,0)},proto.service.ARKitBlendShapes.prototype.setBrowInnerUp=function(e){r.Message.setProto3FloatField(this,3,e)},proto.service.ARKitBlendShapes.prototype.getBrowOuterUpLeft=function(){return+r.Message.getFieldWithDefault(this,4,0)},proto.service.ARKitBlendShapes.prototype.setBrowOuterUpLeft=function(e){r.Message.setProto3FloatField(this,4,e)},proto.service.ARKitBlendShapes.prototype.getBrowOuterUpRight=function(){return+r.Message.getFieldWithDefault(this,5,0)},proto.service.ARKitBlendShapes.prototype.setBrowOuterUpRight=function(e){r.Message.setProto3FloatField(this,5,e)},proto.service.ARKitBlendShapes.prototype.getCheekPuff=function(){return+r.Message.getFieldWithDefault(this,6,0)},proto.service.ARKitBlendShapes.prototype.setCheekPuff=function(e){r.Message.setProto3FloatField(this,6,e)},proto.service.ARKitBlendShapes.prototype.getCheekSquintLeft=function(){return+r.Message.getFieldWithDefault(this,7,0)},proto.service.ARKitBlendShapes.prototype.setCheekSquintLeft=function(e){r.Message.setProto3FloatField(this,7,e)},proto.service.ARKitBlendShapes.prototype.getCheekSquintRight=function(){return+r.Message.getFieldWithDefault(this,8,0)},proto.service.ARKitBlendShapes.prototype.setCheekSquintRight=function(e){r.Message.setProto3FloatField(this,8,e)},proto.service.ARKitBlendShapes.prototype.getEyeBlinkLeft=function(){return+r.Message.getFieldWithDefault(this,9,0)},proto.service.ARKitBlendShapes.prototype.setEyeBlinkLeft=function(e){r.Message.setProto3FloatField(this,9,e)},proto.service.ARKitBlendShapes.prototype.getEyeBlinkRight=function(){return+r.Message.getFieldWithDefault(this,10,0)},proto.service.ARKitBlendShapes.prototype.setEyeBlinkRight=function(e){r.Message.setProto3FloatField(this,10,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookDownLeft=function(){return+r.Message.getFieldWithDefault(this,11,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookDownLeft=function(e){r.Message.setProto3FloatField(this,11,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookDownRight=function(){return+r.Message.getFieldWithDefault(this,12,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookDownRight=function(e){r.Message.setProto3FloatField(this,12,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookInLeft=function(){return+r.Message.getFieldWithDefault(this,13,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookInLeft=function(e){r.Message.setProto3FloatField(this,13,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookInRight=function(){return+r.Message.getFieldWithDefault(this,14,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookInRight=function(e){r.Message.setProto3FloatField(this,14,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookOutLeft=function(){return+r.Message.getFieldWithDefault(this,15,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookOutLeft=function(e){r.Message.setProto3FloatField(this,15,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookOutRight=function(){return+r.Message.getFieldWithDefault(this,16,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookOutRight=function(e){r.Message.setProto3FloatField(this,16,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookUpLeft=function(){return+r.Message.getFieldWithDefault(this,17,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookUpLeft=function(e){r.Message.setProto3FloatField(this,17,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookUpRight=function(){return+r.Message.getFieldWithDefault(this,18,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookUpRight=function(e){r.Message.setProto3FloatField(this,18,e)},proto.service.ARKitBlendShapes.prototype.getEyeSquintLeft=function(){return+r.Message.getFieldWithDefault(this,19,0)},proto.service.ARKitBlendShapes.prototype.setEyeSquintLeft=function(e){r.Message.setProto3FloatField(this,19,e)},proto.service.ARKitBlendShapes.prototype.getEyeSquintRight=function(){return+r.Message.getFieldWithDefault(this,20,0)},proto.service.ARKitBlendShapes.prototype.setEyeSquintRight=function(e){r.Message.setProto3FloatField(this,20,e)},proto.service.ARKitBlendShapes.prototype.getEyeWideLeft=function(){return+r.Message.getFieldWithDefault(this,21,0)},proto.service.ARKitBlendShapes.prototype.setEyeWideLeft=function(e){r.Message.setProto3FloatField(this,21,e)},proto.service.ARKitBlendShapes.prototype.getEyeWideRight=function(){return+r.Message.getFieldWithDefault(this,22,0)},proto.service.ARKitBlendShapes.prototype.setEyeWideRight=function(e){r.Message.setProto3FloatField(this,22,e)},proto.service.ARKitBlendShapes.prototype.getJawForward=function(){return+r.Message.getFieldWithDefault(this,23,0)},proto.service.ARKitBlendShapes.prototype.setJawForward=function(e){r.Message.setProto3FloatField(this,23,e)},proto.service.ARKitBlendShapes.prototype.getJawLeft=function(){return+r.Message.getFieldWithDefault(this,24,0)},proto.service.ARKitBlendShapes.prototype.setJawLeft=function(e){r.Message.setProto3FloatField(this,24,e)},proto.service.ARKitBlendShapes.prototype.getJawOpen=function(){return+r.Message.getFieldWithDefault(this,25,0)},proto.service.ARKitBlendShapes.prototype.setJawOpen=function(e){r.Message.setProto3FloatField(this,25,e)},proto.service.ARKitBlendShapes.prototype.getJawRight=function(){return+r.Message.getFieldWithDefault(this,26,0)},proto.service.ARKitBlendShapes.prototype.setJawRight=function(e){r.Message.setProto3FloatField(this,26,e)},proto.service.ARKitBlendShapes.prototype.getMouthClose=function(){return+r.Message.getFieldWithDefault(this,27,0)},proto.service.ARKitBlendShapes.prototype.setMouthClose=function(e){r.Message.setProto3FloatField(this,27,e)},proto.service.ARKitBlendShapes.prototype.getMouthDimpleLeft=function(){return+r.Message.getFieldWithDefault(this,28,0)},proto.service.ARKitBlendShapes.prototype.setMouthDimpleLeft=function(e){r.Message.setProto3FloatField(this,28,e)},proto.service.ARKitBlendShapes.prototype.getMouthDimpleRight=function(){return+r.Message.getFieldWithDefault(this,29,0)},proto.service.ARKitBlendShapes.prototype.setMouthDimpleRight=function(e){r.Message.setProto3FloatField(this,29,e)},proto.service.ARKitBlendShapes.prototype.getMouthFrownLeft=function(){return+r.Message.getFieldWithDefault(this,30,0)},proto.service.ARKitBlendShapes.prototype.setMouthFrownLeft=function(e){r.Message.setProto3FloatField(this,30,e)},proto.service.ARKitBlendShapes.prototype.getMouthFrownRight=function(){return+r.Message.getFieldWithDefault(this,31,0)},proto.service.ARKitBlendShapes.prototype.setMouthFrownRight=function(e){r.Message.setProto3FloatField(this,31,e)},proto.service.ARKitBlendShapes.prototype.getMouthFunnel=function(){return+r.Message.getFieldWithDefault(this,32,0)},proto.service.ARKitBlendShapes.prototype.setMouthFunnel=function(e){r.Message.setProto3FloatField(this,32,e)},proto.service.ARKitBlendShapes.prototype.getMouthLeft=function(){return+r.Message.getFieldWithDefault(this,33,0)},proto.service.ARKitBlendShapes.prototype.setMouthLeft=function(e){r.Message.setProto3FloatField(this,33,e)},proto.service.ARKitBlendShapes.prototype.getMouthLowerDownLeft=function(){return+r.Message.getFieldWithDefault(this,34,0)},proto.service.ARKitBlendShapes.prototype.setMouthLowerDownLeft=function(e){r.Message.setProto3FloatField(this,34,e)},proto.service.ARKitBlendShapes.prototype.getMouthLowerDownRight=function(){return+r.Message.getFieldWithDefault(this,35,0)},proto.service.ARKitBlendShapes.prototype.setMouthLowerDownRight=function(e){r.Message.setProto3FloatField(this,35,e)},proto.service.ARKitBlendShapes.prototype.getMouthPressLeft=function(){return+r.Message.getFieldWithDefault(this,36,0)},proto.service.ARKitBlendShapes.prototype.setMouthPressLeft=function(e){r.Message.setProto3FloatField(this,36,e)},proto.service.ARKitBlendShapes.prototype.getMouthPressRight=function(){return+r.Message.getFieldWithDefault(this,37,0)},proto.service.ARKitBlendShapes.prototype.setMouthPressRight=function(e){r.Message.setProto3FloatField(this,37,e)},proto.service.ARKitBlendShapes.prototype.getMouthPucker=function(){return+r.Message.getFieldWithDefault(this,38,0)},proto.service.ARKitBlendShapes.prototype.setMouthPucker=function(e){r.Message.setProto3FloatField(this,38,e)},proto.service.ARKitBlendShapes.prototype.getMouthRight=function(){return+r.Message.getFieldWithDefault(this,39,0)},proto.service.ARKitBlendShapes.prototype.setMouthRight=function(e){r.Message.setProto3FloatField(this,39,e)},proto.service.ARKitBlendShapes.prototype.getMouthRollLower=function(){return+r.Message.getFieldWithDefault(this,40,0)},proto.service.ARKitBlendShapes.prototype.setMouthRollLower=function(e){r.Message.setProto3FloatField(this,40,e)},proto.service.ARKitBlendShapes.prototype.getMouthRollUpper=function(){return+r.Message.getFieldWithDefault(this,41,0)},proto.service.ARKitBlendShapes.prototype.setMouthRollUpper=function(e){r.Message.setProto3FloatField(this,41,e)},proto.service.ARKitBlendShapes.prototype.getMouthShrugLower=function(){return+r.Message.getFieldWithDefault(this,42,0)},proto.service.ARKitBlendShapes.prototype.setMouthShrugLower=function(e){r.Message.setProto3FloatField(this,42,e)},proto.service.ARKitBlendShapes.prototype.getMouthShrugUpper=function(){return+r.Message.getFieldWithDefault(this,43,0)},proto.service.ARKitBlendShapes.prototype.setMouthShrugUpper=function(e){r.Message.setProto3FloatField(this,43,e)},proto.service.ARKitBlendShapes.prototype.getMouthSmileLeft=function(){return+r.Message.getFieldWithDefault(this,44,0)},proto.service.ARKitBlendShapes.prototype.setMouthSmileLeft=function(e){r.Message.setProto3FloatField(this,44,e)},proto.service.ARKitBlendShapes.prototype.getMouthSmileRight=function(){return+r.Message.getFieldWithDefault(this,45,0)},proto.service.ARKitBlendShapes.prototype.setMouthSmileRight=function(e){r.Message.setProto3FloatField(this,45,e)},proto.service.ARKitBlendShapes.prototype.getMouthStretchLeft=function(){return+r.Message.getFieldWithDefault(this,46,0)},proto.service.ARKitBlendShapes.prototype.setMouthStretchLeft=function(e){r.Message.setProto3FloatField(this,46,e)},proto.service.ARKitBlendShapes.prototype.getMouthStretchRight=function(){return+r.Message.getFieldWithDefault(this,47,0)},proto.service.ARKitBlendShapes.prototype.setMouthStretchRight=function(e){r.Message.setProto3FloatField(this,47,e)},proto.service.ARKitBlendShapes.prototype.getMouthUpperUpLeft=function(){return+r.Message.getFieldWithDefault(this,48,0)},proto.service.ARKitBlendShapes.prototype.setMouthUpperUpLeft=function(e){r.Message.setProto3FloatField(this,48,e)},proto.service.ARKitBlendShapes.prototype.getMouthUpperUpRight=function(){return+r.Message.getFieldWithDefault(this,49,0)},proto.service.ARKitBlendShapes.prototype.setMouthUpperUpRight=function(e){r.Message.setProto3FloatField(this,49,e)},proto.service.ARKitBlendShapes.prototype.getNoseSneerLeft=function(){return+r.Message.getFieldWithDefault(this,50,0)},proto.service.ARKitBlendShapes.prototype.setNoseSneerLeft=function(e){r.Message.setProto3FloatField(this,50,e)},proto.service.ARKitBlendShapes.prototype.getNoseSneerRight=function(){return+r.Message.getFieldWithDefault(this,51,0)},proto.service.ARKitBlendShapes.prototype.setNoseSneerRight=function(e){r.Message.setProto3FloatField(this,51,e)},proto.service.ARKitBlendShapes.prototype.getTongueOut=function(){return+r.Message.getFieldWithDefault(this,52,0)},proto.service.ARKitBlendShapes.prototype.setTongueOut=function(e){r.Message.setProto3FloatField(this,52,e)},s.object.extend(t,proto.service)},48:(e,t,o)=>{var r=o(339),s=r,i=Function("return this")(),n=o(720);s.exportSymbol("proto.service.ActionConfig",null,i),s.exportSymbol("proto.service.ActionConfig.Character",null,i),s.exportSymbol("proto.service.ActionConfig.Object",null,i),s.exportSymbol("proto.service.AudioConfig",null,i),s.exportSymbol("proto.service.BlendShapesData",null,i),s.exportSymbol("proto.service.EmotionResponse",null,i),s.exportSymbol("proto.service.FaceModel",null,i),s.exportSymbol("proto.service.FeedbackRequest",null,i),s.exportSymbol("proto.service.FeedbackRequest.Feedback",null,i),s.exportSymbol("proto.service.FeedbackResponse",null,i),s.exportSymbol("proto.service.GetResponseRequest",null,i),s.exportSymbol("proto.service.GetResponseRequest.GetResponseConfig",null,i),s.exportSymbol("proto.service.GetResponseRequest.GetResponseData",null,i),s.exportSymbol("proto.service.GetResponseRequestSingle",null,i),s.exportSymbol("proto.service.GetResponseResponse",null,i),s.exportSymbol("proto.service.GetResponseResponse.ActionResponse",null,i),s.exportSymbol("proto.service.GetResponseResponse.AudioResponse",null,i),s.exportSymbol("proto.service.GetResponseResponse.BehaviorTreeResponse",null,i),s.exportSymbol("proto.service.GetResponseResponse.UserTranscript",null,i),s.exportSymbol("proto.service.HelloRequest",null,i),s.exportSymbol("proto.service.HelloResponse",null,i),s.exportSymbol("proto.service.STTRequest",null,i),s.exportSymbol("proto.service.STTResponse",null,i),s.exportSymbol("proto.service.TriggerConfig",null,i),s.exportSymbol("proto.service.Viseme",null,i),s.exportSymbol("proto.service.VisemesData",null,i),proto.service.AudioConfig=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.AudioConfig,r.Message),s.DEBUG&&!COMPILED&&(proto.service.AudioConfig.displayName="proto.service.AudioConfig"),r.Message.GENERATE_TO_OBJECT&&(proto.service.AudioConfig.prototype.toObject=function(e){return proto.service.AudioConfig.toObject(e,this)},proto.service.AudioConfig.toObject=function(e,t){var o={sampleRateHertz:r.Message.getFieldWithDefault(t,1,0),disableAudio:r.Message.getFieldWithDefault(t,2,!1),enableFacialData:r.Message.getFieldWithDefault(t,3,!1),faceModel:r.Message.getFieldWithDefault(t,4,0),enableFacialEmotionData:r.Message.getFieldWithDefault(t,5,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.service.AudioConfig.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.AudioConfig;return proto.service.AudioConfig.deserializeBinaryFromReader(o,t)},proto.service.AudioConfig.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readInt32();e.setSampleRateHertz(o);break;case 2:o=t.readBool();e.setDisableAudio(o);break;case 3:o=t.readBool();e.setEnableFacialData(o);break;case 4:o=t.readEnum();e.setFaceModel(o);break;case 5:o=t.readBool();e.setEnableFacialEmotionData(o);break;default:t.skipField()}}return e},proto.service.AudioConfig.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.AudioConfig.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.AudioConfig.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getSampleRateHertz())&&t.writeInt32(1,o),(o=e.getDisableAudio())&&t.writeBool(2,o),(o=e.getEnableFacialData())&&t.writeBool(3,o),0!==(o=e.getFaceModel())&&t.writeEnum(4,o),(o=e.getEnableFacialEmotionData())&&t.writeBool(5,o)},proto.service.AudioConfig.prototype.getSampleRateHertz=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.service.AudioConfig.prototype.setSampleRateHertz=function(e){r.Message.setProto3IntField(this,1,e)},proto.service.AudioConfig.prototype.getDisableAudio=function(){return r.Message.getFieldWithDefault(this,2,!1)},proto.service.AudioConfig.prototype.setDisableAudio=function(e){r.Message.setProto3BooleanField(this,2,e)},proto.service.AudioConfig.prototype.getEnableFacialData=function(){return r.Message.getFieldWithDefault(this,3,!1)},proto.service.AudioConfig.prototype.setEnableFacialData=function(e){r.Message.setProto3BooleanField(this,3,e)},proto.service.AudioConfig.prototype.getFaceModel=function(){return r.Message.getFieldWithDefault(this,4,0)},proto.service.AudioConfig.prototype.setFaceModel=function(e){r.Message.setProto3EnumField(this,4,e)},proto.service.AudioConfig.prototype.getEnableFacialEmotionData=function(){return r.Message.getFieldWithDefault(this,5,!1)},proto.service.AudioConfig.prototype.setEnableFacialEmotionData=function(e){r.Message.setProto3BooleanField(this,5,e)},proto.service.TriggerConfig=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.TriggerConfig,r.Message),s.DEBUG&&!COMPILED&&(proto.service.TriggerConfig.displayName="proto.service.TriggerConfig"),r.Message.GENERATE_TO_OBJECT&&(proto.service.TriggerConfig.prototype.toObject=function(e){return proto.service.TriggerConfig.toObject(e,this)},proto.service.TriggerConfig.toObject=function(e,t){var o={triggerName:r.Message.getFieldWithDefault(t,1,""),triggerMessage:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.TriggerConfig.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.TriggerConfig;return proto.service.TriggerConfig.deserializeBinaryFromReader(o,t)},proto.service.TriggerConfig.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setTriggerName(o);break;case 2:o=t.readString();e.setTriggerMessage(o);break;default:t.skipField()}}return e},proto.service.TriggerConfig.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.TriggerConfig.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.TriggerConfig.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getTriggerName()).length>0&&t.writeString(1,o),(o=e.getTriggerMessage()).length>0&&t.writeString(2,o)},proto.service.TriggerConfig.prototype.getTriggerName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.TriggerConfig.prototype.setTriggerName=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.TriggerConfig.prototype.getTriggerMessage=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.TriggerConfig.prototype.setTriggerMessage=function(e){r.Message.setProto3StringField(this,2,e)},proto.service.ActionConfig=function(e){r.Message.initialize(this,e,0,-1,proto.service.ActionConfig.repeatedFields_,null)},s.inherits(proto.service.ActionConfig,r.Message),s.DEBUG&&!COMPILED&&(proto.service.ActionConfig.displayName="proto.service.ActionConfig"),proto.service.ActionConfig.repeatedFields_=[1,2,3],r.Message.GENERATE_TO_OBJECT&&(proto.service.ActionConfig.prototype.toObject=function(e){return proto.service.ActionConfig.toObject(e,this)},proto.service.ActionConfig.toObject=function(e,t){var o={actionsList:r.Message.getRepeatedField(t,1),charactersList:r.Message.toObjectList(t.getCharactersList(),proto.service.ActionConfig.Character.toObject,e),objectsList:r.Message.toObjectList(t.getObjectsList(),proto.service.ActionConfig.Object.toObject,e),classification:r.Message.getFieldWithDefault(t,4,""),contextLevel:r.Message.getFieldWithDefault(t,5,0),currentAttentionObject:r.Message.getFieldWithDefault(t,6,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.ActionConfig.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.ActionConfig;return proto.service.ActionConfig.deserializeBinaryFromReader(o,t)},proto.service.ActionConfig.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.addActions(o);break;case 2:o=new proto.service.ActionConfig.Character;t.readMessage(o,proto.service.ActionConfig.Character.deserializeBinaryFromReader),e.addCharacters(o);break;case 3:o=new proto.service.ActionConfig.Object;t.readMessage(o,proto.service.ActionConfig.Object.deserializeBinaryFromReader),e.addObjects(o);break;case 4:o=t.readString();e.setClassification(o);break;case 5:o=t.readInt32();e.setContextLevel(o);break;case 6:o=t.readString();e.setCurrentAttentionObject(o);break;default:t.skipField()}}return e},proto.service.ActionConfig.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.ActionConfig.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.ActionConfig.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getActionsList()).length>0&&t.writeRepeatedString(1,o),(o=e.getCharactersList()).length>0&&t.writeRepeatedMessage(2,o,proto.service.ActionConfig.Character.serializeBinaryToWriter),(o=e.getObjectsList()).length>0&&t.writeRepeatedMessage(3,o,proto.service.ActionConfig.Object.serializeBinaryToWriter),(o=e.getClassification()).length>0&&t.writeString(4,o),0!==(o=e.getContextLevel())&&t.writeInt32(5,o),(o=e.getCurrentAttentionObject()).length>0&&t.writeString(6,o)},proto.service.ActionConfig.Character=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.ActionConfig.Character,r.Message),s.DEBUG&&!COMPILED&&(proto.service.ActionConfig.Character.displayName="proto.service.ActionConfig.Character"),r.Message.GENERATE_TO_OBJECT&&(proto.service.ActionConfig.Character.prototype.toObject=function(e){return proto.service.ActionConfig.Character.toObject(e,this)},proto.service.ActionConfig.Character.toObject=function(e,t){var o={name:r.Message.getFieldWithDefault(t,1,""),bio:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.ActionConfig.Character.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.ActionConfig.Character;return proto.service.ActionConfig.Character.deserializeBinaryFromReader(o,t)},proto.service.ActionConfig.Character.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readString();e.setBio(o);break;default:t.skipField()}}return e},proto.service.ActionConfig.Character.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.ActionConfig.Character.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.ActionConfig.Character.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getName()).length>0&&t.writeString(1,o),(o=e.getBio()).length>0&&t.writeString(2,o)},proto.service.ActionConfig.Character.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.ActionConfig.Character.prototype.setName=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.ActionConfig.Character.prototype.getBio=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.ActionConfig.Character.prototype.setBio=function(e){r.Message.setProto3StringField(this,2,e)},proto.service.ActionConfig.Object=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.ActionConfig.Object,r.Message),s.DEBUG&&!COMPILED&&(proto.service.ActionConfig.Object.displayName="proto.service.ActionConfig.Object"),r.Message.GENERATE_TO_OBJECT&&(proto.service.ActionConfig.Object.prototype.toObject=function(e){return proto.service.ActionConfig.Object.toObject(e,this)},proto.service.ActionConfig.Object.toObject=function(e,t){var o={name:r.Message.getFieldWithDefault(t,1,""),description:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.ActionConfig.Object.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.ActionConfig.Object;return proto.service.ActionConfig.Object.deserializeBinaryFromReader(o,t)},proto.service.ActionConfig.Object.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readString();e.setDescription(o);break;default:t.skipField()}}return e},proto.service.ActionConfig.Object.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.ActionConfig.Object.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.ActionConfig.Object.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getName()).length>0&&t.writeString(1,o),(o=e.getDescription()).length>0&&t.writeString(2,o)},proto.service.ActionConfig.Object.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.ActionConfig.Object.prototype.setName=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.ActionConfig.Object.prototype.getDescription=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.ActionConfig.Object.prototype.setDescription=function(e){r.Message.setProto3StringField(this,2,e)},proto.service.ActionConfig.prototype.getActionsList=function(){return r.Message.getRepeatedField(this,1)},proto.service.ActionConfig.prototype.setActionsList=function(e){r.Message.setField(this,1,e||[])},proto.service.ActionConfig.prototype.addActions=function(e,t){r.Message.addToRepeatedField(this,1,e,t)},proto.service.ActionConfig.prototype.clearActionsList=function(){this.setActionsList([])},proto.service.ActionConfig.prototype.getCharactersList=function(){return r.Message.getRepeatedWrapperField(this,proto.service.ActionConfig.Character,2)},proto.service.ActionConfig.prototype.setCharactersList=function(e){r.Message.setRepeatedWrapperField(this,2,e)},proto.service.ActionConfig.prototype.addCharacters=function(e,t){return r.Message.addToRepeatedWrapperField(this,2,e,proto.service.ActionConfig.Character,t)},proto.service.ActionConfig.prototype.clearCharactersList=function(){this.setCharactersList([])},proto.service.ActionConfig.prototype.getObjectsList=function(){return r.Message.getRepeatedWrapperField(this,proto.service.ActionConfig.Object,3)},proto.service.ActionConfig.prototype.setObjectsList=function(e){r.Message.setRepeatedWrapperField(this,3,e)},proto.service.ActionConfig.prototype.addObjects=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.service.ActionConfig.Object,t)},proto.service.ActionConfig.prototype.clearObjectsList=function(){this.setObjectsList([])},proto.service.ActionConfig.prototype.getClassification=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.service.ActionConfig.prototype.setClassification=function(e){r.Message.setProto3StringField(this,4,e)},proto.service.ActionConfig.prototype.getContextLevel=function(){return r.Message.getFieldWithDefault(this,5,0)},proto.service.ActionConfig.prototype.setContextLevel=function(e){r.Message.setProto3IntField(this,5,e)},proto.service.ActionConfig.prototype.getCurrentAttentionObject=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.service.ActionConfig.prototype.setCurrentAttentionObject=function(e){r.Message.setProto3StringField(this,6,e)},proto.service.STTRequest=function(e){r.Message.initialize(this,e,0,-1,null,proto.service.STTRequest.oneofGroups_)},s.inherits(proto.service.STTRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.service.STTRequest.displayName="proto.service.STTRequest"),proto.service.STTRequest.oneofGroups_=[[1,2]],proto.service.STTRequest.RequestTypeCase={REQUEST_TYPE_NOT_SET:0,AUDIO_CONFIG:1,AUDIO_CHUNK:2},proto.service.STTRequest.prototype.getRequestTypeCase=function(){return r.Message.computeOneofCase(this,proto.service.STTRequest.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.service.STTRequest.prototype.toObject=function(e){return proto.service.STTRequest.toObject(e,this)},proto.service.STTRequest.toObject=function(e,t){var o,r={audioConfig:(o=t.getAudioConfig())&&proto.service.AudioConfig.toObject(e,o),audioChunk:t.getAudioChunk_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.service.STTRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.STTRequest;return proto.service.STTRequest.deserializeBinaryFromReader(o,t)},proto.service.STTRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.service.AudioConfig;t.readMessage(o,proto.service.AudioConfig.deserializeBinaryFromReader),e.setAudioConfig(o);break;case 2:o=t.readBytes();e.setAudioChunk(o);break;default:t.skipField()}}return e},proto.service.STTRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.STTRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.STTRequest.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getAudioConfig())&&t.writeMessage(1,o,proto.service.AudioConfig.serializeBinaryToWriter),null!=(o=r.Message.getField(e,2))&&t.writeBytes(2,o)},proto.service.STTRequest.prototype.getAudioConfig=function(){return r.Message.getWrapperField(this,proto.service.AudioConfig,1)},proto.service.STTRequest.prototype.setAudioConfig=function(e){r.Message.setOneofWrapperField(this,1,proto.service.STTRequest.oneofGroups_[0],e)},proto.service.STTRequest.prototype.clearAudioConfig=function(){this.setAudioConfig(void 0)},proto.service.STTRequest.prototype.hasAudioConfig=function(){return null!=r.Message.getField(this,1)},proto.service.STTRequest.prototype.getAudioChunk=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.STTRequest.prototype.getAudioChunk_asB64=function(){return r.Message.bytesAsB64(this.getAudioChunk())},proto.service.STTRequest.prototype.getAudioChunk_asU8=function(){return r.Message.bytesAsU8(this.getAudioChunk())},proto.service.STTRequest.prototype.setAudioChunk=function(e){r.Message.setOneofField(this,2,proto.service.STTRequest.oneofGroups_[0],e)},proto.service.STTRequest.prototype.clearAudioChunk=function(){r.Message.setOneofField(this,2,proto.service.STTRequest.oneofGroups_[0],void 0)},proto.service.STTRequest.prototype.hasAudioChunk=function(){return null!=r.Message.getField(this,2)},proto.service.STTResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.STTResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.service.STTResponse.displayName="proto.service.STTResponse"),r.Message.GENERATE_TO_OBJECT&&(proto.service.STTResponse.prototype.toObject=function(e){return proto.service.STTResponse.toObject(e,this)},proto.service.STTResponse.toObject=function(e,t){var o={text:r.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.STTResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.STTResponse;return proto.service.STTResponse.deserializeBinaryFromReader(o,t)},proto.service.STTResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setText(o)}else t.skipField()}return e},proto.service.STTResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.STTResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.STTResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getText()).length>0&&t.writeString(1,o)},proto.service.STTResponse.prototype.getText=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.STTResponse.prototype.setText=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.GetResponseRequest=function(e){r.Message.initialize(this,e,0,-1,null,proto.service.GetResponseRequest.oneofGroups_)},s.inherits(proto.service.GetResponseRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.service.GetResponseRequest.displayName="proto.service.GetResponseRequest"),proto.service.GetResponseRequest.oneofGroups_=[[1,2]],proto.service.GetResponseRequest.RequestTypeCase={REQUEST_TYPE_NOT_SET:0,GET_RESPONSE_CONFIG:1,GET_RESPONSE_DATA:2},proto.service.GetResponseRequest.prototype.getRequestTypeCase=function(){return r.Message.computeOneofCase(this,proto.service.GetResponseRequest.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.service.GetResponseRequest.prototype.toObject=function(e){return proto.service.GetResponseRequest.toObject(e,this)},proto.service.GetResponseRequest.toObject=function(e,t){var o,r={getResponseConfig:(o=t.getGetResponseConfig())&&proto.service.GetResponseRequest.GetResponseConfig.toObject(e,o),getResponseData:(o=t.getGetResponseData())&&proto.service.GetResponseRequest.GetResponseData.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.service.GetResponseRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.GetResponseRequest;return proto.service.GetResponseRequest.deserializeBinaryFromReader(o,t)},proto.service.GetResponseRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.service.GetResponseRequest.GetResponseConfig;t.readMessage(o,proto.service.GetResponseRequest.GetResponseConfig.deserializeBinaryFromReader),e.setGetResponseConfig(o);break;case 2:o=new proto.service.GetResponseRequest.GetResponseData;t.readMessage(o,proto.service.GetResponseRequest.GetResponseData.deserializeBinaryFromReader),e.setGetResponseData(o);break;default:t.skipField()}}return e},proto.service.GetResponseRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.GetResponseRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.GetResponseRequest.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getGetResponseConfig())&&t.writeMessage(1,o,proto.service.GetResponseRequest.GetResponseConfig.serializeBinaryToWriter),null!=(o=e.getGetResponseData())&&t.writeMessage(2,o,proto.service.GetResponseRequest.GetResponseData.serializeBinaryToWriter)},proto.service.GetResponseRequest.GetResponseConfig=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.GetResponseRequest.GetResponseConfig,r.Message),s.DEBUG&&!COMPILED&&(proto.service.GetResponseRequest.GetResponseConfig.displayName="proto.service.GetResponseRequest.GetResponseConfig"),r.Message.GENERATE_TO_OBJECT&&(proto.service.GetResponseRequest.GetResponseConfig.prototype.toObject=function(e){return proto.service.GetResponseRequest.GetResponseConfig.toObject(e,this)},proto.service.GetResponseRequest.GetResponseConfig.toObject=function(e,t){var o,s={characterId:r.Message.getFieldWithDefault(t,2,""),apiKey:r.Message.getFieldWithDefault(t,3,""),sessionId:r.Message.getFieldWithDefault(t,4,""),audioConfig:(o=t.getAudioConfig())&&proto.service.AudioConfig.toObject(e,o),actionConfig:(o=t.getActionConfig())&&proto.service.ActionConfig.toObject(e,o),speaker:r.Message.getFieldWithDefault(t,7,""),languageCode:r.Message.getFieldWithDefault(t,8,""),speakerId:r.Message.getFieldWithDefault(t,9,""),apiAuthToken:r.Message.getFieldWithDefault(t,10,""),narrativeTemplateKeysMap:(o=t.getNarrativeTemplateKeysMap())?o.toObject(e,void 0):[]};return e&&(s.$jspbMessageInstance=t),s}),proto.service.GetResponseRequest.GetResponseConfig.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.GetResponseRequest.GetResponseConfig;return proto.service.GetResponseRequest.GetResponseConfig.deserializeBinaryFromReader(o,t)},proto.service.GetResponseRequest.GetResponseConfig.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 2:var o=t.readString();e.setCharacterId(o);break;case 3:o=t.readString();e.setApiKey(o);break;case 4:o=t.readString();e.setSessionId(o);break;case 5:o=new proto.service.AudioConfig;t.readMessage(o,proto.service.AudioConfig.deserializeBinaryFromReader),e.setAudioConfig(o);break;case 6:o=new proto.service.ActionConfig;t.readMessage(o,proto.service.ActionConfig.deserializeBinaryFromReader),e.setActionConfig(o);break;case 7:o=t.readString();e.setSpeaker(o);break;case 8:o=t.readString();e.setLanguageCode(o);break;case 9:o=t.readString();e.setSpeakerId(o);break;case 10:o=t.readString();e.setApiAuthToken(o);break;case 11:o=e.getNarrativeTemplateKeysMap();t.readMessage(o,(function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readString,null,"")}));break;default:t.skipField()}}return e},proto.service.GetResponseRequest.GetResponseConfig.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.GetResponseRequest.GetResponseConfig.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.GetResponseRequest.GetResponseConfig.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getCharacterId()).length>0&&t.writeString(2,o),(o=e.getApiKey()).length>0&&t.writeString(3,o),(o=e.getSessionId()).length>0&&t.writeString(4,o),null!=(o=e.getAudioConfig())&&t.writeMessage(5,o,proto.service.AudioConfig.serializeBinaryToWriter),null!=(o=e.getActionConfig())&&t.writeMessage(6,o,proto.service.ActionConfig.serializeBinaryToWriter),(o=e.getSpeaker()).length>0&&t.writeString(7,o),(o=e.getLanguageCode()).length>0&&t.writeString(8,o),(o=e.getSpeakerId()).length>0&&t.writeString(9,o),(o=e.getApiAuthToken()).length>0&&t.writeString(10,o),(o=e.getNarrativeTemplateKeysMap(!0))&&o.getLength()>0&&o.serializeBinary(11,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeString)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getCharacterId=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.GetResponseRequest.GetResponseConfig.prototype.setCharacterId=function(e){r.Message.setProto3StringField(this,2,e)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getApiKey=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.service.GetResponseRequest.GetResponseConfig.prototype.setApiKey=function(e){r.Message.setProto3StringField(this,3,e)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getSessionId=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.service.GetResponseRequest.GetResponseConfig.prototype.setSessionId=function(e){r.Message.setProto3StringField(this,4,e)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getAudioConfig=function(){return r.Message.getWrapperField(this,proto.service.AudioConfig,5)},proto.service.GetResponseRequest.GetResponseConfig.prototype.setAudioConfig=function(e){r.Message.setWrapperField(this,5,e)},proto.service.GetResponseRequest.GetResponseConfig.prototype.clearAudioConfig=function(){this.setAudioConfig(void 0)},proto.service.GetResponseRequest.GetResponseConfig.prototype.hasAudioConfig=function(){return null!=r.Message.getField(this,5)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getActionConfig=function(){return r.Message.getWrapperField(this,proto.