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