Send feedback
Class SyncRecognizeRequest (4.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.16.0 keyboard_arrow_down
public final class SyncRecognizeRequest extends GeneratedMessageV3 implements SyncRecognizeRequestOrBuilder
The top-level message sent by the client for the SyncRecognize
method.
Protobuf type google.cloud.speech.v1beta1.SyncRecognizeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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 SyncRecognizeRequest getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static SyncRecognizeRequest . Builder newBuilder ()
newBuilder(SyncRecognizeRequest prototype)
public static SyncRecognizeRequest . Builder newBuilder ( SyncRecognizeRequest prototype )
public static SyncRecognizeRequest parseDelimitedFrom ( InputStream input )
public static SyncRecognizeRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static SyncRecognizeRequest parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SyncRecognizeRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static SyncRecognizeRequest parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SyncRecognizeRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static SyncRecognizeRequest parseFrom ( CodedInputStream input )
public static SyncRecognizeRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static SyncRecognizeRequest parseFrom ( InputStream input )
public static SyncRecognizeRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static SyncRecognizeRequest parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SyncRecognizeRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<SyncRecognizeRequest> 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 SyncRecognizeRequest getDefaultInstanceForType ()
getParserForType()
public Parser<SyncRecognizeRequest> 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 SyncRecognizeRequest . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SyncRecognizeRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
toBuilder()
public SyncRecognizeRequest . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
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."],[],[]]