public interface RecognizeRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAudio()
public abstract RecognitionAudio getAudio()Required. The audio data to be recognized.
.google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RecognitionAudio |
The audio. |
getAudioOrBuilder()
public abstract RecognitionAudioOrBuilder getAudioOrBuilder()Required. The audio data to be recognized.
.google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RecognitionAudioOrBuilder |
|
getConfig()
public abstract RecognitionConfig getConfig()Required. Provides information to the recognizer that specifies how to process the request.
.google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RecognitionConfig |
The config. |
getConfigOrBuilder()
public abstract RecognitionConfigOrBuilder getConfigOrBuilder()Required. Provides information to the recognizer that specifies how to process the request.
.google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RecognitionConfigOrBuilder |
|
hasAudio()
public abstract boolean hasAudio()Required. The audio data to be recognized.
.google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the audio field is set. |
hasConfig()
public abstract boolean hasConfig()Required. Provides information to the recognizer that specifies how to process the request.
.google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the config field is set. |