Class ImportRagFilesConfig.Builder

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

public static final class ImportRagFilesConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportRagFilesConfig.Builder> implements ImportRagFilesConfigOrBuilder
 Config for importing RagFiles.
 
Protobuf type google.cloud.aiplatform.v1.ImportRagFilesConfig
  • 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<ImportRagFilesConfig.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<ImportRagFilesConfig.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<ImportRagFilesConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public ImportRagFilesConfig.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<ImportRagFilesConfig.Builder>
      Throws:
      IOException
    • getImportSourceCase

      public ImportRagFilesConfig.ImportSourceCase getImportSourceCase()
      Specified by:
      getImportSourceCase in interface ImportRagFilesConfigOrBuilder
    • clearImportSource

      public ImportRagFilesConfig.Builder clearImportSource()
    • getPartialFailureSinkCase

      public ImportRagFilesConfig.PartialFailureSinkCase getPartialFailureSinkCase()
      Specified by:
      getPartialFailureSinkCase in interface ImportRagFilesConfigOrBuilder
    • clearPartialFailureSink

      public ImportRagFilesConfig.Builder clearPartialFailureSink()
    • getImportResultSinkCase

      public ImportRagFilesConfig.ImportResultSinkCase getImportResultSinkCase()
      Specified by:
      getImportResultSinkCase in interface ImportRagFilesConfigOrBuilder
    • clearImportResultSink

      public ImportRagFilesConfig.Builder clearImportResultSink()
    • hasGcsSource

      public boolean hasGcsSource()
       Google Cloud Storage location. Supports importing individual files as
       well as entire Google Cloud Storage directories. Sample formats:
       - `gs://bucket_name/my_directory/object_name/my_file.txt`
       - `gs://bucket_name/my_directory`
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
      Specified by:
      hasGcsSource in interface ImportRagFilesConfigOrBuilder
      Returns:
      Whether the gcsSource field is set.
    • getGcsSource

      public GcsSource getGcsSource()
       Google Cloud Storage location. Supports importing individual files as
       well as entire Google Cloud Storage directories. Sample formats:
       - `gs://bucket_name/my_directory/object_name/my_file.txt`
       - `gs://bucket_name/my_directory`
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
      Specified by:
      getGcsSource in interface ImportRagFilesConfigOrBuilder
      Returns:
      The gcsSource.
    • setGcsSource

      public ImportRagFilesConfig.Builder setGcsSource(GcsSource value)
       Google Cloud Storage location. Supports importing individual files as
       well as entire Google Cloud Storage directories. Sample formats:
       - `gs://bucket_name/my_directory/object_name/my_file.txt`
       - `gs://bucket_name/my_directory`
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
    • setGcsSource

      public ImportRagFilesConfig.Builder setGcsSource(GcsSource.Builder builderForValue)
       Google Cloud Storage location. Supports importing individual files as
       well as entire Google Cloud Storage directories. Sample formats:
       - `gs://bucket_name/my_directory/object_name/my_file.txt`
       - `gs://bucket_name/my_directory`
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
    • mergeGcsSource

      public ImportRagFilesConfig.Builder mergeGcsSource(GcsSource value)
       Google Cloud Storage location. Supports importing individual files as
       well as entire Google Cloud Storage directories. Sample formats:
       - `gs://bucket_name/my_directory/object_name/my_file.txt`
       - `gs://bucket_name/my_directory`
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
    • clearGcsSource

      public ImportRagFilesConfig.Builder clearGcsSource()
       Google Cloud Storage location. Supports importing individual files as
       well as entire Google Cloud Storage directories. Sample formats:
       - `gs://bucket_name/my_directory/object_name/my_file.txt`
       - `gs://bucket_name/my_directory`
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
    • getGcsSourceBuilder

      public GcsSource.Builder getGcsSourceBuilder()
       Google Cloud Storage location. Supports importing individual files as
       well as entire Google Cloud Storage directories. Sample formats:
       - `gs://bucket_name/my_directory/object_name/my_file.txt`
       - `gs://bucket_name/my_directory`
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
    • getGcsSourceOrBuilder

      public GcsSourceOrBuilder getGcsSourceOrBuilder()
       Google Cloud Storage location. Supports importing individual files as
       well as entire Google Cloud Storage directories. Sample formats:
       - `gs://bucket_name/my_directory/object_name/my_file.txt`
       - `gs://bucket_name/my_directory`
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
      Specified by:
      getGcsSourceOrBuilder in interface ImportRagFilesConfigOrBuilder
    • hasGoogleDriveSource

      public boolean hasGoogleDriveSource()
       Google Drive location. Supports importing individual files as
       well as Google Drive folders.
       
      .google.cloud.aiplatform.v1.GoogleDriveSource google_drive_source = 3;
      Specified by:
      hasGoogleDriveSource in interface ImportRagFilesConfigOrBuilder
      Returns:
      Whether the googleDriveSource field is set.
    • getGoogleDriveSource

      public GoogleDriveSource getGoogleDriveSource()
       Google Drive location. Supports importing individual files as
       well as Google Drive folders.
       
      .google.cloud.aiplatform.v1.GoogleDriveSource google_drive_source = 3;
      Specified by:
      getGoogleDriveSource in interface ImportRagFilesConfigOrBuilder
      Returns:
      The googleDriveSource.
    • setGoogleDriveSource

      public ImportRagFilesConfig.Builder setGoogleDriveSource(GoogleDriveSource value)
       Google Drive location. Supports importing individual files as
       well as Google Drive folders.
       
      .google.cloud.aiplatform.v1.GoogleDriveSource google_drive_source = 3;
    • setGoogleDriveSource

      public ImportRagFilesConfig.Builder setGoogleDriveSource(GoogleDriveSource.Builder builderForValue)
       Google Drive location. Supports importing individual files as
       well as Google Drive folders.
       
      .google.cloud.aiplatform.v1.GoogleDriveSource google_drive_source = 3;
    • mergeGoogleDriveSource

      public ImportRagFilesConfig.Builder mergeGoogleDriveSource(GoogleDriveSource value)
       Google Drive location. Supports importing individual files as
       well as Google Drive folders.
       
      .google.cloud.aiplatform.v1.GoogleDriveSource google_drive_source = 3;
    • clearGoogleDriveSource

      public ImportRagFilesConfig.Builder clearGoogleDriveSource()
       Google Drive location. Supports importing individual files as
       well as Google Drive folders.
       
      .google.cloud.aiplatform.v1.GoogleDriveSource google_drive_source = 3;
    • getGoogleDriveSourceBuilder

      public GoogleDriveSource.Builder getGoogleDriveSourceBuilder()
       Google Drive location. Supports importing individual files as
       well as Google Drive folders.
       
      .google.cloud.aiplatform.v1.GoogleDriveSource google_drive_source = 3;
    • getGoogleDriveSourceOrBuilder

      public GoogleDriveSourceOrBuilder getGoogleDriveSourceOrBuilder()
       Google Drive location. Supports importing individual files as
       well as Google Drive folders.
       
      .google.cloud.aiplatform.v1.GoogleDriveSource google_drive_source = 3;
      Specified by:
      getGoogleDriveSourceOrBuilder in interface ImportRagFilesConfigOrBuilder
    • hasSlackSource

      public boolean hasSlackSource()
       Slack channels with their corresponding access tokens.
       
      .google.cloud.aiplatform.v1.SlackSource slack_source = 6;
      Specified by:
      hasSlackSource in interface ImportRagFilesConfigOrBuilder
      Returns:
      Whether the slackSource field is set.
    • getSlackSource

      public SlackSource getSlackSource()
       Slack channels with their corresponding access tokens.
       
      .google.cloud.aiplatform.v1.SlackSource slack_source = 6;
      Specified by:
      getSlackSource in interface ImportRagFilesConfigOrBuilder
      Returns:
      The slackSource.
    • setSlackSource

      public ImportRagFilesConfig.Builder setSlackSource(SlackSource value)
       Slack channels with their corresponding access tokens.
       
      .google.cloud.aiplatform.v1.SlackSource slack_source = 6;
    • setSlackSource

      public ImportRagFilesConfig.Builder setSlackSource(SlackSource.Builder builderForValue)
       Slack channels with their corresponding access tokens.
       
      .google.cloud.aiplatform.v1.SlackSource slack_source = 6;
    • mergeSlackSource

      public ImportRagFilesConfig.Builder mergeSlackSource(SlackSource value)
       Slack channels with their corresponding access tokens.
       
      .google.cloud.aiplatform.v1.SlackSource slack_source = 6;
    • clearSlackSource

      public ImportRagFilesConfig.Builder clearSlackSource()
       Slack channels with their corresponding access tokens.
       
      .google.cloud.aiplatform.v1.SlackSource slack_source = 6;
    • getSlackSourceBuilder

      public SlackSource.Builder getSlackSourceBuilder()
       Slack channels with their corresponding access tokens.
       
      .google.cloud.aiplatform.v1.SlackSource slack_source = 6;
    • getSlackSourceOrBuilder

      public SlackSourceOrBuilder getSlackSourceOrBuilder()
       Slack channels with their corresponding access tokens.
       
      .google.cloud.aiplatform.v1.SlackSource slack_source = 6;
      Specified by:
      getSlackSourceOrBuilder in interface ImportRagFilesConfigOrBuilder
    • hasJiraSource

      public boolean hasJiraSource()
       Jira queries with their corresponding authentication.
       
      .google.cloud.aiplatform.v1.JiraSource jira_source = 7;
      Specified by:
      hasJiraSource in interface ImportRagFilesConfigOrBuilder
      Returns:
      Whether the jiraSource field is set.
    • getJiraSource

      public JiraSource getJiraSource()
       Jira queries with their corresponding authentication.
       
      .google.cloud.aiplatform.v1.JiraSource jira_source = 7;
      Specified by:
      getJiraSource in interface ImportRagFilesConfigOrBuilder
      Returns:
      The jiraSource.
    • setJiraSource

      public ImportRagFilesConfig.Builder setJiraSource(JiraSource value)
       Jira queries with their corresponding authentication.
       
      .google.cloud.aiplatform.v1.JiraSource jira_source = 7;
    • setJiraSource

      public ImportRagFilesConfig.Builder setJiraSource(JiraSource.Builder builderForValue)
       Jira queries with their corresponding authentication.
       
      .google.cloud.aiplatform.v1.JiraSource jira_source = 7;
    • mergeJiraSource

      public ImportRagFilesConfig.Builder mergeJiraSource(JiraSource value)
       Jira queries with their corresponding authentication.
       
      .google.cloud.aiplatform.v1.JiraSource jira_source = 7;
    • clearJiraSource

      public ImportRagFilesConfig.Builder clearJiraSource()
       Jira queries with their corresponding authentication.
       
      .google.cloud.aiplatform.v1.JiraSource jira_source = 7;
    • getJiraSourceBuilder

      public JiraSource.Builder getJiraSourceBuilder()
       Jira queries with their corresponding authentication.
       
      .google.cloud.aiplatform.v1.JiraSource jira_source = 7;
    • getJiraSourceOrBuilder

      public JiraSourceOrBuilder getJiraSourceOrBuilder()
       Jira queries with their corresponding authentication.
       
      .google.cloud.aiplatform.v1.JiraSource jira_source = 7;
      Specified by:
      getJiraSourceOrBuilder in interface ImportRagFilesConfigOrBuilder
    • hasSharePointSources

      public boolean hasSharePointSources()
       SharePoint sources.
       
      .google.cloud.aiplatform.v1.SharePointSources share_point_sources = 13;
      Specified by:
      hasSharePointSources in interface ImportRagFilesConfigOrBuilder
      Returns:
      Whether the sharePointSources field is set.
    • getSharePointSources

      public SharePointSources getSharePointSources()
       SharePoint sources.
       
      .google.cloud.aiplatform.v1.SharePointSources share_point_sources = 13;
      Specified by:
      getSharePointSources in interface ImportRagFilesConfigOrBuilder
      Returns:
      The sharePointSources.
    • setSharePointSources

      public ImportRagFilesConfig.Builder setSharePointSources(SharePointSources value)
       SharePoint sources.
       
      .google.cloud.aiplatform.v1.SharePointSources share_point_sources = 13;
    • setSharePointSources

      public ImportRagFilesConfig.Builder setSharePointSources(SharePointSources.Builder builderForValue)
       SharePoint sources.
       
      .google.cloud.aiplatform.v1.SharePointSources share_point_sources = 13;
    • mergeSharePointSources

      public ImportRagFilesConfig.Builder mergeSharePointSources(SharePointSources value)
       SharePoint sources.
       
      .google.cloud.aiplatform.v1.SharePointSources share_point_sources = 13;
    • clearSharePointSources

      public ImportRagFilesConfig.Builder clearSharePointSources()
       SharePoint sources.
       
      .google.cloud.aiplatform.v1.SharePointSources share_point_sources = 13;
    • getSharePointSourcesBuilder

      public SharePointSources.Builder getSharePointSourcesBuilder()
       SharePoint sources.
       
      .google.cloud.aiplatform.v1.SharePointSources share_point_sources = 13;
    • getSharePointSourcesOrBuilder

      public SharePointSourcesOrBuilder getSharePointSourcesOrBuilder()
       SharePoint sources.
       
      .google.cloud.aiplatform.v1.SharePointSources share_point_sources = 13;
      Specified by:
      getSharePointSourcesOrBuilder in interface ImportRagFilesConfigOrBuilder
    • hasPartialFailureGcsSink

      @Deprecated public boolean hasPartialFailureGcsSink()
      Deprecated.
      google.cloud.aiplatform.v1.ImportRagFilesConfig.partial_failure_gcs_sink is deprecated. See google/cloud/aiplatform/v1/vertex_rag_data.proto;l=463
       The Cloud Storage path to write partial failures to.
       Deprecated. Prefer to use `import_result_gcs_sink`.
       
      .google.cloud.aiplatform.v1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];
      Specified by:
      hasPartialFailureGcsSink in interface ImportRagFilesConfigOrBuilder
      Returns:
      Whether the partialFailureGcsSink field is set.
    • getPartialFailureGcsSink

      @Deprecated public GcsDestination getPartialFailureGcsSink()
      Deprecated.
      google.cloud.aiplatform.v1.ImportRagFilesConfig.partial_failure_gcs_sink is deprecated. See google/cloud/aiplatform/v1/vertex_rag_data.proto;l=463
       The Cloud Storage path to write partial failures to.
       Deprecated. Prefer to use `import_result_gcs_sink`.
       
      .google.cloud.aiplatform.v1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];
      Specified by:
      getPartialFailureGcsSink in interface ImportRagFilesConfigOrBuilder
      Returns:
      The partialFailureGcsSink.
    • setPartialFailureGcsSink

      @Deprecated public ImportRagFilesConfig.Builder setPartialFailureGcsSink(GcsDestination value)
      Deprecated.
       The Cloud Storage path to write partial failures to.
       Deprecated. Prefer to use `import_result_gcs_sink`.
       
      .google.cloud.aiplatform.v1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];
    • setPartialFailureGcsSink

      @Deprecated public ImportRagFilesConfig.Builder setPartialFailureGcsSink(GcsDestination.Builder builderForValue)
      Deprecated.
       The Cloud Storage path to write partial failures to.
       Deprecated. Prefer to use `import_result_gcs_sink`.
       
      .google.cloud.aiplatform.v1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];
    • mergePartialFailureGcsSink

      @Deprecated public ImportRagFilesConfig.Builder mergePartialFailureGcsSink(GcsDestination value)
      Deprecated.
       The Cloud Storage path to write partial failures to.
       Deprecated. Prefer to use `import_result_gcs_sink`.
       
      .google.cloud.aiplatform.v1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];
    • clearPartialFailureGcsSink

      @Deprecated public ImportRagFilesConfig.Builder clearPartialFailureGcsSink()
      Deprecated.
       The Cloud Storage path to write partial failures to.
       Deprecated. Prefer to use `import_result_gcs_sink`.
       
      .google.cloud.aiplatform.v1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];
    • getPartialFailureGcsSinkBuilder

      @Deprecated public GcsDestination.Builder getPartialFailureGcsSinkBuilder()
      Deprecated.
       The Cloud Storage path to write partial failures to.
       Deprecated. Prefer to use `import_result_gcs_sink`.
       
      .google.cloud.aiplatform.v1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];
    • getPartialFailureGcsSinkOrBuilder

      @Deprecated public GcsDestinationOrBuilder getPartialFailureGcsSinkOrBuilder()
      Deprecated.
       The Cloud Storage path to write partial failures to.
       Deprecated. Prefer to use `import_result_gcs_sink`.
       
      .google.cloud.aiplatform.v1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];
      Specified by:
      getPartialFailureGcsSinkOrBuilder in interface ImportRagFilesConfigOrBuilder
    • hasPartialFailureBigquerySink

      @Deprecated public boolean hasPartialFailureBigquerySink()
      Deprecated.
      google.cloud.aiplatform.v1.ImportRagFilesConfig.partial_failure_bigquery_sink is deprecated. See google/cloud/aiplatform/v1/vertex_rag_data.proto;l=472
       The BigQuery destination to write partial failures to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       Deprecated. Prefer to use `import_result_bq_sink`.
       
      .google.cloud.aiplatform.v1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];
      Specified by:
      hasPartialFailureBigquerySink in interface ImportRagFilesConfigOrBuilder
      Returns:
      Whether the partialFailureBigquerySink field is set.
    • getPartialFailureBigquerySink

      @Deprecated public BigQueryDestination getPartialFailureBigquerySink()
      Deprecated.
      google.cloud.aiplatform.v1.ImportRagFilesConfig.partial_failure_bigquery_sink is deprecated. See google/cloud/aiplatform/v1/vertex_rag_data.proto;l=472
       The BigQuery destination to write partial failures to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       Deprecated. Prefer to use `import_result_bq_sink`.
       
      .google.cloud.aiplatform.v1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];
      Specified by:
      getPartialFailureBigquerySink in interface ImportRagFilesConfigOrBuilder
      Returns:
      The partialFailureBigquerySink.
    • setPartialFailureBigquerySink

      @Deprecated public ImportRagFilesConfig.Builder setPartialFailureBigquerySink(BigQueryDestination value)
      Deprecated.
       The BigQuery destination to write partial failures to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       Deprecated. Prefer to use `import_result_bq_sink`.
       
      .google.cloud.aiplatform.v1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];
    • setPartialFailureBigquerySink

      @Deprecated public ImportRagFilesConfig.Builder setPartialFailureBigquerySink(BigQueryDestination.Builder builderForValue)
      Deprecated.
       The BigQuery destination to write partial failures to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       Deprecated. Prefer to use `import_result_bq_sink`.
       
      .google.cloud.aiplatform.v1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];
    • mergePartialFailureBigquerySink

      @Deprecated public ImportRagFilesConfig.Builder mergePartialFailureBigquerySink(BigQueryDestination value)
      Deprecated.
       The BigQuery destination to write partial failures to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       Deprecated. Prefer to use `import_result_bq_sink`.
       
      .google.cloud.aiplatform.v1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];
    • clearPartialFailureBigquerySink

      @Deprecated public ImportRagFilesConfig.Builder clearPartialFailureBigquerySink()
      Deprecated.
       The BigQuery destination to write partial failures to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       Deprecated. Prefer to use `import_result_bq_sink`.
       
      .google.cloud.aiplatform.v1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];
    • getPartialFailureBigquerySinkBuilder

      @Deprecated public BigQueryDestination.Builder getPartialFailureBigquerySinkBuilder()
      Deprecated.
       The BigQuery destination to write partial failures to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       Deprecated. Prefer to use `import_result_bq_sink`.
       
      .google.cloud.aiplatform.v1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];
    • getPartialFailureBigquerySinkOrBuilder

      @Deprecated public BigQueryDestinationOrBuilder getPartialFailureBigquerySinkOrBuilder()
      Deprecated.
       The BigQuery destination to write partial failures to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       Deprecated. Prefer to use `import_result_bq_sink`.
       
      .google.cloud.aiplatform.v1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];
      Specified by:
      getPartialFailureBigquerySinkOrBuilder in interface ImportRagFilesConfigOrBuilder
    • hasImportResultGcsSink

      public boolean hasImportResultGcsSink()
       The Cloud Storage path to write import result to.
       
      .google.cloud.aiplatform.v1.GcsDestination import_result_gcs_sink = 14;
      Specified by:
      hasImportResultGcsSink in interface ImportRagFilesConfigOrBuilder
      Returns:
      Whether the importResultGcsSink field is set.
    • getImportResultGcsSink

      public GcsDestination getImportResultGcsSink()
       The Cloud Storage path to write import result to.
       
      .google.cloud.aiplatform.v1.GcsDestination import_result_gcs_sink = 14;
      Specified by:
      getImportResultGcsSink in interface ImportRagFilesConfigOrBuilder
      Returns:
      The importResultGcsSink.
    • setImportResultGcsSink

      public ImportRagFilesConfig.Builder setImportResultGcsSink(GcsDestination value)
       The Cloud Storage path to write import result to.
       
      .google.cloud.aiplatform.v1.GcsDestination import_result_gcs_sink = 14;
    • setImportResultGcsSink

      public ImportRagFilesConfig.Builder setImportResultGcsSink(GcsDestination.Builder builderForValue)
       The Cloud Storage path to write import result to.
       
      .google.cloud.aiplatform.v1.GcsDestination import_result_gcs_sink = 14;
    • mergeImportResultGcsSink

      public ImportRagFilesConfig.Builder mergeImportResultGcsSink(GcsDestination value)
       The Cloud Storage path to write import result to.
       
      .google.cloud.aiplatform.v1.GcsDestination import_result_gcs_sink = 14;
    • clearImportResultGcsSink

      public ImportRagFilesConfig.Builder clearImportResultGcsSink()
       The Cloud Storage path to write import result to.
       
      .google.cloud.aiplatform.v1.GcsDestination import_result_gcs_sink = 14;
    • getImportResultGcsSinkBuilder

      public GcsDestination.Builder getImportResultGcsSinkBuilder()
       The Cloud Storage path to write import result to.
       
      .google.cloud.aiplatform.v1.GcsDestination import_result_gcs_sink = 14;
    • getImportResultGcsSinkOrBuilder

      public GcsDestinationOrBuilder getImportResultGcsSinkOrBuilder()
       The Cloud Storage path to write import result to.
       
      .google.cloud.aiplatform.v1.GcsDestination import_result_gcs_sink = 14;
      Specified by:
      getImportResultGcsSinkOrBuilder in interface ImportRagFilesConfigOrBuilder
    • hasImportResultBigquerySink

      public boolean hasImportResultBigquerySink()
       The BigQuery destination to write import result to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       
      .google.cloud.aiplatform.v1.BigQueryDestination import_result_bigquery_sink = 15;
      Specified by:
      hasImportResultBigquerySink in interface ImportRagFilesConfigOrBuilder
      Returns:
      Whether the importResultBigquerySink field is set.
    • getImportResultBigquerySink

      public BigQueryDestination getImportResultBigquerySink()
       The BigQuery destination to write import result to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       
      .google.cloud.aiplatform.v1.BigQueryDestination import_result_bigquery_sink = 15;
      Specified by:
      getImportResultBigquerySink in interface ImportRagFilesConfigOrBuilder
      Returns:
      The importResultBigquerySink.
    • setImportResultBigquerySink

      public ImportRagFilesConfig.Builder setImportResultBigquerySink(BigQueryDestination value)
       The BigQuery destination to write import result to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       
      .google.cloud.aiplatform.v1.BigQueryDestination import_result_bigquery_sink = 15;
    • setImportResultBigquerySink

      public ImportRagFilesConfig.Builder setImportResultBigquerySink(BigQueryDestination.Builder builderForValue)
       The BigQuery destination to write import result to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       
      .google.cloud.aiplatform.v1.BigQueryDestination import_result_bigquery_sink = 15;
    • mergeImportResultBigquerySink

      public ImportRagFilesConfig.Builder mergeImportResultBigquerySink(BigQueryDestination value)
       The BigQuery destination to write import result to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       
      .google.cloud.aiplatform.v1.BigQueryDestination import_result_bigquery_sink = 15;
    • clearImportResultBigquerySink

      public ImportRagFilesConfig.Builder clearImportResultBigquerySink()
       The BigQuery destination to write import result to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       
      .google.cloud.aiplatform.v1.BigQueryDestination import_result_bigquery_sink = 15;
    • getImportResultBigquerySinkBuilder

      public BigQueryDestination.Builder getImportResultBigquerySinkBuilder()
       The BigQuery destination to write import result to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       
      .google.cloud.aiplatform.v1.BigQueryDestination import_result_bigquery_sink = 15;
    • getImportResultBigquerySinkOrBuilder

      public BigQueryDestinationOrBuilder getImportResultBigquerySinkOrBuilder()
       The BigQuery destination to write import result to. It should be a
       bigquery table resource name (e.g.
       "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
       table does not exist, it will be created with the expected schema. If the
       table exists, the schema will be validated and data will be added to this
       existing table.
       
      .google.cloud.aiplatform.v1.BigQueryDestination import_result_bigquery_sink = 15;
      Specified by:
      getImportResultBigquerySinkOrBuilder in interface ImportRagFilesConfigOrBuilder
    • hasRagFileTransformationConfig

      public boolean hasRagFileTransformationConfig()
       Specifies the transformation config for RagFiles.
       
      .google.cloud.aiplatform.v1.RagFileTransformationConfig rag_file_transformation_config = 16;
      Specified by:
      hasRagFileTransformationConfig in interface ImportRagFilesConfigOrBuilder
      Returns:
      Whether the ragFileTransformationConfig field is set.
    • getRagFileTransformationConfig

      public RagFileTransformationConfig getRagFileTransformationConfig()
       Specifies the transformation config for RagFiles.
       
      .google.cloud.aiplatform.v1.RagFileTransformationConfig rag_file_transformation_config = 16;
      Specified by:
      getRagFileTransformationConfig in interface ImportRagFilesConfigOrBuilder
      Returns:
      The ragFileTransformationConfig.
    • setRagFileTransformationConfig

      public ImportRagFilesConfig.Builder setRagFileTransformationConfig(RagFileTransformationConfig value)
       Specifies the transformation config for RagFiles.
       
      .google.cloud.aiplatform.v1.RagFileTransformationConfig rag_file_transformation_config = 16;
    • setRagFileTransformationConfig

      public ImportRagFilesConfig.Builder setRagFileTransformationConfig(RagFileTransformationConfig.Builder builderForValue)
       Specifies the transformation config for RagFiles.
       
      .google.cloud.aiplatform.v1.RagFileTransformationConfig rag_file_transformation_config = 16;
    • mergeRagFileTransformationConfig

      public ImportRagFilesConfig.Builder mergeRagFileTransformationConfig(RagFileTransformationConfig value)
       Specifies the transformation config for RagFiles.
       
      .google.cloud.aiplatform.v1.RagFileTransformationConfig rag_file_transformation_config = 16;
    • clearRagFileTransformationConfig

      public ImportRagFilesConfig.Builder clearRagFileTransformationConfig()
       Specifies the transformation config for RagFiles.
       
      .google.cloud.aiplatform.v1.RagFileTransformationConfig rag_file_transformation_config = 16;
    • getRagFileTransformationConfigBuilder

      public RagFileTransformationConfig.Builder getRagFileTransformationConfigBuilder()
       Specifies the transformation config for RagFiles.
       
      .google.cloud.aiplatform.v1.RagFileTransformationConfig rag_file_transformation_config = 16;
    • getRagFileTransformationConfigOrBuilder

      public RagFileTransformationConfigOrBuilder getRagFileTransformationConfigOrBuilder()
       Specifies the transformation config for RagFiles.
       
      .google.cloud.aiplatform.v1.RagFileTransformationConfig rag_file_transformation_config = 16;
      Specified by:
      getRagFileTransformationConfigOrBuilder in interface ImportRagFilesConfigOrBuilder
    • hasRagFileParsingConfig

      public boolean hasRagFileParsingConfig()
       Optional. Specifies the parsing config for RagFiles.
       RAG will use the default parser if this field is not set.
       
      .google.cloud.aiplatform.v1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasRagFileParsingConfig in interface ImportRagFilesConfigOrBuilder
      Returns:
      Whether the ragFileParsingConfig field is set.
    • getRagFileParsingConfig

      public RagFileParsingConfig getRagFileParsingConfig()
       Optional. Specifies the parsing config for RagFiles.
       RAG will use the default parser if this field is not set.
       
      .google.cloud.aiplatform.v1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRagFileParsingConfig in interface ImportRagFilesConfigOrBuilder
      Returns:
      The ragFileParsingConfig.
    • setRagFileParsingConfig

      public ImportRagFilesConfig.Builder setRagFileParsingConfig(RagFileParsingConfig value)
       Optional. Specifies the parsing config for RagFiles.
       RAG will use the default parser if this field is not set.
       
      .google.cloud.aiplatform.v1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • setRagFileParsingConfig

      public ImportRagFilesConfig.Builder setRagFileParsingConfig(RagFileParsingConfig.Builder builderForValue)
       Optional. Specifies the parsing config for RagFiles.
       RAG will use the default parser if this field is not set.
       
      .google.cloud.aiplatform.v1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • mergeRagFileParsingConfig

      public ImportRagFilesConfig.Builder mergeRagFileParsingConfig(RagFileParsingConfig value)
       Optional. Specifies the parsing config for RagFiles.
       RAG will use the default parser if this field is not set.
       
      .google.cloud.aiplatform.v1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearRagFileParsingConfig

      public ImportRagFilesConfig.Builder clearRagFileParsingConfig()
       Optional. Specifies the parsing config for RagFiles.
       RAG will use the default parser if this field is not set.
       
      .google.cloud.aiplatform.v1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getRagFileParsingConfigBuilder

      public RagFileParsingConfig.Builder getRagFileParsingConfigBuilder()
       Optional. Specifies the parsing config for RagFiles.
       RAG will use the default parser if this field is not set.
       
      .google.cloud.aiplatform.v1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getRagFileParsingConfigOrBuilder

      public RagFileParsingConfigOrBuilder getRagFileParsingConfigOrBuilder()
       Optional. Specifies the parsing config for RagFiles.
       RAG will use the default parser if this field is not set.
       
      .google.cloud.aiplatform.v1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRagFileParsingConfigOrBuilder in interface ImportRagFilesConfigOrBuilder
    • getMaxEmbeddingRequestsPerMin

      public int getMaxEmbeddingRequestsPerMin()
       Optional. The max number of queries per minute that this job is allowed to
       make to the embedding model specified on the corpus. This value is specific
       to this job and not shared across other import jobs. Consult the Quotas
       page on the project to set an appropriate value here.
       If unspecified, a default value of 1,000 QPM would be used.
       
      int32 max_embedding_requests_per_min = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaxEmbeddingRequestsPerMin in interface ImportRagFilesConfigOrBuilder
      Returns:
      The maxEmbeddingRequestsPerMin.
    • setMaxEmbeddingRequestsPerMin

      public ImportRagFilesConfig.Builder setMaxEmbeddingRequestsPerMin(int value)
       Optional. The max number of queries per minute that this job is allowed to
       make to the embedding model specified on the corpus. This value is specific
       to this job and not shared across other import jobs. Consult the Quotas
       page on the project to set an appropriate value here.
       If unspecified, a default value of 1,000 QPM would be used.
       
      int32 max_embedding_requests_per_min = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The maxEmbeddingRequestsPerMin to set.
      Returns:
      This builder for chaining.
    • clearMaxEmbeddingRequestsPerMin

      public ImportRagFilesConfig.Builder clearMaxEmbeddingRequestsPerMin()
       Optional. The max number of queries per minute that this job is allowed to
       make to the embedding model specified on the corpus. This value is specific
       to this job and not shared across other import jobs. Consult the Quotas
       page on the project to set an appropriate value here.
       If unspecified, a default value of 1,000 QPM would be used.
       
      int32 max_embedding_requests_per_min = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getRebuildAnnIndex

      public boolean getRebuildAnnIndex()
       Rebuilds the ANN index to optimize for recall on the imported data.
       Only applicable for RagCorpora running on RagManagedDb with
       `retrieval_strategy` set to `ANN`. The rebuild will be performed using the
       existing ANN config set on the RagCorpus. To change the ANN config, please
       use the UpdateRagCorpus API.
      
       Default is false, i.e., index is not rebuilt.
       
      bool rebuild_ann_index = 19;
      Specified by:
      getRebuildAnnIndex in interface ImportRagFilesConfigOrBuilder
      Returns:
      The rebuildAnnIndex.
    • setRebuildAnnIndex

      public ImportRagFilesConfig.Builder setRebuildAnnIndex(boolean value)
       Rebuilds the ANN index to optimize for recall on the imported data.
       Only applicable for RagCorpora running on RagManagedDb with
       `retrieval_strategy` set to `ANN`. The rebuild will be performed using the
       existing ANN config set on the RagCorpus. To change the ANN config, please
       use the UpdateRagCorpus API.
      
       Default is false, i.e., index is not rebuilt.
       
      bool rebuild_ann_index = 19;
      Parameters:
      value - The rebuildAnnIndex to set.
      Returns:
      This builder for chaining.
    • clearRebuildAnnIndex

      public ImportRagFilesConfig.Builder clearRebuildAnnIndex()
       Rebuilds the ANN index to optimize for recall on the imported data.
       Only applicable for RagCorpora running on RagManagedDb with
       `retrieval_strategy` set to `ANN`. The rebuild will be performed using the
       existing ANN config set on the RagCorpus. To change the ANN config, please
       use the UpdateRagCorpus API.
      
       Default is false, i.e., index is not rebuilt.
       
      bool rebuild_ann_index = 19;
      Returns:
      This builder for chaining.