- 3.48.0 (latest)
- 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 Extension.Builder extends GeneratedMessageV3.Builder<Extension.Builder> implements ExtensionOrBuilder
Extensions are tools for large language models to access external data, run computations, etc.
Protobuf type google.cloud.aiplatform.v1beta1.Extension
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Extension.BuilderImplements
ExtensionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllExtensionOperations(Iterable<? extends ExtensionOperation> values)
public Extension.Builder addAllExtensionOperations(Iterable<? extends ExtensionOperation> values)
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.ExtensionOperation> |
Returns | |
---|---|
Type | Description |
Extension.Builder |
addAllToolUseExamples(Iterable<? extends ToolUseExample> values)
public Extension.Builder addAllToolUseExamples(Iterable<? extends ToolUseExample> values)
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.ToolUseExample> |
Returns | |
---|---|
Type | Description |
Extension.Builder |
addExtensionOperations(ExtensionOperation value)
public Extension.Builder addExtensionOperations(ExtensionOperation value)
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ExtensionOperation |
Returns | |
---|---|
Type | Description |
Extension.Builder |
addExtensionOperations(ExtensionOperation.Builder builderForValue)
public Extension.Builder addExtensionOperations(ExtensionOperation.Builder builderForValue)
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
ExtensionOperation.Builder |
Returns | |
---|---|
Type | Description |
Extension.Builder |
addExtensionOperations(int index, ExtensionOperation value)
public Extension.Builder addExtensionOperations(int index, ExtensionOperation value)
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ExtensionOperation |
Returns | |
---|---|
Type | Description |
Extension.Builder |
addExtensionOperations(int index, ExtensionOperation.Builder builderForValue)
public Extension.Builder addExtensionOperations(int index, ExtensionOperation.Builder builderForValue)
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ExtensionOperation.Builder |
Returns | |
---|---|
Type | Description |
Extension.Builder |
addExtensionOperationsBuilder()
public ExtensionOperation.Builder addExtensionOperationsBuilder()
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ExtensionOperation.Builder |
addExtensionOperationsBuilder(int index)
public ExtensionOperation.Builder addExtensionOperationsBuilder(int index)
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ExtensionOperation.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Extension.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Extension.Builder |
addToolUseExamples(ToolUseExample value)
public Extension.Builder addToolUseExamples(ToolUseExample value)
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ToolUseExample |
Returns | |
---|---|
Type | Description |
Extension.Builder |
addToolUseExamples(ToolUseExample.Builder builderForValue)
public Extension.Builder addToolUseExamples(ToolUseExample.Builder builderForValue)
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
ToolUseExample.Builder |
Returns | |
---|---|
Type | Description |
Extension.Builder |
addToolUseExamples(int index, ToolUseExample value)
public Extension.Builder addToolUseExamples(int index, ToolUseExample value)
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ToolUseExample |
Returns | |
---|---|
Type | Description |
Extension.Builder |
addToolUseExamples(int index, ToolUseExample.Builder builderForValue)
public Extension.Builder addToolUseExamples(int index, ToolUseExample.Builder builderForValue)
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ToolUseExample.Builder |
Returns | |
---|---|
Type | Description |
Extension.Builder |
addToolUseExamplesBuilder()
public ToolUseExample.Builder addToolUseExamplesBuilder()
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ToolUseExample.Builder |
addToolUseExamplesBuilder(int index)
public ToolUseExample.Builder addToolUseExamplesBuilder(int index)
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ToolUseExample.Builder |
build()
public Extension build()
Returns | |
---|---|
Type | Description |
Extension |
buildPartial()
public Extension buildPartial()
Returns | |
---|---|
Type | Description |
Extension |
clear()
public Extension.Builder clear()
Returns | |
---|---|
Type | Description |
Extension.Builder |
clearCreateTime()
public Extension.Builder clearCreateTime()
Output only. Timestamp when this Extension was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Extension.Builder |
clearDescription()
public Extension.Builder clearDescription()
Optional. The description of the Extension.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Extension.Builder |
This builder for chaining. |
clearDisplayName()
public Extension.Builder clearDisplayName()
Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Extension.Builder |
This builder for chaining. |
clearEtag()
public Extension.Builder clearEtag()
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Extension.Builder |
This builder for chaining. |
clearExtensionOperations()
public Extension.Builder clearExtensionOperations()
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Extension.Builder |
clearField(Descriptors.FieldDescriptor field)
public Extension.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Extension.Builder |
clearManifest()
public Extension.Builder clearManifest()
Required. Manifest of the Extension.
.google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Extension.Builder |
clearName()
public Extension.Builder clearName()
Identifier. The resource name of the Extension.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
Extension.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Extension.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Extension.Builder |
clearPrivateServiceConnectConfig()
public Extension.Builder clearPrivateServiceConnectConfig()
Optional. The PrivateServiceConnect config for the extension. If specified, the service endpoints associated with the Extension should be registered with private network access in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).
If the service contains more than one endpoint with a network, the service will arbitrarilty choose one of the endpoints to use for extension execution.
.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Extension.Builder |
clearRuntimeConfig()
public Extension.Builder clearRuntimeConfig()
Optional. Runtime config controlling the runtime behavior of this Extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig runtime_config = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Extension.Builder |
clearToolUseExamples()
public Extension.Builder clearToolUseExamples()
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Extension.Builder |
clearUpdateTime()
public Extension.Builder clearUpdateTime()
Output only. Timestamp when this Extension was most recently updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Extension.Builder |
clone()
public Extension.Builder clone()
Returns | |
---|---|
Type | Description |
Extension.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp when this Extension was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this Extension was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this Extension was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Extension getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Extension |
getDescription()
public String getDescription()
Optional. The description of the Extension.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. The description of the Extension.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getEtag()
public String getEtag()
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The etag. |
getEtagBytes()
public ByteString getEtagBytes()
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for etag. |
getExtensionOperations(int index)
public ExtensionOperation getExtensionOperations(int index)
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ExtensionOperation |
getExtensionOperationsBuilder(int index)
public ExtensionOperation.Builder getExtensionOperationsBuilder(int index)
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ExtensionOperation.Builder |
getExtensionOperationsBuilderList()
public List<ExtensionOperation.Builder> getExtensionOperationsBuilderList()
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Builder> |
getExtensionOperationsCount()
public int getExtensionOperationsCount()
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getExtensionOperationsList()
public List<ExtensionOperation> getExtensionOperationsList()
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<ExtensionOperation> |
getExtensionOperationsOrBuilder(int index)
public ExtensionOperationOrBuilder getExtensionOperationsOrBuilder(int index)
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ExtensionOperationOrBuilder |
getExtensionOperationsOrBuilderList()
public List<? extends ExtensionOperationOrBuilder> getExtensionOperationsOrBuilderList()
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.ExtensionOperationOrBuilder> |
getManifest()
public ExtensionManifest getManifest()
Required. Manifest of the Extension.
.google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ExtensionManifest |
The manifest. |
getManifestBuilder()
public ExtensionManifest.Builder getManifestBuilder()
Required. Manifest of the Extension.
.google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ExtensionManifest.Builder |
getManifestOrBuilder()
public ExtensionManifestOrBuilder getManifestOrBuilder()
Required. Manifest of the Extension.
.google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ExtensionManifestOrBuilder |
getName()
public String getName()
Identifier. The resource name of the Extension.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. The resource name of the Extension.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getPrivateServiceConnectConfig()
public ExtensionPrivateServiceConnectConfig getPrivateServiceConnectConfig()
Optional. The PrivateServiceConnect config for the extension. If specified, the service endpoints associated with the Extension should be registered with private network access in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).
If the service contains more than one endpoint with a network, the service will arbitrarilty choose one of the endpoints to use for extension execution.
.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExtensionPrivateServiceConnectConfig |
The privateServiceConnectConfig. |
getPrivateServiceConnectConfigBuilder()
public ExtensionPrivateServiceConnectConfig.Builder getPrivateServiceConnectConfigBuilder()
Optional. The PrivateServiceConnect config for the extension. If specified, the service endpoints associated with the Extension should be registered with private network access in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).
If the service contains more than one endpoint with a network, the service will arbitrarilty choose one of the endpoints to use for extension execution.
.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExtensionPrivateServiceConnectConfig.Builder |
getPrivateServiceConnectConfigOrBuilder()
public ExtensionPrivateServiceConnectConfigOrBuilder getPrivateServiceConnectConfigOrBuilder()
Optional. The PrivateServiceConnect config for the extension. If specified, the service endpoints associated with the Extension should be registered with private network access in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).
If the service contains more than one endpoint with a network, the service will arbitrarilty choose one of the endpoints to use for extension execution.
.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExtensionPrivateServiceConnectConfigOrBuilder |
getRuntimeConfig()
public RuntimeConfig getRuntimeConfig()
Optional. Runtime config controlling the runtime behavior of this Extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig runtime_config = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RuntimeConfig |
The runtimeConfig. |
getRuntimeConfigBuilder()
public RuntimeConfig.Builder getRuntimeConfigBuilder()
Optional. Runtime config controlling the runtime behavior of this Extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig runtime_config = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RuntimeConfig.Builder |
getRuntimeConfigOrBuilder()
public RuntimeConfigOrBuilder getRuntimeConfigOrBuilder()
Optional. Runtime config controlling the runtime behavior of this Extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig runtime_config = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RuntimeConfigOrBuilder |
getToolUseExamples(int index)
public ToolUseExample getToolUseExamples(int index)
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ToolUseExample |
getToolUseExamplesBuilder(int index)
public ToolUseExample.Builder getToolUseExamplesBuilder(int index)
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ToolUseExample.Builder |
getToolUseExamplesBuilderList()
public List<ToolUseExample.Builder> getToolUseExamplesBuilderList()
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getToolUseExamplesCount()
public int getToolUseExamplesCount()
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getToolUseExamplesList()
public List<ToolUseExample> getToolUseExamplesList()
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<ToolUseExample> |
getToolUseExamplesOrBuilder(int index)
public ToolUseExampleOrBuilder getToolUseExamplesOrBuilder(int index)
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ToolUseExampleOrBuilder |
getToolUseExamplesOrBuilderList()
public List<? extends ToolUseExampleOrBuilder> getToolUseExamplesOrBuilderList()
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.ToolUseExampleOrBuilder> |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Timestamp when this Extension was most recently updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this Extension was most recently updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this Extension was most recently updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp when this Extension was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasManifest()
public boolean hasManifest()
Required. Manifest of the Extension.
.google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the manifest field is set. |
hasPrivateServiceConnectConfig()
public boolean hasPrivateServiceConnectConfig()
Optional. The PrivateServiceConnect config for the extension. If specified, the service endpoints associated with the Extension should be registered with private network access in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).
If the service contains more than one endpoint with a network, the service will arbitrarilty choose one of the endpoints to use for extension execution.
.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the privateServiceConnectConfig field is set. |
hasRuntimeConfig()
public boolean hasRuntimeConfig()
Optional. Runtime config controlling the runtime behavior of this Extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig runtime_config = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the runtimeConfig field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Timestamp when this Extension was most recently updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Extension.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp when this Extension was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Extension.Builder |
mergeFrom(Extension other)
public Extension.Builder mergeFrom(Extension other)
Parameter | |
---|---|
Name | Description |
other |
Extension |
Returns | |
---|---|
Type | Description |
Extension.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Extension.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Extension.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Extension.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Extension.Builder |
mergeManifest(ExtensionManifest value)
public Extension.Builder mergeManifest(ExtensionManifest value)
Required. Manifest of the Extension.
.google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ExtensionManifest |
Returns | |
---|---|
Type | Description |
Extension.Builder |
mergePrivateServiceConnectConfig(ExtensionPrivateServiceConnectConfig value)
public Extension.Builder mergePrivateServiceConnectConfig(ExtensionPrivateServiceConnectConfig value)
Optional. The PrivateServiceConnect config for the extension. If specified, the service endpoints associated with the Extension should be registered with private network access in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).
If the service contains more than one endpoint with a network, the service will arbitrarilty choose one of the endpoints to use for extension execution.
.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ExtensionPrivateServiceConnectConfig |
Returns | |
---|---|
Type | Description |
Extension.Builder |
mergeRuntimeConfig(RuntimeConfig value)
public Extension.Builder mergeRuntimeConfig(RuntimeConfig value)
Optional. Runtime config controlling the runtime behavior of this Extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig runtime_config = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
RuntimeConfig |
Returns | |
---|---|
Type | Description |
Extension.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Extension.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Extension.Builder |
mergeUpdateTime(Timestamp value)
public Extension.Builder mergeUpdateTime(Timestamp value)
Output only. Timestamp when this Extension was most recently updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Extension.Builder |
removeExtensionOperations(int index)
public Extension.Builder removeExtensionOperations(int index)
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Extension.Builder |
removeToolUseExamples(int index)
public Extension.Builder removeToolUseExamples(int index)
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setCreateTime(Timestamp value)
public Extension.Builder setCreateTime(Timestamp value)
Output only. Timestamp when this Extension was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Extension.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this Extension was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setDescription(String value)
public Extension.Builder setDescription(String value)
Optional. The description of the Extension.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
Extension.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Extension.Builder setDescriptionBytes(ByteString value)
Optional. The description of the Extension.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Extension.Builder |
This builder for chaining. |
setDisplayName(String value)
public Extension.Builder setDisplayName(String value)
Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
Extension.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Extension.Builder setDisplayNameBytes(ByteString value)
Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Extension.Builder |
This builder for chaining. |
setEtag(String value)
public Extension.Builder setEtag(String value)
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The etag to set. |
Returns | |
---|---|
Type | Description |
Extension.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public Extension.Builder setEtagBytes(ByteString value)
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
Extension.Builder |
This builder for chaining. |
setExtensionOperations(int index, ExtensionOperation value)
public Extension.Builder setExtensionOperations(int index, ExtensionOperation value)
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ExtensionOperation |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setExtensionOperations(int index, ExtensionOperation.Builder builderForValue)
public Extension.Builder setExtensionOperations(int index, ExtensionOperation.Builder builderForValue)
Output only. Supported operations.
repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ExtensionOperation.Builder |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Extension.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setManifest(ExtensionManifest value)
public Extension.Builder setManifest(ExtensionManifest value)
Required. Manifest of the Extension.
.google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ExtensionManifest |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setManifest(ExtensionManifest.Builder builderForValue)
public Extension.Builder setManifest(ExtensionManifest.Builder builderForValue)
Required. Manifest of the Extension.
.google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
ExtensionManifest.Builder |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setName(String value)
public Extension.Builder setName(String value)
Identifier. The resource name of the Extension.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Extension.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Extension.Builder setNameBytes(ByteString value)
Identifier. The resource name of the Extension.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Extension.Builder |
This builder for chaining. |
setPrivateServiceConnectConfig(ExtensionPrivateServiceConnectConfig value)
public Extension.Builder setPrivateServiceConnectConfig(ExtensionPrivateServiceConnectConfig value)
Optional. The PrivateServiceConnect config for the extension. If specified, the service endpoints associated with the Extension should be registered with private network access in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).
If the service contains more than one endpoint with a network, the service will arbitrarilty choose one of the endpoints to use for extension execution.
.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ExtensionPrivateServiceConnectConfig |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setPrivateServiceConnectConfig(ExtensionPrivateServiceConnectConfig.Builder builderForValue)
public Extension.Builder setPrivateServiceConnectConfig(ExtensionPrivateServiceConnectConfig.Builder builderForValue)
Optional. The PrivateServiceConnect config for the extension. If specified, the service endpoints associated with the Extension should be registered with private network access in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).
If the service contains more than one endpoint with a network, the service will arbitrarilty choose one of the endpoints to use for extension execution.
.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
ExtensionPrivateServiceConnectConfig.Builder |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Extension.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setRuntimeConfig(RuntimeConfig value)
public Extension.Builder setRuntimeConfig(RuntimeConfig value)
Optional. Runtime config controlling the runtime behavior of this Extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig runtime_config = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
RuntimeConfig |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setRuntimeConfig(RuntimeConfig.Builder builderForValue)
public Extension.Builder setRuntimeConfig(RuntimeConfig.Builder builderForValue)
Optional. Runtime config controlling the runtime behavior of this Extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig runtime_config = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
RuntimeConfig.Builder |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setToolUseExamples(int index, ToolUseExample value)
public Extension.Builder setToolUseExamples(int index, ToolUseExample value)
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ToolUseExample |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setToolUseExamples(int index, ToolUseExample.Builder builderForValue)
public Extension.Builder setToolUseExamples(int index, ToolUseExample.Builder builderForValue)
Optional. Examples to illustrate the usage of the extension as a tool.
repeated .google.cloud.aiplatform.v1beta1.ToolUseExample tool_use_examples = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ToolUseExample.Builder |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Extension.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setUpdateTime(Timestamp value)
public Extension.Builder setUpdateTime(Timestamp value)
Output only. Timestamp when this Extension was most recently updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Extension.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Extension.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this Extension was most recently updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Extension.Builder |