Send feedback
  
   
 
  
    
      Class UploadRagFileConfig (3.79.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  UploadRagFileConfig   extends   GeneratedMessageV3   implements   UploadRagFileConfigOrBuilder  
   Config for uploading RagFile.
 Protobuf type google.cloud.aiplatform.v1beta1.UploadRagFileConfig
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  
  
    
public   static   final   int   RAG_FILE_CHUNKING_CONFIG_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   RAG_FILE_METADATA_CONFIG_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   RAG_FILE_PARSING_CONFIG_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   RAG_FILE_TRANSFORMATION_CONFIG_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   UploadRagFileConfig   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   UploadRagFileConfig . Builder   newBuilder ()  
  
  
    
public   static   UploadRagFileConfig . Builder   newBuilder ( UploadRagFileConfig   prototype )  
  
  
  
    
public   static   UploadRagFileConfig   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   UploadRagFileConfig   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   UploadRagFileConfig   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   UploadRagFileConfig   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   UploadRagFileConfig   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   UploadRagFileConfig   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   UploadRagFileConfig   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   UploadRagFileConfig   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   UploadRagFileConfig   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   UploadRagFileConfig   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   UploadRagFileConfig   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   UploadRagFileConfig   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<UploadRagFileConfig>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   UploadRagFileConfig   getDefaultInstanceForType ()  
  
  
    
public   Parser<UploadRagFileConfig>   getParserForType ()  
  
  Overrides 
  
  
    
public   RagFileChunkingConfig   getRagFileChunkingConfig ()  
  Deprecated.  google.cloud.aiplatform.v1beta1.UploadRagFileConfig.rag_file_chunking_config is
     deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=644 
 Specifies the size and overlap of chunks after uploading RagFile.
 
 .google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];
 
    
public   RagFileChunkingConfigOrBuilder   getRagFileChunkingConfigOrBuilder ()  
   Specifies the size and overlap of chunks after uploading RagFile.
 
 .google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];
 
    
public   RagFileMetadataConfig   getRagFileMetadataConfig ()  
   Specifies the metadata config for RagFiles.
 Including paths for metadata schema and metadata.
 Alteratively, inline metadata schema and metadata can be provided.
 .google.cloud.aiplatform.v1beta1.RagFileMetadataConfig rag_file_metadata_config = 4;
 
    
public   RagFileMetadataConfigOrBuilder   getRagFileMetadataConfigOrBuilder ()  
   Specifies the metadata config for RagFiles.
 Including paths for metadata schema and metadata.
 Alteratively, inline metadata schema and metadata can be provided.
 .google.cloud.aiplatform.v1beta1.RagFileMetadataConfig rag_file_metadata_config = 4;
 
    
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 = 5 [(.google.api.field_behavior) = OPTIONAL];
 
    
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 = 5 [(.google.api.field_behavior) = OPTIONAL];
 
    
public   RagFileTransformationConfig   getRagFileTransformationConfig ()  
   Specifies the transformation config for RagFiles.
 
 .google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;
 
    
public   RagFileTransformationConfigOrBuilder   getRagFileTransformationConfigOrBuilder ()  
   Specifies the transformation config for RagFiles.
 
 .google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;
 
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   boolean   hasRagFileChunkingConfig ()  
  Deprecated.  google.cloud.aiplatform.v1beta1.UploadRagFileConfig.rag_file_chunking_config is
     deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=644 
 Specifies the size and overlap of chunks after uploading RagFile.
 
 .google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the ragFileChunkingConfig field is set.
 
     
  
  
    
public   boolean   hasRagFileMetadataConfig ()  
   Specifies the metadata config for RagFiles.
 Including paths for metadata schema and metadata.
 Alteratively, inline metadata schema and metadata can be provided.
 .google.cloud.aiplatform.v1beta1.RagFileMetadataConfig rag_file_metadata_config = 4;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the ragFileMetadataConfig field is set.
 
     
  
  
    
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 = 5 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the ragFileParsingConfig field is set.
 
     
  
  
    
public   boolean   hasRagFileTransformationConfig ()  
   Specifies the transformation config for RagFiles.
 
 .google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the ragFileTransformationConfig field is set.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   UploadRagFileConfig . Builder   newBuilderForType ()  
  
  
    
protected   UploadRagFileConfig . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   UploadRagFileConfig . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]