3.96.0 (latest) 3.95.0 3.94.0 3.92.0 3.89.0 3.88.0 3.86.0 3.84.0 3.83.0 3.82.0 3.81.0 3.79.0 3.77.0 3.76.0 3.75.0 3.74.0 3.73.0 3.71.0 3.69.0 3.68.0 3.65.0 3.64.0 3.63.0 3.61.0 3.60.0 3.59.0 3.58.0 3.57.0 3.56.0 3.55.0 3.54.0 3.53.0 3.52.0 3.50.0 3.49.0 3.48.0 3.47.0 3.46.0 3.45.0 3.44.0 3.43.0 3.42.0 3.41.0 3.40.0 3.38.0 3.37.0 3.36.0 3.35.0 3.34.0 3.33.0 3.32.0 3.31.0 3.30.0 3.29.0 3.28.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.2 3.3.0 3.2.0 3.0.0 2.9.8 2.8.9 2.7.4 2.5.3 2.4.0

    public interface RagCorpusOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getBackendConfigCase()

    public abstract RagCorpus.BackendConfigCase getBackendConfigCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.RagCorpus.BackendConfigCase` |   |

### getCorpusStatus()

    public abstract CorpusStatus getCorpusStatus()

Output only. RagCorpus state.

`
.google.cloud.aiplatform.v1beta1.CorpusStatus corpus_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.CorpusStatus` | The corpusStatus. |

### getCorpusStatusOrBuilder()

    public abstract CorpusStatusOrBuilder getCorpusStatusOrBuilder()

Output only. RagCorpus state.

`
.google.cloud.aiplatform.v1beta1.CorpusStatus corpus_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.CorpusStatusOrBuilder` |   |

### getCorpusTypeConfig()

    public abstract RagCorpus.CorpusTypeConfig getCorpusTypeConfig()

Optional. The corpus type config of the RagCorpus.

`
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig corpus_type_config = 13 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig` | The corpusTypeConfig. |

### getCorpusTypeConfigOrBuilder()

    public abstract RagCorpus.CorpusTypeConfigOrBuilder getCorpusTypeConfigOrBuilder()

Optional. The corpus type config of the RagCorpus.

`
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig corpus_type_config = 13 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfigOrBuilder` |   |

### getCreateTime()

    public abstract Timestamp getCreateTime()

Output only. Timestamp when this RagCorpus was created.

`.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The createTime. |

### getCreateTimeOrBuilder()

    public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this RagCorpus was created.

`.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getDescription()

    public abstract String getDescription()

Optional. The description of the RagCorpus.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The description. |

### getDescriptionBytes()

    public abstract ByteString getDescriptionBytes()

Optional. The description of the RagCorpus.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for description. |

### getDisplayName()

    public abstract 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];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The displayName. |

### getDisplayNameBytes()

    public abstract 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];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for displayName. |

### getEncryptionSpec()

    public abstract 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.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.EncryptionSpec` | The encryptionSpec. |

### getEncryptionSpecOrBuilder()

    public abstract 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.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder` |   |

### getName()

    public abstract String getName()

Output only. The resource name of the RagCorpus.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

Output only. The resource name of the RagCorpus.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getRagEmbeddingModelConfig() (deprecated)

    public abstract RagEmbeddingModelConfig getRagEmbeddingModelConfig()

**Deprecated.** *google.cloud.aiplatform.v1beta1.RagCorpus.rag_embedding_model_config is deprecated.
See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=360*

Optional. Immutable. The embedding model config of the RagCorpus.

`
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig rag_embedding_model_config = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig` | The ragEmbeddingModelConfig. |

### getRagEmbeddingModelConfigOrBuilder() (deprecated)

    public abstract RagEmbeddingModelConfigOrBuilder getRagEmbeddingModelConfigOrBuilder()

Optional. Immutable. The embedding model config of the RagCorpus.

`
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig rag_embedding_model_config = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfigOrBuilder` |   |

### getRagFilesCount()

    public abstract int getRagFilesCount()

Output only. Number of RagFiles in the RagCorpus.

NOTE: This field is not populated in the response of
VertexRagDataService.ListRagCorpora.

`int32 rag_files_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The ragFilesCount. |

### getRagVectorDbConfig() (deprecated)

    public abstract RagVectorDbConfig getRagVectorDbConfig()

**Deprecated.** *google.cloud.aiplatform.v1beta1.RagCorpus.rag_vector_db_config is deprecated. See
google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=367*

Optional. Immutable. The Vector DB config of the RagCorpus.

`
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig rag_vector_db_config = 7 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.RagVectorDbConfig` | The ragVectorDbConfig. |

### getRagVectorDbConfigOrBuilder() (deprecated)

    public abstract RagVectorDbConfigOrBuilder getRagVectorDbConfigOrBuilder()

Optional. Immutable. The Vector DB config of the RagCorpus.

`
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig rag_vector_db_config = 7 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.RagVectorDbConfigOrBuilder` |   |

### getSatisfiesPzi()

    public abstract boolean getSatisfiesPzi()

Output only. Reserved for future use.

`bool satisfies_pzi = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The satisfiesPzi. |

### getSatisfiesPzs()

    public abstract boolean getSatisfiesPzs()

Output only. Reserved for future use.

`bool satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The satisfiesPzs. |

### getUpdateTime()

    public abstract Timestamp getUpdateTime()

Output only. Timestamp when this RagCorpus was last updated.

`.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The updateTime. |

### getUpdateTimeOrBuilder()

    public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this RagCorpus was last updated.

`.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getVectorDbConfig()

    public abstract RagVectorDbConfig getVectorDbConfig()

Optional. Immutable. The config for the Vector DBs.

`
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig vector_db_config = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.RagVectorDbConfig` | The vectorDbConfig. |

### getVectorDbConfigOrBuilder()

    public abstract RagVectorDbConfigOrBuilder getVectorDbConfigOrBuilder()

Optional. Immutable. The config for the Vector DBs.

`
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig vector_db_config = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.RagVectorDbConfigOrBuilder` |   |

### getVertexAiSearchConfig()

    public abstract VertexAiSearchConfig getVertexAiSearchConfig()

Optional. Immutable. The config for the Vertex AI Search.

`
.google.cloud.aiplatform.v1beta1.VertexAiSearchConfig vertex_ai_search_config = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.VertexAiSearchConfig` | The vertexAiSearchConfig. |

### getVertexAiSearchConfigOrBuilder()

    public abstract VertexAiSearchConfigOrBuilder getVertexAiSearchConfigOrBuilder()

Optional. Immutable. The config for the Vertex AI Search.

`
.google.cloud.aiplatform.v1beta1.VertexAiSearchConfig vertex_ai_search_config = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1beta1.VertexAiSearchConfigOrBuilder` |   |

### hasCorpusStatus()

    public abstract boolean hasCorpusStatus()

Output only. RagCorpus state.

`
.google.cloud.aiplatform.v1beta1.CorpusStatus corpus_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the corpusStatus field is set. |

### hasCorpusTypeConfig()

    public abstract boolean hasCorpusTypeConfig()

Optional. The corpus type config of the RagCorpus.

`
.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig corpus_type_config = 13 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the corpusTypeConfig field is set. |

### hasCreateTime()

    public abstract boolean hasCreateTime()

Output only. Timestamp when this RagCorpus was created.

`.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the createTime field is set. |

### hasEncryptionSpec()

    public abstract 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.v1beta1.EncryptionSpec encryption_spec = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the encryptionSpec field is set. |

### hasRagEmbeddingModelConfig() (deprecated)

    public abstract boolean hasRagEmbeddingModelConfig()

**Deprecated.** *google.cloud.aiplatform.v1beta1.RagCorpus.rag_embedding_model_config is deprecated.
See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=360*

Optional. Immutable. The embedding model config of the RagCorpus.

`
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig rag_embedding_model_config = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the ragEmbeddingModelConfig field is set. |

### hasRagVectorDbConfig() (deprecated)

    public abstract boolean hasRagVectorDbConfig()

**Deprecated.** *google.cloud.aiplatform.v1beta1.RagCorpus.rag_vector_db_config is deprecated. See
google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=367*

Optional. Immutable. The Vector DB config of the RagCorpus.

`
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig rag_vector_db_config = 7 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the ragVectorDbConfig field is set. |

### hasUpdateTime()

    public abstract boolean hasUpdateTime()

Output only. Timestamp when this RagCorpus was last updated.

`.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the updateTime field is set. |

### hasVectorDbConfig()

    public abstract boolean hasVectorDbConfig()

Optional. Immutable. The config for the Vector DBs.

`
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig vector_db_config = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the vectorDbConfig field is set. |

### hasVertexAiSearchConfig()

    public abstract boolean hasVertexAiSearchConfig()

Optional. Immutable. The config for the Vertex AI Search.

`
.google.cloud.aiplatform.v1beta1.VertexAiSearchConfig vertex_ai_search_config = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the vertexAiSearchConfig field is set. |