Interface Document.Provenance.ParentOrBuilder (2.41.0)

public static interface Document.Provenance.ParentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getId() (deprecated)

public abstract int getId()

Deprecated. google.cloud.documentai.v1beta3.Document.Provenance.Parent.id is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=787

The id of the parent provenance.

int32 id = 2 [deprecated = true];

Returns
TypeDescription
int

The id.

getIndex()

public abstract int getIndex()

The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.

int32 index = 3;

Returns
TypeDescription
int

The index.

getRevision()

public abstract int getRevision()

The index of the index into current revision's parent_ids list.

int32 revision = 1;

Returns
TypeDescription
int

The revision.