public static final class RagFileChunkingConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder> implements RagFileChunkingConfigOrBuilder
Specifies the size and overlap of chunks for RagFiles.Protobuf type
google.cloud.aiplatform.v1beta1.RagFileChunkingConfig| Modifier and Type | Method and Description |
|---|---|
RagFileChunkingConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RagFileChunkingConfig |
build() |
RagFileChunkingConfig |
buildPartial() |
RagFileChunkingConfig.Builder |
clear() |
RagFileChunkingConfig.Builder |
clearChunkingConfig() |
RagFileChunkingConfig.Builder |
clearChunkOverlap()
Deprecated.
google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.chunk_overlap is
deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=407
|
RagFileChunkingConfig.Builder |
clearChunkSize()
Deprecated.
google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.chunk_size is deprecated.
See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=404
|
RagFileChunkingConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RagFileChunkingConfig.Builder |
clearFixedLengthChunking()
Specifies the fixed length chunking config.
|
RagFileChunkingConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RagFileChunkingConfig.Builder |
clone() |
RagFileChunkingConfig.ChunkingConfigCase |
getChunkingConfigCase() |
int |
getChunkOverlap()
Deprecated.
google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.chunk_overlap is
deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=407
|
int |
getChunkSize()
Deprecated.
google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.chunk_size is deprecated.
See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=404
|
RagFileChunkingConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RagFileChunkingConfig.FixedLengthChunking |
getFixedLengthChunking()
Specifies the fixed length chunking config.
|
RagFileChunkingConfig.FixedLengthChunking.Builder |
getFixedLengthChunkingBuilder()
Specifies the fixed length chunking config.
|
RagFileChunkingConfig.FixedLengthChunkingOrBuilder |
getFixedLengthChunkingOrBuilder()
Specifies the fixed length chunking config.
|
boolean |
hasFixedLengthChunking()
Specifies the fixed length chunking config.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RagFileChunkingConfig.Builder |
mergeFixedLengthChunking(RagFileChunkingConfig.FixedLengthChunking value)
Specifies the fixed length chunking config.
|
RagFileChunkingConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RagFileChunkingConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
RagFileChunkingConfig.Builder |
mergeFrom(RagFileChunkingConfig other) |
RagFileChunkingConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RagFileChunkingConfig.Builder |
setChunkOverlap(int value)
Deprecated.
google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.chunk_overlap is
deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=407
|
RagFileChunkingConfig.Builder |
setChunkSize(int value)
Deprecated.
google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.chunk_size is deprecated.
See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=404
|
RagFileChunkingConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RagFileChunkingConfig.Builder |
setFixedLengthChunking(RagFileChunkingConfig.FixedLengthChunking.Builder builderForValue)
Specifies the fixed length chunking config.
|
RagFileChunkingConfig.Builder |
setFixedLengthChunking(RagFileChunkingConfig.FixedLengthChunking value)
Specifies the fixed length chunking config.
|
RagFileChunkingConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RagFileChunkingConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder>public RagFileChunkingConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder>public RagFileChunkingConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RagFileChunkingConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RagFileChunkingConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RagFileChunkingConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder>public RagFileChunkingConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder>public RagFileChunkingConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder>public RagFileChunkingConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder>public RagFileChunkingConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder>public RagFileChunkingConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder>public RagFileChunkingConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RagFileChunkingConfig.Builder>public RagFileChunkingConfig.Builder mergeFrom(RagFileChunkingConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder>public RagFileChunkingConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RagFileChunkingConfig.Builder>IOExceptionpublic RagFileChunkingConfig.ChunkingConfigCase getChunkingConfigCase()
getChunkingConfigCase in interface RagFileChunkingConfigOrBuilderpublic RagFileChunkingConfig.Builder clearChunkingConfig()
public boolean hasFixedLengthChunking()
Specifies the fixed length chunking config.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
hasFixedLengthChunking in interface RagFileChunkingConfigOrBuilderpublic RagFileChunkingConfig.FixedLengthChunking getFixedLengthChunking()
Specifies the fixed length chunking config.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
getFixedLengthChunking in interface RagFileChunkingConfigOrBuilderpublic RagFileChunkingConfig.Builder setFixedLengthChunking(RagFileChunkingConfig.FixedLengthChunking value)
Specifies the fixed length chunking config.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
public RagFileChunkingConfig.Builder setFixedLengthChunking(RagFileChunkingConfig.FixedLengthChunking.Builder builderForValue)
Specifies the fixed length chunking config.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
public RagFileChunkingConfig.Builder mergeFixedLengthChunking(RagFileChunkingConfig.FixedLengthChunking value)
Specifies the fixed length chunking config.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
public RagFileChunkingConfig.Builder clearFixedLengthChunking()
Specifies the fixed length chunking config.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
public RagFileChunkingConfig.FixedLengthChunking.Builder getFixedLengthChunkingBuilder()
Specifies the fixed length chunking config.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
public RagFileChunkingConfig.FixedLengthChunkingOrBuilder getFixedLengthChunkingOrBuilder()
Specifies the fixed length chunking config.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;
getFixedLengthChunkingOrBuilder in interface RagFileChunkingConfigOrBuilder@Deprecated public int getChunkSize()
The size of the chunks.
int32 chunk_size = 1 [deprecated = true];getChunkSize in interface RagFileChunkingConfigOrBuilder@Deprecated public RagFileChunkingConfig.Builder setChunkSize(int value)
The size of the chunks.
int32 chunk_size = 1 [deprecated = true];value - The chunkSize to set.@Deprecated public RagFileChunkingConfig.Builder clearChunkSize()
The size of the chunks.
int32 chunk_size = 1 [deprecated = true];@Deprecated public int getChunkOverlap()
The overlap between chunks.
int32 chunk_overlap = 2 [deprecated = true];getChunkOverlap in interface RagFileChunkingConfigOrBuilder@Deprecated public RagFileChunkingConfig.Builder setChunkOverlap(int value)
The overlap between chunks.
int32 chunk_overlap = 2 [deprecated = true];value - The chunkOverlap to set.@Deprecated public RagFileChunkingConfig.Builder clearChunkOverlap()
The overlap between chunks.
int32 chunk_overlap = 2 [deprecated = true];public final RagFileChunkingConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder>public final RagFileChunkingConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder>Copyright © 2025 Google LLC. All rights reserved.