Class Extension.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Extension.Builder>
com.google.cloud.aiplatform.v1beta1.Extension.Builder
All Implemented Interfaces:
ExtensionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Extension

public static final class Extension.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Extension.Builder>
    • clear

      public Extension.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Extension.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Extension.Builder>
    • getDefaultInstanceForType

      public Extension getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Extension build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Extension buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Extension.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Extension.Builder>
    • mergeFrom

      public Extension.Builder mergeFrom(Extension other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Extension.Builder>
    • mergeFrom

      public Extension.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Extension.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The resource name of the Extension.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ExtensionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the Extension.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface ExtensionOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Extension.Builder setName(String value)
       Identifier. The resource name of the Extension.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Extension.Builder clearName()
       Identifier. The resource name of the Extension.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Extension.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The resource name of the Extension.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getDisplayName in interface ExtensionOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.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];
      Specified by:
      getDisplayNameBytes in interface ExtensionOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      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];
      Parameters:
      value - The displayName to set.
      Returns:
      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:
      This builder for chaining.
    • setDisplayNameBytes

      public Extension.Builder setDisplayNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. The description of the Extension.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface ExtensionOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. The description of the Extension.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface ExtensionOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Extension.Builder setDescription(String value)
       Optional. The description of the Extension.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Extension.Builder clearDescription()
       Optional. The description of the Extension.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Extension.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. The description of the Extension.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Timestamp when this Extension was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ExtensionOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Timestamp when this Extension was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ExtensionOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Extension.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this Extension was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Extension.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when this Extension was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Extension.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this Extension was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Timestamp when this Extension was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when this Extension was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ExtensionOrBuilder
    • 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];
      Specified by:
      hasUpdateTime in interface ExtensionOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Timestamp when this Extension was most recently updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ExtensionOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Extension.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this Extension was most recently updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Extension.Builder setUpdateTime(com.google.protobuf.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];
    • mergeUpdateTime

      public Extension.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this Extension was most recently updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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];
    • getUpdateTimeBuilder

      public com.google.protobuf.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];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Timestamp when this Extension was most recently updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ExtensionOrBuilder
    • 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];
      Specified by:
      getEtag in interface ExtensionOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.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];
      Specified by:
      getEtagBytes in interface ExtensionOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      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];
      Parameters:
      value - The etag to set.
      Returns:
      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:
      This builder for chaining.
    • setEtagBytes

      public Extension.Builder setEtagBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • hasManifest

      public boolean hasManifest()
       Required. Manifest of the Extension.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasManifest in interface ExtensionOrBuilder
      Returns:
      Whether the manifest field is set.
    • getManifest

      public ExtensionManifest getManifest()
       Required. Manifest of the Extension.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getManifest in interface ExtensionOrBuilder
      Returns:
      The manifest.
    • setManifest

      public Extension.Builder setManifest(ExtensionManifest value)
       Required. Manifest of the Extension.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
    • setManifest

      public Extension.Builder setManifest(ExtensionManifest.Builder builderForValue)
       Required. Manifest of the Extension.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
    • mergeManifest

      public Extension.Builder mergeManifest(ExtensionManifest value)
       Required. Manifest of the Extension.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
    • clearManifest

      public Extension.Builder clearManifest()
       Required. Manifest of the Extension.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
    • getManifestBuilder

      public ExtensionManifest.Builder getManifestBuilder()
       Required. Manifest of the Extension.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
    • getManifestOrBuilder

      public ExtensionManifestOrBuilder getManifestOrBuilder()
       Required. Manifest of the Extension.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest manifest = 9 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getManifestOrBuilder in interface ExtensionOrBuilder
    • getExtensionOperationsList

      public List<ExtensionOperation> getExtensionOperationsList()
       Output only. Supported operations.
       
      repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExtensionOperationsList in interface ExtensionOrBuilder
    • getExtensionOperationsCount

      public int getExtensionOperationsCount()
       Output only. Supported operations.
       
      repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExtensionOperationsCount in interface ExtensionOrBuilder
    • getExtensionOperations

      public ExtensionOperation getExtensionOperations(int index)
       Output only. Supported operations.
       
      repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExtensionOperations in interface ExtensionOrBuilder
    • setExtensionOperations

      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];
    • setExtensionOperations

      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];
    • addExtensionOperations

      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];
    • addExtensionOperations

      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];
    • addExtensionOperations

      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];
    • addExtensionOperations

      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];
    • addAllExtensionOperations

      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];
    • clearExtensionOperations

      public Extension.Builder clearExtensionOperations()
       Output only. Supported operations.
       
      repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeExtensionOperations

      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];
    • getExtensionOperationsBuilder

      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];
    • getExtensionOperationsOrBuilder

      public ExtensionOperationOrBuilder getExtensionOperationsOrBuilder(int index)
       Output only. Supported operations.
       
      repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExtensionOperationsOrBuilder in interface ExtensionOrBuilder
    • 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];
      Specified by:
      getExtensionOperationsOrBuilderList in interface ExtensionOrBuilder
    • addExtensionOperationsBuilder

      public ExtensionOperation.Builder addExtensionOperationsBuilder()
       Output only. Supported operations.
       
      repeated .google.cloud.aiplatform.v1beta1.ExtensionOperation extension_operations = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addExtensionOperationsBuilder

      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];
    • 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];
    • 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];
      Specified by:
      hasRuntimeConfig in interface ExtensionOrBuilder
      Returns:
      Whether the runtimeConfig field is set.
    • 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];
      Specified by:
      getRuntimeConfig in interface ExtensionOrBuilder
      Returns:
      The runtimeConfig.
    • setRuntimeConfig

      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];
    • setRuntimeConfig

      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];
    • mergeRuntimeConfig

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getRuntimeConfigOrBuilder in interface ExtensionOrBuilder
    • 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];
      Specified by:
      getToolUseExamplesList in interface ExtensionOrBuilder
    • 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];
      Specified by:
      getToolUseExamplesCount in interface ExtensionOrBuilder
    • getToolUseExamples

      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];
      Specified by:
      getToolUseExamples in interface ExtensionOrBuilder
    • setToolUseExamples

      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];
    • setToolUseExamples

      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];
    • addToolUseExamples

      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];
    • addToolUseExamples

      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];
    • addToolUseExamples

      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];
    • addToolUseExamples

      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];
    • addAllToolUseExamples

      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];
    • 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];
    • removeToolUseExamples

      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];
    • getToolUseExamplesBuilder

      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];
    • getToolUseExamplesOrBuilder

      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];
      Specified by:
      getToolUseExamplesOrBuilder in interface ExtensionOrBuilder
    • 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];
      Specified by:
      getToolUseExamplesOrBuilderList in interface ExtensionOrBuilder
    • 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];
    • addToolUseExamplesBuilder

      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];
    • 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];
    • 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];
      Specified by:
      hasPrivateServiceConnectConfig in interface ExtensionOrBuilder
      Returns:
      Whether the privateServiceConnectConfig field is set.
    • 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];
      Specified by:
      getPrivateServiceConnectConfig in interface ExtensionOrBuilder
      Returns:
      The privateServiceConnectConfig.
    • setPrivateServiceConnectConfig

      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];
    • setPrivateServiceConnectConfig

      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];
    • mergePrivateServiceConnectConfig

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getPrivateServiceConnectConfigOrBuilder in interface ExtensionOrBuilder