|
|
@ -1,6 +1,5 @@ |
|
|
// DO NOT EDIT. |
|
|
// DO NOT EDIT. |
|
|
// swift-format-ignore-file |
|
|
// swift-format-ignore-file |
|
|
// swiftlint:disable all |
|
|
|
|
|
// |
|
|
// |
|
|
// Generated by the Swift generator plugin for the protocol buffer compiler. |
|
|
// Generated by the Swift generator plugin for the protocol buffer compiler. |
|
|
// Source: products/understanding/base/au_base.proto |
|
|
// Source: products/understanding/base/au_base.proto |
|
|
@ -359,7 +358,7 @@ struct Data_Speech_Understanding_User: Sendable { |
|
|
init() {} |
|
|
init() {} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
struct Data_Speech_Understanding_Audio: Sendable { |
|
|
struct Data_Speech_Understanding_Audio: @unchecked Sendable { |
|
|
// SwiftProtobuf.Message conformance is added in an extension below. See the |
|
|
// SwiftProtobuf.Message conformance is added in an extension below. See the |
|
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for |
|
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for |
|
|
// methods supported on all messages. |
|
|
// methods supported on all messages. |
|
|
@ -803,16 +802,46 @@ struct Data_Speech_Understanding_Corpus: Sendable { |
|
|
fileprivate let _protobuf_package = "data.speech.understanding" |
|
|
fileprivate let _protobuf_package = "data.speech.understanding" |
|
|
|
|
|
|
|
|
extension Data_Speech_Understanding_Code: SwiftProtobuf._ProtoNameProviding { |
|
|
extension Data_Speech_Understanding_Code: SwiftProtobuf._ProtoNameProviding { |
|
|
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0ERROR_UNSPECIFIED\0\u{2}\\m\u{2}INVALID_REQUEST\0\u{1}LONG_AUDIO\0\u{1}LARGE_PACKET\0\u{1}INVALID_FORMAT\0\u{1}SILENT_AUDIO\0\u{1}EMPTY_AUDIO\0\u{2}_\u{1}PERMISSION_DENIED\0\u{2}e\u{1}LIMIT_QPS\0\u{1}LIMIT_COUNT\0\u{1}SERVER_BUSY\0\u{2}E\u{3}ERROR_PARAMS\0\u{2}\\T\u{2}SUCCESS\0\u{2}d\u{1}ERROR_PROCESSING\0\u{2}d\u{1}TIMEOUT_WAITING\0\u{1}TIMEOUT_PROCESSING\0\u{2}c\u{1}INTERRUPTED\0\u{2}Q\u{6}AUDIO_DOWNLOAD_FAIL\0\u{2}G@\u{2}ERROR_UNKNOWN\0") |
|
|
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ |
|
|
|
|
|
0: .same(proto: "ERROR_UNSPECIFIED"), |
|
|
|
|
|
11100: .same(proto: "INVALID_REQUEST"), |
|
|
|
|
|
11101: .same(proto: "LONG_AUDIO"), |
|
|
|
|
|
11102: .same(proto: "LARGE_PACKET"), |
|
|
|
|
|
11103: .same(proto: "INVALID_FORMAT"), |
|
|
|
|
|
11104: .same(proto: "SILENT_AUDIO"), |
|
|
|
|
|
11105: .same(proto: "EMPTY_AUDIO"), |
|
|
|
|
|
11200: .same(proto: "PERMISSION_DENIED"), |
|
|
|
|
|
11301: .same(proto: "LIMIT_QPS"), |
|
|
|
|
|
11302: .same(proto: "LIMIT_COUNT"), |
|
|
|
|
|
11303: .same(proto: "SERVER_BUSY"), |
|
|
|
|
|
11500: .same(proto: "ERROR_PARAMS"), |
|
|
|
|
|
21000: .same(proto: "SUCCESS"), |
|
|
|
|
|
21100: .same(proto: "ERROR_PROCESSING"), |
|
|
|
|
|
21200: .same(proto: "TIMEOUT_WAITING"), |
|
|
|
|
|
21201: .same(proto: "TIMEOUT_PROCESSING"), |
|
|
|
|
|
21300: .same(proto: "INTERRUPTED"), |
|
|
|
|
|
21701: .same(proto: "AUDIO_DOWNLOAD_FAIL"), |
|
|
|
|
|
29900: .same(proto: "ERROR_UNKNOWN"), |
|
|
|
|
|
] |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
extension Data_Speech_Understanding_AsrNotificationCode: SwiftProtobuf._ProtoNameProviding { |
|
|
extension Data_Speech_Understanding_AsrNotificationCode: SwiftProtobuf._ProtoNameProviding { |
|
|
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NOTIFICATION_UNSPECIFIED\0\u{2}h\u{f}DISCONNECT\0") |
|
|
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ |
|
|
|
|
|
0: .same(proto: "NOTIFICATION_UNSPECIFIED"), |
|
|
|
|
|
1000: .same(proto: "DISCONNECT"), |
|
|
|
|
|
] |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
extension Data_Speech_Understanding_Word: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
extension Data_Speech_Understanding_Word: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
static let protoMessageName: String = _protobuf_package + ".Word" |
|
|
static let protoMessageName: String = _protobuf_package + ".Word" |
|
|
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}text\0\u{3}start_time\0\u{3}end_time\0\u{3}blank_duration\0\u{1}pronounce\0\u{1}confidence\0") |
|
|
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ |
|
|
|
|
|
1: .same(proto: "text"), |
|
|
|
|
|
2: .standard(proto: "start_time"), |
|
|
|
|
|
3: .standard(proto: "end_time"), |
|
|
|
|
|
4: .standard(proto: "blank_duration"), |
|
|
|
|
|
5: .same(proto: "pronounce"), |
|
|
|
|
|
6: .same(proto: "confidence"), |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
@ -905,7 +934,18 @@ extension Data_Speech_Understanding_ResultAddition: SwiftProtobuf.Message, Swift |
|
|
|
|
|
|
|
|
extension Data_Speech_Understanding_Utterance: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
extension Data_Speech_Understanding_Utterance: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
static let protoMessageName: String = _protobuf_package + ".Utterance" |
|
|
static let protoMessageName: String = _protobuf_package + ".Utterance" |
|
|
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}text\0\u{3}start_time\0\u{3}end_time\0\u{1}definite\0\u{1}words\0\u{1}language\0\u{1}confidence\0\u{1}speaker\0\u{3}channel_id\0\u{2}[\u{1}additions\0") |
|
|
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ |
|
|
|
|
|
1: .same(proto: "text"), |
|
|
|
|
|
2: .standard(proto: "start_time"), |
|
|
|
|
|
3: .standard(proto: "end_time"), |
|
|
|
|
|
4: .same(proto: "definite"), |
|
|
|
|
|
5: .same(proto: "words"), |
|
|
|
|
|
6: .same(proto: "language"), |
|
|
|
|
|
7: .same(proto: "confidence"), |
|
|
|
|
|
8: .same(proto: "speaker"), |
|
|
|
|
|
9: .standard(proto: "channel_id"), |
|
|
|
|
|
100: .same(proto: "additions"), |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
@ -984,7 +1024,9 @@ extension Data_Speech_Understanding_Utterance: SwiftProtobuf.Message, SwiftProto |
|
|
|
|
|
|
|
|
extension Data_Speech_Understanding_LanguageDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
extension Data_Speech_Understanding_LanguageDetail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
static let protoMessageName: String = _protobuf_package + ".LanguageDetail" |
|
|
static let protoMessageName: String = _protobuf_package + ".LanguageDetail" |
|
|
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}prob\0") |
|
|
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ |
|
|
|
|
|
1: .same(proto: "prob"), |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
@ -1014,7 +1056,21 @@ extension Data_Speech_Understanding_LanguageDetail: SwiftProtobuf.Message, Swift |
|
|
|
|
|
|
|
|
extension Data_Speech_Understanding_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
extension Data_Speech_Understanding_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
static let protoMessageName: String = _protobuf_package + ".Result" |
|
|
static let protoMessageName: String = _protobuf_package + ".Result" |
|
|
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}text\0\u{1}utterances\0\u{1}confidence\0\u{3}global_confidence\0\u{1}language\0\u{3}language_details\0\u{1}termination\0\u{1}volume\0\u{3}speech_rate\0\u{3}result_type\0\u{3}ori_text\0\u{1}prefetch\0\u{2}X\u{1}additions\0") |
|
|
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ |
|
|
|
|
|
1: .same(proto: "text"), |
|
|
|
|
|
2: .same(proto: "utterances"), |
|
|
|
|
|
3: .same(proto: "confidence"), |
|
|
|
|
|
4: .standard(proto: "global_confidence"), |
|
|
|
|
|
5: .same(proto: "language"), |
|
|
|
|
|
6: .standard(proto: "language_details"), |
|
|
|
|
|
7: .same(proto: "termination"), |
|
|
|
|
|
8: .same(proto: "volume"), |
|
|
|
|
|
9: .standard(proto: "speech_rate"), |
|
|
|
|
|
10: .standard(proto: "result_type"), |
|
|
|
|
|
11: .standard(proto: "ori_text"), |
|
|
|
|
|
12: .same(proto: "prefetch"), |
|
|
|
|
|
100: .same(proto: "additions"), |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
@ -1108,7 +1164,10 @@ extension Data_Speech_Understanding_Result: SwiftProtobuf.Message, SwiftProtobuf |
|
|
|
|
|
|
|
|
extension Data_Speech_Understanding_AudioInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
extension Data_Speech_Understanding_AudioInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
static let protoMessageName: String = _protobuf_package + ".AudioInfo" |
|
|
static let protoMessageName: String = _protobuf_package + ".AudioInfo" |
|
|
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}duration\0\u{3}speech_rate\0") |
|
|
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ |
|
|
|
|
|
1: .same(proto: "duration"), |
|
|
|
|
|
2: .standard(proto: "speech_rate"), |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
@ -1143,7 +1202,9 @@ extension Data_Speech_Understanding_AudioInfo: SwiftProtobuf.Message, SwiftProto |
|
|
|
|
|
|
|
|
extension Data_Speech_Understanding_App: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
extension Data_Speech_Understanding_App: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
static let protoMessageName: String = _protobuf_package + ".App" |
|
|
static let protoMessageName: String = _protobuf_package + ".App" |
|
|
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{3}work_flow_name\0") |
|
|
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ |
|
|
|
|
|
1: .standard(proto: "work_flow_name"), |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
@ -1173,7 +1234,13 @@ extension Data_Speech_Understanding_App: SwiftProtobuf.Message, SwiftProtobuf._M |
|
|
|
|
|
|
|
|
extension Data_Speech_Understanding_User: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
extension Data_Speech_Understanding_User: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
static let protoMessageName: String = _protobuf_package + ".User" |
|
|
static let protoMessageName: String = _protobuf_package + ".User" |
|
|
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}uid\0\u{1}did\0\u{1}platform\0\u{3}sdk_version\0\u{3}app_version\0") |
|
|
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ |
|
|
|
|
|
1: .same(proto: "uid"), |
|
|
|
|
|
2: .same(proto: "did"), |
|
|
|
|
|
3: .same(proto: "platform"), |
|
|
|
|
|
4: .standard(proto: "sdk_version"), |
|
|
|
|
|
5: .standard(proto: "app_version"), |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
@ -1223,7 +1290,22 @@ extension Data_Speech_Understanding_User: SwiftProtobuf.Message, SwiftProtobuf._ |
|
|
|
|
|
|
|
|
extension Data_Speech_Understanding_Audio: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
extension Data_Speech_Understanding_Audio: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
static let protoMessageName: String = _protobuf_package + ".Audio" |
|
|
static let protoMessageName: String = _protobuf_package + ".Audio" |
|
|
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}data\0\u{1}url\0\u{3}url_type\0\u{1}format\0\u{1}codec\0\u{1}language\0\u{1}rate\0\u{1}bits\0\u{1}channel\0\u{3}tos_bucket\0\u{3}tos_access_key\0\u{3}audio_tos_object\0\u{3}role_trn\0\u{3}binary_data\0") |
|
|
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ |
|
|
|
|
|
1: .same(proto: "data"), |
|
|
|
|
|
2: .same(proto: "url"), |
|
|
|
|
|
3: .standard(proto: "url_type"), |
|
|
|
|
|
4: .same(proto: "format"), |
|
|
|
|
|
5: .same(proto: "codec"), |
|
|
|
|
|
6: .same(proto: "language"), |
|
|
|
|
|
7: .same(proto: "rate"), |
|
|
|
|
|
8: .same(proto: "bits"), |
|
|
|
|
|
9: .same(proto: "channel"), |
|
|
|
|
|
10: .standard(proto: "tos_bucket"), |
|
|
|
|
|
11: .standard(proto: "tos_access_key"), |
|
|
|
|
|
12: .standard(proto: "audio_tos_object"), |
|
|
|
|
|
13: .standard(proto: "role_trn"), |
|
|
|
|
|
14: .standard(proto: "binary_data"), |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
@ -1318,7 +1400,10 @@ extension Data_Speech_Understanding_Audio: SwiftProtobuf.Message, SwiftProtobuf. |
|
|
|
|
|
|
|
|
extension Data_Speech_Understanding_AsrNotification: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
extension Data_Speech_Understanding_AsrNotification: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
static let protoMessageName: String = _protobuf_package + ".AsrNotification" |
|
|
static let protoMessageName: String = _protobuf_package + ".AsrNotification" |
|
|
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}message\0") |
|
|
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ |
|
|
|
|
|
1: .same(proto: "code"), |
|
|
|
|
|
2: .same(proto: "message"), |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
@ -1353,7 +1438,50 @@ extension Data_Speech_Understanding_AsrNotification: SwiftProtobuf.Message, Swif |
|
|
|
|
|
|
|
|
extension Data_Speech_Understanding_ReqParams: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
extension Data_Speech_Understanding_ReqParams: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
static let protoMessageName: String = _protobuf_package + ".ReqParams" |
|
|
static let protoMessageName: String = _protobuf_package + ".ReqParams" |
|
|
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{3}model_name\0\u{3}config_name\0\u{3}enable_vad\0\u{3}enable_punc\0\u{3}enable_itn\0\u{3}enable_ddc\0\u{3}enable_resample\0\u{3}vad_signal\0\u{3}enable_translate\0\u{3}disable_end_punc\0\u{3}enable_speaker_info\0\u{3}enable_channel_split\0\u{3}app_lang\0\u{1}country\0\u{3}audio_type\0\u{3}enable_lid\0\u{3}reco2act_num_spk\0\u{3}reco2max_num_spk\0\u{3}enable_interrupt\0\u{3}vad_segment\0\u{3}enable_ori_text\0\u{3}enable_nonstream\0\u{4}\u{9}show_utterances\0\u{3}show_words\0\u{3}show_duration\0\u{3}show_language\0\u{3}show_volume\0\u{4}\u{2}show_speech_rate\0\u{3}show_prefetch\0\u{3}result_type\0\u{4}\u{16}start_silence_time\0\u{3}end_silence_time\0\u{3}vad_silence_time\0\u{3}min_silence_time\0\u{3}vad_mode\0\u{3}vad_segment_duration\0\u{3}end_window_size\0\u{3}force_to_speech_time\0\u{2} corpus\0\u{1}notification\0\u{3}sensitive_words_filter\0\u{4}D\u{4}show_volume_v\0") |
|
|
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ |
|
|
|
|
|
1: .standard(proto: "model_name"), |
|
|
|
|
|
2: .standard(proto: "config_name"), |
|
|
|
|
|
3: .standard(proto: "enable_vad"), |
|
|
|
|
|
4: .standard(proto: "enable_punc"), |
|
|
|
|
|
5: .standard(proto: "enable_itn"), |
|
|
|
|
|
6: .standard(proto: "enable_ddc"), |
|
|
|
|
|
7: .standard(proto: "enable_resample"), |
|
|
|
|
|
8: .standard(proto: "vad_signal"), |
|
|
|
|
|
9: .standard(proto: "enable_translate"), |
|
|
|
|
|
10: .standard(proto: "disable_end_punc"), |
|
|
|
|
|
11: .standard(proto: "enable_speaker_info"), |
|
|
|
|
|
12: .standard(proto: "enable_channel_split"), |
|
|
|
|
|
13: .standard(proto: "app_lang"), |
|
|
|
|
|
14: .same(proto: "country"), |
|
|
|
|
|
15: .standard(proto: "audio_type"), |
|
|
|
|
|
16: .standard(proto: "enable_lid"), |
|
|
|
|
|
17: .standard(proto: "reco2act_num_spk"), |
|
|
|
|
|
18: .standard(proto: "reco2max_num_spk"), |
|
|
|
|
|
19: .standard(proto: "enable_interrupt"), |
|
|
|
|
|
20: .standard(proto: "vad_segment"), |
|
|
|
|
|
21: .standard(proto: "enable_ori_text"), |
|
|
|
|
|
22: .standard(proto: "enable_nonstream"), |
|
|
|
|
|
31: .standard(proto: "show_utterances"), |
|
|
|
|
|
32: .standard(proto: "show_words"), |
|
|
|
|
|
33: .standard(proto: "show_duration"), |
|
|
|
|
|
34: .standard(proto: "show_language"), |
|
|
|
|
|
35: .standard(proto: "show_volume"), |
|
|
|
|
|
362: .standard(proto: "show_volume_v"), |
|
|
|
|
|
37: .standard(proto: "show_speech_rate"), |
|
|
|
|
|
38: .standard(proto: "show_prefetch"), |
|
|
|
|
|
39: .standard(proto: "result_type"), |
|
|
|
|
|
61: .standard(proto: "start_silence_time"), |
|
|
|
|
|
62: .standard(proto: "end_silence_time"), |
|
|
|
|
|
63: .standard(proto: "vad_silence_time"), |
|
|
|
|
|
64: .standard(proto: "min_silence_time"), |
|
|
|
|
|
65: .standard(proto: "vad_mode"), |
|
|
|
|
|
66: .standard(proto: "vad_segment_duration"), |
|
|
|
|
|
67: .standard(proto: "end_window_size"), |
|
|
|
|
|
68: .standard(proto: "force_to_speech_time"), |
|
|
|
|
|
100: .same(proto: "corpus"), |
|
|
|
|
|
101: .same(proto: "notification"), |
|
|
|
|
|
102: .standard(proto: "sensitive_words_filter"), |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
fileprivate class _StorageClass { |
|
|
fileprivate class _StorageClass { |
|
|
var _modelName: String = String() |
|
|
var _modelName: String = String() |
|
|
@ -1399,11 +1527,15 @@ extension Data_Speech_Understanding_ReqParams: SwiftProtobuf.Message, SwiftProto |
|
|
var _notification: Data_Speech_Understanding_AsrNotification? = nil |
|
|
var _notification: Data_Speech_Understanding_AsrNotification? = nil |
|
|
var _sensitiveWordsFilter: String = String() |
|
|
var _sensitiveWordsFilter: String = String() |
|
|
|
|
|
|
|
|
|
|
|
#if swift(>=5.10) |
|
|
// This property is used as the initial default value for new instances of the type. |
|
|
// This property is used as the initial default value for new instances of the type. |
|
|
// The type itself is protecting the reference to its storage via CoW semantics. |
|
|
// The type itself is protecting the reference to its storage via CoW semantics. |
|
|
// This will force a copy to be made of this reference when the first mutation occurs; |
|
|
// This will force a copy to be made of this reference when the first mutation occurs; |
|
|
// hence, it is safe to mark this as `nonisolated(unsafe)`. |
|
|
// hence, it is safe to mark this as `nonisolated(unsafe)`. |
|
|
static nonisolated(unsafe) let defaultInstance = _StorageClass() |
|
|
static nonisolated(unsafe) let defaultInstance = _StorageClass() |
|
|
|
|
|
#else |
|
|
|
|
|
static let defaultInstance = _StorageClass() |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
private init() {} |
|
|
private init() {} |
|
|
|
|
|
|
|
|
@ -1710,7 +1842,21 @@ extension Data_Speech_Understanding_ReqParams: SwiftProtobuf.Message, SwiftProto |
|
|
|
|
|
|
|
|
extension Data_Speech_Understanding_Corpus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
extension Data_Speech_Understanding_Corpus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { |
|
|
static let protoMessageName: String = _protobuf_package + ".Corpus" |
|
|
static let protoMessageName: String = _protobuf_package + ".Corpus" |
|
|
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}context\0\u{3}boosting_table_id\0\u{3}boosting_table_name\0\u{3}boosting_id\0\u{3}nnlm_id\0\u{3}correct_table_id\0\u{3}correct_table_name\0\u{3}punc_hot_words\0\u{3}hot_words_list\0\u{3}glossary_list\0\u{4}3show_match_hot_words\0\u{3}show_all_match_hot_words\0\u{3}show_effective_hot_words\0") |
|
|
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ |
|
|
|
|
|
1: .same(proto: "context"), |
|
|
|
|
|
2: .standard(proto: "boosting_table_id"), |
|
|
|
|
|
3: .standard(proto: "boosting_table_name"), |
|
|
|
|
|
4: .standard(proto: "boosting_id"), |
|
|
|
|
|
5: .standard(proto: "nnlm_id"), |
|
|
|
|
|
6: .standard(proto: "correct_table_id"), |
|
|
|
|
|
7: .standard(proto: "correct_table_name"), |
|
|
|
|
|
8: .standard(proto: "punc_hot_words"), |
|
|
|
|
|
9: .standard(proto: "hot_words_list"), |
|
|
|
|
|
10: .standard(proto: "glossary_list"), |
|
|
|
|
|
61: .standard(proto: "show_match_hot_words"), |
|
|
|
|
|
62: .standard(proto: "show_all_match_hot_words"), |
|
|
|
|
|
63: .standard(proto: "show_effective_hot_words"), |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
while let fieldNumber = try decoder.nextFieldNumber() { |
|
|
|