public static enum RecognizeRequest.AudioSourceCase extends Enum<RecognizeRequest.AudioSourceCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
AUDIOSOURCE_NOT_SET |
CONTENT |
URI |
| Modifier and Type | Method and Description |
|---|---|
static RecognizeRequest.AudioSourceCase |
forNumber(int value) |
int |
getNumber() |
static RecognizeRequest.AudioSourceCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RecognizeRequest.AudioSourceCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecognizeRequest.AudioSourceCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecognizeRequest.AudioSourceCase CONTENT
public static final RecognizeRequest.AudioSourceCase URI
public static final RecognizeRequest.AudioSourceCase AUDIOSOURCE_NOT_SET
public static RecognizeRequest.AudioSourceCase[] values()
for (RecognizeRequest.AudioSourceCase c : RecognizeRequest.AudioSourceCase.values()) System.out.println(c);
public static RecognizeRequest.AudioSourceCase 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 null@Deprecated public static RecognizeRequest.AudioSourceCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static RecognizeRequest.AudioSourceCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2023 Google LLC. All rights reserved.