Send feedback
  
   
 
  
    
      Class RagFileChunkingConfig.FixedLengthChunking.Builder (3.79.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  RagFileChunkingConfig . FixedLengthChunking . Builder   extends   GeneratedMessageV3 . Builder<RagFileChunkingConfig . FixedLengthChunking . Builder >  implements   RagFileChunkingConfig . FixedLengthChunkingOrBuilder  
   Specifies the fixed length chunking config.
 Protobuf type 
 google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.FixedLengthChunking
    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   RagFileChunkingConfig . FixedLengthChunking . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking   build ()  
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking   buildPartial ()  
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking . Builder   clear ()  
  
  Overrides 
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking . Builder   clearChunkOverlap ()  
   The overlap between chunks.
 int32 chunk_overlap = 2;
    
public   RagFileChunkingConfig . FixedLengthChunking . Builder   clearChunkSize ()  
   The size of the chunks.
 int32 chunk_size = 1;
    
public   RagFileChunkingConfig . FixedLengthChunking . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking . Builder   clone ()  
  
  Overrides 
  
  
    
public   int   getChunkOverlap ()  
   The overlap between chunks.
 int32 chunk_overlap = 2;
    
      
        Returns  
      
        Type Description  
      
        int The chunkOverlap.
 
     
  
  
    
public   int   getChunkSize ()  
   The size of the chunks.
 int32 chunk_size = 1;
    
      
        Returns  
      
        Type Description  
      
        int The chunkSize.
 
     
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking   getDefaultInstanceForType ()  
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking . Builder   mergeFrom ( RagFileChunkingConfig . FixedLengthChunking   other )  
  
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  
    
public   final   RagFileChunkingConfig . FixedLengthChunking . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking . Builder   setChunkOverlap ( int   value )  
   The overlap between chunks.
 int32 chunk_overlap = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueint The chunkOverlap to set.
 
     
  
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking . Builder   setChunkSize ( int   value )  
   The size of the chunks.
 int32 chunk_size = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueint The chunkSize to set.
 
     
  
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   RagFileChunkingConfig . FixedLengthChunking . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  
    
public   final   RagFileChunkingConfig . FixedLengthChunking . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  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."],[],[]]