Package com.google.cloud.speech.v1
Class RecognitionMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.speech.v1.RecognitionMetadata
-
- All Implemented Interfaces:
RecognitionMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Deprecated public final class RecognitionMetadata extends com.google.protobuf.GeneratedMessageV3 implements RecognitionMetadataOrBuilder
Deprecated.Description of audio data to be recognized.
Protobuf typegoogle.cloud.speech.v1.RecognitionMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecognitionMetadata.BuilderDeprecated.Description of audio data to be recognized.static classRecognitionMetadata.InteractionTypeDeprecated.Use case categories that the audio recognition request can be described by.static classRecognitionMetadata.MicrophoneDistanceDeprecated.Enumerates the types of capture settings describing an audio file.static classRecognitionMetadata.OriginalMediaTypeDeprecated.The original media the speech was recorded on.static classRecognitionMetadata.RecordingDeviceTypeDeprecated.The type of device the speech was recorded with.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAUDIO_TOPIC_FIELD_NUMBERDeprecated.static intINDUSTRY_NAICS_CODE_OF_AUDIO_FIELD_NUMBERDeprecated.static intINTERACTION_TYPE_FIELD_NUMBERDeprecated.static intMICROPHONE_DISTANCE_FIELD_NUMBERDeprecated.static intORIGINAL_MEDIA_TYPE_FIELD_NUMBERDeprecated.static intORIGINAL_MIME_TYPE_FIELD_NUMBERDeprecated.static intRECORDING_DEVICE_NAME_FIELD_NUMBERDeprecated.static intRECORDING_DEVICE_TYPE_FIELD_NUMBERDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)Deprecated.StringgetAudioTopic()Deprecated.Description of the content.com.google.protobuf.ByteStringgetAudioTopicBytes()Deprecated.Description of the content.static RecognitionMetadatagetDefaultInstance()Deprecated.RecognitionMetadatagetDefaultInstanceForType()Deprecated.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Deprecated.intgetIndustryNaicsCodeOfAudio()Deprecated.The industry vertical to which this speech recognition request most closely applies.RecognitionMetadata.InteractionTypegetInteractionType()Deprecated.The use case most closely describing the audio content to be recognized.intgetInteractionTypeValue()Deprecated.The use case most closely describing the audio content to be recognized.RecognitionMetadata.MicrophoneDistancegetMicrophoneDistance()Deprecated.The audio type that most closely describes the audio being recognized.intgetMicrophoneDistanceValue()Deprecated.The audio type that most closely describes the audio being recognized.RecognitionMetadata.OriginalMediaTypegetOriginalMediaType()Deprecated.The original media the speech was recorded on.intgetOriginalMediaTypeValue()Deprecated.The original media the speech was recorded on.StringgetOriginalMimeType()Deprecated.Mime type of the original audio file.com.google.protobuf.ByteStringgetOriginalMimeTypeBytes()Deprecated.Mime type of the original audio file.com.google.protobuf.Parser<RecognitionMetadata>getParserForType()Deprecated.StringgetRecordingDeviceName()Deprecated.The device used to make the recording.com.google.protobuf.ByteStringgetRecordingDeviceNameBytes()Deprecated.The device used to make the recording.RecognitionMetadata.RecordingDeviceTypegetRecordingDeviceType()Deprecated.The type of device the speech was recorded with.intgetRecordingDeviceTypeValue()Deprecated.The type of device the speech was recorded with.intgetSerializedSize()Deprecated.inthashCode()Deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()Deprecated.booleanisInitialized()Deprecated.static RecognitionMetadata.BuildernewBuilder()Deprecated.static RecognitionMetadata.BuildernewBuilder(RecognitionMetadata prototype)Deprecated.RecognitionMetadata.BuildernewBuilderForType()Deprecated.protected RecognitionMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)Deprecated.protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)Deprecated.static RecognitionMetadataparseDelimitedFrom(InputStream input)Deprecated.static RecognitionMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Deprecated.static RecognitionMetadataparseFrom(byte[] data)Deprecated.static RecognitionMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Deprecated.static RecognitionMetadataparseFrom(com.google.protobuf.ByteString data)Deprecated.static RecognitionMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Deprecated.static RecognitionMetadataparseFrom(com.google.protobuf.CodedInputStream input)Deprecated.static RecognitionMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Deprecated.static RecognitionMetadataparseFrom(InputStream input)Deprecated.static RecognitionMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Deprecated.static RecognitionMetadataparseFrom(ByteBuffer data)Deprecated.static RecognitionMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Deprecated.static com.google.protobuf.Parser<RecognitionMetadata>parser()Deprecated.RecognitionMetadata.BuildertoBuilder()Deprecated.voidwriteTo(com.google.protobuf.CodedOutputStream output)Deprecated.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
INTERACTION_TYPE_FIELD_NUMBER
public static final int INTERACTION_TYPE_FIELD_NUMBER
Deprecated.- See Also:
- Constant Field Values
-
INDUSTRY_NAICS_CODE_OF_AUDIO_FIELD_NUMBER
public static final int INDUSTRY_NAICS_CODE_OF_AUDIO_FIELD_NUMBER
Deprecated.- See Also:
- Constant Field Values
-
MICROPHONE_DISTANCE_FIELD_NUMBER
public static final int MICROPHONE_DISTANCE_FIELD_NUMBER
Deprecated.- See Also:
- Constant Field Values
-
ORIGINAL_MEDIA_TYPE_FIELD_NUMBER
public static final int ORIGINAL_MEDIA_TYPE_FIELD_NUMBER
Deprecated.- See Also:
- Constant Field Values
-
RECORDING_DEVICE_TYPE_FIELD_NUMBER
public static final int RECORDING_DEVICE_TYPE_FIELD_NUMBER
Deprecated.- See Also:
- Constant Field Values
-
RECORDING_DEVICE_NAME_FIELD_NUMBER
public static final int RECORDING_DEVICE_NAME_FIELD_NUMBER
Deprecated.- See Also:
- Constant Field Values
-
ORIGINAL_MIME_TYPE_FIELD_NUMBER
public static final int ORIGINAL_MIME_TYPE_FIELD_NUMBER
Deprecated.- See Also:
- Constant Field Values
-
AUDIO_TOPIC_FIELD_NUMBER
public static final int AUDIO_TOPIC_FIELD_NUMBER
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
Deprecated.- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Deprecated.
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Deprecated.- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getInteractionTypeValue
public int getInteractionTypeValue()
Deprecated.The use case most closely describing the audio content to be recognized.
.google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1;- Specified by:
getInteractionTypeValuein interfaceRecognitionMetadataOrBuilder- Returns:
- The enum numeric value on the wire for interactionType.
-
getInteractionType
public RecognitionMetadata.InteractionType getInteractionType()
Deprecated.The use case most closely describing the audio content to be recognized.
.google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1;- Specified by:
getInteractionTypein interfaceRecognitionMetadataOrBuilder- Returns:
- The interactionType.
-
getIndustryNaicsCodeOfAudio
public int getIndustryNaicsCodeOfAudio()
Deprecated.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;- Specified by:
getIndustryNaicsCodeOfAudioin interfaceRecognitionMetadataOrBuilder- Returns:
- The industryNaicsCodeOfAudio.
-
getMicrophoneDistanceValue
public int getMicrophoneDistanceValue()
Deprecated.The audio type that most closely describes the audio being recognized.
.google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;- Specified by:
getMicrophoneDistanceValuein interfaceRecognitionMetadataOrBuilder- Returns:
- The enum numeric value on the wire for microphoneDistance.
-
getMicrophoneDistance
public RecognitionMetadata.MicrophoneDistance getMicrophoneDistance()
Deprecated.The audio type that most closely describes the audio being recognized.
.google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;- Specified by:
getMicrophoneDistancein interfaceRecognitionMetadataOrBuilder- Returns:
- The microphoneDistance.
-
getOriginalMediaTypeValue
public int getOriginalMediaTypeValue()
Deprecated.The original media the speech was recorded on.
.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5;- Specified by:
getOriginalMediaTypeValuein interfaceRecognitionMetadataOrBuilder- Returns:
- The enum numeric value on the wire for originalMediaType.
-
getOriginalMediaType
public RecognitionMetadata.OriginalMediaType getOriginalMediaType()
Deprecated.The original media the speech was recorded on.
.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5;- Specified by:
getOriginalMediaTypein interfaceRecognitionMetadataOrBuilder- Returns:
- The originalMediaType.
-
getRecordingDeviceTypeValue
public int getRecordingDeviceTypeValue()
Deprecated.The type of device the speech was recorded with.
.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;- Specified by:
getRecordingDeviceTypeValuein interfaceRecognitionMetadataOrBuilder- Returns:
- The enum numeric value on the wire for recordingDeviceType.
-
getRecordingDeviceType
public RecognitionMetadata.RecordingDeviceType getRecordingDeviceType()
Deprecated.The type of device the speech was recorded with.
.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;- Specified by:
getRecordingDeviceTypein interfaceRecognitionMetadataOrBuilder- Returns:
- The recordingDeviceType.
-
getRecordingDeviceName
public String getRecordingDeviceName()
Deprecated.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;- Specified by:
getRecordingDeviceNamein interfaceRecognitionMetadataOrBuilder- Returns:
- The recordingDeviceName.
-
getRecordingDeviceNameBytes
public com.google.protobuf.ByteString getRecordingDeviceNameBytes()
Deprecated.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;- Specified by:
getRecordingDeviceNameBytesin interfaceRecognitionMetadataOrBuilder- Returns:
- The bytes for recordingDeviceName.
-
getOriginalMimeType
public String getOriginalMimeType()
Deprecated.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;- Specified by:
getOriginalMimeTypein interfaceRecognitionMetadataOrBuilder- Returns:
- The originalMimeType.
-
getOriginalMimeTypeBytes
public com.google.protobuf.ByteString getOriginalMimeTypeBytes()
Deprecated.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;- Specified by:
getOriginalMimeTypeBytesin interfaceRecognitionMetadataOrBuilder- Returns:
- The bytes for originalMimeType.
-
getAudioTopic
public String getAudioTopic()
Deprecated.Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
string audio_topic = 10;- Specified by:
getAudioTopicin interfaceRecognitionMetadataOrBuilder- Returns:
- The audioTopic.
-
getAudioTopicBytes
public com.google.protobuf.ByteString getAudioTopicBytes()
Deprecated.Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
string audio_topic = 10;- Specified by:
getAudioTopicBytesin interfaceRecognitionMetadataOrBuilder- Returns:
- The bytes for audioTopic.
-
isInitialized
public final boolean isInitialized()
Deprecated.- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOExceptionDeprecated.- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
Deprecated.- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
Deprecated.- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
Deprecated.- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RecognitionMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RecognitionMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RecognitionMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RecognitionMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RecognitionMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RecognitionMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RecognitionMetadata parseFrom(InputStream input) throws IOException
Deprecated.- Throws:
IOException
-
parseFrom
public static RecognitionMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
Deprecated.- Throws:
IOException
-
parseDelimitedFrom
public static RecognitionMetadata parseDelimitedFrom(InputStream input) throws IOException
Deprecated.- Throws:
IOException
-
parseDelimitedFrom
public static RecognitionMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
Deprecated.- Throws:
IOException
-
parseFrom
public static RecognitionMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
Deprecated.- Throws:
IOException
-
parseFrom
public static RecognitionMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
Deprecated.- Throws:
IOException
-
newBuilderForType
public RecognitionMetadata.Builder newBuilderForType()
Deprecated.- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RecognitionMetadata.Builder newBuilder()
Deprecated.
-
newBuilder
public static RecognitionMetadata.Builder newBuilder(RecognitionMetadata prototype)
Deprecated.
-
toBuilder
public RecognitionMetadata.Builder toBuilder()
Deprecated.- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RecognitionMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
Deprecated.- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RecognitionMetadata getDefaultInstance()
Deprecated.
-
parser
public static com.google.protobuf.Parser<RecognitionMetadata> parser()
Deprecated.
-
getParserForType
public com.google.protobuf.Parser<RecognitionMetadata> getParserForType()
Deprecated.- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RecognitionMetadata getDefaultInstanceForType()
Deprecated.- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-