- 0.59.0 (latest)
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingTranslateSpeechResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |
build()
public StreamingTranslateSpeechResult build()
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult |
buildPartial()
public StreamingTranslateSpeechResult buildPartial()
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult |
clear()
public StreamingTranslateSpeechResult.Builder clear()
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |
clearField(Descriptors.FieldDescriptor field)
public StreamingTranslateSpeechResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingTranslateSpeechResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |
clearResult()
public StreamingTranslateSpeechResult.Builder clearResult()
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |
clearTextTranslationResult()
public StreamingTranslateSpeechResult.Builder clearTextTranslationResult()
Text translation result.
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |
clone()
public StreamingTranslateSpeechResult.Builder clone()
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |
getDefaultInstanceForType()
public StreamingTranslateSpeechResult getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getResultCase()
public StreamingTranslateSpeechResult.ResultCase getResultCase()
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.ResultCase |
getTextTranslationResult()
public StreamingTranslateSpeechResult.TextTranslationResult getTextTranslationResult()
Text translation result.
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.TextTranslationResult.Builder |
getTextTranslationResultOrBuilder()
public StreamingTranslateSpeechResult.TextTranslationResultOrBuilder getTextTranslationResultOrBuilder()
Text translation result.
.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResult text_translation_result = 1;
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.TextTranslationResultOrBuilder |
hasTextTranslationResult()
public 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(StreamingTranslateSpeechResult other)
public StreamingTranslateSpeechResult.Builder mergeFrom(StreamingTranslateSpeechResult other)
Parameter | |
---|---|
Name | Description |
other | StreamingTranslateSpeechResult |
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamingTranslateSpeechResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StreamingTranslateSpeechResult.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | StreamingTranslateSpeechResult.TextTranslationResult |
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingTranslateSpeechResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingTranslateSpeechResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingTranslateSpeechResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | StreamingTranslateSpeechResult.TextTranslationResult |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | StreamingTranslateSpeechResult.TextTranslationResult.Builder |
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingTranslateSpeechResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StreamingTranslateSpeechResult.Builder |