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 class
RecognitionMetadata.Builder
Deprecated.Description of audio data to be recognized.static class
RecognitionMetadata.InteractionType
Deprecated.Use case categories that the audio recognition request can be described by.static class
RecognitionMetadata.MicrophoneDistance
Deprecated.Enumerates the types of capture settings describing an audio file.static class
RecognitionMetadata.OriginalMediaType
Deprecated.The original media the speech was recorded on.static class
RecognitionMetadata.RecordingDeviceType
Deprecated.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 int
AUDIO_TOPIC_FIELD_NUMBER
Deprecated.static int
INDUSTRY_NAICS_CODE_OF_AUDIO_FIELD_NUMBER
Deprecated.static int
INTERACTION_TYPE_FIELD_NUMBER
Deprecated.static int
MICROPHONE_DISTANCE_FIELD_NUMBER
Deprecated.static int
ORIGINAL_MEDIA_TYPE_FIELD_NUMBER
Deprecated.static int
ORIGINAL_MIME_TYPE_FIELD_NUMBER
Deprecated.static int
RECORDING_DEVICE_NAME_FIELD_NUMBER
Deprecated.static int
RECORDING_DEVICE_TYPE_FIELD_NUMBER
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
Deprecated.String
getAudioTopic()
Deprecated.Description of the content.com.google.protobuf.ByteString
getAudioTopicBytes()
Deprecated.Description of the content.static RecognitionMetadata
getDefaultInstance()
Deprecated.RecognitionMetadata
getDefaultInstanceForType()
Deprecated.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Deprecated.int
getIndustryNaicsCodeOfAudio()
Deprecated.The industry vertical to which this speech recognition request most closely applies.RecognitionMetadata.InteractionType
getInteractionType()
Deprecated.The use case most closely describing the audio content to be recognized.int
getInteractionTypeValue()
Deprecated.The use case most closely describing the audio content to be recognized.RecognitionMetadata.MicrophoneDistance
getMicrophoneDistance()
Deprecated.The audio type that most closely describes the audio being recognized.int
getMicrophoneDistanceValue()
Deprecated.The audio type that most closely describes the audio being recognized.RecognitionMetadata.OriginalMediaType
getOriginalMediaType()
Deprecated.The original media the speech was recorded on.int
getOriginalMediaTypeValue()
Deprecated.The original media the speech was recorded on.String
getOriginalMimeType()
Deprecated.Mime type of the original audio file.com.google.protobuf.ByteString
getOriginalMimeTypeBytes()
Deprecated.Mime type of the original audio file.com.google.protobuf.Parser<RecognitionMetadata>
getParserForType()
Deprecated.String
getRecordingDeviceName()
Deprecated.The device used to make the recording.com.google.protobuf.ByteString
getRecordingDeviceNameBytes()
Deprecated.The device used to make the recording.RecognitionMetadata.RecordingDeviceType
getRecordingDeviceType()
Deprecated.The type of device the speech was recorded with.int
getRecordingDeviceTypeValue()
Deprecated.The type of device the speech was recorded with.int
getSerializedSize()
Deprecated.int
hashCode()
Deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
Deprecated.boolean
isInitialized()
Deprecated.static RecognitionMetadata.Builder
newBuilder()
Deprecated.static RecognitionMetadata.Builder
newBuilder(RecognitionMetadata prototype)
Deprecated.RecognitionMetadata.Builder
newBuilderForType()
Deprecated.protected RecognitionMetadata.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
Deprecated.protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
Deprecated.static RecognitionMetadata
parseDelimitedFrom(InputStream input)
Deprecated.static RecognitionMetadata
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.static RecognitionMetadata
parseFrom(byte[] data)
Deprecated.static RecognitionMetadata
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.static RecognitionMetadata
parseFrom(com.google.protobuf.ByteString data)
Deprecated.static RecognitionMetadata
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.static RecognitionMetadata
parseFrom(com.google.protobuf.CodedInputStream input)
Deprecated.static RecognitionMetadata
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.static RecognitionMetadata
parseFrom(InputStream input)
Deprecated.static RecognitionMetadata
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.static RecognitionMetadata
parseFrom(ByteBuffer data)
Deprecated.static RecognitionMetadata
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.static com.google.protobuf.Parser<RecognitionMetadata>
parser()
Deprecated.RecognitionMetadata.Builder
toBuilder()
Deprecated.void
writeTo(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:
newInstance
in 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:
internalGetFieldAccessorTable
in 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:
getInteractionTypeValue
in 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:
getInteractionType
in 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:
getIndustryNaicsCodeOfAudio
in 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:
getMicrophoneDistanceValue
in 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:
getMicrophoneDistance
in 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:
getOriginalMediaTypeValue
in 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:
getOriginalMediaType
in 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:
getRecordingDeviceTypeValue
in 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:
getRecordingDeviceType
in 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:
getRecordingDeviceName
in 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:
getRecordingDeviceNameBytes
in 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:
getOriginalMimeType
in 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:
getOriginalMimeTypeBytes
in 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:
getAudioTopic
in 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:
getAudioTopicBytes
in interfaceRecognitionMetadataOrBuilder
- Returns:
- The bytes for audioTopic.
-
isInitialized
public final boolean isInitialized()
Deprecated.- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
Deprecated.- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
Deprecated.- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
Deprecated.- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
Deprecated.- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RecognitionMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
Deprecated.- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RecognitionMetadata getDefaultInstanceForType()
Deprecated.- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-