- 0.61.0 (latest)
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.6
- 0.7.10
public static final class StreamingTranslateSpeechResult.Builder extends GeneratedMessageV3.Builder<StreamingTranslateSpeechResult.Builder> implements StreamingTranslateSpeechResultOrBuilder
A streaming speech translation result corresponding to a portion of the audio that is currently being processed.
Protobuf type google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StreamingTranslateSpeechResult.BuilderImplements
StreamingTranslateSpeechResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingTranslateSpeechResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StreamingTranslateSpeechResult.Builder |
build()
public StreamingTranslateSpeechResult build()
Type | Description |
StreamingTranslateSpeechResult |
buildPartial()
public StreamingTranslateSpeechResult buildPartial()
Type | Description |
StreamingTranslateSpeechResult |
clear()
public StreamingTranslateSpeechResult.Builder clear()
Type | Description |
StreamingTranslateSpeechResult.Builder |
clearField(Descriptors.FieldDescriptor field)
public StreamingTranslateSpeechResult.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
StreamingTranslateSpeechResult.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingTranslateSpeechResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
StreamingTranslateSpeechResult.Builder |
clearResult()
public StreamingTranslateSpeechResult.Builder clearResult()
Type | Description |
StreamingTranslateSpeechResult.Builder |
clearTextTranslationResult()
public StreamingTranslateSpeechResult.Builder clearTextTranslationResult()
Text translation result.
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;
Type | Description |
StreamingTranslateSpeechResult.Builder |
clone()
public StreamingTranslateSpeechResult.Builder clone()
Type | Description |
StreamingTranslateSpeechResult.Builder |
getDefaultInstanceForType()
public StreamingTranslateSpeechResult getDefaultInstanceForType()
Type | Description |
StreamingTranslateSpeechResult |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getResultCase()
public StreamingTranslateSpeechResult.ResultCase getResultCase()
Type | Description |
StreamingTranslateSpeechResult.ResultCase |
getTextTranslationResult()
public StreamingTranslateSpeechResult.TextTranslationResult getTextTranslationResult()
Text translation result.
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;
Type | Description |
StreamingTranslateSpeechResult.TextTranslationResult | The textTranslationResult. |
getTextTranslationResultBuilder()
public StreamingTranslateSpeechResult.TextTranslationResult.Builder getTextTranslationResultBuilder()
Text translation result.
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;
Type | Description |
StreamingTranslateSpeechResult.TextTranslationResult.Builder |
getTextTranslationResultOrBuilder()
public StreamingTranslateSpeechResult.TextTranslationResultOrBuilder getTextTranslationResultOrBuilder()
Text translation result.
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;
Type | Description |
StreamingTranslateSpeechResult.TextTranslationResultOrBuilder |
hasTextTranslationResult()
public boolean hasTextTranslationResult()
Text translation result.
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;
Type | Description |
boolean | Whether the textTranslationResult field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(StreamingTranslateSpeechResult other)
public StreamingTranslateSpeechResult.Builder mergeFrom(StreamingTranslateSpeechResult other)
Name | Description |
other | StreamingTranslateSpeechResult |
Type | Description |
StreamingTranslateSpeechResult.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamingTranslateSpeechResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingTranslateSpeechResult.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public StreamingTranslateSpeechResult.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
StreamingTranslateSpeechResult.Builder |
mergeTextTranslationResult(StreamingTranslateSpeechResult.TextTranslationResult value)
public StreamingTranslateSpeechResult.Builder mergeTextTranslationResult(StreamingTranslateSpeechResult.TextTranslationResult value)
Text translation result.
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;
Name | Description |
value | StreamingTranslateSpeechResult.TextTranslationResult |
Type | Description |
StreamingTranslateSpeechResult.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingTranslateSpeechResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StreamingTranslateSpeechResult.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingTranslateSpeechResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StreamingTranslateSpeechResult.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingTranslateSpeechResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
StreamingTranslateSpeechResult.Builder |
setTextTranslationResult(StreamingTranslateSpeechResult.TextTranslationResult value)
public StreamingTranslateSpeechResult.Builder setTextTranslationResult(StreamingTranslateSpeechResult.TextTranslationResult value)
Text translation result.
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;
Name | Description |
value | StreamingTranslateSpeechResult.TextTranslationResult |
Type | Description |
StreamingTranslateSpeechResult.Builder |
setTextTranslationResult(StreamingTranslateSpeechResult.TextTranslationResult.Builder builderForValue)
public StreamingTranslateSpeechResult.Builder setTextTranslationResult(StreamingTranslateSpeechResult.TextTranslationResult.Builder builderForValue)
Text translation result.
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;
Name | Description |
builderForValue | StreamingTranslateSpeechResult.TextTranslationResult.Builder |
Type | Description |
StreamingTranslateSpeechResult.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingTranslateSpeechResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StreamingTranslateSpeechResult.Builder |