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 enum
google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType| Enum Constant and Description |
|---|
DICTATION
Transcribe speech to text to create a written document, such as a
text-message, email or report.
|
DISCUSSION
Multiple people in a conversation or discussion.
|
INTERACTION_TYPE_UNSPECIFIED
Use case is either unknown or is something other than one of the other
values below.
|
PHONE_CALL
A phone-call or video-conference in which two or more people, who are
not in the same room, are actively participating.
|
PRESENTATION
One or more persons lecturing or presenting to others, mostly
uninterrupted.
|
PROFESSIONALLY_PRODUCED
Professionally produced audio (eg.
|
UNRECOGNIZED |
VOICE_COMMAND
Transcribe voice commands, such as for controlling a device.
|
VOICE_SEARCH
Transcribe spoken questions and queries into text.
|
VOICEMAIL
A recorded message intended for another person to listen to.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DICTATION_VALUE
Transcribe speech to text to create a written document, such as a
text-message, email or report.
|
static int |
DISCUSSION_VALUE
Multiple people in a conversation or discussion.
|
static int |
INTERACTION_TYPE_UNSPECIFIED_VALUE
Use case is either unknown or is something other than one of the other
values below.
|
static 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.
|
static int |
PRESENTATION_VALUE
One or more persons lecturing or presenting to others, mostly
uninterrupted.
|
static int |
PROFESSIONALLY_PRODUCED_VALUE
Professionally produced audio (eg.
|
static int |
VOICE_COMMAND_VALUE
Transcribe voice commands, such as for controlling a device.
|
static int |
VOICE_SEARCH_VALUE
Transcribe spoken questions and queries into text.
|
static int |
VOICEMAIL_VALUE
A recorded message intended for another person to listen to.
|
| Modifier and Type | Method and Description |
|---|---|
static RecognitionMetadata.InteractionType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<RecognitionMetadata.InteractionType> |
internalGetValueMap() |
static RecognitionMetadata.InteractionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RecognitionMetadata.InteractionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RecognitionMetadata.InteractionType |
valueOf(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.
|
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;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;public static final RecognitionMetadata.InteractionType PRESENTATION
One or more persons lecturing or presenting to others, mostly uninterrupted.
PRESENTATION = 2;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;public static final RecognitionMetadata.InteractionType VOICEMAIL
A recorded message intended for another person to listen to.
VOICEMAIL = 4;public static final RecognitionMetadata.InteractionType PROFESSIONALLY_PRODUCED
Professionally produced audio (eg. TV Show, Podcast).
PROFESSIONALLY_PRODUCED = 5;public static final RecognitionMetadata.InteractionType VOICE_SEARCH
Transcribe spoken questions and queries into text.
VOICE_SEARCH = 6;public static final RecognitionMetadata.InteractionType VOICE_COMMAND
Transcribe voice commands, such as for controlling a device.
VOICE_COMMAND = 7;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;public static final RecognitionMetadata.InteractionType UNRECOGNIZED
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;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;public static final int PRESENTATION_VALUE
One or more persons lecturing or presenting to others, mostly uninterrupted.
PRESENTATION = 2;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;public static final int VOICEMAIL_VALUE
A recorded message intended for another person to listen to.
VOICEMAIL = 4;public static final int PROFESSIONALLY_PRODUCED_VALUE
Professionally produced audio (eg. TV Show, Podcast).
PROFESSIONALLY_PRODUCED = 5;public static final int VOICE_SEARCH_VALUE
Transcribe spoken questions and queries into text.
VOICE_SEARCH = 6;public static final int VOICE_COMMAND_VALUE
Transcribe voice commands, such as for controlling a device.
VOICE_COMMAND = 7;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;public static RecognitionMetadata.InteractionType[] values()
for (RecognitionMetadata.InteractionType c : RecognitionMetadata.InteractionType.values()) System.out.println(c);
public static RecognitionMetadata.InteractionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static RecognitionMetadata.InteractionType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RecognitionMetadata.InteractionType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RecognitionMetadata.InteractionType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RecognitionMetadata.InteractionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.