summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-11-11 21:38:21 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-11-11 21:38:21 +0000
commit0e21a20448a4c12a71cf81d6e3bd1a86f3fa0df9 (patch)
tree4a2d948440888e626562f74ae9c4711c55022127
parent36d6dd9104ade90e0cba0ffab56605ba36c0f310 (diff)
parent68739de443584cddc40058119a26b676b8d7c36d (diff)
Merge "Updating SendTranscriptionFeedback for consistency."
-rw-r--r--java/com/android/voicemail/impl/transcribe/grpc/voicemail_transcription.proto12
1 files changed, 6 insertions, 6 deletions
diff --git a/java/com/android/voicemail/impl/transcribe/grpc/voicemail_transcription.proto b/java/com/android/voicemail/impl/transcribe/grpc/voicemail_transcription.proto
index 1790881e7..c46fb2176 100644
--- a/java/com/android/voicemail/impl/transcribe/grpc/voicemail_transcription.proto
+++ b/java/com/android/voicemail/impl/transcribe/grpc/voicemail_transcription.proto
@@ -71,7 +71,7 @@ enum DonationPreference {
// Enum that specifies the user's rating for a voicemail transcription.
enum TranscriptionRatingValue {
// Default but invalid value.
- UNSPECIFIED = 0;
+ TRANSCRIPTION_RATING_VALUE_UNSPECIFIED = 0;
// User indicated that the transcription was good.
GOOD_TRANSCRIPTION = 1;
@@ -155,14 +155,14 @@ message TranscriptionRating {
}
// Request for uploading transcription ratings.
-message TranscriptionFeedbackRequest {
+message SendTranscriptionFeedbackRequest {
// User feedback indicating the transcription quality for one or more
// voicemails
- repeated TranscriptionRating ratings = 1;
+ repeated TranscriptionRating rating = 1;
}
// Response for uploading transcription ratings
-message TranscriptionFeedbackResponse {
+message SendTranscriptionFeedbackResponse {
}
// RPC service for transcribing voicemails.
@@ -184,8 +184,8 @@ service VoicemailTranscriptionService {
// Uploads user's transcription feedback. Feedback will only be collected from
// user's who have consented to donate their voicemails.
- rpc SendTranscriptionFeedback(TranscriptionFeedbackRequest)
- returns (TranscriptionFeedbackResponse) {
+ rpc SendTranscriptionFeedback(SendTranscriptionFeedbackResponse)
+ returns (SendTranscriptionFeedbackResponse) {
}
}