public static final class LongRunningRecognizeResponse.Builder extends GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder> implements LongRunningRecognizeResponseOrBuilder
The only message returned to the client by the `LongRunningRecognize` method. It contains the result as zero or more sequential `SpeechRecognitionResult` messages. It is included in the `result.response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.Protobuf type
google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>
public LongRunningRecognizeResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>
public LongRunningRecognizeResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public LongRunningRecognizeResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public LongRunningRecognizeResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public LongRunningRecognizeResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>
public LongRunningRecognizeResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>
public LongRunningRecognizeResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>
public LongRunningRecognizeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>
public LongRunningRecognizeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>
public LongRunningRecognizeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>
public LongRunningRecognizeResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<LongRunningRecognizeResponse.Builder>
public LongRunningRecognizeResponse.Builder mergeFrom(LongRunningRecognizeResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>
public LongRunningRecognizeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<LongRunningRecognizeResponse.Builder>
java.io.IOException
public java.util.List<SpeechRecognitionResult> getResultsList()
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
getResultsList
in interface LongRunningRecognizeResponseOrBuilder
public int getResultsCount()
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
getResultsCount
in interface LongRunningRecognizeResponseOrBuilder
public SpeechRecognitionResult getResults(int index)
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
getResults
in interface LongRunningRecognizeResponseOrBuilder
public LongRunningRecognizeResponse.Builder setResults(int index, SpeechRecognitionResult value)
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
public LongRunningRecognizeResponse.Builder setResults(int index, SpeechRecognitionResult.Builder builderForValue)
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
public LongRunningRecognizeResponse.Builder addResults(SpeechRecognitionResult value)
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
public LongRunningRecognizeResponse.Builder addResults(int index, SpeechRecognitionResult value)
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
public LongRunningRecognizeResponse.Builder addResults(SpeechRecognitionResult.Builder builderForValue)
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
public LongRunningRecognizeResponse.Builder addResults(int index, SpeechRecognitionResult.Builder builderForValue)
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
public LongRunningRecognizeResponse.Builder addAllResults(java.lang.Iterable<? extends SpeechRecognitionResult> values)
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
public LongRunningRecognizeResponse.Builder clearResults()
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
public LongRunningRecognizeResponse.Builder removeResults(int index)
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
public SpeechRecognitionResult.Builder getResultsBuilder(int index)
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
public SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index)
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
getResultsOrBuilder
in interface LongRunningRecognizeResponseOrBuilder
public java.util.List<? extends SpeechRecognitionResultOrBuilder> getResultsOrBuilderList()
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
getResultsOrBuilderList
in interface LongRunningRecognizeResponseOrBuilder
public SpeechRecognitionResult.Builder addResultsBuilder()
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
public SpeechRecognitionResult.Builder addResultsBuilder(int index)
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
public java.util.List<SpeechRecognitionResult.Builder> getResultsBuilderList()
Output only. Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
public final LongRunningRecognizeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>
public final LongRunningRecognizeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<LongRunningRecognizeResponse.Builder>