public static interface StreamingTranslateSpeechResult.TextTranslationResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getIsFinal()
Output only.
|
String |
getTranslation()
Output only.
|
com.google.protobuf.ByteString |
getTranslationBytes()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getTranslation()
Output only. The translated sentence.
string translation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getTranslationBytes()
Output only. The translated sentence.
string translation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean getIsFinal()
Output only. If `false`, this `StreamingTranslateSpeechResult` represents an interim result that may change. If `true`, this is the final time the translation service will return this particular `StreamingTranslateSpeechResult`, the streaming translator will not return any further hypotheses for this portion of the transcript and corresponding audio.
bool is_final = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];Copyright © 2022 Google LLC. All rights reserved.