Package com.google.cloud.aiplatform.v1
Interface Tool.ComputerUseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Tool.ComputerUse,Tool.ComputerUse.Builder
- Enclosing class:
- Tool
public static interface Tool.ComputerUseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.intRequired.getExcludedPredefinedFunctions(int index) Optional.com.google.protobuf.ByteStringgetExcludedPredefinedFunctionsBytes(int index) Optional.intOptional.Optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEnvironmentValue
int getEnvironmentValue()Required. The environment being operated.
.google.cloud.aiplatform.v1.Tool.ComputerUse.Environment environment = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for environment.
-
getEnvironment
Tool.ComputerUse.Environment getEnvironment()Required. The environment being operated.
.google.cloud.aiplatform.v1.Tool.ComputerUse.Environment environment = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The environment.
-
getExcludedPredefinedFunctionsList
Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.
repeated string excluded_predefined_functions = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the excludedPredefinedFunctions.
-
getExcludedPredefinedFunctionsCount
int getExcludedPredefinedFunctionsCount()Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.
repeated string excluded_predefined_functions = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of excludedPredefinedFunctions.
-
getExcludedPredefinedFunctions
Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.
repeated string excluded_predefined_functions = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The excludedPredefinedFunctions at the given index.
-
getExcludedPredefinedFunctionsBytes
com.google.protobuf.ByteString getExcludedPredefinedFunctionsBytes(int index) Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.
repeated string excluded_predefined_functions = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludedPredefinedFunctions at the given index.
-