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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AsyncRecognizeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AsyncRecognizeRequest build()
buildPartial()
public AsyncRecognizeRequest buildPartial()
clear()
public AsyncRecognizeRequest.Builder clear()
Overrides
clearAudio()
public AsyncRecognizeRequest.Builder clearAudio()
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
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;
clearField(Descriptors.FieldDescriptor field)
public AsyncRecognizeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AsyncRecognizeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AsyncRecognizeRequest.Builder clone()
Overrides
getAudio()
public RecognitionAudio getAudio()
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
getAudioBuilder()
public RecognitionAudio.Builder getAudioBuilder()
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
getAudioOrBuilder()
public RecognitionAudioOrBuilder getAudioOrBuilder()
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
getConfig()
public RecognitionConfig getConfig()
Required Provides information to the recognizer that specifies how to
process the request.
.google.cloud.speech.v1beta1.RecognitionConfig config = 1;
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;
getConfigOrBuilder()
public RecognitionConfigOrBuilder getConfigOrBuilder()
Required Provides information to the recognizer that specifies how to
process the request.
.google.cloud.speech.v1beta1.RecognitionConfig config = 1;
getDefaultInstanceForType()
public AsyncRecognizeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasAudio()
public boolean hasAudio()
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
hasConfig()
public boolean hasConfig()
Required Provides information to the recognizer that specifies how to
process the request.
.google.cloud.speech.v1beta1.RecognitionConfig config = 1;
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAudio(RecognitionAudio value)
public AsyncRecognizeRequest.Builder mergeAudio(RecognitionAudio value)
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
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;
mergeFrom(AsyncRecognizeRequest other)
public AsyncRecognizeRequest.Builder mergeFrom(AsyncRecognizeRequest other)
public AsyncRecognizeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AsyncRecognizeRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AsyncRecognizeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAudio(RecognitionAudio value)
public AsyncRecognizeRequest.Builder setAudio(RecognitionAudio value)
Required The audio data to be recognized.
.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;
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;
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public AsyncRecognizeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AsyncRecognizeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AsyncRecognizeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides