Interface ImportRagFilesConfigOrBuilder (3.46.0)

public interface ImportRagFilesConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcsSource()

public abstract 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.

getGcsSourceOrBuilder()

public abstract 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 abstract 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.

getGoogleDriveSourceOrBuilder()

public abstract 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 abstract ImportRagFilesConfig.ImportSourceCase getImportSourceCase()
Returns
Type Description
ImportRagFilesConfig.ImportSourceCase

getMaxEmbeddingRequestsPerMin()

public abstract 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.

getRagFileChunkingConfig()

public abstract 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.

getRagFileChunkingConfigOrBuilder()

public abstract 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

hasGcsSource()

public abstract 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 abstract 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.

hasRagFileChunkingConfig()

public abstract 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.