- 3.79.0 (latest)
- 3.77.0
- 3.76.0
- 3.75.0
- 3.74.0
- 3.73.0
- 3.71.0
- 3.69.0
- 3.68.0
- 3.65.0
- 3.64.0
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class Tool.ComputerUse.Builder extends GeneratedMessageV3.Builder<Tool.ComputerUse.Builder> implements Tool.ComputerUseOrBuilderTool to support computer use.
Protobuf type google.cloud.aiplatform.v1beta1.Tool.ComputerUse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Tool.ComputerUse.BuilderImplements
Tool.ComputerUseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExcludedPredefinedFunctions(Iterable<String> values)
public Tool.ComputerUse.Builder addAllExcludedPredefinedFunctions(Iterable<String> values)Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes:
- Using a more restricted / different action space.
- Improving the definitions / instructions of predefined functions.
repeated string excluded_predefined_functions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The excludedPredefinedFunctions to add. |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
This builder for chaining. |
addExcludedPredefinedFunctions(String value)
public Tool.ComputerUse.Builder addExcludedPredefinedFunctions(String value)Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes:
- Using a more restricted / different action space.
- Improving the definitions / instructions of predefined functions.
repeated string excluded_predefined_functions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe excludedPredefinedFunctions to add. |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
This builder for chaining. |
addExcludedPredefinedFunctionsBytes(ByteString value)
public Tool.ComputerUse.Builder addExcludedPredefinedFunctionsBytes(ByteString value)Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes:
- Using a more restricted / different action space.
- Improving the definitions / instructions of predefined functions.
repeated string excluded_predefined_functions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the excludedPredefinedFunctions to add. |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Tool.ComputerUse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
|
build()
public Tool.ComputerUse build()| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse |
|
buildPartial()
public Tool.ComputerUse buildPartial()| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse |
|
clear()
public Tool.ComputerUse.Builder clear()| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
|
clearEnvironment()
public Tool.ComputerUse.Builder clearEnvironment()Required. The environment being operated.
.google.cloud.aiplatform.v1beta1.Tool.ComputerUse.Environment environment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
This builder for chaining. |
clearExcludedPredefinedFunctions()
public Tool.ComputerUse.Builder clearExcludedPredefinedFunctions()Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes:
- Using a more restricted / different action space.
- Improving the definitions / instructions of predefined functions.
repeated string excluded_predefined_functions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Tool.ComputerUse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public Tool.ComputerUse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
|
clone()
public Tool.ComputerUse.Builder clone()| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
|
getDefaultInstanceForType()
public Tool.ComputerUse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnvironment()
public Tool.ComputerUse.Environment getEnvironment()Required. The environment being operated.
.google.cloud.aiplatform.v1beta1.Tool.ComputerUse.Environment environment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Environment |
The environment. |
getEnvironmentValue()
public int getEnvironmentValue()Required. The environment being operated.
.google.cloud.aiplatform.v1beta1.Tool.ComputerUse.Environment environment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for environment. |
getExcludedPredefinedFunctions(int index)
public String getExcludedPredefinedFunctions(int index)Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes:
- Using a more restricted / different action space.
- Improving the definitions / instructions of predefined functions.
repeated string excluded_predefined_functions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The excludedPredefinedFunctions at the given index. |
getExcludedPredefinedFunctionsBytes(int index)
public ByteString getExcludedPredefinedFunctionsBytes(int index)Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes:
- Using a more restricted / different action space.
- Improving the definitions / instructions of predefined functions.
repeated string excluded_predefined_functions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the excludedPredefinedFunctions at the given index. |
getExcludedPredefinedFunctionsCount()
public int getExcludedPredefinedFunctionsCount()Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes:
- Using a more restricted / different action space.
- Improving the definitions / instructions of predefined functions.
repeated string excluded_predefined_functions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of excludedPredefinedFunctions. |
getExcludedPredefinedFunctionsList()
public ProtocolStringList getExcludedPredefinedFunctionsList()Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes:
- Using a more restricted / different action space.
- Improving the definitions / instructions of predefined functions.
repeated string excluded_predefined_functions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the excludedPredefinedFunctions. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Tool.ComputerUse other)
public Tool.ComputerUse.Builder mergeFrom(Tool.ComputerUse other)| Parameter | |
|---|---|
| Name | Description |
other |
Tool.ComputerUse |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Tool.ComputerUse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Tool.ComputerUse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Tool.ComputerUse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
|
setEnvironment(Tool.ComputerUse.Environment value)
public Tool.ComputerUse.Builder setEnvironment(Tool.ComputerUse.Environment value)Required. The environment being operated.
.google.cloud.aiplatform.v1beta1.Tool.ComputerUse.Environment environment = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Tool.ComputerUse.EnvironmentThe environment to set. |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
This builder for chaining. |
setEnvironmentValue(int value)
public Tool.ComputerUse.Builder setEnvironmentValue(int value)Required. The environment being operated.
.google.cloud.aiplatform.v1beta1.Tool.ComputerUse.Environment environment = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for environment to set. |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
This builder for chaining. |
setExcludedPredefinedFunctions(int index, String value)
public Tool.ComputerUse.Builder setExcludedPredefinedFunctions(int index, String value)Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes:
- Using a more restricted / different action space.
- Improving the definitions / instructions of predefined functions.
repeated string excluded_predefined_functions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludedPredefinedFunctions to set. |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Tool.ComputerUse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Tool.ComputerUse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Tool.ComputerUse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Tool.ComputerUse.Builder |
|