Package com.google.cloud.automl.v1
Interface DocumentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Document,Document.Builder
@Generated
public interface DocumentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe dimensions of the page in the document.The dimensions of the page in the document.The plain text version of this document.The plain text version of this document.An input config specifying the content of the document.An input config specifying the content of the document.getLayout(int index) Describes the layout of the document.intDescribes the layout of the document.Describes the layout of the document.getLayoutOrBuilder(int index) Describes the layout of the document.List<? extends Document.LayoutOrBuilder>Describes the layout of the document.intNumber of pages in the document.booleanThe dimensions of the page in the document.booleanThe plain text version of this document.booleanAn input config specifying the content of the document.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInputConfig
boolean hasInputConfig()An input config specifying the content of the document.
.google.cloud.automl.v1.DocumentInputConfig input_config = 1;- Returns:
- Whether the inputConfig field is set.
-
getInputConfig
DocumentInputConfig getInputConfig()An input config specifying the content of the document.
.google.cloud.automl.v1.DocumentInputConfig input_config = 1;- Returns:
- The inputConfig.
-
getInputConfigOrBuilder
DocumentInputConfigOrBuilder getInputConfigOrBuilder()An input config specifying the content of the document.
.google.cloud.automl.v1.DocumentInputConfig input_config = 1; -
hasDocumentText
boolean hasDocumentText()The plain text version of this document.
.google.cloud.automl.v1.TextSnippet document_text = 2;- Returns:
- Whether the documentText field is set.
-
getDocumentText
TextSnippet getDocumentText()The plain text version of this document.
.google.cloud.automl.v1.TextSnippet document_text = 2;- Returns:
- The documentText.
-
getDocumentTextOrBuilder
TextSnippetOrBuilder getDocumentTextOrBuilder()The plain text version of this document.
.google.cloud.automl.v1.TextSnippet document_text = 2; -
getLayoutList
List<Document.Layout> getLayoutList()Describes the layout of the document. Sorted by [page_number][].
repeated .google.cloud.automl.v1.Document.Layout layout = 3; -
getLayout
Describes the layout of the document. Sorted by [page_number][].
repeated .google.cloud.automl.v1.Document.Layout layout = 3; -
getLayoutCount
int getLayoutCount()Describes the layout of the document. Sorted by [page_number][].
repeated .google.cloud.automl.v1.Document.Layout layout = 3; -
getLayoutOrBuilderList
List<? extends Document.LayoutOrBuilder> getLayoutOrBuilderList()Describes the layout of the document. Sorted by [page_number][].
repeated .google.cloud.automl.v1.Document.Layout layout = 3; -
getLayoutOrBuilder
Describes the layout of the document. Sorted by [page_number][].
repeated .google.cloud.automl.v1.Document.Layout layout = 3; -
hasDocumentDimensions
boolean hasDocumentDimensions()The dimensions of the page in the document.
.google.cloud.automl.v1.DocumentDimensions document_dimensions = 4;- Returns:
- Whether the documentDimensions field is set.
-
getDocumentDimensions
DocumentDimensions getDocumentDimensions()The dimensions of the page in the document.
.google.cloud.automl.v1.DocumentDimensions document_dimensions = 4;- Returns:
- The documentDimensions.
-
getDocumentDimensionsOrBuilder
DocumentDimensionsOrBuilder getDocumentDimensionsOrBuilder()The dimensions of the page in the document.
.google.cloud.automl.v1.DocumentDimensions document_dimensions = 4; -
getPageCount
int getPageCount()Number of pages in the document.
int32 page_count = 5;- Returns:
- The pageCount.
-