Class RagFileChunkingConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RagFileChunkingConfig.Builder>
com.google.cloud.aiplatform.v1.RagFileChunkingConfig.Builder
All Implemented Interfaces:
RagFileChunkingConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RagFileChunkingConfig

public static final class RagFileChunkingConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<RagFileChunkingConfig.Builder> implements RagFileChunkingConfigOrBuilder
 Specifies the size and overlap of chunks for RagFiles.
 
Protobuf type google.cloud.aiplatform.v1.RagFileChunkingConfig
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RagFileChunkingConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RagFileChunkingConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RagFileChunkingConfig.Builder>
    • getDefaultInstanceForType

      public RagFileChunkingConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RagFileChunkingConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RagFileChunkingConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RagFileChunkingConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RagFileChunkingConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RagFileChunkingConfig.Builder>
    • mergeFrom

      public RagFileChunkingConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RagFileChunkingConfig.Builder>
      Throws:
      IOException
    • getChunkingConfigCase

      public RagFileChunkingConfig.ChunkingConfigCase getChunkingConfigCase()
      Specified by:
      getChunkingConfigCase in interface RagFileChunkingConfigOrBuilder
    • clearChunkingConfig

      public RagFileChunkingConfig.Builder clearChunkingConfig()
    • hasFixedLengthChunking

      public boolean hasFixedLengthChunking()
       Specifies the fixed length chunking config.
       
      .google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
      Specified by:
      hasFixedLengthChunking in interface RagFileChunkingConfigOrBuilder
      Returns:
      Whether the fixedLengthChunking field is set.
    • getFixedLengthChunking

      public RagFileChunkingConfig.FixedLengthChunking getFixedLengthChunking()
       Specifies the fixed length chunking config.
       
      .google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
      Specified by:
      getFixedLengthChunking in interface RagFileChunkingConfigOrBuilder
      Returns:
      The fixedLengthChunking.
    • setFixedLengthChunking

       Specifies the fixed length chunking config.
       
      .google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
    • setFixedLengthChunking

       Specifies the fixed length chunking config.
       
      .google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
    • mergeFixedLengthChunking

       Specifies the fixed length chunking config.
       
      .google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
    • clearFixedLengthChunking

      public RagFileChunkingConfig.Builder clearFixedLengthChunking()
       Specifies the fixed length chunking config.
       
      .google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
    • getFixedLengthChunkingBuilder

      public RagFileChunkingConfig.FixedLengthChunking.Builder getFixedLengthChunkingBuilder()
       Specifies the fixed length chunking config.
       
      .google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
    • getFixedLengthChunkingOrBuilder

      public RagFileChunkingConfig.FixedLengthChunkingOrBuilder getFixedLengthChunkingOrBuilder()
       Specifies the fixed length chunking config.
       
      .google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
      Specified by:
      getFixedLengthChunkingOrBuilder in interface RagFileChunkingConfigOrBuilder