Class RagFileParsingConfig.AdvancedParser.Builder (3.56.0)

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

Specifies the advanced parsing for RagFiles.

Protobuf type google.cloud.aiplatform.v1beta1.RagFileParsingConfig.AdvancedParser

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RagFileParsingConfig.AdvancedParser build()
Returns
Type Description
RagFileParsingConfig.AdvancedParser

buildPartial()

public RagFileParsingConfig.AdvancedParser buildPartial()
Returns
Type Description
RagFileParsingConfig.AdvancedParser

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUseAdvancedPdfParsing()

public RagFileParsingConfig.AdvancedParser.Builder clearUseAdvancedPdfParsing()

Whether to use advanced PDF parsing.

bool use_advanced_pdf_parsing = 1;

Returns
Type Description
RagFileParsingConfig.AdvancedParser.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RagFileParsingConfig.AdvancedParser getDefaultInstanceForType()
Returns
Type Description
RagFileParsingConfig.AdvancedParser

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 = 1;

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.AdvancedParser other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUseAdvancedPdfParsing(boolean value)

public RagFileParsingConfig.AdvancedParser.Builder setUseAdvancedPdfParsing(boolean value)

Whether to use advanced PDF parsing.

bool use_advanced_pdf_parsing = 1;

Parameter
Name Description
value boolean

The useAdvancedPdfParsing to set.

Returns
Type Description
RagFileParsingConfig.AdvancedParser.Builder

This builder for chaining.