Class Extension.Builder (3.41.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

Implements

ExtensionOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.ExtensionOperation>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.ToolUseExample>
Returns
TypeDescription
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
NameDescription
valueExtensionOperation
Returns
TypeDescription
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
NameDescription
builderForValueExtensionOperation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueExtensionOperation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExtensionOperation.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ExtensionOperation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Extension.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Extension.Builder
Overrides

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
NameDescription
valueToolUseExample
Returns
TypeDescription
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
NameDescription
builderForValueToolUseExample.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueToolUseExample
Returns
TypeDescription
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
NameDescription
indexint
builderForValueToolUseExample.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ToolUseExample.Builder

build()

public Extension build()
Returns
TypeDescription
Extension

buildPartial()

public Extension buildPartial()
Returns
TypeDescription
Extension

clear()

public Extension.Builder clear()
Returns
TypeDescription
Extension.Builder
Overrides

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
TypeDescription
Extension.Builder

clearDescription()

public Extension.Builder clearDescription()

Optional. The description of the Extension.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Extension.Builder

clearField(Descriptors.FieldDescriptor field)

public Extension.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Extension.Builder
Overrides

clearManifest()

public Extension.Builder clearManifest()

Required. Manifest of the Extension.

.google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Extension.Builder

clearName()

public Extension.Builder clearName()

Identifier. The resource name of the Extension.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
TypeDescription
Extension.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Extension.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Extension.Builder
Overrides

clearPrivateServiceConnectConfig()

public Extension.Builder clearPrivateServiceConnectConfig()

Optional. The PrivateServiceConnect config for the extension. If specified, the service endpoints associated with the Extension should be registered in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).

.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Extension.Builder

clone()

public Extension.Builder clone()
Returns
TypeDescription
Extension.Builder
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Extension getDefaultInstanceForType()
Returns
TypeDescription
Extension

getDescription()

public String getDescription()

Optional. The description of the Extension.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. The description of the Extension.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ExtensionManifest.Builder

getManifestOrBuilder()

public ExtensionManifestOrBuilder getManifestOrBuilder()

Required. Manifest of the Extension.

.google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ExtensionManifestOrBuilder

getName()

public String getName()

Identifier. The resource name of the Extension.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the Extension.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
TypeDescription
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 in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).

.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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 in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).

.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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 in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).

.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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 in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).

.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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
NameDescription
valueTimestamp
Returns
TypeDescription
Extension.Builder

mergeFrom(Extension other)

public Extension.Builder mergeFrom(Extension other)
Parameter
NameDescription
otherExtension
Returns
TypeDescription
Extension.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Extension.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Extension.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Extension.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Extension.Builder
Overrides

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
NameDescription
valueExtensionManifest
Returns
TypeDescription
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 in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).

.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueExtensionPrivateServiceConnectConfig
Returns
TypeDescription
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
NameDescription
valueRuntimeConfig
Returns
TypeDescription
Extension.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Extension.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Extension.Builder
Overrides

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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
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
NameDescription
valueString

The etag to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
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
NameDescription
indexint
valueExtensionOperation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExtensionOperation.Builder
Returns
TypeDescription
Extension.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Extension.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Extension.Builder
Overrides

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
NameDescription
valueExtensionManifest
Returns
TypeDescription
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
NameDescription
builderForValueExtensionManifest.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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 in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).

.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueExtensionPrivateServiceConnectConfig
Returns
TypeDescription
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 in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).

.google.cloud.aiplatform.v1beta1.ExtensionPrivateServiceConnectConfig private_service_connect_config = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueExtensionPrivateServiceConnectConfig.Builder
Returns
TypeDescription
Extension.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Extension.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Extension.Builder
Overrides

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
NameDescription
valueRuntimeConfig
Returns
TypeDescription
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
NameDescription
builderForValueRuntimeConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueToolUseExample
Returns
TypeDescription
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
NameDescription
indexint
builderForValueToolUseExample.Builder
Returns
TypeDescription
Extension.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Extension.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Extension.Builder
Overrides

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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Extension.Builder