public static enum Tool.ComputerUse.Environment extends Enum<Tool.ComputerUse.Environment> implements com.google.protobuf.ProtocolMessageEnum
Represents the environment being operated, such as a web browser.Protobuf enum
google.cloud.aiplatform.v1.Tool.ComputerUse.Environment| Enum Constant and Description |
|---|
ENVIRONMENT_BROWSER
Operates in a web browser.
|
ENVIRONMENT_UNSPECIFIED
Defaults to browser.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ENVIRONMENT_BROWSER_VALUE
Operates in a web browser.
|
static int |
ENVIRONMENT_UNSPECIFIED_VALUE
Defaults to browser.
|
| Modifier and Type | Method and Description |
|---|---|
static Tool.ComputerUse.Environment |
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<Tool.ComputerUse.Environment> |
internalGetValueMap() |
static Tool.ComputerUse.Environment |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Tool.ComputerUse.Environment |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Tool.ComputerUse.Environment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tool.ComputerUse.Environment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tool.ComputerUse.Environment ENVIRONMENT_UNSPECIFIED
Defaults to browser.
ENVIRONMENT_UNSPECIFIED = 0;public static final Tool.ComputerUse.Environment ENVIRONMENT_BROWSER
Operates in a web browser.
ENVIRONMENT_BROWSER = 1;public static final Tool.ComputerUse.Environment UNRECOGNIZED
public static final int ENVIRONMENT_UNSPECIFIED_VALUE
Defaults to browser.
ENVIRONMENT_UNSPECIFIED = 0;public static final int ENVIRONMENT_BROWSER_VALUE
Operates in a web browser.
ENVIRONMENT_BROWSER = 1;public static Tool.ComputerUse.Environment[] values()
for (Tool.ComputerUse.Environment c : Tool.ComputerUse.Environment.values()) System.out.println(c);
public static Tool.ComputerUse.Environment 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 Tool.ComputerUse.Environment valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Tool.ComputerUse.Environment forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Tool.ComputerUse.Environment> 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 Tool.ComputerUse.Environment valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.