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 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.