Class RagCorpus.Builder

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

public static final class RagCorpus.Builder extends com.google.protobuf.GeneratedMessage.Builder<RagCorpus.Builder> implements RagCorpusOrBuilder
 A RagCorpus is a RagFile container and a project can have multiple
 RagCorpora.
 
Protobuf type google.cloud.aiplatform.v1.RagCorpus
  • 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<RagCorpus.Builder>
    • clear

      public RagCorpus.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<RagCorpus.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<RagCorpus.Builder>
    • getDefaultInstanceForType

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

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

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

      public RagCorpus.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<RagCorpus.Builder>
    • mergeFrom

      public RagCorpus.Builder mergeFrom(RagCorpus other)
    • isInitialized

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

      public RagCorpus.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<RagCorpus.Builder>
      Throws:
      IOException
    • getBackendConfigCase

      public RagCorpus.BackendConfigCase getBackendConfigCase()
      Specified by:
      getBackendConfigCase in interface RagCorpusOrBuilder
    • clearBackendConfig

      public RagCorpus.Builder clearBackendConfig()
    • hasVectorDbConfig

      public boolean hasVectorDbConfig()
       Optional. Immutable. The config for the Vector DBs.
       
      .google.cloud.aiplatform.v1.RagVectorDbConfig vector_db_config = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasVectorDbConfig in interface RagCorpusOrBuilder
      Returns:
      Whether the vectorDbConfig field is set.
    • getVectorDbConfig

      public RagVectorDbConfig getVectorDbConfig()
       Optional. Immutable. The config for the Vector DBs.
       
      .google.cloud.aiplatform.v1.RagVectorDbConfig vector_db_config = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getVectorDbConfig in interface RagCorpusOrBuilder
      Returns:
      The vectorDbConfig.
    • setVectorDbConfig

      public RagCorpus.Builder setVectorDbConfig(RagVectorDbConfig value)
       Optional. Immutable. The config for the Vector DBs.
       
      .google.cloud.aiplatform.v1.RagVectorDbConfig vector_db_config = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • setVectorDbConfig

      public RagCorpus.Builder setVectorDbConfig(RagVectorDbConfig.Builder builderForValue)
       Optional. Immutable. The config for the Vector DBs.
       
      .google.cloud.aiplatform.v1.RagVectorDbConfig vector_db_config = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • mergeVectorDbConfig

      public RagCorpus.Builder mergeVectorDbConfig(RagVectorDbConfig value)
       Optional. Immutable. The config for the Vector DBs.
       
      .google.cloud.aiplatform.v1.RagVectorDbConfig vector_db_config = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • clearVectorDbConfig

      public RagCorpus.Builder clearVectorDbConfig()
       Optional. Immutable. The config for the Vector DBs.
       
      .google.cloud.aiplatform.v1.RagVectorDbConfig vector_db_config = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • getVectorDbConfigBuilder

      public RagVectorDbConfig.Builder getVectorDbConfigBuilder()
       Optional. Immutable. The config for the Vector DBs.
       
      .google.cloud.aiplatform.v1.RagVectorDbConfig vector_db_config = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • getVectorDbConfigOrBuilder

      public RagVectorDbConfigOrBuilder getVectorDbConfigOrBuilder()
       Optional. Immutable. The config for the Vector DBs.
       
      .google.cloud.aiplatform.v1.RagVectorDbConfig vector_db_config = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getVectorDbConfigOrBuilder in interface RagCorpusOrBuilder
    • hasVertexAiSearchConfig

      public boolean hasVertexAiSearchConfig()
       Optional. Immutable. The config for the Vertex AI Search.
       
      .google.cloud.aiplatform.v1.VertexAiSearchConfig vertex_ai_search_config = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasVertexAiSearchConfig in interface RagCorpusOrBuilder
      Returns:
      Whether the vertexAiSearchConfig field is set.
    • getVertexAiSearchConfig

      public VertexAiSearchConfig getVertexAiSearchConfig()
       Optional. Immutable. The config for the Vertex AI Search.
       
      .google.cloud.aiplatform.v1.VertexAiSearchConfig vertex_ai_search_config = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getVertexAiSearchConfig in interface RagCorpusOrBuilder
      Returns:
      The vertexAiSearchConfig.
    • setVertexAiSearchConfig

      public RagCorpus.Builder setVertexAiSearchConfig(VertexAiSearchConfig value)
       Optional. Immutable. The config for the Vertex AI Search.
       
      .google.cloud.aiplatform.v1.VertexAiSearchConfig vertex_ai_search_config = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • setVertexAiSearchConfig

      public RagCorpus.Builder setVertexAiSearchConfig(VertexAiSearchConfig.Builder builderForValue)
       Optional. Immutable. The config for the Vertex AI Search.
       
      .google.cloud.aiplatform.v1.VertexAiSearchConfig vertex_ai_search_config = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • mergeVertexAiSearchConfig

      public RagCorpus.Builder mergeVertexAiSearchConfig(VertexAiSearchConfig value)
       Optional. Immutable. The config for the Vertex AI Search.
       
      .google.cloud.aiplatform.v1.VertexAiSearchConfig vertex_ai_search_config = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • clearVertexAiSearchConfig

      public RagCorpus.Builder clearVertexAiSearchConfig()
       Optional. Immutable. The config for the Vertex AI Search.
       
      .google.cloud.aiplatform.v1.VertexAiSearchConfig vertex_ai_search_config = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • getVertexAiSearchConfigBuilder

      public VertexAiSearchConfig.Builder getVertexAiSearchConfigBuilder()
       Optional. Immutable. The config for the Vertex AI Search.
       
      .google.cloud.aiplatform.v1.VertexAiSearchConfig vertex_ai_search_config = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • getVertexAiSearchConfigOrBuilder

      public VertexAiSearchConfigOrBuilder getVertexAiSearchConfigOrBuilder()
       Optional. Immutable. The config for the Vertex AI Search.
       
      .google.cloud.aiplatform.v1.VertexAiSearchConfig vertex_ai_search_config = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getVertexAiSearchConfigOrBuilder in interface RagCorpusOrBuilder
    • getName

      public String getName()
       Output only. The resource name of the RagCorpus.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface RagCorpusOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The resource name of the RagCorpus.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface RagCorpusOrBuilder
      Returns:
      The bytes for name.
    • setName

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

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

      public RagCorpus.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the RagCorpus.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. The display name of the RagCorpus.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface RagCorpusOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The display name of the RagCorpus.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface RagCorpusOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public RagCorpus.Builder setDisplayName(String value)
       Required. The display name of the RagCorpus.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public RagCorpus.Builder clearDisplayName()
       Required. The display name of the RagCorpus.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public RagCorpus.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The display name of the RagCorpus.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.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 RagCorpus.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface RagCorpusOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

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

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

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

      public RagCorpus.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. The description of the RagCorpus.
       
      string description = 3 [(.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 RagCorpus was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface RagCorpusOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

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

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

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

      public RagCorpus.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this RagCorpus was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public RagCorpus.Builder clearCreateTime()
       Output only. Timestamp when this RagCorpus was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

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

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when this RagCorpus was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface RagCorpusOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Timestamp when this RagCorpus was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface RagCorpusOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Timestamp when this RagCorpus was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface RagCorpusOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public RagCorpus.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this RagCorpus was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public RagCorpus.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when this RagCorpus was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public RagCorpus.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this RagCorpus was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public RagCorpus.Builder clearUpdateTime()
       Output only. Timestamp when this RagCorpus was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Timestamp when this RagCorpus was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Timestamp when this RagCorpus was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface RagCorpusOrBuilder
    • hasCorpusStatus

      public boolean hasCorpusStatus()
       Output only. RagCorpus state.
       
      .google.cloud.aiplatform.v1.CorpusStatus corpus_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCorpusStatus in interface RagCorpusOrBuilder
      Returns:
      Whether the corpusStatus field is set.
    • getCorpusStatus

      public CorpusStatus getCorpusStatus()
       Output only. RagCorpus state.
       
      .google.cloud.aiplatform.v1.CorpusStatus corpus_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCorpusStatus in interface RagCorpusOrBuilder
      Returns:
      The corpusStatus.
    • setCorpusStatus

      public RagCorpus.Builder setCorpusStatus(CorpusStatus value)
       Output only. RagCorpus state.
       
      .google.cloud.aiplatform.v1.CorpusStatus corpus_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCorpusStatus

      public RagCorpus.Builder setCorpusStatus(CorpusStatus.Builder builderForValue)
       Output only. RagCorpus state.
       
      .google.cloud.aiplatform.v1.CorpusStatus corpus_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCorpusStatus

      public RagCorpus.Builder mergeCorpusStatus(CorpusStatus value)
       Output only. RagCorpus state.
       
      .google.cloud.aiplatform.v1.CorpusStatus corpus_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCorpusStatus

      public RagCorpus.Builder clearCorpusStatus()
       Output only. RagCorpus state.
       
      .google.cloud.aiplatform.v1.CorpusStatus corpus_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCorpusStatusBuilder

      public CorpusStatus.Builder getCorpusStatusBuilder()
       Output only. RagCorpus state.
       
      .google.cloud.aiplatform.v1.CorpusStatus corpus_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCorpusStatusOrBuilder

      public CorpusStatusOrBuilder getCorpusStatusOrBuilder()
       Output only. RagCorpus state.
       
      .google.cloud.aiplatform.v1.CorpusStatus corpus_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCorpusStatusOrBuilder in interface RagCorpusOrBuilder
    • hasEncryptionSpec

      public boolean hasEncryptionSpec()
       Optional. Immutable. The CMEK key name used to encrypt at-rest data related
       to this Corpus. Only applicable to RagManagedDb option for Vector DB. This
       field can only be set at corpus creation time, and cannot be updated or
       deleted.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEncryptionSpec in interface RagCorpusOrBuilder
      Returns:
      Whether the encryptionSpec field is set.
    • getEncryptionSpec

      public EncryptionSpec getEncryptionSpec()
       Optional. Immutable. The CMEK key name used to encrypt at-rest data related
       to this Corpus. Only applicable to RagManagedDb option for Vector DB. This
       field can only be set at corpus creation time, and cannot be updated or
       deleted.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEncryptionSpec in interface RagCorpusOrBuilder
      Returns:
      The encryptionSpec.
    • setEncryptionSpec

      public RagCorpus.Builder setEncryptionSpec(EncryptionSpec value)
       Optional. Immutable. The CMEK key name used to encrypt at-rest data related
       to this Corpus. Only applicable to RagManagedDb option for Vector DB. This
       field can only be set at corpus creation time, and cannot be updated or
       deleted.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
    • setEncryptionSpec

      public RagCorpus.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)
       Optional. Immutable. The CMEK key name used to encrypt at-rest data related
       to this Corpus. Only applicable to RagManagedDb option for Vector DB. This
       field can only be set at corpus creation time, and cannot be updated or
       deleted.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
    • mergeEncryptionSpec

      public RagCorpus.Builder mergeEncryptionSpec(EncryptionSpec value)
       Optional. Immutable. The CMEK key name used to encrypt at-rest data related
       to this Corpus. Only applicable to RagManagedDb option for Vector DB. This
       field can only be set at corpus creation time, and cannot be updated or
       deleted.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
    • clearEncryptionSpec

      public RagCorpus.Builder clearEncryptionSpec()
       Optional. Immutable. The CMEK key name used to encrypt at-rest data related
       to this Corpus. Only applicable to RagManagedDb option for Vector DB. This
       field can only be set at corpus creation time, and cannot be updated or
       deleted.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
    • getEncryptionSpecBuilder

      public EncryptionSpec.Builder getEncryptionSpecBuilder()
       Optional. Immutable. The CMEK key name used to encrypt at-rest data related
       to this Corpus. Only applicable to RagManagedDb option for Vector DB. This
       field can only be set at corpus creation time, and cannot be updated or
       deleted.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
    • getEncryptionSpecOrBuilder

      public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()
       Optional. Immutable. The CMEK key name used to encrypt at-rest data related
       to this Corpus. Only applicable to RagManagedDb option for Vector DB. This
       field can only be set at corpus creation time, and cannot be updated or
       deleted.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEncryptionSpecOrBuilder in interface RagCorpusOrBuilder