Interface DocumentMetadataOrBuilder (2.32.0)

public interface DocumentMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatasetType()

public abstract DatasetSplitType getDatasetType()

Type of the dataset split to which the document belongs.

.google.cloud.documentai.v1beta3.DatasetSplitType dataset_type = 3;

Returns
TypeDescription
DatasetSplitType

The datasetType.

getDatasetTypeValue()

public abstract int getDatasetTypeValue()

Type of the dataset split to which the document belongs.

.google.cloud.documentai.v1beta3.DatasetSplitType dataset_type = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for datasetType.

getDisplayName()

public abstract String getDisplayName()

The display name of the document.

string display_name = 6;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The display name of the document.

string display_name = 6;

Returns
TypeDescription
ByteString

The bytes for displayName.

getDocumentId()

public abstract DocumentId getDocumentId()

Document identifier.

.google.cloud.documentai.v1beta3.DocumentId document_id = 1;

Returns
TypeDescription
DocumentId

The documentId.

getDocumentIdOrBuilder()

public abstract DocumentIdOrBuilder getDocumentIdOrBuilder()

Document identifier.

.google.cloud.documentai.v1beta3.DocumentId document_id = 1;

Returns
TypeDescription
DocumentIdOrBuilder

getLabelingState()

public abstract DocumentLabelingState getLabelingState()

Labelling state of the document.

.google.cloud.documentai.v1beta3.DocumentLabelingState labeling_state = 5;

Returns
TypeDescription
DocumentLabelingState

The labelingState.

getLabelingStateValue()

public abstract int getLabelingStateValue()

Labelling state of the document.

.google.cloud.documentai.v1beta3.DocumentLabelingState labeling_state = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for labelingState.

getPageCount()

public abstract int getPageCount()

Number of pages in the document.

int32 page_count = 2;

Returns
TypeDescription
int

The pageCount.

hasDocumentId()

public abstract boolean hasDocumentId()

Document identifier.

.google.cloud.documentai.v1beta3.DocumentId document_id = 1;

Returns
TypeDescription
boolean

Whether the documentId field is set.