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