public static enum ExecutableCode.Language extends Enum<ExecutableCode.Language> implements com.google.protobuf.ProtocolMessageEnum
Supported programming languages for the generated code.Protobuf enum
google.cloud.vertexai.v1.ExecutableCode.Language| Enum Constant and Description |
|---|
LANGUAGE_UNSPECIFIED
Unspecified language.
|
PYTHON
Python >= 3.10, with numpy and simpy available.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LANGUAGE_UNSPECIFIED_VALUE
Unspecified language.
|
static int |
PYTHON_VALUE
Python >= 3.10, with numpy and simpy available.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecutableCode.Language |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ExecutableCode.Language> |
internalGetValueMap() |
static ExecutableCode.Language |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ExecutableCode.Language |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ExecutableCode.Language |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutableCode.Language[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutableCode.Language LANGUAGE_UNSPECIFIED
Unspecified language. This value should not be used.
LANGUAGE_UNSPECIFIED = 0;public static final ExecutableCode.Language PYTHON
Python >= 3.10, with numpy and simpy available.
PYTHON = 1;public static final ExecutableCode.Language UNRECOGNIZED
public static final int LANGUAGE_UNSPECIFIED_VALUE
Unspecified language. This value should not be used.
LANGUAGE_UNSPECIFIED = 0;public static final int PYTHON_VALUE
Python >= 3.10, with numpy and simpy available.
PYTHON = 1;public static ExecutableCode.Language[] values()
for (ExecutableCode.Language c : ExecutableCode.Language.values()) System.out.println(c);
public static ExecutableCode.Language 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ExecutableCode.Language valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ExecutableCode.Language forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ExecutableCode.Language> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ExecutableCode.Language valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.