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