com.google.cloud.speech.v1.RecognitionMetadataOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-speech-v1 Show documentation
Show all versions of proto-google-cloud-speech-v1 Show documentation
PROTO library for proto-google-cloud-speech-v1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/speech/v1/cloud_speech.proto
// Protobuf Java Version: 3.25.2
package com.google.cloud.speech.v1;
@java.lang.Deprecated
public interface RecognitionMetadataOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.speech.v1.RecognitionMetadata)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The use case most closely describing the audio content to be recognized.
*
*
* .google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1;
*
* @return The enum numeric value on the wire for interactionType.
*/
int getInteractionTypeValue();
/**
*
*
*
* The use case most closely describing the audio content to be recognized.
*
*
* .google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1;
*
* @return The interactionType.
*/
com.google.cloud.speech.v1.RecognitionMetadata.InteractionType getInteractionType();
/**
*
*
*
* 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;
*
* @return The industryNaicsCodeOfAudio.
*/
int getIndustryNaicsCodeOfAudio();
/**
*
*
*
* The audio type that most closely describes the audio being recognized.
*
*
* .google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;
*
*
* @return The enum numeric value on the wire for microphoneDistance.
*/
int getMicrophoneDistanceValue();
/**
*
*
*
* The audio type that most closely describes the audio being recognized.
*
*
* .google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;
*
*
* @return The microphoneDistance.
*/
com.google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance getMicrophoneDistance();
/**
*
*
*
* The original media the speech was recorded on.
*
*
* .google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5;
*
*
* @return The enum numeric value on the wire for originalMediaType.
*/
int getOriginalMediaTypeValue();
/**
*
*
*
* The original media the speech was recorded on.
*
*
* .google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5;
*
*
* @return The originalMediaType.
*/
com.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType getOriginalMediaType();
/**
*
*
*
* The type of device the speech was recorded with.
*
*
*
* .google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;
*
*
* @return The enum numeric value on the wire for recordingDeviceType.
*/
int getRecordingDeviceTypeValue();
/**
*
*
*
* The type of device the speech was recorded with.
*
*
*
* .google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;
*
*
* @return The recordingDeviceType.
*/
com.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType getRecordingDeviceType();
/**
*
*
*
* 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;
*
* @return The recordingDeviceName.
*/
java.lang.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;
*
* @return The bytes for recordingDeviceName.
*/
com.google.protobuf.ByteString getRecordingDeviceNameBytes();
/**
*
*
*
* 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;
*
* @return The originalMimeType.
*/
java.lang.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;
*
* @return The bytes for originalMimeType.
*/
com.google.protobuf.ByteString getOriginalMimeTypeBytes();
/**
*
*
*
* Description of the content. Eg. "Recordings of federal supreme court
* hearings from 2012".
*
*
* string audio_topic = 10;
*
* @return The audioTopic.
*/
java.lang.String getAudioTopic();
/**
*
*
*
* Description of the content. Eg. "Recordings of federal supreme court
* hearings from 2012".
*
*
* string audio_topic = 10;
*
* @return The bytes for audioTopic.
*/
com.google.protobuf.ByteString getAudioTopicBytes();
}