Class RagFileChunkingConfig.Builder (3.56.0)

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.v1.RagFileChunkingConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RagFileChunkingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RagFileChunkingConfig.Builder
Overrides

build()

public RagFileChunkingConfig build()
Returns
Type Description
RagFileChunkingConfig

buildPartial()

public RagFileChunkingConfig buildPartial()
Returns
Type Description
RagFileChunkingConfig

clear()

public RagFileChunkingConfig.Builder clear()
Returns
Type Description
RagFileChunkingConfig.Builder
Overrides

clearChunkingConfig()

public RagFileChunkingConfig.Builder clearChunkingConfig()
Returns
Type Description
RagFileChunkingConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public RagFileChunkingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RagFileChunkingConfig.Builder
Overrides

clearFixedLengthChunking()

public RagFileChunkingConfig.Builder clearFixedLengthChunking()

Specifies the fixed length chunking config.

.google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;

Returns
Type Description
RagFileChunkingConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RagFileChunkingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RagFileChunkingConfig.Builder
Overrides

clone()

public RagFileChunkingConfig.Builder clone()
Returns
Type Description
RagFileChunkingConfig.Builder
Overrides

getChunkingConfigCase()

public RagFileChunkingConfig.ChunkingConfigCase getChunkingConfigCase()
Returns
Type Description
RagFileChunkingConfig.ChunkingConfigCase

getDefaultInstanceForType()

public RagFileChunkingConfig getDefaultInstanceForType()
Returns
Type Description
RagFileChunkingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFixedLengthChunking()

public RagFileChunkingConfig.FixedLengthChunking getFixedLengthChunking()

Specifies the fixed length chunking config.

.google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;

Returns
Type Description
RagFileChunkingConfig.FixedLengthChunking

The fixedLengthChunking.

getFixedLengthChunkingBuilder()

public RagFileChunkingConfig.FixedLengthChunking.Builder getFixedLengthChunkingBuilder()

Specifies the fixed length chunking config.

.google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;

Returns
Type Description
RagFileChunkingConfig.FixedLengthChunking.Builder

getFixedLengthChunkingOrBuilder()

public RagFileChunkingConfig.FixedLengthChunkingOrBuilder getFixedLengthChunkingOrBuilder()

Specifies the fixed length chunking config.

.google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;

Returns
Type Description
RagFileChunkingConfig.FixedLengthChunkingOrBuilder

hasFixedLengthChunking()

public boolean hasFixedLengthChunking()

Specifies the fixed length chunking config.

.google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;

Returns
Type Description
boolean

Whether the fixedLengthChunking field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFixedLengthChunking(RagFileChunkingConfig.FixedLengthChunking value)

public RagFileChunkingConfig.Builder mergeFixedLengthChunking(RagFileChunkingConfig.FixedLengthChunking value)

Specifies the fixed length chunking config.

.google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;

Parameter
Name Description
value RagFileChunkingConfig.FixedLengthChunking
Returns
Type Description
RagFileChunkingConfig.Builder

mergeFrom(RagFileChunkingConfig other)

public RagFileChunkingConfig.Builder mergeFrom(RagFileChunkingConfig other)
Parameter
Name Description
other RagFileChunkingConfig
Returns
Type Description
RagFileChunkingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RagFileChunkingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagFileChunkingConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RagFileChunkingConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RagFileChunkingConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RagFileChunkingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RagFileChunkingConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RagFileChunkingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RagFileChunkingConfig.Builder
Overrides

setFixedLengthChunking(RagFileChunkingConfig.FixedLengthChunking value)

public RagFileChunkingConfig.Builder setFixedLengthChunking(RagFileChunkingConfig.FixedLengthChunking value)

Specifies the fixed length chunking config.

.google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;

Parameter
Name Description
value RagFileChunkingConfig.FixedLengthChunking
Returns
Type Description
RagFileChunkingConfig.Builder

setFixedLengthChunking(RagFileChunkingConfig.FixedLengthChunking.Builder builderForValue)

public RagFileChunkingConfig.Builder setFixedLengthChunking(RagFileChunkingConfig.FixedLengthChunking.Builder builderForValue)

Specifies the fixed length chunking config.

.google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunking fixed_length_chunking = 3;

Parameter
Name Description
builderForValue RagFileChunkingConfig.FixedLengthChunking.Builder
Returns
Type Description
RagFileChunkingConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RagFileChunkingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RagFileChunkingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RagFileChunkingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RagFileChunkingConfig.Builder
Overrides