public static final class RagFileChunkingConfig.Builder extends GeneratedMessageV3.Builder<RagFileChunkingConfig.Builder> implements RagFileChunkingConfigOrBuilder
Specifies the size and overlap of chunks for RagFiles.
Protobuf type google.cloud.aiplatform.v1beta1.RagFileChunkingConfig
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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RagFileChunkingConfig build()
public RagFileChunkingConfig buildPartial()
public RagFileChunkingConfig.Builder clear()
Overrides
public RagFileChunkingConfig.Builder clearChunkOverlap()
The overlap between chunks.
int32 chunk_overlap = 2;
public RagFileChunkingConfig.Builder clearChunkSize()
The size of the chunks.
int32 chunk_size = 1;
public RagFileChunkingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RagFileChunkingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RagFileChunkingConfig.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 getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RagFileChunkingConfig.Builder mergeFrom(RagFileChunkingConfig other)
public RagFileChunkingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RagFileChunkingConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final RagFileChunkingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RagFileChunkingConfig.Builder setChunkOverlap(int value)
The overlap between chunks.
int32 chunk_overlap = 2;
Parameter |
Name |
Description |
value |
int
The chunkOverlap to set.
|
public RagFileChunkingConfig.Builder setChunkSize(int value)
The size of the chunks.
int32 chunk_size = 1;
Parameter |
Name |
Description |
value |
int
The chunkSize to set.
|
public RagFileChunkingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RagFileChunkingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RagFileChunkingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides