Class RagFileParsingConfig.Builder (3.54.0)

public static final class RagFileParsingConfig.Builder extends GeneratedMessageV3.Builder<RagFileParsingConfig.Builder> implements RagFileParsingConfigOrBuilder

Specifies the parsing config for RagFiles.

Protobuf type google.cloud.aiplatform.v1beta1.RagFileParsingConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RagFileParsingConfig build()
Returns
Type Description
RagFileParsingConfig

buildPartial()

public RagFileParsingConfig buildPartial()
Returns
Type Description
RagFileParsingConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUseAdvancedPdfParsing()

public RagFileParsingConfig.Builder clearUseAdvancedPdfParsing()

Whether to use advanced PDF parsing.

bool use_advanced_pdf_parsing = 2;

Returns
Type Description
RagFileParsingConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RagFileParsingConfig getDefaultInstanceForType()
Returns
Type Description
RagFileParsingConfig

getDescriptorForType()

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

getUseAdvancedPdfParsing()

public boolean getUseAdvancedPdfParsing()

Whether to use advanced PDF parsing.

bool use_advanced_pdf_parsing = 2;

Returns
Type Description
boolean

The useAdvancedPdfParsing.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RagFileParsingConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUseAdvancedPdfParsing(boolean value)

public RagFileParsingConfig.Builder setUseAdvancedPdfParsing(boolean value)

Whether to use advanced PDF parsing.

bool use_advanced_pdf_parsing = 2;

Parameter
Name Description
value boolean

The useAdvancedPdfParsing to set.

Returns
Type Description
RagFileParsingConfig.Builder

This builder for chaining.