- 4.50.0 (latest)
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.0.0
- 2.6.1
- 2.5.9
- 2.4.0
- 2.3.0
- 2.2.15
public final class RecognitionMetadata extends GeneratedMessageV3 implements RecognitionMetadataOrBuilder
Description of audio data to be recognized.
Protobuf type google.cloud.speech.v1.RecognitionMetadata
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RecognitionMetadataImplements
RecognitionMetadataOrBuilderStatic Fields
AUDIO_TOPIC_FIELD_NUMBER (deprecated)
public static final int AUDIO_TOPIC_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
INDUSTRY_NAICS_CODE_OF_AUDIO_FIELD_NUMBER (deprecated)
public static final int INDUSTRY_NAICS_CODE_OF_AUDIO_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
INTERACTION_TYPE_FIELD_NUMBER (deprecated)
public static final int INTERACTION_TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
MICROPHONE_DISTANCE_FIELD_NUMBER (deprecated)
public static final int MICROPHONE_DISTANCE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ORIGINAL_MEDIA_TYPE_FIELD_NUMBER (deprecated)
public static final int ORIGINAL_MEDIA_TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ORIGINAL_MIME_TYPE_FIELD_NUMBER (deprecated)
public static final int ORIGINAL_MIME_TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RECORDING_DEVICE_NAME_FIELD_NUMBER (deprecated)
public static final int RECORDING_DEVICE_NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RECORDING_DEVICE_TYPE_FIELD_NUMBER (deprecated)
public static final int RECORDING_DEVICE_TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance() (deprecated)
public static RecognitionMetadata getDefaultInstance()
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
getDescriptor() (deprecated)
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder() (deprecated)
public static RecognitionMetadata.Builder newBuilder()
Returns | |
---|---|
Type | Description |
RecognitionMetadata.Builder |
newBuilder(RecognitionMetadata prototype) (deprecated)
public static RecognitionMetadata.Builder newBuilder(RecognitionMetadata prototype)
Parameter | |
---|---|
Name | Description |
prototype |
RecognitionMetadata |
Returns | |
---|---|
Type | Description |
RecognitionMetadata.Builder |
parseDelimitedFrom(InputStream input) (deprecated)
public static RecognitionMetadata parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)
public static RecognitionMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data) (deprecated)
public static RecognitionMetadata parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) (deprecated)
public static RecognitionMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data) (deprecated)
public static RecognitionMetadata parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) (deprecated)
public static RecognitionMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input) (deprecated)
public static RecognitionMetadata parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)
public static RecognitionMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input) (deprecated)
public static RecognitionMetadata parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)
public static RecognitionMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data) (deprecated)
public static RecognitionMetadata parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) (deprecated)
public static RecognitionMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser() (deprecated)
public static Parser<RecognitionMetadata> parser()
Returns | |
---|---|
Type | Description |
Parser<RecognitionMetadata> |
Methods
equals(Object obj) (deprecated)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getAudioTopic() (deprecated)
public String getAudioTopic()
Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
string audio_topic = 10;
Returns | |
---|---|
Type | Description |
String |
The audioTopic. |
getAudioTopicBytes() (deprecated)
public ByteString getAudioTopicBytes()
Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
string audio_topic = 10;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for audioTopic. |
getDefaultInstanceForType() (deprecated)
public RecognitionMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RecognitionMetadata |
getIndustryNaicsCodeOfAudio() (deprecated)
public int getIndustryNaicsCodeOfAudio()
The industry vertical to which this speech recognition request most closely applies. This is most indicative of the topics contained in the audio. Use the 6-digit NAICS code to identify the industry vertical - see https://www.naics.com/search/.
uint32 industry_naics_code_of_audio = 3;
Returns | |
---|---|
Type | Description |
int |
The industryNaicsCodeOfAudio. |
getInteractionType() (deprecated)
public RecognitionMetadata.InteractionType getInteractionType()
The use case most closely describing the audio content to be recognized.
.google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1;
Returns | |
---|---|
Type | Description |
RecognitionMetadata.InteractionType |
The interactionType. |
getInteractionTypeValue() (deprecated)
public int getInteractionTypeValue()
The use case most closely describing the audio content to be recognized.
.google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for interactionType. |
getMicrophoneDistance() (deprecated)
public RecognitionMetadata.MicrophoneDistance getMicrophoneDistance()
The audio type that most closely describes the audio being recognized.
.google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;
Returns | |
---|---|
Type | Description |
RecognitionMetadata.MicrophoneDistance |
The microphoneDistance. |
getMicrophoneDistanceValue() (deprecated)
public int getMicrophoneDistanceValue()
The audio type that most closely describes the audio being recognized.
.google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for microphoneDistance. |
getOriginalMediaType() (deprecated)
public RecognitionMetadata.OriginalMediaType getOriginalMediaType()
The original media the speech was recorded on.
.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5;
Returns | |
---|---|
Type | Description |
RecognitionMetadata.OriginalMediaType |
The originalMediaType. |
getOriginalMediaTypeValue() (deprecated)
public int getOriginalMediaTypeValue()
The original media the speech was recorded on.
.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for originalMediaType. |
getOriginalMimeType() (deprecated)
public String getOriginalMimeType()
Mime type of the original audio file. For example audio/m4a
,
audio/x-alaw-basic
, audio/mp3
, audio/3gpp
.
A list of possible audio mime types is maintained at
http://www.iana.org/assignments/media-types/media-types.xhtml#audio
string original_mime_type = 8;
Returns | |
---|---|
Type | Description |
String |
The originalMimeType. |
getOriginalMimeTypeBytes() (deprecated)
public ByteString getOriginalMimeTypeBytes()
Mime type of the original audio file. For example audio/m4a
,
audio/x-alaw-basic
, audio/mp3
, audio/3gpp
.
A list of possible audio mime types is maintained at
http://www.iana.org/assignments/media-types/media-types.xhtml#audio
string original_mime_type = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for originalMimeType. |
getParserForType() (deprecated)
public Parser<RecognitionMetadata> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<RecognitionMetadata> |
getRecordingDeviceName() (deprecated)
public String getRecordingDeviceName()
The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.
string recording_device_name = 7;
Returns | |
---|---|
Type | Description |
String |
The recordingDeviceName. |
getRecordingDeviceNameBytes() (deprecated)
public ByteString getRecordingDeviceNameBytes()
The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.
string recording_device_name = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for recordingDeviceName. |
getRecordingDeviceType() (deprecated)
public RecognitionMetadata.RecordingDeviceType getRecordingDeviceType()
The type of device the speech was recorded with.
.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;
Returns | |
---|---|
Type | Description |
RecognitionMetadata.RecordingDeviceType |
The recordingDeviceType. |
getRecordingDeviceTypeValue() (deprecated)
public int getRecordingDeviceTypeValue()
The type of device the speech was recorded with.
.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for recordingDeviceType. |
getSerializedSize() (deprecated)
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode() (deprecated)
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable() (deprecated)
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized() (deprecated)
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType() (deprecated)
public RecognitionMetadata.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
RecognitionMetadata.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) (deprecated)
protected RecognitionMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
RecognitionMetadata.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) (deprecated)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder() (deprecated)
public RecognitionMetadata.Builder toBuilder()
Returns | |
---|---|
Type | Description |
RecognitionMetadata.Builder |
writeTo(CodedOutputStream output) (deprecated)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |