public final class AsyncRecognizeRequest extends GeneratedMessageV3 implements AsyncRecognizeRequestOrBuilder
The top-level message sent by the client for the AsyncRecognize
method.
Protobuf type google.cloud.speech.v1beta1.AsyncRecognizeRequest
Static Fields
AUDIO_FIELD_NUMBER
public static final int AUDIO_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AsyncRecognizeRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AsyncRecognizeRequest.Builder newBuilder()
newBuilder(AsyncRecognizeRequest prototype)
public static AsyncRecognizeRequest.Builder newBuilder(AsyncRecognizeRequest prototype)
public static AsyncRecognizeRequest parseDelimitedFrom(InputStream input)
public static AsyncRecognizeRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AsyncRecognizeRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AsyncRecognizeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AsyncRecognizeRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AsyncRecognizeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AsyncRecognizeRequest parseFrom(CodedInputStream input)
public static AsyncRecognizeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AsyncRecognizeRequest parseFrom(InputStream input)
public static AsyncRecognizeRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AsyncRecognizeRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AsyncRecognizeRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AsyncRecognizeRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAudio()
public RecognitionAudio getAudio()
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;
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()
getParserForType()
public Parser<AsyncRecognizeRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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;
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AsyncRecognizeRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AsyncRecognizeRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
toBuilder()
public AsyncRecognizeRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides