Class ImportRagFilesConfig.Builder (3.56.0)

public static final class ImportRagFilesConfig.Builder extends GeneratedMessageV3.Builder<ImportRagFilesConfig.Builder> implements ImportRagFilesConfigOrBuilder

Config for importing RagFiles.

Protobuf type google.cloud.aiplatform.v1beta1.ImportRagFilesConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportRagFilesConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportRagFilesConfig.Builder
Overrides

build()

public ImportRagFilesConfig build()
Returns
Type Description
ImportRagFilesConfig

buildPartial()

public ImportRagFilesConfig buildPartial()
Returns
Type Description
ImportRagFilesConfig

clear()

public ImportRagFilesConfig.Builder clear()
Returns
Type Description
ImportRagFilesConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportRagFilesConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportRagFilesConfig.Builder
Overrides

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.v1beta1.GcsSource gcs_source = 2;

Returns
Type Description
ImportRagFilesConfig.Builder

clearGoogleDriveSource()

public ImportRagFilesConfig.Builder clearGoogleDriveSource()

Google Drive location. Supports importing individual files as well as Google Drive folders.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 3;

Returns
Type Description
ImportRagFilesConfig.Builder

clearImportSource()

public ImportRagFilesConfig.Builder clearImportSource()
Returns
Type Description
ImportRagFilesConfig.Builder

clearJiraSource()

public ImportRagFilesConfig.Builder clearJiraSource()

Jira queries with their corresponding authentication.

.google.cloud.aiplatform.v1beta1.JiraSource jira_source = 7;

Returns
Type Description
ImportRagFilesConfig.Builder

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
Type Description
ImportRagFilesConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportRagFilesConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportRagFilesConfig.Builder
Overrides

clearPartialFailureBigquerySink() (deprecated)

public ImportRagFilesConfig.Builder clearPartialFailureBigquerySink()

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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];

Returns
Type Description
ImportRagFilesConfig.Builder

clearPartialFailureGcsSink() (deprecated)

public ImportRagFilesConfig.Builder clearPartialFailureGcsSink()

The Cloud Storage path to write partial failures to. Deprecated. Prefer to use import_result_gcs_sink.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];

Returns
Type Description
ImportRagFilesConfig.Builder

clearPartialFailureSink()

public ImportRagFilesConfig.Builder clearPartialFailureSink()
Returns
Type Description
ImportRagFilesConfig.Builder

clearRagFileChunkingConfig() (deprecated)

public ImportRagFilesConfig.Builder clearRagFileChunkingConfig()

Specifies the size and overlap of chunks after importing RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4 [deprecated = true];

Returns
Type Description
ImportRagFilesConfig.Builder

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.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImportRagFilesConfig.Builder

clearRagFileTransformationConfig()

public ImportRagFilesConfig.Builder clearRagFileTransformationConfig()

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 16;

Returns
Type Description
ImportRagFilesConfig.Builder

clearSharePointSources()

public ImportRagFilesConfig.Builder clearSharePointSources()

SharePoint sources.

.google.cloud.aiplatform.v1beta1.SharePointSources share_point_sources = 13;

Returns
Type Description
ImportRagFilesConfig.Builder

clearSlackSource()

public ImportRagFilesConfig.Builder clearSlackSource()

Slack channels with their corresponding access tokens.

.google.cloud.aiplatform.v1beta1.SlackSource slack_source = 6;

Returns
Type Description
ImportRagFilesConfig.Builder

clone()

public ImportRagFilesConfig.Builder clone()
Returns
Type Description
ImportRagFilesConfig.Builder
Overrides

getDefaultInstanceForType()

public ImportRagFilesConfig getDefaultInstanceForType()
Returns
Type Description
ImportRagFilesConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.v1beta1.GcsSource gcs_source = 2;

Returns
Type Description
GcsSource

The gcsSource.

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.v1beta1.GcsSource gcs_source = 2;

Returns
Type Description
GcsSource.Builder

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.v1beta1.GcsSource gcs_source = 2;

Returns
Type Description
GcsSourceOrBuilder

getGoogleDriveSource()

public GoogleDriveSource getGoogleDriveSource()

Google Drive location. Supports importing individual files as well as Google Drive folders.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 3;

Returns
Type Description
GoogleDriveSource

The googleDriveSource.

getGoogleDriveSourceBuilder()

public GoogleDriveSource.Builder getGoogleDriveSourceBuilder()

Google Drive location. Supports importing individual files as well as Google Drive folders.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 3;

Returns
Type Description
GoogleDriveSource.Builder

getGoogleDriveSourceOrBuilder()

public GoogleDriveSourceOrBuilder getGoogleDriveSourceOrBuilder()

Google Drive location. Supports importing individual files as well as Google Drive folders.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 3;

Returns
Type Description
GoogleDriveSourceOrBuilder

getImportSourceCase()

public ImportRagFilesConfig.ImportSourceCase getImportSourceCase()
Returns
Type Description
ImportRagFilesConfig.ImportSourceCase

getJiraSource()

public JiraSource getJiraSource()

Jira queries with their corresponding authentication.

.google.cloud.aiplatform.v1beta1.JiraSource jira_source = 7;

Returns
Type Description
JiraSource

The jiraSource.

getJiraSourceBuilder()

public JiraSource.Builder getJiraSourceBuilder()

Jira queries with their corresponding authentication.

.google.cloud.aiplatform.v1beta1.JiraSource jira_source = 7;

Returns
Type Description
JiraSource.Builder

getJiraSourceOrBuilder()

public JiraSourceOrBuilder getJiraSourceOrBuilder()

Jira queries with their corresponding authentication.

.google.cloud.aiplatform.v1beta1.JiraSource jira_source = 7;

Returns
Type Description
JiraSourceOrBuilder

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

Returns
Type Description
int

The maxEmbeddingRequestsPerMin.

getPartialFailureBigquerySink() (deprecated)

public BigQueryDestination getPartialFailureBigquerySink()

Deprecated. google.cloud.aiplatform.v1beta1.ImportRagFilesConfig.partial_failure_bigquery_sink is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=523

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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];

Returns
Type Description
BigQueryDestination

The partialFailureBigquerySink.

getPartialFailureBigquerySinkBuilder() (deprecated)

public BigQueryDestination.Builder getPartialFailureBigquerySinkBuilder()

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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];

Returns
Type Description
BigQueryDestination.Builder

getPartialFailureBigquerySinkOrBuilder() (deprecated)

public BigQueryDestinationOrBuilder getPartialFailureBigquerySinkOrBuilder()

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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];

Returns
Type Description
BigQueryDestinationOrBuilder

getPartialFailureGcsSink() (deprecated)

public GcsDestination getPartialFailureGcsSink()

Deprecated. google.cloud.aiplatform.v1beta1.ImportRagFilesConfig.partial_failure_gcs_sink is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=514

The Cloud Storage path to write partial failures to. Deprecated. Prefer to use import_result_gcs_sink.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];

Returns
Type Description
GcsDestination

The partialFailureGcsSink.

getPartialFailureGcsSinkBuilder() (deprecated)

public GcsDestination.Builder getPartialFailureGcsSinkBuilder()

The Cloud Storage path to write partial failures to. Deprecated. Prefer to use import_result_gcs_sink.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];

Returns
Type Description
GcsDestination.Builder

getPartialFailureGcsSinkOrBuilder() (deprecated)

public GcsDestinationOrBuilder getPartialFailureGcsSinkOrBuilder()

The Cloud Storage path to write partial failures to. Deprecated. Prefer to use import_result_gcs_sink.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];

Returns
Type Description
GcsDestinationOrBuilder

getPartialFailureSinkCase()

public ImportRagFilesConfig.PartialFailureSinkCase getPartialFailureSinkCase()
Returns
Type Description
ImportRagFilesConfig.PartialFailureSinkCase

getRagFileChunkingConfig() (deprecated)

public RagFileChunkingConfig getRagFileChunkingConfig()

Deprecated. google.cloud.aiplatform.v1beta1.ImportRagFilesConfig.rag_file_chunking_config is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=527

Specifies the size and overlap of chunks after importing RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4 [deprecated = true];

Returns
Type Description
RagFileChunkingConfig

The ragFileChunkingConfig.

getRagFileChunkingConfigBuilder() (deprecated)

public RagFileChunkingConfig.Builder getRagFileChunkingConfigBuilder()

Specifies the size and overlap of chunks after importing RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4 [deprecated = true];

Returns
Type Description
RagFileChunkingConfig.Builder

getRagFileChunkingConfigOrBuilder() (deprecated)

public RagFileChunkingConfigOrBuilder getRagFileChunkingConfigOrBuilder()

Specifies the size and overlap of chunks after importing RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4 [deprecated = true];

Returns
Type Description
RagFileChunkingConfigOrBuilder

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.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RagFileParsingConfig

The ragFileParsingConfig.

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.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RagFileParsingConfig.Builder

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.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RagFileParsingConfigOrBuilder

getRagFileTransformationConfig()

public RagFileTransformationConfig getRagFileTransformationConfig()

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 16;

Returns
Type Description
RagFileTransformationConfig

The ragFileTransformationConfig.

getRagFileTransformationConfigBuilder()

public RagFileTransformationConfig.Builder getRagFileTransformationConfigBuilder()

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 16;

Returns
Type Description
RagFileTransformationConfig.Builder

getRagFileTransformationConfigOrBuilder()

public RagFileTransformationConfigOrBuilder getRagFileTransformationConfigOrBuilder()

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 16;

Returns
Type Description
RagFileTransformationConfigOrBuilder

getSharePointSources()

public SharePointSources getSharePointSources()

SharePoint sources.

.google.cloud.aiplatform.v1beta1.SharePointSources share_point_sources = 13;

Returns
Type Description
SharePointSources

The sharePointSources.

getSharePointSourcesBuilder()

public SharePointSources.Builder getSharePointSourcesBuilder()

SharePoint sources.

.google.cloud.aiplatform.v1beta1.SharePointSources share_point_sources = 13;

Returns
Type Description
SharePointSources.Builder

getSharePointSourcesOrBuilder()

public SharePointSourcesOrBuilder getSharePointSourcesOrBuilder()

SharePoint sources.

.google.cloud.aiplatform.v1beta1.SharePointSources share_point_sources = 13;

Returns
Type Description
SharePointSourcesOrBuilder

getSlackSource()

public SlackSource getSlackSource()

Slack channels with their corresponding access tokens.

.google.cloud.aiplatform.v1beta1.SlackSource slack_source = 6;

Returns
Type Description
SlackSource

The slackSource.

getSlackSourceBuilder()

public SlackSource.Builder getSlackSourceBuilder()

Slack channels with their corresponding access tokens.

.google.cloud.aiplatform.v1beta1.SlackSource slack_source = 6;

Returns
Type Description
SlackSource.Builder

getSlackSourceOrBuilder()

public SlackSourceOrBuilder getSlackSourceOrBuilder()

Slack channels with their corresponding access tokens.

.google.cloud.aiplatform.v1beta1.SlackSource slack_source = 6;

Returns
Type Description
SlackSourceOrBuilder

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.v1beta1.GcsSource gcs_source = 2;

Returns
Type Description
boolean

Whether the gcsSource field is set.

hasGoogleDriveSource()

public boolean hasGoogleDriveSource()

Google Drive location. Supports importing individual files as well as Google Drive folders.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 3;

Returns
Type Description
boolean

Whether the googleDriveSource field is set.

hasJiraSource()

public boolean hasJiraSource()

Jira queries with their corresponding authentication.

.google.cloud.aiplatform.v1beta1.JiraSource jira_source = 7;

Returns
Type Description
boolean

Whether the jiraSource field is set.

hasPartialFailureBigquerySink() (deprecated)

public boolean hasPartialFailureBigquerySink()

Deprecated. google.cloud.aiplatform.v1beta1.ImportRagFilesConfig.partial_failure_bigquery_sink is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=523

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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];

Returns
Type Description
boolean

Whether the partialFailureBigquerySink field is set.

hasPartialFailureGcsSink() (deprecated)

public boolean hasPartialFailureGcsSink()

Deprecated. google.cloud.aiplatform.v1beta1.ImportRagFilesConfig.partial_failure_gcs_sink is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=514

The Cloud Storage path to write partial failures to. Deprecated. Prefer to use import_result_gcs_sink.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];

Returns
Type Description
boolean

Whether the partialFailureGcsSink field is set.

hasRagFileChunkingConfig() (deprecated)

public boolean hasRagFileChunkingConfig()

Deprecated. google.cloud.aiplatform.v1beta1.ImportRagFilesConfig.rag_file_chunking_config is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=527

Specifies the size and overlap of chunks after importing RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4 [deprecated = true];

Returns
Type Description
boolean

Whether the ragFileChunkingConfig field is set.

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.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ragFileParsingConfig field is set.

hasRagFileTransformationConfig()

public boolean hasRagFileTransformationConfig()

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 16;

Returns
Type Description
boolean

Whether the ragFileTransformationConfig field is set.

hasSharePointSources()

public boolean hasSharePointSources()

SharePoint sources.

.google.cloud.aiplatform.v1beta1.SharePointSources share_point_sources = 13;

Returns
Type Description
boolean

Whether the sharePointSources field is set.

hasSlackSource()

public boolean hasSlackSource()

Slack channels with their corresponding access tokens.

.google.cloud.aiplatform.v1beta1.SlackSource slack_source = 6;

Returns
Type Description
boolean

Whether the slackSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportRagFilesConfig other)

public ImportRagFilesConfig.Builder mergeFrom(ImportRagFilesConfig other)
Parameter
Name Description
other ImportRagFilesConfig
Returns
Type Description
ImportRagFilesConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportRagFilesConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportRagFilesConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportRagFilesConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportRagFilesConfig.Builder
Overrides

mergeGcsSource(GcsSource value)

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.v1beta1.GcsSource gcs_source = 2;

Parameter
Name Description
value GcsSource
Returns
Type Description
ImportRagFilesConfig.Builder

mergeGoogleDriveSource(GoogleDriveSource value)

public ImportRagFilesConfig.Builder mergeGoogleDriveSource(GoogleDriveSource value)

Google Drive location. Supports importing individual files as well as Google Drive folders.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 3;

Parameter
Name Description
value GoogleDriveSource
Returns
Type Description
ImportRagFilesConfig.Builder

mergeJiraSource(JiraSource value)

public ImportRagFilesConfig.Builder mergeJiraSource(JiraSource value)

Jira queries with their corresponding authentication.

.google.cloud.aiplatform.v1beta1.JiraSource jira_source = 7;

Parameter
Name Description
value JiraSource
Returns
Type Description
ImportRagFilesConfig.Builder

mergePartialFailureBigquerySink(BigQueryDestination value) (deprecated)

public ImportRagFilesConfig.Builder mergePartialFailureBigquerySink(BigQueryDestination value)

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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];

Parameter
Name Description
value BigQueryDestination
Returns
Type Description
ImportRagFilesConfig.Builder

mergePartialFailureGcsSink(GcsDestination value) (deprecated)

public ImportRagFilesConfig.Builder mergePartialFailureGcsSink(GcsDestination value)

The Cloud Storage path to write partial failures to. Deprecated. Prefer to use import_result_gcs_sink.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];

Parameter
Name Description
value GcsDestination
Returns
Type Description
ImportRagFilesConfig.Builder

mergeRagFileChunkingConfig(RagFileChunkingConfig value) (deprecated)

public ImportRagFilesConfig.Builder mergeRagFileChunkingConfig(RagFileChunkingConfig value)

Specifies the size and overlap of chunks after importing RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4 [deprecated = true];

Parameter
Name Description
value RagFileChunkingConfig
Returns
Type Description
ImportRagFilesConfig.Builder

mergeRagFileParsingConfig(RagFileParsingConfig value)

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.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RagFileParsingConfig
Returns
Type Description
ImportRagFilesConfig.Builder

mergeRagFileTransformationConfig(RagFileTransformationConfig value)

public ImportRagFilesConfig.Builder mergeRagFileTransformationConfig(RagFileTransformationConfig value)

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 16;

Parameter
Name Description
value RagFileTransformationConfig
Returns
Type Description
ImportRagFilesConfig.Builder

mergeSharePointSources(SharePointSources value)

public ImportRagFilesConfig.Builder mergeSharePointSources(SharePointSources value)

SharePoint sources.

.google.cloud.aiplatform.v1beta1.SharePointSources share_point_sources = 13;

Parameter
Name Description
value SharePointSources
Returns
Type Description
ImportRagFilesConfig.Builder

mergeSlackSource(SlackSource value)

public ImportRagFilesConfig.Builder mergeSlackSource(SlackSource value)

Slack channels with their corresponding access tokens.

.google.cloud.aiplatform.v1beta1.SlackSource slack_source = 6;

Parameter
Name Description
value SlackSource
Returns
Type Description
ImportRagFilesConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportRagFilesConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportRagFilesConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImportRagFilesConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportRagFilesConfig.Builder
Overrides

setGcsSource(GcsSource value)

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.v1beta1.GcsSource gcs_source = 2;

Parameter
Name Description
value GcsSource
Returns
Type Description
ImportRagFilesConfig.Builder

setGcsSource(GcsSource.Builder builderForValue)

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.v1beta1.GcsSource gcs_source = 2;

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
ImportRagFilesConfig.Builder

setGoogleDriveSource(GoogleDriveSource value)

public ImportRagFilesConfig.Builder setGoogleDriveSource(GoogleDriveSource value)

Google Drive location. Supports importing individual files as well as Google Drive folders.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 3;

Parameter
Name Description
value GoogleDriveSource
Returns
Type Description
ImportRagFilesConfig.Builder

setGoogleDriveSource(GoogleDriveSource.Builder builderForValue)

public ImportRagFilesConfig.Builder setGoogleDriveSource(GoogleDriveSource.Builder builderForValue)

Google Drive location. Supports importing individual files as well as Google Drive folders.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 3;

Parameter
Name Description
builderForValue GoogleDriveSource.Builder
Returns
Type Description
ImportRagFilesConfig.Builder

setJiraSource(JiraSource value)

public ImportRagFilesConfig.Builder setJiraSource(JiraSource value)

Jira queries with their corresponding authentication.

.google.cloud.aiplatform.v1beta1.JiraSource jira_source = 7;

Parameter
Name Description
value JiraSource
Returns
Type Description
ImportRagFilesConfig.Builder

setJiraSource(JiraSource.Builder builderForValue)

public ImportRagFilesConfig.Builder setJiraSource(JiraSource.Builder builderForValue)

Jira queries with their corresponding authentication.

.google.cloud.aiplatform.v1beta1.JiraSource jira_source = 7;

Parameter
Name Description
builderForValue JiraSource.Builder
Returns
Type Description
ImportRagFilesConfig.Builder

setMaxEmbeddingRequestsPerMin(int value)

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

Parameter
Name Description
value int

The maxEmbeddingRequestsPerMin to set.

Returns
Type Description
ImportRagFilesConfig.Builder

This builder for chaining.

setPartialFailureBigquerySink(BigQueryDestination value) (deprecated)

public ImportRagFilesConfig.Builder setPartialFailureBigquerySink(BigQueryDestination value)

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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];

Parameter
Name Description
value BigQueryDestination
Returns
Type Description
ImportRagFilesConfig.Builder

setPartialFailureBigquerySink(BigQueryDestination.Builder builderForValue) (deprecated)

public ImportRagFilesConfig.Builder setPartialFailureBigquerySink(BigQueryDestination.Builder builderForValue)

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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];

Parameter
Name Description
builderForValue BigQueryDestination.Builder
Returns
Type Description
ImportRagFilesConfig.Builder

setPartialFailureGcsSink(GcsDestination value) (deprecated)

public ImportRagFilesConfig.Builder setPartialFailureGcsSink(GcsDestination value)

The Cloud Storage path to write partial failures to. Deprecated. Prefer to use import_result_gcs_sink.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];

Parameter
Name Description
value GcsDestination
Returns
Type Description
ImportRagFilesConfig.Builder

setPartialFailureGcsSink(GcsDestination.Builder builderForValue) (deprecated)

public ImportRagFilesConfig.Builder setPartialFailureGcsSink(GcsDestination.Builder builderForValue)

The Cloud Storage path to write partial failures to. Deprecated. Prefer to use import_result_gcs_sink.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true];

Parameter
Name Description
builderForValue GcsDestination.Builder
Returns
Type Description
ImportRagFilesConfig.Builder

setRagFileChunkingConfig(RagFileChunkingConfig value) (deprecated)

public ImportRagFilesConfig.Builder setRagFileChunkingConfig(RagFileChunkingConfig value)

Specifies the size and overlap of chunks after importing RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4 [deprecated = true];

Parameter
Name Description
value RagFileChunkingConfig
Returns
Type Description
ImportRagFilesConfig.Builder

setRagFileChunkingConfig(RagFileChunkingConfig.Builder builderForValue) (deprecated)

public ImportRagFilesConfig.Builder setRagFileChunkingConfig(RagFileChunkingConfig.Builder builderForValue)

Specifies the size and overlap of chunks after importing RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4 [deprecated = true];

Parameter
Name Description
builderForValue RagFileChunkingConfig.Builder
Returns
Type Description
ImportRagFilesConfig.Builder

setRagFileParsingConfig(RagFileParsingConfig value)

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.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RagFileParsingConfig
Returns
Type Description
ImportRagFilesConfig.Builder

setRagFileParsingConfig(RagFileParsingConfig.Builder builderForValue)

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.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue RagFileParsingConfig.Builder
Returns
Type Description
ImportRagFilesConfig.Builder

setRagFileTransformationConfig(RagFileTransformationConfig value)

public ImportRagFilesConfig.Builder setRagFileTransformationConfig(RagFileTransformationConfig value)

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 16;

Parameter
Name Description
value RagFileTransformationConfig
Returns
Type Description
ImportRagFilesConfig.Builder

setRagFileTransformationConfig(RagFileTransformationConfig.Builder builderForValue)

public ImportRagFilesConfig.Builder setRagFileTransformationConfig(RagFileTransformationConfig.Builder builderForValue)

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 16;

Parameter
Name Description
builderForValue RagFileTransformationConfig.Builder
Returns
Type Description
ImportRagFilesConfig.Builder

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

public ImportRagFilesConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportRagFilesConfig.Builder
Overrides

setSharePointSources(SharePointSources value)

public ImportRagFilesConfig.Builder setSharePointSources(SharePointSources value)

SharePoint sources.

.google.cloud.aiplatform.v1beta1.SharePointSources share_point_sources = 13;

Parameter
Name Description
value SharePointSources
Returns
Type Description
ImportRagFilesConfig.Builder

setSharePointSources(SharePointSources.Builder builderForValue)

public ImportRagFilesConfig.Builder setSharePointSources(SharePointSources.Builder builderForValue)

SharePoint sources.

.google.cloud.aiplatform.v1beta1.SharePointSources share_point_sources = 13;

Parameter
Name Description
builderForValue SharePointSources.Builder
Returns
Type Description
ImportRagFilesConfig.Builder

setSlackSource(SlackSource value)

public ImportRagFilesConfig.Builder setSlackSource(SlackSource value)

Slack channels with their corresponding access tokens.

.google.cloud.aiplatform.v1beta1.SlackSource slack_source = 6;

Parameter
Name Description
value SlackSource
Returns
Type Description
ImportRagFilesConfig.Builder

setSlackSource(SlackSource.Builder builderForValue)

public ImportRagFilesConfig.Builder setSlackSource(SlackSource.Builder builderForValue)

Slack channels with their corresponding access tokens.

.google.cloud.aiplatform.v1beta1.SlackSource slack_source = 6;

Parameter
Name Description
builderForValue SlackSource.Builder
Returns
Type Description
ImportRagFilesConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportRagFilesConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportRagFilesConfig.Builder
Overrides