OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 syntax = "proto2"; | |
6 option optimize_for = LITE_RUNTIME; | |
7 | |
8 //option cc_api_version = 2; | |
9 //option java_api_version = 2; | |
hans
2012/05/16 10:42:47
should these two commented out lines be here?
Primiano Tucci (use gerrit)
2012/05/16 13:34:19
Done.
| |
10 | |
11 package speech; | |
12 | |
13 // ================================================================== | |
14 // Messages sent to client. | |
hans
2012/05/16 10:42:47
not sure how helpful this comment is?
Primiano Tucci (use gerrit)
2012/05/16 13:34:19
Right.
Primiano Tucci (use gerrit)
2012/05/16 13:34:19
Agree, removed.
| |
15 // ================================================================== | |
16 | |
17 // All responses must be an extension of this message. | |
hans
2012/05/16 10:42:47
hmm, but this this seems to be the only response m
Primiano Tucci (use gerrit)
2012/05/16 13:34:19
Agree. removed.
| |
18 message HttpStreamingResult { | |
19 optional int32 status = 1; | |
20 // Required. The request_id of the RecognitionRequest that | |
hans
2012/05/16 10:42:47
if it's required, why is it marked optional?
Primiano Tucci (use gerrit)
2012/05/16 13:34:19
Ha. To be honest either its purpose is not complet
| |
21 // initiated the sequence associated with this response. | |
22 optional int32 id = 2; | |
23 repeated HttpStreamingHypothesis hypotheses = 3; | |
24 | |
25 optional string provisional = 4; | |
hans
2012/05/16 10:42:47
could we try to comment this file a bit more exten
Primiano Tucci (use gerrit)
2012/05/16 13:34:19
Done.
| |
26 optional string ephemeral = 5; | |
27 | |
28 optional string upstream_url = 6; | |
29 optional bool upstream_connected = 7; | |
30 } | |
31 | |
32 message HttpStreamingHypothesis { | |
33 // Hypothesis as text. | |
34 optional string utterance = 1; | |
hans
2012/05/16 10:42:47
i like a blank line between fields when they have
Primiano Tucci (use gerrit)
2012/05/16 13:34:19
Done.
| |
35 // Field below is typically provided only for the top hypothesis. | |
36 // Confidence score associated with this hypothesis. | |
37 optional float confidence = 2; | |
38 } | |
OLD | NEW |