Package com.google.cloud.speech.v1
Enum RecognitionMetadata.InteractionType
- java.lang.Object
-
- java.lang.Enum<RecognitionMetadata.InteractionType>
-
- com.google.cloud.speech.v1.RecognitionMetadata.InteractionType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RecognitionMetadata.InteractionType>
- Enclosing class:
- RecognitionMetadata
public static enum RecognitionMetadata.InteractionType extends Enum<RecognitionMetadata.InteractionType> implements com.google.protobuf.ProtocolMessageEnum
Use case categories that the audio recognition request can be described by.
Protobuf enumgoogle.cloud.speech.v1.RecognitionMetadata.InteractionType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DICTATIONTranscribe speech to text to create a written document, such as a text-message, email or report.DISCUSSIONMultiple people in a conversation or discussion.INTERACTION_TYPE_UNSPECIFIEDUse case is either unknown or is something other than one of the other values below.PHONE_CALLA phone-call or video-conference in which two or more people, who are not in the same room, are actively participating.PRESENTATIONOne or more persons lecturing or presenting to others, mostly uninterrupted.PROFESSIONALLY_PRODUCEDProfessionally produced audio (eg.UNRECOGNIZEDVOICE_COMMANDTranscribe voice commands, such as for controlling a device.VOICE_SEARCHTranscribe spoken questions and queries into text.VOICEMAILA recorded message intended for another person to listen to.
-
Field Summary
Fields Modifier and Type Field Description static intDICTATION_VALUETranscribe speech to text to create a written document, such as a text-message, email or report.static intDISCUSSION_VALUEMultiple people in a conversation or discussion.static intINTERACTION_TYPE_UNSPECIFIED_VALUEUse case is either unknown or is something other than one of the other values below.static intPHONE_CALL_VALUEA phone-call or video-conference in which two or more people, who are not in the same room, are actively participating.static intPRESENTATION_VALUEOne or more persons lecturing or presenting to others, mostly uninterrupted.static intPROFESSIONALLY_PRODUCED_VALUEProfessionally produced audio (eg.static intVOICE_COMMAND_VALUETranscribe voice commands, such as for controlling a device.static intVOICE_SEARCH_VALUETranscribe spoken questions and queries into text.static intVOICEMAIL_VALUEA recorded message intended for another person to listen to.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RecognitionMetadata.InteractionTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<RecognitionMetadata.InteractionType>internalGetValueMap()static RecognitionMetadata.InteractionTypevalueOf(int value)Deprecated.static RecognitionMetadata.InteractionTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static RecognitionMetadata.InteractionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static RecognitionMetadata.InteractionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERACTION_TYPE_UNSPECIFIED
public static final RecognitionMetadata.InteractionType INTERACTION_TYPE_UNSPECIFIED
Use case is either unknown or is something other than one of the other values below.
INTERACTION_TYPE_UNSPECIFIED = 0;
-
DISCUSSION
public static final RecognitionMetadata.InteractionType DISCUSSION
Multiple people in a conversation or discussion. For example in a meeting with two or more people actively participating. Typically all the primary people speaking would be in the same room (if not, see PHONE_CALL)
DISCUSSION = 1;
-
PRESENTATION
public static final RecognitionMetadata.InteractionType PRESENTATION
One or more persons lecturing or presenting to others, mostly uninterrupted.
PRESENTATION = 2;
-
PHONE_CALL
public static final RecognitionMetadata.InteractionType PHONE_CALL
A phone-call or video-conference in which two or more people, who are not in the same room, are actively participating.
PHONE_CALL = 3;
-
VOICEMAIL
public static final RecognitionMetadata.InteractionType VOICEMAIL
A recorded message intended for another person to listen to.
VOICEMAIL = 4;
-
PROFESSIONALLY_PRODUCED
public static final RecognitionMetadata.InteractionType PROFESSIONALLY_PRODUCED
Professionally produced audio (eg. TV Show, Podcast).
PROFESSIONALLY_PRODUCED = 5;
-
VOICE_SEARCH
public static final RecognitionMetadata.InteractionType VOICE_SEARCH
Transcribe spoken questions and queries into text.
VOICE_SEARCH = 6;
-
VOICE_COMMAND
public static final RecognitionMetadata.InteractionType VOICE_COMMAND
Transcribe voice commands, such as for controlling a device.
VOICE_COMMAND = 7;
-
DICTATION
public static final RecognitionMetadata.InteractionType DICTATION
Transcribe speech to text to create a written document, such as a text-message, email or report.
DICTATION = 8;
-
UNRECOGNIZED
public static final RecognitionMetadata.InteractionType UNRECOGNIZED
-
-
Field Detail
-
INTERACTION_TYPE_UNSPECIFIED_VALUE
public static final int INTERACTION_TYPE_UNSPECIFIED_VALUE
Use case is either unknown or is something other than one of the other values below.
INTERACTION_TYPE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
DISCUSSION_VALUE
public static final int DISCUSSION_VALUE
Multiple people in a conversation or discussion. For example in a meeting with two or more people actively participating. Typically all the primary people speaking would be in the same room (if not, see PHONE_CALL)
DISCUSSION = 1;- See Also:
- Constant Field Values
-
PRESENTATION_VALUE
public static final int PRESENTATION_VALUE
One or more persons lecturing or presenting to others, mostly uninterrupted.
PRESENTATION = 2;- See Also:
- Constant Field Values
-
PHONE_CALL_VALUE
public static final int PHONE_CALL_VALUE
A phone-call or video-conference in which two or more people, who are not in the same room, are actively participating.
PHONE_CALL = 3;- See Also:
- Constant Field Values
-
VOICEMAIL_VALUE
public static final int VOICEMAIL_VALUE
A recorded message intended for another person to listen to.
VOICEMAIL = 4;- See Also:
- Constant Field Values
-
PROFESSIONALLY_PRODUCED_VALUE
public static final int PROFESSIONALLY_PRODUCED_VALUE
Professionally produced audio (eg. TV Show, Podcast).
PROFESSIONALLY_PRODUCED = 5;- See Also:
- Constant Field Values
-
VOICE_SEARCH_VALUE
public static final int VOICE_SEARCH_VALUE
Transcribe spoken questions and queries into text.
VOICE_SEARCH = 6;- See Also:
- Constant Field Values
-
VOICE_COMMAND_VALUE
public static final int VOICE_COMMAND_VALUE
Transcribe voice commands, such as for controlling a device.
VOICE_COMMAND = 7;- See Also:
- Constant Field Values
-
DICTATION_VALUE
public static final int DICTATION_VALUE
Transcribe speech to text to create a written document, such as a text-message, email or report.
DICTATION = 8;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static RecognitionMetadata.InteractionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RecognitionMetadata.InteractionType c : RecognitionMetadata.InteractionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RecognitionMetadata.InteractionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static RecognitionMetadata.InteractionType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static RecognitionMetadata.InteractionType forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<RecognitionMetadata.InteractionType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static RecognitionMetadata.InteractionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-