public interface DocumentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
DocumentDimensions |
getDocumentDimensions()
The dimensions of the page in the document.
|
DocumentDimensionsOrBuilder |
getDocumentDimensionsOrBuilder()
The dimensions of the page in the document.
|
TextSnippet |
getDocumentText()
The plain text version of this document.
|
TextSnippetOrBuilder |
getDocumentTextOrBuilder()
The plain text version of this document.
|
DocumentInputConfig |
getInputConfig()
An input config specifying the content of the document.
|
DocumentInputConfigOrBuilder |
getInputConfigOrBuilder()
An input config specifying the content of the document.
|
Document.Layout |
getLayout(int index)
Describes the layout of the document.
|
int |
getLayoutCount()
Describes the layout of the document.
|
List<Document.Layout> |
getLayoutList()
Describes the layout of the document.
|
Document.LayoutOrBuilder |
getLayoutOrBuilder(int index)
Describes the layout of the document.
|
List<? extends Document.LayoutOrBuilder> |
getLayoutOrBuilderList()
Describes the layout of the document.
|
int |
getPageCount()
Number of pages in the document.
|
boolean |
hasDocumentDimensions()
The dimensions of the page in the document.
|
boolean |
hasDocumentText()
The plain text version of this document.
|
boolean |
hasInputConfig()
An input config specifying the content of the document.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasInputConfig()
An input config specifying the content of the document.
.google.cloud.automl.v1.DocumentInputConfig input_config = 1;DocumentInputConfig getInputConfig()
An input config specifying the content of the document.
.google.cloud.automl.v1.DocumentInputConfig input_config = 1;DocumentInputConfigOrBuilder getInputConfigOrBuilder()
An input config specifying the content of the document.
.google.cloud.automl.v1.DocumentInputConfig input_config = 1;boolean hasDocumentText()
The plain text version of this document.
.google.cloud.automl.v1.TextSnippet document_text = 2;TextSnippet getDocumentText()
The plain text version of this document.
.google.cloud.automl.v1.TextSnippet document_text = 2;TextSnippetOrBuilder getDocumentTextOrBuilder()
The plain text version of this document.
.google.cloud.automl.v1.TextSnippet document_text = 2;List<Document.Layout> getLayoutList()
Describes the layout of the document. Sorted by [page_number][].
repeated .google.cloud.automl.v1.Document.Layout layout = 3;Document.Layout getLayout(int index)
Describes the layout of the document. Sorted by [page_number][].
repeated .google.cloud.automl.v1.Document.Layout layout = 3;int getLayoutCount()
Describes the layout of the document. Sorted by [page_number][].
repeated .google.cloud.automl.v1.Document.Layout layout = 3;List<? extends Document.LayoutOrBuilder> getLayoutOrBuilderList()
Describes the layout of the document. Sorted by [page_number][].
repeated .google.cloud.automl.v1.Document.Layout layout = 3;Document.LayoutOrBuilder getLayoutOrBuilder(int index)
Describes the layout of the document. Sorted by [page_number][].
repeated .google.cloud.automl.v1.Document.Layout layout = 3;boolean hasDocumentDimensions()
The dimensions of the page in the document.
.google.cloud.automl.v1.DocumentDimensions document_dimensions = 4;DocumentDimensions getDocumentDimensions()
The dimensions of the page in the document.
.google.cloud.automl.v1.DocumentDimensions document_dimensions = 4;DocumentDimensionsOrBuilder getDocumentDimensionsOrBuilder()
The dimensions of the page in the document.
.google.cloud.automl.v1.DocumentDimensions document_dimensions = 4;int getPageCount()
Number of pages in the document.
int32 page_count = 5;Copyright © 2025 Google LLC. All rights reserved.