Interface StreamingTranslateSpeechResultOrBuilder (0.17.0)

public interface StreamingTranslateSpeechResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResultCase()

public abstract StreamingTranslateSpeechResult.ResultCase getResultCase()
Returns
TypeDescription
StreamingTranslateSpeechResult.ResultCase

getTextTranslationResult()

public abstract StreamingTranslateSpeechResult.TextTranslationResult getTextTranslationResult()

Text translation result.

.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;

Returns
TypeDescription
StreamingTranslateSpeechResult.TextTranslationResult

The textTranslationResult.

getTextTranslationResultOrBuilder()

public abstract StreamingTranslateSpeechResult.TextTranslationResultOrBuilder getTextTranslationResultOrBuilder()

Text translation result.

.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;

Returns
TypeDescription
StreamingTranslateSpeechResult.TextTranslationResultOrBuilder

hasTextTranslationResult()

public abstract boolean hasTextTranslationResult()

Text translation result.

.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;

Returns
TypeDescription
boolean

Whether the textTranslationResult field is set.