public interface StreamingTranslateSpeechResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.rpc.Status |
getError()
Output only.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
Output only.
|
StreamingTranslateSpeechResult |
getResult()
Output only.
|
StreamingTranslateSpeechResultOrBuilder |
getResultOrBuilder()
Output only.
|
StreamingTranslateSpeechResponse.SpeechEventType |
getSpeechEventType()
Output only.
|
int |
getSpeechEventTypeValue()
Output only.
|
boolean |
hasError()
Output only.
|
boolean |
hasResult()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasError()
Output only. If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.rpc.Status getError()
Output only. If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Output only. If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean hasResult()
Output only. The translation result that is currently being processed (is_final could be true or false).
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult result = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
StreamingTranslateSpeechResult getResult()
Output only. The translation result that is currently being processed (is_final could be true or false).
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult result = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
StreamingTranslateSpeechResultOrBuilder getResultOrBuilder()
Output only. The translation result that is currently being processed (is_final could be true or false).
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult result = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getSpeechEventTypeValue()
Output only. Indicates the type of speech event.
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResponse.SpeechEventType speech_event_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
StreamingTranslateSpeechResponse.SpeechEventType getSpeechEventType()
Output only. Indicates the type of speech event.
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResponse.SpeechEventType speech_event_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Copyright © 2022 Google LLC. All rights reserved.