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:
  • Field Details

    • INTERACTION_TYPE_FIELD_NUMBER

      public static final int INTERACTION_TYPE_FIELD_NUMBER
      Deprecated.
      See Also:
    • INDUSTRY_NAICS_CODE_OF_AUDIO_FIELD_NUMBER

      public static final int INDUSTRY_NAICS_CODE_OF_AUDIO_FIELD_NUMBER
      Deprecated.
      See Also:
    • MICROPHONE_DISTANCE_FIELD_NUMBER

      public static final int MICROPHONE_DISTANCE_FIELD_NUMBER
      Deprecated.
      See Also:
    • ORIGINAL_MEDIA_TYPE_FIELD_NUMBER

      public static final int ORIGINAL_MEDIA_TYPE_FIELD_NUMBER
      Deprecated.
      See Also:
    • RECORDING_DEVICE_TYPE_FIELD_NUMBER

      public static final int RECORDING_DEVICE_TYPE_FIELD_NUMBER
      Deprecated.
      See Also:
    • RECORDING_DEVICE_NAME_FIELD_NUMBER

      public static final int RECORDING_DEVICE_NAME_FIELD_NUMBER
      Deprecated.
      See Also:
    • ORIGINAL_MIME_TYPE_FIELD_NUMBER

      public static final int ORIGINAL_MIME_TYPE_FIELD_NUMBER
      Deprecated.
      See Also:
    • AUDIO_TOPIC_FIELD_NUMBER

      public static final int AUDIO_TOPIC_FIELD_NUMBER
      Deprecated.
      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:
      internalGetFieldAccessorTable in class com.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:
      getInteractionTypeValue in interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      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 interface RecognitionMetadataOrBuilder
      Returns:
      The bytes for audioTopic.
    • isInitialized

      public final boolean isInitialized()
      Deprecated.
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Deprecated.
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Deprecated.
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Deprecated.
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.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 interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RecognitionMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Deprecated.
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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 interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RecognitionMetadata getDefaultInstanceForType()
      Deprecated.
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder