public static final class RagFileParsingConfig.LayoutParser extends GeneratedMessage implements RagFileParsingConfig.LayoutParserOrBuilderDocument AI Layout Parser config.
Protobuf type google.cloud.vertexai.v1.RagFileParsingConfig.LayoutParser
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > RagFileParsingConfig.LayoutParserImplements
RagFileParsingConfig.LayoutParserOrBuilderStatic Fields
MAX_PARSING_REQUESTS_PER_MIN_FIELD_NUMBER
public static final int MAX_PARSING_REQUESTS_PER_MIN_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PROCESSOR_NAME_FIELD_NUMBER
public static final int PROCESSOR_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static RagFileParsingConfig.LayoutParser getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static RagFileParsingConfig.LayoutParser.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser.Builder |
|
newBuilder(RagFileParsingConfig.LayoutParser prototype)
public static RagFileParsingConfig.LayoutParser.Builder newBuilder(RagFileParsingConfig.LayoutParser prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
RagFileParsingConfig.LayoutParser |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser.Builder |
|
parseDelimitedFrom(InputStream input)
public static RagFileParsingConfig.LayoutParser parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RagFileParsingConfig.LayoutParser parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static RagFileParsingConfig.LayoutParser parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RagFileParsingConfig.LayoutParser parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static RagFileParsingConfig.LayoutParser parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RagFileParsingConfig.LayoutParser parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static RagFileParsingConfig.LayoutParser parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RagFileParsingConfig.LayoutParser parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static RagFileParsingConfig.LayoutParser parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RagFileParsingConfig.LayoutParser parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static RagFileParsingConfig.LayoutParser parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RagFileParsingConfig.LayoutParser parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<RagFileParsingConfig.LayoutParser> parser()| Returns | |
|---|---|
| Type | Description |
Parser<LayoutParser> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public RagFileParsingConfig.LayoutParser getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser |
|
getMaxParsingRequestsPerMin()
public int getMaxParsingRequestsPerMin()The maximum number of requests the job is allowed to make to the Document AI processor per minute. Consult https://cloud.google.com/document-ai/quotas and the Quota page for your project to set an appropriate value here. If unspecified, a default value of 120 QPM would be used.
int32 max_parsing_requests_per_min = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The maxParsingRequestsPerMin. |
getParserForType()
public Parser<RagFileParsingConfig.LayoutParser> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<LayoutParser> |
|
getProcessorName()
public String getProcessorName() The full resource name of a Document AI processor or processor version.
The processor must have type LAYOUT_PARSER_PROCESSOR. If specified, the
additional_config.parse_as_scanned_pdf field must be false.
Format:
projects/{project_id}/locations/{location}/processors/{processor_id}projects/{project_id}/locations/{location}/processors/{processor_id}/processorVersions/{processor_version_id}
string processor_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The processorName. |
getProcessorNameBytes()
public ByteString getProcessorNameBytes() The full resource name of a Document AI processor or processor version.
The processor must have type LAYOUT_PARSER_PROCESSOR. If specified, the
additional_config.parse_as_scanned_pdf field must be false.
Format:
projects/{project_id}/locations/{location}/processors/{processor_id}projects/{project_id}/locations/{location}/processors/{processor_id}/processorVersions/{processor_version_id}
string processor_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for processorName. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public RagFileParsingConfig.LayoutParser.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RagFileParsingConfig.LayoutParser.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser.Builder |
|
toBuilder()
public RagFileParsingConfig.LayoutParser.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
RagFileParsingConfig.LayoutParser.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|