Package com.google.cloud.speech.v1
Class RecognitionMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
@Deprecated
public final class RecognitionMetadata
extends com.google.protobuf.GeneratedMessage
implements RecognitionMetadataOrBuilder
Deprecated.
Description of audio data to be recognized.Protobuf type
google.cloud.speech.v1.RecognitionMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.Description of audio data to be recognized.static enumDeprecated.Use case categories that the audio recognition request can be described by.static enumDeprecated.Enumerates the types of capture settings describing an audio file.static enumDeprecated.The original media the speech was recorded on.static enumDeprecated.The type of device the speech was recorded with.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.Description of the content.com.google.protobuf.ByteStringDeprecated.Description of the content.static RecognitionMetadataDeprecated.Deprecated.static final com.google.protobuf.Descriptors.DescriptorDeprecated.intDeprecated.The industry vertical to which this speech recognition request most closely applies.Deprecated.The use case most closely describing the audio content to be recognized.intDeprecated.The use case most closely describing the audio content to be recognized.Deprecated.The audio type that most closely describes the audio being recognized.intDeprecated.The audio type that most closely describes the audio being recognized.Deprecated.The original media the speech was recorded on.intDeprecated.The original media the speech was recorded on.Deprecated.Mime type of the original audio file.com.google.protobuf.ByteStringDeprecated.Mime type of the original audio file.com.google.protobuf.Parser<RecognitionMetadata>Deprecated.Deprecated.The device used to make the recording.com.google.protobuf.ByteStringDeprecated.The device used to make the recording.Deprecated.The type of device the speech was recorded with.intDeprecated.The type of device the speech was recorded with.intDeprecated.inthashCode()Deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableDeprecated.final booleanDeprecated.static RecognitionMetadata.BuilderDeprecated.static RecognitionMetadata.BuildernewBuilder(RecognitionMetadata prototype) Deprecated.Deprecated.protected RecognitionMetadata.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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.Deprecated.voidwriteTo(com.google.protobuf.CodedOutputStream output) Deprecated.Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INTERACTION_TYPE_FIELD_NUMBER
public static final int INTERACTION_TYPE_FIELD_NUMBERDeprecated.- See Also:
-
INDUSTRY_NAICS_CODE_OF_AUDIO_FIELD_NUMBER
public static final int INDUSTRY_NAICS_CODE_OF_AUDIO_FIELD_NUMBERDeprecated.- See Also:
-
MICROPHONE_DISTANCE_FIELD_NUMBER
public static final int MICROPHONE_DISTANCE_FIELD_NUMBERDeprecated.- See Also:
-
ORIGINAL_MEDIA_TYPE_FIELD_NUMBER
public static final int ORIGINAL_MEDIA_TYPE_FIELD_NUMBERDeprecated.- See Also:
-
RECORDING_DEVICE_TYPE_FIELD_NUMBER
public static final int RECORDING_DEVICE_TYPE_FIELD_NUMBERDeprecated.- See Also:
-
RECORDING_DEVICE_NAME_FIELD_NUMBER
public static final int RECORDING_DEVICE_NAME_FIELD_NUMBERDeprecated.- See Also:
-
ORIGINAL_MIME_TYPE_FIELD_NUMBER
public static final int ORIGINAL_MIME_TYPE_FIELD_NUMBERDeprecated.- See Also:
-
AUDIO_TOPIC_FIELD_NUMBER
public static final int AUDIO_TOPIC_FIELD_NUMBERDeprecated.- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()Deprecated. -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()Deprecated.- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
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
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
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
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
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
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
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.GeneratedMessage
-
writeTo
Deprecated.- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()Deprecated.- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
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
Deprecated.- Throws:
IOException
-
parseFrom
public static RecognitionMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException Deprecated.- Throws:
IOException
-
parseDelimitedFrom
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
Deprecated.- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
Deprecated. -
newBuilder
Deprecated. -
toBuilder
Deprecated.- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RecognitionMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Deprecated.- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
Deprecated. -
parser
Deprecated. -
getParserForType
Deprecated.- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
Deprecated.- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-