Updating SendTranscriptionFeedback for consistency.
Bug: 68900535
Test: SendTranscriptionFeedbackActionTest
PiperOrigin-RevId: 174732357
Change-Id: I9a99606a13cfc32f53a6ce8a15ad258bb48d7130
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 1790881..c46fb21 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 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 @@
}
// 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 @@
// 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) {
}
}