public static final class ImportRagFilesConfig.Builder extends GeneratedMessageV3.Builder<ImportRagFilesConfig.Builder> implements ImportRagFilesConfigOrBuilder
Config for importing RagFiles.
Protobuf type google.cloud.aiplatform.v1beta1.ImportRagFilesConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ImportRagFilesConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportRagFilesConfig build()
public ImportRagFilesConfig buildPartial()
public ImportRagFilesConfig.Builder clear()
Overrides
public ImportRagFilesConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
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;
public ImportRagFilesConfig.Builder clearImportSource()
public ImportRagFilesConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ImportRagFilesConfig.Builder clearRagFileChunkingConfig()
Specifies the size and overlap of chunks after importing RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4;
public ImportRagFilesConfig.Builder clone()
Overrides
public ImportRagFilesConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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;
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;
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;
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;
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;
public ImportRagFilesConfig.ImportSourceCase getImportSourceCase()
public RagFileChunkingConfig getRagFileChunkingConfig()
Specifies the size and overlap of chunks after importing RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4;
public RagFileChunkingConfig.Builder getRagFileChunkingConfigBuilder()
Specifies the size and overlap of chunks after importing RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4;
public RagFileChunkingConfigOrBuilder getRagFileChunkingConfigOrBuilder()
Specifies the size and overlap of chunks after importing RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4;
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImportRagFilesConfig.Builder mergeFrom(ImportRagFilesConfig other)
public ImportRagFilesConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImportRagFilesConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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;
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;
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;
public final ImportRagFilesConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ImportRagFilesConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
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;
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;
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;
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;
public ImportRagFilesConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ImportRagFilesConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides