public static final class ProcessOptions.LayoutConfig extends GeneratedMessage implements ProcessOptions.LayoutConfigOrBuilder
Serving config for layout parser processor.
Protobuf type google.cloud.documentai.v1beta3.ProcessOptions.LayoutConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CHUNKING_CONFIG_FIELD_NUMBER
public static final int CHUNKING_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENABLE_IMAGE_ANNOTATION_FIELD_NUMBER
public static final int ENABLE_IMAGE_ANNOTATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int ENABLE_IMAGE_EXTRACTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENABLE_LLM_LAYOUT_PARSING_FIELD_NUMBER
public static final int ENABLE_LLM_LAYOUT_PARSING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENABLE_TABLE_ANNOTATION_FIELD_NUMBER
public static final int ENABLE_TABLE_ANNOTATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RETURN_BOUNDING_BOXES_FIELD_NUMBER
public static final int RETURN_BOUNDING_BOXES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RETURN_IMAGES_FIELD_NUMBER
public static final int RETURN_IMAGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ProcessOptions.LayoutConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ProcessOptions.LayoutConfig.Builder newBuilder()
newBuilder(ProcessOptions.LayoutConfig prototype)
public static ProcessOptions.LayoutConfig.Builder newBuilder(ProcessOptions.LayoutConfig prototype)
public static ProcessOptions.LayoutConfig parseDelimitedFrom(InputStream input)
public static ProcessOptions.LayoutConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ProcessOptions.LayoutConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProcessOptions.LayoutConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ProcessOptions.LayoutConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProcessOptions.LayoutConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProcessOptions.LayoutConfig parseFrom(CodedInputStream input)
public static ProcessOptions.LayoutConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProcessOptions.LayoutConfig parseFrom(InputStream input)
public static ProcessOptions.LayoutConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ProcessOptions.LayoutConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProcessOptions.LayoutConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ProcessOptions.LayoutConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getChunkingConfig()
public ProcessOptions.LayoutConfig.ChunkingConfig getChunkingConfig()
Optional. Config for chunking in layout parser processor.
.google.cloud.documentai.v1beta3.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
getChunkingConfigOrBuilder()
public ProcessOptions.LayoutConfig.ChunkingConfigOrBuilder getChunkingConfigOrBuilder()
Optional. Config for chunking in layout parser processor.
.google.cloud.documentai.v1beta3.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public ProcessOptions.LayoutConfig getDefaultInstanceForType()
getEnableImageAnnotation()
public boolean getEnableImageAnnotation()
Optional. Whether to include image annotations in layout parser response.
bool enable_image_annotation = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The enableImageAnnotation.
|
public boolean getEnableImageExtraction()
Optional. Whether to extract images in layout parser response.
bool enable_image_extraction = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The enableImageExtraction.
|
getEnableLlmLayoutParsing()
public boolean getEnableLlmLayoutParsing()
Optional. Whether to refine PDF layout using LLM.
bool enable_llm_layout_parsing = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The enableLlmLayoutParsing.
|
getEnableTableAnnotation()
public boolean getEnableTableAnnotation()
Optional. Whether to include table annotations in layout parser response.
bool enable_table_annotation = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The enableTableAnnotation.
|
getParserForType()
public Parser<ProcessOptions.LayoutConfig> getParserForType()
Overrides
getReturnBoundingBoxes()
public boolean getReturnBoundingBoxes()
Optional. Whether to include bounding boxes in layout parser processor
response.
bool return_bounding_boxes = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The returnBoundingBoxes.
|
getReturnImages()
public boolean getReturnImages()
Optional. Whether to include images in layout parser processor response.
bool return_images = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The returnImages.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasChunkingConfig()
public boolean hasChunkingConfig()
Optional. Config for chunking in layout parser processor.
.google.cloud.documentai.v1beta3.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the chunkingConfig field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ProcessOptions.LayoutConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ProcessOptions.LayoutConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ProcessOptions.LayoutConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides