Class RagFileParsingConfig.Builder (3.56.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

clearAdvancedParser()

public RagFileParsingConfig.Builder clearAdvancedParser()

The Advanced Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.AdvancedParser advanced_parser = 3;

Returns
Type Description
RagFileParsingConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLayoutParser()

public RagFileParsingConfig.Builder clearLayoutParser()

The Layout Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LayoutParser layout_parser = 4;

Returns
Type Description
RagFileParsingConfig.Builder

clearLlmParser()

public RagFileParsingConfig.Builder clearLlmParser()

The LLM Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LlmParser llm_parser = 5;

Returns
Type Description
RagFileParsingConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParser()

public RagFileParsingConfig.Builder clearParser()
Returns
Type Description
RagFileParsingConfig.Builder

clearUseAdvancedPdfParsing() (deprecated)

public RagFileParsingConfig.Builder clearUseAdvancedPdfParsing()

Deprecated. google.cloud.aiplatform.v1beta1.RagFileParsingConfig.use_advanced_pdf_parsing is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=473

Whether to use advanced PDF parsing.

bool use_advanced_pdf_parsing = 2 [deprecated = true];

Returns
Type Description
RagFileParsingConfig.Builder

This builder for chaining.

clone()

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

getAdvancedParser()

public RagFileParsingConfig.AdvancedParser getAdvancedParser()

The Advanced Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.AdvancedParser advanced_parser = 3;

Returns
Type Description
RagFileParsingConfig.AdvancedParser

The advancedParser.

getAdvancedParserBuilder()

public RagFileParsingConfig.AdvancedParser.Builder getAdvancedParserBuilder()

The Advanced Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.AdvancedParser advanced_parser = 3;

Returns
Type Description
RagFileParsingConfig.AdvancedParser.Builder

getAdvancedParserOrBuilder()

public RagFileParsingConfig.AdvancedParserOrBuilder getAdvancedParserOrBuilder()

The Advanced Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.AdvancedParser advanced_parser = 3;

Returns
Type Description
RagFileParsingConfig.AdvancedParserOrBuilder

getDefaultInstanceForType()

public RagFileParsingConfig getDefaultInstanceForType()
Returns
Type Description
RagFileParsingConfig

getDescriptorForType()

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

getLayoutParser()

public RagFileParsingConfig.LayoutParser getLayoutParser()

The Layout Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LayoutParser layout_parser = 4;

Returns
Type Description
RagFileParsingConfig.LayoutParser

The layoutParser.

getLayoutParserBuilder()

public RagFileParsingConfig.LayoutParser.Builder getLayoutParserBuilder()

The Layout Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LayoutParser layout_parser = 4;

Returns
Type Description
RagFileParsingConfig.LayoutParser.Builder

getLayoutParserOrBuilder()

public RagFileParsingConfig.LayoutParserOrBuilder getLayoutParserOrBuilder()

The Layout Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LayoutParser layout_parser = 4;

Returns
Type Description
RagFileParsingConfig.LayoutParserOrBuilder

getLlmParser()

public RagFileParsingConfig.LlmParser getLlmParser()

The LLM Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LlmParser llm_parser = 5;

Returns
Type Description
RagFileParsingConfig.LlmParser

The llmParser.

getLlmParserBuilder()

public RagFileParsingConfig.LlmParser.Builder getLlmParserBuilder()

The LLM Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LlmParser llm_parser = 5;

Returns
Type Description
RagFileParsingConfig.LlmParser.Builder

getLlmParserOrBuilder()

public RagFileParsingConfig.LlmParserOrBuilder getLlmParserOrBuilder()

The LLM Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LlmParser llm_parser = 5;

Returns
Type Description
RagFileParsingConfig.LlmParserOrBuilder

getParserCase()

public RagFileParsingConfig.ParserCase getParserCase()
Returns
Type Description
RagFileParsingConfig.ParserCase

getUseAdvancedPdfParsing() (deprecated)

public boolean getUseAdvancedPdfParsing()

Deprecated. google.cloud.aiplatform.v1beta1.RagFileParsingConfig.use_advanced_pdf_parsing is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=473

Whether to use advanced PDF parsing.

bool use_advanced_pdf_parsing = 2 [deprecated = true];

Returns
Type Description
boolean

The useAdvancedPdfParsing.

hasAdvancedParser()

public boolean hasAdvancedParser()

The Advanced Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.AdvancedParser advanced_parser = 3;

Returns
Type Description
boolean

Whether the advancedParser field is set.

hasLayoutParser()

public boolean hasLayoutParser()

The Layout Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LayoutParser layout_parser = 4;

Returns
Type Description
boolean

Whether the layoutParser field is set.

hasLlmParser()

public boolean hasLlmParser()

The LLM Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LlmParser llm_parser = 5;

Returns
Type Description
boolean

Whether the llmParser field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAdvancedParser(RagFileParsingConfig.AdvancedParser value)

public RagFileParsingConfig.Builder mergeAdvancedParser(RagFileParsingConfig.AdvancedParser value)

The Advanced Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.AdvancedParser advanced_parser = 3;

Parameter
Name Description
value RagFileParsingConfig.AdvancedParser
Returns
Type Description
RagFileParsingConfig.Builder

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

mergeLayoutParser(RagFileParsingConfig.LayoutParser value)

public RagFileParsingConfig.Builder mergeLayoutParser(RagFileParsingConfig.LayoutParser value)

The Layout Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LayoutParser layout_parser = 4;

Parameter
Name Description
value RagFileParsingConfig.LayoutParser
Returns
Type Description
RagFileParsingConfig.Builder

mergeLlmParser(RagFileParsingConfig.LlmParser value)

public RagFileParsingConfig.Builder mergeLlmParser(RagFileParsingConfig.LlmParser value)

The LLM Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LlmParser llm_parser = 5;

Parameter
Name Description
value RagFileParsingConfig.LlmParser
Returns
Type Description
RagFileParsingConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAdvancedParser(RagFileParsingConfig.AdvancedParser value)

public RagFileParsingConfig.Builder setAdvancedParser(RagFileParsingConfig.AdvancedParser value)

The Advanced Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.AdvancedParser advanced_parser = 3;

Parameter
Name Description
value RagFileParsingConfig.AdvancedParser
Returns
Type Description
RagFileParsingConfig.Builder

setAdvancedParser(RagFileParsingConfig.AdvancedParser.Builder builderForValue)

public RagFileParsingConfig.Builder setAdvancedParser(RagFileParsingConfig.AdvancedParser.Builder builderForValue)

The Advanced Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.AdvancedParser advanced_parser = 3;

Parameter
Name Description
builderForValue RagFileParsingConfig.AdvancedParser.Builder
Returns
Type Description
RagFileParsingConfig.Builder

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

setLayoutParser(RagFileParsingConfig.LayoutParser value)

public RagFileParsingConfig.Builder setLayoutParser(RagFileParsingConfig.LayoutParser value)

The Layout Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LayoutParser layout_parser = 4;

Parameter
Name Description
value RagFileParsingConfig.LayoutParser
Returns
Type Description
RagFileParsingConfig.Builder

setLayoutParser(RagFileParsingConfig.LayoutParser.Builder builderForValue)

public RagFileParsingConfig.Builder setLayoutParser(RagFileParsingConfig.LayoutParser.Builder builderForValue)

The Layout Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LayoutParser layout_parser = 4;

Parameter
Name Description
builderForValue RagFileParsingConfig.LayoutParser.Builder
Returns
Type Description
RagFileParsingConfig.Builder

setLlmParser(RagFileParsingConfig.LlmParser value)

public RagFileParsingConfig.Builder setLlmParser(RagFileParsingConfig.LlmParser value)

The LLM Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LlmParser llm_parser = 5;

Parameter
Name Description
value RagFileParsingConfig.LlmParser
Returns
Type Description
RagFileParsingConfig.Builder

setLlmParser(RagFileParsingConfig.LlmParser.Builder builderForValue)

public RagFileParsingConfig.Builder setLlmParser(RagFileParsingConfig.LlmParser.Builder builderForValue)

The LLM Parser to use for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LlmParser llm_parser = 5;

Parameter
Name Description
builderForValue RagFileParsingConfig.LlmParser.Builder
Returns
Type Description
RagFileParsingConfig.Builder

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) (deprecated)

public RagFileParsingConfig.Builder setUseAdvancedPdfParsing(boolean value)

Deprecated. google.cloud.aiplatform.v1beta1.RagFileParsingConfig.use_advanced_pdf_parsing is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=473

Whether to use advanced PDF parsing.

bool use_advanced_pdf_parsing = 2 [deprecated = true];

Parameter
Name Description
value boolean

The useAdvancedPdfParsing to set.

Returns
Type Description
RagFileParsingConfig.Builder

This builder for chaining.