Interface DocumentMetadataOrBuilder (2.50.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
Type Description
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
Type Description
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
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The display name of the document.

string display_name = 6;

Returns
Type Description
ByteString

The bytes for displayName.

getDocumentId()

public abstract DocumentId getDocumentId()

Document identifier.

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

Returns
Type Description
DocumentId

The documentId.

getDocumentIdOrBuilder()

public abstract DocumentIdOrBuilder getDocumentIdOrBuilder()

Document identifier.

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

Returns
Type Description
DocumentIdOrBuilder

getLabelingState()

public abstract DocumentLabelingState getLabelingState()

Labeling state of the document.

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

Returns
Type Description
DocumentLabelingState

The labelingState.

getLabelingStateValue()

public abstract int getLabelingStateValue()

Labeling state of the document.

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

Returns
Type Description
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
Type Description
int

The pageCount.

hasDocumentId()

public abstract boolean hasDocumentId()

Document identifier.

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

Returns
Type Description
boolean

Whether the documentId field is set.