File size: 3,545 Bytes
87337b1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
/* eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars */
import * as $protobuf from "protobufjs/light"
const $root = ($protobuf.roots.default || ($protobuf.roots.default = new $protobuf.Root())).addJSON(
{
Agora: {
nested: {
SpeechToText: {
options: {
objc_class_prefix: "Stt",
csharp_namespace: "AgoraSTTSample.Protobuf",
java_package: "io.agora.rtc.speech2text",
java_outer_classname: "AgoraSpeech2TextProtobuffer",
},
nested: {
Text: {
fields: {
vendor: {
type: "int32",
id: 1,
},
version: {
type: "int32",
id: 2,
},
seqnum: {
type: "int32",
id: 3,
},
uid: {
type: "uint32",
id: 4,
},
flag: {
type: "int32",
id: 5,
},
time: {
type: "int64",
id: 6,
},
lang: {
type: "int32",
id: 7,
},
starttime: {
type: "int32",
id: 8,
},
offtime: {
type: "int32",
id: 9,
},
words: {
rule: "repeated",
type: "Word",
id: 10,
},
endOfSegment: {
type: "bool",
id: 11,
},
durationMs: {
type: "int32",
id: 12,
},
dataType: {
type: "string",
id: 13,
},
trans: {
rule: "repeated",
type: "Translation",
id: 14,
},
culture: {
type: "string",
id: 15,
},
textTs: {
type: "int64",
id: 16,
},
},
},
Word: {
fields: {
text: {
type: "string",
id: 1,
},
startMs: {
type: "int32",
id: 2,
},
durationMs: {
type: "int32",
id: 3,
},
isFinal: {
type: "bool",
id: 4,
},
confidence: {
type: "double",
id: 5,
},
},
},
Translation: {
fields: {
isFinal: {
type: "bool",
id: 1,
},
lang: {
type: "string",
id: 2,
},
texts: {
rule: "repeated",
type: "string",
id: 3,
},
},
},
},
},
},
},
},
)
export { $root as default }
|