Class RagFileTransformationConfig.Builder (3.56.0)

public static final class RagFileTransformationConfig.Builder extends GeneratedMessageV3.Builder<RagFileTransformationConfig.Builder> implements RagFileTransformationConfigOrBuilder

Specifies the transformation config for RagFiles.

Protobuf type google.cloud.aiplatform.v1.RagFileTransformationConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RagFileTransformationConfig build()
Returns
Type Description
RagFileTransformationConfig

buildPartial()

public RagFileTransformationConfig buildPartial()
Returns
Type Description
RagFileTransformationConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRagFileChunkingConfig()

public RagFileTransformationConfig.Builder clearRagFileChunkingConfig()

Specifies the chunking config for RagFiles.

.google.cloud.aiplatform.v1.RagFileChunkingConfig rag_file_chunking_config = 1;

Returns
Type Description
RagFileTransformationConfig.Builder

clone()

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

getDefaultInstanceForType()

public RagFileTransformationConfig getDefaultInstanceForType()
Returns
Type Description
RagFileTransformationConfig

getDescriptorForType()

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

getRagFileChunkingConfig()

public RagFileChunkingConfig getRagFileChunkingConfig()

Specifies the chunking config for RagFiles.

.google.cloud.aiplatform.v1.RagFileChunkingConfig rag_file_chunking_config = 1;

Returns
Type Description
RagFileChunkingConfig

The ragFileChunkingConfig.

getRagFileChunkingConfigBuilder()

public RagFileChunkingConfig.Builder getRagFileChunkingConfigBuilder()

Specifies the chunking config for RagFiles.

.google.cloud.aiplatform.v1.RagFileChunkingConfig rag_file_chunking_config = 1;

Returns
Type Description
RagFileChunkingConfig.Builder

getRagFileChunkingConfigOrBuilder()

public RagFileChunkingConfigOrBuilder getRagFileChunkingConfigOrBuilder()

Specifies the chunking config for RagFiles.

.google.cloud.aiplatform.v1.RagFileChunkingConfig rag_file_chunking_config = 1;

Returns
Type Description
RagFileChunkingConfigOrBuilder

hasRagFileChunkingConfig()

public boolean hasRagFileChunkingConfig()

Specifies the chunking config for RagFiles.

.google.cloud.aiplatform.v1.RagFileChunkingConfig rag_file_chunking_config = 1;

Returns
Type Description
boolean

Whether the ragFileChunkingConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RagFileTransformationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRagFileChunkingConfig(RagFileChunkingConfig value)

public RagFileTransformationConfig.Builder mergeRagFileChunkingConfig(RagFileChunkingConfig value)

Specifies the chunking config for RagFiles.

.google.cloud.aiplatform.v1.RagFileChunkingConfig rag_file_chunking_config = 1;

Parameter
Name Description
value RagFileChunkingConfig
Returns
Type Description
RagFileTransformationConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRagFileChunkingConfig(RagFileChunkingConfig value)

public RagFileTransformationConfig.Builder setRagFileChunkingConfig(RagFileChunkingConfig value)

Specifies the chunking config for RagFiles.

.google.cloud.aiplatform.v1.RagFileChunkingConfig rag_file_chunking_config = 1;

Parameter
Name Description
value RagFileChunkingConfig
Returns
Type Description
RagFileTransformationConfig.Builder

setRagFileChunkingConfig(RagFileChunkingConfig.Builder builderForValue)

public RagFileTransformationConfig.Builder setRagFileChunkingConfig(RagFileChunkingConfig.Builder builderForValue)

Specifies the chunking config for RagFiles.

.google.cloud.aiplatform.v1.RagFileChunkingConfig rag_file_chunking_config = 1;

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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