Send feedback
Class AsyncRecognizeRequest.Builder (4.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.1.0 keyboard_arrow_down
public static final class AsyncRecognizeRequest . Builder extends GeneratedMessageV3 . Builder<AsyncRecognizeRequest . Builder > implements AsyncRecognizeRequestOrBuilder
The top-level message sent by the client for the AsyncRecognize
method.
Protobuf type google.cloud.speech.v1beta1.AsyncRecognizeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AsyncRecognizeRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public AsyncRecognizeRequest build ()
Returns
buildPartial()
public AsyncRecognizeRequest buildPartial ()
Returns
clear()
public AsyncRecognizeRequest . Builder clear ()
Returns
Overrides
clearAudio()
public AsyncRecognizeRequest . Builder clearAudio ()
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
Returns
clearConfig()
public AsyncRecognizeRequest . Builder clearConfig ()
Required Provides information to the recognizer that specifies how to
process the request.
.google.cloud.speech.v1beta1.RecognitionConfig config = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public AsyncRecognizeRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AsyncRecognizeRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public AsyncRecognizeRequest . Builder clone ()
Returns
Overrides
getAudio()
public RecognitionAudio getAudio ()
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
Returns
getAudioBuilder()
public RecognitionAudio . Builder getAudioBuilder ()
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
Returns
getAudioOrBuilder()
public RecognitionAudioOrBuilder getAudioOrBuilder ()
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
Returns
getConfig()
public RecognitionConfig getConfig ()
Required Provides information to the recognizer that specifies how to
process the request.
.google.cloud.speech.v1beta1.RecognitionConfig config = 1;
Returns
getConfigBuilder()
public RecognitionConfig . Builder getConfigBuilder ()
Required Provides information to the recognizer that specifies how to
process the request.
.google.cloud.speech.v1beta1.RecognitionConfig config = 1;
Returns
getConfigOrBuilder()
public RecognitionConfigOrBuilder getConfigOrBuilder ()
Required Provides information to the recognizer that specifies how to
process the request.
.google.cloud.speech.v1beta1.RecognitionConfig config = 1;
Returns
getDefaultInstanceForType()
public AsyncRecognizeRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
hasAudio()
public boolean hasAudio ()
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
Returns
hasConfig()
public boolean hasConfig ()
Required Provides information to the recognizer that specifies how to
process the request.
.google.cloud.speech.v1beta1.RecognitionConfig config = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeAudio(RecognitionAudio value)
public AsyncRecognizeRequest . Builder mergeAudio ( RecognitionAudio value )
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
Parameter
Returns
mergeConfig(RecognitionConfig value)
public AsyncRecognizeRequest . Builder mergeConfig ( RecognitionConfig value )
Required Provides information to the recognizer that specifies how to
process the request.
.google.cloud.speech.v1beta1.RecognitionConfig config = 1;
Parameter
Returns
mergeFrom(AsyncRecognizeRequest other)
public AsyncRecognizeRequest . Builder mergeFrom ( AsyncRecognizeRequest other )
Parameter
Returns
public AsyncRecognizeRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AsyncRecognizeRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AsyncRecognizeRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setAudio(RecognitionAudio value)
public AsyncRecognizeRequest . Builder setAudio ( RecognitionAudio value )
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
Parameter
Returns
setAudio(RecognitionAudio.Builder builderForValue)
public AsyncRecognizeRequest . Builder setAudio ( RecognitionAudio . Builder builderForValue )
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
Parameter
Returns
setConfig(RecognitionConfig value)
public AsyncRecognizeRequest . Builder setConfig ( RecognitionConfig value )
Required Provides information to the recognizer that specifies how to
process the request.
.google.cloud.speech.v1beta1.RecognitionConfig config = 1;
Parameter
Returns
setConfig(RecognitionConfig.Builder builderForValue)
public AsyncRecognizeRequest . Builder setConfig ( RecognitionConfig . Builder builderForValue )
Required Provides information to the recognizer that specifies how to
process the request.
.google.cloud.speech.v1beta1.RecognitionConfig config = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AsyncRecognizeRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AsyncRecognizeRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AsyncRecognizeRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]