Send feedback
Class RagFileParsingConfig (3.56.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.56.0 keyboard_arrow_down
public final class RagFileParsingConfig extends GeneratedMessageV3 implements RagFileParsingConfigOrBuilder
Specifies the parsing config for RagFiles.
Protobuf type google.cloud.aiplatform.v1beta1.RagFileParsingConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ADVANCED_PARSER_FIELD_NUMBER
Field Value
Type
Description
int
public static final int LAYOUT_PARSER_FIELD_NUMBER
Field Value
Type
Description
int
public static final int LLM_PARSER_FIELD_NUMBER
Field Value
Type
Description
int
public static final int USE_ADVANCED_PDF_PARSING_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static RagFileParsingConfig getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static RagFileParsingConfig . Builder newBuilder ()
public static RagFileParsingConfig . Builder newBuilder ( RagFileParsingConfig prototype )
public static RagFileParsingConfig parseDelimitedFrom ( InputStream input )
public static RagFileParsingConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static RagFileParsingConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static RagFileParsingConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static RagFileParsingConfig parseFrom ( ByteString data )
public static RagFileParsingConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static RagFileParsingConfig parseFrom ( CodedInputStream input )
public static RagFileParsingConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static RagFileParsingConfig parseFrom ( InputStream input )
public static RagFileParsingConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static RagFileParsingConfig parseFrom ( ByteBuffer data )
public static RagFileParsingConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<RagFileParsingConfig> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public RagFileParsingConfig . AdvancedParser getAdvancedParser ()
The Advanced Parser to use for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.AdvancedParser advanced_parser = 3;
public RagFileParsingConfig . AdvancedParserOrBuilder getAdvancedParserOrBuilder ()
The Advanced Parser to use for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.AdvancedParser advanced_parser = 3;
public RagFileParsingConfig getDefaultInstanceForType ()
public RagFileParsingConfig . LayoutParser getLayoutParser ()
The Layout Parser to use for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LayoutParser layout_parser = 4;
public RagFileParsingConfig . LayoutParserOrBuilder getLayoutParserOrBuilder ()
The Layout Parser to use for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LayoutParser layout_parser = 4;
public RagFileParsingConfig . LlmParser getLlmParser ()
The LLM Parser to use for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LlmParser llm_parser = 5;
public RagFileParsingConfig . LlmParserOrBuilder getLlmParserOrBuilder ()
The LLM Parser to use for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileParsingConfig.LlmParser llm_parser = 5;
public RagFileParsingConfig . ParserCase getParserCase ()
public Parser<RagFileParsingConfig> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
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.
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.
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.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public RagFileParsingConfig . Builder newBuilderForType ()
protected RagFileParsingConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public RagFileParsingConfig . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]