From 68739de443584cddc40058119a26b676b8d7c36d Mon Sep 17 00:00:00 2001 From: Android Dialer Date: Mon, 6 Nov 2017 11:05:12 -0800 Subject: Updating SendTranscriptionFeedback for consistency. Bug: 68900535 Test: SendTranscriptionFeedbackActionTest PiperOrigin-RevId: 174732357 Change-Id: I9a99606a13cfc32f53a6ce8a15ad258bb48d7130 --- .../impl/transcribe/grpc/voicemail_transcription.proto | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'java') 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) { } } -- cgit v1.2.3