Class ImportRagFilesConfig.Builder (3.53.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()

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"). If the dataset id does not exist, it will be created. 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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12;

Returns
Type Description
ImportRagFilesConfig.Builder

clearPartialFailureGcsSink()

public ImportRagFilesConfig.Builder clearPartialFailureGcsSink()

The Cloud Storage path to write partial failures to.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11;

Returns
Type Description
ImportRagFilesConfig.Builder

clearPartialFailureSink()

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

clearRagFileChunkingConfig()

public ImportRagFilesConfig.Builder clearRagFileChunkingConfig()

Specifies the size and overlap of chunks after importing RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4;

Returns
Type Description
ImportRagFilesConfig.Builder

clearRagFileParsingConfig()

public ImportRagFilesConfig.Builder clearRagFileParsingConfig()

Specifies the parsing config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8;

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()

public BigQueryDestination getPartialFailureBigquerySink()

The BigQuery destination to write partial failures to. It should be a bigquery table resource name (e.g. "bq://projectId.bqDatasetId.bqTableId"). If the dataset id does not exist, it will be created. 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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12;

Returns
Type Description
BigQueryDestination

The partialFailureBigquerySink.

getPartialFailureBigquerySinkBuilder()

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"). If the dataset id does not exist, it will be created. 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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12;

Returns
Type Description
BigQueryDestination.Builder

getPartialFailureBigquerySinkOrBuilder()

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"). If the dataset id does not exist, it will be created. 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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12;

Returns
Type Description
BigQueryDestinationOrBuilder

getPartialFailureGcsSink()

public GcsDestination getPartialFailureGcsSink()

The Cloud Storage path to write partial failures to.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11;

Returns
Type Description
GcsDestination

The partialFailureGcsSink.

getPartialFailureGcsSinkBuilder()

public GcsDestination.Builder getPartialFailureGcsSinkBuilder()

The Cloud Storage path to write partial failures to.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11;

Returns
Type Description
GcsDestination.Builder

getPartialFailureGcsSinkOrBuilder()

public GcsDestinationOrBuilder getPartialFailureGcsSinkOrBuilder()

The Cloud Storage path to write partial failures to.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11;

Returns
Type Description
GcsDestinationOrBuilder

getPartialFailureSinkCase()

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

getRagFileChunkingConfig()

public RagFileChunkingConfig getRagFileChunkingConfig()

Specifies the size and overlap of chunks after importing RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4;

Returns
Type Description
RagFileChunkingConfig

The ragFileChunkingConfig.

getRagFileChunkingConfigBuilder()

public RagFileChunkingConfig.Builder getRagFileChunkingConfigBuilder()

Specifies the size and overlap of chunks after importing RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4;

Returns
Type Description
RagFileChunkingConfig.Builder

getRagFileChunkingConfigOrBuilder()

public RagFileChunkingConfigOrBuilder getRagFileChunkingConfigOrBuilder()

Specifies the size and overlap of chunks after importing RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4;

Returns
Type Description
RagFileChunkingConfigOrBuilder

getRagFileParsingConfig()

public RagFileParsingConfig getRagFileParsingConfig()

Specifies the parsing config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8;

Returns
Type Description
RagFileParsingConfig

The ragFileParsingConfig.

getRagFileParsingConfigBuilder()

public RagFileParsingConfig.Builder getRagFileParsingConfigBuilder()

Specifies the parsing config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8;

Returns
Type Description
RagFileParsingConfig.Builder

getRagFileParsingConfigOrBuilder()

public RagFileParsingConfigOrBuilder getRagFileParsingConfigOrBuilder()

Specifies the parsing config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8;

Returns
Type Description
RagFileParsingConfigOrBuilder

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()

public boolean hasPartialFailureBigquerySink()

The BigQuery destination to write partial failures to. It should be a bigquery table resource name (e.g. "bq://projectId.bqDatasetId.bqTableId"). If the dataset id does not exist, it will be created. 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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12;

Returns
Type Description
boolean

Whether the partialFailureBigquerySink field is set.

hasPartialFailureGcsSink()

public boolean hasPartialFailureGcsSink()

The Cloud Storage path to write partial failures to.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11;

Returns
Type Description
boolean

Whether the partialFailureGcsSink field is set.

hasRagFileChunkingConfig()

public boolean hasRagFileChunkingConfig()

Specifies the size and overlap of chunks after importing RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4;

Returns
Type Description
boolean

Whether the ragFileChunkingConfig field is set.

hasRagFileParsingConfig()

public boolean hasRagFileParsingConfig()

Specifies the parsing config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8;

Returns
Type Description
boolean

Whether the ragFileParsingConfig 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)

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"). If the dataset id does not exist, it will be created. 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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12;

Parameter
Name Description
value BigQueryDestination
Returns
Type Description
ImportRagFilesConfig.Builder

mergePartialFailureGcsSink(GcsDestination value)

public ImportRagFilesConfig.Builder mergePartialFailureGcsSink(GcsDestination value)

The Cloud Storage path to write partial failures to.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11;

Parameter
Name Description
value GcsDestination
Returns
Type Description
ImportRagFilesConfig.Builder

mergeRagFileChunkingConfig(RagFileChunkingConfig value)

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;

Parameter
Name Description
value RagFileChunkingConfig
Returns
Type Description
ImportRagFilesConfig.Builder

mergeRagFileParsingConfig(RagFileParsingConfig value)

public ImportRagFilesConfig.Builder mergeRagFileParsingConfig(RagFileParsingConfig value)

Specifies the parsing config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8;

Parameter
Name Description
value RagFileParsingConfig
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)

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"). If the dataset id does not exist, it will be created. 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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12;

Parameter
Name Description
value BigQueryDestination
Returns
Type Description
ImportRagFilesConfig.Builder

setPartialFailureBigquerySink(BigQueryDestination.Builder builderForValue)

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"). If the dataset id does not exist, it will be created. 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.v1beta1.BigQueryDestination partial_failure_bigquery_sink = 12;

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

setPartialFailureGcsSink(GcsDestination value)

public ImportRagFilesConfig.Builder setPartialFailureGcsSink(GcsDestination value)

The Cloud Storage path to write partial failures to.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11;

Parameter
Name Description
value GcsDestination
Returns
Type Description
ImportRagFilesConfig.Builder

setPartialFailureGcsSink(GcsDestination.Builder builderForValue)

public ImportRagFilesConfig.Builder setPartialFailureGcsSink(GcsDestination.Builder builderForValue)

The Cloud Storage path to write partial failures to.

.google.cloud.aiplatform.v1beta1.GcsDestination partial_failure_gcs_sink = 11;

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

setRagFileChunkingConfig(RagFileChunkingConfig value)

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;

Parameter
Name Description
value RagFileChunkingConfig
Returns
Type Description
ImportRagFilesConfig.Builder

setRagFileChunkingConfig(RagFileChunkingConfig.Builder builderForValue)

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;

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

setRagFileParsingConfig(RagFileParsingConfig value)

public ImportRagFilesConfig.Builder setRagFileParsingConfig(RagFileParsingConfig value)

Specifies the parsing config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8;

Parameter
Name Description
value RagFileParsingConfig
Returns
Type Description
ImportRagFilesConfig.Builder

setRagFileParsingConfig(RagFileParsingConfig.Builder builderForValue)

public ImportRagFilesConfig.Builder setRagFileParsingConfig(RagFileParsingConfig.Builder builderForValue)

Specifies the parsing config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8;

Parameter
Name Description
builderForValue RagFileParsingConfig.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