Interface DocumentMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DocumentMetadata,DocumentMetadata.Builder
@Generated
public interface DocumentMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionType of the dataset split to which the document belongs.intType of the dataset split to which the document belongs.The display name of the document.com.google.protobuf.ByteStringThe display name of the document.Document identifier.Document identifier.Labeling state of the document.intLabeling state of the document.intNumber of pages in the document.booleanDocument identifier.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
-
hasDocumentId
boolean hasDocumentId()Document identifier.
.google.cloud.documentai.v1beta3.DocumentId document_id = 1;- Returns:
- Whether the documentId field is set.
-
getDocumentId
DocumentId getDocumentId()Document identifier.
.google.cloud.documentai.v1beta3.DocumentId document_id = 1;- Returns:
- The documentId.
-
getDocumentIdOrBuilder
DocumentIdOrBuilder getDocumentIdOrBuilder()Document identifier.
.google.cloud.documentai.v1beta3.DocumentId document_id = 1; -
getPageCount
int getPageCount()Number of pages in the document.
int32 page_count = 2;- Returns:
- The pageCount.
-
getDatasetTypeValue
int getDatasetTypeValue()Type of the dataset split to which the document belongs.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_type = 3;- Returns:
- The enum numeric value on the wire for datasetType.
-
getDatasetType
DatasetSplitType getDatasetType()Type of the dataset split to which the document belongs.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_type = 3;- Returns:
- The datasetType.
-
getLabelingStateValue
int getLabelingStateValue()Labeling state of the document.
.google.cloud.documentai.v1beta3.DocumentLabelingState labeling_state = 5;- Returns:
- The enum numeric value on the wire for labelingState.
-
getLabelingState
DocumentLabelingState getLabelingState()Labeling state of the document.
.google.cloud.documentai.v1beta3.DocumentLabelingState labeling_state = 5;- Returns:
- The labelingState.
-
getDisplayName
String getDisplayName()The display name of the document.
string display_name = 6;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()The display name of the document.
string display_name = 6;- Returns:
- The bytes for displayName.
-