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