public static final class DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder extends GeneratedMessageV3.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder> implements DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderThe layout parsing configurations for documents.
Protobuf type
google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExcludeHtmlClasses(Iterable<String> values)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addAllExcludeHtmlClasses(Iterable<String> values)Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The excludeHtmlClasses to add. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
addAllExcludeHtmlElements(Iterable<String> values)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addAllExcludeHtmlElements(Iterable<String> values)Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The excludeHtmlElements to add. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
addAllExcludeHtmlIds(Iterable<String> values)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addAllExcludeHtmlIds(Iterable<String> values)Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The excludeHtmlIds to add. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
addAllStructuredContentTypes(Iterable<String> values)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addAllStructuredContentTypes(Iterable<String> values)Optional. Contains the required structure types to extract from the document. Supported values:
shareholder-structure
repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The structuredContentTypes to add. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
addExcludeHtmlClasses(String value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addExcludeHtmlClasses(String value)Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe excludeHtmlClasses to add. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
addExcludeHtmlClassesBytes(ByteString value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addExcludeHtmlClassesBytes(ByteString value)Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the excludeHtmlClasses to add. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
addExcludeHtmlElements(String value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addExcludeHtmlElements(String value)Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe excludeHtmlElements to add. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
addExcludeHtmlElementsBytes(ByteString value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addExcludeHtmlElementsBytes(ByteString value)Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the excludeHtmlElements to add. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
addExcludeHtmlIds(String value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addExcludeHtmlIds(String value)Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe excludeHtmlIds to add. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
addExcludeHtmlIdsBytes(ByteString value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addExcludeHtmlIdsBytes(ByteString value)Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the excludeHtmlIds to add. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
|
addStructuredContentTypes(String value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addStructuredContentTypes(String value)Optional. Contains the required structure types to extract from the document. Supported values:
shareholder-structure
repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe structuredContentTypes to add. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
addStructuredContentTypesBytes(ByteString value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addStructuredContentTypesBytes(ByteString value)Optional. Contains the required structure types to extract from the document. Supported values:
shareholder-structure
repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the structuredContentTypes to add. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
build()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig build()| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig |
|
buildPartial()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig |
|
clear()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
|
clearEnableImageAnnotation()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearEnableImageAnnotation()Optional. If true, the LLM based annotation is added to the image during parsing.
bool enable_image_annotation = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
clearEnableTableAnnotation()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearEnableTableAnnotation()Optional. If true, the LLM based annotation is added to the table during parsing.
bool enable_table_annotation = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
clearExcludeHtmlClasses()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearExcludeHtmlClasses()Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
clearExcludeHtmlElements()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearExcludeHtmlElements()Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
clearExcludeHtmlIds()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearExcludeHtmlIds()Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
|
clearStructuredContentTypes()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearStructuredContentTypes()Optional. Contains the required structure types to extract from the document. Supported values:
shareholder-structure
repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
clone()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clone()| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
|
getDefaultInstanceForType()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnableImageAnnotation()
public boolean getEnableImageAnnotation()Optional. If true, the LLM based annotation is added to the image during parsing.
bool enable_image_annotation = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableImageAnnotation. |
getEnableTableAnnotation()
public boolean getEnableTableAnnotation()Optional. If true, the LLM based annotation is added to the table during parsing.
bool enable_table_annotation = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableTableAnnotation. |
getExcludeHtmlClasses(int index)
public String getExcludeHtmlClasses(int index)Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The excludeHtmlClasses at the given index. |
getExcludeHtmlClassesBytes(int index)
public ByteString getExcludeHtmlClassesBytes(int index)Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the excludeHtmlClasses at the given index. |
getExcludeHtmlClassesCount()
public int getExcludeHtmlClassesCount()Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of excludeHtmlClasses. |
getExcludeHtmlClassesList()
public ProtocolStringList getExcludeHtmlClassesList()Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the excludeHtmlClasses. |
getExcludeHtmlElements(int index)
public String getExcludeHtmlElements(int index)Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The excludeHtmlElements at the given index. |
getExcludeHtmlElementsBytes(int index)
public ByteString getExcludeHtmlElementsBytes(int index)Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the excludeHtmlElements at the given index. |
getExcludeHtmlElementsCount()
public int getExcludeHtmlElementsCount()Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of excludeHtmlElements. |
getExcludeHtmlElementsList()
public ProtocolStringList getExcludeHtmlElementsList()Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the excludeHtmlElements. |
getExcludeHtmlIds(int index)
public String getExcludeHtmlIds(int index)Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The excludeHtmlIds at the given index. |
getExcludeHtmlIdsBytes(int index)
public ByteString getExcludeHtmlIdsBytes(int index)Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the excludeHtmlIds at the given index. |
getExcludeHtmlIdsCount()
public int getExcludeHtmlIdsCount()Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of excludeHtmlIds. |
getExcludeHtmlIdsList()
public ProtocolStringList getExcludeHtmlIdsList()Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the excludeHtmlIds. |
getStructuredContentTypes(int index)
public String getStructuredContentTypes(int index)Optional. Contains the required structure types to extract from the document. Supported values:
shareholder-structure
repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The structuredContentTypes at the given index. |
getStructuredContentTypesBytes(int index)
public ByteString getStructuredContentTypesBytes(int index)Optional. Contains the required structure types to extract from the document. Supported values:
shareholder-structure
repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the structuredContentTypes at the given index. |
getStructuredContentTypesCount()
public int getStructuredContentTypesCount()Optional. Contains the required structure types to extract from the document. Supported values:
shareholder-structure
repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of structuredContentTypes. |
getStructuredContentTypesList()
public ProtocolStringList getStructuredContentTypesList()Optional. Contains the required structure types to extract from the document. Supported values:
shareholder-structure
repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the structuredContentTypes. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig other)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder mergeFrom(DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
|
setEnableImageAnnotation(boolean value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setEnableImageAnnotation(boolean value)Optional. If true, the LLM based annotation is added to the image during parsing.
bool enable_image_annotation = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableImageAnnotation to set. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
setEnableTableAnnotation(boolean value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setEnableTableAnnotation(boolean value)Optional. If true, the LLM based annotation is added to the table during parsing.
bool enable_table_annotation = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableTableAnnotation to set. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
setExcludeHtmlClasses(int index, String value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setExcludeHtmlClasses(int index, String value)Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludeHtmlClasses to set. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
setExcludeHtmlElements(int index, String value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setExcludeHtmlElements(int index, String value)Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludeHtmlElements to set. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
setExcludeHtmlIds(int index, String value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setExcludeHtmlIds(int index, String value)Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludeHtmlIds to set. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
|
setStructuredContentTypes(int index, String value)
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setStructuredContentTypes(int index, String value)Optional. Contains the required structure types to extract from the document. Supported values:
shareholder-structure
repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe structuredContentTypes to set. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder |
|