Interface StreamingTranslateSpeechResultOrBuilder (0.53.0)

public interface StreamingTranslateSpeechResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResultCase()

public abstract StreamingTranslateSpeechResult.ResultCase getResultCase()
Returns
Type Description
StreamingTranslateSpeechResult.ResultCase

getTextTranslationResult()

public abstract StreamingTranslateSpeechResult.TextTranslationResult getTextTranslationResult()

Text translation result.

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

Returns
Type Description
StreamingTranslateSpeechResult.TextTranslationResult

The textTranslationResult.

getTextTranslationResultOrBuilder()

public abstract StreamingTranslateSpeechResult.TextTranslationResultOrBuilder getTextTranslationResultOrBuilder()

Text translation result.

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

Returns
Type Description
StreamingTranslateSpeechResult.TextTranslationResultOrBuilder

hasTextTranslationResult()

public abstract boolean hasTextTranslationResult()

Text translation result.

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

Returns
Type Description
boolean

Whether the textTranslationResult field is set.